PageSourceSearch

https://warm-meerkat-43bef1.netlify.app/_expo/static/js/web/index-3ceb97444fbd73b15a27c50a9f2835eb.js

js warm-meerkat-43bef1.netlify.app collected 2026-10-03 11:36:04 UTC 168,331 bytes, 224 lines download raw bytes

1__d(function(t,e,i,r,s,n,a){var h=e(a[0]);Object.defineProperty(n,"__esModule",{value:!0}),n.BoundingBox=n.AnimateTransformElement=n.AnimateElement=n.AnimateColorElement=n.AElement=void 0,n.CB1=z,n.CB2=L,n.CB3=R,n.CB4=I,n.Property=n.PolylineElement=n.PolygonElement=n.Point=n.PatternElement=n.PathParser=n.PathElement=n.Parser=n.PSEUDO_ZERO=n.Mouse=n.MissingGlyphElement=n.Matrix=n.MaskElement=n.MarkerElement=n.LinearGradientElement=n.LineElement=n.ImageElement=n.GradientElement=n.GlyphElement=n.GElement=n.FontFaceElement=n.FontElement=n.Font=n.FilterElement=n.FeMorphologyElement=n.FeGaussianBlurElement=n.FeDropShadowElement=n.FeCompositeElement=n.FeColorMatrixElement=n.EllipseElement=n.Element=n.Document=n.DescElement=n.DefsElement=n.ClipPathElement=n.CircleElement=n.Canvg=void 0,n.QB1=F,n.QB2=_,n.QB3=X,n.ViewPort=n.UseElement=n.UnknownElement=n.Translate=n.Transform=n.TitleElement=n.TextPathElement=n.TextElement=n.TSpanElement=n.TRefElement=n.SymbolElement=n.StyleElement=n.StopElement=n.SkewY=n.SkewX=n.Skew=n.Screen=n.Scale=n.SVGFontLoader=n.SVGElement=n.Rotate=n.RenderedElement=n.RectElement=n.RadialGradientElement=void 0,n.compressSpaces=p,n.default=void 0,n.getSelectorSpecificity=k,n.normalizeAttributeName=x,n.normalizeColor=S,n.parseExternalUrl=b,n.presets=void 0,n.toNumbers=f,n.trimLeft=m,n.trimRight=y,n.vectorMagnitude=N,n.vectorsAngle=B,n.vectorsRatio=D,e(a[1]);var o=h(e(a[2]));e(a[3]),e(a[4]),e(a[5]),e(a[6]),e(a[7]);var l=h(e(a[8]));e(a[9]),e(a[10]),e(a[11]);var u=h(e(a[12]));e(a[13]);var c=h(e(a[14]));e(a[15]),e(a[16]),e(a[17]);var g=e(a[18]);e(a[19]);var d=e(a[20]);n.presets=Object.freeze({__proto__:null,offscreen:function(){var{DOMParser:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:t,createCanvas:(t,e)=>new OffscreenCanvas(t,e),createImage:t=>(0,o.default)(function*(){var e=yield fetch(t),i=yield e.blob();return yield createImageBitmap(i)})()};return'undefined'==typeof DOMParser&&void 0!==t||Reflect.deleteProperty(e,'DOMParser'),e},node:function(t){var{DOMParser:e,canvas:i,fetch:r}=t;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:r,createCanvas:i.createCanvas,createImage:i.loadImage}}});function p(t){return t.replace(/(?!\u3000)\s+/gm,' ')}function m(t){return t.replace(/^[\n \t]+/,'')}function y(t){return t.replace(/[\n \t]+$/,'')}function f(t){return((t||'').match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var v=/^[A-Z-]+$/;function x(t){return v.test(t)?t.toLowerCase():t}function b(t){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(t)||[];return e[2]||e[3]||e[4]}function S(t){if(!t.startsWith('rgb'))return t;var e=3;return t.replace(/\d+(\.\d+)?/g,(t,i)=>e--&&i?String(Math.round(parseFloat(t))):t)}var P=/(\[[^\]]+\])/g,w=/(#[^\s+>~.[:]+)/g,A=/(\.[^\s+>~.[:]+)/g,C=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,E=/(:[\w-]+\([^)]*\))/gi,T=/(:[^\s+>~.[:]+)/g,V=/([^\s+>~.[:]+)/g;function M(t,e){var i=e.exec(t);return i?[t.replace(e,' '),i.length]:[t,0]}function k(t){var e=[0,0,0],i=t.replace(/:not\(([^)]*)\)/g,'     $1 ').replace(/{[\s\S]*/gm,' '),r=0;return[i,r]=M(i,P),e[1]+=r,[i,r]=M(i,w),e[0]+=r,[i,r]=M(i,A),e[1]+=r,[i,r]=M(i,C),e[2]+=r,[i,r]=M(i,E),e[1]+=r,[i,r]=M(i,T),e[1]+=r,i=i.replace(/[*\s+>~]/g,' ').replace(/[#.]/g,' '),[i,r]=M(i,V),e[2]+=r,e.join('')}var O=n.PSEUDO_ZERO=1e-8;function N(t){return Math.sqrt(Math.pow(t[0],2)+Math.pow(t[1],2))}function D(t,e){return(t[0]*e[0]+t[1]*e[1])/(N(t)*N(e))}function B(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(D(t,e))}function z(t){return t*t*t}function L(t){return 3*t*t*(1-t)}function R(t){return 3*t*(1-t)*(1-t)}function I(t){return(1-t)*(1-t)*(1-t)}function F(t){return t*t}function _(t){return 2*t*(1-t)}function X(t){return(1-t)*(1-t)}class j{constructor(t,e,i){this.document=t,this.name=e,this.value=i,this.isNormalizedColor=!1}static empty(t){return new j(t,'EMPTY','')}split(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:' ',{document:e,name:i}=this;return p(this.getString()).trim().split(t).map(t=>new j(e,i,t))}hasValue(t){var{value:e}=this;return null!==e&&''!==e&&(t||0!==e)&&void 0!==e}isString(t){var{value:e}=this,i='string'==typeof e;return i&&t?t.test(e):i}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var t=this.getString();switch(!0){case t.endsWith('px'):case/^[0-9]+$/.test(t):return!0;default:return!1}}setValue(t){return this.value=t,this}getValue(t){return void 0===t||this.hasValue()?this.value:t}getNumber(t){if(!this.hasValue())return void 0===t?0:parseFloat(t);var{value:e}=this,i=parseFloat(e);return this.isString(/%$/)&&(i/=100),i}getString(t){return void 0===t||this.hasValue()?void 0===this.value?'':String(this.value):String(t)}getColor(t){var e=this.getString(t);return this.isNormalizedColor||(this.isNormalizedColor=!0,e=S(e),this.value=e),e}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}
vendor: 4,141 bytes, line 1
1getUnits(){return this.getString().replace(/[0-9.-]/g,'')}getPixels(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this.hasValue())return 0;var[i,r]='boolean'==typeof t?[void 0,t]:[t],{viewPort:s}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(s.computeSize('x'),s.computeSize('y'));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(s.computeSize('x'),s.computeSize('y'));case this.isString(/vw$/):return this.getNumber()/100*s.computeSize('x');case this.isString(/vh$/):return this.getNumber()/100*s.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()*.013888888888888888;case 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(/%$/)&&r:return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*s.computeSize(i);default:var n=this.getNumber();return e&&n<1?n*s.computeSize(i):n}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():1e3*this.getNumber():0}getRadians(){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)}}getDefinition(){var t=this.getString(),e=/#([^)'"]+)/.exec(t);return e&&(e=e[1]),e||(e=t),this.document.definitions[e]}getFillStyleDefinition(t,e){var i=this.getDefinition();if(!i)return null;if('function'==typeof i.createGradient)return i.createGradient(this.document.ctx,t,e);if('function'==typeof i.createPattern){if(i.getHrefAttribute().hasValue()){var r=i.getAttribute('patternTransform');i=i.getHrefAttribute().getDefinition(),r.hasValue()&&i.getAttribute('patternTransform',!0).setValue(r.value)}return i.createPattern(this.document.ctx,t,e)}return null}getTextBaseline(){return this.hasValue()?j.textBaselineMapping[this.getString()]:null}addOpacity(t){for(var e=this.getColor(),i=e.length,r=0,s=0;s<i&&(','===e[s]&&r++,3!==r);s++);if(t.hasValue()&&this.isString()&&3!==r){var n=new c.default(e);n.ok&&(n.alpha=t.getNumber(),e=n.toRGBA())}return new j(this.document,this.name,e)}}n.Property=j,j.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'};class U{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(t,e){this.viewPorts.push({width:t,height:e})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:t}=this;return t[t.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(t){return'number'==typeof t?t:'x'===t?this.width:'y'===t?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}}n.ViewPort=U;class Y{constructor(t,e){this.x=t,this.y=e}static parse(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,[i=e,r=e]=f(t);return new Y(i,r)}static parseScale(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,[i=e,r=i]=f(t);return new Y(i,r)}static parsePath(t){for(var e=f(t),i=e.length,r=[],s=0;s<i;s+=2)r.push(new Y(e[s],e[s+1]));return r}angleTo(t){return Math.atan2(t.y-this.y,t.x-this.x)}applyTransform(t){var{x:e,y:i}=this,r=e*t[0]+i*t[2]+t[4],s=e*t[1]+i*t[3]+t[5];this.x=r,this.y=s}}n.Point=Y;class G{constructor(t){this.screen=t,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}
vendor: 6,240 bytes, line 1
1start(){if(!this.working){var{screen:t,onClick:e,onMouseMove:i}=this,r=t.ctx.canvas;r.onclick=e,r.onmousemove=i,this.working=!0}}stop(){if(this.working){var t=this.screen.ctx.canvas;this.working=!1,t.onclick=null,t.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:t,events:e,eventElements:i}=this,{style:r}=t.ctx.canvas;r&&(r.cursor=''),e.forEach((t,e)=>{for(var{run:r}=t,s=i[e];s;)r(s),s=s.parent}),this.events=[],this.eventElements=[]}}checkPath(t,e){if(this.working&&e){var{events:i,eventElements:r}=this;i.forEach((i,s)=>{var{x:n,y:a}=i;!r[s]&&e.isPointInPath&&e.isPointInPath(n,a)&&(r[s]=t)})}}checkBoundingBox(t,e){if(this.working&&e){var{events:i,eventElements:r}=this;i.forEach((i,s)=>{var{x:n,y:a}=i;!r[s]&&e.isPointInBox(n,a)&&(r[s]=t)})}}mapXY(t,e){for(var{window:i,ctx:r}=this.screen,s=new Y(t,e),n=r.canvas;n;)s.x-=n.offsetLeft,s.y-=n.offsetTop,n=n.offsetParent;return i.scrollX&&(s.x+=i.scrollX),i.scrollY&&(s.y+=i.scrollY),s}onClick(t){var{x:e,y:i}=this.mapXY(t.clientX,t.clientY);this.events.push({type:'onclick',x:e,y:i,run(t){t.onClick&&t.onClick()}})}onMouseMove(t){var{x:e,y:i}=this.mapXY(t.clientX,t.clientY);this.events.push({type:'onmousemove',x:e,y:i,run(t){t.onMouseMove&&t.onMouseMove()}})}}n.Mouse=G;var H='undefined'!=typeof window?window:null,W='undefined'!=typeof fetch?fetch.bind(void 0):null;class q{constructor(t){var{fetch:e=W,window:i=H}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.ctx=t,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new U,this.mouse=new G(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=i,this.fetch=e}wait(t){this.waits.push(t)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var t=this.waits.every(t=>t());return t&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=t,t}setDefaults(t){t.strokeStyle='rgba(0,0,0,0)',t.lineCap='butt',t.lineJoin='miter',t.miterLimit=4}setViewBox(t){var{document:e,ctx:i,aspectRatio:r,width:s,desiredWidth:n,height:a,desiredHeight:h,minX:o=0,minY:l=0,refX:u,refY:c,clip:g=!1,clipX:d=0,clipY:m=0}=t,y=p(r).replace(/^defer\s/,''),[f,v]=y.split(' '),x=f||'xMidYMid',b=v||'meet',S=s/n,P=a/h,w=Math.min(S,P),A=Math.max(S,P),C=n,E=h;'meet'===b&&(C*=w,E*=w),'slice'===b&&(C*=A,E*=A);var T=new j(e,'refX',u),V=new j(e,'refY',c),M=T.hasValue()&&V.hasValue();if(M&&i.translate(-w*T.getPixels('x'),-w*V.getPixels('y')),g){var k=w*d,O=w*m;i.beginPath(),i.moveTo(k,O),i.lineTo(s,O),i.lineTo(s,a),i.lineTo(k,a),i.closePath(),i.clip()}if(!M){var N='meet'===b&&w===P,D='slice'===b&&A===P,B='meet'===b&&w===S,z='slice'===b&&A===S;x.startsWith('xMid')&&(N||D)&&i.translate(s/2-C/2,0),x.endsWith('YMid')&&(B||z)&&i.translate(0,a/2-E/2),x.startsWith('xMax')&&(N||D)&&i.translate(s-C,0),x.endsWith('YMax')&&(B||z)&&i.translate(0,a-E)}switch(!0){case'none'===x:i.scale(S,P);break;case'meet'===b:i.scale(w,w);break;case'slice'===b:i.scale(A,A)}i.translate(-o,-l)}start(t){var{enableRedraw:e=!1,ignoreMouse:i=!1,ignoreAnimation:r=!1,ignoreDimensions:s=!1,ignoreClear:n=!1,forceRedraw:a,scaleWidth:h,scaleHeight:o,offsetX:l,offsetY:c}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{FRAMERATE:g,mouse:d}=this,p=1e3/g;if(this.frameDuration=p,this.readyPromise=new Promise(t=>{this.resolveReady=t}),this.isReady()&&this.render(t,s,n,h,o,l,c),e){var m=Date.now(),y=m,f=0,v=()=>{m=Date.now(),(f=m-y)>=p&&(y=m-f%p,this.shouldUpdate(r,a)&&(this.render(t,s,n,h,o,l,c),d.runEvents())),this.intervalId=(0,u.default)(v)};i||d.start(),this.intervalId=(0,u.default)(v)}}stop(){this.intervalId&&(u.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(t,e){if(!t){var{frameDuration:i}=this;if(this.animations.reduce((t,e)=>e.update(i)||t,!1))return!0}return!('function'!=typeof e||!e())||(!(this.isReadyLock||!this.isReady())||!!this.mouse.hasEvents())}render(t,e,i,r,s,n,a){var{CLIENT_WIDTH:h,CLIENT_HEIGHT:o,viewPort:l,ctx:u,isFirstRender:c}=this,g=u.canvas;l.clear(),g.width&&g.height?l.setCurrent(g.width,g.height):l.setCurrent(h,o);var d=t.getStyle('width'),p=t.getStyle('height');!e&&(c||'number'!=typeof r&&'number'!=typeof s)&&(d.hasValue()&&(g.width=d.getPixels('x'),g.style&&(g.style.width="".concat(g.width,"px"))),p.hasValue()&&(g.height=p.getPixels('y'),g.style&&(g.style.height="".concat(g.height,"px"))));var m=g.clientWidth||g.width,y=g.clientHeight||g.height;if(e&&d.hasValue()&&p.hasValue()&&(m=d.getPixels('x'),y=p.getPixels('y')),l.setCurrent(m,y),'number'==typeof n&&t.getAttribute('x',!0).setValue(n),'number'==typeof a&&t.getAttribute('y',!0).setValue(a),'number'==typeof r||'number'==typeof s){var v=f(t.getAttribute('viewBox').getString()),x=0,b=0;if('number'==typeof r){var S=t.getStyle('width');S.hasValue()?x=S.getPixels('x')/r:isNaN(v[2])||(x=v[2]/r)}if('number'==typeof s){var P=t.getStyle('height');P.hasValue()?b=P.getPixels('y')/s:isNaN(v[3])||(b=v[3]/s)}x||(x=b),b||(b=x),t.getAttribute('width',!0).setValue(r),t.getAttribute('height',!0).setValue(s);var w=t.getStyle('transform',!0,!0);w.setValue("".concat(w.getString()," scale(").concat(1/x,", ").concat(1/b,")"))}i||u.clearRect(0,0,m,y),t.render(u),c&&(this.isFirstRender=!1)}}n.Screen=q,q.defaultWindow=H,q.defaultFetch=W;var{defaultFetch:$}=q,Q='undefined'!=typeof DOMParser?DOMParser:null;class Z{constructor(){var{fetch:t=$,DOMParser:e=Q}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.fetch=t,this.DOMParser=e}parse(t){var e=this;return(0,o.default)(function*(){return t.startsWith('<')?e.parseFromString(t):e.load(t)})()}parseFromString(t){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(t,'image/svg+xml'))}catch(i){return this.checkDocument(e.parseFromString(t,'text/xml'))}}checkDocument(t){var e=t.getElementsByTagName('parsererror')[0];if(e)throw new Error(e.textContent);return t}load(t){var e=this;return(0,o.default)(function*(){var i=yield e.fetch(t),r=yield i.text();return e.parseFromString(r)})()}}n.Parser=Z;class J{constructor(t,e){this.type='translate',this.point=null,this.point=Y.parse(e)}
1apply(t){var{x:e,y:i}=this.point;t.translate(e||0,i||0)}unapply(t){var{x:e,y:i}=this.point;t.translate(-1*e||0,-1*i||0)}applyToPoint(t){var{x:e,y:i}=this.point;t.applyTransform([1,0,0,1,e||0,i||0])}}n.Translate=J;class K{constructor(t,e,i){this.type='rotate',this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var r=f(e);this.angle=new j(t,'angle',r[0]),this.originX=i[0],this.originY=i[1],this.cx=r[1]||0,this.cy=r[2]||0}apply(t){var{cx:e,cy:i,originX:r,originY:s,angle:n}=this,a=e+r.getPixels('x'),h=i+s.getPixels('y');t.translate(a,h),t.rotate(n.getRadians()),t.translate(-a,-h)}unapply(t){var{cx:e,cy:i,originX:r,originY:s,angle:n}=this,a=e+r.getPixels('x'),h=i+s.getPixels('y');t.translate(a,h),t.rotate(-1*n.getRadians()),t.translate(-a,-h)}applyToPoint(t){var{cx:e,cy:i,angle:r}=this,s=r.getRadians();t.applyTransform([1,0,0,1,e||0,i||0]),t.applyTransform([Math.cos(s),Math.sin(s),-Math.sin(s),Math.cos(s),0,0]),t.applyTransform([1,0,0,1,-e||0,-i||0])}}n.Rotate=K;class tt{constructor(t,e,i){this.type='scale',this.scale=null,this.originX=null,this.originY=null;var r=Y.parseScale(e);0!==r.x&&0!==r.y||(r.x=O,r.y=O),this.scale=r,this.originX=i[0],this.originY=i[1]}apply(t){var{scale:{x:e,y:i},originX:r,originY:s}=this,n=r.getPixels('x'),a=s.getPixels('y');t.translate(n,a),t.scale(e,i||e),t.translate(-n,-a)}unapply(t){var{scale:{x:e,y:i},originX:r,originY:s}=this,n=r.getPixels('x'),a=s.getPixels('y');t.translate(n,a),t.scale(1/e,1/i||e),t.translate(-n,-a)}applyToPoint(t){var{x:e,y:i}=this.scale;t.applyTransform([e||0,0,0,i||0,0,0])}}n.Scale=tt;class et{constructor(t,e,i){this.type='matrix',this.matrix=[],this.originX=null,this.originY=null,this.matrix=f(e),this.originX=i[0],this.originY=i[1]}apply(t){var{originX:e,originY:i,matrix:r}=this,s=e.getPixels('x'),n=i.getPixels('y');t.translate(s,n),t.transform(r[0],r[1],r[2],r[3],r[4],r[5]),t.translate(-s,-n)}unapply(t){var{originX:e,originY:i,matrix:r}=this,s=r[0],n=r[2],a=r[4],h=r[1],o=r[3],l=r[5],u=1/(s*(1*o-0*l)-n*(1*h-0*l)+a*(0*h-0*o)),c=e.getPixels('x'),g=i.getPixels('y');t.translate(c,g),t.transform(u*(1*o-0*l),u*(0*l-1*h),u*(0*a-1*n),u*(1*s-0*a),u*(n*l-a*o),u*(a*h-s*l)),t.translate(-c,-g)}applyToPoint(t){t.applyTransform(this.matrix)}}n.Matrix=et;class it extends et{constructor(t,e,i){super(t,e,i),this.type='skew',this.angle=null,this.angle=new j(t,'angle',e)}}n.Skew=it;class rt extends it{constructor(t,e,i){super(t,e,i),this.type='skewX',this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}n.SkewX=rt;class st extends it{constructor(t,e,i){super(t,e,i),this.type='skewY',this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function nt(t){return p(t).trim().replace(/\)([a-zA-Z])/g,') $1').replace(/\)(\s?,\s?)/g,') ').split(/\s(?=[a-z])/)}function at(t){var[e,i]=t.split('(');return[e.trim(),i.trim().replace(')','')]}n.SkewY=st;class ht{constructor(t,e,i){this.document=t,this.transforms=[],nt(e).forEach(t=>{if('none'!==t){var[e,r]=at(t),s=ht.transformTypes[e];void 0!==s&&this.transforms.push(new s(this.document,r,i))}})}static fromElement(t,e){var i=e.getStyle('transform',!1,!0),[r,s=r]=e.getStyle('transform-origin',!1,!0).split(),n=[r,s];return i.hasValue()?new ht(t,i.getString(),n):null}apply(t){for(var{transforms:e}=this,i=e.length,r=0;r<i;r++)e[r].apply(t)}unapply(t){for(var{transforms:e}=this,i=e.length-1;i>=0;i--)e[i].unapply(t)}applyToPoint(t){for(var{transforms:e}=this,i=e.length,r=0;r<i;r++)e[r].applyToPoint(t)}}n.Transform=ht,ht.transformTypes={translate:J,rotate:K,scale:tt,matrix:et,skewX:rt,skewY:st};class ot{constructor(t,e){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(this.document=t,this.node=e,this.captureTextNodes=i,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue='',this.parent=null,this.children=[],e&&1===e.nodeType){if(Array.from(e.attributes).forEach(e=>{var i=x(e.nodeName);this.attributes[i]=new j(t,i,e.value)}),this.addStylesFromStyleDefinition(),this.getAttribute('style').hasValue())this.getAttribute('style').getString().split(';').map(t=>
vendor: 5,666 bytes, line 1
1t.trim()).forEach(e=>{if(e){var[i,r]=e.split(':').map(t=>t.trim());this.styles[i]=new j(t,i,r)}});var{definitions:r}=t,s=this.getAttribute('id');s.hasValue()&&(r[s.getString()]||(r[s.getString()]=this)),Array.from(e.childNodes).forEach(e=>{if(1===e.nodeType)this.addChild(e);else if(i&&(3===e.nodeType||4===e.nodeType)){var r=t.createTextNode(e);r.getText().length>0&&this.addChild(r)}})}}getAttribute(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.attributes[t];if(!i&&e){var r=new j(this.document,t,'');return this.attributes[t]=r,r}return i||j.empty(this.document)}getHrefAttribute(){for(var t in this.attributes)if('href'===t||t.endsWith(':href'))return this.attributes[t];return j.empty(this.document)}getStyle(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.styles[t];if(r)return r;var s=this.getAttribute(t);if(null!=s&&s.hasValue())return this.styles[t]=s,s;if(!i){var{parent:n}=this;if(n){var a=n.getStyle(t);if(null!=a&&a.hasValue())return a}}if(e){var h=new j(this.document,t,'');return this.styles[t]=h,h}return r||j.empty(this.document)}render(t){if('none'!==this.getStyle('display').getString()&&'hidden'!==this.getStyle('visibility').getString()){if(t.save(),this.getStyle('mask').hasValue()){var e=this.getStyle('mask').getDefinition();e&&(this.applyEffects(t),e.apply(t,this))}else if('none'!==this.getStyle('filter').getValue('none')){var i=this.getStyle('filter').getDefinition();i&&(this.applyEffects(t),i.apply(t,this))}else this.setContext(t),this.renderChildren(t),this.clearContext(t);t.restore()}}setContext(t){}applyEffects(t){var e=ht.fromElement(this.document,this);e&&e.apply(t);var i=this.getStyle('clip-path',!1,!0);if(i.hasValue()){var r=i.getDefinition();r&&r.apply(t)}}clearContext(t){}renderChildren(t){this.children.forEach(e=>{e.render(t)})}addChild(t){var e=t instanceof ot?t:this.document.createElement(t);e.parent=this,ot.ignoreChildTypes.includes(e.type)||this.children.push(e)}matchesSelector(t){var e,{node:i}=this;if('function'==typeof i.matches)return i.matches(t);var r=null===(e=i.getAttribute)||void 0===e?void 0:e.call(i,'class');return!(!r||''===r)&&r.split(' ').some(e=>".".concat(e)===t)}addStylesFromStyleDefinition(){var{styles:t,stylesSpecificity:e}=this.document;for(var i in t)if(!i.startsWith('@')&&this.matchesSelector(i)){var r=t[i],s=e[i];if(r)for(var n in r){var a=this.stylesSpecificity[n];void 0===a&&(a='000'),s>=a&&(this.styles[n]=r[n],this.stylesSpecificity[n]=s)}}}removeStyles(t,e){return e.reduce((e,i)=>{var r=t.getStyle(i);if(!r.hasValue())return e;var s=r.getString();return r.setValue(''),[...e,[i,s]]},[])}restoreStyles(t,e){e.forEach(e=>{var[i,r]=e;t.getStyle(i,!0).setValue(r)})}isFirstChild(){var t;return 0===(null===(t=this.parent)||void 0===t?void 0:t.children.indexOf(this))}}n.Element=ot,ot.ignoreChildTypes=['title'];class lt extends ot{constructor(t,e,i){super(t,e,i)}}function ut(t){var e=t.trim();return/^('|")/.test(e)?e:"\"".concat(e,"\"")}function ct(t){if(!t)return'';var e=t.trim().toLowerCase();switch(e){case'normal':case'italic':case'oblique':case'inherit':case'initial':case'unset':return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:''}}function gt(t){if(!t)return'';var e=t.trim().toLowerCase();switch(e){case'normal':case'bold':case'lighter':case'bolder':case'inherit':case'initial':case'unset':return e;default:return/^[\d.]+$/.test(e)?e:''}}n.UnknownElement=lt;class dt{constructor(t,e,i,r,s,n){var a=n?'string'==typeof n?dt.parse(n):n:{};this.fontFamily=s||a.fontFamily,this.fontSize=r||a.fontSize,this.fontStyle=t||a.fontStyle,this.fontWeight=i||a.fontWeight,this.fontVariant=e||a.fontVariant}static parse(){var t=arguments.length>1?arguments[1]:void 0,e='',i='',r='',s='',n='',a=p(arguments.length>0&&void 0!==arguments[0]?arguments[0]:'').trim().split(' '),h={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return a.forEach(t=>{switch(!0){case!h.fontStyle&&dt.styles.includes(t):'inherit'!==t&&(e=t),h.fontStyle=!0;break;case!h.fontVariant&&dt.variants.includes(t):'inherit'!==t&&(i=t),h.fontStyle=!0,h.fontVariant=!0;break;case!h.fontWeight&&dt.weights.includes(t):'inherit'!==t&&(r=t),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0;break;case!h.fontSize:'inherit'!==t&&([s]=t.split('/')),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0,h.fontSize=!0;break;default:'inherit'!==t&&(n+=t)}}),new dt(e,i,r,s,n,t)}toString(){return[ct(this.fontStyle),this.fontVariant,gt(this.fontWeight),this.fontSize,(t=this.fontFamily,'undefined'==typeof process?t:t.trim().split(',').map(ut).join(','))].join(' ').trim();var t}}n.Font=dt,dt.styles='normal|italic|oblique|inherit',dt.variants='normal|small-caps|inherit',dt.weights='normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit';class pt{constructor(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.NaN,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.NaN,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.NaN,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Number.NaN;this.x1=t,this.y1=e,this.x2=i,this.y2=r,this.addPoint(t,e),this.addPoint(i,r)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(t,e){void 0!==t&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=t,this.x2=t),t<this.x1&&(this.x1=t),t>this.x2&&(this.x2=t)),void 0!==e&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=e,this.y2=e),e<this.y1&&(this.y1=e),e>this.y2&&(this.y2=e))}addX(t){this.addPoint(t,null)}addY(t){this.addPoint(null,t)}addBoundingBox(t){if(t){var{x1:e,y1:i,x2:r,y2:s}=t;
vendor: 6,378 bytes, line 1
1this.addPoint(e,i),this.addPoint(r,s)}}sumCubic(t,e,i,r,s){return Math.pow(1-t,3)*e+3*Math.pow(1-t,2)*t*i+3*(1-t)*Math.pow(t,2)*r+Math.pow(t,3)*s}bezierCurveAdd(t,e,i,r,s){var n=6*e-12*i+6*r,a=-3*e+9*i-9*r+3*s,h=3*i-3*e;if(0!==a){var o=Math.pow(n,2)-4*h*a;if(!(o<0)){var l=(-n+Math.sqrt(o))/(2*a);0<l&&l<1&&(t?this.addX(this.sumCubic(l,e,i,r,s)):this.addY(this.sumCubic(l,e,i,r,s)));var u=(-n-Math.sqrt(o))/(2*a);0<u&&u<1&&(t?this.addX(this.sumCubic(u,e,i,r,s)):this.addY(this.sumCubic(u,e,i,r,s)))}}else{if(0===n)return;var c=-h/n;0<c&&c<1&&(t?this.addX(this.sumCubic(c,e,i,r,s)):this.addY(this.sumCubic(c,e,i,r,s)))}}addBezierCurve(t,e,i,r,s,n,a,h){this.addPoint(t,e),this.addPoint(a,h),this.bezierCurveAdd(!0,t,i,s,a),this.bezierCurveAdd(!1,e,r,n,h)}addQuadraticCurve(t,e,i,r,s,n){var a=t+.6666666666666666*(i-t),h=e+.6666666666666666*(r-e),o=a+.3333333333333333*(s-t),l=h+.3333333333333333*(n-e);this.addBezierCurve(t,e,a,o,h,l,s,n)}isPointInBox(t,e){var{x1:i,y1:r,x2:s,y2:n}=this;return i<=t&&t<=s&&r<=e&&e<=n}}n.BoundingBox=pt;class mt extends g.SVGPathData{constructor(t){super(t.replace(/([+\-.])\s+/gm,'$1').replace(/[^MmZzLlHhVvCcSsQqTtAae\d\s.,+-].*/g,'')),this.control=null,this.start=null,this.current=null,this.command=null,this.commands=this.commands,this.i=-1,this.previousCommand=null,this.points=[],this.angles=[]}reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new Y(0,0),this.control=new Y(0,0),this.current=new Y(0,0),this.points=[],this.angles=[]}isEnd(){var{i:t,commands:e}=this;return t>=e.length-1}next(){var t=this.commands[++this.i];return this.previousCommand=this.command,this.command=t,t}getPoint(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:'x',e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:'y',i=new Y(this.command[t],this.command[e]);return this.makeAbsolute(i)}getAsControlPoint(t,e){var i=this.getPoint(t,e);return this.control=i,i}getAsCurrentPoint(t,e){var i=this.getPoint(t,e);return this.current=i,i}getReflectedControlPoint(){var t=this.previousCommand.type;if(t!==g.SVGPathData.CURVE_TO&&t!==g.SVGPathData.SMOOTH_CURVE_TO&&t!==g.SVGPathData.QUAD_TO&&t!==g.SVGPathData.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:i},control:{x:r,y:s}}=this;return new Y(2*e-r,2*i-s)}makeAbsolute(t){if(this.command.relative){var{x:e,y:i}=this.current;t.x+=e,t.y+=i}return t}addMarker(t,e,i){var{points:r,angles:s}=this;i&&s.length>0&&!s[s.length-1]&&(s[s.length-1]=r[r.length-1].angleTo(i)),this.addMarkerAngle(t,e?e.angleTo(t):null)}addMarkerAngle(t,e){this.points.push(t),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:t}=this,e=t.length,i=0;i<e;i++)if(!t[i])for(var r=i+1;r<e;r++)if(t[r]){t[i]=t[r];break}return t}}n.PathParser=mt;class yt extends ot{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var t=1,e=this;e;){var i=e.getStyle('opacity',!1,!0);i.hasValue(!0)&&(t*=i.getNumber()),e=e.parent}return t}setContext(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e){var i=this.getStyle('fill'),r=this.getStyle('fill-opacity'),s=this.getStyle('stroke'),n=this.getStyle('stroke-opacity');if(i.isUrlDefinition()){var a=i.getFillStyleDefinition(this,r);a&&(t.fillStyle=a)}else if(i.hasValue()){'currentColor'===i.getString()&&i.setValue(this.getStyle('color').getColor());var h=i.getColor();'inherit'!==h&&(t.fillStyle='none'===h?'rgba(0,0,0,0)':h)}if(r.hasValue()){var o=new j(this.document,'fill',t.fillStyle).addOpacity(r).getColor();t.fillStyle=o}if(s.isUrlDefinition()){var l=s.getFillStyleDefinition(this,n);l&&(t.strokeStyle=l)}else if(s.hasValue()){'currentColor'===s.getString()&&s.setValue(this.getStyle('color').getColor());var u=s.getString();'inherit'!==u&&(t.strokeStyle='none'===u?'rgba(0,0,0,0)':u)}if(n.hasValue()){var c=new j(this.document,'stroke',t.strokeStyle).addOpacity(n).getString();t.strokeStyle=c}var g=this.getStyle('stroke-width');if(g.hasValue()){var d=g.getPixels();t.lineWidth=d||O}var p=this.getStyle('stroke-linecap'),m=this.getStyle('stroke-linejoin'),y=this.getStyle('stroke-miterlimit'),v=this.getStyle('stroke-dasharray'),x=this.getStyle('stroke-dashoffset');if(p.hasValue()&&(t.lineCap=p.getString()),m.hasValue()&&(t.lineJoin=m.getString()),y.hasValue()&&(t.miterLimit=y.getNumber()),v.hasValue()&&'none'!==v.getString()){var b=f(v.getString());void 0!==t.setLineDash?t.setLineDash(b):void 0!==t.webkitLineDash?t.webkitLineDash=b:void 0===t.mozDash||1===b.length&&0===b[0]||(t.mozDash=b);var S=x.getPixels();void 0!==t.lineDashOffset?t.lineDashOffset=S:void 0!==t.webkitLineDashOffset?t.webkitLineDashOffset=S:void 0!==t.mozDashOffset&&(t.mozDashOffset=S)}}if(this.modifiedEmSizeStack=!1,void 0!==t.font){var P=this.getStyle('font'),w=this.getStyle('font-style'),A=this.getStyle('font-variant'),C=this.getStyle('font-weight'),E=this.getStyle('font-size'),T=this.getStyle('font-family'),V=new dt(w.getString(),A.getString(),C.getString(),E.hasValue()?"".concat(E.getPixels(!0),"px"):'',T.getString(),dt.parse(P.getString(),t.font));w.setValue(V.fontStyle),A.setValue(V.fontVariant),C.setValue(V.fontWeight),E.setValue(V.fontSize),T.setValue(V.fontFamily),t.font=V.toString(),E.isPixels()&&(this.document.emSize=E.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(t),t.globalAlpha=this.calculateOpacity())}clearContext(t){super.clearContext(t),this.modifiedEmSizeStack&&this.document.popEmSize()}}n.RenderedElement=yt;class ft extends yt{constructor(t,e,i){super(t,e,i),this.type='path',this.pathParser=null,this.pathParser=new mt(this.getAttribute('d').getString())}path(t){var{pathParser:e}=this,i=new pt;for(e.reset(),t&&t.beginPath();!e.isEnd();)switch(e.next().type){case mt.MOVE_TO:this.pathM(t,i);break;case mt.LINE_TO:this.pathL(t,i);break;case mt.HORIZ_LINE_TO:this.pathH(t,i);break;case mt.VERT_LINE_TO:this.pathV(t,i);break;case mt.CURVE_TO:this.pathC(t,i);break;case mt.SMOOTH_CURVE_TO:this.pathS(t,i);break;case mt.QUAD_TO:this.pathQ(t,i);break;case mt.SMOOTH_QUAD_TO:this.pathT(t,i);break;case mt.ARC:this.pathA(t,i);break;case mt.CLOSE_PATH:this.pathZ(t,i)}return i}getBoundingBox(t){return this.path()}getMarkers(){var{pathParser:t}=this,e=t.getMarkerPoints(),i=t.getMarkerAngles();return e.map((t,e)=>[t,i[e]])}renderChildren(t){this.path(t),this.document.screen.mouse.checkPath(this,t);var e=this.getStyle('fill-rule');
vendor: 4,596 bytes, line 1
1''!==t.fillStyle&&('inherit'!==e.getString('inherit')?t.fill(e.getString()):t.fill()),''!==t.strokeStyle&&('non-scaling-stroke'===this.getAttribute('vector-effect').getString()?(t.save(),t.setTransform(1,0,0,1,0,0),t.stroke(),t.restore()):t.stroke());var i=this.getMarkers();if(i){var r=i.length-1,s=this.getStyle('marker-start'),n=this.getStyle('marker-mid'),a=this.getStyle('marker-end');if(s.isUrlDefinition()){var h=s.getDefinition(),[o,l]=i[0];h.render(t,o,l)}if(n.isUrlDefinition())for(var u=n.getDefinition(),c=1;c<r;c++){var[g,d]=i[c];u.render(t,g,d)}if(a.isUrlDefinition()){var p=a.getDefinition(),[m,y]=i[r];p.render(t,m,y)}}}static pathM(t){var e=t.getAsCurrentPoint();return t.start=t.current,{point:e}}pathM(t,e){var{pathParser:i}=this,{point:r}=ft.pathM(i),{x:s,y:n}=r;i.addMarker(r),e.addPoint(s,n),t&&t.moveTo(s,n)}static pathL(t){var{current:e}=t;return{current:e,point:t.getAsCurrentPoint()}}pathL(t,e){var{pathParser:i}=this,{current:r,point:s}=ft.pathL(i),{x:n,y:a}=s;i.addMarker(s,r),e.addPoint(n,a),t&&t.lineTo(n,a)}static pathH(t){var{current:e,command:i}=t,r=new Y((i.relative?e.x:0)+i.x,e.y);return t.current=r,{current:e,point:r}}pathH(t,e){var{pathParser:i}=this,{current:r,point:s}=ft.pathH(i),{x:n,y:a}=s;i.addMarker(s,r),e.addPoint(n,a),t&&t.lineTo(n,a)}static pathV(t){var{current:e,command:i}=t,r=new Y(e.x,(i.relative?e.y:0)+i.y);return t.current=r,{current:e,point:r}}pathV(t,e){var{pathParser:i}=this,{current:r,point:s}=ft.pathV(i),{x:n,y:a}=s;i.addMarker(s,r),e.addPoint(n,a),t&&t.lineTo(n,a)}static pathC(t){var{current:e}=t;return{current:e,point:t.getPoint('x1','y1'),controlPoint:t.getAsControlPoint('x2','y2'),currentPoint:t.getAsCurrentPoint()}}pathC(t,e){var{pathParser:i}=this,{current:r,point:s,controlPoint:n,currentPoint:a}=ft.pathC(i);i.addMarker(a,n,s),e.addBezierCurve(r.x,r.y,s.x,s.y,n.x,n.y,a.x,a.y),t&&t.bezierCurveTo(s.x,s.y,n.x,n.y,a.x,a.y)}static pathS(t){var{current:e}=t;return{current:e,point:t.getReflectedControlPoint(),controlPoint:t.getAsControlPoint('x2','y2'),currentPoint:t.getAsCurrentPoint()}}pathS(t,e){var{pathParser:i}=this,{current:r,point:s,controlPoint:n,currentPoint:a}=ft.pathS(i);i.addMarker(a,n,s),e.addBezierCurve(r.x,r.y,s.x,s.y,n.x,n.y,a.x,a.y),t&&t.bezierCurveTo(s.x,s.y,n.x,n.y,a.x,a.y)}static pathQ(t){var{current:e}=t;return{current:e,controlPoint:t.getAsControlPoint('x1','y1'),currentPoint:t.getAsCurrentPoint()}}pathQ(t,e){var{pathParser:i}=this,{current:r,controlPoint:s,currentPoint:n}=ft.pathQ(i);i.addMarker(n,s,s),e.addQuadraticCurve(r.x,r.y,s.x,s.y,n.x,n.y),t&&t.quadraticCurveTo(s.x,s.y,n.x,n.y)}static pathT(t){var{current:e}=t,i=t.getReflectedControlPoint();return t.control=i,{current:e,controlPoint:i,currentPoint:t.getAsCurrentPoint()}}pathT(t,e){var{pathParser:i}=this,{current:r,controlPoint:s,currentPoint:n}=ft.pathT(i);i.addMarker(n,s,s),e.addQuadraticCurve(r.x,r.y,s.x,s.y,n.x,n.y),t&&t.quadraticCurveTo(s.x,s.y,n.x,n.y)}static pathA(t){var{current:e,command:i}=t,{rX:r,rY:s,xRot:n,lArcFlag:a,sweepFlag:h}=i,o=n*(Math.PI/180),l=t.getAsCurrentPoint(),u=new Y(Math.cos(o)*(e.x-l.x)/2+Math.sin(o)*(e.y-l.y)/2,-Math.sin(o)*(e.x-l.x)/2+Math.cos(o)*(e.y-l.y)/2),c=Math.pow(u.x,2)/Math.pow(r,2)+Math.pow(u.y,2)/Math.pow(s,2);c>1&&(r*=Math.sqrt(c),s*=Math.sqrt(c));var g=(a===h?-1:1)*Math.sqrt((Math.pow(r,2)*Math.pow(s,2)-Math.pow(r,2)*Math.pow(u.y,2)-Math.pow(s,2)*Math.pow(u.x,2))/(Math.pow(r,2)*Math.pow(u.y,2)+Math.pow(s,2)*Math.pow(u.x,2)));isNaN(g)&&(g=0);var d=new Y(g*r*u.y/s,g*-s*u.x/r),p=new Y((e.x+l.x)/2+Math.cos(o)*d.x-Math.sin(o)*d.y,(e.y+l.y)/2+Math.sin(o)*d.x+Math.cos(o)*d.y),m=B([1,0],[(u.x-d.x)/r,(u.y-d.y)/s]),y=[(u.x-d.x)/r,(u.y-d.y)/s],f=[(-u.x-d.x)/r,(-u.y-d.y)/s],v=B(y,f);return D(y,f)<=-1&&(v=Math.PI),D(y,f)>=1&&(v=0),{currentPoint:l,rX:r,rY:s,sweepFlag:h,xAxisRotation:o,centp:p,a1:m,ad:v}}pathA(t,e){var{pathParser:i}=this,{currentPoint:r,rX:s,rY:n,sweepFlag:a,xAxisRotation:h,centp:o,a1:l,ad:u}=ft.pathA(i),c=1-a?1:-1,g=l+c*(u/2),d=new Y(o.x+s*Math.cos(g),o.y+n*Math.sin(g));if(i.addMarkerAngle(d,g-c*Math.PI/2),i.addMarkerAngle(r,g-c*Math.PI),e.addPoint(r.x,r.y),t&&!isNaN(l)&&!isNaN(u)){var p=s>n?s:n,m=s>n?1:s/n,y=s>n?n/s:1;t.translate(o.x,o.y),t.rotate(h),t.scale(m,y),t.arc(0,0,p,l,l+u,Boolean(1-a)),t.scale(1/m,1/y),t.rotate(-h),t.translate(-o.x,-o.y)}}static pathZ(t){t.current=t.start}pathZ(t,e){ft.pathZ(this.pathParser),t&&e.x1!==e.x2&&e.y1!==e.y2&&t.closePath()}}n.PathElement=ft;class vt extends ft{constructor(t,e,i){super(t,e,i),this.type='glyph',this.horizAdvX=this.getAttribute('horiz-adv-x').getNumber(),this.unicode=this.getAttribute('unicode').get
vendor: 4,098 bytes, line 1
1String(),this.arabicForm=this.getAttribute('arabic-form').getString()}}n.GlyphElement=vt;class xt extends yt{constructor(t,e,i){super(t,e,new.target===xt||i),this.type='text',this.x=0,this.y=0,this.measureCache=-1}setContext(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];super.setContext(t,e);var i=this.getStyle('dominant-baseline').getTextBaseline()||this.getStyle('alignment-baseline').getTextBaseline();i&&(t.textBaseline=i)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(t){if('text'!==this.type)return this.getTElementBoundingBox(t);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t);var e=null;return this.children.forEach((i,r)=>{var s=this.getChildBoundingBox(t,this,this,r);e?e.addBoundingBox(s):e=s}),e}getFontSize(){var{document:t,parent:e}=this,i=dt.parse(t.ctx.font).fontSize;return e.getStyle('font-size').getNumber(i)}getTElementBoundingBox(t){var e=this.getFontSize();return new pt(this.x,this.y-e,this.x+this.measureText(t),this.y)}getGlyph(t,e,i){var r=e[i],s=null;if(t.isArabic){var n=e.length,a=e[i-1],h=e[i+1],o='isolated';if((0===i||' '===a)&&i<n-1&&' '!==h&&(o='terminal'),i>0&&' '!==a&&i<n-1&&' '!==h&&(o='medial'),i>0&&' '!==a&&(i===n-1||' '===h)&&(o='initial'),void 0!==t.glyphs[r]){var l=t.glyphs[r];s=l instanceof vt?l:l[o]}}else s=t.glyphs[r];return s||(s=t.missingGlyph),s}getText(){return''}getTextFromNode(t){var e=t||this.node,i=Array.from(e.parentNode.childNodes),r=i.indexOf(e),s=i.length-1,n=p(e.textContent||'');return 0===r&&(n=m(n)),r===s&&(n=y(n)),n}renderChildren(t){if('text'===this.type){this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(t),this.children.forEach((e,i)=>{this.renderChild(t,this,this,i)});var{mouse:e}=this.document.screen;e.isWorking()&&e.checkBoundingBox(this,this.getBoundingBox(t))}else this.renderTElementChildren(t)}renderTElementChildren(t){var{document:e,parent:i}=this,r=this.getText(),s=i.getStyle('font-family').getDefinition();if(s)for(var{unitsPerEm:n}=s.fontFace,a=dt.parse(e.ctx.font),h=i.getStyle('font-size').getNumber(a.fontSize),o=i.getStyle('font-style').getString(a.fontStyle),l=h/n,u=s.isRTL?r.split('').reverse().join(''):r,c=f(i.getAttribute('dx').getString()),g=u.length,d=0;d<g;d++){var p=this.getGlyph(s,u,d);t.translate(this.x,this.y),t.scale(l,-l);var m=t.lineWidth;t.lineWidth=t.lineWidth*n/h,'italic'===o&&t.transform(1,0,.4,1,0,0),p.render(t),'italic'===o&&t.transform(1,0,-.4,1,0,0),t.lineWidth=m,t.scale(1/l,-1/l),t.translate(-this.x,-this.y),this.x+=h*(p.horizAdvX||s.horizAdvX)/n,void 0===c[d]||isNaN(c[d])||(this.x+=c[d])}else{var{x:y,y:v}=this;t.fillStyle&&t.fillText(r,y,v),t.strokeStyle&&t.strokeText(r,y,v)}}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var t=this.leafTexts[this.textChunkStart],e=t.getStyle('text-anchor').getString('start'),i=0;i='start'===e?t.x-this.minX:'end'===e?t.x-this.maxX:t.x-(this.minX+this.maxX)/2;for(var r=this.textChunkStart;r<this.leafTexts.length;r++)this.leafTexts[r].x+=i;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(t){this.children.forEach((e,i)=>{this.adjustChildCoordinatesRecursiveCore(t,this,this,i)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(t,e,i,r){var s=i.children[r];s.children.length>0?s.children.forEach((i,r)=>{e.adjustChildCoordinatesRecursiveCore(t,e,s,r)}):this.adjustChildCoordinates(t,e,i,r)}adjustChildCoordinates(t,e,i,r){var s=i.children[r];if('function'!=typeof s.measureText)return s;t.save(),s.setContext(t,!0);var n=s.getAttribute('x'),a=s.getAttribute('y'),h=s.getAttribute('dx'),o=s.getAttribute('dy'),l=s.getStyle('font-family').getDefinition(),u=Boolean(l)&&l.isRTL;0===r&&(n.hasValue()||n.setValue(s.getInheritedAttribute('x')),a.hasValue()||a.setValue(s.getInheritedAttribute('y')),h.hasValue()||h.setValue(s.getInheritedAttribute('dx')),o.hasValue()||o.setValue(s.getInheritedAttribute('dy')));var c=s.measureText(t);
vendor: 19,420 bytes, line 1
1return u&&(e.x-=c),n.hasValue()?(e.applyAnchoring(),s.x=n.getPixels('x'),h.hasValue()&&(s.x+=h.getPixels('x'))):(h.hasValue()&&(e.x+=h.getPixels('x')),s.x=e.x),e.x=s.x,u||(e.x+=c),a.hasValue()?(s.y=a.getPixels('y'),o.hasValue()&&(s.y+=o.getPixels('y'))):(o.hasValue()&&(e.y+=o.getPixels('y')),s.y=e.y),e.y=s.y,e.leafTexts.push(s),e.minX=Math.min(e.minX,s.x,s.x+c),e.maxX=Math.max(e.maxX,s.x,s.x+c),s.clearContext(t),t.restore(),s}getChildBoundingBox(t,e,i,r){var s=i.children[r];if('function'!=typeof s.getBoundingBox)return null;var n=s.getBoundingBox(t);return n?(s.children.forEach((i,r)=>{var a=e.getChildBoundingBox(t,e,s,r);n.addBoundingBox(a)}),n):null}renderChild(t,e,i,r){var s=i.children[r];s.render(t),s.children.forEach((i,r)=>{e.renderChild(t,e,s,r)})}measureText(t){var{measureCache:e}=this;if(~e)return e;var i=this.getText(),r=this.measureTargetText(t,i);return this.measureCache=r,r}measureTargetText(t,e){if(!e.length)return 0;var{parent:i}=this,r=i.getStyle('font-family').getDefinition();if(r){for(var s=this.getFontSize(),n=r.isRTL?e.split('').reverse().join(''):e,a=f(i.getAttribute('dx').getString()),h=n.length,o=0,l=0;l<h;l++){o+=(this.getGlyph(r,n,l).horizAdvX||r.horizAdvX)*s/r.fontFace.unitsPerEm,void 0===a[l]||isNaN(a[l])||(o+=a[l])}return o}if(!t.measureText)return 10*e.length;t.save(),this.setContext(t,!0);var{width:u}=t.measureText(e);return this.clearContext(t),t.restore(),u}getInheritedAttribute(t){for(var e=this;e instanceof xt&&e.isFirstChild();){var i=e.parent.getAttribute(t);if(i.hasValue(!0))return i.getValue('0');e=e.parent}return null}}n.TextElement=xt;class bt extends xt{constructor(t,e,i){super(t,e,new.target===bt||i),this.type='tspan',this.text=this.children.length>0?'':this.getTextFromNode()}getText(){return this.text}}n.TSpanElement=bt;class St extends bt{constructor(){super(...arguments),this.type='textNode'}}class Pt extends yt{constructor(){super(...arguments),this.type='svg',this.root=!1}setContext(t){var e,{document:i}=this,{screen:r,window:s}=i,n=t.canvas;if(r.setDefaults(t),n.style&&void 0!==t.font&&s&&void 0!==s.getComputedStyle){t.font=s.getComputedStyle(n).getPropertyValue('font');var a=new j(i,'fontSize',dt.parse(t.font).fontSize);a.hasValue()&&(i.rootEmSize=a.getPixels('y'),i.emSize=i.rootEmSize)}this.getAttribute('x').hasValue()||this.getAttribute('x',!0).setValue(0),this.getAttribute('y').hasValue()||this.getAttribute('y',!0).setValue(0);var{width:h,height:o}=r.viewPort;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 l=this.getAttribute('refX'),u=this.getAttribute('refY'),c=this.getAttribute('viewBox'),g=c.hasValue()?f(c.getString()):null,d=!this.root&&'visible'!==this.getStyle('overflow').getValue('hidden'),p=0,m=0,y=0,v=0;g&&(p=g[0],m=g[1]),this.root||(h=this.getStyle('width').getPixels('x'),o=this.getStyle('height').getPixels('y'),'marker'===this.type&&(y=p,v=m,p=0,m=0)),r.viewPort.setCurrent(h,o),!this.node||this.parent&&'foreignObject'!==(null===(e=this.node.parentNode)||void 0===e?void 0:e.nodeName)||!this.getStyle('transform',!1,!0).hasValue()||this.getStyle('transform-origin',!1,!0).hasValue()||this.getStyle('transform-origin',!0,!0).setValue('50% 50%'),super.setContext(t),t.translate(this.getAttribute('x').getPixels('x'),this.getAttribute('y').getPixels('y')),g&&(h=g[2],o=g[3]),i.setViewBox({ctx:t,aspectRatio:this.getAttribute('preserveAspectRatio').getString(),width:r.viewPort.width,desiredWidth:h,height:r.viewPort.height,desiredHeight:o,minX:p,minY:m,refX:l.getValue(),refY:u.getValue(),clip:d,clipX:y,clipY:v}),g&&(r.viewPort.removeCurrent(),r.viewPort.setCurrent(h,o))}clearContext(t){super.clearContext(t),this.document.screen.viewPort.removeCurrent()}resize(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.getAttribute('width',!0),s=this.getAttribute('height',!0),n=this.getAttribute('viewBox'),a=this.getAttribute('style'),h=r.getNumber(0),o=s.getNumber(0);if(i)if('string'==typeof i)this.getAttribute('preserveAspectRatio',!0).setValue(i);else{var l=this.getAttribute('preserveAspectRatio');l.hasValue()&&l.setValue(l.getString().replace(/^\s*(\S.*\S)\s*$/,'$1'))}if(r.setValue(t),s.setValue(e),n.hasValue()||n.setValue("0 0 ".concat(h||t," ").concat(o||e)),a.hasValue()){var u=this.getStyle('width'),c=this.getStyle('height');u.hasValue()&&u.setValue("".concat(t,"px")),c.hasValue()&&c.setValue("".concat(e,"px"))}}}n.SVGElement=Pt;class wt extends ft{constructor(){super(...arguments),this.type='rect'}path(t){var e=this.getAttribute('x').getPixels('x'),i=this.getAttribute('y').getPixels('y'),r=this.getStyle('width',!1,!0).getPixels('x'),s=this.getStyle('height',!1,!0).getPixels('y'),n=this.getAttribute('rx'),a=this.getAttribute('ry'),h=n.getPixels('x'),o=a.getPixels('y');if(n.hasValue()&&!a.hasValue()&&(o=h),a.hasValue()&&!n.hasValue()&&(h=o),h=Math.min(h,r/2),o=Math.min(o,s/2),t){var l=(Math.sqrt(2)-1)/3*4;t.beginPath(),s>0&&r>0&&(t.moveTo(e+h,i),t.lineTo(e+r-h,i),t.bezierCurveTo(e+r-h+l*h,i,e+r,i+o-l*o,e+r,i+o),t.lineTo(e+r,i+s-o),t.bezierCurveTo(e+r,i+s-o+l*o,e+r-h+l*h,i+s,e+r-h,i+s),t.lineTo(e+h,i+s),t.bezierCurveTo(e+h-l*h,i+s,e,i+s-o+l*o,e,i+s-o),t.lineTo(e,i+o),t.bezierCurveTo(e,i+o-l*o,e+h-l*h,i,e+h,i),t.closePath())}return new pt(e,i,e+r,i+s)}getMarkers(){return null}}n.RectElement=wt;class At extends ft{constructor(){super(...arguments),this.type='circle'}path(t){var e=this.getAttribute('cx').getPixels('x'),i=this.getAttribute('cy').getPixels('y'),r=this.getAttribute('r').getPixels();return t&&r>0&&(t.beginPath(),t.arc(e,i,r,0,2*Math.PI,!1),t.closePath()),new pt(e-r,i-r,e+r,i+r)}getMarkers(){return null}}n.CircleElement=At;class Ct extends ft{constructor(){super(...arguments),this.type='ellipse'}path(t){var e=(Math.sqrt(2)-1)/3*4,i=this.getAttribute('rx').getPixels('x'),r=this.getAttribute('ry').getPixels('y'),s=this.getAttribute('cx').getPixels('x'),n=this.getAttribute('cy').getPixels('y');return t&&i>0&&r>0&&(t.beginPath(),t.moveTo(s+i,n),t.bezierCurveTo(s+i,n+e*r,s+e*i,n+r,s,n+r),t.bezierCurveTo(s-e*i,n+r,s-i,n+e*r,s-i,n),t.bezierCurveTo(s-i,n-e*r,s-e*i,n-r,s,n-r),t.bezierCurveTo(s+e*i,n-r,s+i,n-e*r,s+i,n),t.closePath()),new pt(s-i,n-r,s+i,n+r)}getMarkers(){return null}}n.EllipseElement=Ct;class Et extends ft{constructor(){super(...arguments),this.type='line'}getPoints(){return[new Y(this.getAttribute('x1').getPixels('x'),this.getAttribute('y1').getPixels('y')),new Y(this.getAttribute('x2').getPixels('x'),this.getAttribute('y2').getPixels('y'))]}path(t){var[{x:e,y:i},{x:r,y:s}]=this.getPoints();return t&&(t.beginPath(),t.moveTo(e,i),t.lineTo(r,s)),new pt(e,i,r,s)}getMarkers(){var[t,e]=this.getPoints(),i=t.angleTo(e);return[[t,i],[e,i]]}}n.LineElement=Et;class Tt extends ft{constructor(t,e,i){super(t,e,i),this.type='polyline',this.points=[],this.points=Y.parsePath(this.getAttribute('points').getString())}path(t){var{points:e}=this,[{x:i,y:r}]=e,s=new pt(i,r);return t&&(t.beginPath(),t.moveTo(i,r)),e.forEach(e=>{var{x:i,y:r}=e;s.addPoint(i,r),t&&t.lineTo(i,r)}),s}getMarkers(){var{points:t}=this,e=t.length-1,i=[];return t.forEach((r,s)=>{s!==e&&i.push([r,r.angleTo(t[s+1])])}),i.length>0&&i.push([t[t.length-1],i[i.length-1][1]]),i}}n.PolylineElement=Tt;class Vt extends Tt{constructor(){super(...arguments),this.type='polygon'}path(t){var e=super.path(t),[{x:i,y:r}]=this.points;return t&&(t.lineTo(i,r),t.closePath()),e}}n.PolygonElement=Vt;class Mt extends ot{constructor(){super(...arguments),this.type='pattern'}createPattern(t,e,i){var r=this.getStyle('width').getPixels('x',!0),s=this.getStyle('height').getPixels('y',!0),n=new Pt(this.document,null);n.attributes.viewBox=new j(this.document,'viewBox',this.getAttribute('viewBox').getValue()),n.attributes.width=new j(this.document,'width',"".concat(r,"px")),n.attributes.height=new j(this.document,'height',"".concat(s,"px")),n.attributes.transform=new j(this.document,'transform',this.getAttribute('patternTransform').getValue()),n.children=this.children;var a=this.document.createCanvas(r,s),h=a.getContext('2d'),o=this.getAttribute('x'),l=this.getAttribute('y');o.hasValue()&&l.hasValue()&&h.translate(o.getPixels('x',!0),l.getPixels('y',!0)),i.hasValue()?this.styles['fill-opacity']=i:Reflect.deleteProperty(this.styles,'fill-opacity');for(var u=-1;u<=1;u++)for(var c=-1;c<=1;c++)h.save(),n.attributes.x=new j(this.document,'x',u*a.width),n.attributes.y=new j(this.document,'y',c*a.height),n.render(h),h.restore();return t.createPattern(a,'repeat')}}n.PatternElement=Mt;class kt extends ot{constructor(){super(...arguments),this.type='marker'}render(t,e,i){if(e){var{x:r,y:s}=e,n=this.getAttribute('orient').getString('auto'),a=this.getAttribute('markerUnits').getString('strokeWidth');t.translate(r,s),'auto'===n&&t.rotate(i),'strokeWidth'===a&&t.scale(t.lineWidth,t.lineWidth),t.save();var h=new Pt(this.document,null);h.type=this.type,h.attributes.viewBox=new j(this.document,'viewBox',this.getAttribute('viewBox').getValue()),h.attributes.refX=new j(this.document,'refX',this.getAttribute('refX').getValue()),h.attributes.refY=new j(this.document,'refY',this.getAttribute('refY').getValue()),h.attributes.width=new j(this.document,'width',this.getAttribute('markerWidth').getValue()),h.attributes.height=new j(this.document,'height',this.getAttribute('markerHeight').getValue()),h.attributes.overflow=new j(this.document,'overflow',this.getAttribute('overflow').getValue()),h.attributes.fill=new j(this.document,'fill',this.getAttribute('fill').getColor('black')),h.attributes.stroke=new j(this.document,'stroke',this.getAttribute('stroke').getValue('none')),h.children=this.children,h.render(t),t.restore(),'strokeWidth'===a&&t.scale(1/t.lineWidth,1/t.lineWidth),'auto'===n&&t.rotate(-i),t.translate(-r,-s)}}}n.MarkerElement=kt;class Ot extends ot{constructor(){super(...arguments),this.type='defs'}render(){}}n.DefsElement=Ot;class Nt extends yt{constructor(){super(...arguments),this.type='g'}getBoundingBox(t){var e=new pt;return this.children.forEach(i=>{e.addBoundingBox(i.getBoundingBox(t))}),e}}n.GElement=Nt;class Dt extends ot{constructor(t,e,i){super(t,e,i),this.attributesToInherit=['gradientUnits'],this.stops=[];var{stops:r,children:s}=this;s.forEach(t=>{'stop'===t.type&&r.push(t)})}getGradientUnits(){return this.getAttribute('gradientUnits').getString('objectBoundingBox')}createGradient(t,e,i){var r=this;this.getHrefAttribute().hasValue()&&(r=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(r));var{stops:s}=r,n=this.getGradient(t,e);if(!n)return this.addParentOpacity(i,s[s.length-1].color);if(s.forEach(t=>{n.addColorStop(t.offset,this.addParentOpacity(i,t.color))}),this.getAttribute('gradientTransform').hasValue()){var{document:a}=this,{MAX_VIRTUAL_PIXELS:h,viewPort:o}=a.screen,[l]=o.viewPorts,u=new wt(a,null);u.attributes.x=new j(a,'x',-h/3),u.attributes.y=new j(a,'y',-h/3),u.attributes.width=new j(a,'width',h),u.attributes.height=new j(a,'height',h);var c=new Nt(a,null);c.attributes.transform=new j(a,'transform',this.getAttribute('gradientTransform').getValue()),c.children=[u];var g=new Pt(a,null);g.attributes.x=new j(a,'x',0),g.attributes.y=new j(a,'y',0),g.attributes.width=new j(a,'width',l.width),g.attributes.height=new j(a,'height',l.height),g.children=[c];var d=a.createCanvas(l.width,l.height),p=d.getContext('2d');return p.fillStyle=n,g.render(p),p.createPattern(d,'no-repeat')}return n}inheritStopContainer(t){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&t.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(t.getAttribute(e).getValue())})}addParentOpacity(t,e){return t.hasValue()?new j(this.document,'color',e).addOpacity(t).getColor():e}}n.GradientElement=Dt;class Bt extends Dt{constructor(t,e,i){super(t,e,i),this.type='linearGradient',this.attributesToInherit.push('x1','y1','x2','y2')}getGradient(t,e){var i='objectBoundingBox'===this.getGradientUnits(),r=i?e.getBoundingBox(t):null;if(i&&!r)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 s=i?r.x+r.width*this.getAttribute('x1').getNumber():this.getAttribute('x1').getPixels('x'),n=i?r.y+r.height*this.getAttribute('y1').getNumber():this.getAttribute('y1').getPixels('y'),a=i?r.x+r.width*this.getAttribute('x2').getNumber():this.getAttribute('x2').getPixels('x'),h=i?r.y+r.height*this.getAttribute('y2').getNumber():this.getAttribute('y2').getPixels('y');return s===a&&n===h?null:t.createLinearGradient(s,n,a,h)}}n.LinearGradientElement=Bt;class zt extends Dt{constructor(t,e,i){super(t,e,i),this.type='radialGradient',this.attributesToInherit.push('cx','cy','r','fx','fy','fr')}getGradient(t,e){var i='objectBoundingBox'===this.getGradientUnits(),r=e.getBoundingBox(t);if(i&&!r)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 s=i?r.x+r.width*this.getAttribute('cx').getNumber():this.getAttribute('cx').getPixels('x'),n=i?r.y+r.height*this.getAttribute('cy').getNumber():this.getAttribute('cy').getPixels('y'),a=s,h=n;this.getAttribute('fx').hasValue()&&(a=i?r.x+r.width*this.getAttribute('fx').getNumber():this.getAttribute('fx').getPixels('x')),this.getAttribute('fy').hasValue()&&(h=i?r.y+r.height*this.getAttribute('fy').getNumber():this.getAttribute('fy').getPixels('y'));var o=i?(r.width+r.height)/2*this.getAttribute('r').getNumber():this.getAttribute('r').getPixels(),l=this.getAttribute('fr').getPixels();return t.createRadialGradient(a,h,l,s,n,o)}}n.RadialGradientElement=zt;class Lt extends ot{constructor(t,e,i){super(t,e,i),this.type='stop';var r=Math.max(0,Math.min(1,this.getAttribute('offset').getNumber())),s=this.getStyle('stop-opacity'),n=this.getStyle('stop-color',!0);''===n.getString()&&n.setValue('#000'),s.hasValue()&&(n=n.addOpacity(s)),this.offset=r,this.color=n.getColor()}}n.StopElement=Lt;class Rt extends ot{constructor(t,e,i){super(t,e,i),this.type='animate',this.duration=0,this.initialValue=null,this.initialUnits='',this.removed=!1,this.frozen=!1,t.screen.animations.push(this),this.begin=this.getAttribute('begin').getMilliseconds(),this.maxDuration=this.begin+this.getAttribute('dur').getMilliseconds(),this.from=this.getAttribute('from'),this.to=this.getAttribute('to'),this.values=new j(t,'values',null);var r=this.getAttribute('values');r.hasValue()&&this.values.setValue(r.getString().split(';'))}getProperty(){var t=this.getAttribute('attributeType').getString(),e=this.getAttribute('attributeName').getString();return'CSS'===t?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:t}=this,{progress:e,from:i,to:r}=this.getProgress(),s=i.getNumber()+(r.getNumber()-i.getNumber())*e;return'%'===t&&(s*=100),"".concat(s).concat(t)}update(t){var{parent:e}=this,i=this.getProperty();if(this.initialValue||(this.initialValue=i.getString(),this.initialUnits=i.getUnits()),this.duration>this.maxDuration){var r=this.getAttribute('fill').getString('remove');if('indefinite'===this.getAttribute('repeatCount').getString()||'indefinite'===this.getAttribute('repeatDur').getString())this.duration=0;else if('freeze'!==r||this.frozen){if('remove'===r&&!this.removed)return this.removed=!0,i.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0}else this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=i.getString();return!1}this.duration+=t;var s=!1;if(this.begin<this.duration){var n=this.calcValue(),a=this.getAttribute('type');if(a.hasValue()){var h=a.getString();n="".concat(h,"(").concat(n,")")}i.setValue(n),s=!0}return s}getProgress(){var{document:t,values:e}=this,i={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var r=i.progress*(e.getValue().length-1),s=Math.floor(r),n=Math.ceil(r);i.from=new j(t,'from',parseFloat(e.getValue()[s])),i.to=new j(t,'to',parseFloat(e.getValue()[n])),i.progress=(r-s)/(n-s)}else i.from=this.from,i.to=this.to;return i}}n.AnimateElement=Rt;class It extends Rt{constructor(){super(...arguments),this.type='animateColor'}calcValue(){var{progress:t,from:e,to:i}=this.getProgress(),r=new c.default(e.getColor()),s=new c.default(i.getColor());if(r.ok&&s.ok){var n=r.r+(s.r-r.r)*t,a=r.g+(s.g-r.g)*t,h=r.b+(s.b-r.b)*t;return"rgb(".concat(Math.floor(n),", ").concat(Math.floor(a),", ").concat(Math.floor(h),")")}return this.getAttribute('from').getColor()}}n.AnimateColorElement=It;class Ft extends Rt{constructor(){super(...arguments),this.type='animateTransform'}calcValue(){var{progress:t,from:e,to:i}=this.getProgress(),r=f(e.getString()),s=f(i.getString()),n=r.map((e,i)=>e+(s[i]-e)*t).join(' ');return n}}n.AnimateTransformElement=Ft;class _t extends ot{constructor(t,e,i){super(t,e,i),this.type='font',this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute('horiz-adv-x').getNumber();var{definitions:r}=t,{children:s}=this;for(var n of s)switch(n.type){case'font-face':this.fontFace=n;var a=n.getStyle('font-family');a.hasValue()&&(r[a.getString()]=this);break;case'missing-glyph':this.missingGlyph=n;break;case'glyph':var h=n;h.arabicForm?(this.isRTL=!0,this.isArabic=!0,void 0===this.glyphs[h.unicode]&&(this.glyphs[h.unicode]=Object.create(null)),this.glyphs[h.unicode][h.arabicForm]=h):this.glyphs[h.unicode]=h}}render(){}}n.FontElement=_t;class Xt extends ot{constructor(t,e,i){super(t,e,i),this.type='font-face',this.ascent=this.getAttribute('ascent').getNumber(),this.descent=this.getAttribute('descent').getNumber(),this.unitsPerEm=this.getAttribute('units-per-em').getNumber()}}n.FontFaceElement=Xt;class jt extends ft{constructor(){super(...arguments),this.type='missing-glyph',this.horizAdvX=0}}n.MissingGlyphElement=jt;class Ut extends xt{constructor(){super(...arguments),this.type='tref'}getText(){var t=this.getHrefAttribute().getDefinition();if(t){var e=t.children[0];if(e)return e.getText()}return''}}n.TRefElement=Ut;class Yt extends xt{constructor(t,e,i){super(t,e,i),this.type='a';var{childNodes:r}=e,s=r[0],n=r.length>0&&Array.from(r).every(t=>3===t.nodeType);this.hasText=n,this.text=n?this.getTextFromNode(s):''}getText(){return this.text}renderChildren(t){if(this.hasText){super.renderChildren(t);var{document:e,x:i,y:r}=this,{mouse:s}=e.screen,n=new j(e,'fontSize',dt.parse(e.ctx.font).fontSize);s.isWorking()&&s.checkBoundingBox(this,new pt(i,r-n.getPixels('y'),i+this.measureText(t),r))}else if(this.children.length>0){var a=new Nt(this.document,null);a.children=this.children,a.parent=this,a.render(t)}}onClick(){var{window:t}=this.document;t&&t.open(this.getHrefAttribute().getString())}onMouseMove(){this.document.ctx.canvas.style.cursor='pointer'}}function Gt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function Ht(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
vendor: 20,941 bytes, line 1
1e%2?Gt(Object(i),!0).forEach(function(e){(0,l.default)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Gt(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}n.AElement=Yt;class Wt extends xt{constructor(t,e,i){super(t,e,i),this.type='textPath',this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([['',0]]);var r=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(r)}getText(){return this.text}path(t){var{dataArray:e}=this;t&&t.beginPath(),e.forEach(e=>{var{type:i,points:r}=e;switch(i){case mt.LINE_TO:t&&t.lineTo(r[0],r[1]);break;case mt.MOVE_TO:t&&t.moveTo(r[0],r[1]);break;case mt.CURVE_TO:t&&t.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);break;case mt.QUAD_TO:t&&t.quadraticCurveTo(r[0],r[1],r[2],r[3]);break;case mt.ARC:var[s,n,a,h,o,l,u,c]=r,g=a>h?a:h,d=a>h?1:a/h,p=a>h?h/a:1;t&&(t.translate(s,n),t.rotate(u),t.scale(d,p),t.arc(0,0,g,o,o+l,Boolean(1-c)),t.scale(1/d,1/p),t.rotate(-u),t.translate(-s,-n));break;case mt.CLOSE_PATH:t&&t.closePath()}})}renderChildren(t){this.setTextData(t),t.save();var e=this.parent.getStyle('text-decoration').getString(),i=this.getFontSize(),{glyphInfo:r}=this,s=t.fillStyle;'underline'===e&&t.beginPath(),r.forEach((r,s)=>{var{p0:n,p1:a,rotation:h,text:o}=r;t.save(),t.translate(n.x,n.y),t.rotate(h),t.fillStyle&&t.fillText(o,0,0),t.strokeStyle&&t.strokeText(o,0,0),t.restore(),'underline'===e&&(0===s&&t.moveTo(n.x,n.y+i/8),t.lineTo(a.x,a.y+i/5))}),'underline'===e&&(t.lineWidth=i/20,t.strokeStyle=s,t.stroke(),t.closePath()),t.restore()}getLetterSpacingAt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.letterSpacingCache[t]||0}findSegmentToFitChar(t,e,i,r,s,n,a,h,o){var l=n,u=this.measureText(t,h);' '===h&&'justify'===e&&i<r&&(u+=(r-i)/s),o>-1&&(l+=this.getLetterSpacingAt(o));var c=this.textHeight/20,g=this.getEquidistantPointOnPath(l,c,0),d=this.getEquidistantPointOnPath(l+u,c,0),p={p0:g,p1:d},m=g&&d?Math.atan2(d.y-g.y,d.x-g.x):0;if(a){var y=Math.cos(Math.PI/2+m)*a,f=Math.cos(-m)*a;p.p0=Ht(Ht({},g),{},{x:g.x+y,y:g.y+f}),p.p1=Ht(Ht({},d),{},{x:d.x+y,y:d.y+f})}return{offset:l+=u,segment:p,rotation:m}}measureText(t,e){var{measuresCache:i}=this,r=e||this.getText();if(i.has(r))return i.get(r);var s=this.measureTargetText(t,r);return i.set(r,s),s}setTextData(t){if(!this.glyphInfo){var e=this.getText(),i=e.split(''),r=e.split(' ').length-1,s=this.parent.getAttribute('dx').split().map(t=>t.getPixels('x')),n=this.parent.getAttribute('dy').getPixels('y'),a=this.parent.getStyle('text-anchor').getString('start'),h=this.getStyle('letter-spacing'),o=this.parent.getStyle('letter-spacing'),l=0;h.hasValue()&&'inherit'!==h.getValue()?h.hasValue()&&'initial'!==h.getValue()&&'unset'!==h.getValue()&&(l=h.getPixels()):l=o.getPixels();var u=[],c=e.length;this.letterSpacingCache=u;for(var g=0;g<c;g++)u.push(void 0!==s[g]?s[g]:l);var d=u.reduce((t,e,i)=>0===i?0:t+e||0,0),p=this.measureText(t),m=Math.max(p+d,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var y=this.getPathLength(),f=this.getStyle('startOffset').getNumber(0)*y,v=0;'middle'!==a&&'center'!==a||(v=-m/2),'end'!==a&&'right'!==a||(v=-m),v+=f,i.forEach((e,s)=>{var{offset:h,segment:o,rotation:l}=this.findSegmentToFitChar(t,a,m,y,r,v,n,e,s);v=h,o.p0&&o.p1&&this.glyphInfo.push({text:i[s],p0:o.p0,p1:o.p1,rotation:l})})}}parsePathData(t){if(this.pathLength=-1,!t)return[];var e=[],{pathParser:i}=t;for(i.reset();!i.isEnd();){var{current:r}=i,s=r?r.x:0,n=r?r.y:0,a=i.next(),h=a.type,o=[];switch(a.type){case mt.MOVE_TO:this.pathM(i,o);break;case mt.LINE_TO:h=this.pathL(i,o);break;case mt.HORIZ_LINE_TO:h=this.pathH(i,o);break;case mt.VERT_LINE_TO:h=this.pathV(i,o);break;case mt.CURVE_TO:this.pathC(i,o);break;case mt.SMOOTH_CURVE_TO:h=this.pathS(i,o);break;case mt.QUAD_TO:this.pathQ(i,o);break;case mt.SMOOTH_QUAD_TO:h=this.pathT(i,o);break;case mt.ARC:o=this.pathA(i);break;case mt.CLOSE_PATH:ft.pathZ(i)}a.type!==mt.CLOSE_PATH?e.push({type:h,points:o,start:{x:s,y:n},pathLength:this.calcLength(s,n,h,o)}):e.push({type:mt.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(t,e){var{x:i,y:r}=ft.pathM(t).point;e.push(i,r)}pathL(t,e){var{x:i,y:r}=ft.pathL(t).point;return e.push(i,r),mt.LINE_TO}pathH(t,e){var{x:i,y:r}=ft.pathH(t).point;return e.push(i,r),mt.LINE_TO}pathV(t,e){var{x:i,y:r}=ft.pathV(t).point;return e.push(i,r),mt.LINE_TO}pathC(t,e){var{point:i,controlPoint:r,currentPoint:s}=ft.pathC(t);e.push(i.x,i.y,r.x,r.y,s.x,s.y)}pathS(t,e){var{point:i,controlPoint:r,currentPoint:s}=ft.pathS(t);return e.push(i.x,i.y,r.x,r.y,s.x,s.y),mt.CURVE_TO}pathQ(t,e){var{controlPoint:i,currentPoint:r}=ft.pathQ(t);e.push(i.x,i.y,r.x,r.y)}pathT(t,e){var{controlPoint:i,currentPoint:r}=ft.pathT(t);return e.push(i.x,i.y,r.x,r.y),mt.QUAD_TO}pathA(t){var{rX:e,rY:i,sweepFlag:r,xAxisRotation:s,centp:n,a1:a,ad:h}=ft.pathA(t);return 0===r&&h>0&&(h-=2*Math.PI),1===r&&h<0&&(h+=2*Math.PI),[n.x,n.y,e,i,a,h,s,r]}calcLength(t,e,i,r){var s=0,n=null,a=null,h=0;switch(i){case mt.LINE_TO:return this.getLineLength(t,e,r[0],r[1]);case mt.CURVE_TO:for(s=0,n=this.getPointOnCubicBezier(0,t,e,r[0],r[1],r[2],r[3],r[4],r[5]),h=.01;h<=1;h+=.01)a=this.getPointOnCubicBezier(h,t,e,r[0],r[1],r[2],r[3],r[4],r[5]),s+=this.getLineLength(n.x,n.y,a.x,a.y),n=a;return s;case mt.QUAD_TO:for(s=0,n=this.getPointOnQuadraticBezier(0,t,e,r[0],r[1],r[2],r[3]),h=.01;h<=1;h+=.01)a=this.getPointOnQuadraticBezier(h,t,e,r[0],r[1],r[2],r[3]),s+=this.getLineLength(n.x,n.y,a.x,a.y),n=a;return s;case mt.ARC:s=0;var o=r[4],l=r[5],u=r[4]+l,c=Math.PI/180;if(Math.abs(o-u)<c&&(c=Math.abs(o-u)),n=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],o,0),l<0)for(h=o-c;h>u;h-=c)a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],h,0),s+=this.getLineLength(n.x,n.y,a.x,a.y),n=a;else for(h=o+c;h<u;h+=c)a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],h,0),s+=this.getLineLength(n.x,n.y,a.x,a.y),n=a;return a=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],u,0),s+=this.getLineLength(n.x,n.y,a.x,a.y)}return 0}getPointOnLine(t,e,i,r,s){var n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:e,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:i,h=(s-i)/(r-e+O),o=Math.sqrt(t*t/(1+h*h));r<e&&(o*=-1);var l=h*o,u=null;if(r===e)u={x:n,y:a+l};else if((a-i)/(n-e+O)===h)u={x:n+o,y:a+l};else{var c,g,d=this.getLineLength(e,i,r,s);if(d<O)return null;var p=(n-e)*(r-e)+(a-i)*(s-i);c=e+(p/=d*d)*(r-e),g=i+p*(s-i);var m=this.getLineLength(n,a,c,g),y=Math.sqrt(t*t-m*m);o=Math.sqrt(y*y/(1+h*h)),r<e&&(o*=-1),u={x:c+o,y:g+(l=h*o)}}return u}getPointOnPath(t){var e=this.getPathLength(),i=0,r=null;if(t<-5e-5||t-5e-5>e)return null;var{dataArray:s}=this;for(var n of s){if(!n||!(n.pathLength<5e-5||i+n.pathLength+5e-5<t)){var a=t-i,h=0;switch(n.type){case mt.LINE_TO:r=this.getPointOnLine(a,n.start.x,n.start.y,n.points[0],n.points[1],n.start.x,n.start.y);break;case mt.ARC:var o=n.points[4],l=n.points[5],u=n.points[4]+l;if(h=o+a/n.pathLength*l,l<0&&h<u||l>=0&&h>u)break;r=this.getPointOnEllipticalArc(n.points[0],n.points[1],n.points[2],n.points[3],h,n.points[6]);break;case mt.CURVE_TO:(h=a/n.pathLength)>1&&(h=1),r=this.getPointOnCubicBezier(h,n.start.x,n.start.y,n.points[0],n.points[1],n.points[2],n.points[3],n.points[4],n.points[5]);break;case mt.QUAD_TO:(h=a/n.pathLength)>1&&(h=1),r=this.getPointOnQuadraticBezier(h,n.start.x,n.start.y,n.points[0],n.points[1],n.points[2],n.points[3])}if(r)return r;break}i+=n.pathLength}return null}getLineLength(t,e,i,r){return Math.sqrt((i-t)*(i-t)+(r-e)*(r-e))}getPathLength(){return-1===this.pathLength&&(this.pathLength=this.dataArray.reduce((t,e)=>e.pathLength>0?t+e.pathLength:t,0)),this.pathLength}getPointOnCubicBezier(t,e,i,r,s,n,a,h,o){return{x:h*z(t)+n*L(t)+r*R(t)+e*I(t),y:o*z(t)+a*L(t)+s*R(t)+i*I(t)}}getPointOnQuadraticBezier(t,e,i,r,s,n,a){return{x:n*F(t)+r*_(t)+e*X(t),y:a*F(t)+s*_(t)+i*X(t)}}getPointOnEllipticalArc(t,e,i,r,s,n){var a=Math.cos(n),h=Math.sin(n),o=i*Math.cos(s),l=r*Math.sin(s);return{x:t+(o*a-l*h),y:e+(o*h+l*a)}}buildEquidistantCache(t,e){var i=this.getPathLength(),r=e||.25,s=t||i/100;if(!this.equidistantCache||this.equidistantCache.step!==s||this.equidistantCache.precision!==r){this.equidistantCache={step:s,precision:r,points:[]};for(var n=0,a=0;a<=i;a+=r){var h=this.getPointOnPath(a),o=this.getPointOnPath(a+r);h&&o&&((n+=this.getLineLength(h.x,h.y,o.x,o.y))>=s&&(this.equidistantCache.points.push({x:h.x,y:h.y,distance:a}),n-=s))}}}getEquidistantPointOnPath(t,e,i){if(this.buildEquidistantCache(e,i),t<0||t-this.getPathLength()>5e-5)return null;var r=Math.round(t/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[r]||null}}n.TextPathElement=Wt;var qt=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class $t extends yt{constructor(t,e,i){super(t,e,i),this.type='image',this.loaded=!1;var r=this.getHrefAttribute().getString();if(r){var s=r.endsWith('.svg')||/^\s*data:image\/svg\+xml/i.test(r);t.images.push(this),s?this.loadSvg(r):this.loadImage(r),this.isSvg=s}}loadImage(t){var e=this;return(0,o.default)(function*(){try{var i=yield e.document.createImage(t);e.image=i}catch(e){console.error("Error while loading image \"".concat(t,"\":"),e)}e.loaded=!0})()}loadSvg(t){var e=this;return(0,o.default)(function*(){var i=qt.exec(t);if(i){var r=i[5];'base64'===i[4]?e.image=atob(r):e.image=decodeURIComponent(r)}else try{var s=yield e.document.fetch(t),n=yield s.text();e.image=n}catch(e){console.error("Error while loading image \"".concat(t,"\":"),e)}e.loaded=!0})()}renderChildren(t){var{document:e,image:i,loaded:r}=this,s=this.getAttribute('x').getPixels('x'),n=this.getAttribute('y').getPixels('y'),a=this.getStyle('width').getPixels('x'),h=this.getStyle('height').getPixels('y');if(r&&i&&a&&h){if(t.save(),t.translate(s,n),this.isSvg){var o=e.canvg.forkString(t,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:h});o.document.documentElement.parent=this,o.render()}else{var l=this.image;e.setViewBox({ctx:t,aspectRatio:this.getAttribute('preserveAspectRatio').getString(),width:a,desiredWidth:l.width,height:h,desiredHeight:l.height}),this.loaded&&(void 0===l.complete||l.complete)&&t.drawImage(l,0,0)}t.restore()}}getBoundingBox(){var t=this.getAttribute('x').getPixels('x'),e=this.getAttribute('y').getPixels('y'),i=this.getStyle('width').getPixels('x'),r=this.getStyle('height').getPixels('y');return new pt(t,e,t+i,e+r)}}n.ImageElement=$t;class Qt extends yt{constructor(){super(...arguments),this.type='symbol'}render(t){}}n.SymbolElement=Qt;class Zt{constructor(t){this.document=t,this.loaded=!1,t.fonts.push(this)}load(t,e){var i=this;return(0,o.default)(function*(){try{var{document:r}=i,s=(yield r.canvg.parser.load(e)).getElementsByTagName('font');Array.from(s).forEach(e=>{var i=r.createElement(e);r.definitions[t]=i})}catch(t){console.error("Error while loading font \"".concat(e,"\":"),t)}i.loaded=!0})()}}n.SVGFontLoader=Zt;class Jt extends ot{constructor(t,e,i){super(t,e,i),this.type='style',p(Array.from(e.childNodes).map(t=>t.textContent).join('').replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,'').replace(/@import.*;/g,'')).split('}').forEach(e=>{var i=e.trim();if(i){var r=i.split('{'),s=r[0].split(','),n=r[1].split(';');s.forEach(e=>{var i=e.trim();if(i){var r=t.styles[i]||{};if(n.forEach(e=>{var i=e.indexOf(':'),s=e.substr(0,i).trim(),n=e.substr(i+1,e.length-i).trim();s&&n&&(r[s]=new j(t,s,n))}),t.styles[i]=r,t.stylesSpecificity[i]=k(i),'@font-face'===i){var s=r['font-family'].getString().replace(/"|'/g,'');r.src.getString().split(',').forEach(e=>{if(e.indexOf('format("svg")')>0){var i=b(e);i&&new Zt(t).load(s,i)}})}}})}})}}n.StyleElement=Jt,Jt.parseExternalUrl=b;class Kt extends yt{constructor(){super(...arguments),this.type='use'}setContext(t){super.setContext(t);var e=this.getAttribute('x'),i=this.getAttribute('y');e.hasValue()&&t.translate(e.getPixels('x'),0),i.hasValue()&&t.translate(0,i.getPixels('y'))}path(t){var{element:e}=this;e&&e.path(t)}renderChildren(t){var{document:e,element:i}=this;if(i){var r=i;if('symbol'===i.type&&((r=new Pt(e,null)).attributes.viewBox=new j(e,'viewBox',i.getAttribute('viewBox').getString()),r.attributes.preserveAspectRatio=new j(e,'preserveAspectRatio',i.getAttribute('preserveAspectRatio').getString()),r.attributes.overflow=new j(e,'overflow',i.getAttribute('overflow').getString()),r.children=i.children,i.styles.opacity=new j(e,'opacity',this.calculateOpacity())),'svg'===r.type){var s=this.getStyle('width',!1,!0),n=this.getStyle('height',!1,!0);s.hasValue()&&(r.attributes.width=new j(e,'width',s.getString())),n.hasValue()&&(r.attributes.height=new j(e,'height',n.getString()))}var a=r.parent;r.parent=this,r.render(t),r.parent=a}}getBoundingBox(t){var{element:e}=this;return e?e.getBoundingBox(t):null}elementTransform(){var{document:t,element:e}=this;return ht.fromElement(t,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}}function te(t,e,i,r,s,n){return t[i*r*4+4*e+n]}function ee(t,e,i,r,s,n,a){t[i*r*4+4*e+n]=a}function ie(t,e,i){return t[e]*i}function re(t,e,i,r){return e+Math.cos(t)*i+Math.sin(t)*r}n.UseElement=Kt;class se extends ot{constructor(t,e,i){super(t,e,i),this.type='feColorMatrix';var r=f(this.getAttribute('values').getString());switch(this.getAttribute('type').getString('matrix')){case'saturate':var s=r[0];r=[.213+.787*s,.715-.715*s,.072-.072*s,0,0,.213-.213*s,.715+.285*s,.072-.072*s,0,0,.213-.213*s,.715-.715*s,.072+.928*s,0,0,0,0,0,1,0,0,0,0,0,1];break;case'hueRotate':var n=r[0]*Math.PI/180;r=[re(n,.213,.787,-.213),re(n,.715,-.715,-.715),re(n,.072,-.072,.928),0,0,re(n,.213,-.213,.143),re(n,.715,.285,.14),re(n,.072,-.072,-.283),0,0,re(n,.213,-.213,-.787),re(n,.715,-.715,.715),re(n,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break;case'luminanceToAlpha':r=[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]}this.matrix=r,this.includeOpacity=this.getAttribute('includeOpacity').hasValue()}apply(t,e,i,r,s){for(var{includeOpacity:n,matrix:a}=this,h=t.getImageData(0,0,r,s),o=0;o<s;o++)for(var l=0;l<r;l++){var u=te(h.data,l,o,r,0,0),c=te(h.data,l,o,r,0,1),g=te(h.data,l,o,r,0,2),d=te(h.data,l,o,r,0,3),p=ie(a,0,u)+ie(a,1,c)+ie(a,2,g)+ie(a,3,d)+ie(a,4,1),m=ie(a,5,u)+ie(a,6,c)+ie(a,7,g)+ie(a,8,d)+ie(a,9,1),y=ie(a,10,u)+ie(a,11,c)+ie(a,12,g)+ie(a,13,d)+ie(a,14,1),f=ie(a,15,u)+ie(a,16,c)+ie(a,17,g)+ie(a,18,d)+ie(a,19,1);n&&(p=0,m=0,y=0,f*=d/255),ee(h.data,l,o,r,0,0,p),ee(h.data,l,o,r,0,1,m),ee(h.data,l,o,r,0,2,y),ee(h.data,l,o,r,0,3,f)}t.clearRect(0,0,r,s),t.putImageData(h,0,0)}}n.FeColorMatrixElement=se;class ne extends ot{constructor(){super(...arguments),this.type='mask'}apply(t,e){var{document:i}=this,r=this.getAttribute('x').getPixels('x'),s=this.getAttribute('y').getPixels('y'),n=this.getStyle('width').getPixels('x'),a=this.getStyle('height').getPixels('y');if(!n&&!a){var h=new pt;this.children.forEach(e=>{h.addBoundingBox(e.getBoundingBox(t))}),r=Math.floor(h.x1),s=Math.floor(h.y1),n=Math.floor(h.width),a=Math.floor(h.height)}var o=this.removeStyles(e,ne.ignoreStyles),l=i.createCanvas(r+n,s+a),u=l.getContext('2d');i.screen.setDefaults(u),this.renderChildren(u),new se(i,{nodeType:1,childNodes:[],attributes:[{nodeName:'type',value:'luminanceToAlpha'},{nodeName:'includeOpacity',value:'true'}]}).apply(u,0,0,r+n,s+a);var c=i.createCanvas(r+n,s+a),g=c.getContext('2d');i.screen.setDefaults(g),e.render(g),g.globalCompositeOperation='destination-in',g.fillStyle=u.createPattern(l,'no-repeat'),g.fillRect(0,0,r+n,s+a),t.fillStyle=g.createPattern(c,'no-repeat'),t.fillRect(0,0,r+n,s+a),this.restoreStyles(e,o)}render(t){}}n.MaskElement=ne,ne.ignoreStyles=['mask','transform','clip-path'];var ae=()=>{};class he extends ot{constructor(){super(...arguments),this.type='clipPath'}apply(t){var{document:e}=this,i=Reflect.getPrototypeOf(t),{beginPath:r,closePath:s}=t;i&&(i.beginPath=ae,i.closePath=ae),Reflect.apply(r,t,[]),this.children.forEach(r=>{if(void 0!==r.path){var n=void 0!==r.elementTransform?r.elementTransform():null;n||(n=ht.fromElement(e,r)),n&&n.apply(t),r.path(t),i&&(i.closePath=s),n&&n.unapply(t)}}),Reflect.apply(s,t,[]),t.clip(),i&&(i.beginPath=r,i.closePath=s)}render(t){}}n.ClipPathElement=he;class oe extends ot{constructor(){super(...arguments),this.type='filter'}apply(t,e){var{document:i,children:r}=this,s=e.getBoundingBox(t);if(s){var n=0,a=0;r.forEach(t=>{var e=t.extraFilterDistance||0;n=Math.max(n,e),a=Math.max(a,e)});var h=Math.floor(s.width),o=Math.floor(s.height),l=h+2*n,u=o+2*a;if(!(l<1||u<1)){var c=Math.floor(s.x),g=Math.floor(s.y),d=this.removeStyles(e,oe.ignoreStyles),p=i.createCanvas(l,u),m=p.getContext('2d');i.screen.setDefaults(m),m.translate(-c+n,-g+a),e.render(m),r.forEach(t=>{'function'==typeof t.apply&&t.apply(m,0,0,l,u)}),t.drawImage(p,0,0,l,u,c-n,g-a,l,u),this.restoreStyles(e,d)}}}render(t){}}n.FilterElement=oe,oe.ignoreStyles=['filter','transform','clip-path'];class le extends ot{constructor(t,e,i){super(t,e,i),this.type='feDropShadow',this.addStylesFromStyleDefinition()}apply(t,e,i,r,s){}}n.FeDropShadowElement=le;class ue extends ot{constructor(){super(...arguments),this.type='feMorphology'}apply(t,e,i,r,s){}}n.FeMorphologyElement=ue;class ce extends ot{constructor(){super(...arguments),this.type='feComposite'}apply(t,e,i,r,s){}}n.FeCompositeElement=ce;class ge extends ot{constructor(t,e,i){super(t,e,i),this.type='feGaussianBlur',this.blurRadius=Math.floor(this.getAttribute('stdDeviation').getNumber()),this.extraFilterDistance=this.blurRadius}apply(t,e,i,r,s){var{document:n,blurRadius:a}=this,h=n.window?n.window.document.body:null,o=t.canvas;o.id=n.getUniqueId(),h&&(o.style.display='none',h.appendChild(o)),(0,d.canvasRGBA)(o,e,i,r,s,a),h&&h.removeChild(o)}}n.FeGaussianBlurElement=ge;class de extends ot{constructor(){super(...arguments),this.type='title'}}n.TitleElement=de;class pe extends ot{constructor(){super(...arguments),this.type='desc'}}n.DescElement=pe;var me={svg:Pt,rect:wt,circle:At,ellipse:Ct,line:Et,polyline:Tt,polygon:Vt,path:ft,pattern:Mt,marker:kt,defs:Ot,linearGradient:Bt,radialGradient:zt,stop:Lt,animate:Rt,animateColor:It,animateTransform:Ft,font:_t,'font-face':Xt,'missing-glyph':jt,glyph:vt,text:xt,tspan:bt,tref:Ut,a:Yt,textPath:Wt,image:$t,g:Nt,symbol:Qt,style:Jt,use:Kt,mask:ne,clipPath:he,filter:oe,feDropShadow:le,feMorphology:ue,feComposite:ce,feColorMatrix:se,feGaussianBlur:ge,title:de,desc:pe};function ye(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function fe(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?ye(Object(i),!0).forEach(function(e){(0,l.default)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ye(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}function ve(){return ve=(0,o.default)(function*(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=document.createElement('img');return e&&(i.crossOrigin='Anonymous'),new Promise((e,r)=>{i.onload=()=>{e(i)},i.onerror=(t,e,i,s,n)=>{r(n)},i.src=t})}),ve.apply(this,arguments)}class xe{constructor(t){var{rootEmSize:e=12,emSize:i=12,createCanvas:r=xe.createCanvas,createImage:s=xe.createImage,anonymousCrossOrigin:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.canvg=t,this.definitions=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=t.screen,this.rootEmSize=e,this.emSize=i,this.createCanvas=r,this.createImage=this.bindCreateImage(s,n),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(t,e){return'boolean'==typeof e?(i,r)=>t(i,'boolean'==typeof r?r:e):t}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:t}=this;return t[t.length-1]}set emSize(t){var{emSizeStack:e}=this;e.push(t)}popEmSize(){var{emSizeStack:t}=this;t.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(t=>t.loaded)}isFontsLoaded(){return this.fonts.every(t=>t.loaded)}createDocumentElement(t){var e=this.createElement(t.documentElement);return e.root=!0,e.addStylesFromStyleDefinition(),this.documentElement=e,e}createElement(t){var e=t.nodeName.replace(/^[^:]+:/,''),i=xe.elementTypes[e];return void 0!==i?new i(this,t):new lt(this,t)}createTextNode(t){return new St(this,t)}
1setViewBox(t){this.screen.setViewBox(fe({document:this},t))}}function be(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,r)}return i}function Se(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?be(Object(i),!0).forEach(function(e){(0,l.default)(t,e,i[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):be(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))})}return t}n.Document=xe,xe.createCanvas=function(t,e){var i=document.createElement('canvas');return i.width=t,i.height=e,i},xe.createImage=function(t){return ve.apply(this,arguments)},xe.elementTypes=me;class Pe{constructor(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.parser=new Z(i),this.screen=new q(t,i),this.options=i;var r=new xe(this,i),s=r.createDocumentElement(e);this.document=r,this.documentElement=s}static from(t,e){var i=arguments;return(0,o.default)(function*(){var r=i.length>2&&void 0!==i[2]?i[2]:{},s=new Z(r),n=yield s.parse(e);return new Pe(t,n,r)})()}static fromString(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=new Z(i).parseFromString(e);return new Pe(t,r,i)}fork(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Pe.from(t,e,Se(Se({},this.options),i))}forkString(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Pe.fromString(t,e,Se(Se({},this.options),i))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var t=arguments,e=this;return(0,o.default)(function*(){var i=t.length>0&&void 0!==t[0]?t[0]:{};e.start(Se({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},i)),yield e.ready(),e.stop()})()}start(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{documentElement:e,screen:i,options:r}=this;i.start(e,Se(Se({enableRedraw:!0},r),t))}stop(){this.screen.stop()}resize(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.documentElement.resize(t,e,i)}}n.default=n.Canvg=Pe},2283,[20,2284,2399,2400,2417,2419,2423,2431,140,2434,2437,2438,2439,2441,2445,2446,2447,2448,2450,2451,2452]);
2__d(function(g,r,i,a,m,e,d){'use strict';r(d[0]),r(d[1]),r(d[2]),r(d[3]),r(d[4]),r(d[5])},2284,[2285,2385,2394,2395,2396,2397]);
3__d(function(g,r,i,a,m,e,d){'use strict';var t,n,o,c,s=r(d[0]),u=r(d[1]),f=r(d[2]),v=r(d[3]),h=r(d[4]),l=r(d[5]),p=r(d[6]),j=r(d[7]),y=r(d[8]),E=r(d[9]),w=r(d[10]),P=r(d[11]),T=r(d[12]),C=r(d[13]),N=r(d[14]),O=r(d[15]).set,R=r(d[16]),S=r(d[17]),b=r(d[18]),U=r(d[19]),_=r(d[20]),k=r(d[21]),x=r(d[22]),I=r(d[23]),A='Promise',B=x.CONSTRUCTOR,F=x.REJECTION_EVENT,G=x.SUBCLASSING,H=_.getterFor(A),J=_.set,L=k&&k.prototype,V=k,q=L,z=v.TypeError,D=v.document,K=v.process,M=I.f,Q=M,W=!!(D&&D.createEvent&&v.dispatchEvent),X='unhandledrejection',Y=function(t){var n;return!(!T(t)||!P(n=t.then))&&n},Z=function(t,n){var o,c,s,u=n.value,f=1===n.state,v=f?t.ok:t.fail,h=t.resolve,p=t.reject,j=t.domain;try{v?(f||(2===n.rejection&&oe(n),n.rejection=1),!0===v?o=u:(j&&j.enter(),o=v(u),j&&(j.exit(),s=!0)),o===t.promise?p(new z('Promise-chain cycle')):(c=Y(o))?l(c,o,h,p):h(o)):p(u)}catch(t){j&&!s&&j.exit(),p(t)}},$=function(t,n){t.notified||(t.notified=!0,R(function(){for(var o,c=t.reactions;o=c.get();)Z(o,t);t.notified=!1,n&&!t.rejection&&te(t)}))},ee=function(t,n,o){var c,s;W?((c=D.createEvent('Event')).promise=n,c.reason=o,c.initEvent(t,!1,!0),v.dispatchEvent(c)):c={promise:n,reason:o},!F&&(s=v['on'+t])?s(c):t===X&&S('Unhandled promise rejection',o)},te=function(t){l(O,v,function(){var n,o=t.facade,c=t.value;if(ne(t)&&(n=b(function(){f?K.emit('unhandledRejection',c,o):ee(X,o,c)}),t.rejection=f||ne(t)?2:1,n.error))throw n.value})},ne=function(t){return 1!==t.rejection&&!t.parent},oe=function(t){l(O,v,function(){var n=t.facade;f?K.emit('rejectionHandled',n):ee("rejectionhandled",n,t.value)})}
vendor: 1,430 bytes, lines 3-4
3,re=function(t,n,o){return function(c){t(n,c,o)}},ie=function(t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=2,$(t,!0))},ce=function(t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(t.facade===n)throw new z("Promise can't be resolved itself");var c=Y(n);c?R(function(){var o={done:!1};try{l(c,n,re(ce,o,t),re(ie,o,t))}catch(n){ie(o,n,t)}}):(t.value=n,t.state=1,$(t,!1))}catch(n){ie({done:!1},n,t)}}};if(B&&(q=(V=function(n){C(this,q),w(n),l(t,this);var o=H(this);try{n(re(ce,o),re(ie,o))}catch(t){ie(o,t)}}).prototype,(t=function(t){J(this,{type:A,done:!1,notified:!1,parent:!1,reactions:new U,rejection:!1,state:0,value:null})}).prototype=p(q,'then',function(t,n){var o=H(this),c=M(N(this,V));return o.parent=!0,c.ok=!P(t)||t,c.fail=P(n)&&n,c.domain=f?K.domain:void 0,0===o.state?o.reactions.add(c):R(function(){Z(c,o)}),c.promise}),n=function(){var n=new t,o=H(n);this.promise=n,this.resolve=re(ce,o),this.reject=re(ie,o)},I.f=M=function(t){return t===V||t===o?new n(t):Q(t)},!u&&P(k)&&L!==Object.prototype)){c=L.then,G||p(L,'then',function(t,n){var o=this;return new V(function(t,n){l(c,o,t,n)}).then(t,n)},{unsafe:!0});try{delete L.constructor}catch(t){}j&&j(L,q)}s({global:!0,constructor:!0,wrap:!0,forced:B},{Promise:V}),o=h.Promise,y(V,A,!1,!0),E(A)},2285,[2286,2319,2351,2287,2353,2291,2330,2354,2358,2359,2313,2304,2303,2361,2362,2367,2375,2380,2381,2377,2334,2382,2383,2384]);
4__d(function(g,r,i,a,m,e,d){'use strict';
4var t=r(d[0]),o=r(d[1]).f,f=r(d[2]),n=r(d[3]),s=r(d[4]),c=r(d[5]),l=r(d[6]);m.exports=function(p,u){var v,h,y,_,b,x=p.target,C=p.global,G=p.stat;if(v=C?t:G?t[x]||s(x,{}):t[x]&&t[x].prototype)for(h in u){if(_=u[h],y=p.dontCallGetSet?(b=o(v,h))&&b.value:v[h],!l(C?h:x+(G?'.':'#')+h,p.forced)&&void 0!==y){if(typeof _==typeof y)continue;c(_,y)}(p.sham||y&&y.sham)&&f(_,'sham',!0),n(v,h,_,p)}}},2286,[2287,2288,2326,2330,2320,2338,2350]);
5__d(function(g,r,i,a,m,e,d){'use strict';var t=function(t){return t&&t.Math===Math&&t};m.exports=t('object'==typeof globalThis&&globalThis)||t('object'==typeof window&&window)||t('object'==typeof self&&self)||t('object'==typeof g&&g)||t('object'==typeof this&&this)||(function(){return this})()||Function('return this')()},2287,[]);
6__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),n=r(d[2]),f=r(d[3]),u=r(d[4]),o=r(d[5]),s=r(d[6]),p=r(d[7]),y=Object.getOwnPropertyDescriptor;e.f=t?y:function(t,O){if(t=u(t),O=o(O),p)try{return y(t,O)}catch(t){}if(s(t,O))return f(!c(n.f,t,O),t[O])}},2288,[2289,2291,2293,2294,2295,2301,2321,2324]);
7__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},2289,[2290]);
8__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){try{return!!t()}catch(t){return!0}}},2290,[]);
9__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Function.prototype.call;m.exports=t?n.bind(n):function(){return n.apply(n,arguments)}},2291,[2292]);
10__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=!t(function(){var t=function(){}.bind();return'function'!=typeof t||t.hasOwnProperty('prototype')})},2292,[2290]);
11__d(function(g,r,i,a,m,e,d){'use strict';var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,c=n&&!t.call({1:2},1);e.f=c?function(t){var c=n(this,t);return!!c&&c.enumerable}:t},2293,[]);
12__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n,t){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:t}}},2294,[]);
13__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(u){return t(n(u))}},2295,[2296,2299]);
14__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]),c=Object,o=t(''.split);m.exports=n(function(){return!c('z').propertyIsEnumerable(0)})?function(t){return'String'===u(t)?o(t,''):c(t)}:c},2296,[2297,2290,2298]);
15__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=Function.prototype,o=t.call,u=n&&t.bind.bind(o,o);m.exports=n?u:function(n){return function(){return o.apply(n,arguments)}}},2297,[2292]);
16__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=t({}.toString),c=t(''.slice);m.exports=function(t){return c(n(t),8,-1)}},2298,[2297]);
17__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=TypeError;m.exports=function(o){if(t(o))throw new n("Can't call method on "+o);return o}},2299,[2300]);
18__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n){return null==n}},2300,[]);
19__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(s){var u=t(s,'string');return n(u)?u:u+''}},2301,[2302,2305]);
20__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),v=r(d[4]),f=r(d[5]),c=TypeError,p=f('toPrimitive');m.exports=function(f,s){if(!n(f)||o(f))return f;var b,l=u(f,p);if(l){if(void 0===s&&(s='default'),b=t(l,f,s),!n(b)||o(b))return b;throw new c("Can't convert object to primitive value")}return void 0===s&&(s='number'),v(f,s)}},2302,[2291,2303,2305,2312,2315,2316]);
21__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(n){return'object'==typeof n?null!==n:t(n)}},2303,[2304]);
22__d(function(g,r,i,a,m,e,d){'use strict';var t='object'==typeof document&&document.all;m.exports=void 0===t&&void 0!==t?function(n){return'function'==typeof n||n===t}:function(t){return'function'==typeof t}},2304,[]);
23__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]),u=r(d[3]),c=Object;m.exports=u?function(t){return'symbol'==typeof t}:function(u){var f=t('Symbol');return o(f)&&n(f.prototype,c(u))}},2305,[2306,2304,2307,2308]);
24__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(o,u){return arguments.length<2?(c=t[o],n(c)?c:void 0):t[o]&&t[o][u];var c}},2306,[2287,2304]);
25__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=t({}.isPrototypeOf)},2307,[2297]);
26__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]);m.exports=o&&!Symbol.sham&&'symbol'==typeof Symbol.iterator},2308,[2309]);
27__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]).String;m.exports=!!Object.getOwnPropertySymbols&&!o(function(){var o=Symbol('symbol detection');return!n(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&t&&t<41})},2309,[2310,2290,2287]);
28__d(function(g,r,i,a,m,e,d){'use strict';var s,o,t=r(d[0]),c=r(d[1]),n=t.process,v=t.Deno,h=n&&n.versions||v&&v.version,p=h&&h.v8;p&&(o=(s=p.split('.'))[0]>
280&&s[0]<4?1:+(s[0]+s[1])),!o&&c&&(!(s=c.match(/Edge\/(\d+)/))||s[1]>=74)&&(s=c.match(/Chrome\/(\d+)/))&&(o=+s[1]),m.exports=o},2310,[2287,2311]);
29__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).navigator,n=t&&t.userAgent;m.exports=n?String(n):''},2311,[2287]);
30__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=function(o,u){var c=o[u];return n(c)?void 0:t(c)}},2312,[2313,2300]);
31__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o=TypeError;m.exports=function(u){if(n(u))return u;throw new o(t(u)+' is not a function')}},2313,[2304,2314]);
32__d(function(g,r,i,a,m,e,d){'use strict';var t=String;m.exports=function(n){try{return t(n)}catch(t){return'Object'}}},2314,[]);
33__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=TypeError;m.exports=function(f,v){var c,s;if('string'===v&&n(c=f.toString)&&!o(s=t(c,f)))return s;if(n(c=f.valueOf)&&!o(s=t(c,f)))return s;if('string'!==v&&n(c=f.toString)&&!o(s=t(c,f)))return s;throw new u("Can't convert object to primitive value")}},2315,[2291,2304,2303]);
34__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]),u=r(d[3]),s=r(d[4]),c=r(d[5]),f=t.Symbol,S=o('wks'),b=c?f.for||f:f&&f.withoutSetter||u;m.exports=function(t){return n(S,t)||(S[t]=s&&n(f,t)?f[t]:b('Symbol.'+t)),S[t]}},2316,[2287,2317,2321,2323,2309,2308]);
35__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(n,u){return t[n]||(t[n]=u||{})}},2317,[2318]);
36__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),s=r(d[1]),c=r(d[2]),t='__core-js_shared__',u=m.exports=s[t]||c(t,{});(u.versions||(u.versions=[])).push({version:'3.43.0',mode:o?'pure':'global',copyright:'\xa9 2014-2025 Denis Pushkarev (zloirock.ru)',license:'https://github.com/zloirock/core-js/blob/v3.43.0/LICENSE',source:'https://github.com/zloirock/core-js'})},2318,[2319,2287,2320]);
37__d(function(g,r,i,a,m,e,d){'use strict';m.exports=!1},2319,[]);
38__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=Object.defineProperty;m.exports=function(n,u){try{c(t,n,{value:u,configurable:!0,writable:!0})}catch(c){t[n]=u}return u}},2320,[2287]);
39__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=t({}.hasOwnProperty);m.exports=Object.hasOwn||function(t,c){return s(n(t),c)}},2321,[2297,2322]);
40__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Object;m.exports=function(c){return n(t(c))}},2322,[2299]);
41__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=0,o=Math.random(),u=t(1.1.toString);m.exports=function(t){return'Symbol('+(void 0===t?'':t)+')_'+u(++n+o,36)}},2323,[2297]);
42__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]);m.exports=!t&&!n(function(){return 7!==Object.defineProperty(u('div'),'a',{get:function(){return 7}}).a})},2324,[2289,2290,2325]);
43__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=t.document,u=n(c)&&n(c.createElement);m.exports=function(t){return u?c.createElement(t):{}}},2325,[2287,2303]);
44__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),u=r(d[2]);m.exports=n?function(n,c,f){return t.f(n,c,u(1,f))}:function(n,t,u){return n[t]=u,n}},2326,[2289,2327,2294]);
45__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=r(d[4]),f=TypeError,l=Object.defineProperty,p=Object.getOwnPropertyDescriptor,b='enumerable',s='configurable',v='writable';e.f=t?o?function(t,n,o){if(u(t),n=c(n),u(o),'function'==typeof t&&'prototype'===n&&'value'in o&&v in o&&!o[v]){var f=p(t,n);f&&f[v]&&(t[n]=o.value,o={configurable:s in o?o[s]:f[s],enumerable:b in o?o[b]:f[b],writable:!1})}return l(t,n,o)}:l:function(t,o,p){if(u(t),o=c(o),u(p),n)try{return l(t,o,p)}catch(t){}if('get'in p||'set'in p)throw new f('Accessors not supported');return'value'in p&&(t[o]=p.value),t}},2327,[2289,2324,2328,2329,2301]);
46__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]);m.exports=t&&o(function(){return 42!==Object.defineProperty(function(){},'prototype',{value:42,writable:!1}).prototype})},2328,[2289,2290]);
47__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=String,o=TypeError;m.exports=function(c){if(t(c))return c;throw new o(n(c)+' is not an object')}},2329,[2303]);
48__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),l=r(d[1]),t=r(d[2]),u=r(d[3]);m.exports=function(o,b,f,c){c||(c={});var s=c.enumerable,v=void 0!==c.name?c.name:b;if(n(f)&&t(f,v,c),c.global)s?o[b]=f:u(b,f);else{try{c.unsafe?o[b]&&(s=!0):delete o[b]}catch(n){}
48s?o[b]=f:l.f(o,b,{value:f,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return o}},2330,[2304,2327,2331,2320]);
49__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=r(d[3]),u=r(d[4]),s=r(d[5]).CONFIGURABLE,l=r(d[6]),p=r(d[7]),y=p.enforce,f=p.get,h=String,S=Object.defineProperty,v=t(''.slice),b=t(''.replace),j=t([].join),F=u&&!n(function(){return 8!==S(function(){},'length',{value:8}).length}),O=String(String).split('String'),$=m.exports=function(t,n,o){'Symbol('===v(h(n),0,7)&&(n='['+b(h(n),/^Symbol\(([^)]*)\).*$/,'$1')+']'),o&&o.getter&&(n='get '+n),o&&o.setter&&(n='set '+n),(!c(t,'name')||s&&t.name!==n)&&(u?S(t,'name',{value:n,configurable:!0}):t.name=n),F&&o&&c(o,'arity')&&t.length!==o.arity&&S(t,'length',{value:o.arity});try{o&&c(o,'constructor')&&o.constructor?u&&S(t,'prototype',{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var l=y(t);return c(l,'source')||(l.source=j(O,'string'==typeof n?n:'')),t};Function.prototype.toString=$(function(){return o(this)&&f(this).source||l(this)},'toString')},2331,[2297,2290,2304,2321,2289,2332,2333,2334]);
50__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=Function.prototype,c=t&&Object.getOwnPropertyDescriptor,p=n(o,'name'),s=p&&'something'===function(){}.name,u=p&&(!t||t&&c(o,'name').configurable);m.exports={EXISTS:p,PROPER:s,CONFIGURABLE:u}},2332,[2289,2321]);
51__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),o=t(Function.toString);n(c.inspectSource)||(c.inspectSource=function(t){return o(t)}),m.exports=c.inspectSource},2333,[2297,2304,2318]);
52__d(function(g,r,i,a,m,e,d){'use strict';var t,n,u,o=r(d[0]),c=r(d[1]),f=r(d[2]),s=r(d[3]),h=r(d[4]),w=r(d[5]),p=r(d[6]),v=r(d[7]),l='Object already initialized',y=c.TypeError,b=c.WeakMap;if(o||w.state){var _=w.state||(w.state=new b);_.get=_.get,_.has=_.has,_.set=_.set,t=function(t,n){if(_.has(t))throw new y(l);return n.facade=t,_.set(t,n),n},n=function(t){return _.get(t)||{}},u=function(t){return _.has(t)}}else{var j=p('state');v[j]=!0,t=function(t,n){if(h(t,j))throw new y(l);return n.facade=t,s(t,j,n),n},n=function(t){return h(t,j)?t[j]:{}},u=function(t){return h(t,j)}}m.exports={set:t,get:n,has:u,enforce:function(o){return u(o)?n(o):t(o,{})},getterFor:function(t){return function(u){var o;if(!f(u)||(o=n(u)).type!==t)throw new y('Incompatible receiver, '+t+' required');return o}}}},2334,[2335,2287,2303,2326,2321,2318,2336,2337]);
53__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=t.WeakMap;m.exports=n(s)&&/native code/.test(String(s))},2335,[2287,2304]);
54__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=t('keys');m.exports=function(t){return s[t]||(s[t]=n(t))}},2336,[2317,2323]);
55__d(function(g,r,i,a,m,e,d){'use strict';m.exports={}},2337,[]);
56__d(function(g,r,_i,a,m,e,d){'use strict';var t=r(d[0]),f=r(d[1]),n=r(d[2]),o=r(d[3]);m.exports=function(c,i,s){for(var u=f(i),v=o.f,_=n.f,h=0;h<u.length;h++){var l=u[h];t(c,l)||s&&t(s,l)||v(c,l,_(i,l))}}},2338,[2321,2339,2288,2327]);
57__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),f=r(d[3]),o=r(d[4]),s=n([].concat);m.exports=t('Reflect','ownKeys')||function(t){var n=c.f(o(t)),u=f.f;return u?s(n,u(t)):n}},2339,[2306,2297,2340,2349,2329]);
58__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]).concat('length','prototype');e.f=Object.getOwnPropertyNames||function(c){return t(c,n)}},2340,[2341,2348]);
59__d(function(g,r,_i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),f=r(d[2]),i=r(d[3]).indexOf,o=r(d[4]),u=n([].push);m.exports=function(n,s){var c,h=f(n),p=0,v=[];for(c in h)!t(o,c)&&t(h,c)&&u(v,c);for(;s.length>p;)t(h,c=s[p++])&&(~i(v,c)||u(v,c));return v}},2341,[2297,2321,2295,2342,2337]);
60__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),f=r(d[2]),u=function(u){return function(o,c,s){var v=n(o),l=f(v);if(0===l)return!u&&-1;var x,_=t(s,l);if(u&&c!=c){for(;l>_;)if((x=v[_++])!=x)return!0}else for(;l>_;_++)if((u||_ in v)&&v[_]===c)return u||_||0;return!u&&-1}};m.exports={includes:u(!0),indexOf:u(!1)}},2342,[2295,2343,2346]);
61__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Math.max,u=Math.min;m.exports=function(c,o){var s=t(c);return s<0?n(s+o,0):u(s,o)}},2343,[2344]);
62__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(n){var u=+n;return u!=u||0===u?0:t(u)}},2344,[2345]);
63__d(function(g,r,i,a,m,e,d){'use strict';var t=Math.ceil,n=Math.floor;m.exports=Math.trunc||function(c){var o=+c;return(o>0?n:t)(o)}},2345,[]);
64__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(n){return t(n.length)}},2346,[2347]);
65__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=Math.min;m.exports=function(u){var c=t(u);return c>
650?n(c,9007199254740991):0}},2347,[2344]);
66__d(function(g,r,i,a,m,e,d){'use strict';m.exports=['constructor','hasOwnProperty','isPrototypeOf','propertyIsEnumerable','toLocaleString','toString','valueOf']},2348,[]);
67__d(function(g,r,i,a,m,e,d){'use strict';e.f=Object.getOwnPropertySymbols},2349,[]);
68__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=/#|\.prototype\./,u=function(o,u){var f=p[c(o)];return f===L||f!==s&&(n(u)?t(u):!!u)},c=u.normalize=function(t){return String(t).replace(o,'.').toLowerCase()},p=u.data={},s=u.NATIVE='N',L=u.POLYFILL='P';m.exports=u},2350,[2290,2304]);
69__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports='NODE'===t},2351,[2352]);
70__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),n=r(d[1]),s=r(d[2]),t=function(o){return n.slice(0,o.length)===o};m.exports=t('Bun/')?'BUN':t('Cloudflare-Workers')?'CLOUDFLARE':t('Deno/')?'DENO':t('Node.js/')?'NODE':o.Bun&&'string'==typeof Bun.version?'BUN':o.Deno&&'object'==typeof Deno.version?'DENO':'process'===s(o.process)?'NODE':o.window&&o.document?'BROWSER':'REST'},2352,[2287,2311,2298]);
71__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=t},2353,[2287]);
72__d(function(g,r,i,a,m,e,d){'use strict';
72var t=r(d[0]),o=r(d[1]),_=r(d[2]),n=r(d[3]);m.exports=Object.setPrototypeOf||('__proto__'in{}?(function(){var c,p=!1,s={};try{(c=t(Object.prototype,'__proto__','set'))(s,[]),p=s instanceof Array}catch(t){}return function(t,s){return _(t),n(s),o(t)?(p?c(t,s):t.__proto__=s,t):t}})():void 0)},2354,[2355,2303,2299,2356]);
73__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]);m.exports=function(n,o,s){try{return t(c(Object.getOwnPropertyDescriptor(n,o)[s]))}catch(t){}}},2355,[2297,2313]);
74__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=String,o=TypeError;m.exports=function(s){if(t(s))return s;throw new o("Can't set "+n(s)+' as a prototype')}},2356,[2357]);
75__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=function(t){return n(t)||null===t}},2357,[2303]);
76__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).f,o=r(d[1]),n=r(d[2])('toStringTag');m.exports=function(u,c,f){u&&!f&&(u=u.prototype),u&&!o(u,n)&&t(u,n,{configurable:!0,value:c})}},2358,[2327,2321,2316]);
77__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),s=r(d[3]),u=c('species');m.exports=function(c){var o=t(c);s&&o&&!o[u]&&n(o,u,{configurable:!0,get:function(){return this}})}},2359,[2306,2360,2316,2289]);
78__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]);m.exports=function(n,u,c){return c.get&&t(c.get,u,{getter:!0}),c.set&&t(c.set,u,{setter:!0}),s.f(n,u,c)}},2360,[2331,2327]);
79__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=TypeError;m.exports=function(o,c){if(n(c,o))return o;throw new t('Incorrect invocation')}},2361,[2307]);
80__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),n=r(d[2]),o=r(d[3])('species');m.exports=function(s,u){var v,f=t(s).constructor;return void 0===f||n(v=t(f)[o])?u:c(v)}},2362,[2329,2363,2300,2316]);
81__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=TypeError;m.exports=function(c){if(t(c))return c;throw new o(n(c)+' is not a constructor')}},2363,[2364,2314]);
82__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2]),u=r(d[3]),s=r(d[4]),o=r(d[5]),f=function(){},h=s('Reflect','construct'),l=/^\s*(?:class|function)\b/,y=t(l.exec),F=!l.test(f),b=function(t){if(!c(t))return!1;try{return h(f,[],t),!0}catch(t){return!1}},v=function(t){if(!c(t))return!1;switch(u(t)){case'AsyncFunction':case'GeneratorFunction':case'AsyncGeneratorFunction':return!1}try{return F||!!y(l,o(t))}catch(t){return!0}};v.sham=!0,m.exports=!h||n(function(){var t;return b(b.call)||!b(Object)||!b(function(){t=!0})||t})?v:b},2364,[2297,2290,2304,2365,2306,2333]);
83__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]),c=r(d[3])('toStringTag'),o=Object,f='Arguments'===u((function(){return arguments})()),l=function(t,n){try{return t[n]}catch(t){}};m.exports=t?u:function(t){var s,v,b;return void 0===t?'Undefined':null===t?'Null':'string'==typeof(v=l(s=o(t),c))?v:f?u(s):'Object'===(b=u(s))&&n(s.callee)?'Arguments':b}},2365,[2366,2304,2298,2316]);
84__d(function(g,r,i,a,m,e,d){'use strict';var t={};t[r(d[0])('toStringTag')]='z',m.exports='[object z]'===String(t)},2366,[2316]);
85__d(function(g,r,i,a,m,e,d){'use strict';var t,n,o,s,c=r(d[0]),u=r(d[1]),f=r(d[2]),p=r(d[3]),l=r(d[4]),h=r(d[5]),v=r(d[6]),M=r(d[7]),w=r(d[8]),C=r(d[9]),x=r(d[10]),E=r(d[11]),I=c.setImmediate,L=c.clearImmediate,S=c.process,T=c.Dispatch,_=c.Function,k=c.MessageChannel,y=c.String,D=0,F={},b='onreadystatechange';h(function(){t=c.location});var j=function(t){if(l(F,t)){var n=F[t];delete F[t],n()}},q=function(t){return function(){j(t)}},z=function(t){j(t.data)},A=function(n){c.postMessage(y(n),t.protocol+'//'+t.host)};I&&L||(I=function(t){C(arguments.length,1);var o=p(t)?t:_(t),s=M(arguments,1);return F[++D]=function(){u(o,void 0,s)},n(D),D},L=function(t){delete F[t]},E?n=function(t){S.nextTick(q(t))}:T&&T.now?n=function(t){T.now(q(t))}:k&&!x?(s=(o=new k).port2,o.port1.onmessage=z,n=f(s.postMessage,s)):c.addEventListener&&p(c.postMessage)&&!c.importScripts&&t&&'file:'!==t.protocol&&!h(A)?(n=A,c.addEventListener('message',z,!1)):n=b in w('script')?function(t){v.appendChild(w('script'))[b]=function(){v.removeChild(this),j(t)}}:function(t){setTimeout(q(t),0)}),m.exports={set:I,clear:L}},2367,[2287,2368,2369,2304,2321,2290,2371,2372,2325,2373,2374,2351]);
86__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),p=Function.prototype,c=p.apply,n=p.call;m.exports='object'==typeof Reflect&&Reflect.apply||(t?n.bind(c):function(){return n.apply(c,arguments)})},2368,[2292]);
87__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),u=r(d[2]),o=n(n.bind);m.exports=function(n,c){return t(n),void 0===c?n:u?o(n,c):function(){return n.apply(c,arguments)}}},2369,[2370,2313,2292]);
88__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]);m.exports=function(u){if('Function'===n(u))return t(u)}},2370,[2298,2297]);
89__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=t('document','documentElement')},2371,[2306]);
90__d(function(g,r,i,a,m,e,d){'use strict';var s=r(d[0]);m.exports=s([].slice)},2372,[2297]);
91__d(function(g,r,i,a,m,e,d){'use strict';var t=TypeError;m.exports=function(n,o){if(n<o)throw new t('Not enough arguments');return n}},2373,[]);
92__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);
92m.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)},2374,[2311]);
93__d(function(g,r,i,a,m,e,d){'use strict';var t,n,o,c,s,u=r(d[0]),f=r(d[1]),v=r(d[2]),h=r(d[3]).set,b=r(d[4]),x=r(d[5]),w=r(d[6]),M=r(d[7]),k=r(d[8]),l=u.MutationObserver||u.WebKitMutationObserver,p=u.document,O=u.process,T=u.Promise,_=f('queueMicrotask');if(!_){var q=new b,y=function(){var n,o;for(k&&(n=O.domain)&&n.exit();o=q.get();)try{o()}catch(n){throw q.head&&t(),n}n&&n.enter()};x||k||M||!l||!p?!w&&T&&T.resolve?((c=T.resolve(void 0)).constructor=T,s=v(c.then,c),t=function(){s(y)}):k?t=function(){O.nextTick(y)}:(h=v(h,u),t=function(){h(y)}):(n=!0,o=p.createTextNode(''),new l(y).observe(o,{characterData:!0}),t=function(){o.data=n=!n}),_=function(n){q.head||t(),q.add(n)}}m.exports=_},2375,[2287,2376,2369,2367,2377,2374,2378,2379,2351]);
94__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=Object.getOwnPropertyDescriptor;m.exports=function(c){if(!n)return t[c];var o=u(t,c);return o&&o.value}},2376,[2287,2289]);
95__d(function(g,r,i,a,m,e,d){'use strict';var t=function(){this.head=null,this.tail=null};t.prototype={add:function(t){var n={item:t,next:null},l=this.tail;l?l.next=n:this.head=n,this.tail=n},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},m.exports=t},2377,[]);
96__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=/ipad|iphone|ipod/i.test(t)&&'undefined'!=typeof Pebble},2378,[2311]);
97__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=/web0s(?!.*chrome)/i.test(t)},2379,[2311]);
98__d(function(g,r,i,_a,m,e,d){'use strict';m.exports=function(o,t){try{1===arguments.length?console.error(o):console.error(o,t)}catch(o){}}},2380,[]);
99__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},2381,[]);
100__d(function(g,r,i,a,m,e,d){'use strict';var s=r(d[0]);m.exports=s.Promise},2382,[2287]);
101__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o=r(d[2]),c=r(d[3]),f=r(d[4]),u=r(d[5]),s=r(d[6]),E=r(d[7]),R=r(d[8]),S=t&&t.prototype,v=u('species'),N=!1,O=o(n.PromiseRejectionEvent),p=c('Promise',function(){var n=f(t),o=n!==String(t);if(!o&&66===R)return!0;if(E&&(!S.catch||!S.finally))return!0;if(!R||R<51||!/native code/.test(n)){var c=new t(function(n){n(1)}),u=function(n){n(function(){},function(){})};if((c.constructor={})[v]=u,!(N=c.then(function(){})instanceof u))return!0}return!(o||'BROWSER'!==s&&'DENO'!==s||O)});m.exports={CONSTRUCTOR:p,REJECTION_EVENT:O,SUBCLASSING:N}},2383,[2287,2382,2304,2350,2333,2316,2352,2319,2310]);
102__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=TypeError,n=function(n){var s,c;this.promise=new n(function(t,n){if(void 0!==s||void 0!==c)throw new o('Bad Promise constructor');s=t,c=n}),this.resolve=t(s),this.reject=t(c)};m.exports.f=function(t){return new n(t)}},2384,[2313]);
103__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=r(d[3]),s=r(d[4]),u=r(d[5]);t({target:'Promise',stat:!0,forced:r(d[6])},{all:function(t){var f=this,v=c.f(f),l=v.resolve,h=v.reject,_=s(function(){var c=o(f.resolve),s=[],v=0,_=1;u(t,function(t){var o=v++,u=!1;_++,n(c,f,t).then(function(t){u||(u=!0,s[o]=t,--_||l(s))},h)}),--_||l(s)});return _.error&&h(_.value),v.promise}})},2385,[2286,2291,2313,2384,2381,2386,2392]);
104__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),f=r(d[3]),u=r(d[4]),s=r(d[5]),c=r(d[6]),p=r(d[7]),E=r(d[8]),R=r(d[9]),h=TypeError,l=function(t,n){this.stopped=t,this.result=n},w=l.prototype;m.exports=function(T,I,_){var y,S,v,x,b,A,D,N=_&&_.that,O=!(!_||!_.AS_ENTRIES),j=!(!_||!_.IS_RECORD),C=!(!_||!_.IS_ITERATOR),P=!(!_||!_.INTERRUPTED),U=t(I,N),k=function(t){return y&&R(y,'normal'),new l(!0,t)},q=function(t){return O?(o(t),P?U(t[0],t[1],k):U(t[0],t[1])):P?U(t,k):U(t)};if(j)y=T.iterator;else if(C)y=T;else{if(!(S=E(T)))throw new h(f(T)+' is not iterable');if(u(S)){for(v=0,x=s(T);x>v;v++)if((b=q(T[v]))&&c(w,b))return b;return new l(!1)}y=p(T,S)}for(A=j?T.next:y.next;!(D=n(A,y)).done;){try{b=q(D.value)}catch(t){R(y,'throw',t)}if('object'==typeof b&&b&&c(w,b))return b}return new l(!1)}},2386,[2369,2291,2329,2314,2387,2346,2307,2389,2390,2391]);
105__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=t('iterator'),u=Array.prototype;m.exports=function(t){return void 0!==t&&(o.Array===t||u[n]===t)}},2387,[2316,2388]);
106__d(function(g,r,i,a,m,e,d){'use strict';m.exports={}},2388,[]);
107__d(function(g,r,i,a,m,e,d){'use strict';
107var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),u=r(d[4]),c=TypeError;m.exports=function(f,h){var l=arguments.length<2?u(f):h;if(n(l))return o(t(l,f));throw new c(s(f)+' is not iterable')}},2389,[2291,2313,2329,2314,2390]);
108__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),u=r(d[3]),c=r(d[4])('iterator');m.exports=function(f){if(!o(f))return n(f,c)||n(f,'@@iterator')||u[t(f)]}},2390,[2365,2312,2300,2388,2316]);
109__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]);m.exports=function(f,h,u){var c,w;o(f);try{if(!(c=n(f,'return'))){if('throw'===h)throw u;return u}c=t(c,f)}catch(t){w=!0,c=t}if('throw'===h)throw u;if(w)throw c;return o(c),u}},2391,[2291,2329,2312]);
110__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),o=r(d[2]).CONSTRUCTOR;m.exports=o||!t(function(t){n.all(t).then(void 0,function(){})})},2392,[2382,2393,2383]);
111__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])('iterator'),n=!1;try{var u=0,c={next:function(){return{done:!!u++}},return:function(){n=!0}};c[t]=function(){return this},Array.from(c,function(){throw 2})}catch(t){}m.exports=function(u,c){try{if(!c&&!n)return!1}catch(t){return!1}var o=!1;try{var f={};f[t]=function(){return{next:function(){return{done:o=!0}}}},u(f)}catch(t){}return o}},2393,[2316]);
112__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),o=r(d[2]).CONSTRUCTOR,n=r(d[3]),h=r(d[4]),s=r(d[5]),f=r(d[6]),p=n&&n.prototype;if(t({target:'Promise',proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!c&&s(n)){var u=h('Promise').prototype.catch;
112p.catch!==u&&f(p,'catch',u,{unsafe:!0})}},2394,[2286,2319,2383,2382,2306,2304,2330]);
113__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),c=r(d[3]),s=r(d[4]),u=r(d[5]);t({target:'Promise',stat:!0,forced:r(d[6])},{race:function(t){var f=this,v=c.f(f),l=v.reject,h=s(function(){var c=o(f.resolve);u(t,function(t){n(c,f,t).then(v.resolve,l)})});return h.error&&l(h.value),v.promise}})},2395,[2286,2291,2313,2384,2381,2386,2392]);
114__d(function(g,_r,i,a,m,e,d){'use strict';var t=_r(d[0]),r=_r(d[1]);t({target:'Promise',stat:!0,forced:_r(d[2]).CONSTRUCTOR},{reject:function(t){var c=r.f(this);return(0,c.reject)(t),c.promise}})},2396,[2286,2384,2383]);
115__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]),o=r(d[2]),n=r(d[3]),c=r(d[4]).CONSTRUCTOR,u=r(d[5]),f=s('Promise'),h=o&&!c;t({target:'Promise',stat:!0,forced:o||c},{resolve:function(t){return u(h&&this===f?n:this,t)}})},2397,[2286,2306,2319,2382,2383,2398]);
116__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]);m.exports=function(s,u){if(t(s),n(u)&&u.constructor===s)return u;var c=o.f(s);return(0,c.resolve)(u),c.promise}},2398,[2329,2303,2384]);
117__d(function(g,_r,_i,_a,m,_e,d){function n(n,e,t,o,r,u,i){try{var c=n[u](i),f=c.value}catch(n){return void t(n)}c.done?e(f):Promise.resolve(f).then(o,r)}
117Object.defineProperty(_e,"__esModule",{value:!0}),_e.default=function(e){return function(){var t=this,o=arguments;return new Promise(function(r,u){var i=e.apply(t,o);function c(e){n(i,r,u,c,f,"next",e)}function f(e){n(i,r,u,c,f,"throw",e)}c(void 0)})}}},2399,[]);
118__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),u=r(d[2]),v=r(d[3]),f=r(d[4]),l=r(d[5]),o=r(d[6]),s=r(d[7]),c=r(d[8]),x=r(d[9]),h=r(d[10]),I=r(d[11]),_=t(''.indexOf);u('match',function(t,u,p){return[function(u){var v=s(this),l=f(u)?c(u,t):void 0;return l?n(l,u,v):new RegExp(u)[t](o(v))},function(n){var t=v(this),f=o(n),s=p(u,t,f);if(s.done)return s.value;var c=o(h(t));if(-1===_(c,'g'))return I(t,f);var w=-1!==_(c,'u');t.lastIndex=0;for(var E,O=[],R=0;null!==(E=I(t,f));){var b=o(E[0]);O[R]=b,''===b&&(t.lastIndex=x(f,l(t.lastIndex),w)),R++}return 0===R?null:O}]})},2400,[2291,2297,2401,2329,2303,2347,2404,2299,2312,2412,2414,2416]);
119__d(function(g,r,i,a,m,e,d){'use strict';r(d[0]);var n=r(d[1]),t=r(d[2]),o=r(d[3]),u=r(d[4]),c=r(d[5]),f=r(d[6]),s=c('species'),p=RegExp.prototype;m.exports=function(v,l,x,y){var _=c(v),h=!u(function(){var n={};return n[_]=function(){return 7},7!==''[v](n)}),E=h&&!u(function(){var n=!1,t=/a/;return'split'===v&&((t={}).constructor={},t.constructor[s]=function(){return t},t.flags='',t[_]=/./[_]),t.exec=function(){return n=!0,null},t[_](''),!n});if(!h||!E||x){var R=/./[_],S=l(_,''[v],function(t,u,c,f,s){var v=u.exec;return v===o||v===p.exec?h&&!s?{done:!0,value:n(R,u,c,f)}:{done:!0,value:n(t,c,u,f)}:{done:!1}});t(String.prototype,v,S[0]),t(p,_,S[1])}y&&f(p[_],'sham',!0)}},2401,[2402,2291,2330,2403,2290,2316,2326]);
120__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]);t({target:'RegExp',proto:!0,forced:/./.exec!==c},{exec:c})},2402,[2286,2403]);
121__d(function(g,r,_i,a,m,e,d){'use strict';var t,n,l=r(d[0]),s=r(d[1]),i=r(d[2]),x=r(d[3]),o=r(d[4]),p=r(d[5]),u=r(d[6]),I=r(d[7]).get,c=r(d[8]),f=r(d[9]),h=p('native-string-replace',String.prototype.replace),v=RegExp.prototype.exec,E=v,R=s(''.charAt),y=s(''.indexOf),w=s(''.replace),_=s(''.slice),b=(n=/b*/g,l(v,t=/a/,'a'),l(v,n,'a'),0!==t.lastIndex||0!==n.lastIndex),A=o.BROKEN_CARET,O=void 0!==/()??/.exec('')[1];(b||O||A||c||f)&&(E=function(t){var n,s,o,p,c,f,k,B=this,C=I(B),K=i(t),N=C.raw;if(N)return N.lastIndex=B.lastIndex,n=l(E,N,K),B.lastIndex=N.lastIndex,n;var S=C.groups,T=A&&B.sticky,$=l(x,B),j=B.source,q=0,z=K;if(T&&($=w($,'y',''),-1===y($,'g')&&($+='g'),z=_(K,B.lastIndex),B.lastIndex>0&&(!B.multiline||B.multiline&&'\n'!==R(K,B.lastIndex-1))&&(j='(?: '+j+')',z=' '+z,q++),s=new RegExp('^(?:'+j+')',$)),O&&(s=new RegExp('^'+j+'$(?!\\s)',$)),b&&(o=B.lastIndex),p=l(v,T?s:B,z),T?p?(p.input=_(p.input,q),p[0]=_(p[0],q),p.index=B.lastIndex,B.lastIndex+=p[0].length):B.lastIndex=0:b&&p&&(B.lastIndex=B.global?p.index+p[0].length:o),O&&p&&p.length>1&&l(h,p[0],s,function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(p[c]=void 0)}),p&&S)for(p.groups=f=u(null),c=0;c<S.length;c++)f[(k=S[c])[0]]=p[k[1]];return p}),m.exports=E},2403,[2291,2297,2404,2405,2406,2317,2407,2334,2410,2411]);
122__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=String;m.exports=function(o){if('Symbol'===t(o))throw new TypeError('Cannot convert a Symbol value to a string');return n(o)}},2404,[2365]);
123__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=function(){var n=t(this),s='';return n.hasIndices&&(s+='d'),n.global&&(s+='g'),n.ignoreCase&&(s+='i'),n.multiline&&(s+='m'),n.dotAll&&(s+='s'),n.unicode&&(s+='u'),n.unicodeSets&&(s+='v'),n.sticky&&(s+='y'),s}},2405,[2329]);
124__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]).RegExp,u=n(function(){var n=t('a','y');return n.lastIndex=2,null!==n.exec('abcd')}),c=u||n(function(){return!t('a','y').sticky}),s=u||n(function(){var n=t('^r','gy');return n.lastIndex=2,null!==n.exec('str')});m.exports={BROKEN_CARET:s,MISSED_STICKY:c,UNSUPPORTED_Y:u}},2406,[2290,2287]);
125__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),c=r(d[1]),o=r(d[2]),u=r(d[3]),l=r(d[4]),f=r(d[5]),p=r(d[6]),s='prototype',v=p('IE_PROTO'),w=function(){},O=function(t){return"<script>"+t+"<\/script>"},j=function(t){t.write(O('')),t.close();var n=t.parentWindow.Object;return t=null,n},y=function(){try{t=new ActiveXObject('htmlfile')}catch(t){}var n,c;y='undefined'!=typeof document?document.domain&&t?j(t):((c=f('iframe')).style.display='none',l.appendChild(c),c.src=String("javascript:"),(n=c.contentWindow.document).open(),n.write(O('document.F=Object')),n.close(),n.F):j(t);for(var u=o.length;u--;)delete y[s][o[u]];return y()};u[v]=!0,m.exports=Object.create||function(t,o){var u;return null!==t?(w[s]=n(t),u=new w,w[s]=null,u[v]=t):u=y(),void 0===o?u:c.f(u,o)}},2407,[2329,2408,2348,2337,2371,2325,2336]);
126__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),f=r(d[2]),c=r(d[3]),o=r(d[4]),u=r(d[5]);e.f=t&&!n?Object.defineProperties:function(t,n){c(t);for(var s,v=o(n),_=u(n),b=_.length,h=0;b>h;)f.f(t,s=_[h++],v[s]);return t}},2408,[2289,2328,2327,2329,2295,2409]);
127__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]);m.exports=Object.keys||function(c){return t(c,n)}},2409,[2341,2348]);
128__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),s=r(d[1]).RegExp;m.exports=t(function(){var t=s('.','s');return!(t.dotAll&&t.test('\n')&&'s'===t.flags)})},2410,[2290,2287]);
129__d(function(g,r,i,a,m,e,d){'use strict';var c=r(d[0]),t=r(d[1]).RegExp;m.exports=c(function(){var c=t('(?<a>b)','g');return'b'!==c.exec('b').groups.a||'bc'!=='b'.replace(c,'$<a>c')})},2411,[2290,2287]);
130__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).charAt;m.exports=function(n,c,u){return c+(u?t(n,c).length:1)}},2412,[2413]);
131__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),n=r(d[2]),o=r(d[3]),u=t(''.charAt),h=t(''.charCodeAt),s=t(''.slice),A=function(t){return function(A,f){var v,l,_=n(o(A)),p=c(f),x=_.length;return p<0||p>=x?t?'':void 0:(v=h(_,p))<55296||v>56319||p+1===x||(l=h(_,p+1))<56320||l>57343?t?u(_,p):v:t?s(_,p,p+2):l-56320+(v-55296<<10)+65536}};m.exports={codeAt:A(!1),charAt:A(!0)}},2413,[2297,2344,2404,2299]);
132__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]),n=r(d[2]),o=r(d[3]),f=r(d[4]),s=RegExp.prototype;m.exports=o.correct?function(t){return t.flags}:function(u){return o.correct||!n(s,u)||c(u,'flags')?u.flags:t(f,u)}},2414,[2291,2321,2307,2415,2405]);
133__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=t.RegExp,o=!n(function(){var t=!0;try{c('.','d')}catch(n){t=!1}var n={},o='',s=t?'dgimsy':'gimsy',l=function(t,c){Object.defineProperty(n,t,{get:function(){return o+=c,!0}})},u={dotAll:'s',global:'g',ignoreCase:'i',multiline:'m',sticky:'y'};for(var y in t&&(u.hasIndices='d'),u)l(y,u[y]);return Object.getOwnPropertyDescriptor(c.prototype,'flags').get.call(n)!==s||o!==s});m.exports={correct:o}},2415,[2287,2290]);
134__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),c=r(d[2]),o=r(d[3]),u=r(d[4]),l=TypeError;m.exports=function(p,x){var f=p.exec;if(c(f)){var v=n(f,p,x);return null!==v&&t(v),v}if('RegExp'===o(p))return n(u,p,x);throw new l('RegExp#exec called on incompatible receiver')}},2416,[2291,2329,2304,2298,2403]);
135__d(function(g,r,_i,a,m,e,d){'use strict';var n=r(d[0]),t=r(d[1]),i=r(d[2]),u=r(d[3]),o=r(d[4]),v=r(d[5]),c=r(d[6]),l=r(d[7]),f=r(d[8]),s=r(d[9]),h=r(d[10]),p=r(d[11]),x=r(d[12]),$=r(d[13]),I=r
135(d[14]),M=r(d[15]),_=r(d[16]),y=r(d[17])('replace'),O=Math.max,S=Math.min,b=i([].concat),j=i([].push),k=i(''.indexOf),q=i(''.slice),w=function(n){return void 0===n?n:String(n)},z='$0'==='a'.replace(/./,'$0'),A=!!/./[y]&&''===/./[y]('a','$0');u('replace',function(i,u,o){var z=A?'$':'$0';return[function(n,i){var o=p(this),v=l(n)?$(n,y):void 0;return v?t(v,n,o,i):t(u,h(o),n,i)},function(t,i){var l=v(this),p=h(t);if('string'==typeof i&&-1===k(i,z)&&-1===k(i,'$<')){var $=o(u,l,p,i);if($.done)return $.value}var y=c(i);y||(i=h(i));var A,B=h(M(l)),C=-1!==k(B,'g');C&&(A=-1!==k(B,'u'),l.lastIndex=0);for(var D,E=[];null!==(D=_(l,p))&&(j(E,D),C);){''===h(D[0])&&(l.lastIndex=x(p,s(l.lastIndex),A))}for(var F='',G=0,H=0;H<E.length;H++){for(var J,K=h((D=E[H])[0]),L=O(S(f(D.index),p.length),0),N=[],P=1;P<D.length;P++)j(N,w(D[P]));var Q=D.groups;if(y){var R=b([K],N,L,p);void 0!==Q&&j(R,Q),J=h(n(i,void 0,R))}else J=I(K,p,L,N,Q,i);L>=G&&(F+=q(p,G,L)+J,G=L+K.length)}return F+q(p,G)}]},!!o(function(){var n=/./;return n.exec=function(){var n=[];return n.groups={a:'7'},n},'7'!==''.replace(n,'$<a>')})||!z||A)},2417,[2368,2291,2297,2401,2290,2329,2304,2303,2344,2347,2404,2299,2412,2312,2418,2414,2416,2316]);
136__d(function(g,r,i,a,_m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=Math.floor,u=t(''.charAt),s=t(''.replace),o=t(''.slice),v=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,f=/\$([$&'`]|\d{1,2})/g;_m.exports=function(t,l,$,h,p,_){var b=$+t.length,k=h.length,w=f;return void 0!==p&&(p=n(p),w=v),s(_,w,function(n,s){var v;switch(u(s,0)){case'$':return'$';case'&':return t;case'`':return o(l,0,$);case"'":return o(l,b);case'<':v=p[o(s,1,-1)];break;default:var f=+s;if(0===f)return n;if(f>k){var _=c(f/10);return 0===_?n:_<=k?void 0===h[_-1]?u(s,1):h[_-1]+u(s,1):n}v=h[f-1]}return void 0===v?'':v})}},2418,[2297,2322]);
137__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),s=r(d[1]),h=r(d[2]).f,o=r(d[3]),c=r(d[4]),l=r(d[5]),f=r(d[6]),u=r(d[7]),v=r(d[8]),p=s(''.slice),W=Math.min,S=u('startsWith');n({target:'String',proto:!0,forced:!!(v||S||(t=h(String.prototype,'startsWith'),!t||t.writable))&&!S},{startsWith:function(t){var n=c(f(this));l(t);var s=o(W(arguments.length>1?arguments[1]:void 0,n.length)),h=c(t);return p(n,s,s+h.length)===h}})},2419,[2286,2370,2288,2347,2404,2420,2299,2422,2319]);
138__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=TypeError;m.exports=function(o){if(t(o))throw new n("The method doesn't accept regular expressions");return o}},2420,[2421]);
139__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),c=r(d[2])('match');m.exports=function(o){var u;return t(o)&&(void 0!==(u=o[c])?!!u:'RegExp'===n(o))}},2421,[2303,2298,2316]);
140__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])('match');m.exports=function(c){var n=/./;try{'/./'[c](n)}catch(u){try{return n[t]=!1,'/./'[c](n)}catch(t){}}return!1}},2422,[2316]);
141__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),u=r(d[3]),v=r(d[4]).f,c=r(d[5]),l=r(d[6]),y=r(d[7]),o=r(d[8]),f='Array Iterator',h=u.set,A=u.getterFor(f);m.exports=c(Array,'Array',function(n,s){h(this,{type:f,target:t(n),index:0,kind:s})},function(){var t=A(this),n=t.target,s=t.index++;if(!n||s>=n.length)return t.target=null,l(void 0,!0);switch(t.kind){case'keys':return l(s,!1);case'values':return l(n[s],!1)}return l([s,n[s]],!1)},'values');var k=s.Arguments=s.Array;if(n('keys'),n('values'),n('entries'),!y&&o&&'values'!==k.name)try{v(k,'name',{value:'values'})}catch(t){}},2423,[2295,2424,2388,2334,2327,2425,2430,2319,2289]);
142__d(function(g,r,i,a,m,e,d){'use strict';var o=r(d[0]),n=r(d[1]),t=r(d[2]).f,u=o('unscopables'),c=Array.prototype;void 0===c[u]&&t(c,u,{configurable:!0,value:n(null)}),m.exports=function(o){c[u][o]=!0}},2424,[2316,2407,2327]);
143__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),o=r(d[2]),s=r(d[3]),u=r(d[4]),c=r(d[5]),f=r(d[6]),p=r(d[7]),y=r(d[8]),R=r(d[9]),h=r(d[10]),l=r(d[11]),A=r(d[12]),I=r(d[13]),v=s.PROPER,w=s.CONFIGURABLE,O=I.IteratorPrototype,_=I.BUGGY_SAFARI_ITERATORS,E=l('iterator'),G='keys',P='values',k='entries',x=function(){return this};m.exports=function(s,l,I,B,F,S,T){c(I,l,B);var U,b,j,C=function(t){if(t===F&&z)return z;if(!_&&t&&t in Y)return Y[t];switch(t){case G:case P:case k:return function(){return new I(this,t)}}return function(){return new I(this)}},L=l+' Iterator',N=!1,Y=s.prototype,q=Y[E]||Y['@@iterator']||F&&Y[F],z=!_&&q||C(F),D='Array'===l&&Y.entries||q;if(D&&(U=f(D.call(new s)))!==Object.prototype&&U.next&&(o||f(U)===O||(p?p(U,O):u(U[E])||h(U,E,x)),y(U,L,!0,!0),o&&(A[L]=x)),v&&F===P&&q&&q.name!==P&&(!o&&w?R(Y,'name',P):(N=!0,z=function(){return n(q,this)})),F)if(b={values:C(P),keys:S?z:C(G),entries:C(k)},T)for(j in b)(_||N||!(j in Y))&&h(Y,j,b[j]);else t({target:l,proto:!0,forced:_||N},b);return o&&!T||Y[E]===z||h(Y,E,z,{name:F}),A[l]=z,b}},2425,[2286,2291,2319,2332,2304,2426,2428,2354,2358,2326,2330,2316,2388,2427]);
144__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).IteratorPrototype,o=r(d[1]),n=r(d[2]),u=r(d[3]),c=r(d[4]),p=function(){return this};m.exports=function(s,f,v,x){var y=f+' Iterator';return s.prototype=o(t,{next:n(+!x,v)}),u(s,y,!1,!0),c[y]=p,s}},2426,[2427,2407,2294,2358,2388]);
145__d(function(g,r,i,a,m,e,d){'use strict';var t,n,o,c=r(d[0]),s=r(d[1]),u=r(d[2]),p=r(d[3]),y=r(d[4]),_=r(d[5]),f=r(d[6]),A=r(d[7]),I=f('iterator'),R=!1;[].keys&&('next'in(o=[].keys())?(n=y(y(o)))!==Object.prototype&&(t=n):R=!0),!u(t)||c(function(){var n={};return t[I].call(n)!==n})?t={}:A&&(t=p(t)),s(t[I])||_(t,I,function(){return this}),m.exports={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:R}},2427,[2290,2304,2303,2407,2428,2330,2316,2319]);
146__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),o=r(d[1]),n=r(d[2]),c=r(d[3]),u=r(d[4]),f=c('IE_PROTO'),p=Object,s=p.prototype;m.exports=u?p.getPrototypeOf:function(c){var u=n(c);if(t(u,f))return u[f];var O=u.constructor;return o(O)&&u instanceof O?O.prototype:u instanceof p?s:null}},2428,[2321,2304,2322,2336,2429]);
147__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},2429,[2290]);
148__d(function(g,r,i,a,m,e,d){'use strict';m.exports=function(n,t){return{value:n,done:t}}},2430,[]);
149__d(function(g,r,i,a,m,e,d){'use strict';
149var t=r(d[0]),f=r(d[1]),o=r(d[2]),c=r(d[3]),n=r(d[4]),s=r(d[5]),u=r(d[6])('iterator'),v=c.values,y=function(t,o){if(t){if(t[u]!==v)try{n(t,u,v)}catch(f){t[u]=v}if(s(t,o,!0),f[o])for(var y in c)if(t[y]!==c[y])try{n(t,y,c[y])}catch(f){t[y]=c[y]}}};for(var h in f)y(t[h]&&t[h].prototype,h);y(o,'DOMTokenList')},2431,[2287,2432,2433,2423,2326,2358,2316]);
150__d(function(g,r,i,a,m,e,d){'use strict';m.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}},2432,[]);
151__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0])('span').classList,o=t&&t.constructor&&t.constructor.prototype;m.exports=o===Object.prototype?void 0:o},2433,[2325]);
152__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),c=r(d[1]).left,n=r(d[2]),o=r(d[3]);t({target:'Array',proto:!0,forced:!r(d[4])&&o>79&&o<83||!n('reduce')},{reduce:function(t){var n=arguments.length;return c(this,t,n,n>1?arguments[1]:void 0)}})},2434,[2286,2435,2436,2310,2351]);
153__d(function(g,r,_i,a,m,e,d){'use strict';var i=r(d[0]),t=r(d[1]),n=r(d[2]),f=r(d[3]),o=TypeError,u='Reduce of empty array with no initial value',c=function(c){return function(w,h,v,l){var p=t(w),s=n(p),y=f(p);if(i(h),0===y&&v<2)throw new o(u);var _=c?y-1:0,b=c?-1:1;if(v<2)for(;;){if(_ in s){l=s[_],_+=b;break}if(_+=b,c?_<0:y<=_)throw new o(u)}for(;c?_>=0:y>_;_+=b)_ in s&&(l=h(l,s[_],_,p));return l}};m.exports={left:c(!1),right:c(!0)}},2435,[2313,2322,2296,2346]);
154__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]);m.exports=function(t,u){var c=[][t];return!!c&&n(function(){c.call(null,u||function(){return 1},1)})}},2436,[2290]);
155__d(function(g,r,i,a,m,e,d){'use strict';var t,n=r(d[0]),o=r(d[1]),h=r(d[2]).f,s=r(d[3]),c=r(d[4]),l=r(d[5]),v=r(d[6]),f=r(d[7]),u=r(d[8]),p=o(''.slice),W=Math.min,S=f('endsWith');n({target:'String',proto:!0,forced:!!(u||S||(t=h(String.prototype,'endsWith'),!t||t.writable))&&!S},{endsWith:function(t){var n=c(v(this));l(t);var o=arguments.length>1?arguments[1]:void 0,h=n.length,f=void 0===o?h:W(s(o),h),u=c(t);return p(n,f-u.length,f)===u}})},2437,[2286,2370,2288,2347,2404,2420,2299,2422,2319]);
156__d(function(g,r,_i,a,m,_e,d){'use strict';var t=r(d[0]),n=r(d[1]),e=r(d[2]),i=r(d[3]),l=r(d[4]),u=r(d[5]),s=r(d[6]),h=r(d[7]),o=r(d[8]),c=r(d[9]),f=r(d[10]),v=r(d[11]),p=r(d[12]),b=r(d[13]),x=p.UNSUPPORTED_Y,_=Math.min,y=n([].push),E=n(''.slice),I=!b(function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e='ab'.split(t);return 2!==e.length||'a'!==e[0]||'b'!==e[1]}),P='c'==='abbc'.split(/(b)*/)[1]||4!=='test'.split(/(?:)/,-1).length||2!=='ab'.split(/(?:ab)*/).length||4!=='.'.split(/(.?)(.?)/).length||'.'.split(/()()/).length>1||''.split(/.?/).length;e('split',function(n,e,p){var b='0'.split(void 0,0).length?function(n,i){return void 0===n&&0===i?[]:t(e,this,n,i)}:e;return[function(e,i){var s=u(this),h=l(e)?f(e,n):void 0;return h?t(h,e,s,i):t(b,c(s),e,i)},function(t,n){var l=i(this),u=c(t);if(!P){var f=p(b,l,u,n,b!==e);if(f.done)return f.value}var I=s(l,RegExp),R=l.unicode,U=(l.ignoreCase?'i':'')+(l.multiline?'m':'')+(l.unicode?'u':'')+(x?'g':'y'),w=new I(x?'^(?:'+l.source+')':l,U),C=void 0===n?4294967295:n>>>0;if(0===C)return[];if(0===u.length)return null===v(w,u)?[u]:[];for(var D=0,M=0,N=[];M<u.length;){w.lastIndex=x?0:M;var O,S=v(w,x?E(u,M):u);if(null===S||(O=_(o(w.lastIndex+(x?M:0)),u.length))===D)M=h(u,M,R);else{if(y(N,E(u,D,M)),N.length===C)return N;for(var T=1;T<=S.length-1;T++)if(y(N,S[T]),N.length===C)return N;M=D=O}}return y(N,E(u,D)),N}]},P||!I,x)},2438,[2291,2297,2401,2329,2303,2299,2362,2412,2347,2404,2312,2416,2406,2290]);
157__d(function(g,r,_i,a,m,_e,d){for(var n=r(d[0]),e='undefined'==typeof window?g:window,t=['moz','webkit'],c='AnimationFrame',i=e.requestAnimationFrame,l=e.cancelAnimationFrame||e.cancelRequestAnimationFrame,o=0;!i&&o<t.length;o++)i=e[t[o]+'Request'+c],l=e[t[o]+'Cancel'+c]||e[t[o]+'CancelRequest'+c];if(!i||!l){var u=0,f=0,h=[];i=function(e){if(0===h.length){var t=n(),c=Math.max(0,16.666666666666668-(t-u));u=c+t,setTimeout(function(){var n=h.slice(0);h.length=0;for(var e=0;e<n.length;e++)if(!n[e].cancelled)try{n[e].callback(u)}catch(n){setTimeout(function(){throw n},0)}},Math.round(c))}return h.push({handle:++f,callback:e,cancelled:!1}),f},l=function(n){for(var e=0;e<h.length;e++)h[e].handle===n&&(h[e].cancelled=!0)}}m.exports=function(n){return i.call(e,n)},m.exports.cancel=function(){l.apply(e,arguments)},m.exports.polyfill=function(n){n||(n=e),n.requestAnimationFrame=i,n.cancelAnimationFrame=l}},2439,[2440]);
158__d(function(g,r,i,a,m,e,d){(function(){var n,t,o,c,u,p;"undefined"!=typeof performance&&null!==performance&&performance.now?m.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(m.exports=function(){return(n()-u)/1e6},t=process.hrtime,c=(n=function(){var n;return 1e9*(n=t())[0]+n[1]})(),p=1e9*process.uptime(),u=c-p):Date.now?(m.exports=function(){return Date.now()-o},o=Date.now()):(m.exports=function(){return(new Date).getTime()-o},o=(new Date).getTime())}).call(this)},2440,[]);
159__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]).trim;t({target:'String',proto:!0,forced:r(d[2])('trim')},{trim:function(){return n(this)}})},2441,[2286,2442,2444]);
160__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),u=r(d[2]),c=r(d[3]),o=t(''.replace),p=RegExp('^['+c+']+'),s=RegExp('(^|[^'+c+'])['+c+']+$'),f=function(t){return function(c){var f=u(n(c));return 1&t&&(f=o(f,p,'')),2&t&&(f=o(f,s,'$1')),f}};m.exports={start:f(1),end:f(2),trim:f(3)}},2442,[2297,2299,2404,2443]);
161__d(function(g,r,i,a,m,e,d){'use strict';m.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"},2443,[]);
162__d(function(g,r,i,a,m,e,d){'use strict';var n=r(d[0]).PROPER,t=r(d[1]),u=r(d[2]);m.exports=function(c){return t(function(){return!!u[c]()||"\u200b\x85\u180e"!=="\u200b\x85\u180e"[c]()||n&&u[c].name!==c})}},2444,[2332,2290,2443]);
163__d(function(_g,_r,_i,a,m,_e,d){m.exports=function(e){this.ok=!1,this.alpha=1,'#'==e.charAt(0)&&(e=e.substr(1,6)),e=(e=e.replace(/ /g,'')).toLowerCase();var f={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:'
1636495ed',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:'90ee90',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'};e=f[e]||e;for(var r=[{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(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3]),parseFloat(e[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(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:['#00ff00','336699'],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:['#fb0','f0f'],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],t=0;t<r.length;t++){var i=r[t].re,l=r[t].process,n=i.exec(e);if(n){var s=l(n);this.r=s[0],this.g=s[1],this.b=s[2],s.length>3&&(this.alpha=s[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 e=this.r.toString(16),f=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e='0'+e),1==f.length&&(f='0'+f),1==r.length&&(r='0'+r),'#'+e+f+r},this.getHelpXML=function(){for(var e=new Array,t=0;t<r.length;t++)for(var i=r[t].example,l=0;l<i.length;l++)e[e.length]=i[l];for(var n in f)e[e.length]=n;var s=document.createElement('ul');s.setAttribute('id','rgbcolor-examples');for(t=0;t<e.length;t++)try{var o=document.createElement('li'),c=new RGBColor(e[t]),h=document.createElement('div');h.style.cssText="margin: 3px; border: 1px solid black; background:"+c.toHex()+"; color:"+c.toHex(),h.appendChild(document.createTextNode('test'));var b=document.createTextNode(' '+e[t]+' -> '+c.toRGB()+' -> '+c.toHex());o.appendChild(h),o.appendChild(b),s.appendChild(o)}catch(e){}return s}}},2445,[]);
164__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),f=r(d[2]).indexOf,o=r(d[3]),c=n([].indexOf),s=!!c&&1/c([1],1,-0)<0;t({target:'Array',proto:!0,forced:s||!o('indexOf')},{indexOf:function(t){var n=arguments.length>1?arguments[1]:void 0;return s?c(this,t,n)||0:f(this,t,n)}})},2446,[2286,2370,2342,2436]);
165__d(function(g,r,i,a,m,e,d){'use strict';
vendor: 4,406 bytes, lines 165-183
165var t=r(d[0]),n=r(d[1]),c=r(d[2]),o=r(d[3]),u=r(d[4]),s=r(d[5]),f=n(''.indexOf);t({target:'String',proto:!0,forced:!s('includes')},{includes:function(t){return!!~f(u(o(this)),u(c(t)),arguments.length>1?arguments[1]:void 0)}})},2447,[2286,2297,2420,2299,2404,2422]);
166__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]),n=r(d[1]),s=r(d[2]),h=n([].reverse),o=[1,2];t({target:'Array',proto:!0,forced:String(o)===String(o.reverse())},{reverse:function(){return s(this)&&(this.length=this.length),h(this)}})},2448,[2286,2297,2449]);
167__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]);m.exports=Array.isArray||function(n){return'Array'===t(n)}},2449,[2298]);
168__d(function(_g,_r,_i,_a,_m,_e,_d){Object.defineProperty(_e,"__esModule",{value:!0}),_e.SVGPathDataTransformer=_e.SVGPathDataParser=_e.SVGPathData=_e.COMMAND_ARG_COUNTS=void 0,_e.encodeSVGPath=e;
169/*! *****************************************************************************
170  Copyright (c) Microsoft Corporation.
171  
172  Permission to use, copy, modify, and/or distribute this software for any
173  purpose with or without fee is hereby granted.
174  
175  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
176  REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
177  AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
178  INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
179  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
180  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
181  PERFORMANCE OF THIS SOFTWARE.
182  ***************************************************************************** */
183var t=function(r,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])})(r,e)};function r(r,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=r}t(r,e),r.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}function e(t){var r="";Array.isArray(t)||(t=[t]);for(var e=0;e<t.length;e++){var i=t[e];if(i.type===f.CLOSE_PATH)r+="z";else if(i.type===f.HORIZ_LINE_TO)r+=(i.relative?"h":"H")+i.x;else if(i.type===f.VERT_LINE_TO)r+=(i.relative?"v":"V")+i.y;else if(i.type===f.MOVE_TO)r+=(i.relative?"m":"M")+i.x+" "+i.y;else if(i.type===f.LINE_TO)r+=(i.relative?"l":"L")+i.x+" "+i.y;else if(i.type===f.CURVE_TO)r+=(i.relative?"c":"C")+i.x1+" "+i.y1+" "+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===f.SMOOTH_CURVE_TO)r+=(i.relative?"s":"S")+i.x2+" "+i.y2+" "+i.x+" "+i.y;else if(i.type===f.QUAD_TO)r+=(i.relative?"q":"Q")+i.x1+" "+i.y1+" "+i.x+" "+i.y;else if(i.type===f.SMOOTH_QUAD_TO)r+=(i.relative?"t":"T")+i.x+" "+i.y;else{if(i.type!==f.ARC)throw new Error('Unexpected command type "'+i.type+'" at index '+e+".");r+=(i.relative?"a":"A")+i.rX+" "+i.rY+" "+i.xRot+" "+ +i.lArcFlag+" "+ +i.sweepFlag+" "+i.x+" "+i.y}}return r}function i(t,r){var e=t[0],i=t[1];return[e*Math.cos(r)-i*Math.sin(r),e*Math.sin(r)+i*Math.cos(r)]}function a(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var e=0;e<t.length;e++)if("number"!=typeof t[e])throw new Error("assertNumbers arguments["+e+"] is not a number. "+typeof t[e]+" == typeof "+t[e]);return!0}var n=Math.PI;function o(t,r,e){t.lArcFlag=0===t.lArcFlag?0:1,t.sweepFlag=0===t.sweepFlag?0:1;var a=t.rX,o=t.rY,s=t.x,u=t.y;a=Math.abs(t.rX),o=Math.abs(t.rY);var h=i([(r-s)/2,(e-u)/2],-t.xRot/180*n),c=h[0],y=h[1],p=Math.pow(c,2)/Math.pow(a,2)+Math.pow(y,2)/Math.pow(o,2);1<p&&(a*=Math.sqrt(p),o*=Math.sqrt(p)),t.rX=a,t.rY=o;var m=Math.pow(a,2)*Math.pow(y,2)+Math.pow(o,2)*Math.pow(c,2),O=(t.lArcFlag!==t.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(a,2)*Math.pow(o,2)-m)/m)),T=a*y/o*O,l=-o*c/a*O,v=i([T,l],t.xRot/180*n);t.cX=v[0]+(r+s)/2,t.cY=v[1]+(e+u)/2,t.phi1=Math.atan2((y-l)/o,(c-T)/a),t.phi2=Math.atan2((-y-l)/o,(-c-T)/a),0===t.sweepFlag&&t.phi2>t.phi1&&(t.phi2-=2*n),1===t.sweepFlag&&t.phi2<t.phi1&&(t.phi2+=2*n),t.phi1*=180/n,t.phi2*=180/n}function s(t,r,e){a(t,r,e);var i=t*t+r*r-e*e;if(0>i)return[];if(0===i)return[[t*e/(t*t+r*r),r*e/(t*t+r*r)]];var n=Math.sqrt(i);return[[(t*e+r*n)/(t*t+r*r),(r*e-t*n)/(t*t+r*r)],[(t*e-r*n)/(t*t+r*r),(r*e+t*n)/(t*t+r*r)]]}var u,h=Math.PI/180;function c(t,r,e){return(1-e)*t+e*r}
vendor: 15,589 bytes, lines 183-184
183function y(t,r,e,i){return t+Math.cos(i/180*n)*r+Math.sin(i/180*n)*e}function p(t,r,e,i){var a=1e-6,n=r-t,o=e-r,s=3*n+3*(i-e)-6*o,u=6*(o-n),h=3*n;return Math.abs(s)<a?[-h/u]:(function(t,r,e){void 0===e&&(e=1e-6);var i=t*t/4-r;if(i<-e)return[];if(i<=e)return[-t/2];var a=Math.sqrt(i);return[-t/2-a,-t/2+a]})(u/s,h/s,a)}function m(t,r,e,i,a){var n=1-a;return t*(n*n*n)+r*(3*n*n*a)+e*(3*n*a*a)+i*(a*a*a)}!(function(t){function r(){return u(function(t,r,e){return t.relative&&(void 0!==t.x1&&(t.x1+=r),void 0!==t.y1&&(t.y1+=e),void 0!==t.x2&&(t.x2+=r),void 0!==t.y2&&(t.y2+=e),void 0!==t.x&&(t.x+=r),void 0!==t.y&&(t.y+=e),t.relative=!1),t})}function e(){var t=NaN,r=NaN,e=NaN,i=NaN;return u(function(a,n,o){return a.type&f.SMOOTH_CURVE_TO&&(a.type=f.CURVE_TO,t=isNaN(t)?n:t,r=isNaN(r)?o:r,a.x1=a.relative?n-t:2*n-t,a.y1=a.relative?o-r:2*o-r),a.type&f.CURVE_TO?(t=a.relative?n+a.x2:a.x2,r=a.relative?o+a.y2:a.y2):(t=NaN,r=NaN),a.type&f.SMOOTH_QUAD_TO&&(a.type=f.QUAD_TO,e=isNaN(e)?n:e,i=isNaN(i)?o:i,a.x1=a.relative?n-e:2*n-e,a.y1=a.relative?o-i:2*o-i),a.type&f.QUAD_TO?(e=a.relative?n+a.x1:a.x1,i=a.relative?o+a.y1:a.y1):(e=NaN,i=NaN),a})}function n(){var t=NaN,r=NaN;return u(function(e,i,a){if(e.type&f.SMOOTH_QUAD_TO&&(e.type=f.QUAD_TO,t=isNaN(t)?i:t,r=isNaN(r)?a:r,e.x1=e.relative?i-t:2*i-t,e.y1=e.relative?a-r:2*a-r),e.type&f.QUAD_TO){t=e.relative?i+e.x1:e.x1,r=e.relative?a+e.y1:e.y1;var n=e.x1,o=e.y1;e.type=f.CURVE_TO,e.x1=((e.relative?0:i)+2*n)/3,e.y1=((e.relative?0:a)+2*o)/3,e.x2=(e.x+2*n)/3,e.y2=(e.y+2*o)/3}else t=NaN,r=NaN;return e})}function u(t){var r=0,e=0,i=NaN,a=NaN;return function(n){if(isNaN(i)&&!(n.type&f.MOVE_TO))throw new Error("path must start with moveto");var o=t(n,r,e,i,a);return n.type&f.CLOSE_PATH&&(r=i,e=a),void 0!==n.x&&(r=n.relative?r+n.x:n.x),void 0!==n.y&&(e=n.relative?e+n.y:n.y),n.type&f.MOVE_TO&&(i=r,a=e),o}}function O(t,r,e,i,n,o){return a(t,r,e,i,n,o),u(function(a,s,u,h){var c=a.x1,y=a.x2,p=a.relative&&!isNaN(h),m=void 0!==a.x?a.x:p?0:s,O=void 0!==a.y?a.y:p?0:u;function T(t){return t*t}a.type&f.HORIZ_LINE_TO&&0!==r&&(a.type=f.LINE_TO,a.y=a.relative?0:u),a.type&f.VERT_LINE_TO&&0!==e&&(a.type=f.LINE_TO,a.x=a.relative?0:s),void 0!==a.x&&(a.x=a.x*t+O*e+(p?0:n)),void 0!==a.y&&(a.y=m*r+a.y*i+(p?0:o)),void 0!==a.x1&&(a.x1=a.x1*t+a.y1*e+(p?0:n)),void 0!==a.y1&&(a.y1=c*r+a.y1*i+(p?0:o)),void 0!==a.x2&&(a.x2=a.x2*t+a.y2*e+(p?0:n)),void 0!==a.y2&&(a.y2=y*r+a.y2*i+(p?0:o));var l=t*i-r*e;if(void 0!==a.xRot&&(1!==t||0!==r||0!==e||1!==i))if(0===l)delete a.rX,delete a.rY,delete a.xRot,delete a.lArcFlag,delete a.sweepFlag,a.type=f.LINE_TO;else{var v=a.xRot*Math.PI/180,_=Math.sin(v),N=Math.cos(v),d=1/T(a.rX),x=1/T(a.rY),A=T(N)*d+T(_)*x,E=2*_*N*(d-x),C=T(_)*d+T(N)*x,M=A*i*i-E*r*i+C*r*r,R=E*(t*i+r*e)-2*(A*e*i+C*t*r),g=A*e*e-E*t*e+C*t*t,S=(Math.atan2(R,M-g)+Math.PI)%Math.PI/2,I=Math.sin(S),L=Math.cos(S);a.rX=Math.abs(l)/Math.sqrt(M*T(L)+R*I*L+g*T(I)),a.rY=Math.abs(l)/Math.sqrt(M*T(I)-R*I*L+g*T(L)),a.xRot=180*S/Math.PI}return void 0!==a.sweepFlag&&0>l&&(a.sweepFlag=+!a.sweepFlag),a})}t.ROUND=function(t){function r(r){return Math.round(r*t)/t}return void 0===t&&(t=1e13),a(t),function(t){return void 0!==t.x1&&(t.x1=r(t.x1)),void 0!==t.y1&&(t.y1=r(t.y1)),void 0!==t.x2&&(t.x2=r(t.x2)),void 0!==t.y2&&(t.y2=r(t.y2)),void 0!==t.x&&(t.x=r(t.x)),void 0!==t.y&&(t.y=r(t.y)),void 0!==t.rX&&(t.rX=r(t.rX)),void 0!==t.rY&&(t.rY=r(t.rY)),t}},t.TO_ABS=r,t.TO_REL=function(){return u(function(t,r,e){return t.relative||(void 0!==t.x1&&(t.x1-=r),void 0!==t.y1&&(t.y1-=e),void 0!==t.x2&&(t.x2-=r),void 0!==t.y2&&(t.y2-=e),void 0!==t.x&&(t.x-=r),void 0!==t.y&&(t.y-=e),t.relative=!0),t})},t.NORMALIZE_HVZ=function(t,r,e){return void 0===t&&(t=!0),void 0===r&&(r=!0),void 0===e&&(e=!0),u(function(i,a,n,o,s){if(isNaN(o)&&!(i.type&f.MOVE_TO))throw new Error("path must start with moveto");return r&&i.type&f.HORIZ_LINE_TO&&(i.type=f.LINE_TO,i.y=i.relative?0:n),e&&i.type&f.VERT_LINE_TO&&(i.type=f.LINE_TO,i.x=i.relative?0:a),t&&i.type&f.CLOSE_PATH&&(i.type=f.LINE_TO,i.x=i.relative?o-a:o,i.y=i.relative?s-n:s),i.type&f.ARC&&(0===i.rX||0===i.rY)&&(i.type=f.LINE_TO,delete i.rX,delete i.rY,delete i.xRot,delete i.lArcFlag,delete i.sweepFlag),i})},t.NORMALIZE_ST=e,t.QT_TO_C=n,t.INFO=u,t.SANITIZE=function(t){void 0===t&&(t=0),a(t);var r=NaN,e=NaN,i=NaN,n=NaN;return u(function(a,o,s,u,h){var c=Math.abs,y=!1,p=0,m=0;if(a.type&f.SMOOTH_CURVE_TO&&(p=isNaN(r)?0:o-r,m=isNaN(e)?0:s-e),a.type&(f.CURVE_TO|f.SMOOTH_CURVE_TO)?(r=a.relative?o+a.x2:a.x2,e=a.relative?s+a.y2:a.y2):(r=NaN,e=NaN),a.type&f.SMOOTH_QUAD_TO?(i=isNaN(i)?o:2*o-i,n=isNaN(n)?s:2*s-n):a.type&f.QUAD_TO?(i=a.relative?o+a.x1:a.x1,n=a.relative?s+a.y1:a.y2):(i=NaN,n=NaN),a.type&f.LINE_COMMANDS||a.type&f.ARC&&(0===a.rX||0===a.rY||!a.lArcFlag)||a.type&f.CURVE_TO||a.type&f.SMOOTH_CURVE_TO||a.type&f.QUAD_TO||a.type&f.SMOOTH_QUAD_TO){var O=void 0===a.x?0:a.relative?a.x:a.x-o,T=void 0===a.y?0:a.relative?a.y:a.y-s;p=isNaN(i)?void 0===a.x1?p:a.relative?a.x:a.x1-o:i-o,m=isNaN(n)?void 0===a.y1?m:a.relative?a.y:a.y1-s:n-s;var l=void 0===a.x2?0:a.relative?a.x:a.x2-o,v=void 0===a.y2?0:a.relative?a.y:a.y2-s;c(O)<=t&&c(T)<=t&&c(p)<=t&&c(m)<=t&&c(l)<=t&&c(v)<=t&&(y=!0)}return a.type&f.CLOSE_PATH&&c(o-u)<=t&&c(s-h)<=t&&(y=!0),y?[]:a})},t.MATRIX=O,t.ROTATE=function(t,r,e){void 0===r&&(r=0),void 0===e&&(e=0),a(t,r,e);var i=Math.sin(t),n=Math.cos(t);return O(n,i,-i,n,r-r*n+e*i,e-r*i-e*n)},t.TRANSLATE=function(t,r){return void 0===r&&(r=0),a(t,r),O(1,0,0,1,t,r)},t.SCALE=function(t,r){return void 0===r&&(r=t),a(t,r),O(t,0,0,r,0,0)},t.SKEW_X=function(t){return a(t),O(1,0,Math.atan(t),1,0,0)},t.SKEW_Y=function(t){return a(t),O(1,Math.atan(t),0,1,0,0)},t.X_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),a(t),O(-1,0,0,1,t,0)},t.Y_AXIS_SYMMETRY=function(t){return void 0===t&&(t=0),a(t),O(1,0,0,-1,0,t)},t.A_TO_C=function(){return u(function(t,r,e){return f.ARC===t.type?(function(t,r,e){var a,n,s,u;t.cX||o(t,r,e);for(var y=Math.min(t.phi1,t.phi2),p=Math.max(t.phi1,t.phi2)-y,m=Math.ceil(p/90),O=new Array(m),T=r,l=e,v=0;v<m;v++){var _=c(t.phi1,t.phi2,v/m),N=c(t.phi1,t.phi2,(v+1)/m),d=N-_,x=1.3333333333333333*Math.tan(d*h/4),A=[Math.cos(_*h)-x*Math.sin(_*h),Math.sin(_*h)+x*Math.cos(_*h)],E=A[0],C=A[1],M=[Math.cos(N*h),Math.sin(N*h)],R=M[0],g=M[1],S=[R+x*Math.sin(N*h),g-x*Math.cos(N*h)],I=S[0],L=S[1];O[v]={relative:t.relative,type:f.CURVE_TO};var U=function(r,e){var a=i([r*t.rX,e*t.rY],t.xRot),n=a[0],o=a[1];return[t.cX+n,t.cY+o]};a=U(E,C),O[v].x1=a[0],O[v].y1=a[1],n=U(I,L),O[v].x2=n[0],O[v].y2=n[1],s=U(R,g),O[v].x=s[0],O[v].y=s[1],t.relative&&(O[v].x1-=T,O[v].y1-=l,O[v].x2-=T,O[v].y2-=l,O[v].x-=T,O[v].y-=l),T=(u=[O[v].x,O[v].y])[0],l=u[1]}return O})(t,t.relative?0:r,t.relative?0:e):t})},t.ANNOTATE_ARCS=function(){return u(function(t,r,e){return t.relative&&(r=0,e=0),f.ARC===t.type&&o(t,r,e),t})},t.CLONE=function(){return function(t){var r={};for(var e in t)r[e]=t[e];return r}},t.CALCULATE_BOUNDS=function(){var t=function(t){var r={};for(var e in t)r[e]=t[e];return r},i=r(),a=n(),h=e(),c=u(function(r,e,n){var u=h(a(i(t(r))));function O(t){t>c.maxX&&(c.maxX=t),t<c.minX&&(c.minX=t)}function T(t){t>c.maxY&&(c.maxY=t),t<c.minY&&(c.minY=t)}if(u.type&f.DRAWING_COMMANDS&&(O(e),T(n)),u.type&f.HORIZ_LINE_TO&&O(u.x),u.type&f.VERT_LINE_TO&&T(u.y),u.type&f.LINE_TO&&(O(u.x),T(u.y)),u.type&f.CURVE_TO){O(u.x),T(u.y);for(var l=0,v=p(e,u.x1,u.x2,u.x);l<v.length;l++)0<(V=v[l])&&1>V&&O(m(e,u.x1,u.x2,u.x,V));for(var _=0,N=p(n,u.y1,u.y2,u.y);_<N.length;_++)0<(V=N[_])&&1>V&&T(m(n,u.y1,u.y2,u.y,V))}if(u.type&f.ARC){O(u.x),T(u.y),o(u,e,n);for(var d=u.xRot/180*Math.PI,x=Math.cos(d)*u.rX,A=Math.sin(d)*u.rX,E=-Math.sin(d)*u.rY,C=Math.cos(d)*u.rY,M=u.phi1<u.phi2?[u.phi1,u.phi2]:-180>u.phi2?[u.phi2+360,u.phi1+360]:[u.phi2,u.phi1],R=M[0],g=M[1],S=function(t){var r=t[0],e=t[1],i=180*Math.atan2(e,r)/Math.PI;return i<R?i+360:i},I=0,L=s(E,-x,0).map(S);I<L.length;I++)(V=L[I])>R&&V<g&&O(y(u.cX,x,E,V));for(var U=0,H=s(C,-A,0).map(S);U<H.length;U++){var V;(V=H[U])>R&&V<g&&T(y(u.cY,A,C,V))}}return r});return c.minX=1/0,c.maxX=-1/0,c.minY=1/0,c.maxY=-1/0,c}})(u||(_e.SVGPathDataTransformer=u={}));var O,T=(function(){function t(){}return t.prototype.round=function(t){return this.transform(u.ROUND(t))},t.prototype.toAbs=function(){return this.transform(u.TO_ABS())},t.prototype.toRel=function(){return this.transform(u.TO_REL())},t.prototype.normalizeHVZ=function(t,r,e){return this.transform(u.NORMALIZE_HVZ(t,r,e))},t.prototype.normalizeST=function(){return this.transform(u.NORMALIZE_ST())},t.prototype.qtToC=function(){return this.transform(u.QT_TO_C())},t.prototype.aToC=function(){return this.transform(u.A_TO_C())},t.prototype.sanitize=function(t){return this.transform(u.SANITIZE(t))},t.prototype.translate=function(t,r){return this.transform(u.TRANSLATE(t,r))},t.prototype.scale=function(t,r){return this.transform(u.SCALE(t,r))},t.prototype.rotate=function(t,r,e){return this.transform(u.ROTATE(t,r,e))},t.prototype.matrix=function(t,r,e,i,a,n){return this.transform(u.MATRIX(t,r,e,i,a,n))},t.prototype.skewX=function(t){return this.transform(u.SKEW_X(t))},t.prototype.skewY=function(t){return this.transform(u.SKEW_Y(t))},t.prototype.xSymmetry=function(t){return this.transform(u.X_AXIS_SYMMETRY(t))},t.prototype.ySymmetry=function(t){return this.transform(u.Y_AXIS_SYMMETRY(t))},t.prototype.annotateArcs=function(){return this.transform(u.ANNOTATE_ARCS())},t})(),l=function(t){return" "===t||"\t"===t||"\r"===t||"\n"===t},v=function(t){return"0".charCodeAt(0)<=t.charCodeAt(0)&&t.charCodeAt(0)<="9".charCodeAt(0)},_=_e.SVGPathDataParser=(function(t){function e(){var r=t.call(this)||this;return r.curNumber="",r.curCommandType=-1,r.curCommandRelative=!1,r.canParseCommandOrComma=!0,r.curNumberHasExp=!1,r.curNumberHasExpDigits=!1,r.curNumberHasDecimal=!1,r.curArgs=[],r}return r(e,t),e.prototype.finish=function(t){if(void 0===t&&(t=[]),this.parse(" ",t),0!==this.curArgs.length||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t},e.prototype.parse=function(t,r){var e=this;void 0===r&&(r=[]);for(var i=function(t){r.push(t),e.curArgs.length=0,e.canParseCommandOrComma=!0},a=0;a<t.length;a++){var n=t[a],o=!(this.curCommandType!==f.ARC||3!==this.curArgs.length&&4!==this.curArgs.length||1!==this.curNumber.length||"0"!==this.curNumber&&"1"!==this.curNumber),s=v(n)&&("0"===this.curNumber&&"0"===n||o);if(!v(n)||s)if("e"!==n&&"E"!==n)if("-"!==n&&"+"!==n||!this.curNumberHasExp||this.curNumberHasExpDigits)if("."!==n||this.curNumberHasExp||this.curNumberHasDecimal||o){if(this.curNumber&&-1!==this.curCommandType){var u=Number(this.curNumber);if(isNaN(u))throw new SyntaxError("Invalid number ending at "+a);if(this.curCommandType===f.ARC)if(0===this.curArgs.length||1===this.curArgs.length){if(0>u)throw new SyntaxError('Expected positive number, got "'+u+'" at index "'+a+'"')}else if((3===this.curArgs.length||4===this.curArgs.length)&&"0"!==this.curNumber&&"1"!==this.curNumber)throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+a+'"');this.curArgs.push(u),this.curArgs.length===N[this.curCommandType]&&(f.HORIZ_LINE_TO===this.curCommandType?i({type:f.HORIZ_LINE_TO,relative:this.curCommandRelative,x:u}):f.VERT_LINE_TO===this.curCommandType?i({type:f.VERT_LINE_TO,relative:this.curCommandRelative,y:u}):this.curCommandType===f.MOVE_TO||this.curCommandType===f.LINE_TO||this.curCommandType===f.SMOOTH_QUAD_TO?(i({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),f.MOVE_TO===this.curCommandType&&(this.curCommandType=f.LINE_TO)):this.curCommandType===f.CURVE_TO?i({type:f.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===f.SMOOTH_CURVE_TO?i({type:f.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===f.QUAD_TO?i({type:f.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===f.ARC&&i({type:f.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!l(n))if(","===n&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if("+"!==n&&"-"!==n&&"."!==n)if(s)this.curNumber=n,this.curNumberHasDecimal=!1;else{if(0!==this.curArgs.length)throw new SyntaxError("Unterminated command at index "+a+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+n+'" at index '+a+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,"z"!==n&&"Z"!==n)if("h"===n||"H"===n)this.curCommandType=f.HORIZ_LINE_TO,this.curCommandRelative="h"===n;else if("v"===n||"V"===n)this.curCommandType=f.VERT_LINE_TO,this.curCommandRelative="v"===n;else if("m"===n||"M"===n)this.curCommandType=f.MOVE_TO,this.curCommandRelative="m"===n;else if("l"===n||"L"===n)this.curCommandType=f.LINE_TO,this.curCommandRelative="l"===n;else if("c"===n||"C"===n)this.curCommandType=f.CURVE_TO,this.curCommandRelative="c"===n;else if("s"===n||"S"===n)this.curCommandType=f.SMOOTH_CURVE_TO,this.curCommandRelative="s"===n;else if("q"===n||"Q"===n)this.curCommandType=f.QUAD_TO,this.curCommandRelative="q"===n;else if("t"===n||"T"===n)this.curCommandType=f.SMOOTH_QUAD_TO,this.curCommandRelative="t"===n;else{if("a"!==n&&"A"!==n)throw new SyntaxError('Unexpected character "'+n+'" at index '+a+".");this.curCommandType=f.ARC,this.curCommandRelative="a"===n}else r.push({type:f.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=n,this.curNumberHasDecimal="."===n}else this.curNumber+=n,this.curNumberHasDecimal=!0;else this.curNumber+=n;else this.curNumber+=n,this.curNumberHasExp=!0;else this.curNumber+=n,this.curNumberHasExpDigits=this.curNumberHasExp}return r},e.prototype.transform=function(t){return Object.create(this,{parse:{value:function(r,e){void 0===e&&(e=[]);for(var i=0,a=Object.getPrototypeOf(this).parse.call(this,r);i<a.length;i++){var n=a[i],o=t(n);Array.isArray(o)?e.push.apply(e,o):e.push(o)}return e}}})},e})(T),f=_e.SVGPathData=(function(t){function i(r){var e=t.call(this)||this;return e.commands="string"==typeof r?i.parse(r):r,e}return r(i,t),i.prototype.encode=function(){return i.encode(this.commands)},i.prototype.getBounds=function(){var t=u.CALCULATE_BOUNDS();return this.transform(t),t},i.prototype.transform=function(t){for(var r=[],e=0,i=this.commands;e<i.length;e++){var a=t(i[e]);Array.isArray(a)?r.push.apply(r,a):r.push(a)}return this.commands=r,this},i.encode=function(t){return e(t)},i.parse=function(t){var r=new _,e=[];return r.parse(t,e),r.finish(e),e},i.CLOSE_PATH=1,i.MOVE_TO=2,i.HORIZ_LINE_TO=4,i.VERT_LINE_TO=8,i.LINE_TO=16,i.CURVE_TO=32,i.SMOOTH_CURVE_TO=64,i.QUAD_TO=128,i.SMOOTH_QUAD_TO=256,i.ARC=512,i.LINE_COMMANDS=i.LINE_TO|i.HORIZ_LINE_TO|i.VERT_LINE_TO,i.DRAWING_COMMANDS=i.HORIZ_LINE_TO|i.VERT_LINE_TO|i.LINE_TO|i.CURVE_TO|i.SMOOTH_CURVE_TO|i.QUAD_TO|i.SMOOTH_QUAD_TO|i.ARC,i})(T),N=_e.COMMAND_ARG_COUNTS=((O={})[f.MOVE_TO]=2,O[f.LINE_TO]=2,O[f.HORIZ_LINE_TO]=1,O[f.VERT_LINE_TO]=1,O[f.CLOSE_PATH]=0,O[f.QUAD_TO]=4,O[f.SMOOTH_QUAD_TO]=2,O[f.CURVE_TO]=6,O[f.SMOOTH_CURVE_TO]=4,O[f.ARC]=7,O)},2450,[]);
184__d(function(g,r,i,a,m,e,d){'use strict';var t=r(d[0]).PROPER,n=r(d[1]),u=r(d[2]),o=r(d[3]),c=r(d[4]),s=r(
184d[5]),f='toString',l=RegExp.prototype,p=l[f],R=c(function(){return'/a/b'!==p.call({source:'a',flags:'b'})}),b=t&&p.name!==f;(R||b)&&n(l,f,function(){var t=u(this);return'/'+o(t.source)+'/'+o(s(t))},{unsafe:!0})},2451,[2332,2330,2329,2404,2290,2414]);
185__d(function(_g2,_r2,_i9,_a3,m,_e,d){function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}
186/**
187  * StackBlur - a fast almost Gaussian Blur For Canvas
188  *
189  * In case you find this class useful - especially in commercial projects -
190  * I am not totally unhappy for a small donation to my PayPal account
191  * [email protected]
192  *
193  * Or support me on flattr:
194  * {@link https://flattr.com/thing/72791/StackBlur-a-fast-almost-Gaussian-Blur-Effect-for-CanvasJavascript}.
195  *
196  * @module StackBlur
197  * @author Mario Klingemann
198  * Contact: [email protected]
199  * Website: {@link http://www.quasimondo.com/StackBlurForCanvas/StackBlurDemo.html}
200  * Twitter: @quasimondo
201  *
202  * @copyright (c) 2010 Mario Klingemann
203  *
204  * Permission is hereby granted, free of charge, to any person
205  * obtaining a copy of this software and associated documentation
206  * files (the "Software"), to deal in the Software without
207  * restriction, including without limitation the rights to use,
208  * copy, modify, merge, publish, distribute, sublicense, and/or sell
209  * copies of the Software, and to permit persons to whom the
210  * Software is furnished to do so, subject to the following
211  * conditions:
212  *
213  * The above copyright notice and this permission notice shall be
214  * included in all copies or substantial portions of the Software.
215  *
216  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
217  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
218  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
219  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
220  * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
221  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
222  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
223  * OTHER DEALINGS IN THE SOFTWARE.
224  */Object.defineProperty(_e,"__esModule",{value:!0}),_e.BlurStack=void 0,_e.canvasRGB=f,_e.canvasRGBA=o,_e.image=function(t,r,e,a,n,i){'string'==typeof t&&(t=document.getElementById(t));if(!t||'HTMLImageElement'===Object.prototype.toString.call(t).slice(8,-1)&&!('naturalWidth'in t))return;var g=n?'offset':'natural',c=t[g+'Width'],l=t[g+'Height'];'ImageBitmap'===Object.prototype.toString.call(t).slice(8,-1)&&(c=t.width,l=t.height);'string'==typeof r&&(r=document.getElementById(r));if(!r||!('getContext'in r))return;i||(r.style.width=c+'px',r.style.height=l+'px');r.width=c,r.height=l;var u=r.getContext('2d');if(u.clearRect(0,0,c,l),u.drawImage(t,0,0,t.naturalWidth,t.naturalHeight,0,0,c,l),isNaN(e)||e<1)return;a?o(r,0,0,c,l,e):f(r,0,0,c,l,e)},_e.imageDataRGB=g,_e.imageDataRGBA=i;var e=[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
vendor: 4,756 bytes, line 224
2246,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],a=[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 n(r,e,a,n,o){if('string'==typeof r&&(r=document.getElementById(r)),!r||'object'!==t(r)||!('getContext'in r))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var i=r.getContext('2d');try{return i.getImageData(e,a,n,o)}catch(t){throw new Error('unable to access image data: '+t)}}function o(t,r,e,a,o,f){if(!(isNaN(f)||f<1)){f|=0;var g=n(t,r,e,a,o);g=i(g,r,e,a,o,f),t.getContext('2d').putImageData(g,r,e)}}function i(t,r,n,o,i,f){for(var g,l=t.data,u=2*f+1,v=o-1,s=i-1,b=f+1,x=b*(b+1)/2,y=new c,h=y,p=1;p<u;p++)h=h.next=new c,p===b&&(g=h);h.next=y;for(var w=null,B=null,C=0,I=0,S=e[f],E=a[f],N=0;N<i;N++){h=y;for(var R=l[I],D=l[I+1],G=l[I+2],j=l[I+3],_=0;_<b;_++)h.r=R,h.g=D,h.b=G,h.a=j,h=h.next;for(var A=0,H=0,O=0,T=0,W=b*R,k=b*D,M=b*G,L=b*j,P=x*R,q=x*D,z=x*G,F=x*j,J=1;J<b;J++){var K=I+((v<J?v:J)<<2),Q=l[K],U=l[K+1],V=l[K+2],X=l[K+3],Y=b-J;P+=(h.r=Q)*Y,q+=(h.g=U)*Y,z+=(h.b=V)*Y,F+=(h.a=X)*Y,A+=Q,H+=U,O+=V,T+=X,h=h.next}w=y,B=g;for(var Z=0;Z<o;Z++){var $=F*S>>>E;if(l[I+3]=$,0!==$){var tt=255/$;l[I]=(P*S>>>E)*tt,l[I+1]=(q*S>>>E)*tt,l[I+2]=(z*S>>>E)*tt}else l[I]=l[I+1]=l[I+2]=0;P-=W,q-=k,z-=M,F-=L,W-=w.r,k-=w.g,M-=w.b,L-=w.a;var rt=Z+f+1;rt=C+(rt<v?rt:v)<<2,P+=A+=w.r=l[rt],q+=H+=w.g=l[rt+1],z+=O+=w.b=l[rt+2],F+=T+=w.a=l[rt+3],w=w.next;var et=B,at=et.r,nt=et.g,ot=et.b,it=et.a;W+=at,k+=nt,M+=ot,L+=it,A-=at,H-=nt,O-=ot,T-=it,B=B.next,I+=4}C+=o}for(var ft=0;ft<o;ft++){var gt=l[I=ft<<2],ct=l[I+1],lt=l[I+2],ut=l[I+3],vt=b*gt,st=b*ct,bt=b*lt,xt=b*ut,yt=x*gt,ht=x*ct,mt=x*lt,dt=x*ut;h=y;for(var pt=0;pt<b;pt++)h.r=gt,h.g=ct,h.b=lt,h.a=ut,h=h.next;for(var wt=o,Bt=0,Ct=0,It=0,St=0,Et=1;Et<=f;Et++){I=wt+ft<<2;var Nt=b-Et;yt+=(h.r=gt=l[I])*Nt,ht+=(h.g=ct=l[I+1])*Nt,mt+=(h.b=lt=l[I+2])*Nt,dt+=(h.a=ut=l[I+3])*Nt,St+=gt,Bt+=ct,Ct+=lt,It+=ut,h=h.next,Et<s&&(wt+=o)}I=ft,w=y,B=g;for(var Rt=0;Rt<i;Rt++){var Dt=I<<2;l[Dt+3]=ut=dt*S>>>E,ut>0?(ut=255/ut,l[Dt]=(yt*S>>>E)*ut,l[Dt+1]=(ht*S>>>E)*ut,l[Dt+2]=(mt*S>>>E)*ut):l[Dt]=l[Dt+1]=l[Dt+2]=0,yt-=vt,ht-=st,mt-=bt,dt-=xt,vt-=w.r,st-=w.g,bt-=w.b,xt-=w.a,Dt=ft+((Dt=Rt+b)<s?Dt:s)*o<<2,yt+=St+=w.r=l[Dt],ht+=Bt+=w.g=l[Dt+1],mt+=Ct+=w.b=l[Dt+2],dt+=It+=w.a=l[Dt+3],w=w.next,vt+=gt=B.r,st+=ct=B.g,bt+=lt=B.b,xt+=ut=B.a,St-=gt,Bt-=ct,Ct-=lt,It-=ut,B=B.next,I+=o}}return t}function f(t,r,e,a,o,i){if(!(isNaN(i)||i<1)){i|=0;var f=n(t,r,e,a,o);f=g(f,r,e,a,o,i),t.getContext('2d').putImageData(f,r,e)}}function g(t,r,n,o,i,f){for(var g,l=t.data,u=2*f+1,v=o-1,s=i-1,b=f+1,x=b*(b+1)/2,y=new c,h=y,p=1;p<u;p++)h=h.next=new c,p===b&&(g=h);h.next=y;for(var w,B,C=null,I=null,S=e[f],E=a[f],N=0,R=0,D=0;D<i;D++){var G=l[R],j=l[R+1],_=l[R+2],A=b*G,H=b*j,O=b*_,T=x*G,W=x*j,k=x*_;h=y;for(var M=0;M<b;M++)h.r=G,h.g=j,h.b=_,h=h.next;for(var L=0,P=0,q=0,z=1;z<b;z++)w=R+((v<z?v:z)<<2),T+=(h.r=G=l[w])*(B=b-z),W+=(h.g=j=l[w+1])*B,k+=(h.b=_=l[w+2])*B,L+=G,P+=j,q+=_,h=h.next;C=y,I=g;for(var F=0;F<o;F++)l[R]=T*S>>>E,l[R+1]=W*S>>>E,l[R+2]=k*S>>>E,T-=A,W-=H,k-=O,A-=C.r,H-=C.g,O-=C.b,w=N+((w=F+f+1)<v?w:v)<<2,T+=L+=C.r=l[w],W+=P+=C.g=l[w+1],k+=q+=C.b=l[w+2],C=C.next,A+=G=I.r,H+=j=I.g,O+=_=I.b,L-=G,P-=j,q-=_,I=I.next,R+=4;N+=o}for(var J=0;J<o;J++){var K=l[R=J<<2],Q=l[R+1],U=l[R+2],V=b*K,X=b*Q,Y=b*U,Z=x*K,$=x*Q,tt=x*U;h=y;for(var rt=0;rt<b;rt++)h.r=K,h.g=Q,h.b=U,h=h.next;for(var et=0,at=0,nt=0,ot=1,it=o;ot<=f;ot++)R=it+J<<2,Z+=(h.r=K=l[R])*(B=b-ot),$+=(h.g=Q=l[R+1])*B,tt+=(h.b=U=l[R+2])*B,et+=K,at+=Q,nt+=U,h=h.next,ot<s&&(it+=o);R=J,C=y,I=g;for(var ft=0;ft<i;ft++)l[w=R<<2]=Z*S>>>E,l[w+1]=$*S>>>E,l[w+2]=tt*S>>>E,Z-=V,$-=X,tt-=Y,V-=C.r,X-=C.g,Y-=C.b,w=J+((w=ft+b)<s?w:s)*o<<2,Z+=et+=C.r=l[w],$+=at+=C.g=l[w+1],tt+=nt+=C.b=l[w+2],C=C.next,V+=K=I.r,X+=Q=I.g,Y+=U=I.b,et-=K,at-=Q,nt-=U,I=I.next,R+=o}return t}var c=_e.BlurStack=function t(){r(this,t),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null}},2452,[]);

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.