PageSourceSearch

https://www.houstonmedtech.org/_nuxt/5qdtyU2R.js

js houstonmedtech.org collected 2026-10-06 22:49:45 UTC 153,354 bytes, 5 lines download raw bytes

vendor: 6,692 bytes, line 1
1import{o as Kr,t as m}from"./BNNRdYrd.js";var K=m(((a,e)=>{var t=function(r){return r&&r.Math===Math&&r};e.exports=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof global=="object"&&global)||t(typeof a=="object"&&a)||(function(){return this})()||Function("return this")()})),J=m(((a,e)=>{e.exports=function(t){try{return!!t()}catch{return!0}}})),we=m(((a,e)=>{var t=J();e.exports=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})})),Nt=m(((a,e)=>{var t=J();e.exports=!t(function(){var r=function(){}.bind();return typeof r!="function"||r.hasOwnProperty("prototype")})})),ue=m(((a,e)=>{var t=Nt(),r=Function.prototype.call;e.exports=t?r.bind(r):function(){return r.apply(r,arguments)}})),Wa=m((a=>{var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);a.f=r?function(n){var o=t(this,n);return!!o&&o.enumerable}:e})),lr=m(((a,e)=>{e.exports=function(t,r){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:r}}})),ee=m(((a,e)=>{var t=Nt(),r=Function.prototype,i=r.call,n=t&&r.bind.bind(i,i);e.exports=t?n:function(o){return function(){return i.apply(o,arguments)}}})),We=m(((a,e)=>{var t=ee(),r=t({}.toString),i=t("".slice);e.exports=function(n){return i(r(n),8,-1)}})),Jr=m(((a,e)=>{var t=ee(),r=J(),i=We(),n=Object,o=t("".split);e.exports=r(function(){return!n("z").propertyIsEnumerable(0)})?function(s){return i(s)==="String"?o(s,""):n(s)}:n})),It=m(((a,e)=>{e.exports=function(t){return t==null}})),Ce=m(((a,e)=>{var t=It(),r=TypeError;e.exports=function(i){if(t(i))throw new r("Can't call method on "+i);return i}})),ct=m(((a,e)=>{var t=Jr(),r=Ce();e.exports=function(i){return t(r(i))}})),re=m(((a,e)=>{var t=typeof document=="object"&&document.all;e.exports=typeof t>"u"&&t!==void 0?function(r){return typeof r=="function"||r===t}:function(r){return typeof r=="function"}})),de=m(((a,e)=>{var t=re();e.exports=function(r){return typeof r=="object"?r!==null:t(r)}})),Qe=m(((a,e)=>{var t=K(),r=re(),i=function(n){return r(n)?n:void 0};e.exports=function(n,o){return arguments.length<2?i(t[n]):t[n]&&t[n][o]}})),Mt=m(((a,e)=>{var t=ee();e.exports=t({}.isPrototypeOf)})),ft=m(((a,e)=>{var t=K().navigator,r=t&&t.userAgent;e.exports=r?String(r):""})),hr=m(((a,e)=>{var t=K(),r=ft(),i=t.process,n=t.Deno,o=i&&i.versions||n&&n.version,s=o&&o.v8,u,l;s&&(u=s.split("."),l=u[0]>0&&u[0]<4?1:+(u[0]+u[1])),!l&&r&&(u=r.match(/Edge\/(\d+)/),(!u||u[1]>=74)&&(u=r.match(/Chrome\/(\d+)/),u&&(l=+u[1]))),e.exports=l})),ea=m(((a,e)=>{var t=hr(),r=J(),i=K().String;e.exports=!!Object.getOwnPropertySymbols&&!r(function(){var n=Symbol("symbol detection");return!i(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&t&&t<41})})),ta=m(((a,e)=>{var t=ea();e.exports=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol"})),ra=m(((a,e)=>{var t=Qe(),r=re(),i=Mt(),n=ta(),o=Object;e.exports=n?function(s){return typeof s=="symbol"}:function(s){var u=t("Symbol");return r(u)&&i(u.prototype,o(s))}})),Vt=m(((a,e)=>{var t=String;e.exports=function(r){try{return t(r)}catch{return"Object"}}})),ze=m(((a,e)=>{var t=re(),r=Vt(),i=TypeError;e.exports=function(n){if(t(n))return n;throw new i(r(n)+" is not a function")}})),et=m(((a,e)=>{var t=ze(),r=It();e.exports=function(i,n){var o=i[n];return r(o)?void 0:t(o)}})),Qa=m(((a,e)=>{var t=ue(),r=re(),i=de(),n=TypeError;e.exports=function(o,s){var u,l;if(s==="string"&&r(u=o.toString)&&!i(l=t(u,o))||r(u=o.valueOf)&&!i(l=t(u,o))||s!=="string"&&r(u=o.toString)&&!i(l=t(u,o)))return l;throw new n("Can't convert object to primitive value")}})),ke=m(((a,e)=>{e.exports=!1})),vr=m(((a,e)=>{var t=K(),r=Object.defineProperty;e.exports=function(i,n){try{r(t,i,{value:n,configurable:!0,writable:!0})}catch{t[i]=n}return n}})),cr=m(((a,e)=>{var t=ke(),r=K(),i=vr(),n="__core-js_shared__",o=e.exports=r[n]||i(n,{});(o.versions||(o.versions=[])).push({version:"3.49.0",mode:t?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),fr=m(((a,e)=>{var t=cr();e.exports=function(r,i){return t[r]||(t[r]=i||{})}})),kt=m(((a,e)=>{var t=Ce(),r=Object;e.exports=function(i){return r(t(i))}})),Pe=m(((a,e)=>{var t=ee(),r=kt(),i=t({}.hasOwnProperty);e.exports=Object.hasOwn||function(o,s){return i(r(o),s)}})),aa=m(((a,e)=>{var t=ee(),r=0,i=Math.random(),n=t(1.1.toString);e.exports=function(o){return"Symbol("+(o===void 0?"":o)+")_"+n(++r+i,36)}})),se=m(((a,e)=>{var t=K(),r=fr(),i=Pe(),n=aa(),o=ea(),s=ta(),u=t.Symbol,l=r("wks"),h=s?u.for||u:u&&u.withoutSetter||n;e.exports=function(c){return i(l,c)||(l[c]=o&&i(u,c)?u[c]:h("Symbol."+c)),l[c]}})),Za=m(((a,e)=>{var t=ue(),r=de(),i=ra(),n=et(),o=Qa(),s=se(),u=TypeError,l=s("toPrimitive");e.exports=function(h,c){if(!r(h)||i(h))return h;var v=n(h,l),f;if(v){if(c===void 0&&(c="default"),f=t(v,h,c),!r(f)||i(f))return f;throw new u("Can't convert object to primitive value")}return c===void 0&&(c="number"),o(h,c)}})),ia=m(((a,e)=>{var t=Za(),r=ra();e.exports=function(i){var n=t(i,"string");return r(n)?n:n+""}})),Dt=m(((a,e)=>{var t=K(),r=de(),i=t.document,n=r(i)&&r(i.createElement);e.exports=function(o){return n?i.createElement(o):{}}})),na=m(((a,e)=>{var t=we(),r=J(),i=Dt();e.exports=!t&&!r(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!==7})})),Lt=m((a=>{var e=we(),t=ue(),r=Wa(),i=lr(),n=ct(),o=ia(),s=Pe(),u=na(),l=Object.getOwnPropertyDescriptor;a.f=e?l:function(c,v){if(c=n(c),v=o(v),u)try{return l(c,v)}catch{}if(s(c,v))return i(!t(r.f,c,v),c[v])}})),sa=m(((a,e)=>{var t=we(),r=J();e.exports=t&&r(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})})),he=m(((a,e)=>{var t=de(),r=String,i=TypeError;e.exports=function(n){if(t(n))return n;throw new i(r(n)+" is not an object")}})),He=m((a=>{var e=we(),t=na(),r=sa(),i=he(),n=ia(),o=TypeError,s=Object.defineProperty,u=Object.getOwnPropertyDescriptor,l="enumerable",h="configurable",c="writable";a.f=e?r?function(f,p,g){if(i(f),p=n(p),i(g),typeof f=="function"&&p==="prototype"&&"value"in g&&c in g&&!g[c]){var y=u(f,p);y&&y[c]&&(f[p]=g.value,g={configurable:h in g?g[h]:y[h],enumerable:l in g?g[l]:y[l],writable:!1})}return s(f,p,g)}:s:function(f,p,g){if(i(f),p=n(p),i(g),t)try{return s(f,p,g)}catch{}if("get"in g||"set"in g)throw new o("Accessors not supported");return"value"in g&&(f[p]=g.value),f}})),gt=m(((a,e)=>{var t=we(),r=He(),i=lr();e.exports=t?function(n,o,s){return r.f(n,o,i(1,s))}:function(n,o,s){return n[o]=s,n}})),qt=m(((a,e)=>
vendor: 4,207 bytes, line 1
1{var t=we(),r=Pe(),i=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=r(i,"name"),s=o&&function(){}.name==="something",u=o&&(!t||t&&n(i,"name").configurable);e.exports={EXISTS:o,PROPER:s,CONFIGURABLE:u}})),gr=m(((a,e)=>{var t=ee(),r=re(),i=cr(),n=t(Function.toString);r(i.inspectSource)||(i.inspectSource=function(o){return n(o)}),e.exports=i.inspectSource})),Ka=m(((a,e)=>{var t=K(),r=re(),i=t.WeakMap;e.exports=r(i)&&/native code/.test(String(i))})),pr=m(((a,e)=>{var t=fr(),r=aa(),i=t("keys");e.exports=function(n){return i[n]||(i[n]=r(n))}})),dr=m(((a,e)=>{e.exports={}})),jt=m(((a,e)=>{var t=Ka(),r=K(),i=de(),n=gt(),o=Pe(),s=cr(),u=pr(),l=dr(),h="Object already initialized",c=r.TypeError,v=r.WeakMap,f,p,g,y=function(x){return g(x)?p(x):f(x,{})},d=function(x){return function(T){var E;if(!i(T)||(E=p(T)).type!==x)throw new c("Incompatible receiver, "+x+" required");return E}};if(t||s.state){var _=s.state||(s.state=new v);_.get=_.get,_.has=_.has,_.set=_.set,f=function(x,T){if(_.has(x))throw new c(h);return T.facade=x,_.set(x,T),T},p=function(x){return _.get(x)||{}},g=function(x){return _.has(x)}}else{var b=u("state");l[b]=!0,f=function(x,T){if(o(x,b))throw new c(h);return T.facade=x,n(x,b,T),T},p=function(x){return o(x,b)?x[b]:{}},g=function(x){return o(x,b)}}e.exports={set:f,get:p,has:g,enforce:y,getterFor:d}})),oa=m(((a,e)=>{var t=ee(),r=J(),i=re(),n=Pe(),o=we(),s=qt().CONFIGURABLE,u=gr(),l=jt(),h=l.enforce,c=l.get,v=String,f=Object.defineProperty,p=t("".slice),g=t("".replace),y=t([].join),d=o&&!r(function(){return f(function(){},"length",{value:8}).length!==8}),_=String(String).split("String"),b=e.exports=function(x,T,E){p(v(T),0,7)==="Symbol("&&(T="["+g(v(T),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),E&&E.getter&&(T="get "+T),E&&E.setter&&(T="set "+T),(!n(x,"name")||s&&x.name!==T)&&(o?f(x,"name",{value:T,configurable:!0}):x.name=T),d&&E&&n(E,"arity")&&x.length!==E.arity&&f(x,"length",{value:E.arity});try{E&&n(E,"constructor")&&E.constructor?o&&f(x,"prototype",{writable:!1}):x.prototype&&(x.prototype=void 0)}catch{}var S=h(x);return n(S,"source")||(S.source=y(_,typeof T=="string"?T:"")),x};Function.prototype.toString=b(function(){return i(this)&&c(this).source||u(this)},"toString")})),Ze=m(((a,e)=>{var t=re(),r=He(),i=oa(),n=vr();e.exports=function(o,s,u,l){l||(l={});var h=l.enumerable,c=l.name!==void 0?l.name:s;if(t(u)&&i(u,c,l),l.global)h?o[s]=u:n(s,u);else{try{l.unsafe?o[s]&&(h=!0):delete o[s]}catch{}h?o[s]=u:r.f(o,s,{value:u,enumerable:!1,configurable:!l.nonConfigurable,writable:!l.nonWritable})}return o}})),Ja=m(((a,e)=>{var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(n){var o=+n;return(o>0?r:t)(o)}})),Bt=m(((a,e)=>{var t=Ja();e.exports=function(r){var i=+r;return i!==i||i===0?0:t(i)}})),ei=m(((a,e)=>{var t=Bt(),r=Math.max,i=Math.min;e.exports=function(n,o){var s=t(n);return s<0?r(s+o,0):i(s,o)}})),tt=m(((a,e)=>{var t=Bt(),r=Math.min;e.exports=function(i){var n=t(i);return n>0?r(n,9007199254740991):0}})),yr=m(((a,e)=>{var t=tt();e.exports=function(r){return t(r.length)}})),ua=m(((a,e)=>{var t=ct(),r=ei(),i=yr(),n=function(o){return function(s,u,l){var h=t(s),c=i(h);if(c===0)return!o&&-1;var v=r(l,c),f;if(o&&u!==u){for(;c>v;)if(f=h[v++],f!==f)return!0}else for(;c>v;v++)if((o||v in h)&&h[v]===u)return o||v||0;return!o&&-1}};e.exports={includes:n(!0),indexOf:n(!1)}})),la=m(((a,e)=>{var t=ee(),r=Pe(),i=ct(),n=ua().indexOf,o=dr(),s=t([].push);e.exports=function(u,l){var h=i(u),c=0,v=[],f;for(f in h)!r(o,f)&&r(h,f)&&s(v,f);for(;l.length>c;)r(h,f=l[c++])&&(~n(v,f)||s(v,f));return v}})),mr=m(((a,e)=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),ti=m((a=>{var e=la(),t=mr().concat("length","prototype");a.f=Object.getOwnPropertyNames||function(i){return e(i,t)}})),ri=m((a=>{a.f=Object.getOwnPropertySymbols})),ai=m(((a,e)=>{var t=Qe(),r=ee(),i=ti(),n=ri(),o=he(),s=r([].concat);e.exports=t("Reflect","ownKeys")||function(l){var h=i.f(o(l)),c=n.f;return c?s(h,c(l)):h}})),ii=m(((a,e)=>{var t=Pe(),r=ai(),i=Lt(),n=He();e.exports=function(o,s,u){for(var l=r(s),h=n.f,c=i.f,v=0;v<l.length;v++){var f=l[v];!t(o,f)&&!(u&&t(u,f))&&h(o,f,c(s,f))}}})),ha=m(((a,e)=>
1{var t=J(),r=re(),i=/#|\.prototype\./,n=function(h,c){var v=s[o(h)];return v===l?!0:v===u?!1:r(c)?t(c):!!c},o=n.normalize=function(h){return String(h).replace(i,".").toLowerCase()},s=n.data={},u=n.NATIVE="N",l=n.POLYFILL="P";e.exports=n})),ve=m(((a,e)=>{var t=K(),r=Lt().f,i=gt(),n=Ze(),o=vr(),s=ii(),u=ha();e.exports=function(l,h){var c=l.target,v=l.global,f=l.stat,p,g,y,d,_,b;if(v?g=t:f?g=t[c]||o(c,{}):g=t[c]&&t[c].prototype,g)for(y in h){if(_=h[y],l.dontCallGetSet?(b=r(g,y),d=b&&b.value):d=g[y],p=u(v?y:c+(f?".":"#")+y,l.forced),!p&&d!==void 0){if(typeof _==typeof d)continue;s(_,d)}(l.sham||d&&d.sham)&&i(_,"sham",!0),n(g,y,_,l)}}})),va=m(((a,e)=>{var t=K(),r=ft(),i=We(),n=function(o){return r.slice(0,o.length)===o};e.exports=(function(){return n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&typeof Bun.version=="string"?"BUN":t.Deno&&typeof Deno.version=="object"?"DENO":i(t.process)==="process"?"NODE":t.window&&t.document?"BROWSER":"REST"})()})),Ut=m(((a,e)=>{var t=va();e.exports=t==="NODE"})),ni=m(((a,e)=>{var t=K();e.exports=t})),si=m(((a,e)=>{var t=ee(),r=ze();e.exports=function(i,n,o){try{return t(r(Object.getOwnPropertyDescriptor(i,n)[o]))}catch{}}})),oi=m(((a,e)=>{var t=de();e.exports=function(r){return t(r)||r===null}})),ui=m(((a,e)=>{var t=oi(),r=String,i=TypeError;e.exports=function(n){if(t(n))return n;throw new i("Can't set "+r(n)+" as a prototype")}})),ca=m(((a,e)=>{var t=si(),r=de(),i=Ce(),n=ui();
vendor: 31,734 bytes, lines 1-4
1e.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var o=!1,s={},u;try{u=t(Object.prototype,"__proto__","set"),u(s,[]),o=s instanceof Array}catch{}return function(h,c){return i(h),n(c),r(h)&&(o?u(h,c):h.__proto__=c),h}})():void 0)})),Ft=m(((a,e)=>{var t=He().f,r=Pe(),i=se()("toStringTag");e.exports=function(n,o,s){n&&!s&&(n=n.prototype),n&&!r(n,i)&&t(n,i,{configurable:!0,value:o})}})),li=m(((a,e)=>{var t=oa(),r=He();e.exports=function(i,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),r.f(i,n,o)}})),hi=m(((a,e)=>{var t=Qe(),r=li(),i=se(),n=we(),o=i("species");e.exports=function(s){var u=t(s);n&&u&&!u[o]&&r(u,o,{configurable:!0,get:function(){return this}})}})),vi=m(((a,e)=>{var t=Mt(),r=TypeError;e.exports=function(i,n){if(t(n,i))return i;throw new r("Incorrect invocation")}})),ci=m(((a,e)=>{var t=se()("toStringTag"),r={};r[t]="z",e.exports=String(r)==="[object z]"})),xr=m(((a,e)=>{var t=ci(),r=re(),i=We(),n=se()("toStringTag"),o=Object,s=i((function(){return arguments})())==="Arguments",u=function(l,h){try{return l[h]}catch{}};e.exports=t?i:function(l){var h,c,v;return l===void 0?"Undefined":l===null?"Null":typeof(c=u(h=o(l),n))=="string"?c:s?i(h):(v=i(h))==="Object"&&r(h.callee)?"Arguments":v}})),fi=m(((a,e)=>{var t=ee(),r=J(),i=re(),n=xr(),o=Qe(),s=gr(),u=function(){},l=o("Reflect","construct"),h=/^\s*(?:class|function)\b/,c=t(h.exec),v=!h.test(u),f=function(y){if(!i(y))return!1;try{return l(u,[],y),!0}catch{return!1}},p=function(y){if(!i(y))return!1;switch(n(y)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!c(h,s(y))}catch{return!0}};p.sham=!0,e.exports=!l||r(function(){var g;return f(f.call)||!f(Object)||!f(function(){g=!0})||g})?p:f})),gi=m(((a,e)=>{var t=fi(),r=Vt(),i=TypeError;e.exports=function(n){if(t(n))return n;throw new i(r(n)+" is not a constructor")}})),fa=m(((a,e)=>{var t=he(),r=gi(),i=It(),n=se()("species");e.exports=function(o,s){var u=t(o).constructor,l;return u===void 0||i(l=t(u)[n])?s:r(l)}})),ga=m(((a,e)=>{var t=Nt(),r=Function.prototype,i=r.apply,n=r.call;e.exports=typeof Reflect=="object"&&Reflect.apply||(t?n.bind(i):function(){return n.apply(i,arguments)})})),zt=m(((a,e)=>{var t=We(),r=ee();e.exports=function(i){if(t(i)==="Function")return r(i)}})),br=m(((a,e)=>{var t=zt(),r=ze(),i=Nt(),n=t(t.bind);e.exports=function(o,s){return r(o),s===void 0?o:i?n(o,s):function(){return o.apply(s,arguments)}}})),pa=m(((a,e)=>{var t=Qe();e.exports=t("document","documentElement")})),pi=m(((a,e)=>{var t=ee();e.exports=t([].slice)})),di=m(((a,e)=>{var t=TypeError;e.exports=function(r,i){if(r<i)throw new t("Not enough arguments");return r}})),da=m(((a,e)=>{var t=ft();e.exports=/ipad|iphone|ipod/i.test(t)&&/applewebkit/i.test(t)})),ya=m(((a,e)=>{var t=K(),r=ga(),i=br(),n=re(),o=Pe(),s=J(),u=pa(),l=pi(),h=Dt(),c=di(),v=da(),f=Ut(),p=t.setImmediate,g=t.clearImmediate,y=t.process,d=t.Dispatch,_=t.Function,b=t.MessageChannel,x=t.String,T=0,E={},S="onreadystatechange",C,A,N,M;s(function(){C=t.location});var R=function(P){if(o(E,P)){var V=E[P];delete E[P],V()}},q=function(P){return function(){R(P)}},D=function(P){R(P.data)},j=function(P){t.postMessage(x(P),C.protocol+"//"+C.host)};(!p||!g)&&(p=function(V){c(arguments.length,1);var k=n(V)?V:_(V),I=l(arguments,1);return E[++T]=function(){r(k,void 0,I)},A(T),T},g=function(V){delete E[V]},f?A=function(P){y.nextTick(q(P))}:d&&d.now?A=function(P){d.now(q(P))}:b&&!v?(N=new b,M=N.port2,N.port1.onmessage=D,A=i(M.postMessage,M)):t.addEventListener&&n(t.postMessage)&&!t.importScripts&&C&&C.protocol!=="file:"&&!s(j)?(A=j,t.addEventListener("message",D,!1)):S in h("script")?A=function(P){u.appendChild(h("script"))[S]=function(){u.removeChild(this),R(P)}}:A=function(P){setTimeout(q(P),0)}),e.exports={set:p,clear:g}})),yi=m(((a,e)=>{var t=K(),r=we(),i=Object.getOwnPropertyDescriptor;e.exports=function(n){if(!r)return t[n];var o=i(t,n);return o&&o.value}})),ma=m(((a,e)=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(r){var i={item:r,next:null},n=this.tail;n?n.next=i:this.head=i,this.tail=i},get:function(){var r=this.head;if(r)return(this.head=r.next)===null&&(this.tail=null),r.item}},e.exports=t})),mi=m(((a,e)=>{var t=ft();e.exports=/ipad|iphone|ipod/i.test(t)&&typeof Pebble<"u"})),xi=m(((a,e)=>{var t=ft();e.exports=/web0s(?!.*chrome)/i.test(t)})),bi=m(((a,e)=>{var t=K(),r=yi(),i=br(),n=ya().set,o=ma(),s=da(),u=mi(),l=xi(),h=Ut(),c=t.MutationObserver||t.WebKitMutationObserver,v=t.document,f=t.process,p=t.Promise,g=r("queueMicrotask"),y,d,_,b,x;if(!g){var T=new o,E=function(){var S,C;for(h&&(S=f.domain)&&S.exit();C=T.get();)try{C()}catch(A){throw T.head&&y(),A}S&&S.enter()};!s&&!h&&!l&&c&&v?(d=!0,_=v.createTextNode(""),new c(E).observe(_,{characterData:!0}),y=function(){_.data=d=!d}):!u&&p&&p.resolve?(b=p.resolve(void 0),b.constructor=p,x=i(b.then,b),y=function(){x(E)}):h?y=function(){f.nextTick(E)}:(n=i(n,t),y=function(){n(E)}),g=function(S){T.head||y(),T.add(S)}}e.exports=g})),_i=m(((a,e)=>{e.exports=function(t,r){try{arguments.length===1?console.error(t):console.error(t,r)}catch{}}})),_r=m(((a,e)=>{e.exports=function(t){try{return{error:!1,value:t()}}catch(r){return{error:!0,value:r}}}})),pt=m(((a,e)=>{var t=K();e.exports=t.Promise})),dt=m(((a,e)=>{var t=K(),r=pt(),i=re(),n=ha(),o=gr(),s=se(),u=va(),l=ke(),h=hr(),c=r&&r.prototype,v=s("species"),f=!1,p=i(t.PromiseRejectionEvent),g=n("Promise",function(){var y=o(r),d=y!==String(r);if(!d&&h===66||l&&!(c.catch&&c.finally))return!0;if(!h||h<51||!/native code/.test(y)){var _=new r(function(T){T(1)}),b=function(T){T(function(){},function(){})},x=_.constructor={};if(x[v]=b,f=_.then(function(){})instanceof b,!f)return!0}return!d&&(u==="BROWSER"||u==="DENO")&&!p});e.exports={CONSTRUCTOR:g,REJECTION_EVENT:p,SUBCLASSING:f}})),yt=m(((a,e)=>{var t=ze(),r=TypeError,i=function(n){var o,s;this.promise=new n(function(u,l){if(o!==void 0||s!==void 0)throw new r("Bad Promise constructor");o=u,s=l}),this.resolve=t(o),this.reject=t(s)};e.exports.f=function(n){return new i(n)}})),Ti=m((()=>{var a=ve(),e=ke(),t=Ut(),r=K(),i=ni(),n=ue(),o=Ze(),s=ca(),u=Ft(),l=hi(),h=ze(),c=re(),v=de(),f=vi(),p=fa(),g=ya().set,y=bi(),d=_i(),_=_r(),b=ma(),x=jt(),T=pt(),E=dt(),S=yt(),C="Promise",A=E.CONSTRUCTOR,N=E.REJECTION_EVENT,M=E.SUBCLASSING,R=x.getterFor(C),q=x.set,D=T&&T.prototype,j=T,P=D,V=r.TypeError,k=r.document,I=r.process,B=S.f,G=B,H=!!(k&&k.createEvent&&r.dispatchEvent),$="unhandledrejection",z="rejectionhandled",Y=0,Z=1,me=2,Re=1,Le=2,le,Ne,Ie,Me,ce=function(w){var U;return v(w)&&c(U=w.then)?U:!1},Ve=function(w,U){var X=U.value,W=U.state===Z,Q=W?w.ok:w.fail,be=w.resolve,qe=w.reject,_e=w.domain,Te,st,ot;try{Q?(W||(U.rejection===Le&&$e(U),U.rejection=Re),Q===!0?Te=X:(_e&&_e.enter(),Te=Q(X),_e&&(_e.exit(),ot=!0)),Te===w.promise?qe(new V("Promise-chain cycle")):(st=ce(Te))?n(st,Te,be,qe):be(Te)):qe(X)}catch(ut){_e&&!ot&&_e.exit(),qe(ut)}},at=function(w,U){w.notified||(w.notified=!0,y(function(){for(var X=w.reactions,W;W=X.get();)Ve(W,w);w.notified=!1,U&&!w.rejection&&_t(w)}))},it=function(w,U,X){var W,Q;H?(W=k.createEvent("Event"),W.promise=U,W.reason=X,W.initEvent(w,!1,!0),r.dispatchEvent(W)):W={promise:U,reason:X},!N&&(Q=r["on"+w])?Q(W):w===$&&d("Unhandled promise rejection",X)},_t=function(w){n(g,r,function(){var U=w.facade,X=w.value,W=nt(w),Q;if(W&&(Q=_(function(){t?I.emit("unhandledRejection",X,U):it($,U,X)}),w.rejection=t||nt(w)?Le:Re,Q.error))throw Q.value})},nt=function(w){return w.rejection!==Re&&!w.parent},$e=function(w){n(g,r,function(){var U=w.facade;t?I.emit("rejectionHandled",U):it(z,U,w.value)})},fe=function(w,U,X){return function(W){w(U,W,X)}},ge=function(w,U,X){w.done||(w.done=!0,X&&(w=X),w.value=U,w.state=me,at(w,!0))},xe=function(w,U,X){if(!w.done){w.done=!0,X&&(w=X);try{if(w.facade===U)throw new V("Promise can't be resolved itself");var W=ce(U);W?y(function(){var Q={done:!1};try{n(W,U,fe(xe,Q,w),fe(ge,Q,w))}catch(be){ge(Q,be,w)}}):(w.value=U,w.state=Z,at(w,!1))}catch(Q){ge({done:!1},Q,w)}}};if(A&&(j=function(U){f(this,P),h(U),n(le,this);var X=R(this);try{U(fe(xe,X),fe(ge,X))}catch(W){ge(X,W)}},P=j.prototype,le=function(U){q(this,{type:C,done:!1,notified:!1,parent:!1,reactions:new b,rejection:!1,state:Y,value:null})},le.prototype=o(P,"then",function(U,X){var W=R(this),Q=B(p(this,j));return W.parent=!0,Q.ok=c(U)?U:!0,Q.fail=c(X)&&X,Q.domain=t?I.domain:void 0,W.state===Y?W.reactions.add(Q):y(function(){Ve(Q,W)}),Q.promise}),Ne=function(){var w=new le,U=R(w);this.promise=w,this.resolve=fe(xe,U),this.reject=fe(ge,U)},S.f=B=function(w){return w===j||w===Ie?new Ne(w):G(w)},!e&&c(T)&&D!==Object.prototype)){Me=D.then,M||o(D,"then",function(U,X){var W=this;return new j(function(Q,be){n(Me,W,Q,be)}).then(U,X)},{unsafe:!0});try{delete D.constructor}catch{}s&&s(D,P)}a({global:!0,constructor:!0,wrap:!0,forced:A},{Promise:j}),Ie=i.Promise,u(j,C,!1,!0),l(C)})),mt=m(((a,e)=>{e.exports={}})),Ei=m(((a,e)=>{var t=se(),r=mt(),i=t("iterator"),n=Array.prototype;e.exports=function(o){return o!==void 0&&(r.Array===o||n[i]===o)}})),xa=m(((a,e)=>{var t=xr(),r=et(),i=It(),n=mt(),o=se()("iterator");e.exports=function(s){if(!i(s))return r(s,o)||r(s,"@@iterator")||n[t(s)]}})),Oi=m(((a,e)=>{var t=ue(),r=ze(),i=he(),n=Vt(),o=xa(),s=TypeError;e.exports=function(u,l){var h=arguments.length<2?o(u):l;if(r(h))return i(t(h,u));throw new s(n(u)+" is not iterable")}})),Si=m(((a,e)=>{var t=ue(),r=he(),i=et();e.exports=function(n,o,s){var u,l;r(n);try{if(u=i(n,"return"),!u){if(o==="throw")throw s;return s}u=t(u,n)}catch(h){l=!0,u=h}if(o==="throw")throw s;if(l)throw u;return r(u),s}})),ba=m(((a,e)=>{var t=br(),r=ue(),i=he(),n=Vt(),o=Ei(),s=yr(),u=Mt(),l=Oi(),h=xa(),c=Si(),v=TypeError,f=function(g,y){this.stopped=g,this.result=y},p=f.prototype;e.exports=function(g,y,d){var _=d&&d.that,b=!!(d&&d.AS_ENTRIES),x=!!(d&&d.IS_RECORD),T=!!(d&&d.IS_ITERATOR),E=!!(d&&d.INTERRUPTED),S=t(y,_),C,A,N,M,R,q,D,j=function(k){var I=C;return C=void 0,I&&c(I,"normal"),new f(!0,k)},P=function(k){return b?(i(k),E?S(k[0],k[1],j):S(k[0],k[1])):E?S(k,j):S(k)};if(x)C=g.iterator;else if(T)C=g;else{if(A=h(g),!A)throw new v(n(g)+" is not iterable");if(o(A)){for(N=0,M=s(g);M>N;N++)if(R=P(g[N]),R&&u(p,R))return R;return new f(!1)}C=l(g,A)}for(q=x?g.next:C.next;!(D=r(q,C)).done;){var V=D.value;try{R=P(V)}catch(k){if(C)c(C,"throw",k);else throw k}if(typeof R=="object"&&R&&u(p,R))return R}return new f(!1)}})),wi=m(((a,e)=>{var t=se()("iterator"),r=!1;try{var i=0,n={next:function(){return{done:!!i++}},return:function(){r=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch{}e.exports=function(o,s){try{if(!s&&!r)return!1}catch{return!1}var u=!1;try{var l={};l[t]=function(){return{next:function(){return{done:u=!0}}}},o(l)}catch{}return u}})),_a=m(((a,e)=>{var t=pt(),r=wi(),i=dt().CONSTRUCTOR;e.exports=i||!r(function(n){t.all(n).then(void 0,function(){})})})),Ci=m((()=>{var a=ve(),e=ue(),t=ze(),r=yt(),i=_r(),n=ba();a({target:"Promise",stat:!0,forced:_a()},{all:function(s){var u=this,l=r.f(u),h=l.resolve,c=l.reject,v=i(function(){var f=t(u.resolve),p=[],g=0,y=1;n(s,function(d){var _=g++,b=!1;y++,e(f,u,d).then(function(x){b||(b=!0,p[_]=x,--y||h(p))},c)}),--y||h(p)});return v.error&&c(v.value),l.promise}})})),Pi=m((()=>{var a=ve(),e=ke(),t=dt().CONSTRUCTOR,r=pt(),i=Qe(),n=re(),o=Ze(),s=r&&r.prototype;if(a({target:"Promise",proto:!0,forced:t,real:!0},{catch:function(l){return this.then(void 0,l)}}),!e&&n(r)){var u=i("Promise").prototype.catch;s.catch!==u&&o(s,"catch",u,{unsafe:!0})}})),Ai=m((()=>{var a=ve(),e=ue(),t=ze(),r=yt(),i=_r(),n=ba();a({target:"Promise",stat:!0,forced:_a()},{race:function(s){var u=this,l=r.f(u),h=l.reject,c=i(function(){var v=t(u.resolve);n(s,function(f){e(v,u,f).then(l.resolve,h)})});return c.error&&h(c.value),l.promise}})})),Ri=m((()=>{var a=ve(),e=yt(),t=dt().CONSTRUCTOR;a({target:"Promise",stat:!0,forced:t},{reject:function(i){var n=e.f(this),o=n.reject;return o(i),n.promise}})})),Ni=m(((a,e)=>{var t=he(),r=de(),i=yt();e.exports=function(n,o){if(t(n),r(o)&&o.constructor===n)return o;var s=i.f(n),u=s.resolve;return u(o),s.promise}})),Ii=m((()=>{var a=ve(),e=Qe(),t=ke(),r=pt(),i=dt().CONSTRUCTOR,n=Ni(),o=e("Promise"),s=t&&!i;a({target:"Promise",stat:!0,forced:t||i},{resolve:function(l){return n(s&&this===o?r:this,l)}})})),Mi=m((()=>{Ti(),Ci(),Pi(),Ai(),Ri(),Ii()})),Us=Mi();function Nr(a,e,t,r,i,n,o){try{var s=a[n](o),u=s.value}catch(l){t(l);return}s.done?e(u):Promise.resolve(u).then(r,i)}function Ue(a){return function(){var e=this,t=arguments;return new Promise(function(r,i){var n=a.apply(e,t);function o(u){Nr(n,r,i,o,s,"next",u)}function s(u){Nr(n,r,i,o,s,"throw",u)}o(void 0)})}}var De=m(((a,e)=>{var t=xr(),r=String;e.exports=function(i){if(t(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return r(i)}})),Ta=m(((a,e)=>{var t=he();e.exports=function(){var r=t(this),i="";return r.hasIndices&&(i+="d"),r.global&&(i+="g"),r.ignoreCase&&(i+="i"),r.multiline&&(i+="m"),r.dotAll&&(i+="s"),r.unicode&&(i+="u"),r.unicodeSets&&(i+="v"),r.sticky&&(i+="y"),i}})),Ea=m(((a,e)=>{var t=J(),r=K().RegExp,i=t(function(){var s=r("a","y");return s.lastIndex=2,s.exec("abcd")!==null}),n=i||t(function(){return!r("a","y").sticky}),o=i||t(function(){var s=r("^r","gy");return s.lastIndex=2,s.exec("str")!==null});e.exports={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:i}})),Vi=m(((a,e)=>{var t=la(),r=mr();e.exports=Object.keys||function(n){return t(n,r)}})),ki=m((a=>{var e=we(),t=sa(),r=He(),i=he(),n=ct(),o=Vi();a.f=e&&!t?Object.defineProperties:function(u,l){i(u);for(var h=n(l),c=o(l),v=c.length,f=0,p;v>f;)r.f(u,p=c[f++],h[p]);return u}})),$t=m(((a,e)=>{var t=he(),r=ki(),i=mr(),n=dr(),o=pa(),s=Dt(),u=pr(),l=">",h="<",c="prototype",v="script",f=u("IE_PROTO"),p=function(){},g=function(x){return h+v+l+x+h+"/"+v+l},y=function(x){x.write(g("")),x.close();var T=x.parentWindow.Object;return x=null,T},d=function(){var x=s("iframe"),T="java"+v+":",E;return x.style.display="none",o.appendChild(x),x.src=String(T),E=x.contentWindow.document,E.open(),E.write(g("document.F=Object")),E.close(),E.F},_,b=function(){try{_=new ActiveXObject("htmlfile")}catch{}b=typeof document<"u"?document.domain&&_?y(_):d():y(_);for(var x=i.length;x--;)delete b[c][i[x]];return b()};n[f]=!0,e.exports=Object.create||function(T,E){var S;return T!==null?(p[c]=t(T),S=new p,p[c]=null,S[f]=T):S=b(),E===void 0?S:r.f(S,E)}})),Di=m(((a,e)=>{var t=J(),r=K().RegExp;e.exports=t(function(){var i=r(".","s");return!(i.dotAll&&i.test(`
2`)&&i.flags==="s")})})),Li=m(((a,e)=>{var t=J(),r=K().RegExp;e.exports=t(function(){var i=r("(?<a>b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$<a>c")!=="bc"})})),Tr=m(((a,e)=>{var t=ue(),r=ee(),i=De(),n=Ta(),o=Ea(),s=fr(),u=$t(),l=jt().get,h=Di(),c=Li(),v=s("native-string-replace",String.prototype.replace),f=RegExp.prototype.exec,p=f,g=r("".charAt),y=r("".indexOf),d=r("".replace),_=r("".slice),b=(function(){var C=/a/,A=/b*/g;return t(f,C,"a"),t(f,A,"a"),C.lastIndex!==0||A.lastIndex!==0})(),x=o.BROKEN_CARET,T=/()??/.exec("")[1]!==void 0,E=b||T||x||h||c,S=function(C,A){for(var N=C.groups=u(null),M=0;M<A.length;M++){var R=A[M];N[R[0]]=C[R[1]]}};E&&(p=function(A){var N=this,M=l(N),R=i(A),q=M.raw,D,j,P;if(q)return q.lastIndex=N.lastIndex,D=t(p,q,R),N.lastIndex=q.lastIndex,D&&M.groups&&S(D,M.groups),D;var V=M.groups,k=x&&N.sticky,I=t(n,N),B=N.source,G=0,H=R;if(k){I=d(I,"y",""),y(I,"g")===-1&&(I+="g"),H=_(R,N.lastIndex);var $=N.lastIndex>0&&g(R,N.lastIndex-1);N.lastIndex>0&&(!N.multiline||N.multiline&&$!==`
3`&&$!=="\r"&&$!=="\u2028"&&$!=="\u2029")&&(B="(?: (?:"+B+"))",H=" "+H,G++),j=new RegExp("^(?:"+B+")",I)}T&&(j=new RegExp("^"+B+"$(?!\\s)",I)),b&&(P=N.lastIndex);var z=t(f,k?j:N,H);return k?z?(z.input=R,z[0]=_(z[0],G),z.index=N.lastIndex,N.lastIndex+=z[0].length):N.lastIndex=0:b&&z&&(N.lastIndex=N.global?z.index+z[0].length:P),T&&z&&z.length>1&&t(v,z[0],j,function(){for(var Y=1;Y<arguments.length-2;Y++)arguments[Y]===void 0&&(z[Y]=void 0)}),z&&V&&S(z,V),z}),e.exports=p})),qi=m((()=>{var a=ve(),e=Tr();a({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})})),Er=m(((a,e)=>{qi();var t=ue(),r=Ze(),i=Tr(),n=J(),o=se(),s=gt(),u=o("species"),l=RegExp.prototype;e.exports=function(h,c,v,f){var p=o(h),g=!n(function(){var b={};return b[p]=function(){return 7},""[h](b)!==7}),y=g&&!n(function(){var b=!1,x=/a/;if(h==="split"){var T={};T[u]=function(){return x},x={constructor:T,flags:""},x[p]=/./[p]}return x.exec=function(){return b=!0,null},x[p](""),!b});if(!g||!y||v){var d=/./[p],_=c(p,""[h],function(b,x,T,E,S){var C=x.exec;return C===i||C===l.exec?g&&!S?{done:!0,value:t(d,x,T,E)}:{done:!0,value:t(b,T,x,E)}:{done:!1}});r(String.prototype,h,_[0]),r(l,p,_[1])}f&&s(l[p],"sham",!0)}})),ji=m(((a,e)=>{var t=ee(),r=Bt(),i=De(),n=Ce(),o=t("".charAt),s=t("".charCodeAt),u=t("".slice),l=function(h){return function(c,v){var f=i(n(c)),p=r(v),g=f.length,y,d;return p<0||p>=g?h?"":void 0:(y=s(f,p),y<55296||y>56319||p+1===g||(d=s(f,p+1))<56320||d>57343?h?o(f,p):y:h?u(f,p,p+2):(y-55296<<10)+(d-56320)+65536)}};e.exports={codeAt:l(!1),charAt:l(!0)}})),Or=m(((a,e)=>{var t=ji().charAt;e.exports=function(r,i,n){return i+(n&&t(r,i).length||1)}})),Bi=m(((a,e)=>{var t=K(),r=J(),i=t.RegExp,n=!r(function(){var o=!0;try{i(".","d")}catch{o=!1}var s={},u="",l=o?"dgimsy":"gimsy",h=function(f,p){Object.defineProperty(s,f,{get:function(){return u+=p,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};o&&(c.hasIndices="d");for(var v in c)h(v,c[v]);return Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(s)!==l||u!==l});e.exports={correct:n}})),Gt=m(((a,e)=>{var t=ue(),r=Pe(),i=Mt(),n=Bi(),o=Ta(),s=RegExp.prototype;e.exports=n.correct?function(u){return u.flags}:function(u){return!n.correct&&i(s,u)&&!r(u,"flags")?t(o,u):u.flags}})),Sr=m(((a,e)=>{var t=ue(),r=he(),i=re(),n=We(),o=Tr(),s=TypeError;e.exports=function(u,l){var h=u.exec;if(i(h)){var c=t(h,u,l);return c!==null&&r(c),c}if(n(u)==="RegExp")return t(o,u,l);throw new s("RegExp#exec called on incompatible receiver")}})),Ui=m((()=>{var a=ue(),e=ee(),t=Er(),r=he(),i=de(),n=tt(),o=De(),s=Ce(),u=et(),l=Or(),h=Gt(),c=Sr(),v=e("".indexOf);t("match",function(f,p,g){return[function(d){var _=s(this),b=i(d)?u(d,f):void 0;return b?a(b,d,_):new RegExp(d)[f](o(_))},function(y){var d=r(this),_=o(y),b=g(p,d,_);if(b.done)return b.value;var x=o(h(d));if(!~v(x,"g"))return c(d,_);var T=!!~v(x,"u")||!!~v(x,"v");d.lastIndex=0;for(var E=[],S=0,C;(C=c(d,_))!==null;){var A=o(C[0]);E[S]=A,A===""&&(d.lastIndex=l(_,n(d.lastIndex),T)),S++}return S===0?null:E}]})})),Fi=m(((a,e)=>{var t=ee(),r=kt(),i=Math.floor,n=t("".charAt),o=t("".replace),s=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(h,c,v,f,p,g){var y=v+h.length,d=f.length,_=l;return p!==void 0&&(p=r(p),_=u),o(g,_,function(b,x){var T;switch(n(x,0)){case"$":return"$";case"&":return h;case"`":return s(c,0,v);case"'":return s(c,y);case"<":T=p[s(x,1,-1)];break;default:var E=+x;if(E===0)return b;if(E>d){var S=i(E/10);return S===0?b:S<=d?f[S-1]===void 0?n(x,1):f[S-1]+n(x,1):b}T=f[E-1]}return T===void 0?"":T})}})),zi=m((()=>{var a=ga(),e=ue(),t=ee(),r=Er(),i=J(),n=he(),o=re(),s=de(),u=Bt(),l=tt(),h=De(),c=Ce(),v=Or(),f=et(),p=Fi(),g=Gt(),y=Sr(),d=se()("replace"),_=Math.max,b=Math.min,x=t([].concat),T=t([].push),E=t("".indexOf),S=t("".slice),C=function(M){return M===void 0?M:String(M)},A=(function(){return"a".replace(/./,"$0")==="$0"})(),N=(function(){return/./[d]?/./[d]("a","$0")==="":!1})();r("replace",function(M,R,q){var D=N?"$":"$0";return[function(P,V){var k=c(this),I=s(P)?f(P,d):void 0;return I?e(I,P,k,V):e(R,h(k),P,V)},function(j,P){var V=n(this),k=h(j),I=o(P);I||(P=h(P));var B=h(g(V));if(typeof P=="string"&&!~E(P,D)&&!~E(P,"$<")&&!~E(B,"y")){var G=q(R,V,k,P);if(G.done)return G.value}var H=!!~E(B,"g"),$;H&&($=!!~E(B,"u")||!!~E(B,"v"),V.lastIndex=0);for(var z=[],Y;Y=y(V,k),!(Y===null||(T(z,Y),!H));)h(Y[0])===""&&(V.lastIndex=v(k,l(V.lastIndex),$));for(var Z="",me=0,Re=0;Re<z.length;Re++){Y=z[Re];for(var Le=h(Y[0]),le=_(b(u(Y.index),k.length),0),Ne=[],Ie,Me=1;Me<Y.length;Me++)T(Ne,C(Y[Me]));var ce=Y.groups;if(I){var Ve=x([Le],Ne,le,k);ce!==void 0&&T(Ve,ce),Ie=h(a(P,void 0,Ve))}else Ie=p(Le,k,le,Ne,ce,P);le>=me&&(Z+=S(k,me,le)+Ie,me=le+Le.length)}return Z+S(k,me)}]},!!i(function(){var M=/./;return M.exec=function(){var R=[];return R.groups={a:"7"},R},"".replace(M,"$<a>")!=="7"})||!A||N)})),$i=m(((a,e)=>{var t=de(),r=We(),i=se()("match");e.exports=function(n){var o;return t(n)&&((o=n[i])!==void 0?!!o:r(n)==="RegExp")}})),wr=m(((a,e)=>{var t=$i(),r=TypeError;e.exports=function(i){if(t(i))throw new r("The method doesn't accept regular expressions");return i}})),Cr=m(((a,e)=>{var t=se()("match");e.exports=function(r){var i=/./;try{"/./"[r](i)}catch{try{return i[t]=!1,"/./"[r](i)}catch{}}return!1}})),Gi=m((()=>{var a=ve(),e=zt(),t=Lt().f,r=tt(),i=De(),n=wr(),o=Ce(),s=Cr(),u=ke(),l=e("".slice),h=Math.min,c=s("startsWith");a({target:"String",proto:!0,forced:!(!u&&!c&&(function(){var v=t(String.prototype,"startsWith");return v&&!v.writable})())&&!c},{startsWith:function(f){var p=i(o(this));n(f);var g=i(f),y=r(h(arguments.length>1?arguments[1]:void 0,p.length));return l(p,y,y+g.length)===g}})})),Hi=m(((a,e)=>{var t=se(),r=$t(),i=He().f,n=t("unscopables"),o=Array.prototype;o[n]===void 0&&i(o,n,{configurable:!0,value:r(null)}),e.exports=function(s){o[n][s]=!0}})),Yi=m(((a,e)=>{var t=J();e.exports=!t(function(){function r(){}return r.prototype.constructor=null,Object.getPrototypeOf(new r)!==r.prototype})})),Oa=m(((a,e)=>{var t=Pe(),r=re(),i=kt(),n=pr(),o=Yi(),s=n("IE_PROTO"),u=Object,l=u.prototype;e.exports=o?u.getPrototypeOf:function(h){var c=i(h);if(t(c,s))return c[s];var v=c.constructor;return r(v)&&c instanceof v?v.prototype:c instanceof u?l:null}})),Sa=m(((a,e)=>{var t=J(),r=re(),i=de(),n=$t(),o=Oa(),s=Ze(),u=se(),l=ke(),h=u("iterator"),c=!1,v,f,p;[].keys&&(p=[].keys(),"next"in p?(f=o(o(p)),f!==Object.prototype&&(v=f)):c=!0),!i(v)||t(function(){var g={};return v[h].call(g)!==g})?v={}:l&&(v=n(v)),r(v[h])||s(v,h,function(){return this}),e.exports={IteratorPrototype:v,BUGGY_SAFARI_ITERATORS:c}})),Xi=m(((a,e)=>{var t=Sa().IteratorPrototype,r=$t(),i=lr(),n=Ft(),o=mt(),s=function(){return this};e.exports=function(u,l,h,c){var v=l+" Iterator";return u.prototype=r(t,{next:i(+!c,h)}),n(u,v,!1,!0),o[v]=s,u}})),Wi=m(((a,e)=>{var t=ve(),r=ue(),i=ke(),n=qt(),o=re(),s=Xi(),u=Oa(),l=ca(),h=Ft(),c=gt(),v=Ze(),f=se(),p=mt(),g=Sa(),y=n.PROPER,d=n.CONFIGURABLE,_=g.IteratorPrototype,b=g.BUGGY_SAFARI_ITERATORS,x=f("iterator"),T="keys",E="values",S="entries",C=function(){return this};e.exports=function(A,N,M,R,q,D,j){s(M,N,R);var P=function(Z){if(Z===q&&G)return G;if(!b&&Z&&Z in I)return I[Z];switch(Z){case T:return function(){return new M(this,Z)};case E:return function(){return new M(this,Z)};case S:return function(){return new M(this,Z)}}return function(){return new M(this)}},V=N+" Iterator",k=!1,I=A.prototype,B=I[x]||I["@@iterator"]||q&&I[q],G=!b&&B||P(q),H=N==="Array"&&I.entries||B,$,z,Y;if(H&&($=u(H.call(new A)),$!==Object.prototype&&$.next&&(!i&&u($)!==_&&(l?l($,_):o($[x])||v($,x,C)),h($,V,!0,!0),i&&(p[V]=C))),y&&q===E&&B&&B.name!==E&&(!i&&d?c(I,"name",E):(k=!0,G=function(){return r(B,this)})),q)if(z={values:P(E),keys:D?G:P(T),entries:P(S)},j)for(Y in z)(b||k||!(Y in I))&&v(I,Y,z[Y]);else t({target:N,proto:!0,forced:b||k},z);return(!i||j)&&I[x]!==G&&v(I,x,G,{name:q}),p[N]=G,z}})),Qi=m(((a,e)=>{e.exports=function(t,r){return{value:t,done:r}}})),wa=m(((a,e)=>{var t=ct(),r=Hi(),i=mt(),n=jt(),o=He().f,s=Wi(),u=Qi(),l=ke(),h=we(),c="Array Iterator",v=n.set,f=n.getterFor(c);e.exports=s(Array,"Array",function(g,y){v(this,{type:c,target:t(g),index:0,kind:y})},function(){var g=f(this),y=g.target,d=g.index++;if(!y||d>=y.length)return g.target=null,u(void 0,!0);switch(g.kind){case"keys":return u(d,!1);case"values":return u(y[d],!1)}return u([d,y[d]],!1)},"values");var p=i.Arguments=i.Array;if(r("keys"),r("values"),r("entries"),!l&&h&&p.name!=="values")try{o(p,"name",{value:"values"})}catch{}})),Zi=m(((a,e)=>{e.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}})),Ki=m(((a,e)=>{var t=Dt()("span").classList,r=t&&t.constructor&&t.constructor.prototype;e.exports=r===Object.prototype?void 0:r})),Ji=m((()=>{var a=K(),e=Zi(),t=Ki(),r=wa(),i=gt(),n=Ft(),o=se()("iterator"),s=r.values,u=function(h,c){if(h){if(h[o]!==s)try{i(h,o,s)}catch{h[o]=s}if(n(h,c,!0),e[c]){for(var v in r)if(h[v]!==r[v])try{i(h,v,r[v])}catch{h[v]=r[v]}}}};for(var l in e)u(a[l]&&a[l].prototype,l);u(t,"DOMTokenList")})),Fs=Ui(),zs=zi(),$s=Gi(),Gs=wa(),Hs=Ji();function vt(a){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vt(a)}function en(a,e){if(vt(a)!="object"||!a)return a;var t=a[Symbol.toPrimitive];if(t!==void 0){var r=t.call(a,e||"default");if(vt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function tn(a){var e=en(a,"string");return vt(e)=="symbol"?e:e+""}function Pr(a,e,t){return(e=tn(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}var rn=m(((a,e)=>{var t=ze(),r=kt(),i=Jr(),n=yr(),o=TypeError,s="Reduce of empty array with no initial value",u=function(l){return function(h,c,v,f){var p=r(h),g=i(p),y=n(p);if(t(c),y===0&&v<2)throw new o(s);var d=l?y-1:0,_=l?-1:1;if(v<2)for(;;){if(d in g){f=g[d],d+=_;break}if(d+=_,l?d<0:y<=d)throw new o(s)}for(;l?d>=0:y>d;d+=_)d in g&&(f=c(f,g[d],d,p));return f}};e.exports={left:u(!1),right:u(!0)}})),Ca=m(((a,e)=>{var t=J();e.exports=function(r,i){var n=[][r];return!!n&&t(function(){n.call(null,i||function(){return 1},1)})}})),an=m((()=>{var a=ve(),e=rn().left,t=Ca(),r=hr();a({target:"Array",proto:!0,forced:!Ut()&&r>79&&r<83||!t("reduce")},{reduce:function(n){var o=arguments.length;return e(this,n,o,o>1?arguments[1]:void 0)}})})),nn=m((()=>{var a=ve(),e=zt(),t=Lt().f,r=tt(),i=De(),n=wr(),o=Ce(),s=Cr(),u=ke(),l=e("".slice),h=Math.min,c=s("endsWith");a({target:"String",proto:!0,forced:!(!u&&!c&&(function(){var v=t(String.prototype,"endsWith");return v&&!v.writable})())&&!c},{endsWith:function(f){var p=i(o(this));n(f);var g=i(f),y=arguments.length>1?arguments[1]:void 0,d=p.length,_=y===void 0?d:h(r(y),d);return l(p,_-g.length,_)===g}})})),sn=m((()=>{var a=ue(),e=ee(),t=Er(),r=he(),i=de(),n=Ce(),o=fa(),s=Or(),u=tt(),l=De(),h=et(),c=Gt(),v=Sr(),f=Ea(),p=J(),g=f.UNSUPPORTED_Y,y=4294967295,d=Math.min,_=e([].push),b=e("".slice),x=e("".indexOf),T=!p(function(){var S=/(?:)/,C=S.exec;S.exec=function(){return C.apply(this,arguments)};var A="ab".split(S);return A.length!==2||A[0]!=="a"||A[1]!=="b"}),E="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;t("split",function(S,C,A){var N="0".split(void 0,0).length?function(M,R){return M===void 0&&R===0?[]:a(C,this,M,R)}:C;return[function(R,q){var D=n(this),j=i(R)?h(R,S):void 0;return j?a(j,R,D,q):a(N,l(D),R,q)},function(M,R){var q=r(this),D=l(M);if(!E){var j=A(N,q,D,R,N!==C);if(j.done)return j.value}var P=o(q,RegExp),V=l(c(q)),k=!!~x(V,"u")||!!~x(V,"v");g?~x(V,"g")||(V+="g"):~x(V,"y")||(V+="y");var I=new P(g?"^(?:"+q.source+")":q,V),B=R===void 0?y:R>>>0;if(B===0)return[];if(D.length===0)return v(I,D)===null?[D]:[];for(var G=0,H=0,$=[];H<D.length;){I.lastIndex=g?0:H;var z=v(I,g?b(D,H):D),Y;if(z===null||(Y=d(u(I.lastIndex+(g?H:0)),D.length))===G)H=s(D,H,k);else{if(_($,b(D,G,H)),$.length===B)return $;for(var Z=1;Z<=z.length-1;Z++)if(_($,z[Z]),$.length===B)return $;H=G=Y}}return _($,b(D,G)),$}]},E||!T,g)})),on=m(((a,e)=>{(function(){var t,r,i,n,o,s;typeof performance<"u"&&performance!==null&&performance.now?e.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},r=process.hrtime,t=function(){var u=r();return u[0]*1e9+u[1]},n=t(),s=process.uptime()*1e9,o=n-s):Date.now?(e.exports=function(){return Date.now()-i},i=Date.now()):(e.exports=function(){return new Date().getTime()-i},i=new Date().getTime())}).call(a)})),un=m(((a,e)=>{for(var t=on(),r=typeof window>"u"?global:window,i=["moz","webkit"],n="AnimationFrame",o=r["request"+n],s=r["cancel"+n]||r["cancelRequest"+n],u=0;!o&&u<i.length;u++)o=r[i[u]+"Request"+n],s=r[i[u]+"Cancel"+n]||r[i[u]+"CancelRequest"+n];if(!o||!s){var l=0,h=0,c=[],v=1e3/60;o=function(f){if(c.length===0){var p=t(),g=Math.max(0,v-(p-l));l=g+p,setTimeout(function(){var y=c.slice(0);c.length=0;for(var d=0;d<y.length;d++)if(!y[d].cancelled)try{y[d].callback(l)}catch(_){setTimeout(function(){throw _},0)}},Math.round(g))}return c.push({handle:++h,callback:f,cancelled:!1}),h},s=function(f){for(var p=0;p<c.length;p++)c[p].handle===f&&(c[p].cancelled=!0)}}e.exports=function(f){return o.call(r,f)},e.exports.cancel=function(){s.apply(r,arguments)},e.exports.polyfill=function(f){f||(f=r),f.requestAnimationFrame=o,f.cancelAnimationFrame=s}})),Pa=m(((a,e)=>{e.exports=`	
4\v\f\r                 \u2028\u2029\uFEFF`})),ln=m(((a,e)=>{var t=ee(),r=Ce(),i=De(),n=Pa(),o=t("".replace),s=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),l=function(h){return function(c){var v=i(r(c));return h&1&&(v=o(v,s,"")),h&2&&(v=o(v,u,"$1")),v}};e.exports={start:l(1),end:l(2),trim:l(3)}})),hn=m(((a,e)=>{var t=qt().PROPER,r=J(),i=Pa(),n="​…᠎";e.exports=function(o){return r(function(){return!!i[o]()||n[o]()!==n||t&&i[o].name!==o})}})),vn=m((()=>{var a=ve(),e=ln().trim;a({target:"String",proto:!0,forced:hn()("trim")},{trim:function(){return e(this)}})})),cn=m(((a,e)=>{e.exports=function(t){this.ok=!1,this.alpha=1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t=t.replace(/ /g,""),t=t.toLowerCase();var r={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
40",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"};t=r[t]||t;for(var i=[{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(h){return[parseInt(h[1]),parseInt(h[2]),parseInt(h[3]),parseFloat(h[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(h){return[parseInt(h[1]),parseInt(h[2]),parseInt(h[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(h){return[parseInt(h[1],16),parseInt(h[2],16),parseInt(h[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(h){return[parseInt(h[1]+h[1],16),parseInt(h[2]+h[2],16),parseInt(h[3]+h[3],16)]}}],n=0;n<i.length;n++){var o=i[n].re,s=i[n].process,u=o.exec(t);if(u){var l=s(u);this.r=l[0],this.g=l[1],this.b=l[2],l.length>3&&(this.alpha=l[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 h=this.r.toString(16),c=this.g.toString(16),v=this.b.toString(16);return h.length==1&&(h="0"+h),c.length==1&&(c="0"+c),v.length==1&&(v="0"+v),"#"+h+c+v},this.getHelpXML=function(){for(var h=new Array,c=0;c<i.length;c++)for(var v=i[c].example,f=0;f<v.length;f++)h[h.length]=v[f];for(var p in r)h[h.length]=p;var g=document.createElement("ul");g.setAttribute("id","rgbcolor-examples");for(var c=0;c<h.length;c++)try{var y=document.createElement("li"),d=new RGBColor(h[c]),_=document.createElement("div");_.style.cssText="margin: 3px; border: 1px solid black; background:"+d.toHex()+"; color:"+d.toHex(),_.appendChild(document.createTextNode("test"));var b=document.createTextNode(" "+h[c]+" -> "+d.toRGB()+" -> "+d.toHex());y.appendChild(_),y.appendChild(b),g.appendChild(y)}catch{}return g}}})),fn=m((()=>{var a=ve(),e=zt(),t=ua().indexOf,r=Ca(),i=e([].indexOf),n=!!i&&1/i([1],1,-0)<0;a({target:"Array",proto:!0,forced:n||!r("indexOf")},{indexOf:function(s){var u=arguments.length>1?arguments[1]:void 0;return n?i(this,s,u)||0:t(this,s,u)}})})),gn=m((()=>{var a=ve(),e=ee(),t=wr(),r=Ce(),i=De(),n=Cr(),o=e("".indexOf);a({target:"String",proto:!0,forced:!n("includes")},{includes:function(u){return!!~o(i(r(this)),i(t(u)),arguments.length>1?arguments[1]:void 0)}})})),pn=m(((a,e)=>{var t=We();e.exports=Array.isArray||function(i){return t(i)==="Array"}}
vendor: 4,345 bytes, line 4
4)),dn=m((()=>{var a=ve(),e=ee(),t=pn(),r=e([].reverse),i=[1,2];a({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return t(this)&&(this.length=this.length),r(this)}})})),Ys=an(),Xs=nn(),Ws=sn(),Jt=Kr(un(),1),Qs=vn(),rr=Kr(cn(),1),Zs=fn(),Ks=gn(),Js=dn(),Aa=function(a,e){return(Aa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])})(a,e)};function Ra(a,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=a}Aa(a,e),a.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}function yn(a){var e="";Array.isArray(a)||(a=[a]);for(var t=0;t<a.length;t++){var r=a[t];if(r.type===O.CLOSE_PATH)e+="z";else if(r.type===O.HORIZ_LINE_TO)e+=(r.relative?"h":"H")+r.x;else if(r.type===O.VERT_LINE_TO)e+=(r.relative?"v":"V")+r.y;else if(r.type===O.MOVE_TO)e+=(r.relative?"m":"M")+r.x+" "+r.y;else if(r.type===O.LINE_TO)e+=(r.relative?"l":"L")+r.x+" "+r.y;else if(r.type===O.CURVE_TO)e+=(r.relative?"c":"C")+r.x1+" "+r.y1+" "+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===O.SMOOTH_CURVE_TO)e+=(r.relative?"s":"S")+r.x2+" "+r.y2+" "+r.x+" "+r.y;else if(r.type===O.QUAD_TO)e+=(r.relative?"q":"Q")+r.x1+" "+r.y1+" "+r.x+" "+r.y;else if(r.type===O.SMOOTH_QUAD_TO)e+=(r.relative?"t":"T")+r.x+" "+r.y;else{if(r.type!==O.ARC)throw new Error('Unexpected command type "'+r.type+'" at index '+t+".");e+=(r.relative?"a":"A")+r.rX+" "+r.rY+" "+r.xRot+" "+ +r.lArcFlag+" "+ +r.sweepFlag+" "+r.x+" "+r.y}}return e}function ar(a,e){var t=a[0],r=a[1];return[t*Math.cos(e)-r*Math.sin(e),t*Math.sin(e)+r*Math.cos(e)]}function Oe(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];for(var t=0;t<a.length;t++)if(typeof a[t]!="number")throw new Error("assertNumbers arguments["+t+"] is not a number. "+typeof a[t]+" == typeof "+a[t]);return!0}var Ge=Math.PI;function er(a,e,t){a.lArcFlag=a.lArcFlag===0?0:1,a.sweepFlag=a.sweepFlag===0?0:1;var r=a.rX,i=a.rY,n=a.x,o=a.y;r=Math.abs(a.rX),i=Math.abs(a.rY);var s=ar([(e-n)/2,(t-o)/2],-a.xRot/180*Ge),u=s[0],l=s[1],h=Math.pow(u,2)/Math.pow(r,2)+Math.pow(l,2)/Math.pow(i,2);1<h&&(r*=Math.sqrt(h),i*=Math.sqrt(h)),a.rX=r,a.rY=i;var c=Math.pow(r,2)*Math.pow(l,2)+Math.pow(i,2)*Math.pow(u,2),v=(a.lArcFlag!==a.sweepFlag?1:-1)*Math.sqrt(Math.max(0,(Math.pow(r,2)*Math.pow(i,2)-c)/c)),f=r*l/i*v,p=-i*u/r*v,g=ar([f,p],a.xRot/180*Ge);a.cX=g[0]+(e+n)/2,a.cY=g[1]+(t+o)/2,a.phi1=Math.atan2((l-p)/i,(u-f)/r),a.phi2=Math.atan2((-l-p)/i,(-u-f)/r),a.sweepFlag===0&&a.phi2>a.phi1&&(a.phi2-=2*Ge),a.sweepFlag===1&&a.phi2<a.phi1&&(a.phi2+=2*Ge),a.phi1*=180/Ge,a.phi2*=180/Ge}function Ir(a,e,t){Oe(a,e,t);var r=a*a+e*e-t*t;if(0>r)return[];if(r===0)return[[a*t/(a*a+e*e),e*t/(a*a+e*e)]];var i=Math.sqrt(r);return[[(a*t+e*i)/(a*a+e*e),(e*t-a*i)/(a*a+e*e)],[(a*t-e*i)/(a*a+e*e),(e*t+a*i)/(a*a+e*e)]]}var ie,je=Math.PI/180;function Mr(a,e,t){return(1-t)*a+t*e}function Vr(a,e,t,r){return a+Math.cos(r/180*Ge)*e+Math.sin(r/180*Ge)*t}function kr(a,e,t,r){var i=1e-6,n=e-a,o=t-e,s=3*n+3*(r-t)-6*o,u=6*(o-n),l=3*n;return Math.abs(s)<i?[-l/u]:(function(h,c,v){v===void 0&&(v=1e-6);var f=h*h/4-c;if(f<-v)return[];if(f<=v)return[-h/2];var p=Math.sqrt(f);return[-h/2-p,-h/2+p]})(u/s,l/s,i)}function Dr(a,e,t,r,i){var n=1-i;return a*(n*n*n)+e*(3*n*n*i)+t*(3*n*i*i)+r*(i*i*i)}(function(a){function e(){return i((function(s,u,l){return s.relative&&(s.x1!==void 0&&(s.x1+=u),s.y1!==void 0&&(s.y1+=l),s.x2!==void 0&&(s.x2+=u),s.y2!==void 0&&(s.y2+=l),s.x!==void 0&&(s.x+=u),s.y!==void 0&&(s.y+=l),s.relative=!1),s}))}function t(){var s=NaN,u=NaN,l=NaN,h=NaN;return i((function(c,v,f){return c.type&O.SMOOTH_CURVE_TO&&(c.type=O.CURVE_TO,s=isNaN(s)?v:s,u=isNaN(u)?f:u,c.x1=c.relative?v-s:2*v-s,c.y1=c.relative?f-u:2*f-u),c.type&O.CURVE_TO?(s=c.relative?v+c.x2:c.x2,u=c.relative?f+c.y2:c.y2):(s=NaN,u=NaN),c.type&O.SMOOTH_QUAD_TO&&(c.type=O.QUAD_TO,l=isNaN(l)?v:l,h=isNaN(h)?f:h,c.x1=c.relative?v-l:2*v-l,c.y1=c.relative?f-h:2*f-h),c.type&O.QUAD_TO?(l=c.relative?v+c.x1:c.x1,h=c.relative?f+c.y1:c.y1):(l=NaN,h=NaN),c}))}function r(){var s=NaN,u=NaN;return i((function(l,h,c){if(l.type&O.SMOOTH_QUAD_TO&&(l.type=O.QUAD_TO,s=isNaN(s)?h:s,u=isNaN(u)?c:u,l.x1=l.relative?h-s:2*h-s,l.y1=l.relative?c-u
vendor: 6,390 bytes, line 4
4:2*c-u),l.type&O.QUAD_TO){s=l.relative?h+l.x1:l.x1,u=l.relative?c+l.y1:l.y1;var v=l.x1,f=l.y1;l.type=O.CURVE_TO,l.x1=((l.relative?0:h)+2*v)/3,l.y1=((l.relative?0:c)+2*f)/3,l.x2=(l.x+2*v)/3,l.y2=(l.y+2*f)/3}else s=NaN,u=NaN;return l}))}function i(s){var u=0,l=0,h=NaN,c=NaN;return function(v){if(isNaN(h)&&!(v.type&O.MOVE_TO))throw new Error("path must start with moveto");var f=s(v,u,l,h,c);return v.type&O.CLOSE_PATH&&(u=h,l=c),v.x!==void 0&&(u=v.relative?u+v.x:v.x),v.y!==void 0&&(l=v.relative?l+v.y:v.y),v.type&O.MOVE_TO&&(h=u,c=l),f}}function n(s,u,l,h,c,v){return Oe(s,u,l,h,c,v),i((function(f,p,g,y){var d=f.x1,_=f.x2,b=f.relative&&!isNaN(y),x=f.x!==void 0?f.x:b?0:p,T=f.y!==void 0?f.y:b?0:g;function E(H){return H*H}f.type&O.HORIZ_LINE_TO&&u!==0&&(f.type=O.LINE_TO,f.y=f.relative?0:g),f.type&O.VERT_LINE_TO&&l!==0&&(f.type=O.LINE_TO,f.x=f.relative?0:p),f.x!==void 0&&(f.x=f.x*s+T*l+(b?0:c)),f.y!==void 0&&(f.y=x*u+f.y*h+(b?0:v)),f.x1!==void 0&&(f.x1=f.x1*s+f.y1*l+(b?0:c)),f.y1!==void 0&&(f.y1=d*u+f.y1*h+(b?0:v)),f.x2!==void 0&&(f.x2=f.x2*s+f.y2*l+(b?0:c)),f.y2!==void 0&&(f.y2=_*u+f.y2*h+(b?0:v));var S=s*h-u*l;if(f.xRot!==void 0&&(s!==1||u!==0||l!==0||h!==1))if(S===0)delete f.rX,delete f.rY,delete f.xRot,delete f.lArcFlag,delete f.sweepFlag,f.type=O.LINE_TO;else{var C=f.xRot*Math.PI/180,A=Math.sin(C),N=Math.cos(C),M=1/E(f.rX),R=1/E(f.rY),q=E(N)*M+E(A)*R,D=2*A*N*(M-R),j=E(A)*M+E(N)*R,P=q*h*h-D*u*h+j*u*u,V=D*(s*h+u*l)-2*(q*l*h+j*s*u),k=q*l*l-D*s*l+j*s*s,I=(Math.atan2(V,P-k)+Math.PI)%Math.PI/2,B=Math.sin(I),G=Math.cos(I);f.rX=Math.abs(S)/Math.sqrt(P*E(G)+V*B*G+k*E(B)),f.rY=Math.abs(S)/Math.sqrt(P*E(B)-V*B*G+k*E(G)),f.xRot=180*I/Math.PI}return f.sweepFlag!==void 0&&0>S&&(f.sweepFlag=+!f.sweepFlag),f}))}function o(){return function(s){var u={};for(var l in s)u[l]=s[l];return u}}a.ROUND=function(s){function u(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),Oe(s),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},a.TO_ABS=e,a.TO_REL=function(){return i((function(s,u,l){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=l),s.relative=!0),s}))},a.NORMALIZE_HVZ=function(s,u,l){return s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),i((function(h,c,v,f,p){if(isNaN(f)&&!(h.type&O.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&O.HORIZ_LINE_TO&&(h.type=O.LINE_TO,h.y=h.relative?0:v),l&&h.type&O.VERT_LINE_TO&&(h.type=O.LINE_TO,h.x=h.relative?0:c),s&&h.type&O.CLOSE_PATH&&(h.type=O.LINE_TO,h.x=h.relative?f-c:f,h.y=h.relative?p-v:p),h.type&O.ARC&&(h.rX===0||h.rY===0)&&(h.type=O.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h}))},a.NORMALIZE_ST=t,a.QT_TO_C=r,a.INFO=i,a.SANITIZE=function(s){s===void 0&&(s=0),Oe(s);var u=NaN,l=NaN,h=NaN,c=NaN;return i((function(v,f,p,g,y){var d=Math.abs,_=!1,b=0,x=0;if(v.type&O.SMOOTH_CURVE_TO&&(b=isNaN(u)?0:f-u,x=isNaN(l)?0:p-l),v.type&(O.CURVE_TO|O.SMOOTH_CURVE_TO)?(u=v.relative?f+v.x2:v.x2,l=v.relative?p+v.y2:v.y2):(u=NaN,l=NaN),v.type&O.SMOOTH_QUAD_TO?(h=isNaN(h)?f:2*f-h,c=isNaN(c)?p:2*p-c):v.type&O.QUAD_TO?(h=v.relative?f+v.x1:v.x1,c=v.relative?p+v.y1:v.y2):(h=NaN,c=NaN),v.type&O.LINE_COMMANDS||v.type&O.ARC&&(v.rX===0||v.rY===0||!v.lArcFlag)||v.type&O.CURVE_TO||v.type&O.SMOOTH_CURVE_TO||v.type&O.QUAD_TO||v.type&O.SMOOTH_QUAD_TO){var T=v.x===void 0?0:v.relative?v.x:v.x-f,E=v.y===void 0?0:v.relative?v.y:v.y-p;b=isNaN(h)?v.x1===void 0?b:v.relative?v.x:v.x1-f:h-f,x=isNaN(c)?v.y1===void 0?x:v.relative?v.y:v.y1-p:c-p;var S=v.x2===void 0?0:v.relative?v.x:v.x2-f,C=v.y2===void 0?0:v.relative?v.y:v.y2-p;d(T)<=s&&d(E)<=s&&d(b)<=s&&d(x)<=s&&d(S)<=s&&d(C)<=s&&(_=!0)}return v.type&O.CLOSE_PATH&&d(f-g)<=s&&d(p-y)<=s&&(_=!0),_?[]:v}))},a.MATRIX=n,a.ROTATE=function(s,u,l){u===void 0&&(u=0),l===void 0&&(l=0),Oe(s,u,l);var h=Math.sin(s),c=Math.cos(s);return n(c,h,-h,c,u-u*c+l*h,l-u*h-l*c)},a.TRANSLATE=function(s,u){return u===void 0&&(u=0),Oe(s,u),n(1,0,0,1,s,u)},a.SCALE=function(s,u){return u===void 0&&(u=s),Oe(s,u),n(s,0,0,u,0,0)},a.SKEW_X=function(s){return Oe(s),n(1,0,Math.atan(s),1,0,0)},a.SKEW_Y=function(s){return Oe(s),n(1,Math.atan(s),0,1,0,0)},a.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Oe(s),n(-1,0,0,1,s,0)},a.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),Oe(s),n(1,0,0,-1,0,s)},a.A_TO_C=function(){return i((function(s,u,l){return O.ARC===s.type?(function(h,c,v){var f,p,g,y;h.cX||er(h,c,v);for(var d=Math.min(h.phi1,h.phi2),_=Math.max(h.phi1,h.phi2)-d,b=Math.ceil(_/90),x=new Array(b),T=c,E=v,S=0;S<b;S++){var C=Mr(h.phi1,h.phi2,S/b),A=Mr(h.phi1,h.phi2,(S+1)/b),N=A-C,M=4/3*Math.tan(N*je/4),R=[Math.cos(C*je)-M*Math.sin(C*je),Math.sin(C*je)+M*Math.cos(C*je)],q=R[0],D=R[1],j=[Math.cos(A*je),Math.sin(A*je)],P=j[0],V=j[1],k=[P+M*Math.sin(A*je),V-M*Math.cos(A*je)],I=k[0],B=k[1];x[S]={relative:h.relative,type:O.CURVE_TO};var G=function(H,$){var z=ar([H*h.rX,$*h.rY],h.xRot),Y=z[0],Z=z[1];return[h.cX+Y,h.cY+Z]};f=G(q,D),x[S].x1=f[0],x[S].y1=f[1],p=G(I,B),x[S].x2=p[0],x[S].y2=p[1],g=G(P,V),x[S].x=g[0],x[S].y=g[1],h.relative&&(x[S].x1-=T,x[S].y1-=E,x[S].x2-=T,x[S].y2-=E,x[S].x-=T,x[S].y-=E),T=(y=[x[S].x,x[S].y])[0],E=y[1]}return x})(s,s.relative?0:u,s.relative?0:l):s}))},a.ANNOTATE_ARCS=function(){return i((function(s,u,l){return s.relative&&(u=0,l=0),O.ARC===s.type&&er(s,u,l),s}))},a.CLONE=o,a.CALCULATE_BOUNDS=function(){var s=function(v){var f={};for(var p in v)f[p]=v[p];return f},u=e(),l=r(),h=t(),c=i((function(v,f,p){var g=h(l(u(s(v))));function y(B){B>c.maxX&&(c.maxX=B),B<c.minX&&(c.minX=B)}function d(B){B>c.maxY&&(c.maxY=B),B<c.minY&&(c.minY=B)}if(g.type&O.DRAWING_COMMANDS&&(y(f),d(p)),g.type&O.HORIZ_LINE_TO&&y(g.x),g.type&O.VERT_LINE_TO&&d(g.y),g.type&O.LINE_TO&&(y(g.x),d(g.y)),g.type&O.CURVE_TO){y(g.x),d(g.y);for(var _=0,b=kr(f,g.x1,g.x2,g.x);_<b.length;_++)0<(I=b[_])&&1>I&&y(Dr(f,g.x1,g.x2,g.x,I));for(var x=0,T=kr(p,g.y1,g.y2,g.y);x<T.length;x++)0<(I=T[x])&&1>I&&d(Dr(p,g.y1,g.y2,g.y,I))}if(g.type&O.ARC){y(g.x),d(g.y),er(g,f,p);for(var E=g.xRot/180*Math.PI,S=Math.cos(E)*g.rX,C=Math.sin(E)*g.rX,A=-Math.sin(E)*g.rY,N=Math.cos(E)*g.rY,M=g.phi1<g.phi2?[g.phi1,g.phi2]:-180>
vendor: 6,548 bytes, lines 4-5
4g.phi2?[g.phi2+360,g.phi1+360]:[g.phi2,g.phi1],R=M[0],q=M[1],D=function(B){var G=B[0],H=B[1],$=180*Math.atan2(H,G)/Math.PI;return $<R?$+360:$},j=0,P=Ir(A,-S,0).map(D);j<P.length;j++)(I=P[j])>R&&I<q&&y(Vr(g.cX,S,A,I));for(var V=0,k=Ir(N,-C,0).map(D);V<k.length;V++){var I;(I=k[V])>R&&I<q&&d(Vr(g.cY,C,N,I))}}return v}));return c.minX=1/0,c.maxX=-1/0,c.minY=1/0,c.maxY=-1/0,c}})(ie||(ie={}));var Ee,Na=(function(){function a(){}return a.prototype.round=function(e){return this.transform(ie.ROUND(e))},a.prototype.toAbs=function(){return this.transform(ie.TO_ABS())},a.prototype.toRel=function(){return this.transform(ie.TO_REL())},a.prototype.normalizeHVZ=function(e,t,r){return this.transform(ie.NORMALIZE_HVZ(e,t,r))},a.prototype.normalizeST=function(){return this.transform(ie.NORMALIZE_ST())},a.prototype.qtToC=function(){return this.transform(ie.QT_TO_C())},a.prototype.aToC=function(){return this.transform(ie.A_TO_C())},a.prototype.sanitize=function(e){return this.transform(ie.SANITIZE(e))},a.prototype.translate=function(e,t){return this.transform(ie.TRANSLATE(e,t))},a.prototype.scale=function(e,t){return this.transform(ie.SCALE(e,t))},a.prototype.rotate=function(e,t,r){return this.transform(ie.ROTATE(e,t,r))},a.prototype.matrix=function(e,t,r,i,n,o){return this.transform(ie.MATRIX(e,t,r,i,n,o))},a.prototype.skewX=function(e){return this.transform(ie.SKEW_X(e))},a.prototype.skewY=function(e){return this.transform(ie.SKEW_Y(e))},a.prototype.xSymmetry=function(e){return this.transform(ie.X_AXIS_SYMMETRY(e))},a.prototype.ySymmetry=function(e){return this.transform(ie.Y_AXIS_SYMMETRY(e))},a.prototype.annotateArcs=function(){return this.transform(ie.ANNOTATE_ARCS())},a})(),mn=function(a){return a===" "||a==="	"||a==="\r"||a===`
5`},Lr=function(a){return 48<=a.charCodeAt(0)&&a.charCodeAt(0)<=57},xn=(function(a){function e(){var t=a.call(this)||this;return t.curNumber="",t.curCommandType=-1,t.curCommandRelative=!1,t.canParseCommandOrComma=!0,t.curNumberHasExp=!1,t.curNumberHasExpDigits=!1,t.curNumberHasDecimal=!1,t.curArgs=[],t}return Ra(e,a),e.prototype.finish=function(t){if(t===void 0&&(t=[]),this.parse(" ",t),this.curArgs.length!==0||!this.canParseCommandOrComma)throw new SyntaxError("Unterminated command at the path end.");return t},e.prototype.parse=function(t,r){var i=this;r===void 0&&(r=[]);for(var n=function(c){r.push(c),i.curArgs.length=0,i.canParseCommandOrComma=!0},o=0;o<t.length;o++){var s=t[o],u=!(this.curCommandType!==O.ARC||this.curArgs.length!==3&&this.curArgs.length!==4||this.curNumber.length!==1||this.curNumber!=="0"&&this.curNumber!=="1"),l=Lr(s)&&(this.curNumber==="0"&&s==="0"||u);if(!Lr(s)||l)if(s!=="e"&&s!=="E")if(s!=="-"&&s!=="+"||!this.curNumberHasExp||this.curNumberHasExpDigits)if(s!=="."||this.curNumberHasExp||this.curNumberHasDecimal||u){if(this.curNumber&&this.curCommandType!==-1){var h=Number(this.curNumber);if(isNaN(h))throw new SyntaxError("Invalid number ending at "+o);if(this.curCommandType===O.ARC){if(this.curArgs.length===0||this.curArgs.length===1){if(0>h)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+o+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"')}this.curArgs.push(h),this.curArgs.length===bn[this.curCommandType]&&(O.HORIZ_LINE_TO===this.curCommandType?n({type:O.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):O.VERT_LINE_TO===this.curCommandType?n({type:O.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===O.MOVE_TO||this.curCommandType===O.LINE_TO||this.curCommandType===O.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),O.MOVE_TO===this.curCommandType&&(this.curCommandType=O.LINE_TO)):this.curCommandType===O.CURVE_TO?n({type:O.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===O.SMOOTH_CURVE_TO?n({type:O.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===O.QUAD_TO?n({type:O.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===O.ARC&&n({type:O.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(!mn(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(l)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=O.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=O.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=O.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=O.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=O.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=O.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=O.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=O.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=O.ARC,this.curCommandRelative=s==="a"}else r.push({type:O.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return r},e.prototype.transform=function(t){return Object.create(this,{parse:{value:function(r,i){i===void 0&&(i=[]);for(var n=0,o=Object.getPrototypeOf(this).parse.call(this,r);
5n<o.length;n++){var s=o[n],u=t(s);Array.isArray(u)?i.push.apply(i,u):i.push(u)}return i}}})},e})(Na),O=(function(a){function e(t){var r=a.call(this)||this;return r.commands=typeof t=="string"?e.parse(t):t,r}return Ra(e,a),e.prototype.encode=function(){return e.encode(this.commands)},e.prototype.getBounds=function(){var t=ie.CALCULATE_BOUNDS();return this.transform(t),t},e.prototype.transform=function(t){for(var r=[],i=0,n=this.commands;i<n.length;i++){var o=t(n[i]);Array.isArray(o)?r.push.apply(r,o):r.push(o)}return this.commands=r,this},e.encode=function(t){return yn(t)},e.parse=function(t){var r=new xn,i=[];return r.parse(t,i),r.finish(i),i},e.CLOSE_PATH=1,e.MOVE_TO=2,e.HORIZ_LINE_TO=4,e.VERT_LINE_TO=8,e.LINE_TO=16,e.CURVE_TO=32,e.SMOOTH_CURVE_TO=64,e.QUAD_TO=128,e.SMOOTH_QUAD_TO=256,e.ARC=512,e.LINE_COMMANDS=e.LINE_TO|e.HORIZ_LINE_TO|e.VERT_LINE_TO,e.DRAWING_COMMANDS=e.HORIZ_LINE_TO|e.VERT_LINE_TO|e.LINE_TO|e.CURVE_TO|e.SMOOTH_CURVE_TO|e.QUAD_TO|e.SMOOTH_QUAD_TO|e.ARC,e})(Na),bn=((Ee={})[O.MOVE_TO]=2,Ee[O.LINE_TO]=2,Ee[O.HORIZ_LINE_TO]=1,Ee[O.VERT_LINE_TO]=1,Ee[O.CLOSE_PATH]=0,Ee[O.QUAD_TO]=4,Ee[O.SMOOTH_QUAD_TO]=2,Ee[O.CURVE_TO]=6,Ee[O.SMOOTH_CURVE_TO]=4,Ee[O.ARC]=7,Ee),_n=m((()=>{var a=qt().PROPER,e=Ze(),t=he(),r=De(),i=J(),n=Gt(),o="toString",s=RegExp.prototype,u=s[o],l=i(function(){return u.call({source:"a",flags:"b"})!=="/a/b"}),h=a&&u.name!==o;(l||h)&&e(s,o,function(){var v=t(this),f=r(v.source),p=r(n(v));return"/"+f+"/"+p},{unsafe:!0})})),eo=_n();function Ct(a){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ct=function(e){return typeof e}:Ct=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ct(a)}function Tn(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}var En=[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: 9,187 bytes, line 5
56,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],On=[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 Sn(a,e,t,r,i){if(typeof a=="string"&&(a=document.getElementById(a)),!a||Ct(a)!=="object"||!("getContext"in a))throw new TypeError("Expecting canvas with `getContext` method in processCanvasRGB(A) calls!");var n=a.getContext("2d");try{return n.getImageData(e,t,r,i)}catch(o){throw new Error("unable to access image data: "+o)}}function wn(a,e,t,r,i,n){if(!(isNaN(n)||n<1)){n|=0;var o=Sn(a,e,t,r,i);o=Cn(o,e,t,r,i,n),a.getContext("2d").putImageData(o,e,t)}}function Cn(a,e,t,r,i,n){for(var o=a.data,s=2*n+1,u=r-1,l=i-1,h=n+1,c=h*(h+1)/2,v=new qr,f=v,p,g=1;g<s;g++)f=f.next=new qr,g===h&&(p=f);f.next=v;for(var y=null,d=null,_=0,b=0,x=En[n],T=On[n],E=0;E<i;E++){f=v;for(var S=o[b],C=o[b+1],A=o[b+2],N=o[b+3],M=0;M<h;M++)f.r=S,f.g=C,f.b=A,f.a=N,f=f.next;for(var R=0,q=0,D=0,j=0,P=h*S,V=h*C,k=h*A,I=h*N,B=c*S,G=c*C,H=c*A,$=c*N,z=1;z<h;z++){var Y=b+((u<z?u:z)<<2),Z=o[Y],me=o[Y+1],Re=o[Y+2],Le=o[Y+3],le=h-z;B+=(f.r=Z)*le,G+=(f.g=me)*le,H+=(f.b=Re)*le,$+=(f.a=Le)*le,R+=Z,q+=me,D+=Re,j+=Le,f=f.next}y=v,d=p;for(var Ne=0;Ne<r;Ne++){var Ie=$*x>>>T;if(o[b+3]=Ie,Ie!==0){var Me=255/Ie;o[b]=(B*x>>>T)*Me,o[b+1]=(G*x>>>T)*Me,o[b+2]=(H*x>>>T)*Me}else o[b]=o[b+1]=o[b+2]=0;B-=P,G-=V,H-=k,$-=I,P-=y.r,V-=y.g,k-=y.b,I-=y.a;var ce=Ne+n+1;ce=_+(ce<u?ce:u)<<2,R+=y.r=o[ce],q+=y.g=o[ce+1],D+=y.b=o[ce+2],j+=y.a=o[ce+3],B+=R,G+=q,H+=D,$+=j,y=y.next;var Ve=d,at=Ve.r,it=Ve.g,_t=Ve.b,nt=Ve.a;P+=at,V+=it,k+=_t,I+=nt,R-=at,q-=it,D-=_t,j-=nt,d=d.next,b+=4}_+=r}for(var $e=0;$e<r;$e++){b=$e<<2;var fe=o[b],ge=o[b+1],xe=o[b+2],w=o[b+3],U=h*fe,X=h*ge,W=h*xe,Q=h*w,be=c*fe,qe=c*ge,_e=c*xe,Te=c*w;f=v;for(var st=0;st<h;st++)f.r=fe,f.g=ge,f.b=xe,f.a=w,f=f.next;for(var ot=r,ut=0,Wt=0,Qt=0,Zt=0,Tt=1;Tt<=n;Tt++){b=ot+$e<<2;var Et=h-Tt;be+=(f.r=fe=o[b])*Et,qe+=(f.g=ge=o[b+1])*Et,_e+=(f.b=xe=o[b+2])*Et,Te+=(f.a=w=o[b+3])*Et,Zt+=fe,ut+=ge,Wt+=xe,Qt+=w,f=f.next,Tt<l&&(ot+=r)}b=$e,y=v,d=p;for(var Kt=0;Kt<i;Kt++){var pe=b<<2;o[pe+3]=w=Te*x>>>T,w>0?(w=255/w,o[pe]=(be*x>>>T)*w,o[pe+1]=(qe*x>>>T)*w,o[pe+2]=(_e*x>>>T)*w):o[pe]=o[pe+1]=o[pe+2]=0,be-=U,qe-=X,_e-=W,Te-=Q,U-=y.r,X-=y.g,W-=y.b,Q-=y.a,pe=$e+((pe=Kt+h)<l?pe:l)*r<<2,be+=Zt+=y.r=o[pe],qe+=ut+=y.g=o[pe+1],_e+=Wt+=y.b=o[pe+2],Te+=Qt+=y.a=o[pe+3],y=y.next,U+=fe=d.r,X+=ge=d.g,W+=xe=d.b,Q+=w=d.a,Zt-=fe,ut-=ge,Wt-=xe,Qt-=w,d=d.next,b+=r}}return a}var qr=function a(){Tn(this,a),this.r=0,this.g=0,this.b=0,this.a=0,this.next=null};function Pn(){var{DOMParser:a}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:a,createCanvas(t,r){return new OffscreenCanvas(t,r)},createImage(t){return Ue(function*(){var r=yield(yield fetch(t)).blob();return yield createImageBitmap(r)})()}};return(typeof DOMParser<"u"||typeof a>"u")&&Reflect.deleteProperty(e,"DOMParser"),e}function An(a){var{DOMParser:e,canvas:t,fetch:r}=a;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:r,createCanvas:t.createCanvas,createImage:t.loadImage}}var to=Object.freeze({__proto__:null,offscreen:Pn,node:An});function rt(a){return a.replace(/(?!\u3000)\s+/gm," ")}function Rn(a){return a.replace(/^[\n \t]+/,"")}function Nn(a){return a.replace(/[\n \t]+$/,"")}function ye(a){return((a||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[]).map(parseFloat)}var In=/^[A-Z-]+$/;function Mn(a){return In.test(a)?a.toLowerCase():a}function Ia(a){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(a)||[];return e[2]||e[3]||e[4]}function Vn(a){if(!a.startsWith("rgb"))return a;var e=3;return a.replace(/\d+(\.\d+)?/g,(t,r)=>e--&&r?String(Math.round(parseFloat(t))):t)}var kn=/(\[[^\]]+\])/g,Dn=/(#[^\s+>~.[:]+)/g,Ln=/(\.[^\s+>~.[:]+)/g,qn=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,jn=/(:[\w-]+\([^)]*\))/gi,Bn=/(:[^\s+>~.[:]+)/g,Un=/([^\s+>~.[:]+)/g;function Ye(a,e){var t=e.exec(a);return t?[a.replace(e," "),t.length]:[a,0]}function Fn(a){var e=[0,0,0],t=a.replace(/:not\(([^)]*)\)/g,"     $1 ").replace(/{[\s\S]*/gm," "),r=0;return[t,r]=Ye(t,kn),e[1]+=r,[t,r]=Ye(t,Dn),e[0]+=r,[t,r]=Ye(t,Ln),e[1]+=r,[t,r]=Ye(t,qn),e[2]+=r,[t,r]=Ye(t,jn),e[1]+=r,[t,r]=Ye(t,Bn),e[1]+=r,t=t.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[t,r]=Ye(t,Un),e[2]+=r,e.join("")}var Rt=1e-8;function jr(a){return Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2))}function ir(a,e){return(a[0]*e[0]+a[1]*e[1])/(jr(a)*jr(e))}function Br(a,e){return(a[0]*e[1]<a[1]*e[0]?-1:1)*Math.acos(ir(a,e))}function Ur(a){return a*a*a}function Fr(a){return 3*a*a*(1-a)}function zr(a){return 3*a*(1-a)*(1-a)}function $r(a){return(1-a)*(1-a)*(1-a)}function Gr(a){return a*a}function Hr(a){return 2*a*(1-a)}function Yr(a){return(1-a)*(1-a)}var L=class lt{constructor(e,t,r){this.document=e,this.name=t,this.value=r,this.isNormalizedColor=!1}static empty(e){return new lt(e,"EMPTY","")}split(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:t,name:r}=this;return rt(this.getString()).trim().split(e).map(i=>new lt(t,r,i))}hasValue(e){var{value:t}=this;return t!==null&&t!==""&&(e||t!==0)&&typeof t<"u"}isString(e){var{value:t}=this,r=typeof t=="string";return!r||!e?r:e.test(t)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var e=this.getString();switch(!0){case e.endsWith("px"):case/^[0-9]+$/.test(e):return!0;default:return!1}}setValue(e){return this.value=e,this}getValue(e){return typeof e>"u"||this.hasValue()?this.value:e}getNumber(e){if(!this.hasValue())return typeof e>"u"?0:parseFloat(e);var{value:t}=this,r=parseFloat(t);return this.isString(/%$/)&&(r/=100),r}getString(e){return typeof e>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(e)}getColor(e){var t=this.getString(e);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=Vn(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[r,i]=typeof e=="boolean"?[void 0,e]:[e],{viewPort:n}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(n.computeSize("x"),n.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(n.computeSize("x"),n.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*n.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*n.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;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(/%$/)&&i):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*n.computeSize(r);default:var o=this.getNumber();return t&&o<1?o*n.computeSize(r):o}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3: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 e=this.getString(),t=/#([^)'"]+)/.exec(e);return t&&(t=t[1]),t||(t=e),this.document.definitions[t]}getFillStyleDefinition(e,t){var r=this.getDefinition();if(!r)return null;if(typeof r.createGradient=="function")return r.createGradient(this.document.ctx,e,t);if(typeof r.createPattern=="function"){if(r.getHrefAttribute().hasValue()){var i=r.getAttribute("patternTransform");r=r.getHrefAttribute().getDefinition(),i.hasValue()&&r.getAttribute("patternTransform",!0).setValue(i.value)}return r.createPattern(this.document.ctx,e,t)}return null}getTextBaseline(){return this.hasValue()?lt.textBaselineMapping[this.get
vendor: 13,236 bytes, line 5
5String()]:null}addOpacity(e){for(var t=this.getColor(),r=t.length,i=0,n=0;n<r&&(t[n]===","&&i++,i!==3);n++);if(e.hasValue()&&this.isString()&&i!==3){var o=new rr.default(t);o.ok&&(o.alpha=e.getNumber(),t=o.toRGBA())}return new lt(this.document,this.name,t)}};L.textBaselineMapping={baseline:"alphabetic","before-edge":"top","text-before-edge":"top",middle:"middle",central:"middle","after-edge":"bottom","text-after-edge":"bottom",ideographic:"ideographic",alphabetic:"alphabetic",hanging:"hanging",mathematical:"alphabetic"};var zn=class{constructor(){this.viewPorts=[]}clear(){this.viewPorts=[]}setCurrent(a,e){this.viewPorts.push({width:a,height:e})}removeCurrent(){this.viewPorts.pop()}getCurrent(){var{viewPorts:a}=this;return a[a.length-1]}get width(){return this.getCurrent().width}get height(){return this.getCurrent().height}computeSize(a){return typeof a=="number"?a:a==="x"?this.width:a==="y"?this.height:Math.sqrt(Math.pow(this.width,2)+Math.pow(this.height,2))/Math.sqrt(2)}},oe=class Pt{constructor(e,t){this.x=e,this.y=t}static parse(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,[r=t,i=t]=ye(e);return new Pt(r,i)}static parseScale(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[r=t,i=r]=ye(e);return new Pt(r,i)}static parsePath(e){for(var t=ye(e),r=t.length,i=[],n=0;n<r;n+=2)i.push(new Pt(t[n],t[n+1]));return i}angleTo(e){return Math.atan2(e.y-this.y,e.x-this.x)}applyTransform(e){var{x:t,y:r}=this,i=t*e[0]+r*e[2]+e[4],n=t*e[1]+r*e[3]+e[5];this.x=i,this.y=n}},$n=class{constructor(a){this.screen=a,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}isWorking(){return this.working}start(){if(!this.working){var{screen:a,onClick:e,onMouseMove:t}=this,r=a.ctx.canvas;r.onclick=e,r.onmousemove=t,this.working=!0}}stop(){if(this.working){var a=this.screen.ctx.canvas;this.working=!1,a.onclick=null,a.onmousemove=null}}hasEvents(){return this.working&&this.events.length>0}runEvents(){if(this.working){var{screen:a,events:e,eventElements:t}=this,{style:r}=a.ctx.canvas;r&&(r.cursor=""),e.forEach((i,n)=>{for(var{run:o}=i,s=t[n];s;)o(s),s=s.parent}),this.events=[],this.eventElements=[]}}checkPath(a,e){if(!(!this.working||!e)){var{events:t,eventElements:r}=this;t.forEach((i,n)=>{var{x:o,y:s}=i;!r[n]&&e.isPointInPath&&e.isPointInPath(o,s)&&(r[n]=a)})}}checkBoundingBox(a,e){if(!(!this.working||!e)){var{events:t,eventElements:r}=this;t.forEach((i,n)=>{var{x:o,y:s}=i;!r[n]&&e.isPointInBox(o,s)&&(r[n]=a)})}}mapXY(a,e){for(var{window:t,ctx:r}=this.screen,i=new oe(a,e),n=r.canvas;n;)i.x-=n.offsetLeft,i.y-=n.offsetTop,n=n.offsetParent;return t.scrollX&&(i.x+=t.scrollX),t.scrollY&&(i.y+=t.scrollY),i}onClick(a){var{x:e,y:t}=this.mapXY(a.clientX,a.clientY);this.events.push({type:"onclick",x:e,y:t,run(r){r.onClick&&r.onClick()}})}onMouseMove(a){var{x:e,y:t}=this.mapXY(a.clientX,a.clientY);this.events.push({type:"onmousemove",x:e,y:t,run(r){r.onMouseMove&&r.onMouseMove()}})}},Ma=typeof window<"u"?window:null,Va=typeof fetch<"u"?fetch.bind(void 0):null,Ht=class{constructor(a){var{fetch:e=Va,window:t=Ma}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=a,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new zn,this.mouse=new $n(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=t,this.fetch=e}wait(a){this.waits.push(a)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var a=this.waits.every(e=>e());return a&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=a,a}setDefaults(a){a.strokeStyle="rgba(0,0,0,0)",a.lineCap="butt",a.lineJoin="miter",a.miterLimit=4}setViewBox(a){var{document:e,ctx:t,aspectRatio:r,width:i,desiredWidth:n,height:o,desiredHeight:s,minX:u=0,minY:l=0,refX:h,refY:c,clip:v=!1,clipX:f=0,clipY:p=0}=a,[g,y]=rt(r).replace(/^defer\s/,"").split(" "),d=g||"xMidYMid",_=y||"meet",b=i/n,x=o/s,T=Math.min(b,x),E=Math.max(b,x),S=n,C=s;_==="meet"&&(S*=T,C*=T),_==="slice"&&(S*=E,C*=E);var A=new L(e,"refX",h),N=new L(e,"refY",c),M=A.hasValue()&&N.hasValue();if(M&&t.translate(-T*A.getPixels("x"),-T*N.getPixels("y")),v){var R=T*f,q=T*p;t.beginPath(),t.moveTo(R,q),t.lineTo(i,q),t.lineTo(i,o),t.lineTo(R,o),t.closePath(),t.clip()}if(!M){var D=_==="meet"&&T===x,j=_==="slice"&&E===x,P=_==="meet"&&T===b,V=_==="slice"&&E===b;d.startsWith("xMid")&&(D||j)&&t.translate(i/2-S/2,0),d.endsWith("YMid")&&(P||V)&&t.translate(0,o/2-C/2),d.startsWith("xMax")&&(D||j)&&t.translate(i-S,0),d.endsWith("YMax")&&(P||V)&&t.translate(0,o-C)}switch(!0){case d==="none":t.scale(b,x);break;case _==="meet":t.scale(T,T);break;case _==="slice":t.scale(E,E)}t.translate(-u,-l)}start(a){var{enableRedraw:e=!1,ignoreMouse:t=!1,ignoreAnimation:r=!1,ignoreDimensions:i=!1,ignoreClear:n=!1,forceRedraw:o,scaleWidth:s,scaleHeight:u,offsetX:l,offsetY:h}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:c,mouse:v}=this,f=1e3/c;if(this.frameDuration=f,this.readyPromise=new Promise(_=>{this.resolveReady=_}),this.isReady()&&this.render(a,i,n,s,u,l,h),!!e){var p=Date.now(),g=p,y=0,d=()=>{p=Date.now(),y=p-g,y>=f&&(g=p-y%f,this.shouldUpdate(r,o)&&(this.render(a,i,n,s,u,l,h),v.runEvents())),this.intervalId=(0,Jt.default)(d)};t||v.start(),this.intervalId=(0,Jt.default)(d)}}stop(){this.intervalId&&(Jt.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(a,e){if(!a){var{frameDuration:t}=this;if(this.animations.reduce((r,i)=>i.update(t)||r,!1))return!0}return!!(typeof e=="function"&&e()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(a,e,t,r,i,n,o){var{CLIENT_WIDTH:s,CLIENT_HEIGHT:u,viewPort:l,ctx:h,isFirstRender:c}=this,v=h.canvas;l.clear(),v.width&&v.height?l.setCurrent(v.width,v.height):l.setCurrent(s,u);var f=a.getStyle("width"),p=a.getStyle("height");!e&&(c||typeof r!="number"&&typeof i!="number")&&(f.hasValue()&&(v.width=f.getPixels("x"),v.style&&(v.style.width="".concat(v.width,"px"))),p.hasValue()&&(v.height=p.getPixels("y"),v.style&&(v.style.height="".concat(v.height,"px"))));var g=v.clientWidth||v.width,y=v.clientHeight||v.height;if(e&&f.hasValue()&&p.hasValue()&&(g=f.getPixels("x"),y=p.getPixels("y")),l.setCurrent(g,y),typeof n=="number"&&a.getAttribute("x",!0).setValue(n),typeof o=="number"&&a.getAttribute("y",!0).setValue(o),typeof r=="number"||typeof i=="number"){var d=ye(a.getAttribute("viewBox").getString()),_=0,b=0;if(typeof r=="number"){var x=a.getStyle("width");x.hasValue()?_=x.getPixels("x")/r:isNaN(d[2])||(_=d[2]/r)}if(typeof i=="number"){var T=a.getStyle("height");T.hasValue()?b=T.getPixels("y")/i:isNaN(d[3])||(b=d[3]/i)}_||(_=b),b||(b=_),a.getAttribute("width",!0).setValue(r),a.getAttribute("height",!0).setValue(i);var E=a.getStyle("transform",!0,!0);E.setValue("".concat(E.getString()," scale(").concat(1/_,", ").concat(1/b,")"))}t||h.clearRect(0,0,g,y),a.render(h),c&&(this.isFirstRender=!1)}};Ht.defaultWindow=Ma;Ht.defaultFetch=Va;var{defaultFetch:Gn}=Ht,Hn=typeof DOMParser<"u"?DOMParser:null,tr=class{constructor(){var{fetch:a=Gn,DOMParser:e=Hn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=a,this.DOMParser=e}parse(a){var e=this;return Ue(function*(){return a.startsWith("<")?e.parseFromString(a):e.load(a)})()}parseFromString(a){var e=new this.DOMParser;try{return this.checkDocument(e.parseFromString(a,"image/svg+xml"))}catch{return this.checkDocument(e.parseFromString(a,"text/xml"))}}checkDocument(a){var e=a.getElementsByTagName("parsererror")[0];if(e)throw new Error(e.textContent);return a}load(a){var e=this;return Ue(function*(){var t=yield(yield e.fetch(a)).text();return e.parseFromString(t)})()}},Yn=class{constructor(a,e){this.type="translate",this.point=null,this.point=oe.parse(e)}apply(a){var{x:e,y:t}=this.point;a.translate(e||0,t||0)}unapply(a){var{x:e,y:t}=this.point;a.translate(-1*e||0,-1*t||0)}applyToPoint(a){var{x:e,y:t}=this.point;a.applyTransform([1,0,0,1,e||0,t||0])}},Xn=class{constructor(a,e,t){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var r=ye(e);this.angle=new L(a,"angle",r[0]),this.originX=t[0],this.originY=t[1],this.cx=r[1]||0,this.cy=r[2]||0}apply(a){var{cx:e,cy:t,originX:r,originY:i,angle:n}=this,o=e+r.getPixels("x"),s=t+i.getPixels("y");a.translate(o,s),a.rotate(n.getRadians()),a.translate(-o,-s)}unapply(a){var{cx:e,cy:t,originX:r,originY:i,angle:n}=this,o=e+r.getPixels("x"),s=t+i.getPixels("y");a.translate(o,s),a.rotate(-1*n.getRadians()),a.translate(-o,-s)}applyToPoint(a){var{cx:e,cy:t,angle:r}=this,i=r.getRadians();a.applyTransform([1,0,0,1,e||0,t||0]),a.applyTransform([Math.cos(i),Math.sin(i),-Math.sin(i),Math.cos(i),0,0]),a.applyTransform([1,0,0,1,-e||0,-t||0])}},Wn=class{constructor(a,e,t){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var r=oe.parseScale(e);(r.x===0||r.y===0)&&(r.x=Rt,r.y=Rt),this.scale=r,this.originX=t[0],this.originY=t[1]}apply(a){var{scale:{x:e,y:t},originX:r,originY:i}=this,n=r.getPixels("x"),o=i.getPixels("y");a.translate(n,o),a.scale(e,t||e),a.translate(-n,-o)}unapply(a){var{scale:{x:e,y:t},originX:r,originY:i}=this,n=r.getPixels("x"),o=i.getPixels("y");a.translate(n,o),a.scale(1/e,1/t||e),a.translate(-n,-o)}applyToPoint(a){var{x:e,y:t}=this.scale;a.applyTransform([e||0,0,0,t||0,0,0])}},ka=class{constructor(a,e,t){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=ye(e),this.originX=t[0],this.originY=t[1]}apply(a){var{originX:e,originY:t,matrix:r}=this,i=e.getPixels("x"),n=t.getPixels("y");a.translate(i,n),a.transform(r[0],r[1],r[2],r[3],r[4],r[5]),a.translate(-i,-n)}unapply(a){var{originX:e,originY:t,matrix:r}=this,i=r[0],n=r[2],o=r[4],s=r[1],u=r[3],l=r[5],h=0,c=0,v=1,f=1/(i*(u*v-l*c)-n*(s*v-l*h)+o*(s*c-u*h)),p=e.getPixels("x"),g=t.getPixels("y");a.translate(p,g),a.transform(f*(u*v-l*c),f*(l*h-s*v),f*(o*c-n*v),f*(i*v-o*h),f*(n*l-o*u),f*(o*s-i*l)),a.translate(-p,-g)}applyToPoint(a){a.applyTransform(this.matrix)}},Da=class extends ka{constructor(a,e,t){super(a,e,t),this.type="skew",this.angle=null,this.angle=new L(a,"angle",e)}},Qn=class extends Da{constructor(a,e,t){super(a,e,t),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}},Zn=class extends Da{constructor(a,e,t){super(a,e,t),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}};function Kn(a){return rt(a).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function Jn(a){var[e,t]=a.split("(");return[e.trim(),t.trim().replace(")","")]}var Yt=class nr{constructor(e,t,r){this.document=e,this.transforms=[],Kn(t).forEach(i=>{if(i!=="none"){var[n,o]=Jn(i),s=nr.transformTypes[n];typeof s<"u"&&this.transforms.push(new s(this.document,o,r))}})}static fromElement(e,t){var r=t.getStyle("transform",!1,!0),[i,n=i]=t.getStyle("transform-origin",!1,!0).split(),o=[i,n];return r.hasValue()?new nr(e,r.getString(),o):null}apply(e){for(var{transforms:t}=this,r=t.length,i=0;i<r;i++)t[i].apply(e)}unapply(e){for(var{transforms:t}=this,r=t.length-1;r>=0;r--)t[r].unapply(e)}applyToPoint(e){for(var{transforms:t}=this,r=t.length,i=0;i<r;i++)t[i].applyToPoint(e)}};Yt.transformTypes={translate:Yn,rotate:Xn,scale:Wn,matrix:ka,skewX:Qn,skewY:Zn};var te=class sr{constructor(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=e,this.node=t,this.captureTextNodes=r,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=[],!(!t||t.nodeType!==1)){Array.from(t.attributes).forEach(o=>{var s=Mn(o.nodeName);this.attributes[s]=new L(e,s,o.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(o=>o.trim()).forEach(o=>{if(o){var[s,u]=o.split(":").map(l=>l.trim());this.styles[s]=new L(e,s,u)}});var{definitions:i}=e,n=this.getAttribute("id");n.hasValue()&&(i[n.getString()]||(i[n.getString()]=this)),Array.from(t.childNodes).forEach(o=>{if(o.nodeType===1)this.addChild(o);else if(r&&(o.nodeType===3||o.nodeType===4)){var s=e.createTextNode(o);s.getText().length>0&&this.addChild(s)}})}}getAttribute(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=this.attributes[e];if(!r&&t){var i=new L(this.document,e,"");return this.attributes[e]=i,i}return r||L.empty(this.document)}getHrefAttribute(){for(var e in this.attributes)if(e==="href"||e.endsWith(":href"))return this.attributes[e];return L.empty(this.document)}getStyle(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=this.styles[e];if(i)return i;var n=this.getAttribute(e);if(n!=null&&n.hasValue())return this.styles[e]=n,n;if(!r){var{parent:o}=this;if(o){var s=o.getStyle(e);if(s!=null&&s.hasValue())return s}}if(t){var u=new L(this.document,e,"");return this.styles[e]=u,u}return i||L.empty(this.document)}render(e){if(!(this.getStyle("display").getString()==="none"||this.get
vendor: 25,455 bytes, line 5
5Style("visibility").getString()==="hidden")){if(e.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(e),t.apply(e,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var r=this.getStyle("filter").getDefinition();r&&(this.applyEffects(e),r.apply(e,this))}else this.setContext(e),this.renderChildren(e),this.clearContext(e);e.restore()}}setContext(e){}applyEffects(e){var t=Yt.fromElement(this.document,this);t&&t.apply(e);var r=this.getStyle("clip-path",!1,!0);if(r.hasValue()){var i=r.getDefinition();i&&i.apply(e)}}clearContext(e){}renderChildren(e){this.children.forEach(t=>{t.render(e)})}addChild(e){var t=e instanceof sr?e:this.document.createElement(e);t.parent=this,sr.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(e){var t,{node:r}=this;if(typeof r.matches=="function")return r.matches(e);var i=(t=r.getAttribute)===null||t===void 0?void 0:t.call(r,"class");return!i||i===""?!1:i.split(" ").some(n=>".".concat(n)===e)}addStylesFromStyleDefinition(){var{styles:e,stylesSpecificity:t}=this.document;for(var r in e)if(!r.startsWith("@")&&this.matchesSelector(r)){var i=e[r],n=t[r];if(i)for(var o in i){var s=this.stylesSpecificity[o];typeof s>"u"&&(s="000"),n>=s&&(this.styles[o]=i[o],this.stylesSpecificity[o]=n)}}}removeStyles(e,t){return t.reduce((r,i)=>{var n=e.getStyle(i);if(!n.hasValue())return r;var o=n.getString();return n.setValue(""),[...r,[i,o]]},[])}restoreStyles(e,t){t.forEach(r=>{var[i,n]=r;e.getStyle(i,!0).setValue(n)})}isFirstChild(){var e;return((e=this.parent)===null||e===void 0?void 0:e.children.indexOf(this))===0}};te.ignoreChildTypes=["title"];var es=class extends te{constructor(a,e,t){super(a,e,t)}};function ts(a){var e=a.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function rs(a){return typeof process>"u"?a:a.trim().split(",").map(ts).join(",")}function as(a){if(!a)return"";var e=a.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 is(a){if(!a)return"";var e=a.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:""}}var Fe=class Je{constructor(e,t,r,i,n,o){var s=o?typeof o=="string"?Je.parse(o):o:{};this.fontFamily=n||s.fontFamily,this.fontSize=i||s.fontSize,this.fontStyle=e||s.fontStyle,this.fontWeight=r||s.fontWeight,this.fontVariant=t||s.fontVariant}static parse(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,r="",i="",n="",o="",s="",u=rt(e).trim().split(" "),l={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return u.forEach(h=>{switch(!0){case(!l.fontStyle&&Je.styles.includes(h)):h!=="inherit"&&(r=h),l.fontStyle=!0;break;case(!l.fontVariant&&Je.variants.includes(h)):h!=="inherit"&&(i=h),l.fontStyle=!0,l.fontVariant=!0;break;case(!l.fontWeight&&Je.weights.includes(h)):h!=="inherit"&&(n=h),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0;break;case!l.fontSize:h!=="inherit"&&([o]=h.split("/")),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0,l.fontSize=!0;break;default:h!=="inherit"&&(s+=h)}}),new Je(r,i,n,o,s,t)}toString(){return[as(this.fontStyle),this.fontVariant,is(this.fontWeight),this.fontSize,rs(this.fontFamily)].join(" ").trim()}};Fe.styles="normal|italic|oblique|inherit";Fe.variants="normal|small-caps|inherit";Fe.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";var Ae=class{constructor(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:NaN,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:NaN,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:NaN;this.x1=a,this.y1=e,this.x2=t,this.y2=r,this.addPoint(a,e),this.addPoint(t,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(a,e){typeof a<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=a,this.x2=a),a<this.x1&&(this.x1=a),a>this.x2&&(this.x2=a)),typeof e<"u"&&((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(a){this.addPoint(a,null)}addY(a){this.addPoint(null,a)}addBoundingBox(a){if(a){var{x1:e,y1:t,x2:r,y2:i}=a;this.addPoint(e,t),this.addPoint(r,i)}}sumCubic(a,e,t,r,i){return Math.pow(1-a,3)*e+3*Math.pow(1-a,2)*a*t+3*(1-a)*Math.pow(a,2)*r+Math.pow(a,3)*i}bezierCurveAdd(a,e,t,r,i){var n=6*e-12*t+6*r,o=-3*e+9*t-9*r+3*i,s=3*t-3*e;if(o===0){if(n===0)return;var u=-s/n;0<u&&u<1&&(a?this.addX(this.sumCubic(u,e,t,r,i)):this.addY(this.sumCubic(u,e,t,r,i)));return}var l=Math.pow(n,2)-4*s*o;if(!(l<0)){var h=(-n+Math.sqrt(l))/(2*o);0<h&&h<1&&(a?this.addX(this.sumCubic(h,e,t,r,i)):this.addY(this.sumCubic(h,e,t,r,i)));var c=(-n-Math.sqrt(l))/(2*o);0<c&&c<1&&(a?this.addX(this.sumCubic(c,e,t,r,i)):this.addY(this.sumCubic(c,e,t,r,i)))}}addBezierCurve(a,e,t,r,i,n,o,s){this.addPoint(a,e),this.addPoint(o,s),this.bezierCurveAdd(!0,a,t,i,o),this.bezierCurveAdd(!1,e,r,n,s)}addQuadraticCurve(a,e,t,r,i,n){var o=a+.6666666666666666*(t-a),s=e+2/3*(r-e),u=o+1/3*(i-a),l=s+1/3*(n-e);this.addBezierCurve(a,e,o,u,s,l,i,n)}isPointInBox(a,e){var{x1:t,y1:r,x2:i,y2:n}=this;return t<=a&&a<=i&&r<=e&&e<=n}},F=class extends O{constructor(a){super(a.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 oe(0,0),this.control=new oe(0,0),this.current=new oe(0,0),this.points=[],this.angles=[]}isEnd(){var{i:a,commands:e}=this;return a>=e.length-1}next(){var a=this.commands[++this.i];return this.previousCommand=this.command,this.command=a,a}getPoint(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",t=new oe(this.command[a],this.command[e]);return this.makeAbsolute(t)}getAsControlPoint(a,e){var t=this.getPoint(a,e);return this.control=t,t}getAsCurrentPoint(a,e){var t=this.getPoint(a,e);return this.current=t,t}getReflectedControlPoint(){var a=this.previousCommand.type;if(a!==O.CURVE_TO&&a!==O.SMOOTH_CURVE_TO&&a!==O.QUAD_TO&&a!==O.SMOOTH_QUAD_TO)return this.current;var{current:{x:e,y:t},control:{x:r,y:i}}=this;return new oe(2*e-r,2*t-i)}makeAbsolute(a){if(this.command.relative){var{x:e,y:t}=this.current;a.x+=e,a.y+=t}return a}addMarker(a,e,t){var{points:r,angles:i}=this;t&&i.length>0&&!i[i.length-1]&&(i[i.length-1]=r[r.length-1].angleTo(t)),this.addMarkerAngle(a,e?e.angleTo(a):null)}addMarkerAngle(a,e){this.points.push(a),this.angles.push(e)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:a}=this,e=a.length,t=0;t<e;t++)if(!a[t]){for(var r=t+1;r<e;r++)if(a[r]){a[t]=a[r];break}}return a}},Ke=class extends te{constructor(){super(...arguments),this.modifiedEmSizeStack=!1}calculateOpacity(){for(var a=1,e=this;e;){var t=e.getStyle("opacity",!1,!0);t.hasValue(!0)&&(a*=t.getNumber()),e=e.parent}return a}setContext(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!e){var t=this.getStyle("fill"),r=this.getStyle("fill-opacity"),i=this.getStyle("stroke"),n=this.getStyle("stroke-opacity");if(t.isUrlDefinition()){var o=t.getFillStyleDefinition(this,r);o&&(a.fillStyle=o)}else if(t.hasValue()){t.getString()==="currentColor"&&t.setValue(this.getStyle("color").getColor());var s=t.getColor();s!=="inherit"&&(a.fillStyle=s==="none"?"rgba(0,0,0,0)":s)}if(r.hasValue()&&(a.fillStyle=new L(this.document,"fill",a.fillStyle).addOpacity(r).getColor()),i.isUrlDefinition()){var u=i.getFillStyleDefinition(this,n);u&&(a.strokeStyle=u)}else if(i.hasValue()){i.getString()==="currentColor"&&i.setValue(this.getStyle("color").getColor());var l=i.getString();l!=="inherit"&&(a.strokeStyle=l==="none"?"rgba(0,0,0,0)":l)}n.hasValue()&&(a.strokeStyle=new L(this.document,"stroke",a.strokeStyle).addOpacity(n).getString());var h=this.getStyle("stroke-width");if(h.hasValue()){var c=h.getPixels();a.lineWidth=c||Rt}var v=this.getStyle("stroke-linecap"),f=this.getStyle("stroke-linejoin"),p=this.getStyle("stroke-miterlimit"),g=this.getStyle("stroke-dasharray"),y=this.getStyle("stroke-dashoffset");if(v.hasValue()&&(a.lineCap=v.getString()),f.hasValue()&&(a.lineJoin=f.getString()),p.hasValue()&&(a.miterLimit=p.getNumber()),g.hasValue()&&g.getString()!=="none"){var d=ye(g.getString());typeof a.setLineDash<"u"?a.setLineDash(d):typeof a.webkitLineDash<"u"?a.webkitLineDash=d:typeof a.mozDash<"u"&&!(d.length===1&&d[0]===0)&&(a.mozDash=d);var _=y.getPixels();typeof a.lineDashOffset<"u"?a.lineDashOffset=_:typeof a.webkitLineDashOffset<"u"?a.webkitLineDashOffset=_:typeof a.mozDashOffset<"u"&&(a.mozDashOffset=_)}}if(this.modifiedEmSizeStack=!1,typeof a.font<"u"){var b=this.getStyle("font"),x=this.getStyle("font-style"),T=this.getStyle("font-variant"),E=this.getStyle("font-weight"),S=this.getStyle("font-size"),C=this.getStyle("font-family"),A=new Fe(x.getString(),T.getString(),E.getString(),S.hasValue()?"".concat(S.getPixels(!0),"px"):"",C.getString(),Fe.parse(b.getString(),a.font));x.setValue(A.fontStyle),T.setValue(A.fontVariant),E.setValue(A.fontWeight),S.setValue(A.fontSize),C.setValue(A.fontFamily),a.font=A.toString(),S.isPixels()&&(this.document.emSize=S.getPixels(),this.modifiedEmSizeStack=!0)}e||(this.applyEffects(a),a.globalAlpha=this.calculateOpacity())}clearContext(a){super.clearContext(a),this.modifiedEmSizeStack&&this.document.popEmSize()}},ne=class Se extends Ke{constructor(e,t,r){super(e,t,r),this.type="path",this.pathParser=null,this.pathParser=new F(this.getAttribute("d").getString())}path(e){var{pathParser:t}=this,r=new Ae;for(t.reset(),e&&e.beginPath();!t.isEnd();)switch(t.next().type){case F.MOVE_TO:this.pathM(e,r);break;case F.LINE_TO:this.pathL(e,r);break;case F.HORIZ_LINE_TO:this.pathH(e,r);break;case F.VERT_LINE_TO:this.pathV(e,r);break;case F.CURVE_TO:this.pathC(e,r);break;case F.SMOOTH_CURVE_TO:this.pathS(e,r);break;case F.QUAD_TO:this.pathQ(e,r);break;case F.SMOOTH_QUAD_TO:this.pathT(e,r);break;case F.ARC:this.pathA(e,r);break;case F.CLOSE_PATH:this.pathZ(e,r)}return r}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,t=e.getMarkerPoints(),r=e.getMarkerAngles();return t.map((i,n)=>[i,r[n]])}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var t=this.getStyle("fill-rule");e.fillStyle!==""&&(t.getString("inherit")!=="inherit"?e.fill(t.getString()):e.fill()),e.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var r=this.getMarkers();if(r){var i=r.length-1,n=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(n.isUrlDefinition()){var u=n.getDefinition(),[l,h]=r[0];u.render(e,l,h)}if(o.isUrlDefinition())for(var c=o.getDefinition(),v=1;v<i;v++){var[f,p]=r[v];c.render(e,f,p)}if(s.isUrlDefinition()){var g=s.getDefinition(),[y,d]=r[i];g.render(e,y,d)}}}static pathM(e){var t=e.getAsCurrentPoint();return e.start=e.current,{point:t}}pathM(e,t){var{pathParser:r}=this,{point:i}=Se.pathM(r),{x:n,y:o}=i;r.addMarker(i),t.addPoint(n,o),e&&e.moveTo(n,o)}static pathL(e){var{current:t}=e;return{current:t,point:e.getAsCurrentPoint()}}pathL(e,t){var{pathParser:r}=this,{current:i,point:n}=Se.pathL(r),{x:o,y:s}=n;r.addMarker(n,i),t.addPoint(o,s),e&&e.lineTo(o,s)}static pathH(e){var{current:t,command:r}=e,i=new oe((r.relative?t.x:0)+r.x,t.y);return e.current=i,{current:t,point:i}}pathH(e,t){var{pathParser:r}=this,{current:i,point:n}=Se.pathH(r),{x:o,y:s}=n;r.addMarker(n,i),t.addPoint(o,s),e&&e.lineTo(o,s)}static pathV(e){var{current:t,command:r}=e,i=new oe(t.x,(r.relative?t.y:0)+r.y);return e.current=i,{current:t,point:i}}pathV(e,t){var{pathParser:r}=this,{current:i,point:n}=Se.pathV(r),{x:o,y:s}=n;r.addMarker(n,i),t.addPoint(o,s),e&&e.lineTo(o,s)}static pathC(e){var{current:t}=e;return{current:t,point:e.getPoint("x1","y1"),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathC(e,t){var{pathParser:r}=this,{current:i,point:n,controlPoint:o,currentPoint:s}=Se.pathC(r);r.addMarker(s,o,n),t.addBezierCurve(i.x,i.y,n.x,n.y,o.x,o.y,s.x,s.y),e&&e.bezierCurveTo(n.x,n.y,o.x,o.y,s.x,s.y)}static pathS(e){var{current:t}=e;return{current:t,point:e.getReflectedControlPoint(),controlPoint:e.getAsControlPoint("x2","y2"),currentPoint:e.getAsCurrentPoint()}}pathS(e,t){var{pathParser:r}=this,{current:i,point:n,controlPoint:o,currentPoint:s}=Se.pathS(r);r.addMarker(s,o,n),t.addBezierCurve(i.x,i.y,n.x,n.y,o.x,o.y,s.x,s.y),e&&e.bezierCurveTo(n.x,n.y,o.x,o.y,s.x,s.y)}static pathQ(e){var{current:t}=e;return{current:t,controlPoint:e.getAsControlPoint("x1","y1"),currentPoint:e.getAsCurrentPoint()}}pathQ(e,t){var{pathParser:r}=this,{current:i,controlPoint:n,currentPoint:o}=Se.pathQ(r);r.addMarker(o,n,n),t.addQuadraticCurve(i.x,i.y,n.x,n.y,o.x,o.y),e&&e.quadraticCurveTo(n.x,n.y,o.x,o.y)}static pathT(e){var{current:t}=e,r=e.getReflectedControlPoint();return e.control=r,{current:t,controlPoint:r,currentPoint:e.getAsCurrentPoint()}}pathT(e,t){var{pathParser:r}=this,{current:i,controlPoint:n,currentPoint:o}=Se.pathT(r);r.addMarker(o,n,n),t.addQuadraticCurve(i.x,i.y,n.x,n.y,o.x,o.y),e&&e.quadraticCurveTo(n.x,n.y,o.x,o.y)}static pathA(e){var{current:t,command:r}=e,{rX:i,rY:n,xRot:o,lArcFlag:s,sweepFlag:u}=r,l=o*(Math.PI/180),h=e.getAsCurrentPoint(),c=new oe(Math.cos(l)*(t.x-h.x)/2+Math.sin(l)*(t.y-h.y)/2,-Math.sin(l)*(t.x-h.x)/2+Math.cos(l)*(t.y-h.y)/2),v=Math.pow(c.x,2)/Math.pow(i,2)+Math.pow(c.y,2)/Math.pow(n,2);v>1&&(i*=Math.sqrt(v),n*=Math.sqrt(v));var f=(s===u?-1:1)*Math.sqrt((Math.pow(i,2)*Math.pow(n,2)-Math.pow(i,2)*Math.pow(c.y,2)-Math.pow(n,2)*Math.pow(c.x,2))/(Math.pow(i,2)*Math.pow(c.y,2)+Math.pow(n,2)*Math.pow(c.x,2)));isNaN(f)&&(f=0);var p=new oe(f*i*c.y/n,f*-n*c.x/i),g=new oe((t.x+h.x)/2+Math.cos(l)*p.x-Math.sin(l)*p.y,(t.y+h.y)/2+Math.sin(l)*p.x+Math.cos(l)*p.y),y=Br([1,0],[(c.x-p.x)/i,(c.y-p.y)/n]),d=[(c.x-p.x)/i,(c.y-p.y)/n],_=[(-c.x-p.x)/i,(-c.y-p.y)/n],b=Br(d,_);return ir(d,_)<=-1&&(b=Math.PI),ir(d,_)>=1&&(b=0),{currentPoint:h,rX:i,rY:n,sweepFlag:u,xAxisRotation:l,centp:g,a1:y,ad:b}}pathA(e,t){var{pathParser:r}=this,{currentPoint:i,rX:n,rY:o,sweepFlag:s,xAxisRotation:u,centp:l,a1:h,ad:c}=Se.pathA(r),v=1-s?1:-1,f=h+v*(c/2),p=new oe(l.x+n*Math.cos(f),l.y+o*Math.sin(f));if(r.addMarkerAngle(p,f-v*Math.PI/2),r.addMarkerAngle(i,f-v*Math.PI),t.addPoint(i.x,i.y),e&&!isNaN(h)&&!isNaN(c)){var g=n>o?n:o,y=n>o?1:n/o,d=n>o?o/n:1;e.translate(l.x,l.y),e.rotate(u),e.scale(y,d),e.arc(0,0,g,h,h+c,!!(1-s)),e.scale(1/y,1/d),e.rotate(-u),e.translate(-l.x,-l.y)}}static pathZ(e){e.current=e.start}pathZ(e,t){Se.pathZ(this.pathParser),e&&t.x1!==t.x2&&t.y1!==t.y2&&e.closePath()}},La=class extends ne{constructor(a,e,t){super(a,e,t),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}},xt=class or extends Ke{constructor(e,t,r){super(e,t,new.target===or?!0:r),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(e,t);var r=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();r&&(e.textBaseline=r)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(e){if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var t=null;return this.children.forEach((r,i)=>{var n=this.getChildBoundingBox(e,this,this,i);t?t.addBoundingBox(n):t=n}),t}getFontSize(){var{document:e,parent:t}=this,r=Fe.parse(e.ctx.font).fontSize;return t.getStyle("font-size").getNumber(r)}getTElementBoundingBox(e){var t=this.getFontSize();return new Ae(this.x,this.y-t,this.x+this.measureText(e),this.y)}getGlyph(e,t,r){var i=t[r],n=null;if(e.isArabic){var o=t.length,s=t[r-1],u=t[r+1],l="isolated";if((r===0||s===" ")&&r<o-1&&u!==" "&&(l="terminal"),r>0&&s!==" "&&r<o-1&&u!==" "&&(l="medial"),r>0&&s!==" "&&(r===o-1||u===" ")&&(l="initial"),typeof e.glyphs[i]<"u"){var h=e.glyphs[i];n=h instanceof La?h:h[l]}}else n=e.glyphs[i];return n||(n=e.missingGlyph),n}getText(){return""}getTextFromNode(e){var t=e||this.node,r=Array.from(t.parentNode.childNodes),i=r.indexOf(t),n=r.length-1,o=rt(t.textContent||"");return i===0&&(o=Rn(o)),i===n&&(o=Nn(o)),o}renderChildren(e){if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((r,i)=>{this.renderChild(e,this,this,i)});var{mouse:t}=this.document.screen;t.isWorking()&&t.checkBoundingBox(this,this.getBoundingBox(e))}renderTElementChildren(e){var{document:t,parent:r}=this,i=this.getText(),n=r.getStyle("font-family").getDefinition();if(n){for(var{unitsPerEm:o}=n.fontFace,s=Fe.parse(t.ctx.font),u=r.getStyle("font-size").getNumber(s.fontSize),l=r.getStyle("font-style").getString(s.fontStyle),h=u/o,c=n.isRTL?i.split("").reverse().join(""):i,v=ye(r.getAttribute("dx").getString()),f=c.length,p=0;p<f;p++){var g=this.getGlyph(n,c,p);e.translate(this.x,this.y),e.scale(h,-h);var y=e.lineWidth;e.lineWidth=e.lineWidth*o/u,l==="italic"&&e.transform(1,0,.4,1,0,0),g.render(e),l==="italic"&&e.transform(1,0,-.4,1,0,0),e.lineWidth=y,e.scale(1/h,-1/h),e.translate(-this.x,-this.y),this.x+=u*(g.horizAdvX||n.horizAdvX)/o,typeof v[p]<"u"&&!isNaN(v[p])&&(this.x+=v[p])}return}var{x:d,y:_}=this;e.fillStyle&&e.fillText(i,d,_),e.strokeStyle&&e.strokeText(i,d,_)}applyAnchoring(){if(!(this.textChunkStart>=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],t=e.getStyle("text-anchor").getString("start"),r=!1,i=0;t==="start"&&!r||t==="end"&&r?i=e.x-this.minX:t==="end"&&!r||t==="start"&&r?i=e.x-this.maxX:i=e.x-(this.minX+this.maxX)/2;for(var n=this.textChunkStart;n<this.leafTexts.length;n++)this.leafTexts[n].x+=i;this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY,this.textChunkStart=this.leafTexts.length}}adjustChildCoordinatesRecursive(e){this.children.forEach((t,r)=>{this.adjustChildCoordinatesRecursiveCore(e,this,this,r)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,t,r,i){var n=r.children[i];n.children.length>0?n.children.forEach((o,s)=>{t.adjustChildCoordinatesRecursiveCore(e,t,n,s)}):this.adjustChildCoordinates(e,t,r,i)}adjustChildCoordinates(e,t,r,i){var n=r.children[i];if(typeof n.measureText!="function")return n;e.save(),n.setContext(e,!0);var o=n.getAttribute("x"),s=n.getAttribute("y"),u=n.getAttribute("dx"),l=n.getAttribute("dy"),h=n.getStyle("font-family").getDefinition(),c=!!h&&h.isRTL;i===0&&(o.hasValue()||o.setValue(n.getInheritedAttribute("x")),s.hasValue()||s.setValue(n.getInheritedAttribute("y")),u.hasValue()||u.setValue(n.getInheritedAttribute("dx")),l.hasValue()||l.setValue(n.getInheritedAttribute("dy")));var v=n.measureText(e);return c&&(t.x-=v),o.hasValue()?(t.applyAnchoring(),n.x=o.getPixels("x"),u.hasValue()&&(n.x+=u.getPixels("x"))):(u.hasValue()&&(t.x+=u.getPixels("x")),n.x=t.x),t.x=n.x,c||(t.x+=v),s.hasValue()?(n.y=s.getPixels("y"),l.hasValue()&&(n.y+=l.getPixels("y"))):(l.hasValue()&&(t.y+=l.getPixels("y")),n.y=t.y),t.y=n.y,t.leafTexts.push(n),t.minX=Math.min(t.minX,n.x,n.x+v),t.maxX=Math.max(t.maxX,n.x,n.x+v),n.clearContext(e),e.restore(),n}getChildBoundingBox(e,t,r,i){var n=r.children[i];if(typeof n.getBoundingBox!="function")return null;var o=n.getBoundingBox(e);return o?(n.children.forEach((s,u)=>{var l=t.getChildBoundingBox(e,t,n,u);o.addBoundingBox(l)}),o):null}renderChild(e,t,r,i){var n=r.children[i];n.render(e),n.children.forEach((o,s)=>{t.renderChild(e,t,n,s)})}measureText(e){var{measureCache:t}=this;if(~t)return t;var r=this.getText(),i=this.measureTargetText(e,r);return this.measureCache=i,i}measureTargetText(e,t){if(!t.length)return 0;var{parent:r}=this,i=r.getStyle("font-family").getDefinition();if(i){for(var n=this.getFontSize(),o=i.isRTL?t.split("").reverse().join(""):t,s=ye(r.getAttribute("dx").getString()),u=o.length,l=0,h=0;h<u;h++){var c=this.getGlyph(i,o,h);l+=(c.horizAdvX||i.horizAdvX)*n/i.fontFace.unitsPerEm,typeof s[h]<"u"&&!isNaN(s[h])&&(l+=s[h])}return l}if(!e.measureText)return t.length*10;e.save(),this.setContext(e,!0);var{width:v}=e.measureText(t);return this.clearContext(e),e.restore(),v}getInheritedAttribute(e){for(var t=this;t instanceof or&&t.isFirstChild();){var r=t.parent.getAttribute(e);if(r.hasValue(!0))return r.getValue("0");t=t.parent}return null}},qa=class ja extends xt{constructor(e,t,r){super(e,t,new.target===ja?!0:r),this.type="tspan",this.text=this.children.length>0?"":this.getTextFromNode()}getText(){return this.text}},ns=class extends qa{constructor(){super(...arguments),this.type="textNode"}},bt=class extends Ke{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(a){var e,{document:t}=this,{screen:r,window:i}=t,n=a.canvas;if(r.setDefaults(a),n.style&&typeof a.font<"u"&&i&&typeof i.getComputedStyle<"u"){a.font=i.getComputedStyle(n).getPropertyValue("font");var o=new L(t,"fontSize",Fe.parse(a.font).fontSize);o.hasValue()&&(t.rootEmSize=o.getPixels("y"),t.emSize=t.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:s,height:u}=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"),h=this.getAttribute("refY"),c=this.getAttribute("viewBox"),v=c.hasValue()?ye(c.getString()):null,f=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",p=0,g=0,y=0,d=0;v&&(p=v[0],g=v[1]),this.root||(s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y"),this.type==="marker"&&(y=p,d=g,p=0,g=0)),r.viewPort.setCurrent(s,u),this.node&&(!this.parent||((e=this.node.parentNode)===null||e===void 0?void 0:e.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(a),a.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),v&&(s=v[2],u=v[3]),t.setViewBox({ctx:a,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:r.viewPort.width,desiredWidth:s,height:r.viewPort.height,desiredHeight:u,minX:p,minY:g,refX:l.getValue(),refY:h.getValue(),clip:f,clipX:y,clipY:d}),v&&(r.viewPort.removeCurrent(),r.viewPort.setCurrent(s,u))}clearContext(a){super.clearContext(a),this.document.screen.viewPort.removeCurrent()}resize(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=this.getAttribute("width",!0),i=this.getAttribute("height",!0),n=this.getAttribute("viewBox"),o=this.getAttribute("style"),s=r.getNumber(0),u=i.getNumber(0);if(t)if(typeof t=="string")this.getAttribute("preserveAspectRatio",!0).setValue(t);else{var l=this.getAttribute("preserveAspectRatio");l.hasValue()&&l.setValue(l.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(r.setValue(a),i.setValue(e),n.hasValue()||n.setValue("0 0 ".concat(s||a," ").concat(u||e)),o.hasValue()){var h=this.getStyle("width"),c=this.getStyle("height");h.hasValue()&&h.setValue("".concat(a,"px")),c.hasValue()&&c.setValue("".concat(e,"px"))}}},Ba=class extends ne{constructor(){super(...arguments),this.type="rect"}path(a){var e=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),r=this.getStyle("width",!1,!0).getPixels("x"),i=this.getStyle("height",!1,!0).getPixels("y"),n=this.getAttribute("rx"),o=this.getAttribute("ry"),s=n.getPixels("x"),u=o.getPixels("y");if(n.hasValue()&&!o.hasValue()&&(u=s),o.hasValue()&&!n.hasValue()&&(s=u),s=Math.min(s,r/2),u=Math.min(u,i/2),a){var l=4*((Math.sqrt(2)-1)/3);a.beginPath(),i>0&&r>0&&(a.moveTo(e+s,t),a.lineTo(e+r-s,t),a.bezierCurveTo(e+r-s+l*s,t,e+r,t+u-l*u,e+r,t+u),a.lineTo(e+r,t+i-u),a.bezierCurveTo(e+r,t+i-u+l*u,e+r-s+l*s,t+i,e+r-s,t+i),a.lineTo(e+s,t+i),a.bezierCurveTo(e+s-l*s,t+i,e,t+i-u+l*u,e,t+i-u),a.lineTo(e,t+u),a.bezierCurveTo(e,t+u-l*u,e+s-l*s,t,e+s,t),a.closePath())}return new Ae(e,t,e+r,t+i)}getMarkers(){return null}},ss=class extends ne{constructor(){super(...arguments),this.type="circle"}path(a){var e=this.getAttribute("cx").getPixels("x"),t=this.getAttribute("cy").getPixels("y"),r=this.getAttribute("r").getPixels();return a&&r>0&&(a.beginPath(),a.arc(e,t,r,0,Math.PI*2,!1),a.closePath()),new Ae(e-r,t-r,e+r,t+r)}getMarkers(){return null}},os=class extends ne{constructor(){super(...arguments),this.type="ellipse"}path(a){var e=4*((Math.sqrt(2)-1)/3),t=this.getAttribute("rx").getPixels("x"),r=this.getAttribute("ry").getPixels("y"),i=this.getAttribute("cx").getPixels("x"),n=this.getAttribute("cy").getPixels("y");return a&&t>0&&r>
vendor: 8,846 bytes, line 5
50&&(a.beginPath(),a.moveTo(i+t,n),a.bezierCurveTo(i+t,n+e*r,i+e*t,n+r,i,n+r),a.bezierCurveTo(i-e*t,n+r,i-t,n+e*r,i-t,n),a.bezierCurveTo(i-t,n-e*r,i-e*t,n-r,i,n-r),a.bezierCurveTo(i+e*t,n-r,i+t,n-e*r,i+t,n),a.closePath()),new Ae(i-t,n-r,i+t,n+r)}getMarkers(){return null}},us=class extends ne{constructor(){super(...arguments),this.type="line"}getPoints(){return[new oe(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new oe(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(a){var[{x:e,y:t},{x:r,y:i}]=this.getPoints();return a&&(a.beginPath(),a.moveTo(e,t),a.lineTo(r,i)),new Ae(e,t,r,i)}getMarkers(){var[a,e]=this.getPoints(),t=a.angleTo(e);return[[a,t],[e,t]]}},Ua=class extends ne{constructor(a,e,t){super(a,e,t),this.type="polyline",this.points=[],this.points=oe.parsePath(this.getAttribute("points").getString())}path(a){var{points:e}=this,[{x:t,y:r}]=e,i=new Ae(t,r);return a&&(a.beginPath(),a.moveTo(t,r)),e.forEach(n=>{var{x:o,y:s}=n;i.addPoint(o,s),a&&a.lineTo(o,s)}),i}getMarkers(){var{points:a}=this,e=a.length-1,t=[];return a.forEach((r,i)=>{i!==e&&t.push([r,r.angleTo(a[i+1])])}),t.length>0&&t.push([a[a.length-1],t[t.length-1][1]]),t}},ls=class extends Ua{constructor(){super(...arguments),this.type="polygon"}path(a){var e=super.path(a),[{x:t,y:r}]=this.points;return a&&(a.lineTo(t,r),a.closePath()),e}},hs=class extends te{constructor(){super(...arguments),this.type="pattern"}createPattern(a,e,t){var r=this.getStyle("width").getPixels("x",!0),i=this.getStyle("height").getPixels("y",!0),n=new bt(this.document,null);n.attributes.viewBox=new L(this.document,"viewBox",this.getAttribute("viewBox").getValue()),n.attributes.width=new L(this.document,"width","".concat(r,"px")),n.attributes.height=new L(this.document,"height","".concat(i,"px")),n.attributes.transform=new L(this.document,"transform",this.getAttribute("patternTransform").getValue()),n.children=this.children;var o=this.document.createCanvas(r,i),s=o.getContext("2d"),u=this.getAttribute("x"),l=this.getAttribute("y");u.hasValue()&&l.hasValue()&&s.translate(u.getPixels("x",!0),l.getPixels("y",!0)),t.hasValue()?this.styles["fill-opacity"]=t:Reflect.deleteProperty(this.styles,"fill-opacity");for(var h=-1;h<=1;h++)for(var c=-1;c<=1;c++)s.save(),n.attributes.x=new L(this.document,"x",h*o.width),n.attributes.y=new L(this.document,"y",c*o.height),n.render(s),s.restore();return a.createPattern(o,"repeat")}},vs=class extends te{constructor(){super(...arguments),this.type="marker"}render(a,e,t){if(e){var{x:r,y:i}=e,n=this.getAttribute("orient").getString("auto"),o=this.getAttribute("markerUnits").getString("strokeWidth");a.translate(r,i),n==="auto"&&a.rotate(t),o==="strokeWidth"&&a.scale(a.lineWidth,a.lineWidth),a.save();var s=new bt(this.document,null);s.type=this.type,s.attributes.viewBox=new L(this.document,"viewBox",this.getAttribute("viewBox").getValue()),s.attributes.refX=new L(this.document,"refX",this.getAttribute("refX").getValue()),s.attributes.refY=new L(this.document,"refY",this.getAttribute("refY").getValue()),s.attributes.width=new L(this.document,"width",this.getAttribute("markerWidth").getValue()),s.attributes.height=new L(this.document,"height",this.getAttribute("markerHeight").getValue()),s.attributes.overflow=new L(this.document,"overflow",this.getAttribute("overflow").getValue()),s.attributes.fill=new L(this.document,"fill",this.getAttribute("fill").getColor("black")),s.attributes.stroke=new L(this.document,"stroke",this.getAttribute("stroke").getValue("none")),s.children=this.children,s.render(a),a.restore(),o==="strokeWidth"&&a.scale(1/a.lineWidth,1/a.lineWidth),n==="auto"&&a.rotate(-t),a.translate(-r,-i)}}},cs=class extends te{constructor(){super(...arguments),this.type="defs"}render(){}},Ar=class extends Ke{constructor(){super(...arguments),this.type="g"}getBoundingBox(a){var e=new Ae;return this.children.forEach(t=>{e.addBoundingBox(t.getBoundingBox(a))}),e}},Fa=class extends te{constructor(a,e,t){super(a,e,t),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:r,children:i}=this;i.forEach(n=>{n.type==="stop"&&r.push(n)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(a,e,t){var r=this;this.getHrefAttribute().hasValue()&&(r=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(r));var{stops:i}=r,n=this.getGradient(a,e);if(!n)return this.addParentOpacity(t,i[i.length-1].color);if(i.forEach(g=>{n.addColorStop(g.offset,this.addParentOpacity(t,g.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:o}=this,{MAX_VIRTUAL_PIXELS:s,viewPort:u}=o.screen,[l]=u.viewPorts,h=new Ba(o,null);h.attributes.x=new L(o,"x",-s/3),h.attributes.y=new L(o,"y",-s/3),h.attributes.width=new L(o,"width",s),h.attributes.height=new L(o,"height",s);var c=new Ar(o,null);c.attributes.transform=new L(o,"transform",this.getAttribute("gradientTransform").getValue()),c.children=[h];var v=new bt(o,null);v.attributes.x=new L(o,"x",0),v.attributes.y=new L(o,"y",0),v.attributes.width=new L(o,"width",l.width),v.attributes.height=new L(o,"height",l.height),v.children=[c];var f=o.createCanvas(l.width,l.height),p=f.getContext("2d");return p.fillStyle=n,v.render(p),p.createPattern(f,"no-repeat")}return n}inheritStopContainer(a){this.attributesToInherit.forEach(e=>{!this.getAttribute(e).hasValue()&&a.getAttribute(e).hasValue()&&this.getAttribute(e,!0).setValue(a.getAttribute(e).getValue())})}addParentOpacity(a,e){return a.hasValue()?new L(this.document,"color",e).addOpacity(a).getColor():e}},fs=class extends Fa{constructor(a,e,t){super(a,e,t),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(a,e){var t=this.getGradientUnits()==="objectBoundingBox",r=t?e.getBoundingBox(a):null;if(t&&!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 i=t?r.x+r.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),n=t?r.y+r.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),o=t?r.x+r.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),s=t?r.y+r.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return i===o&&n===s?null:a.createLinearGradient(i,n,o,s)}},gs=class extends Fa{constructor(a,e,t){super(a,e,t),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(a,e){var t=this.getGradientUnits()==="objectBoundingBox",r=e.getBoundingBox(a);if(t&&!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 i=t?r.x+r.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),n=t?r.y+r.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),o=i,s=n;this.getAttribute("fx").hasValue()&&(o=t?r.x+r.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(s=t?r.y+r.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var u=t?(r.width+r.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),l=this.getAttribute("fr").getPixels();return a.createRadialGradient(o,s,l,i,n,u)}},ps=class extends te{constructor(a,e,t){super(a,e,t),this.type="stop";var r=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),i=this.getStyle("stop-opacity"),n=this.getStyle("stop-color",!0);n.getString()===""&&n.setValue("#000"),i.hasValue()&&(n=n.addOpacity(i)),this.offset=r,this.color=n.getColor()}},Rr=class extends te{constructor(a,e,t){super(a,e,t),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,a.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 L(a,"values",null);var r=this.getAttribute("values");r.hasValue()&&this.values.setValue(r.getString().split(";"))}getProperty(){var a=this.getAttribute("attributeType").getString(),e=this.getAttribute("attributeName").getString();return a==="CSS"?this.parent.getStyle(e,!0):this.parent.getAttribute(e,!0)}calcValue(){var{initialUnits:a}=this,{progress:e,from:t,to:r}=this.getProgress(),i=t.getNumber()+(r.getNumber()-t.getNumber())*e;
5return a==="%"&&(i*=100),"".concat(i).concat(a)}update(a){var{parent:e}=this,t=this.getProperty();if(this.initialValue||(this.initialValue=t.getString(),this.initialUnits=t.getUnits()),this.duration>this.maxDuration){var r=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(r==="freeze"&&!this.frozen)this.frozen=!0,e.animationFrozen=!0,e.animationFrozenValue=t.getString();else if(r==="remove"&&!this.removed)return this.removed=!0,t.setValue(e.animationFrozen?e.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=a;var i=!1;if(this.begin<this.duration){var n=this.calcValue(),o=this.getAttribute("type");if(o.hasValue()){var s=o.getString();n="".concat(s,"(").concat(n,")")}t.setValue(n),i=!0}return i}getProgress(){var{document:a,values:e}=this,t={progress:(this.duration-this.begin)/(this.maxDuration-this.begin)};if(e.hasValue()){var r=t.progress*(e.getValue().length-1),i=Math.floor(r),n=Math.ceil(r);t.from=new L(a,"from",parseFloat(e.getValue()[i])),t.to=new L(a,"to",parseFloat(e.getValue()[n])),t.progress=(r-i)/(n-i)}else t.from=this.from,t.to=this.to;return t}},ds=class extends Rr{constructor(){super(...arguments),this.type="animateColor"}calcValue(){var{progress:a,from:e,to:t}=this.getProgress(),r=new rr.default(e.getColor()),i=new rr.default(t.getColor());if(r.ok&&i.ok){var n=r.r+(i.r-r.r)*a,o=r.g+(i.g-r.g)*a,s=r.b+(i.b-r.b)*a;return"rgb(".concat(Math.floor(n),", ").concat(Math.floor(o),", ").concat(Math.floor(s),")")}return this.getAttribute("from").getColor()}},ys=class extends Rr{constructor(){super(...arguments),this.type="animateTransform"}calcValue(){var{progress:a,from:e,to:t}=this.getProgress(),r=ye(e.getString()),i=ye(t.getString());return r.map((n,o)=>n+(i[o]-n)*a).join(" ")}},ms=class extends te{constructor(a,e,t){super(a,e,t),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:r}=a,{children:i}=this;for(var n of i)switch(n.type){case"font-face":this.fontFace=n;var o=n.getStyle("font-family");o.hasValue()&&(r[o.getString()]=this);break;case"missing-glyph":this.missingGlyph=n;break;case"glyph":var s=n;s.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[s.unicode]>"u"&&(this.glyphs[s.unicode]=Object.create(null)),this.glyphs[s.unicode][s.arabicForm]=s):this.glyphs[s.unicode]=s}}render(){}},xs=class extends te{constructor(a,e,t){super(a,e,t),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}},bs=class extends ne{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}},_s=class extends xt{constructor(){super(...arguments),this.type="tref"}getText(){var a=this.getHrefAttribute().getDefinition();if(a){var e=a.children[0];if(e)return e.getText()}return""}},Ts=class extends xt{constructor(a,e,t){super(a,e,t),this.type="a";var{childNodes:r}=e,i=r[0],n=r.length>0&&Array.from(r).every(o=>o.nodeType===3);this.hasText=n,this.text=n?this.getTextFromNode(i):""}getText(){return this.text}renderChildren(a){if(this.hasText){super.renderChildren(a);var{document:e,x:t,y:r}=this,{mouse:i}=e.screen,n=new L(e,"fontSize",Fe.parse(e.ctx.font).fontSize);i.isWorking()&&i.checkBoundingBox(this,new Ae(t,r-n.getPixels("y"),t+this.measureText(a),r))}else if(this.children.length>0){var o=new Ar(this.document,null);o.children=this.children,o.parent=this,o.render(a)}}onClick(){var{window:a}=this.document;a&&a.open(this.getHrefAttribute().getString())}onMouseMove(){var a=this.document.ctx;a.canvas.style.cursor="pointer"}};function Xr(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(a,i).enumerable})),t.push.apply(t,r)}return t}function Ot(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};
vendor: 2,447 bytes, line 5
5e%2?Xr(Object(t),!0).forEach(function(r){Pr(a,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):Xr(Object(t)).forEach(function(r){Object.defineProperty(a,r,Object.getOwnPropertyDescriptor(t,r))})}return a}var Es=class extends xt{constructor(a,e,t){super(a,e,t),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(a){var{dataArray:e}=this;a&&a.beginPath(),e.forEach(t=>{var{type:r,points:i}=t;switch(r){case F.LINE_TO:a&&a.lineTo(i[0],i[1]);break;case F.MOVE_TO:a&&a.moveTo(i[0],i[1]);break;case F.CURVE_TO:a&&a.bezierCurveTo(i[0],i[1],i[2],i[3],i[4],i[5]);break;case F.QUAD_TO:a&&a.quadraticCurveTo(i[0],i[1],i[2],i[3]);break;case F.ARC:var[n,o,s,u,l,h,c,v]=i,f=s>u?s:u,p=s>u?1:s/u,g=s>u?u/s:1;a&&(a.translate(n,o),a.rotate(c),a.scale(p,g),a.arc(0,0,f,l,l+h,!!(1-v)),a.scale(1/p,1/g),a.rotate(-c),a.translate(-n,-o));break;case F.CLOSE_PATH:a&&a.closePath()}})}renderChildren(a){this.setTextData(a),a.save();var e=this.parent.getStyle("text-decoration").getString(),t=this.getFontSize(),{glyphInfo:r}=this,i=a.fillStyle;e==="underline"&&a.beginPath(),r.forEach((n,o)=>{var{p0:s,p1:u,rotation:l,text:h}=n;a.save(),a.translate(s.x,s.y),a.rotate(l),a.fillStyle&&a.fillText(h,0,0),a.strokeStyle&&a.strokeText(h,0,0),a.restore(),e==="underline"&&(o===0&&a.moveTo(s.x,s.y+t/8),a.lineTo(u.x,u.y+t/5))}),e==="underline"&&(a.lineWidth=t/20,a.strokeStyle=i,a.stroke(),a.closePath()),a.restore()}getLetterSpacingAt(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[a]||0}findSegmentToFitChar(a,e,t,r,i,n,o,s,u){var l=n,h=this.measureText(a,s);s===" "&&e==="justify"&&t<r&&(h+=(r-t)/i),u>-1&&(l+=this.getLetterSpacingAt(u));var c=this.textHeight/20,v=this.getEquidistantPointOnPath(l,c,0),f=this.getEquidistantPointOnPath(l+h,c,0),p={p0:v,p1:f},g=v&&f?Math.atan2(f.y-v.y,f.x-v.x):0;if(o){var y=Math.cos(Math.PI/2+g)*o,d=Math.cos(-g)*o;p.p0=Ot(Ot({},v),{},{x:v.x+y,y:v.y+d}),p.p1=Ot(Ot({},f),{},{x:f.x+y,y:f.y+d})}return l+=h,{offset:l,segment:p,rotation:g}}measureText(a,e){var{measuresCache:t}=this,r=e||this.getText();if(t.has(r))return t.get(r);var i=this.measureTargetText(a,r);return t.set(r,i),i}
vendor: 1,062 bytes, line 5
5setTextData(a){if(!this.glyphInfo){var e=this.getText(),t=e.split(""),r=e.split(" ").length-1,i=this.parent.getAttribute("dx").split().map(b=>b.getPixels("x")),n=this.parent.getAttribute("dy").getPixels("y"),o=this.parent.getStyle("text-anchor").getString("start"),s=this.getStyle("letter-spacing"),u=this.parent.getStyle("letter-spacing"),l=0;!s.hasValue()||s.getValue()==="inherit"?l=u.getPixels():s.hasValue()&&s.getValue()!=="initial"&&s.getValue()!=="unset"&&(l=s.getPixels());var h=[],c=e.length;this.letterSpacingCache=h;for(var v=0;v<c;v++)h.push(typeof i[v]<"u"?i[v]:l);var f=h.reduce((b,x,T)=>T===0?0:b+x||0,0),p=this.measureText(a),g=Math.max(p+f,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var y=this.getPathLength(),d=this.getStyle("startOffset").getNumber(0)*y,_=0;(o==="middle"||o==="center")&&(_=-g/2),(o==="end"||o==="right")&&(_=-g),_+=d,t.forEach((b,x)=>{var{offset:T,segment:E,rotation:S}=this.findSegmentToFitChar(a,o,g,y,r,_,n,b,x);_=T,!(!E.p0||!E.p1)&&this.glyphInfo.push({text:t[x],p0:E.p0,p1:E.p1,rotation:S}
vendor: 14,400 bytes, line 5
5)})}}parsePathData(a){if(this.pathLength=-1,!a)return[];var e=[],{pathParser:t}=a;for(t.reset();!t.isEnd();){var{current:r}=t,i=r?r.x:0,n=r?r.y:0,o=t.next(),s=o.type,u=[];switch(o.type){case F.MOVE_TO:this.pathM(t,u);break;case F.LINE_TO:s=this.pathL(t,u);break;case F.HORIZ_LINE_TO:s=this.pathH(t,u);break;case F.VERT_LINE_TO:s=this.pathV(t,u);break;case F.CURVE_TO:this.pathC(t,u);break;case F.SMOOTH_CURVE_TO:s=this.pathS(t,u);break;case F.QUAD_TO:this.pathQ(t,u);break;case F.SMOOTH_QUAD_TO:s=this.pathT(t,u);break;case F.ARC:u=this.pathA(t);break;case F.CLOSE_PATH:ne.pathZ(t)}o.type!==F.CLOSE_PATH?e.push({type:s,points:u,start:{x:i,y:n},pathLength:this.calcLength(i,n,s,u)}):e.push({type:F.CLOSE_PATH,points:[],pathLength:0})}return e}pathM(a,e){var{x:t,y:r}=ne.pathM(a).point;e.push(t,r)}pathL(a,e){var{x:t,y:r}=ne.pathL(a).point;return e.push(t,r),F.LINE_TO}pathH(a,e){var{x:t,y:r}=ne.pathH(a).point;return e.push(t,r),F.LINE_TO}pathV(a,e){var{x:t,y:r}=ne.pathV(a).point;return e.push(t,r),F.LINE_TO}pathC(a,e){var{point:t,controlPoint:r,currentPoint:i}=ne.pathC(a);e.push(t.x,t.y,r.x,r.y,i.x,i.y)}pathS(a,e){var{point:t,controlPoint:r,currentPoint:i}=ne.pathS(a);return e.push(t.x,t.y,r.x,r.y,i.x,i.y),F.CURVE_TO}pathQ(a,e){var{controlPoint:t,currentPoint:r}=ne.pathQ(a);e.push(t.x,t.y,r.x,r.y)}pathT(a,e){var{controlPoint:t,currentPoint:r}=ne.pathT(a);return e.push(t.x,t.y,r.x,r.y),F.QUAD_TO}pathA(a){var{rX:e,rY:t,sweepFlag:r,xAxisRotation:i,centp:n,a1:o,ad:s}=ne.pathA(a);return r===0&&s>0&&(s-=2*Math.PI),r===1&&s<0&&(s+=2*Math.PI),[n.x,n.y,e,t,o,s,i,r]}calcLength(a,e,t,r){var i=0,n=null,o=null,s=0;switch(t){case F.LINE_TO:return this.getLineLength(a,e,r[0],r[1]);case F.CURVE_TO:for(i=0,n=this.getPointOnCubicBezier(0,a,e,r[0],r[1],r[2],r[3],r[4],r[5]),s=.01;s<=1;s+=.01)o=this.getPointOnCubicBezier(s,a,e,r[0],r[1],r[2],r[3],r[4],r[5]),i+=this.getLineLength(n.x,n.y,o.x,o.y),n=o;return i;case F.QUAD_TO:for(i=0,n=this.getPointOnQuadraticBezier(0,a,e,r[0],r[1],r[2],r[3]),s=.01;s<=1;s+=.01)o=this.getPointOnQuadraticBezier(s,a,e,r[0],r[1],r[2],r[3]),i+=this.getLineLength(n.x,n.y,o.x,o.y),n=o;return i;case F.ARC:i=0;var u=r[4],l=r[5],h=r[4]+l,c=Math.PI/180;if(Math.abs(u-h)<c&&(c=Math.abs(u-h)),n=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],u,0),l<0)for(s=u-c;s>h;s-=c)o=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),i+=this.getLineLength(n.x,n.y,o.x,o.y),n=o;else for(s=u+c;s<h;s+=c)o=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],s,0),i+=this.getLineLength(n.x,n.y,o.x,o.y),n=o;return o=this.getPointOnEllipticalArc(r[0],r[1],r[2],r[3],h,0),i+=this.getLineLength(n.x,n.y,o.x,o.y),i}return 0}getPointOnLine(a,e,t,r,i){var n=arguments.length>5&&arguments[5]!==void 0?arguments[5]:e,o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:t,s=(i-t)/(r-e+Rt),u=Math.sqrt(a*a/(1+s*s));r<e&&(u*=-1);var l=s*u,h=null;if(r===e)h={x:n,y:o+l};else if((o-t)/(n-e+1e-8)===s)h={x:n+u,y:o+l};else{var c=0,v=0,f=this.getLineLength(e,t,r,i);if(f<1e-8)return null;var p=(n-e)*(r-e)+(o-t)*(i-t);p/=f*f,c=e+p*(r-e),v=t+p*(i-t);var g=this.getLineLength(n,o,c,v),y=Math.sqrt(a*a-g*g);u=Math.sqrt(y*y/(1+s*s)),r<e&&(u*=-1),l=s*u,h={x:c+u,y:v+l}}return h}getPointOnPath(a){var e=this.getPathLength(),t=0,r=null;if(a<-5e-5||a-5e-5>e)return null;var{dataArray:i}=this;for(var n of i){if(n&&(n.pathLength<5e-5||t+n.pathLength+5e-5<a)){t+=n.pathLength;continue}var o=a-t,s=0;switch(n.type){case F.LINE_TO:r=this.getPointOnLine(o,n.start.x,n.start.y,n.points[0],n.points[1],n.start.x,n.start.y);break;case F.ARC:var u=n.points[4],l=n.points[5],h=n.points[4]+l;if(s=u+o/n.pathLength*l,l<0&&s<h||l>=0&&s>h)break;r=this.getPointOnEllipticalArc(n.points[0],n.points[1],n.points[2],n.points[3],s,n.points[6]);break;case F.CURVE_TO:s=o/n.pathLength,s>1&&(s=1),r=this.getPointOnCubicBezier(s,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 F.QUAD_TO:s=o/n.pathLength,s>1&&(s=1),r=this.getPointOnQuadraticBezier(s,n.start.x,n.start.y,n.points[0],n.points[1],n.points[2],n.points[3])}if(r)return r;break}return null}getLineLength(a,e,t,r){return Math.sqrt((t-a)*(t-a)+(r-e)*(r-e))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((a,e)=>e.pathLength>0?a+e.pathLength:a,0)),this.pathLength}getPointOnCubicBezier(a,e,t,r,i,n,o,s,u){return{x:s*Ur(a)+n*Fr(a)+r*zr(a)+e*$r(a),y:u*Ur(a)+o*Fr(a)+i*zr(a)+t*$r(a)}}getPointOnQuadraticBezier(a,e,t,r,i,n,o){return{x:n*Gr(a)+r*Hr(a)+e*Yr(a),y:o*Gr(a)+i*Hr(a)+t*Yr(a)}}getPointOnEllipticalArc(a,e,t,r,i,n){var o=Math.cos(n),s=Math.sin(n),u={x:t*Math.cos(i),y:r*Math.sin(i)};return{x:a+(u.x*o-u.y*s),y:e+(u.x*s+u.y*o)}}buildEquidistantCache(a,e){var t=this.getPathLength(),r=e||.25,i=a||t/100;if(!this.equidistantCache||this.equidistantCache.step!==i||this.equidistantCache.precision!==r){this.equidistantCache={step:i,precision:r,points:[]};for(var n=0,o=0;o<=t;o+=r){var s=this.getPointOnPath(o),u=this.getPointOnPath(o+r);!s||!u||(n+=this.getLineLength(s.x,s.y,u.x,u.y),n>=i&&(this.equidistantCache.points.push({x:s.x,y:s.y,distance:o}),n-=i))}}}getEquidistantPointOnPath(a,e,t){if(this.buildEquidistantCache(e,t),a<0||a-this.getPathLength()>5e-5)return null;var r=Math.round(a/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[r]||null}},Os=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,Ss=class extends Ke{constructor(a,e,t){super(a,e,t),this.type="image",this.loaded=!1;var r=this.getHrefAttribute().getString();if(r){var i=r.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(r);a.images.push(this),i?this.loadSvg(r):this.loadImage(r),this.isSvg=i}}loadImage(a){var e=this;return Ue(function*(){try{e.image=yield e.document.createImage(a)}catch(t){console.error('Error while loading image "'.concat(a,'":'),t)}e.loaded=!0})()}loadSvg(a){var e=this;return Ue(function*(){var t=Os.exec(a);if(t){var r=t[5];t[4]==="base64"?e.image=atob(r):e.image=decodeURIComponent(r)}else try{e.image=yield(yield e.document.fetch(a)).text()}catch(i){console.error('Error while loading image "'.concat(a,'":'),i)}e.loaded=!0})()}renderChildren(a){var{document:e,image:t,loaded:r}=this,i=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(!(!r||!t||!o||!s)){if(a.save(),a.translate(i,n),this.isSvg){var u=e.canvg.forkString(a,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:o,scaleHeight:s});u.document.documentElement.parent=this,u.render()}else{var l=this.image;e.setViewBox({ctx:a,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:o,desiredWidth:l.width,height:s,desiredHeight:l.height}),this.loaded&&(typeof l.complete>"u"||l.complete)&&a.drawImage(l,0,0)}a.restore()}}getBoundingBox(){var a=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),t=this.getStyle("width").getPixels("x"),r=this.getStyle("height").getPixels("y");return new Ae(a,e,a+t,e+r)}},ws=class extends Ke{constructor(){super(...arguments),this.type="symbol"}render(a){}},Cs=class{constructor(a){this.document=a,this.loaded=!1,a.fonts.push(this)}load(a,e){var t=this;return Ue(function*(){try{var{document:r}=t,i=(yield r.canvg.parser.load(e)).getElementsByTagName("font");Array.from(i).forEach(n=>{var o=r.createElement(n);r.definitions[a]=o})}catch(n){console.error('Error while loading font "'.concat(e,'":'),n)}t.loaded=!0})()}},za=class extends te{constructor(a,e,t){super(a,e,t),this.type="style",rt(Array.from(e.childNodes).map(r=>r.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(r=>{var i=r.trim();if(i){var n=i.split("{"),o=n[0].split(","),s=n[1].split(";");o.forEach(u=>{var l=u.trim();if(l){var h=a.styles[l]||{};if(s.forEach(v=>{var f=v.indexOf(":"),p=v.substr(0,f).trim(),g=v.substr(f+1,v.length-f).trim();p&&g&&(h[p]=new L(a,p,g))}),a.styles[l]=h,a.stylesSpecificity[l]=Fn(l),l==="@font-face"){var c=h["font-family"].getString().replace(/"|'/g,"");h.src.getString().split(",").forEach(v=>{if(v.indexOf('format("svg")')>0){var f=Ia(v);f&&new Cs(a).load(c,f)}})}}})}})}};za.parseExternalUrl=Ia;var Ps=class extends Ke{constructor(){super(...arguments),this.type="use"}setContext(a){super.setContext(a);var e=this.getAttribute("x"),t=this.getAttribute("y");e.hasValue()&&a.translate(e.getPixels("x"),0),t.hasValue()&&a.translate(0,t.getPixels("y"))}path(a){var{element:e}=this;e&&e.path(a)}renderChildren(a){var{document:e,element:t}=this;if(t){var r=t;if(t.type==="symbol"&&(r=new bt(e,null),r.attributes.viewBox=new L(e,"viewBox",t.getAttribute("viewBox").getString()),r.attributes.preserveAspectRatio=new L(e,"preserveAspectRatio",t.getAttribute("preserveAspectRatio").getString()),r.attributes.overflow=new L(e,"overflow",t.getAttribute("overflow").getString()),r.children=t.children,t.styles.opacity=new L(e,"opacity",this.calculateOpacity())),r.type==="svg"){var i=this.getStyle("width",!1,!0),n=this.getStyle("height",!1,!0);i.hasValue()&&(r.attributes.width=new L(e,"width",i.getString())),n.hasValue()&&(r.attributes.height=new L(e,"height",n.getString()))}var o=r.parent;r.parent=this,r.render(a),r.parent=o}}getBoundingBox(a){var{element:e}=this;return e?e.getBoundingBox(a):null}elementTransform(){var{document:a,element:e}=this;return Yt.fromElement(a,e)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}};function St(a,e,t,r,i,n){return a[t*r*4+e*4+n]}function wt(a,e,t,r,i,n,o){a[t*r*4+e*4+n]=o}function ae(a,e,t){return a[e]*t}function Be(a,e,t,r){return e+Math.cos(a)*t+Math.sin(a)*r}var $a=class extends te{constructor(a,e,t){super(a,e,t),this.type="feColorMatrix";var r=ye(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":var i=r[0];r=[.213+.787*i,.715-.715*i,.072-.072*i,0,0,.213-.213*i,.715+.285*i,.072-.072*i,0,0,.213-.213*i,.715-.715*i,.072+.928*i,0,0,0,0,0,1,0,0,0,0,0,1];break;case"hueRotate":var n=r[0]*Math.PI/180;r=[Be(n,.213,.787,-.213),Be(n,.715,-.715,-.715),Be(n,.072,-.072,.928),0,0,Be(n,.213,-.213,.143),Be(n,.715,.285,.14),Be(n,.072,-.072,-.283),0,0,Be(n,.213,-.213,-.787),Be(n,.715,-.715,.715),Be(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(a,e,t,r,i){for(var{includeOpacity:n,matrix:o}=this,s=a.getImageData(0,0,r,i),u=0;u<i;u++)for(var l=0;l<r;l++){var h=St(s.data,l,u,r,i,0),c=St(s.data,l,u,r,i,1),v=St(s.data,l,u,r,i,2),f=St(s.data,l,u,r,i,3),p=ae(o,0,h)+ae(o,1,c)+ae(o,2,v)+ae(o,3,f)+ae(o,4,1),g=ae(o,5,h)+ae(o,6,c)+ae(o,7,v)+ae(o,8,f)+ae(o,9,1),y=ae(o,10,h)+ae(o,11,c)+ae(o,12,v)+ae(o,13,f)+ae(o,14,1),d=ae(o,15,h)+ae(o,16,c)+ae(o,17,v)+ae(o,18,f)+ae(o,19,1);n&&(p=0,g=0,y=0,d*=f/255),wt(s.data,l,u,r,i,0,p),wt(s.data,l,u,r,i,1,g),wt(s.data,l,u,r,i,2,y),wt(s.data,l,u,r,i,3,d)}a.clearRect(0,0,r,i),a.putImageData(s,0,0)}},Ga=class Ha extends te{constructor(){super(...arguments),this.type="mask"}apply(e,t){var{document:r}=this,i=this.getAttribute("x").getPixels("x"),n=this.getAttribute("y").getPixels("y"),o=this.getStyle("width").getPixels("x"),s=this.getStyle("height").getPixels("y");if(!o&&!s){var u=new Ae;this.children.forEach(p=>{u.addBoundingBox(p.getBoundingBox(e))}),i=Math.floor(u.x1),n=Math.floor(u.y1),o=Math.floor(u.width),s=Math.floor(u.height)}var l=this.removeStyles(t,Ha.ignoreStyles),h=r.createCanvas(i+o,n+s),c=h.getContext("2d");r.screen.setDefaults(c),this.renderChildren(c),new $a(r,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,i+o,n+s);var v=r.createCanvas(i+o,n+s),f=v.getContext("2d");r.screen.setDefaults(f),t.render(f),f.globalCompositeOperation="destination-in",f.fillStyle=c.createPattern(h,"no-repeat"),f.fillRect(0,0,i+o,n+s),e.fillStyle=f.createPattern(v,"no-repeat"),e.fillRect(0,0,i+o,n+s),this.restoreStyles(t,l)}render(e){}};Ga.ignoreStyles=["mask","transform","clip-path"];var Wr=()=>{},As=class extends te{constructor(){super(...arguments),this.type="clipPath"}apply(a){var{document:e}=this,t=Reflect.getPrototypeOf(a),{beginPath:r,closePath:i}=a;t&&(t.beginPath=Wr,t.closePath=Wr),Reflect.apply(r,a,[]),this.children.forEach(n=>{if(!(typeof n.path>"u")){var o=typeof n.elementTransform<"u"?n.elementTransform():null;o||(o=Yt.fromElement(e,n)),o&&o.apply(a),n.path(a),t&&(t.closePath=i),o&&o.unapply(a)}}),Reflect.apply(i,a,[]),a.clip(),t&&(t.beginPath=r,t.closePath=i)}render(a){}},Ya=class Xa extends te{constructor(){super(...arguments),this.type="filter"}apply(e,t){var{document:r,children:i}=this,n=t.getBoundingBox(e);if(n){var o=0,s=0;i.forEach(d=>{var _=d.extraFilterDistance||0;o=Math.max(o,_),s=Math.max(s,_)});var u=Math.floor(n.width),l=Math.floor(n.height),h=u+2*o,c=l+2*s;if(!(h<1||c<1)){var v=Math.floor(n.x),f=Math.floor(n.y),p=this.removeStyles(t,Xa.ignoreStyles),g=r.createCanvas(h,c),y=g.getContext("2d");r.screen.setDefaults(y),y.translate(-v+o,-f+s),t.render(y),i.forEach(d=>{typeof d.apply=="function"&&d.apply(y,0,0,h,c)}),e.drawImage(g,0,0,h,c,v-o,f-s,h,c),this.restoreStyles(t,p)}}}render(e){}};Ya.ignoreStyles=["filter","transform","clip-path"];var Rs=class extends te{constructor(a,e,t){super(a,e,t),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(a,e,t,r,i){}},Ns=class extends te{constructor(){super(...arguments),this.type="feMorphology"}apply(a,e,t,r,i){}},Is=class extends te{constructor(){super(...arguments),this.type="feComposite"}apply(a,e,t,r,i){}},Ms=class extends te{constructor(a,e,t){super(a,e,t),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(a,e,t,r,i){var{document:n,blurRadius:o}=this,s=n.window?n.window.document.body:null,u=a.canvas;u.id=n.getUniqueId(),s&&(u.style.display="none",s.appendChild(u)),wn(u,e,t,r,i,o),s&&s.removeChild(u)}},Vs=class extends te{constructor(){super(...arguments),this.type="title"}},ks=class extends te{constructor(){super(...arguments),this.type="desc"}},Ds={svg:bt,rect:Ba,circle:ss,ellipse:os,line:us,polyline:Ua,pol
vendor: 5,503 bytes, line 5
5ygon:ls,path:ne,pattern:hs,marker:vs,defs:cs,linearGradient:fs,radialGradient:gs,stop:ps,animate:Rr,animateColor:ds,animateTransform:ys,font:ms,"font-face":xs,"missing-glyph":bs,glyph:La,text:xt,tspan:qa,tref:_s,a:Ts,textPath:Es,image:Ss,g:Ar,symbol:ws,style:za,use:Ps,mask:Ga,clipPath:As,filter:Ya,feDropShadow:Rs,feMorphology:Ns,feComposite:Is,feColorMatrix:$a,feGaussianBlur:Ms,title:Vs,desc:ks};function Qr(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(a,i).enumerable})),t.push.apply(t,r)}return t}function Ls(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Qr(Object(t),!0).forEach(function(r){Pr(a,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):Qr(Object(t)).forEach(function(r){Object.defineProperty(a,r,Object.getOwnPropertyDescriptor(t,r))})}return a}function qs(a,e){var t=document.createElement("canvas");return t.width=a,t.height=e,t}function js(a){return ur.apply(this,arguments)}function ur(){return ur=Ue(function*(a){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,t=document.createElement("img");return e&&(t.crossOrigin="Anonymous"),new Promise((r,i)=>{t.onload=()=>{r(t)},t.onerror=(n,o,s,u,l)=>{i(l)},t.src=a})}),ur.apply(this,arguments)}var Xt=class At{constructor(e){var{rootEmSize:t=12,emSize:r=12,createCanvas:i=At.createCanvas,createImage:n=At.createImage,anonymousCrossOrigin:o}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.canvg=e,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=e.screen,this.rootEmSize=t,this.emSize=r,this.createCanvas=i,this.createImage=this.bindCreateImage(n,o),this.screen.wait(this.isImagesLoaded.bind(this)),this.screen.wait(this.isFontsLoaded.bind(this))}bindCreateImage(e,t){return typeof t=="boolean"?(r,i)=>e(r,typeof i=="boolean"?i:t):e}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){var{emSizeStack:e}=this;return e[e.length-1]}set emSize(e){var{emSizeStack:t}=this;t.push(e)}popEmSize(){var{emSizeStack:e}=this;e.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(e=>e.loaded)}isFontsLoaded(){return this.fonts.every(e=>e.loaded)}createDocumentElement(e){var t=this.createElement(e.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}createElement(e){var t=e.nodeName.replace(/^[^:]+:/,""),r=At.elementTypes[t];return typeof r<"u"?new r(this,e):new es(this,e)}createTextNode(e){return new ns(this,e)}setViewBox(e){this.screen.setViewBox(Ls({document:this},e))}};Xt.createCanvas=qs;Xt.createImage=js;Xt.elementTypes=Ds;function Zr(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(a);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(a,i).enumerable})),t.push.apply(t,r)}return t}function Xe(a){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Zr(Object(t),!0).forEach(function(r){Pr(a,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(t)):Zr(Object(t)).forEach(function(r){Object.defineProperty(a,r,Object.getOwnPropertyDescriptor(t,r))})}return a}var ro=class ht{constructor(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.parser=new tr(r),this.screen=new Ht(e,r),this.options=r;var i=new Xt(this,r),n=i.createDocumentElement(t);this.document=i,this.documentElement=n}static from(e,t){var r=arguments;return Ue(function*(){var i=r.length>2&&r[2]!==void 0?r[2]:{},n=yield new tr(i).parse(t);return new ht(e,n,i)})()}static fromString(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=new tr(r).parseFromString(t);return new ht(e,i,r)}fork(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ht.from(e,t,Xe(Xe({},this.options),r))}forkString(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return ht.fromString(e,t,Xe(Xe({},this.options),r))}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}render(){var e=arguments,t=this;return Ue(function*(){var r=e.length>0&&e[0]!==void 0?e[0]:{};t.start(Xe({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0},r)),yield t.ready(),t.stop()})()}start(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},{documentElement:t,screen:r,options:i}=this;r.start(t,Xe(Xe({enableRedraw:!0},i),e))}stop(){this.screen.stop()}resize(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(e,t,r)}};export{Ts as AElement,ds as AnimateColorElement,Rr as AnimateElement,ys as AnimateTransformElement,Ae as BoundingBox,Ur as CB1,Fr as CB2,zr as CB3,$r as CB4,ro as Canvg,ss as CircleElement,As as ClipPathElement,cs as DefsElement,ks as DescElement,Xt as Document,te as Element,os as EllipseElement,$a as FeColorMatrixElement,Is as FeCompositeElement,Rs as FeDropShadowElement,Ms as FeGaussianBlurElement,Ns as FeMorphologyElement,Ya as FilterElement,Fe as Font,ms as FontElement,xs as FontFaceElement,Ar as GElement,La as GlyphElement,Fa as GradientElement,Ss as ImageElement,us as LineElement,fs as 
5LinearGradientElement,vs as MarkerElement,Ga as MaskElement,ka as Matrix,bs as MissingGlyphElement,$n as Mouse,Rt as PSEUDO_ZERO,tr as Parser,ne as PathElement,F as PathParser,hs as PatternElement,oe as Point,ls as PolygonElement,Ua as PolylineElement,L as Property,Gr as QB1,Hr as QB2,Yr as QB3,gs as RadialGradientElement,Ba as RectElement,Ke as RenderedElement,Xn as Rotate,bt as SVGElement,Cs as SVGFontLoader,Wn as Scale,Ht as Screen,Da as Skew,Qn as SkewX,Zn as SkewY,ps as StopElement,za as StyleElement,ws as SymbolElement,_s as TRefElement,qa as TSpanElement,xt as TextElement,Es as TextPathElement,Vs as TitleElement,Yt as Transform,Yn as Translate,es as UnknownElement,Ps as UseElement,zn as ViewPort,rt as compressSpaces,ro as default,Fn as getSelectorSpecificity,Mn as normalizeAttributeName,Vn as normalizeColor,Ia as parseExternalUrl,to as presets,ye as toNumbers,Rn as trimLeft,Nn as trimRight,jr as vectorMagnitude,Br as vectorsAngle,ir as vectorsRatio};

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.