1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="9b5ed60f-64e4-432a-bc03-044244e7257b",t._sentryDebugIdIdentifier="sentry-dbid-9b5ed60f-64e4-432a-bc03-044244e7257b")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2206],{23533:(t,e,r)=>{"use strict";function n(t,e,r){if(t&&t.length){let[n,a]=e,i=Math.PI/180*r,o=Math.cos(i),s=Math.sin(i);for(let e of t){let[t,r]=e;e[0]=(t-n)*o-(r-a)*s+n,e[1]=(t-n)*s+(r-a)*o+a}}}function a(t,e){var r;let a=e.hachureAngle+90,i=e.hachureGap;i<0&&(i=4*e.strokeWidth),i=Math.round(Math.max(i,.1));let o=1;return e.roughness>=1&&((null==(r=e.randomizer)?void 0:r.next())||Math.random())>.7&&(o=i),function(t,e,r,a=1){let i=Math.max(e,.1),o=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,s=[0,0];if(r)for(let t of o)n(t,s,r);let l=function(t,e,r){let n=[];for(let e of t){var a,i;let t=[...e];a=t[0],i=t[t.length-1],a[0]===i[0]&&a[1]===i[1]||t.push([t[0][0],t[0][1]]),t.length>2&&n.push(t)}let o=[];e=Math.max(e,.1);let s=[];for(let t of n)for(let e=0;e<t.length-1;e++){let r=t[e],n=t[e+1];if(r[1]!==n[1]){let t=Math.min(r[1],n[1]);s.push({ymin:t,ymax:Math.max(r[1],n[1]),x:t===r[1]?r[0]:n[0],islope:(n[0]-r[0])/(n[1]-r[1])})}}if(s.sort((t,e)=>t.ymin<e.ymin?-1:t.ymin>e.ymin?1:t.x<e.x?-1:t.x>e.x?1:t.ymax===e.ymax?0:(t.ymax-e.ymax)/Math.abs(t.ymax-e.ymax)),!s.length)return o;let l=[],c=s[0].ymin,u=0;for(;l.length||s.length;){if(s.length){let t=-1;for(let e=0;e<s.length&&!(s[e].ymin>c);e++)t=e;s.splice(0,t+1).forEach(t=>{l.push({s:c,edge:t})})}if((l=l.filter(t=>!(t.edge.ymax<=c))).sort((t,e)=>t.edge.x===e.edge.x?0:(t.edge.x-e.edge.x)/Math.abs(t.edge.x-e.edge.x)),(1!==r||u%e==0)&&l.length>1)for(let t=0;t<l.length;t+=2){let e=t+1;if(e>=l.length)break;let r=l[t].edge,n=l[e].edge;o.push([[Math.round(r.x),c],[Math.round(n.x),c]])}c+=r,l.forEach(t=>{t.edge.x=t.edge.x+r*t.edge.islope}),u++}return o}(o,i,a);if(r){for(let t of o)n(t,s,-r);let t=[];l.forEach(e=>t.push(...e)),n(t,s,-r)}return l}(t,i,a,o||1)}r.d(e,{A:()=>X});class i{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.renderLines(r,e)}}renderLines(t,e){let r=[];for(let n of t)r.push(...this.helper.doubleLineOps(n[0][0],n[0][1],n[1][0],n[1][1],e));return r}}function o(t){let e=t[0],r=t[1];return Math.sqrt(Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2))}class s extends i{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let n=a(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),i=Math.PI/180*e.hachureAngle,s=[],l=.5*r*Math.cos(i),c=.5*r*Math.sin(i);for(let[t,e]of n)o([t,e])&&s.push([[t[0]-l,t[1]+c],[...e]],[[t[0]+l,t[1]-c],[...e]]);return{type:"fillSketch",ops:this.renderLines(s,e)}}}class l extends i{fillPolygons(t,e){let r=this._fillPolygons(t,e),n=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),a=this._fillPolygons(t,n);return r.ops=r.ops.concat(a.ops),r}}class c{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e=Object.assign({},e,{hachureAngle:0}));return this.dotsOnLines(r,e)}dotsOnLines(t,e){let r=[],n=e.hachureGap;n<0&&(n=4*e.strokeWidth),n=Math.max(n,.1);let a=e.fillWeight;a<0&&(a=e.strokeWidth/2);let i=n/4;for(let s of t){let t=o(s),l=Math.ceil(t/n)-1,c=t-l*n,u=(s[0][0]+s[1][0])/2-n/4,h=Math.min(s[0][1],s[1][1]);for(let t=0;t<l;t++){let o=u-i+2*Math.random()*i,s=h+c+t*n-i+2*Math.random()*i,l=this.helper.ellipse(o,s,a,a,e);r.push(...l.ops)}}return{type:"fillSketch",ops:r}}}class u{constructor(t){this.helper=t}fillPolygons(t,e){let r=a(t,e);return{type:"fillSketch",ops:this.dashedLine(r,e)}}dashedLine(t,e){let r=e.dashOffset<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashOffset,n=e.dashGap<0?e.hachureGap<0?4*e.strokeWidth:e.hachureGap:e.dashGap,a=[];return t.forEach(t=>{let i=o(t),s=Math.floor(i/(r+n)),l=(i+n-s*(r+n))/2,c=t[0],u=t[1];c[0]>u[0]&&(c=t[1],u=t[0]);let h=Math.atan((u[1]-c[1])/(u[0]-c[0]));for(let t=0;t<s;t++){let i=t*(r+n),o=i+r,s=[c[0]+i*Math.cos(h)+l*Math.cos(h),c[1]+i*Math.sin(h)+l*Math.sin(h)],u=[c[0]+o*Math.cos(h)+l*Math.cos(h),c[1]+o*Math.sin(h)+l*Math.sin(h)];a.push(...this.helper.doubleLineOps(s[0],s[1],u[0],u[1],e))}}),a}}class h{constructor(t){this.helper=t}fillPolygons(t,e){let r=e.hachureGap<0?4*e.strokeWidth:e.hachureGap,n=e.zigzagOffset<0?r:e.zigzagOffset,i=a(t,e=Object.assign({},e,{hachureGap:r+n}));return{type:"fillSketch",ops:this.zigzagLines(i,n,e)}}zigzagLines(t,e,r){let n=[];return t.forEach(t=>{let a=Math.round(o(t)/(2*e)),i=t[0],s=t[1];i[0]>s[0]&&(i=t[1],s=t[0]);let l=Math.atan((s[1]-i[1])/(s[0]-i[0]));for(let t=0;t<a;t++){let a=2*t*e,o=2*(t+1)*e,s=Math.sqrt(2*Math.pow(e,2)),c=[i[0]+a*Math.cos(l),i[1]+a*Math.sin(l)],u=[i[0]+o*Math.cos(l),i[1]+o*Math.sin(l)],h=[c[0]+s*Math.cos(l+Math.PI/4),c[1]+s*Math.sin(l+Math.PI/4)];n.push(...this.helper.doubleLineOps(c[0],c[1],h[0],h[1],r),...this.helper.doubleLineOps(h[0],h[1],u[0],u[1],r))}}),n}}let p={};class d{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function g(t){let e=[],r=function(t){let e=[];for(;""!==t;
1)if(t.match(/^([ \t\r\n,]+)/))t=t.substr(RegExp.$1.length);else if(t.match(/^([aAcChHlLmMqQsStTvVzZ])/))e[e.length]={type:0,text:RegExp.$1},t=t.substr(RegExp.$1.length);else{if(!t.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];e[e.length]={type:1,text:`${parseFloat(RegExp.$1)}`},t=t.substr(RegExp.$1.length)}return e[e.length]={type:2,text:""},e}(t),n="BOD",a=0,i=r[0];for(;2!==i.type;){let o=0,s=[];if("BOD"===n){if("M"!==i.text&&"m"!==i.text)return g("M0,0"+t);a++,o=f[i.text],n=i.text}else 1===i.type?o=f[n]:(a++,o=f[i.text],n=i.text);if(!(a+o<r.length))throw Error("Path data ended short");for(let t=a;t<a+o;t++){let e=r[t];if(1!==e.type)throw Error("Param not a number: "+n+","+e.text);s[s.length]=+e.text}if("number"!=typeof f[n])throw Error("Bad segment: "+n);{let t={key:n,data:s};e.push(t),a+=o,i=r[a],"M"===n&&(n="L"),"m"===n&&(n="l")}}return e}function m(t){let e=0,r=0,n=0,a=0,i=[];for(let{key:o,data:s}of t)switch(o){case"M":i.push({key:"M",data:[...s]}),[e,r]=s,[n,a]=s;break;case"m":e+=s[0],r+=s[1],i.push({key:"M",data:[e,r]}),n=e,a=r;break;case"L":i.push({key:"L",data:[...s]}),[e,r]=s;break;case"l":e+=s[0],r+=s[1],i.push({key:"L",data:[e,r]});break;case"C":i.push({key:"C",data:[...s]}),e=s[4],r=s[5];break;case"c":{let t=s.map((t,n)=>n%2?t+r:t+e);i.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":i.push({key:"Q",data:[...s]}),e=s[2],r=s[3];break;case"q":{let t=s.map((t,n)=>n%2?t+r:t+e);i.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":i.push({key:"A",data:[...s]}),e=s[5],r=s[6];break;case"a":e+=s[5],r+=s[6],i.push({key:"A",data:[s[0],s[1],s[2],s[3],s[4],e,r]});break;case"H":i.push({key:"H",data:[...s]}),e=s[0];break;case"h":e+=s[0],i.push({key:"H",data:[e]});break;case"V":i.push({key:"V",data:[...s]}),r=s[0];break;case"v":r+=s[0],i.push({key:"V",data:[r]});break;case"S":i.push({key:"S",data:[...s]}),e=s[2],r=s[3];break;case"s":{let t=s.map((t,n)=>n%2?t+r:t+e);i.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":i.push({key:"T",data:[...s]}),e=s[0],r=s[1];break;case"t":e+=s[0],r+=s[1],i.push({key:"T",data:[e,r]});break;case"Z":case"z":i.push({key:"Z",data:[]}),e=n,r=a}return i}function y(t){let e=[],r="",n=0,a=0,i=0,o=0,s=0,l=0;for(let{key:c,data:u}of t){switch(c){case"M":e.push({key:"M",data:[...u]}),[n,a]=u,[i,o]=u;break;case"C":e.push({key:"C",data:[...u]}),n=u[4],a=u[5],s=u[2],l=u[3];break;case"L":e.push({key:"L",data:[...u]}),[n,a]=u;break;case"H":n=u[0],e.push({key:"L",data:[n,a]});break;case"V":a=u[0],e.push({key:"L",data:[n,a]});break;case"S":{let t=0,i=0;"C"===r||"S"===r?(t=n+(n-s),i=a+(a-l)):(t=n,i=a),e.push({key:"C",data:[t,i,...u]}),s=u[0],l=u[1],n=u[2],a=u[3];break}case"T":{let[t,i]=u,o=0,c=0;"Q"===r||"T"===r?(o=n+(n-s),c=a+(a-l)):(o=n,c=a);let h=n+2*(o-n)/3,p=a+2*(c-a)/3,d=t+2*(o-t)/3,f=i+2*(c-i)/3;e.push({key:"C",data:[h,p,d,f,t,i]}),s=o,l=c,n=t,a=i;break}case"Q":{let[t,r,i,o]=u,c=n+2*(t-n)/3,h=a+2*(r-a)/3,p=i+2*(t-i)/3,d=o+2*(r-o)/3;e.push({key:"C",data:[c,h,p,d,i,o]}),s=t,l=r,n=i,a=o;break}case"A":{let t=Math.abs(u[0]),r=Math.abs(u[1]),i=u[2],o=u[3],s=u[4],l=u[5],c=u[6];0===t||0===r?(e.push({key:"C",data:[n,a,l,c,l,c]}),n=l,a=c):(n!==l||a!==c)&&((function t(e,r,n,a,i,o,s,l,c,u){let h=Math.PI*s/180,p=[],d=0,f=0,g=0,m=0;if(u)[d,f,g,m]=u;else{[e,r]=b(e,r,-h),[n,a]=b(n,a,-h);let t=(e-n)/2,s=(r-a)/2,u=t*t/(i*i)+s*s/(o*o);u>1&&(i*=u=Math.sqrt(u),o*=u);let p=i*i,y=o*o,k=(l===c?-1:1)*Math.sqrt(Math.abs((p*y-p*s*s-y*t*t)/(p*s*s+y*t*t)));g=k*i*s/o+(e+n)/2,m=-(k*o)*t/i+(r+a)/2,d=Math.asin(parseFloat(((r-m)/o).toFixed(9))),f=Math.asin(parseFloat(((a-m)/o).toFixed(9))),e<g&&(d=Math.PI-d),n<g&&(f=Math.PI-f),d<0&&(d=2*Math.PI+d),f<0&&(f=2*Math.PI+f),c&&d>f&&(d-=2*Math.PI),!c&&f>d&&(f-=2*Math.PI)}let y=f-d;if(Math.abs(y)>120*Math.PI/180){let e=f,r=n,l=a;p=t(n=g+i*Math.cos(f=c&&f>d?d+120*Math.PI/180*1:d+-(120*Math.PI/180*1)),a=m+o*Math.sin(f),r,l,i,o,s,0,c,[f,e,g,m])}y=f-d;let k=Math.cos(d),x=Math.cos(f),_=Math.tan(y/4),w=4/3*i*_,v=4/3*o*_,A=[e,r],S=[e+w*Math.sin(d),r-v*k],M=[n+w*Math.sin(f),a-v*x],T=[n,a];if(S[0]=2*A[0]-S[0],S[1]=2*A[1]-S[1],u)return[S,M,T].concat(p);{p=[S,M,T].concat(p);let t=[];for(let e=0;e<p.length;
vendor: 5,585 bytes, line 1
1e+=3){let r=b(p[e][0],p[e][1],h),n=b(p[e+1][0],p[e+1][1],h),a=b(p[e+2][0],p[e+2][1],h);t.push([r[0],r[1],n[0],n[1],a[0],a[1]])}return t}})(n,a,l,c,t,r,i,o,s).forEach(function(t){e.push({key:"C",data:t})}),n=l,a=c);break}case"Z":e.push({key:"Z",data:[]}),n=i,a=o}r=c}return e}function b(t,e,r){return[t*Math.cos(r)-e*Math.sin(r),t*Math.sin(r)+e*Math.cos(r)]}let k={randOffset:function(t,e){return $(t,e)},randOffsetWithRange:function(t,e,r){return C(t,e,r)},ellipse:function(t,e,r,n,a){let i=v(r,n,a);return A(t,e,a,i).opset},doubleLineOps:function(t,e,r,n,a){return R(t,e,r,n,a,!0)}};function x(t,e,r,n,a){return{type:"path",ops:R(t,e,r,n,a)}}function _(t,e,r){let n=(t||[]).length;if(n>2){let a=[];for(let e=0;e<n-1;e++)a.push(...R(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&a.push(...R(t[n-1][0],t[n-1][1],t[0][0],t[0][1],r)),{type:"path",ops:a}}return 2===n?x(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function w(t,e){if(t.length){let r="number"==typeof t[0][0]?[t]:t,n=I(r[0],+(1+.2*e.roughness),e),a=e.disableMultiStroke?[]:I(r[0],1.5*(1+.22*e.roughness),O(e));for(let t=1;t<r.length;t++){let i=r[t];if(i.length){let t=I(i,+(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:I(i,1.5*(1+.22*e.roughness),O(e));for(let e of t)"move"!==e.op&&n.push(e);for(let t of r)"move"!==t.op&&a.push(t)}}return{type:"path",ops:n.concat(a)}}return{type:"path",ops:[]}}function v(t,e,r){let n=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),a=2*Math.PI/Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*n)),i=Math.abs(t/2),o=Math.abs(e/2),s=1-r.curveFitting;return i+=$(i*s,r),o+=$(o*s,r),{increment:a,rx:i,ry:o}}function A(t,e,r,n){let[a,i]=N(n.increment,t,e,n.rx,n.ry,1,n.increment*C(.1,C(.4,1,r),r),r),o=P(a,null,r);if(!r.disableMultiStroke&&0!==r.roughness){let[a]=N(n.increment,t,e,n.rx,n.ry,1.5,0,r),i=P(a,null,r);o=o.concat(i)}return{estimatedPoints:i,opset:{type:"path",ops:o}}}function S(t,e,r,n,a,i,o,s,l){let c=Math.abs(r/2),u=Math.abs(n/2);c+=$(.01*c,l),u+=$(.01*u,l);let h=a,p=i;for(;h<0;)h+=2*Math.PI,p+=2*Math.PI;p-h>2*Math.PI&&(h=0,p=2*Math.PI);let d=Math.min(2*Math.PI/l.curveStepCount/2,(p-h)/2),f=D(d,t,e,c,u,h,p,1,l);if(!l.disableMultiStroke){let r=D(d,t,e,c,u,h,p,1.5,l);f.push(...r)}return o&&(s?f.push(...R(t,e,t+c*Math.cos(h),e+u*Math.sin(h),l),...R(t,e,t+c*Math.cos(p),e+u*Math.sin(p),l)):f.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+c*Math.cos(h),e+u*Math.sin(h)]})),{type:"path",ops:f}}function M(t,e){let r=y(m(g(t))),n=[],a=[0,0],i=[0,0];for(let{key:t,data:o}of r)switch(t){case"M":i=[o[0],o[1]],a=[o[0],o[1]];break;case"L":n.push(...R(i[0],i[1],o[0],o[1],e)),i=[o[0],o[1]];break;case"C":{let[t,r,a,s,l,c]=o;n.push(...function(t,e,r,n,a,i,o,s){let l=[],c=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],u=[0,0],h=s.disableMultiStroke?1:2,p=s.preserveVertices;for(let d=0;d<h;d++)0===d?l.push({op:"move",data:[o[0],o[1]]}):l.push({op:"move",data:[o[0]+(p?0:$(c[0],s)),o[1]+(p?0:$(c[0],s))]}),u=p?[a,i]:[a+$(c[d],s),i+$(c[d],s)],l.push({op:"bcurveTo",data:[t+$(c[d],s),e+$(c[d],s),r+$(c[d],s),n+$(c[d],s),u[0],u[1]]});return l}(t,r,a,s,l,c,i,e)),i=[l,c];break}case"Z":n.push(...R(i[0],i[1],a[0],a[1],e)),i=[a[0],a[1]]}return{type:"path",ops:n}}function T(t,e){let r=[];for(let n of t)if(n.length){let t=e.maxRandomnessOffset||0,a=n.length;if(a>2){r.push({op:"move",data:[n[0][0]+$(t,e),n[0][1]+$(t,e)]});for(let i=1;i<a;i++)r.push({op:"lineTo",data:[n[i][0]+$(t,e),n[i][1]+$(t,e)]})}}return{type:"fillPath",ops:r}}function L(t,e){return(function(t,e){let r=t.fillStyle||"hachure";if(!p[r])switch(r){case"zigzag":p[r]||(p[r]=new s(e));break;case"cross-hatch":p[r]||(p[r]=new l(e));break;case"dots":p[r]||(p[r]=new c(e));break;case"dashed":p[r]||(p[r]=new u(e));break;case"zigzag-line":p[r]||(p[r]=new h(e));break;default:p[r="hachure"]||(p[r]=new i(e))}return p[r]})(e,k).fillPolygons(t,e)}function O(t){let e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function E(t){return t.randomizer||(t.randomizer=new d(t.seed||0)),t.randomizer.next()}function C(t,e,r,n=1){return r.roughness*n*(E(r)*(e-t)+t)}function $(t,e,r=1){return C(-t,t,e,r)}function R(t,e,r,n,a,i=!1){let o=i?a.disableMultiStrokeFill:a.disableMultiStroke,s=K(t,e,r,n,a,!0,!1);if(o)return s;let l=K(t,e,r,n,a,!0,!0);return s.concat(l)}function K(t,e,r,n,a,i,o){let s=Math.pow(t-r,2)+Math.pow(e-n,2),l=Math.sqrt(s),c=1;c=l<200?1:l>500?.4:-.0016668*l+1.233334;let u=a.maxRandomnessOffset||0;u*u*100>s&&(u=l/10);let h=u/2,p=.2+.2*E(a),d=a.bowing*a.maxRandomnessOffset*(n-e)/200,f=a.bowing*a.maxRandomnessOffset*(t-r)/200;d=$(d,a,c),f=$(f,a,c);let g=[],m=()=>$(h,a,c),y=()=>$(u,a,c),b=a.preserveVertices;return i&&(o?g.push({op:"move",data:[t+(b?0:m()),e+(b?0:m())]}):g.push({op:"move",data:[t+(b?0:$(u,a,c)),e+(b?0:$(u,a,c))]})),o?g.push({op:"bcurveTo",data:[d+t+(r-t)*p+m(),f+e+(n-e)*p+m(),d+t+2*(r-t)*p+m(),f+e+2*(n-e)*p+m(),r+(b?0:m()),n+(b?0:m())]}):g.push({op:"bcurveTo",data:[d+t+(r-t)*p+y(),f+e+(n-e)*p+y(),d+t+2*(r-t)*p+y(),f+e+2*(n-e)*p+y(),r+(b?0:y()),n+(b?0:y())]}),g}function I(t,e,r){if(!t.length)return[];let n=[];n.push([t[0][0]+$(e,r),t[0][1]+$(e,r)]),n.push([t[0][0]+$(e,r),t[0][1]+$(e,r)]);for(let a=1;a<t.length;a++)n.push([t[a][0]+$(e,r),t[a][1]+$(e,r)]),a===t.length-1&&n.push([t[a][0]+$(e,r),t[a][1]+$(e,r)]);return P(n,null,r)}function P(t,e,r){let n=t.length,a=[];if(n>3){let i=[],o=1-r.curveTightness;a.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<n;e++){let r=t[e];i[0]=[r[0],r[1]],i[1]=[r[0]+(o*t[e+1][0]-o*t[e-1][0])/6,r[1]+(o*t[e+1][1]-o*t[e-1][1])/6],i[2]=[t[e+1][
10]+(o*t[e][0]-o*t[e+2][0])/6,t[e+1][1]+(o*t[e][1]-o*t[e+2][1])/6],i[3]=[t[e+1][0],t[e+1][1]],a.push({op:"bcurveTo",data:[i[1][0],i[1][1],i[2][0],i[2][1],i[3][0],i[3][1]]})}if(e&&2===e.length){let t=r.maxRandomnessOffset;a.push({op:"lineTo",data:[e[0]+$(t,r),e[1]+$(t,r)]})}}else 3===n?(a.push({op:"move",data:[t[1][0],t[1][1]]}),a.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===n&&a.push(...K(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return a}function N(t,e,r,n,a,i,o,s){let l=[],c=[];if(0===s.roughness){t/=4,c.push([e+n*Math.cos(-t),r+a*Math.sin(-t)]);for(let i=0;i<=2*Math.PI;i+=t){let t=[e+n*Math.cos(i),r+a*Math.sin(i)];l.push(t),c.push(t)}c.push([e+ +n,r+0*a]),c.push([e+n*Math.cos(t),r+a*Math.sin(t)])}else{let u=$(.5,s)-Math.PI/2;c.push([$(i,s)+e+.9*n*Math.cos(u-t),$(i,s)+r+.9*a*Math.sin(u-t)]);let h=2*Math.PI+u-.01;for(let o=u;o<h;o+=t){let t=[$(i,s)+e+n*Math.cos(o),$(i,s)+r+a*Math.sin(o)];l.push(t),c.push(t)}c.push([$(i,s)+e+n*Math.cos(u+2*Math.PI+.5*o),$(i,s)+r+a*Math.sin(u+2*Math.PI+.5*o)]),c.push([$(i,s)+e+.98*n*Math.cos(u+o),$(i,s)+r+.98*a*Math.sin(u+o)]),c.push([$(i,s)+e+.9*n*Math.cos(u+.5*o),$(i,s)+r+.9*a*Math.sin(u+.5*o)])}return[c,l]}function D(t,e,r,n,a,i,o,s,l){let c=i+$(.1,l),u=[];u.push([$(s,l)+e+.9*n*Math.cos(c-t),$(s,l)+r+.9*a*Math.sin(c-t)]);for(let i=c;i<=o;i+=t)u.push([$(s,l)+e+n*Math.cos(i),$(s,l)+r+a*Math.sin(i)]);return u.push([e+n*Math.cos(o),r+a*Math.sin(o)]),u.push([e+n*Math.cos(o),r+a*Math.sin(o)]),P(u,null,l)}function j(t,e=0){let r=t.length;if(r<3)throw Error("A curve must have at least three points.");let n=[];if(3===r)n.push([...t[0]],[...t[1]],[...t[2]],[...t[2]]);else{let r=[];r.push(t[0],t[0]);for(let e=1;e<t.length;e++)r.push(t[e]),e===t.length-1&&r.push(t[e]);let a=[],i=1-e;n.push([...r[0]]);for(let t=1;t+2<r.length;t++){let e=r[t];a[0]=[e[0],e[1]],a[1]=[e[0]+(i*r[t+1][0]-i*r[t-1][0])/6,e[1]+(i*r[t+1][1]-i*r[t-1][1])/6],a[2]=[r[t+1][0]+(i*r[t][0]-i*r[t+2][0])/6,r[t+1][1]+(i*r[t][1]-i*r[t+2][1])/6],a[3]=[r[t+1][0],r[t+1][1]],n.push(a[1],a[2],a[3])}}return n}function z(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function F(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function B(t,e,r,n,a){let i=a||[],o=t[e],s=t[r-1],l=0,c=1;for(let n=e+1;n<r-1;++n){let e=function(t,e,r){let n=z(e,r);if(0===n)return z(t,e);let a=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/n;return z(t,F(e,r,a=Math.max(0,Math.min(1,a))))}(t[n],o,s);e>l&&(l=e,c=n)}return Math.sqrt(l)>n?(B(t,e,c+1,n,i),B(t,c,r,n,i)):(i.length||i.push(o),i.push(s)),i}function U(t,e=.15,r){let n=[],a=(t.length-1)/3;for(let r=0;r<a;r++)!function t(e,r,n,a){let i=a||[];if(function(t,e){let r=t[e+0],n=t[e+1],a=t[e+2],i=t[e+3],o=3*n[0]-2*r[0]-i[0];o*=o;let s=3*n[1]-2*r[1]-i[1];s*=s;let l=3*a[0]-2*i[0]-r[0];l*=l;let c=3*a[1]-2*i[1]-r[1];return c*=c,o<l&&(o=l),s<c&&(s=c),o+s}(e,r)<n){let t=e[r+0];i.length?Math.sqrt(z(i[i.length-1],t))>1&&i.push(t):i.push(t),i.push(e[r+3])}else{let a=e[r+0],o=e[r+1],s=e[r+2],l=e[r+3],c=F(a,o,.5),u=F(o,s,.5),h=F(s,l,.5),p=F(c,u,.5),d=F(u,h,.5),f=F(p,d,.5);t([a,c,p,f],0,n,i),t([f,d,h,l],0,n,i)}return i}(t,3*r,e,n);return r&&r>0?B(n,0,n.length,r):n}let W="none";class H{constructor(t){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=t||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(t){return t?Object.assign({},this.defaultOptions,t):this.defaultOptions}_d(t,e,r){return{shape:t,sets:e||[],options:r||this.defaultOptions}}line(t,e,r,n,a){let i=this._o(a);return this._d("line",[x(t,e,r,n,i)],i)}rectangle(t,e,r,n,a){var i,o,s,l;let c=this._o(a),u=[],h=_([[i=t,o=e],[i+(s=r),o],[i+s,o+(l=n)],[i,o+l]],!0,c);if(c.fill){let a=[[t,e],[t+r,e],[t+r,e+n],[t,e+n]];"solid"===c.fillStyle?u.push(T([a],c)):u.push(L([a],c))}return c.stroke!==W&&u.push(h),this._d("rectangle",u,c)}ellipse(t,e,r,n,a){let i=this._o(a),o=[],s=v(r,n,i),l=A(t,e,i,s);if(i.fill)if("solid"===i.fillStyle){let r=A(t,e,i,s).opset;r.type="fillPath",o.push(r)}else o.push(L([l.estimatedPoints],i));return i.stroke!==W&&o.push(l.opset),this._d("ellipse",o,i)}circle(t,e,r,n){let a=this.ellipse(t,e,r,r,n);return a.shape="circle",a}linearPath(t,e){let r=this._o(e);return this._d("linearPath",[_(t,!1,r)],r)}arc(t,e,r,n,a,i,o=!1,s){let l=this._o(s),c=[],u=S(t,e,r,n,a,i,o,!0,l);if(o&&l.fill)if("solid"===l.fillStyle){let o=Object.assign({},l);o.disableMultiStroke=!0;let s=S(t,e,r,n,a,i,!0,!1,o);s.type="fillPath",c.push(s)}else c.push(function(t,e,r,n,a,i,o){let s=Math.abs(r/2),l=Math.abs(n/2);s+=$(.01*s,o),l+=$(.01*l,o);let c=a,u=i;for(;c<0;)c+=2*Math.PI,u+=2*Math.PI;u-c>2*Math.PI&&(c=0,u=2*Math.PI);let h=(u-c)/o.curveStepCount,p=[];for(let r=c;r<=u;r+=h)p.push([t+s*Math.cos(r),e+l*Math.sin(r)]);return p.push([t+s*Math.cos(u),e+l*Math.sin(u)]),p.push([t,e]),L([p],o)}(t,e,r,n,a,i,l));
1return l.stroke!==W&&c.push(u),this._d("arc",c,l)}curve(t,e){let r=this._o(e),n=[],a=w(t,r);if(r.fill&&r.fill!==W)if("solid"===r.fillStyle){let e=w(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else{let e=[];if(t.length)for(let n of"number"==typeof t[0][0]?[t]:t)n.length<3?e.push(...n):3===n.length?e.push(...U(j([n[0],n[0],n[1],n[2]]),10,(1+r.roughness)/2)):e.push(...U(j(n),10,(1+r.roughness)/2));e.length&&n.push(L([e],r))}return r.stroke!==W&&n.push(a),this._d("curve",n,r)}polygon(t,e){let r=this._o(e),n=[],a=_(t,!0,r);return r.fill&&("solid"===r.fillStyle?n.push(T([t],r)):n.push(L([t],r))),r.stroke!==W&&n.push(a),this._d("polygon",n,r)}path(t,e){let r=this._o(e),n=[];if(!t)return this._d("path",n,r);t=(t||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let a=r.fill&&"transparent"!==r.fill&&r.fill!==W,i=r.stroke!==W,o=!!(r.simplification&&r.simplification<1),s=function(t,e,r){let n=y(m(g(t))),a=[],i=[],o=[0,0],s=[],l=()=>{s.length>=4&&i.push(...U(s,1)),s=[]},c=()=>{l(),i.length&&(a.push(i),i=[])};for(let{key:t,data:e}of n)switch(t){case"M":c(),o=[e[0],e[1]],i.push(o);break;case"L":l(),i.push([e[0],e[1]]);break;case"C":if(!s.length){let t=i.length?i[i.length-1]:o;s.push([t[0],t[1]])}s.push([e[0],e[1]]),s.push([e[2],e[3]]),s.push([e[4],e[5]]);break;case"Z":l(),i.push([o[0],o[1]])}if(c(),!r)return a;let u=[];for(let t of a){let e=B(t,0,t.length,r);e.length&&u.push(e)}return u}(t,0,o?4-4*(r.simplification||1):(1+r.roughness)/2),l=M(t,r);if(a)if("solid"===r.fillStyle)if(1===s.length){let e=M(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));n.push({type:"fillPath",ops:this._mergedShape(e.ops)})}else n.push(T(s,r));else n.push(L(s,r));return i&&(o?s.forEach(t=>{n.push(_(t,!1,r))}):n.push(l)),this._d("path",n,r)}opsToPath(t,e){let r="";for(let n of t.ops){let t="number"==typeof e&&e>=0?n.data.map(t=>+t.toFixed(e)):n.data;switch(n.op){case"move":r+=`M${t[0]} ${t[1]} `;break;case"bcurveTo":r+=`C${t[0]} ${t[1]}, ${t[2]} ${t[3]}, ${t[4]} ${t[5]} `;break;case"lineTo":r+=`L${t[0]} ${t[1]} `}}return r.trim()}toPaths(t){let e=t.sets||[],r=t.options||this.defaultOptions,n=[];for(let t of e){let e=null;switch(t.type){case"path":e={d:this.opsToPath(t),stroke:r.stroke,strokeWidth:r.strokeWidth,fill:W};break;case"fillPath":e={d:this.opsToPath(t),stroke:W,strokeWidth:0,fill:r.fill||W};break;case"fillSketch":e=this.fillSketch(t,r)}e&&n.push(e)}return n}fillSketch(t,e){let r=e.fillWeight;return r<0&&(r=e.strokeWidth/2),{d:this.opsToPath(t),stroke:e.fill||W,strokeWidth:r,fill:W}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class Y{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new H(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.ctx,a=t.options.fixedDecimalPlaceDigits;for(let i of e)switch(i.type){case"path":n.save(),n.strokeStyle="none"===r.stroke?"transparent":r.stroke,n.lineWidth=r.strokeWidth,r.strokeLineDash&&n.setLineDash(r.strokeLineDash),r.strokeLineDashOffset&&(n.lineDashOffset=r.strokeLineDashOffset),this._drawToContext(n,i,a),n.restore();break;case"fillPath":{n.save(),n.fillStyle=r.fill||"";let e="curve"===t.shape||"polygon"===t.shape||"path"===t.shape?"evenodd":"nonzero";this._drawToContext(n,i,a,e),n.restore();break}case"fillSketch":this.fillSketch(n,i,r)}}fillSketch(t,e,r){let n=r.fillWeight;n<0&&(n=r.strokeWidth/2),t.save(),r.fillLineDash&&t.setLineDash(r.fillLineDash),r.fillLineDashOffset&&(t.lineDashOffset=r.fillLineDashOffset),t.strokeStyle=r.fill||"",t.lineWidth=n,this._drawToContext(t,e,r.fixedDecimalPlaceDigits),t.restore()}_drawToContext(t,e,r,n="nonzero"){for(let n of(t.beginPath(),e.ops)){let e="number"==typeof r&&r>=0?n.data.map(t=>+t.toFixed(r)):n.data;switch(n.op){case"move":t.moveTo(e[0],e[1]);break;case"bcurveTo":t.bezierCurveTo(e[0],e[1],e[2],e[3],e[4],e[5]);break;case"lineTo":t.lineTo(e[0],e[1])}}"fillPath"===e.type?t.fill(n):t.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(t,e,r,n,a){let i=this.gen.line(t,e,r,n,a);return this.draw(i),i}rectangle(t,e,r,n,a){let i=this.gen.rectangle(t,e,r,n,a);return this.draw(i),i}ellipse(t,e,r,n,a){let i=this.gen.ellipse(t,e,r,n,a);return this.draw(i),i}circle(t,e,r,n){let a=this.gen.circle(t,e,r,n);return this.draw(a),a}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r),r}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r),r}arc(t,e,r,n,a,i,o=!1,s){let l=this.gen.arc(t,e,r,n,a,i,o,s);return this.draw(l),l}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r),r}path(t,e){let r=this.gen.path(t,e);return this.draw(r),r}}let q="http://www.w3.org/2000/svg";class G{constructor(t,e){this.svg=t,this.gen=new H(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,a=n.createElementNS(q,"g"),i=t.options.fixedDecimalPlaceDigits;for(let o of e){let e=null;switch(o.type){case"path":(e=n.createElementNS(q,"path")).setAttribute("d",this.opsToPath(o,i)),e.setAttribute("stroke",r.stroke),e.setAttribute("stroke-width",r.strokeWidth+""),e.setAttribute("fill","none"),r.strokeLineDash&&e.setAttribute("stroke-dasharray",r.strokeLineDash.join(" ").trim()),r.strokeLineDashOffset&&e.setAttribute("stroke-dashoffset",`${r.strokeLineDashOffset}`);break;case"fillPath":(e=n.createElementNS(q,"path")).setAttribute("d",this.opsToPath(o,i)),e.setAttribute("stroke","none"),e.setAttribute("stroke-width","0"),e.setAttribute("fill",r.fill||""),"curve"!==t.shape&&"polygon"!==t.shape||e.setAttribute("fill-rule","evenodd");break;case"fillSketch":e=this.fillSketch(n,o,r)}e&&a.appendChild(e)}return a}fillSketch(t,e,r){let n=r.fillWeight;n<0&&(n=r.strokeWidth/2);let a=t.createElementNS(q,"path");return a.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),a.setAttribute("stroke",r.fill||""),a.setAttribute("stroke-width",n+""),a.setAttribute("fill","none"),r.fillLineDash&&a.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&a.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),a}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,n,a){let i=this.gen.line(t,e,r,n,a);return this.draw(i)}rectangle(t,e,r,n,a){let i=this.gen.rectangle(t,e,r,n,a);return this.draw(i)}ellipse(t,e,r,n,a){let i=this.gen.ellipse(t,e,r,n,a);return this.draw(i)}circle(t,e,r,n){let a=this.gen.circle(t,e,r,n);return this.draw(a)}linearPath(t,e){let r=this.gen.linearPath(t,e);return this.draw(r)}polygon(t,e){let r=this.gen.polygon(t,e);return this.draw(r)}arc(t,e,r,n,a,i,o=!1,s){let l=this.gen.arc(t,e,r,n,a,i,o,s);return this.draw(l)}curve(t,e){let r=this.gen.curve(t,e);return this.draw(r)}path(t,e){let r=this.gen.path(t,e);return this.draw(r)}}var X={canvas:(t,e)=>new Y(t,e),svg:(t,e)=>new G(t,e),generator:t=>new H(t),newSeed:()=>H.newSeed()}},27742:(t,e,r)=>{"use strict";r.d(e,{XX:()=>h,q7:()=>p,sO:()=>u});var n=r(71319),a=r(876230),i=r(250976),o=r(208509),s=r(195611),l={common:o.Y2,getConfig:o.zj,insertCluster:a.U,insertEdge:n.Jo,insertEdgeLabel:n.jP,insertMarkers:n.g0,insertNode:a.on,interpolateToCurve:i.Ib,labelHelper:a.Zk,log:s.Rm,positionEdgeLabel:n.T_},c={},u=(0,s.K2)(t=>{for(let e of t)c[e.name]=e},"registerLayoutLoaders");(0,s.K2)(()=>{u([{name:"dagre",loader:(0,s.K2)(async()=>await Promise.all([r.e(4081),r.e(6863),r.e(3095),r.e(3079)]).then(r.bind(r,503079)),"loader")},{name:"cose-bilkent",loader:(0,s.K2)(async()=>await Promise.all([r.e(8669),r.e(1360)]).then(r.bind(r,341360)),"loader")}])},"registerDefaultLayoutLoaders")();var h=(0,s.K2)(async(t,e)=>{if(!(t.layoutAlgorithm in c))throw Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);if(t.diagramId)for(let e of t.nodes){let r=e.domId||e.id;e.domId=`${t.diagramId}-${r}`}let r=c[t.layoutAlgorithm],n=await r.loader(),{theme:a,themeVariables:i}=t.config,{useGradient:o,gradientStart:s,gradientStop:u}=i,h=e.attr("id");if(e.append("defs").append("filter").attr("id",`${h}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${a?.includes("dark")?"#FFFFFF":"#000000"}`),e.append("defs").append("filter").attr("id",`${h}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${a?.includes("dark")?"#FFFFFF":"#000000"}`),o){let t=e.append("linearGradient").attr("id",e.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");t.append("svg:stop").attr("offset","0%").attr("stop-color",s).attr("stop-opacity",1),t.append("svg:stop").attr("offset","100%").attr("stop-color",u).attr("stop-opacity",1)}return n.render(t,e,l,{algorithm:r.algorithm})},"render"),p=(0,s.K2)((t="",{fallback:e="dagre"}={})=>
1{if(t in c)return t;if(e in c)return s.Rm.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},45333:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n="object"==typeof global&&global&&global.Object===Object&&global},51299:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(390765),a=r(226210),i=r(74488);let o=function(t,e){return(0,i.A)((0,a.A)(t,e,n.A),t+"")}},71319:(t,e,r)=>{"use strict";r.d(e,{IU:()=>x,Jo:()=>$,T_:()=>A,g0:()=>ta,jP:()=>w});var n=r(915992),a=r(876230),i=r(860121),o=r(448152),s=r(478046),l=r(250976),c=r(208509),u=r(195611),h=r(98353),p=r(23533),d=(0,u.K2)((t,e,r,n,a,i=!1,o)=>{e.arrowTypeStart&&m(t,"start",e.arrowTypeStart,r,n,a,i,o),e.arrowTypeEnd&&m(t,"end",e.arrowTypeEnd,r,n,a,i,o)},"addEdgeMarkers"),f={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},g=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],m=(0,u.K2)((t,e,r,n,a,i,o=!1,s)=>{let l=f[r],c=l&&g.includes(l.type);if(!l)return void u.Rm.warn(`Unknown arrow type: ${r}`);let h=l.type,p=`${a}_${i}-${h}${"start"===e?"Start":"End"}${o&&c?"-margin":""}`;if(s&&""!==s.trim()){let r=s.replace(/[^\dA-Za-z]/g,"_"),a=`${p}_${r}`;if(!document.getElementById(a)){let t=document.getElementById(p);if(t){let e=t.cloneNode(!0);e.id=a,e.querySelectorAll("path, circle, line").forEach(t=>{t.setAttribute("stroke",s),l.fill&&t.setAttribute("fill",s)}),t.parentNode?.appendChild(e)}}t.attr(`marker-${e}`,`url(${n}#${a})`)}else t.attr(`marker-${e}`,`url(${n}#${p})`)},"addEdgeMarker"),y=(0,u.K2)(t=>"string"==typeof t?t:(0,c.D7)()?.flowchart?.curve,"resolveEdgeCurveType"),b=new Map,k=new Map,x=(0,u.K2)(()=>{b.clear(),k.clear()},"clear"),_=(0,u.K2)(t=>t?"string"==typeof t?t:t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),w=(0,u.K2)(async(t,e)=>{let r,i=(0,c.D7)(),l=(0,c.E)(i),{labelStyles:p}=(0,o.GX)(e);e.labelStyle=p;let d=t.insert("g").attr("class","edgeLabel"),f=d.insert("g").attr("class","label").attr("data-id",e.id),g="markdown"===e.labelType,m=await (0,s.GZ)(t,e.label,{style:_(e.labelStyle),useHtmlLabels:l,addSvgBackground:!0,isNode:!1,markdown:g,width:void 0},i);f.node().appendChild(m),u.Rm.info("abc82",e,e.labelType);let y=m.getBBox(),x=y;if(l){let t=m.children[0],e=(0,h.Ltv)(m);x=y=t.getBoundingClientRect(),e.attr("width",y.width),e.attr("height",y.height)}else{let t=(0,h.Ltv)(m).select("text").node();t&&"function"==typeof t.getBBox&&(x=t.getBBox())}if(f.attr("transform",(0,n.Wg)(x,l)),b.set(e.id,d),e.width=y.width,e.height=y.height,e.startLabelLeft){let i=t.insert("g").attr("class","edgeTerminals"),o=i.insert("g").attr("class","inner"),s=await (0,a.DA)(o,e.startLabelLeft,_(e.labelStyle)||"",!1,!1);r=s;let c=s.getBBox();if(l){let t=s.children[0],e=(0,h.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}o.attr("transform",(0,n.Wg)(c,l)),k.get(e.id)||k.set(e.id,{}),k.get(e.id).startLeft=i,v(r,e.startLabelLeft)}if(e.startLabelRight){let i=t.insert("g").attr("class","edgeTerminals"),o=i.insert("g").attr("class","inner"),s=await (0,a.DA)(o,e.startLabelRight,_(e.labelStyle)||"",!1,!1);r=s,o.node().appendChild(s);let c=s.getBBox();if(l){let t=s.children[0],e=(0,h.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}o.attr("transform",(0,n.Wg)(c,l)),k.get(e.id)||k.set(e.id,{}),k.get(e.id).startRight=i,v(r,e.startLabelRight)}if(e.endLabelLeft){let i=t.insert("g").attr("class","edgeTerminals"),o=i.insert("g").attr("class","inner"),s=await (0,a.DA)(o,e.endLabelLeft,_(e.labelStyle)||"",!1,!1);r=s;let c=s.getBBox();if(l){let t=s.children[0],e=(0,h.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}o.attr("transform",(0,n.Wg)(c,l)),i.node().appendChild(s),k.get(e.id)||k.set(e.id,{}),k.get(e.id).endLeft=i,v(r,e.endLabelLeft)}if(e.endLabelRight){let i=t.insert("g").attr("class","edgeTerminals"),o=i.insert("g").attr("class","inner"),s=await (0,a.DA)(o,e.endLabelRight,_(e.labelStyle)||"",!1,!1);r=s;let c=s.getBBox();if(l){let t=s.children[0],e=(0,h.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}o.attr("transform",(0,n.Wg)(c,l)),i.node().appendChild(s),k.get(e.id)||k.set(e.id,{}),k.get(e.id).endRight=i,v(r,e.endLabelRight)}return m},"insertEdgeLabel");function v(t,e){(0,c.E)((0,c.D7)())&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,u.K2)(v,"setTerminalWidth");var A=(0,u.K2)((t,e)=>{u.Rm.debug("Moving label abc88 ",t.id,t.label,b.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,n=(0,c.D7)(),{subGraphTitleTotalMargin:a}=(0,i.O)(n);if(t.label){let n=b.get(t.id),i=t.x,o=t.y;if(r){let n=l._K.calcLabelPosition(r);u.Rm.debug("Moving label "+t.label+" from (",i,",",o,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(i=n.x,o=n.y)}n.attr("transform",`translate(${i}, ${o+a/2})`)}if(t.startLabelLeft){let e=k.get(t.id).startLeft,n=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);
1n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}if(t.startLabelRight){let e=k.get(t.id).startRight,n=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}if(t.endLabelLeft){let e=k.get(t.id).endLeft,n=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}if(t.endLabelRight){let e=k.get(t.id).endRight,n=t.x,a=t.y;if(r){let e=l._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}},"positionEdgeLabel"),S=(0,u.K2)((t,e)=>{let r=t.x,n=t.y,a=Math.abs(e.x-r),i=Math.abs(e.y-n),o=t.width/2,s=t.height/2;return a>=o||i>=s},"outsideNode"),M=(0,u.K2)((t,e,r)=>{u.Rm.debug(`intersection calc abc89: 2 outsidePoint: ${JSON.stringify(e)} 3 insidePoint : ${JSON.stringify(r)} 4 node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let n=t.x,a=t.y,i=Math.abs(n-r.x),o=t.width/2,s=r.x<e.x?o-i:o+i,l=t.height/2,c=Math.abs(e.y-r.y),h=Math.abs(e.x-r.x);if(Math.abs(a-e.y)*o>Math.abs(n-e.x)*l){let t=r.y<e.y?e.y-l-a:a-l-e.y;s=h*t/c;let n={x:r.x<e.x?r.x+s:r.x-h+s,y:r.y<e.y?r.y+c-t:r.y-c+t};return 0===s&&(n.x=e.x,n.y=e.y),0===h&&(n.x=e.x),0===c&&(n.y=e.y),u.Rm.debug(`abc89 top/bottom calc, Q ${c}, q ${t}, R ${h}, r ${s}`,n),n}{let t=c*(s=r.x<e.x?e.x-o-n:n-o-e.x)/h,a=r.x<e.x?r.x+h-s:r.x-h+s,i=r.y<e.y?r.y+t:r.y-t;return u.Rm.debug(`sides calc abc89, Q ${c}, q ${t}, R ${h}, r ${s}`,{_x:a,_y:i}),0===s&&(a=e.x,i=e.y),0===h&&(a=e.x),0===c&&(i=e.y),{x:a,y:i}}},"intersection"),T=(0,u.K2)((t,e)=>{u.Rm.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],a=!1;return t.forEach(t=>{if(u.Rm.info("abc88 checking point",t,e),S(e,t)||a)u.Rm.warn("abc88 outside",t,n),n=t,a||r.push(t);else{let i=M(e,n,t);u.Rm.debug("abc88 inside",t,n,i),u.Rm.debug("abc88 intersection",i,e);let o=!1;r.forEach(t=>{o=o||t.x===i.x&&t.y===i.y}),r.some(t=>t.x===i.x&&t.y===i.y)?u.Rm.warn("abc88 no intersect",i,r):r.push(i),a=!0}}),u.Rm.debug("returning points",r),r},"cutPathAtIntersect");function L(t){let e=[],r=[];for(let n=1;n<t.length-1;n++){let a=t[n-1],i=t[n],o=t[n+1];a.x===i.x&&i.y===o.y&&Math.abs(i.x-o.x)>5&&Math.abs(i.y-a.y)>5?(e.push(i),r.push(n)):a.y===i.y&&i.x===o.x&&Math.abs(i.x-a.x)>5&&Math.abs(i.y-o.y)>5&&(e.push(i),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}(0,u.K2)(L,"extractCornerPoints");var O=(0,u.K2)(function(t,e,r){let n=e.x-t.x,a=e.y-t.y,i=r/Math.sqrt(n*n+a*a);return{x:e.x-i*n,y:e.y-i*a}},"findAdjacentPoint"),E=(0,u.K2)(function(t){let{cornerPointPositions:e}=L(t),r=[];for(let n=0;n<t.length;n++)if(e.includes(n)){let e=t[n-1],a=t[n+1],i=t[n],o=O(e,i,5),s=O(a,i,5),l=s.x-o.x,c=s.y-o.y;r.push(o);let h=2*Math.sqrt(2),p={x:i.x,y:i.y};Math.abs(a.x-e.x)>10&&Math.abs(a.y-e.y)>=10?(u.Rm.debug("Corner point fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),p=i.x===o.x?{x:l<0?o.x-5+h:o.x+5-h,y:c<0?o.y-h:o.y+h}:{x:l<0?o.x-h:o.x+h,y:c<0?o.y-5+h:o.y+5-h}):u.Rm.debug("Corner point skipping fixing",Math.abs(a.x-e.x),Math.abs(a.y-e.y)),r.push(p,s)}else r.push(t[n]);return r},"fixCorners"),C=(0,u.K2)((t,e,r)=>{let n=Array(Math.floor((t-e-r)/4)).fill("2 2").join(" ");return`0 ${e} ${n} ${r}`},"generateDashArray"),$=(0,u.K2)(function(t,e,r,a,i,s,f,g=!1){let m,b;if(!f)throw Error(`insertEdge: missing diagramId for edge "${e.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:k}=(0,c.D7)(),x=e.points,_=!1,w=[];for(let t in e.cssCompiledStyles)(0,o.KX)(t)||w.push(e.cssCompiledStyles[t]);u.Rm.debug("UIO intersect check",e.points,s.x,i.x),s.intersect&&i.intersect&&!g&&((x=x.slice(1,e.points.length-1)).unshift(i.intersect(x[0])),u.Rm.debug("Last point UIO",e.start,"--\x3e",e.end,x[x.length-1],s,s.intersect(x[x.length-1])),x.push(s.intersect(x[x.length-1])));let v=btoa(JSON.stringify(x));e.toCluster&&(u.Rm.info("to cluster abc88",r.get(e.toCluster)),x=T(e.points,r.get(e.toCluster).node),_=!0),e.fromCluster&&(u.Rm.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(x,null,2)),x=T(x.reverse(),r.get(e.fromCluster).node).reverse(),_=!0);let A=x.filter(t=>!Number.isNaN(t.y)),S=y(e.curve);"rounded"!==S&&(A=E(A));let M=h.lUB;switch(S){case"linear":case"rounded":M=h.lUB;break;case"basis":default:M=h.qrM;break;case"cardinal":M=h.y8u;break;case"bumpX":M=h.Wi0;break;case"bumpY":M=h.PGM;break;case"catmullRom":M=h.oDi;break;case"monotoneX":M=h.nVG;break;case"monotoneY":M=h.uxU;break;case"natural":M=h.Xf2;break;case"step":M=h.GZz;break;case"stepAfter":M=h.UPb;break;case"stepBefore":M=h.dyv}let{x:L,y:O}=(0,n.RI)(e),$=(0,h.n8j)().x(L).y(O).curve(M);switch(e.thickness){case"normal":default:m="edge-thickness-normal";break;case"thick":m="edge-thickness-thick";break;case"invisible":m="edge-thickness-invisible"}switch(e.pattern){case"solid":default:m+=" edge-pattern-solid";break;case"dotted":m+=" edge-pattern-dotted";break;case"dashed":m+=" edge-pattern-dashed"}let K="rounded"===S?R(I(A,e),5):$(A),P=Array.isArray(e.style)?e.style:[e.style],N=P.find(t=>t?.startsWith("stroke:")),D="";e.animate&&(D="edge-animation-fast"),e.animation&&(D="edge-animation-"+e.animation);let j=!1;
4if("handDrawn"===e.look){let r=p.A.svg(t);Object.assign([],A);let n=r.path(K,{roughness:.3,seed:k});m+=" transition";let a=(b=(0,h.Ltv)(n).select("path").attr("id",`${f}-${e.id}`).attr("class"," "+m+(e.classes?" "+e.classes:"")+(D?" "+D:"")).attr("style",P?P.reduce((t,e)=>t+";"+e,""):"")).attr("d");b.attr("d",a),t.node().appendChild(b.node())}else{let r=w.join(";"),a=P?P.reduce((t,e)=>t+e+";",""):"",i=(r?r+";"+a+";":a)+";"+(P?P.reduce((t,e)=>t+";"+e,""):"");b=t.append("path").attr("d",K).attr("id",`${f}-${e.id}`).attr("class"," "+m+(e.classes?" "+e.classes:"")+(D?" "+D:"")).attr("style",i),N=i.match(/stroke:([^;]+)/)?.[1],j=!0===e.animate||!!e.animation||r.includes("animation");let o=b.node(),s="function"==typeof o.getTotalLength?o.getTotalLength():0,l=n.Nq[e.arrowTypeStart]||0,c=n.Nq[e.arrowTypeEnd]||0;if("neo"===e.look&&!j){let t="dotted"===e.pattern||"dashed"===e.pattern?C(s,l,c):`0 ${l} ${s-l-c} ${c}`,r=`stroke-dasharray: ${t}; stroke-dashoffset: 0;`;b.attr("style",r+b.attr("style"))}}b.attr("data-edge",!0),b.attr("data-et","edge"),b.attr("data-id",e.id),b.attr("data-points",v),b.attr("data-look",(0,l.KL)(e.look)),e.showPoints&&A.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let z="";((0,c.D7)().flowchart.arrowMarkerAbsolute||(0,c.D7)().state.arrowMarkerAbsolute)&&(z=(z=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),u.Rm.info("arrowTypeStart",e.arrowTypeStart),u.Rm.info("arrowTypeEnd",e.arrowTypeEnd);let F=!j&&e?.look==="neo";d(b,e,z,f,a,F,N);let B=Math.floor(x.length/2),U=x[B];l._K.isLabelCoordinateInPath(U,b.attr("d"))||(_=!0);let W={};return _&&(W.updatedPath=x),W.originalPath=e.points,W},"insertEdge");function R(t,e){if(t.length<2)return"";let r="",n=t.length;for(let a=0;a<n;a++){let i=t[a],o=t[a-1],s=t[a+1];if(0===a)r+=`M${i.x},${i.y}`;else if(a===n-1)r+=`L${i.x},${i.y}`;else{let t=i.x-o.x,n=i.y-o.y,a=s.x-i.x,l=s.y-i.y,c=Math.hypot(t,n),u=Math.hypot(a,l);if(c<1e-5||u<1e-5){r+=`L${i.x},${i.y}`;continue}let h=t/c,p=n/c,d=a/u,f=l/u,g=Math.acos(Math.max(-1,Math.min(1,h*d+p*f)));if(g<1e-5||1e-5>Math.abs(Math.PI-g)){r+=`L${i.x},${i.y}`;continue}let m=Math.min(e/Math.sin(g/2),c/2,u/2),y=i.x-h*m,b=i.y-p*m,k=i.x+d*m,x=i.y+f*m;r+=`L${y},${b}Q${i.x},${i.y} ${k},${x}`}}return r}function K(t,e){if(!t||!e)return{angle:0,deltaX:0,deltaY:0};let r=e.x-t.x,n=e.y-t.y;return{angle:Math.atan2(n,r),deltaX:r,deltaY:n}}function I(t,e){let r=t.map(t=>({...t}));if(t.length>=2&&n.hq[e.arrowTypeStart]){let a=n.hq[e.arrowTypeStart],i=t[0],{angle:o}=K(i,t[1]),s=a*Math.cos(o),l=a*Math.sin(o);r[0].x=i.x+s,r[0].y=i.y+l}let a=t.length;if(a>=2&&n.hq[e.arrowTypeEnd]){let i=n.hq[e.arrowTypeEnd],o=t[a-1],{angle:s}=K(t[a-2],o),l=i*Math.cos(s),c=i*Math.sin(s);r[a-1].x=o.x-l,r[a-1].y=o.y-c}return r}(0,u.K2)(R,"generateRoundedPath"),(0,u.K2)(K,"calculateDeltaAndAngle"),(0,u.K2)(I,"applyMarkerOffsetsToPoints");var P=(0,u.K2)((t,e,r,n)=>{e.forEach(e=>{tn[e](t,r,n)})},"insertMarkers"),N=(0,u.K2)((t,e,r)=>{u.Rm.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),t.append("marker").attr("id",r+"_"+e+"-extensionStart-margin").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd-margin").attr("class","marker extension "+e).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("pol
4ygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),D=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart-margin").attr("class","marker composition "+e).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd-margin").attr("class","marker composition "+e).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),j=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart-margin").attr("class","marker aggregation "+e).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd-margin").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),z=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart-margin").attr("class","marker dependency "+e).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd-margin").attr("class","marker dependency "+e).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),F=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart-margin").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd-margin").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),B=(0,u.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointEnd-margin").attr("class","marker "+e).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart-margin").attr("class","marker "+e).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("pol
4ygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),U=(0,u.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleEnd-margin").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart-margin").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),W=(0,u.K2)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossEnd-margin").attr("class","marker cross "+e).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),t.append("marker").attr("id",r+"_"+e+"-crossStart-margin").attr("class","marker cross "+e).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),H=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),Y=(0,u.K2)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{transitionColor:a}=n;t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${a}`)},"barbNeo"),q=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),G=(0,u.K2)((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("d","M9,0 L9,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),a.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),X=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),Z=(0,u.K2)((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");n.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let a=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");a.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),a.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),V=(0,u.K2)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a}=n;t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneStart").attr("class","marker onlyOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${a}`),t.append("defs").append("marker").attr("id",r+"_"+e+"-onlyOneEnd").attr("class","marker onlyOne "+e).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${a}`)},"only_one_neo"),Q=(0,u.K2)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a,mainBkg:i}=n,o=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneStart").attr("class","marker zeroOrOne "+e).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");o.append("circle").attr("fill",i??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${a}`).attr("r",6),o.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${a}`);let s=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+e).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");s.append("circle").attr("fill",i??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${a}`).attr("r",6),s.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${a}`)},"zero_or_one_neo"),J=(0,u.K2)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a}=n;t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreStart").attr("class","marker oneOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${a}`),t.append("defs").append("marker").attr("id",r+"_"+e+"-oneOrMoreEnd").attr("class","marker oneOrMore "+e).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${a}`)},"one_or_more_neo"),tt=(0,u.K2)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a,mainBkg:i}=n,o=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+e).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");o.append("circle").attr("fill",i??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${a}`),o.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${a}`);let s=t.append("defs").append("marker").attr("id",r+"_"+e+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+e).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");
4s.append("circle").attr("fill",i??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${a}`),s.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${a}`)},"zero_or_more_neo"),te=(0,u.K2)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0 5 L20,10 6 M20,10 7 L0,20`)},"requirement_arrow"),tr=(0,u.K2)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a}=n;t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${a}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0 8 L20,10 9 M20,10 10 L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),tn={extension:N,composition:D,aggregation:j,dependency:z,lollipop:F,point:B,circle:U,cross:W,barb:H,barbNeo:Y,only_one:q,zero_or_one:G,one_or_more:X,zero_or_more:Z,only_one_neo:V,zero_or_one_neo:Q,one_or_more_neo:J,zero_or_more_neo:tt,requirement_arrow:te,requirement_contains:(0,u.K2)((t,e,r)=>{let n=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");n.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),n.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),n.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),requirement_arrow_neo:tr,requirement_contains_neo:(0,u.K2)((t,e,r)=>{let{themeVariables:n}=(0,c.zj)(),{strokeWidth:a}=n,i=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");i.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),i.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),i.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),i.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo")},ta=P},74488:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(653971),a=r(320537),i=r(390765),o=a.A?function(t,e){return(0,a.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,n.A)(e),writable:!0})}:i.A,s=Date.now;let l=function(t){var e=0,r=0;return function(){var n=s(),a=16-(n-r);if(r=n,a>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(o)},86234:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",n="hour",a="week",i="month",o="quarter",s="year",l="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},d="en",f={};f[d]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],r=t%100;return"["+t+(e[(r-20)%10]||e[r]||e[0])+"]"}};var g="$isDayjsObject",m=function(t){return t instanceof x||!(!t||!t[g])},y=function t(e,r,n){var a;if(!e)return d;if("string"==typeof e){var i=e.toLowerCase();f[i]&&(a=i),r&&(f[i]=r,a=i);var o=e.split("-");if(!a&&o.length>1)return t(o[0])}else{var s=e.name;f[s]=e,a=s}return!n&&a&&(d=a),a||!n&&d},b=function(t,e){if(m(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new x(r)},k={s:p,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+p(Math.floor(r/60),2,"0")+":"+p(r%60,2,"0")},m:function t(e,r){if(e.date()<r.date())return-t(r,e);var n=12*(r.year()-e.year())+(r.month()-e.month()),a=e.clone().add(n,i),o=r-a<0,s=e.clone().add(n+(o?-1:1),i);
vendor: 4,536 bytes, line 10
10return+(-(n+(r-a)/(o?a-s:s-a))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return({M:i,y:s,w:a,d:"day",D:l,h:n,m:r,s:e,ms:t,Q:o})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};k.l=y,k.i=m,k.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var x=function(){function p(t){this.$L=y(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var d=p.prototype;return d.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(k.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var n=e.match(u);if(n){var a=n[2]-1||0,i=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)):new Date(n[1],a,n[3]||1,n[4]||0,n[5]||0,n[6]||0,i)}}return new Date(e)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return k},d.isValid=function(){return this.$d.toString()!==c},d.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},d.isAfter=function(t,e){return b(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<b(t)},d.$g=function(t,e,r){return k.u(t)?this[e]:this.set(r,t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,o){var c=this,u=!!k.u(o)||o,h=k.p(t),p=function(t,e){var r=k.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return u?r:r.endOf("day")},d=function(t,e){return k.w(c.toDate()[t].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},f=this.$W,g=this.$M,m=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case s:return u?p(1,0):p(31,11);case i:return u?p(1,g):p(0,g+1);case a:var b=this.$locale().weekStart||0,x=(f<b?f+7:f)-b;return p(u?m-x:m+(6-x),g);case"day":case l:return d(y+"Hours",0);case n:return d(y+"Minutes",1);case r:return d(y+"Seconds",2);case e:return d(y+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(a,o){var c,u=k.p(a),h="set"+(this.$u?"UTC":""),p=((c={}).day=h+"Date",c[l]=h+"Date",c[i]=h+"Month",c[s]=h+"FullYear",c[n]=h+"Hours",c[r]=h+"Minutes",c[e]=h+"Seconds",c[t]=h+"Milliseconds",c)[u],d="day"===u?this.$D+(o-this.$W):o;if(u===i||u===s){var f=this.clone().set(l,1);f.$d[p](d),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else p&&this.$d[p](d);return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[k.p(t)]()},d.add=function(t,o){var l,c=this;t=Number(t);var u=k.p(o),h=function(e){var r=b(c);return k.w(r.date(r.date()+Math.round(e*t)),c)};if(u===i)return this.set(i,this.$M+t);if(u===s)return this.set(s,this.$y+t);if("day"===u)return h(1);if(u===a)return h(7);var p=((l={})[r]=6e4,l[n]=36e5,l[e]=1e3,l)[u]||1,d=this.$d.getTime()+t*p;return k.w(d,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=t||"YYYY-MM-DDTHH:mm:ssZ",a=k.z(this),i=this.$H,o=this.$m,s=this.$M,l=r.weekdays,u=r.months,p=r.meridiem,d=function(t,r,a,i){return t&&(t[r]||t(e,n))||a[r].slice(0,i)},f=function(t){return k.s(i%12||12,t,"0")},g=p||function(t,e,r){var n=t<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(h,function(t,n){return n||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return k.s(e.$y,4,"0");case"M":return s+1;case"MM":return k.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,u,3);case"MMMM":return d(u,s);case"D":return e.$D;case"DD":return k.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return d(r.weekdaysMin,e.$W,l,2);case"ddd":return d(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(i);case"HH":return k.s(i,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return g(i,o,!0);case"A":return g(i,o,!1);case"m":return String(o);case"mm":return k.s(o,2,"0");case"s":return String(e.$s);case"ss":return k.s(e.$s,2,"0");case"SSS":return k.s(e.$ms,3,"0");case"Z":return a}return null}(t)||a.replace(":","")})},d.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},d.diff=function(t,l,c){var u,h=this,p=k.p(l),d=b(t),f=(d.utcOffset()-this.utcOffset())*6e4,g=this-d,m=function(){return k.m(h,d)};switch(p){case s:u=m()/12;break;
10case i:u=m();break;case o:u=m()/3;break;case a:u=(g-f)/6048e5;break;case"day":u=(g-f)/864e5;break;case n:u=g/36e5;break;case r:u=g/6e4;break;case e:u=g/1e3;break;default:u=g}return c?u:k.a(u)},d.daysInMonth=function(){return this.endOf(i).$D},d.$locale=function(){return f[this.$L]},d.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=y(t,e,!0);return n&&(r.$L=n),r},d.clone=function(){return k.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},p}(),_=x.prototype;return b.prototype=_,[["$ms",t],["$s",e],["$m",r],["$H",n],["$W","day"],["$M",i],["$y",s],["$D",l]].forEach(function(t){_[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),b.extend=function(t,e){return t.$i||(t(e,x,b),t.$i=!0),b},b.locale=y,b.isDayjs=m,b.unix=function(t){return b(1e3*t)},b.en=f[d],b.Ls=f,b.p={},b}()},87427:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(743468),a=r(778104),i=(0,n.A)(a.A,"DataView"),o=r(454714),s=(0,n.A)(a.A,"Promise"),l=r(646972),c=(0,n.A)(a.A,"WeakMap"),u=r(186728),h=r(435996),p="[object Map]",d="[object Promise]",f="[object Set]",g="[object WeakMap]",m="[object DataView]",y=(0,h.A)(i),b=(0,h.A)(o.A),k=(0,h.A)(s),x=(0,h.A)(l.A),_=(0,h.A)(c),w=u.A;(i&&w(new i(new ArrayBuffer(1)))!=m||o.A&&w(new o.A)!=p||s&&w(s.resolve())!=d||l.A&&w(new l.A)!=f||c&&w(new c)!=g)&&(w=function(t){var e=(0,u.A)(t),r="[object Object]"==e?t.constructor:void 0,n=r?(0,h.A)(r):"";if(n)switch(n){case y:return m;case b:return p;case k:return d;case x:return f;case _:return g}return e});let v=w},95616:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(e){return t(e)}}},98353:(t,e,r)=>{"use strict";r.d(e,{JLW:()=>eE,l78:()=>p,tlR:()=>h,qrM:()=>eD.Ay,Yu4:()=>eP.A,IA3:()=>eN.A,Wi0:()=>ej.dJ,PGM:()=>ej.kl,OEq:()=>eF,y8u:()=>eH,olC:()=>eq,IrU:()=>eX,oDi:()=>eQ,Q7f:()=>e0,cVp:()=>e2,lUB:()=>e5.A,Lx9:()=>e3.A,nVG:()=>e6.G,uxU:()=>e6.N,Xf2:()=>e9.A,GZz:()=>e8.Ay,UPb:()=>e8.Ps,dyv:()=>e8.Ko,GPZ:()=>tZ.GP,Sk5:()=>tQ,bEH:()=>ey,n8j:()=>eC.A,T9B:()=>a.A,jkA:()=>i.A,rLf:()=>eI,WH:()=>eb.WH,m4Y:()=>eb.m4,UMr:()=>eb.UM,w7C:()=>eb.w7,zt:()=>ek,Ltv:()=>ex,UAC:()=>rr.UA,DCK:()=>ri.DC,TUC:()=>rn.TU,Agd:()=>re.Ag,t6C:()=>e4.y,wXd:()=>rt.wX,ABi:()=>rn.AB,Ui6:()=>ra.Ui,rGn:()=>rn.rG,ucG:()=>e7.R,YPH:()=>rn.YP,Mol:()=>rn.Mo,PGu:()=>rn.PG,GuW:()=>rn.Gu,hkb:()=>t4});var n,a=r(966108),i=r(268702);function o(t){return t}function s(t){return"translate("+t+",0)"}function l(t){return"translate(0,"+t+")"}function c(){return!this.__axis}function u(t,e){var r=[],n=null,a=null,i=6,u=6,h=3,p="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,d=1===t||4===t?-1:1,f=4===t||2===t?"x":"y",g=1===t||3===t?s:l;function m(s){var l=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,m=null==a?e.tickFormat?e.tickFormat.apply(e,r):o:a,y=Math.max(i,0)+h,b=e.range(),k=+b[0]+p,x=+b[b.length-1]+p,_=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),p),w=s.selection?s.selection():s,v=w.selectAll(".domain").data([null]),A=w.selectAll(".tick").data(l,e).order(),S=A.exit(),M=A.enter().append("g").attr("class","tick"),T=A.select("line"),L=A.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(M),T=T.merge(M.append("line").attr("stroke","currentColor").attr(f+"2",d*i)),L=L.merge(M.append("text").attr("fill","currentColor").attr(f,d*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),s!==w&&(v=v.transition(s),A=A.transition(s),T=T.transition(s),L=L.transition(s),S=S.transition(s).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=_(t))?g(t+p):this.getAttribute("transform")}),M.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:_(t))+p)})),S.remove(),v.attr("d",4===t||2===t?u?"M"+d*u+","+k+"H"+p+"V"+x+"H"+d*u:"M"+p+","+k+"V"+x:u?"M"+k+","+d*u+"V"+p+"H"+x+"V"+d*u:"M"+k+","+p+"H"+x),A.attr("opacity",1).attr("transform",function(t){return g(_(t)+p)}),T.attr(f+"2",d*i),L.attr(f,d*y).text(m),w.filter(c).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=_})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return r=Array.from(arguments),m}
10,m.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),m):r.slice()},m.tickValues=function(t){return arguments.length?(n=null==t?null:Array.from(t),m):n&&n.slice()},m.tickFormat=function(t){return arguments.length?(a=t,m):a},m.tickSize=function(t){return arguments.length?(i=u=+t,m):i},m.tickSizeInner=function(t){return arguments.length?(i=+t,m):i},m.tickSizeOuter=function(t){return arguments.length?(u=+t,m):u},m.tickPadding=function(t){return arguments.length?(h=+t,m):h},m.offset=function(t){return arguments.length?(p=+t,m):p},m}function h(t){return u(1,t)}function p(t){return u(3,t)}function d(){}function f(t){return null==t?d:function(){return this.querySelector(t)}}function g(){return[]}function m(t){return null==t?g:function(){return this.querySelectorAll(t)}}function y(t){return function(){return this.matches(t)}}function b(t){return function(e){return e.matches(t)}}var k=Array.prototype.find;function x(){return this.firstElementChild}var _=Array.prototype.filter;function w(){return Array.from(this.children)}function v(t){return Array(t.length)}function A(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function S(t,e,r,n,a,i){for(var o,s=0,l=e.length,c=i.length;s<c;++s)(o=e[s])?(o.__data__=i[s],n[s]=o):r[s]=new A(t,i[s]);for(;s<l;++s)(o=e[s])&&(a[s]=o)}function M(t,e,r,n,a,i,o){var s,l,c,u=new Map,h=e.length,p=i.length,d=Array(h);for(s=0;s<h;++s)(l=e[s])&&(d[s]=c=o.call(l,l.__data__,s,e)+"",u.has(c)?a[s]=l:u.set(c,l));for(s=0;s<p;++s)c=o.call(t,i[s],s,i)+"",(l=u.get(c))?(n[s]=l,l.__data__=i[s],u.delete(c)):r[s]=new A(t,i[s]);for(s=0;s<h;++s)(l=e[s])&&u.get(d[s])===l&&(a[s]=l)}function T(t){return t.__data__}function L(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}A.prototype={constructor:A,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var O="http://www.w3.org/1999/xhtml";let E={svg:"http://www.w3.org/2000/svg",xhtml:O,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function C(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),E.hasOwnProperty(e)?{space:E[e],local:t}:t}function $(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function R(t,e){return t.style.getPropertyValue(e)||$(t).getComputedStyle(t,null).getPropertyValue(e)}function K(t){return t.trim().split(/^|\s+/)}function I(t){return t.classList||new P(t)}function P(t){this._node=t,this._names=K(t.getAttribute("class")||"")}function N(t,e){for(var r=I(t),n=-1,a=e.length;++n<a;)r.add(e[n])}function D(t,e){for(var r=I(t),n=-1,a=e.length;++n<a;)r.remove(e[n])}function j(){this.textContent=""}function z(){this.innerHTML=""}function F(){this.nextSibling&&this.parentNode.appendChild(this)}function B(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function U(t){var e=C(t);return(e.local?function(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}:function(t){return function(){var e=this.ownerDocument,r=this.namespaceURI;return r===O&&e.documentElement.namespaceURI===O?e.createElement(t):e.createElementNS(r,t)}})(e)}function W(){return null}function H(){var t=this.parentNode;t&&t.removeChild(this)}function Y(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function q(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function G(t){return function(){var e=this.__on;if(e){for(var r,n=0,a=-1,i=e.length;n<i;++n)(r=e[n],t.type&&r.type!==t.type||r.name!==t.name)?e[++a]=r:this.removeEventListener(r.type,r.listener,r.options);++a?e.length=a:delete this.__on}}}function X(t,e,r){return function(){var n,a=this.__on,i=function(t){e.call(this,t,this.__data__)};if(a){for(var o=0,s=a.length;o<s;++o)if((n=a[o]).type===t.type&&n.name===t.name){this.removeEventListener(n.type,n.listener,n.options),this.addEventListener(n.type,n.listener=i,n.options=r),n.value=e;return}}this.addEventListener(t.type,i,r),n={type:t.type,name:t.name,value:e,listener:i,options:r},a?a.push(n):this.__on=[n]}}function Z(t,e,r){var n=$(t),a=n.CustomEvent;"function"==typeof a?a=new a(e,r):(a=n.document.createEvent("Event"),r?(a.initEvent(e,r.bubbles,r.cancelable),a.detail=r.detail):a.initEvent(e,!1,!1)),t.dis
10patchEvent(a)}P.prototype={add:function(t){0>this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var V=[null];function Q(t,e){this._groups=t,this._parents=e}function J(){return new Q([[document.documentElement]],V)}Q.prototype=J.prototype={constructor:Q,select:function(t){"function"!=typeof t&&(t=f(t));for(var e=this._groups,r=e.length,n=Array(r),a=0;a<r;++a)for(var i,o,s=e[a],l=s.length,c=n[a]=Array(l),u=0;u<l;++u)(i=s[u])&&(o=t.call(i,i.__data__,u,s))&&("__data__"in i&&(o.__data__=i.__data__),c[u]=o);return new Q(n,this._parents)},selectAll:function(t){if("function"==typeof t){var e;e=t,t=function(){var t;return t=e.apply(this,arguments),null==t?[]:Array.isArray(t)?t:Array.from(t)}}else t=m(t);for(var r=this._groups,n=r.length,a=[],i=[],o=0;o<n;++o)for(var s,l=r[o],c=l.length,u=0;u<c;++u)(s=l[u])&&(a.push(t.call(s,s.__data__,u,l)),i.push(s));return new Q(a,i)},selectChild:function(t){var e;return this.select(null==t?x:(e="function"==typeof t?t:b(t),function(){return k.call(this.children,e)}))},selectChildren:function(t){var e;return this.selectAll(null==t?w:(e="function"==typeof t?t:b(t),function(){return _.call(this.children,e)}))},filter:function(t){"function"!=typeof t&&(t=y(t));for(var e=this._groups,r=e.length,n=Array(r),a=0;a<r;++a)for(var i,o=e[a],s=o.length,l=n[a]=[],c=0;c<s;++c)(i=o[c])&&t.call(i,i.__data__,c,o)&&l.push(i);return new Q(n,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,T);var r=e?M:S,n=this._parents,a=this._groups;"function"!=typeof t&&(b=t,t=function(){return b});for(var i=a.length,o=Array(i),s=Array(i),l=Array(i),c=0;c<i;++c){var u=n[c],h=a[c],p=h.length,d="object"==typeof(y=t.call(u,u&&u.__data__,c,n))&&"length"in y?y:Array.from(y),f=d.length,g=s[c]=Array(f),m=o[c]=Array(f);r(u,h,g,m,l[c]=Array(p),d,e);for(var y,b,k,x,_=0,w=0;_<f;++_)if(k=g[_]){for(_>=w&&(w=_+1);!(x=m[w])&&++w<f;);k._next=x||null}}return(o=new Q(o,n))._enter=s,o._exit=l,o},enter:function(){return new Q(this._enter||this._groups.map(v),this._parents)},exit:function(){return new Q(this._exit||this._groups.map(v),this._parents)},join:function(t,e,r){var n=this.enter(),a=this,i=this.exit();return"function"==typeof t?(n=t(n))&&(n=n.selection()):n=n.append(t+""),null!=e&&(a=e(a))&&(a=a.selection()),null==r?i.remove():r(i),n&&a?n.merge(a).order():a},merge:function(t){for(var e=t.selection?t.selection():t,r=this._groups,n=e._groups,a=r.length,i=n.length,o=Math.min(a,i),s=Array(a),l=0;l<o;++l)for(var c,u=r[l],h=n[l],p=u.length,d=s[l]=Array(p),f=0;f<p;++f)(c=u[f]||h[f])&&(d[f]=c);for(;l<a;++l)s[l]=r[l];return new Q(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,r=t.length;++e<r;)for(var n,a=t[e],i=a.length-1,o=a[i];--i>=0;)(n=a[i])&&(o&&4^n.compareDocumentPosition(o)&&o.parentNode.insertBefore(n,o),o=n);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}t||(t=L);for(var r=this._groups,n=r.length,a=Array(n),i=0;i<n;++i){for(var o,s=r[i],l=s.length,c=a[i]=Array(l),u=0;u<l;++u)(o=s[u])&&(c[u]=o);c.sort(e)}return new Q(a,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n=t[e],a=0,i=n.length;a<i;++a){var o=n[a];if(o)return o}return null},size:function(){let t=0;for(let e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,r=0,n=e.length;r<n;++r)for(var a,i=e[r],o=0,s=i.length;o<s;++o)(a=i[o])&&t.call(a,a.__data__,o,i);return this},attr:function(t,e){var r=C(t);if(arguments.length<2){var n=this.node();return r.local?n.getAttributeNS(r.space,r.local):n.getAttribute(r)}return this.each((null==e?r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}}:"function"==typeof e?r.local?function(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,r)}}:function(t,e){return function(){var r=e.apply(this,arguments);null==r?this.removeAttribute(t):this.setAttribute(t,r)}}:r.local?function(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}:function(t,e){return function(){this.setAttribute(t,e)}})(r,e))},style:function(t,e,r){return arguments.length>1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,r){return function(){var n=e.apply(this,arguments);null==n?this.style.removeProperty(t):this.style.setProperty(t,n,r)}}:function(t,e,r){return function(){this.style.setProperty(t,e,r)}})(t,e,null==r?"":r)):R(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var r=K(t+"");
10if(arguments.length<2){for(var n=I(this.node()),a=-1,i=r.length;++a<i;)if(!n.contains(r[a]))return!1;return!0}return this.each(("function"==typeof e?function(t,e){return function(){(e.apply(this,arguments)?N:D)(this,t)}}:e?function(t){return function(){N(this,t)}}:function(t){return function(){D(this,t)}})(r,e))},text:function(t){return arguments.length?this.each(null==t?j:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}:function(t){return function(){this.textContent=t}})(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?z:("function"==typeof t?function(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}:function(t){return function(){this.innerHTML=t}})(t)):this.node().innerHTML},raise:function(){return this.each(F)},lower:function(){return this.each(B)},append:function(t){var e="function"==typeof t?t:U(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var r="function"==typeof t?t:U(t),n=null==e?W:"function"==typeof e?e:f(e);return this.select(function(){return this.insertBefore(r.apply(this,arguments),n.apply(this,arguments)||null)})},remove:function(){return this.each(H)},clone:function(t){return this.select(t?q:Y)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,r){var n,a,i=(t+"").trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");return r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}),o=i.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,c=0,u=s.length;c<u;++c)for(n=0,l=s[c];n<o;++n)if((a=i[n]).type===l.type&&a.name===l.name)return l.value}return}for(n=0,s=e?X:G;n<o;++n)this.each(s(i[n],e,r));return this},dispatch:function(t,e){return this.each(("function"==typeof e?function(t,e){return function(){return Z(this,t,e.apply(this,arguments))}}:function(t,e){return function(){return Z(this,t,e)}})(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,r=t.length;e<r;++e)for(var n,a=t[e],i=0,o=a.length;i<o;++i)(n=a[i])&&(yield n)}};var tt={value:()=>{}};function te(){for(var t,e=0,r=arguments.length,n={};e<r;++e){if(!(t=arguments[e]+"")||t in n||/[\s.]/.test(t))throw Error("illegal type: "+t);n[t]=[]}return new tr(n)}function tr(t){this._=t}function tn(t,e,r){for(var n=0,a=t.length;n<a;++n)if(t[n].name===e){t[n]=tt,t=t.slice(0,n).concat(t.slice(n+1));break}return null!=r&&t.push({name:e,value:r}),t}tr.prototype=te.prototype={constructor:tr,on:function(t,e){var r,n=this._,a=(t+"").trim().split(/^|\s+/).map(function(t){var e="",r=t.indexOf(".");if(r>=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),i=-1,o=a.length;if(arguments.length<2){for(;++i<o;)if((r=(t=a[i]).type)&&(r=function(t,e){for(var r,n=0,a=t.length;n<a;++n)if((r=t[n]).name===e)return r.value}(n[r],t.name)))return r;return}if(null!=e&&"function"!=typeof e)throw Error("invalid callback: "+e);for(;++i<o;)if(r=(t=a[i]).type)n[r]=tn(n[r],t.name,e);else if(null==e)for(r in n)n[r]=tn(n[r],t.name,null);return this},copy:function(){var t={},e=this._;for(var r in e)t[r]=e[r].slice();return new tr(t)},call:function(t,e){if((r=arguments.length-2)>0)for(var r,n,a=Array(r),i=0;i<r;++i)a[i]=arguments[i+2];if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(n=this._[t],i=0,r=n.length;i<r;++i)n[i].value.apply(e,a)},apply:function(t,e,r){if(!this._.hasOwnProperty(t))throw Error("unknown type: "+t);for(var n=this._[t],a=0,i=n.length;a<i;++a)n[a].value.apply(e,r)}};var ta,ti,to=0,ts=0,tl=0,tc=0,tu=0,th=0,tp="object"==typeof performance&&performance.now?performance:Date,td="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function tf(){return tu||(td(tg),tu=tp.now()+th)}function tg(){tu=0}function tm(){this._call=this._time=this._next=null}function ty(t,e,r){var n=new tm;return n.restart(t,e,r),n}function tb(){tu=(tc=tp.now())+th,to=ts=0;try{tf(),++to;for(var t,e=ta;e;)(t=tu-e._time)>=0&&e._call.call(void 0,t),e=e._next;--to}finally{to=0,function(){for(var t,e,r=ta,n=1/0;r;)r._call?(n>r._time&&(n=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:ta=e);ti=t,tx(n)}(),tu=0}}function tk(){var t=tp.now(),e=t-tc;e>1e3&&(th-=e,tc=t)}function tx(t){!to&&(ts&&(ts=clearTimeout(ts)),t-tu>24?(t<1/0&&(ts=setTimeout(tb,t-tp.now()-th)),tl&&(tl=clearInterval(tl))):(tl||(tc=tp.now(),tl=setInterval(tk,1e3)),to=1,td(tb)))}function t_(t,e,r){var n=new tm;return e=null==e?0:+e,n.restart(r=>{n.stop(),t(r+e)},e,r),n}tm.prototype=ty.prototype={constructor:tm,restart:function(t,e,r){if("function"!=typeof t)throw TypeError("callback is not a function");r=(null==r?tf():+r)+(null==e?0:+e),this._next||ti===this||(ti?ti._next=this:ta=this,ti=this),this._call=t,this._time=r,tx()},stop:function(){this._call&&(this._call=null,this._time=1/0,tx())}};var tw=te("start","end","cancel","interrupt"),tv=[];function tA(t,e,r,n,a,i){var o=t.__transition;if(o){if(r in o)return}else t.__transition={};!function(t,e,r){var n,a=t.__transition;function i(l){var c,u,h,p;
10if(1!==r.state)return s();for(c in a)if((p=a[c]).name===r.name){if(3===p.state)return t_(i);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",t,t.__data__,p.index,p.group),delete a[c]):+c<e&&(p.state=6,p.timer.stop(),p.on.call("cancel",t,t.__data__,p.index,p.group),delete a[c])}if(t_(function(){3===r.state&&(r.state=4,r.timer.restart(o,r.delay,r.time),o(l))}),r.state=2,r.on.call("start",t,t.__data__,r.index,r.group),2===r.state){for(c=0,r.state=3,n=Array(h=r.tween.length),u=-1;c<h;++c)(p=r.tween[c].value.call(t,t.__data__,r.index,r.group))&&(n[++u]=p);n.length=u+1}}function o(e){for(var a=e<r.duration?r.ease.call(null,e/r.duration):(r.timer.restart(s),r.state=5,1),i=-1,o=n.length;++i<o;)n[i].call(t,a);5===r.state&&(r.on.call("end",t,t.__data__,r.index,r.group),s())}function s(){for(var n in r.state=6,r.timer.stop(),delete a[e],a)return;delete t.__transition}a[e]=r,r.timer=ty(function(t){r.state=1,r.timer.restart(i,r.delay,r.time),r.delay<=t&&i(t-r.delay)},0,r.time)}(t,r,{name:e,index:n,group:a,on:tw,tween:tv,time:i.time,delay:i.delay,duration:i.duration,ease:i.ease,timer:null,state:0})}function tS(t,e){var r=tT(t,e);if(r.state>0)throw Error("too late; already scheduled");return r}function tM(t,e){var r=tT(t,e);if(r.state>3)throw Error("too late; already running");return r}function tT(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw Error("transition not found");return r}var tL=r(242236),tO=180/Math.PI,tE={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tC(t,e,r,n,a,i){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*r+e*n)&&(r-=t*l,n-=e*l),(s=Math.sqrt(r*r+n*n))&&(r/=s,n/=s,l/=s),t*n<e*r&&(t=-t,e=-e,l=-l,o=-o),{translateX:a,translateY:i,rotate:Math.atan2(e,t)*tO,skewX:Math.atan(l)*tO,scaleX:o,scaleY:s}}function t$(t,e,r,n){function a(t){return t.length?t.pop()+" ":""}return function(i,o){var s,l,c,u,h=[],p=[];return i=t(i),o=t(o),!function(t,n,a,i,o,s){if(t!==a||n!==i){var l=o.push("translate(",null,e,null,r);s.push({i:l-4,x:(0,tL.A)(t,a)},{i:l-2,x:(0,tL.A)(n,i)})}else(a||i)&&o.push("translate("+a+e+i+r)}(i.translateX,i.translateY,o.translateX,o.translateY,h,p),s=i.rotate,l=o.rotate,s!==l?(s-l>180?l+=360:l-s>180&&(s+=360),p.push({i:h.push(a(h)+"rotate(",null,n)-2,x:(0,tL.A)(s,l)})):l&&h.push(a(h)+"rotate("+l+n),c=i.skewX,u=o.skewX,c!==u?p.push({i:h.push(a(h)+"skewX(",null,n)-2,x:(0,tL.A)(c,u)}):u&&h.push(a(h)+"skewX("+u+n),!function(t,e,r,n,i,o){if(t!==r||e!==n){var s=i.push(a(i)+"scale(",null,",",null,")");o.push({i:s-4,x:(0,tL.A)(t,r)},{i:s-2,x:(0,tL.A)(e,n)})}else(1!==r||1!==n)&&i.push(a(i)+"scale("+r+","+n+")")}(i.scaleX,i.scaleY,o.scaleX,o.scaleY,h,p),i=o=null,function(t){for(var e,r=-1,n=p.length;++r<n;)h[(e=p[r]).i]=e.x(t);return h.join("")}}}var tR=t$(function(t){let e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?tE:tC(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),tK=t$(function(t){return null==t?tE:(n||(n=document.createElementNS("http://www.w3.org/2000/svg","g")),n.setAttribute("transform",t),t=n.transform.baseVal.consolidate())?tC((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):tE},", ",")",")");function tI(t,e,r){var n=t._id;return t.each(function(){var t=tM(this,n);(t.value||(t.value={}))[e]=r.apply(this,arguments)}),function(t){return tT(t,n).value[e]}}var tP=r(285004),tN=r(929031),tD=r(892040);function tj(t,e){var r;return("number"==typeof e?tL.A:e instanceof tP.Ay?tN.Ay:(r=(0,tP.Ay)(e))?(e=r,tN.Ay):tD.A)(t,e)}var tz=J.prototype.constructor;function tF(t){return function(){this.style.removeProperty(t)}}var tB=0;function tU(t,e,r,n){this._groups=t,this._parents=e,this._name=r,this._id=n}var tW=J.prototype;tU.prototype=(function(t){return J().transition(t)}).prototype={constructor:tU,select:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=f(t));for(var n=this._groups,a=n.length,i=Array(a),o=0;o<a;++o)for(var s,l,c=n[o],u=c.length,h=i[o]=Array(u),p=0;p<u;++p)(s=c[p])&&(l=t.call(s,s.__data__,p,c))&&("__data__"in s&&(l.__data__=s.__data__),h[p]=l,tA(h[p],e,r,p,h,tT(s,r)));return new tU(i,this._parents,e,r)},selectAll:function(t){var e=this._name,r=this._id;"function"!=typeof t&&(t=m(t));for(var n=this._groups,a=n.length,i=[],o=[],s=0;s<a;++s)for(var l,c=n[s],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var p,d=t.call(l,l.__data__,h,c),f=tT(l,r),g=0,y=d.length;g<y;++g)(p=d[g])&&tA(p,e,r,g,d,f);i.push(d),o.push(l)}return new tU(i,o,e,r)},selectChild:tW.selectChild,selectChildren:tW.selectChildren,filter:function(t){"function"!=typeof t&&(t=y(t));for(var e=this._groups,r=e.length,n=Array(r),a=0;a<r;++a)for(var i,o=e[a],s=o.length,l=n[a]=[],c=0;c<s;++c)(i=o[c])&&t.call(i,i.__data__,c,o)&&l.push(i);return new tU(n,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw Error();for(var e=this._groups,r=t._groups,n=e.length,a=r.length,i=Math.min(n,a),o=Array(n),s=0;s<i;++s)for(var l,c=e[s],u=r[s],h=c.length,p=o[s]=Array(h),d=0;d<h;++d)(l=c[d]||u[d])&&(p[d]=l);for(;s<n;++s)o[s]=e[s];return new tU(o,this._parents,this._name,this._id)},selection:function(){return new tz(this._groups,this._parents)}
10,transition:function(){for(var t=this._name,e=this._id,r=++tB,n=this._groups,a=n.length,i=0;i<a;++i)for(var o,s=n[i],l=s.length,c=0;c<l;++c)if(o=s[c]){var u=tT(o,e);tA(o,t,r,c,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new tU(n,this._parents,t,r)},call:tW.call,nodes:tW.nodes,node:tW.node,size:tW.size,empty:tW.empty,each:tW.each,on:function(t,e){var r,n,a,i,o,s,l=this._id;return arguments.length<2?tT(this.node(),l).on.on(t):this.each((r=l,n=t,a=e,s=(n+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})?tS:tM,function(){var t=s(this,r),e=t.on;e!==i&&(o=(i=e).copy()).on(n,a),t.on=o}))},attr:function(t,e){var r=C(t),n="transform"===r?tK:tj;return this.attrTween(t,"function"==typeof e?(r.local?function(t,e,r){var n,a,i;return function(){var o,s,l=r(this);return null==l?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local))===(s=l+"")?null:o===n&&s===a?i:(a=s,i=e(n=o,l))}}:function(t,e,r){var n,a,i;return function(){var o,s,l=r(this);return null==l?void this.removeAttribute(t):(o=this.getAttribute(t))===(s=l+"")?null:o===n&&s===a?i:(a=s,i=e(n=o,l))}})(r,n,tI(this,"attr."+t,e)):null==e?(r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(r):(r.local?function(t,e,r){var n,a,i=r+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===i?null:o===n?a:a=e(n=o,r)}}:function(t,e,r){var n,a,i=r+"";return function(){var o=this.getAttribute(t);return o===i?null:o===n?a:a=e(n=o,r)}})(r,n,e))},attrTween:function(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();var n=C(t);return this.tween(r,(n.local?function(t,e){var r,n;function a(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&function(e){this.setAttributeNS(t.space,t.local,a.call(this,e))}),r}return a._value=e,a}:function(t,e){var r,n;function a(){var a=e.apply(this,arguments);return a!==n&&(r=(n=a)&&function(e){this.setAttribute(t,a.call(this,e))}),r}return a._value=e,a})(n,e))},style:function(t,e,r){var n,a,i,o,s,l,c,u,h,p,d,f,g,m,y,b,k,x,_,w,v,A="transform"==(t+="")?tR:tj;return null==e?this.styleTween(t,(n=t,function(){var t=R(this,n),e=(this.style.removeProperty(n),R(this,n));return t===e?null:t===a&&e===i?o:o=A(a=t,i=e)})).on("end.style."+t,tF(t)):"function"==typeof e?this.styleTween(t,(s=t,l=tI(this,"style."+t,e),function(){var t=R(this,s),e=l(this),r=e+"";return null==e&&(this.style.removeProperty(s),r=e=R(this,s)),t===r?null:t===c&&r===u?h:(u=r,h=A(c=t,e))})).each((p=this._id,k="end."+(b="style."+(d=t)),function(){var t=tM(this,p),e=t.on,r=null==t.value[b]?y||(y=tF(d)):void 0;(e!==f||m!==r)&&(g=(f=e).copy()).on(k,m=r),t.on=g})):this.styleTween(t,(x=t,v=e+"",function(){var t=R(this,x);return t===v?null:t===_?w:w=A(_=t,e)}),r).on("end.style."+t,null)},styleTween:function(t,e,r){var n="style."+(t+="");if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw Error();return this.tween(n,function(t,e,r){var n,a;function i(){var i=e.apply(this,arguments);return i!==a&&(n=(a=i)&&function(e){this.style.setProperty(t,i.call(this,e),r)}),n}return i._value=e,i}(t,e,null==r?"":r))},text:function(t){var e,r;return this.tween("text","function"==typeof t?(e=tI(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(r=null==t?"":t+"",function(){this.textContent=r}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,r;function n(){var n=t.apply(this,arguments);return n!==r&&(e=(r=n)&&function(t){this.textContent=n.call(this,t)}),e}return n._value=t,n}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var n,a=tT(this.node(),r).tween,i=0,o=a.length;i<o;++i)if((n=a[i]).name===t)return n.value;return null}return this.each((null==e?function(t,e){var r,n;return function(){var a=tM(this,t),i=a.tween;if(i!==r){n=r=i;for(var o=0,s=n.length;o<s;++o)if(n[o].name===e){(n=n.slice()).splice(o,1);break}}a.tween=n}}:function(t,e,r){var n,a;if("function"!=typeof r)throw Error();return function(){var i=tM(this,t),o=i.tween;if(o!==n){a=(n=o).slice();for(var s={name:e,value:r},l=0,c=a.length;l<c;++l)if(a[l].name===e){a[l]=s;break}l===c&&a.push(s)}i.tween=a}})(r,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tS(this,t).delay=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tS(this,t).delay=e}})(e,t)):tT(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?function(t,e){return function(){tM(this,t).duration=+e.apply(this,arguments)}}:function(t,e){return e*=1,function(){tM(this,t).duration=e}})(e,t)):tT(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw Error();return function(){tM(this,t).ease=e}}(e,t)):tT(this.node(),e).ease},easeVarying:function(t){var e;if("function"!=typeof t)throw Error();return this.each((e=this._id,function(){var r=t.apply(this,arguments);if("function"!=typeof r)throw Error();tM(this,e).ease=r}))},end:function(){var t,e,r=this,n=r._id,a=r.size();return new Promise(function(i,o){var s={value:o},l={value:function(){0==--a&&i()}};r.each(function(){var r=tM(this,n),a=r.on;a!==t&&((e=(t=a).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(l)),r.on=e}),0===a&&i()})},[Symbol.iterator]:tW[Symbol.iterator]};var tH={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};J.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var r,n,a,i=t.__transition,o=!0;if(i){for(a in e=null==e?null:e+"",i){if((r=i[a]).name!==e){o=!1;continue}
10n=r.state>2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(n?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete i[a]}o&&delete t.__transition}}(this,t)})},J.prototype.transition=function(t){var e,r;t instanceof tU?(e=t._id,t=t._name):(e=++tB,(r=tH).time=tf(),t=null==t?null:t+"");for(var n=this._groups,a=n.length,i=0;i<a;++i)for(var o,s=n[i],l=s.length,c=0;c<l;++c)(o=s[c])&&tA(o,t,e,c,s,r||function(t,e){for(var r;!(r=t.__transition)||!(r=r[e]);)if(!(t=t.parentNode))throw Error(`transition ${e} not found`);return r}(o,e));return new tU(n,this._parents,t,e)};let{abs:tY,max:tq,min:tG}=Math;function tX(t){return{type:t}}["w","e"].map(tX),["n","s"].map(tX),["n","w","e","s","nw","ne","sw","se"].map(tX);var tZ=r(72900);function tV(t){var e=0,r=t.children,n=r&&r.length;if(n)for(;--n>=0;)e+=r[n].value;else e=1;t.value=e}function tQ(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=t0)):void 0===e&&(e=tJ);for(var r,n,a,i,o,s=new t3(t),l=[s];r=l.pop();)if((a=e(r.data))&&(o=(a=Array.from(a)).length))for(r.children=a,i=o-1;i>=0;--i)l.push(n=a[i]=new t3(a[i])),n.parent=r,n.depth=r.depth+1;return s.eachBefore(t2)}function tJ(t){return t.children}function t0(t){return Array.isArray(t)?t[1]:null}function t1(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function t2(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function t3(t){this.data=t,this.depth=this.height=0,this.parent=null}function t5(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)}t3.prototype=tQ.prototype={constructor:t3,count:function(){return this.eachAfter(tV)},each:function(t,e){let r=-1;for(let n of this)t.call(e,n,++r,this);return this},eachAfter:function(t,e){for(var r,n,a,i=this,o=[i],s=[],l=-1;i=o.pop();)if(s.push(i),r=i.children)for(n=0,a=r.length;n<a;++n)o.push(r[n]);for(;i=s.pop();)t.call(e,i,++l,this);return this},eachBefore:function(t,e){for(var r,n,a=this,i=[a],o=-1;a=i.pop();)if(t.call(e,a,++o,this),r=a.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(t,e){let r=-1;for(let n of this)if(t.call(e,n,++r,this))return n},sum:function(t){return this.eachAfter(function(e){for(var r=+t(e.data)||0,n=e.children,a=n&&n.length;--a>=0;)r+=n[a].value;e.value=r})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,r=function(t,e){if(t===e)return t;var r=t.ancestors(),n=e.ancestors(),a=null;for(t=r.pop(),e=n.pop();t===e;)a=t,t=r.pop(),e=n.pop();return a}(e,t),n=[e];e!==r;)n.push(e=e.parent);for(var a=n.length;t!==r;)n.splice(a,0,t),t=t.parent;return n},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(r){r!==t&&e.push({source:r.parent,target:r})}),e},copy:function(){return tQ(this).eachBefore(t1)},[Symbol.iterator]:function*(){var t,e,r,n,a=this,i=[a];do for(t=i.reverse(),i=[];a=t.pop();)if(yield a,e=a.children)for(r=0,n=e.length;r<n;++r)i.push(e[r]);while(i.length)}};let t6=function t(e){function r(t,r,n,a,i){!function(t,e,r,n,a,i){for(var o,s,l,c,u,h,p,d,f,g,m,y=[],b=e.children,k=0,x=0,_=b.length,w=e.value;k<_;){l=a-r,c=i-n;do u=b[x++].value;while(!u&&x<_);for(h=p=u,f=Math.max(p/(m=u*u*(g=Math.max(c/l,l/c)/(w*t))),m/h);x<_;++x){if(u+=s=b[x].value,s<h&&(h=s),s>p&&(p=s),(d=Math.max(p/(m=u*u*g),m/h))>f){u-=s;break}f=d}y.push(o={value:u,dice:l<c,children:b.slice(k,x)}),o.dice?function(t,e,r,n,a){for(var i,o=t.children,s=-1,l=o.length,c=t.value&&(n-e)/t.value;++s<l;)(i=o[s]).y0=r,i.y1=a,i.x0=e,i.x1=e+=i.value*c}(o,r,n,a,w?n+=c*u/w:i):function(t,e,r,n,a){for(var i,o=t.children,s=-1,l=o.length,c=t.value&&(a-r)/t.value;++s<l;)(i=o[s]).x0=e,i.x1=n,i.y0=r,i.y1=r+=i.value*c}(o,r,n,w?r+=l*u/w:a,i),w-=u,k=x}}(e,t,r,n,a,i)}return r.ratio=function(e){return t((e*=1)>1?e:1)},r}((1+Math.sqrt(5))/2);function t9(){return 0}function t8(t){return function(){return t}}function t4(){var t=t6,e=!1,r=1,n=1,a=[0],i=t9,o=t9,s=t9,l=t9,c=t9;function u(t){return t.x0=t.y0=0,t.x1=r,t.y1=n,t.eachBefore(h),a=[0],e&&t.eachBefore(t5),t}function h(e){var r=a[e.depth],n=e.x0+r,u=e.y0+r,h=e.x1-r,p=e.y1-r;
10h<n&&(n=h=(n+h)/2),p<u&&(u=p=(u+p)/2),e.x0=n,e.y0=u,e.x1=h,e.y1=p,e.children&&(r=a[e.depth+1]=i(e)/2,n+=c(e)-r,u+=o(e)-r,h-=s(e)-r,p-=l(e)-r,h<n&&(n=h=(n+h)/2),p<u&&(u=p=(u+p)/2),t(e,n,u,h,p))}return u.round=function(t){return arguments.length?(e=!!t,u):e},u.size=function(t){return arguments.length?(r=+t[0],n=+t[1],u):[r,n]},u.tile=function(e){return arguments.length?(t=function(t){if("function"!=typeof t)throw Error();return t}(e),u):t},u.padding=function(t){return arguments.length?u.paddingInner(t).paddingOuter(t):u.paddingInner()},u.paddingInner=function(t){return arguments.length?(i="function"==typeof t?t:t8(+t),u):i},u.paddingOuter=function(t){return arguments.length?u.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):u.paddingTop()},u.paddingTop=function(t){return arguments.length?(o="function"==typeof t?t:t8(+t),u):o},u.paddingRight=function(t){return arguments.length?(s="function"==typeof t?t:t8(+t),u):s},u.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:t8(+t),u):l},u.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:t8(+t),u):c},u}var t7=r(46942);let et=Math.PI/180,ee=180/Math.PI,er=4/29,en=6/29,ea=6/29*3*(6/29),ei=6/29*(6/29)*(6/29);function eo(t){if(t instanceof es)return new es(t.l,t.a,t.b,t.opacity);if(t instanceof ed)return ef(t);t instanceof tP.Gw||(t=(0,tP.b)(t));var e,r,n=eh(t.r),a=eh(t.g),i=eh(t.b),o=el((.2225045*n+.7168786*a+.0606169*i)/1);return n===a&&a===i?e=r=o:(e=el((.4360747*n+.3850649*a+.1430804*i)/.96422),r=el((.0139322*n+.0971045*a+.7141733*i)/.82521)),new es(116*o-16,500*(e-o),200*(o-r),t.opacity)}function es(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function el(t){return t>ei?Math.pow(t,1/3):t/ea+er}function ec(t){return t>en?t*t*t:ea*(t-er)}
10function eu(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eh(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function ep(t,e,r,n){return 1==arguments.length?function(t){if(t instanceof ed)return new ed(t.h,t.c,t.l,t.opacity);if(t instanceof es||(t=eo(t)),0===t.a&&0===t.b)return new ed(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*ee;return new ed(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new ed(t,e,r,null==n?1:n)}function ed(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function ef(t){if(isNaN(t.h))return new es(t.l,0,0,t.opacity);var e=t.h*et;return new es(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}(0,t7.A)(es,function(t,e,r,n){return 1==arguments.length?eo(t):new es(t,e,r,null==n?1:n)},(0,t7.X)(tP.Q1,{brighter(t){return new es(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new es(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,r=isNaN(this.b)?t:t-this.b/200;return e=.96422*ec(e),t=+ec(t),r=.82521*ec(r),new tP.Gw(eu(3.1338561*e-1.6168667*t-.4906146*r),eu(-.9787684*e+1.9161415*t+.033454*r),eu(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),(0,t7.A)(ed,ep,(0,t7.X)(tP.Q1,{brighter(t){return new ed(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new ed(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return ef(this).rgb()}}));var eg=r(961660);function em(t){return function(e,r){var n=t((e=ep(e)).h,(r=ep(r)).h),a=(0,eg.Ay)(e.c,r.c),i=(0,eg.Ay)(e.l,r.l),o=(0,eg.Ay)(e.opacity,r.opacity);return function(t){return e.h=n(t),e.c=a(t),e.l=i(t),e.opacity=o(t),e+""}}}let ey=em(eg.lG);em(eg.Ay);var eb=r(479714);let ek=function(t){for(var e=t.length/6|0,r=Array(e),n=0;n<e;)r[n]="#"+t.slice(6*n,6*++n);return r}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function ex(t){return"string"==typeof t?new Q([[document.querySelector(t)]],[document.documentElement]):new Q([[t]],V)}var e_=r(892902),ew=r(438620),ev=r(468568);function eA(t){return t.innerRadius}function eS(t){return t.outerRadius}function eM(t){return t.startAngle}function eT(t){return t.endAngle}function eL(t){return t&&t.padAngle}function eO(t,e,r,n,a,i,o){var s=t-r,l=e-n,c=(o?i:-i)/(0,ew.RZ)(s*s+l*l),u=c*l,h=-c*s,p=t+u,d=e+h,f=r+u,g=n+h,m=(p+f)/2,y=(d+g)/2,b=f-p,k=g-d,x=b*b+k*k,_=a-i,w=p*g-f*d,v=(k<0?-1:1)*(0,ew.RZ)((0,ew.T9)(0,_*_*x-w*w)),A=(w*k-b*v)/x,S=(-w*b-k*v)/x,M=(w*k+b*v)/x,T=(-w*b+k*v)/x,L=A-m,O=S-y,E=M-m,C=T-y;return L*L+O*O>E*E+C*C&&(A=M,S=T),{cx:A,cy:S,x01:-u,y01:-h,x11:A*(a/_-1),y11:S*(a/_-1)}}function eE(){var t=eA,e=eS,r=(0,e_.A)(0),n=null,a=eM,i=eT,o=eL,s=null,l=(0,ev.i)(c);function c(){var c,u,h=+t.apply(this,arguments),p=+e.apply(this,arguments),d=a.apply(this,arguments)-ew.TW,f=i.apply(this,arguments)-ew.TW,g=(0,ew.tn)(f-d),m=f>d;if(s||(s=c=l()),p<h&&(u=p,p=h,h=u),p>ew.Ni)if(g>ew.FA-ew.Ni)s.moveTo(p*(0,ew.gn)(d),p*(0,ew.F8)(d)),s.arc(0,0,p,d,f,!m),h>ew.Ni&&(s.moveTo(h*(0,ew.gn)(f),h*(0,ew.F8)(f)),s.arc(0,0,h,f,d,m));else{var y,b,k=d,x=f,_=d,w=f,v=g,A=g,S=o.apply(this,arguments)/2,M=S>ew.Ni&&(n?+n.apply(this,arguments):(0,ew.RZ)(h*h+p*p)),T=(0,ew.jk)((0,ew.tn)(p-h)/2,+r.apply(this,arguments)),L=T,O=T;if(M>ew.Ni){var E=(0,ew.qR)(M/h*(0,ew.F8)(S)),C=(0,ew.qR)(M/p*(0,ew.F8)(S));(v-=2*E)>ew.Ni?(E*=m?1:-1,_+=E,w-=E):(v=0,_=w=(d+f)/2),(A-=2*C)>ew.Ni?(C*=m?1:-1,k+=C,x-=C):(A=0,k=x=(d+f)/2)}var $=p*(0,ew.gn)(k),R=p*(0,ew.F8)(k),K=h*(0,ew.gn)(w),I=h*(0,ew.F8)(w);if(T>ew.Ni){var P,N=p*(0,ew.gn)(x),D=p*(0,ew.F8)(x),j=h*(0,ew.gn)(_),z=h*(0,ew.F8)(_);if(g<ew.pi)if(P=function(t,e,r,n,a,i,o,s){var l=r-t,c=n-e,u=o-a,h=s-i,p=h*l-u*c;if(!(p*p<ew.Ni))return p=(u*(e-i)-h*(t-a))/p,[t+p*l,e+p*c]}($,R,j,z,N,D,K,I)){var F=$-P[0],B=R-P[1],U=N-P[0],W=D-P[1],H=1/(0,ew.F8)((0,ew.HQ)((F*U+B*W)/((0,ew.RZ)(F*F+B*B)*(0,ew.RZ)(U*U+W*W)))/2),Y=(0,ew.RZ)(P[0]*P[0]+P[1]*P[1]);L=(0,ew.jk)(T,(h-Y)/(H-1)),O=(0,ew.jk)(T,(p-Y)/(H+1))}else L=O=0}A>ew.Ni?O>ew.Ni?(y=eO(j,z,$,R,p,O,m),b=eO(N,D,K,I,p,O,m),s.moveTo(y.cx+y.x01,y.cy+y.y01),O<T?s.arc(y.cx,y.cy,O,(0,ew.FP)(y.y01,y.x01),(0,ew.FP)(b.y01,b.x01),!m):(s.arc(y.
10cx,y.cy,O,(0,ew.FP)(y.y01,y.x01),(0,ew.FP)(y.y11,y.x11),!m),s.arc(0,0,p,(0,ew.FP)(y.cy+y.y11,y.cx+y.x11),(0,ew.FP)(b.cy+b.y11,b.cx+b.x11),!m),s.arc(b.cx,b.cy,O,(0,ew.FP)(b.y11,b.x11),(0,ew.FP)(b.y01,b.x01),!m))):(s.moveTo($,R),s.arc(0,0,p,k,x,!m)):s.moveTo($,R),h>ew.Ni&&v>ew.Ni?L>ew.Ni?(y=eO(K,I,N,D,h,-L,m),b=eO($,R,j,z,h,-L,m),s.lineTo(y.cx+y.x01,y.cy+y.y01),L<T?s.arc(y.cx,y.cy,L,(0,ew.FP)(y.y01,y.x01),(0,ew.FP)(b.y01,b.x01),!m):(s.arc(y.cx,y.cy,L,(0,ew.FP)(y.y01,y.x01),(0,ew.FP)(y.y11,y.x11),!m),s.arc(0,0,h,(0,ew.FP)(y.cy+y.y11,y.cx+y.x11),(0,ew.FP)(b.cy+b.y11,b.cx+b.x11),m),s.arc(b.cx,b.cy,L,(0,ew.FP)(b.y11,b.x11),(0,ew.FP)(b.y01,b.x01),!m))):s.arc(0,0,h,w,_,m):s.lineTo(K,I)}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,n=(+a.apply(this,arguments)+ +i.apply(this,arguments))/2-ew.pi/2;return[(0,ew.gn)(n)*r,(0,ew.F8)(n)*r]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:(0,e_.A)(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:(0,e_.A)(+t),c):e},c.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:(0,e_.A)(+t),c):r},c.padRadius=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:(0,e_.A)(+t),c):n},c.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,e_.A)(+t),c):a},c.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,e_.A)(+t),c):i},c.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:(0,e_.A)(+t),c):o},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}var eC=r(840744),e$=r(52939);function eR(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function eK(t){return t}function eI(){var t=eK,e=eR,r=null,n=(0,e_.A)(0),a=(0,e_.A)(ew.FA),i=(0,e_.A)(0);function o(o){var s,l,c,u,h,p=(o=(0,e$.A)(o)).length,d=0,f=Array(p),g=Array(p),m=+n.apply(this,arguments),y=Math.min(ew.FA,Math.max(-ew.FA,a.apply(this,arguments)-m)),b=Math.min(Math.abs(y)/p,i.apply(this,arguments)),k=b*(y<0?-1:1);for(s=0;s<p;++s)(h=g[f[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?f.sort(function(t,r){return e(g[t],g[r])}):null!=r&&f.sort(function(t,e){return r(o[t],o[e])}),s=0,c=d?(y-p*k)/d:0;s<p;++s,m=u)u=m+((h=g[l=f[s]])>0?h*c:0)+k,g[l]={data:o[l],index:s,value:h,startAngle:m,endAngle:u,padAngle:b};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:(0,e_.A)(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,r=null,o):e},o.sort=function(t){return arguments.length?(r=t,e=null,o):r},o.startAngle=function(t){return arguments.length?(n="function"==typeof t?t:(0,e_.A)(+t),o):n},o.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:(0,e_.A)(+t),o):a},o.padAngle=function(t){return arguments.length?(i="function"==typeof t?t:(0,e_.A)(+t),o):i},o}var eP=r(43324),eN=r(880088),eD=r(402136),ej=r(66690);function ez(t,e){this._basis=new eD.xO(t),this._beta=e}ez.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var n,a=t[0],i=e[0],o=t[r]-a,s=e[r]-i,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(a+n*o),this._beta*e[l]+(1-this._beta)*(i+n*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let eF=function t(e){function r(t){return 1===e?new eD.xO(t):new ez(t,e)}return r.beta=function(e){return t(+e)},r}(.85);var eB=r(40986);function eU(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function eW(t,e){this._context=t,this._k=(1-e)/6}eW.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:eU(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:eU(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let eH=function t(e){function r(t){return new eW(t,e)}return r.tension=function(e){return t(+e)},r}(0);function eY(t,e){this._context=t,this._k=(1-e)/6}eY.prototype={areaStart:eB.A,areaEnd:eB.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:eU(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let eq=function t(e){function r(t){return new eY(t,e)}return r.tension=function(e){return t(+e)},r}(0);function eG(t,e){this._context=t,this._k=(1-e)/6}eG.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:eU(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let eX=function t(e){function r(t){return new eG(t,e)}return r.tension=function(e){return t(+e)},r}(0);function eZ(t,e,r){var n=t._x1,a=t._y1,i=t._x2,o=t._y2;if(t._l01_a>ew.Ni){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);n=(n*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,a=(a*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>ew.Ni){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);i=(i*c+t._x1*t._l23_2a-e*t._l12_2a)/u,o=(o*c+t._y1*t._l23_2a-r*t._l12_2a)/u}t._context.bezierCurveTo(n,a,i,o,t._x2,t._y2)}function eV(t,e){this._context=t,this._alpha=e}eV.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:eZ(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let eQ=function t(e){function r(t){return e?new eV(t,e):new eW(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function eJ(t,e){this._context=t,this._alpha=e}eJ.prototype={areaStart:eB.A,areaEnd:eB.A,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:eZ(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let e0=function t(e){function r(t){return e?new eJ(t,e):new eY(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function e1(t,e){this._context=t,this._alpha=e}e1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t*=1,e*=1,this._point){var r=this._x2-t,n=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+n*n,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:eZ(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let e2=function t(e){function r(t){return e?new e1(t,e):new eG(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);var e3=r(63467),e5=r(513691),e6=r(595329),e9=r(901339),e8=r(394412),e4=r(961132),e7=r(462303),rt=r(653795),re=r(930541),rr=r(743007),rn=r(342175),ra=r(249543),ri=r(828518);function ro(t,e,r){this.k=t,this.x=e,this.y=r}ro.prototype={constructor:ro,scale:function(t){return 1===t?this:new ro(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new ro(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new ro(1,0,0);ro.prototype},108427:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(729400),a=Object.create,i=function(){function t(){}return function(e){if(!(0,n.A)(e))return{};if(a)return a(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),o=r(385818),s=r(958002);let l=function(t){return"function"!=typeof t.constructor||(0,s.A)(t)?{}:i((0,o.A)(t))}},124257:(t,e,r)=>{"use strict";e.J=function(t){if(!t)return n.BLANK_URL;var e,r=a(t.trim());do e=(r=a(r=r.replace(n.ctrlCharactersRegex,"").replace(n.htmlEntitiesRegex,function(t,e){return String.fromCharCode(e)}).replace(n.htmlCtrlEntityRegex,"").replace(n.ctrlCharactersRegex,"").replace(n.whitespaceEscapeCharsRegex,"").trim())).match(n.ctrlCharactersRegex)||r.match(n.htmlEntitiesRegex)||r.match(n.htmlCtrlEntityRegex)||r.match(n.whitespaceEscapeCharsRegex);while(e&&e.length>0);var i=r;if(!i)return n.BLANK_URL;if(n.relativeFirstCharacters.indexOf(i[0])>-1)return i;var o=i.trimStart(),s=o.match(n.urlSchemeRegex);if(!s)return i;var l=s[0].toLowerCase().trim();if(n.invalidProtocolRegex.test(l))return n.BLANK_URL;var c=o.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return c;if("http:"===l||"https:"===l){if(!URL.canParse(c))return n.BLANK_URL;var u=new URL(c);return u.protocol=u.protocol.toLowerCase(),u.hostname=u.hostname.toLowerCase(),u.toString()}return c};var n=r(290852);function a(t){try{return decodeURIComponent(t)}catch(e){return t}}},158823:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return null!=t&&"object"==typeof t}},161504:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(682088),a=r(288236);let i=(t,e,r)=>{let i=a.A.parse(t),o=i[e],s=n.A.channel.clamp[e](o+r);return o!==s&&(i[e]=s),a.A.stringify(i)}},165797:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){return t===e||t!=t&&e!=e}},166692:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(670208);let a=function(t,e){var r=e?(0,n.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},173099:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(186728),a=r(782403),i=r(158823),o={};
10o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=r(95616),l=r(966116),c=l.A&&l.A.isTypedArray;let u=c?(0,s.A)(c):function(t){return(0,i.A)(t)&&(0,a.A)(t.length)&&!!o[(0,n.A)(t)]}},186728:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(543340),a=Object.prototype,i=a.hasOwnProperty,o=a.toString,s=n.A?n.A.toStringTag:void 0;let l=function(t){var e=i.call(t,s),r=t[s];try{t[s]=void 0;var n=!0}catch(t){}var a=o.call(t);return n&&(e?t[s]=r:delete t[s]),a};var c=Object.prototype.toString,u=n.A?n.A.toStringTag:void 0;let h=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?l(t):c.call(t)}},195611:(t,e,r)=>{"use strict";r.d(e,{He:()=>c,K2:()=>i,Rm:()=>l,VA:()=>o});var n=r(86234),a=Object.defineProperty,i=(t,e)=>a(t,"name",{value:e,configurable:!0}),o=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},s={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},l={trace:i((...t)=>{},"trace"),debug:i((...t)=>{},"debug"),info:i((...t)=>{},"info"),warn:i((...t)=>{},"warn"),error:i((...t)=>{},"error"),fatal:i((...t)=>{},"fatal")},c=i(function(t="fatal"){let e=s.fatal;"string"==typeof t?t.toLowerCase()in s&&(e=s[t]):"number"==typeof t&&(e=t),l.trace=()=>{},l.debug=()=>{},l.info=()=>{},l.warn=()=>{},l.error=()=>{},l.fatal=()=>{},e<=s.fatal&&(l.fatal=console.error?console.error.bind(console,u("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",u("FATAL"))),e<=s.error&&(l.error=console.error?console.error.bind(console,u("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",u("ERROR"))),e<=s.warn&&(l.warn=console.warn?console.warn.bind(console,u("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,u("WARN"))),e<=s.info&&(l.info=console.info?console.info.bind(console,u("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",u("INFO"))),e<=s.debug&&(l.debug=console.debug?console.debug.bind(console,u("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",u("DEBUG"))),e<=s.trace&&(l.trace=console.debug?console.debug.bind(console,u("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",u("TRACE")))},"setLogLevel"),u=i(t=>{let e=n().format("ss.SSS");return`%c${e} : ${t} : `},"format")},226210:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});let n=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var a=Math.max;let i=function(t,e,r){return e=a(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,s=a(i.length-e,0),l=Array(s);++o<s;)l[o]=i[e+o];o=-1;for(var c=Array(e+1);++o<e;)c[o]=i[o];return c[e]=r(l),n(t,this,c)}}},250976:(t,e,r)=>{"use strict";r.d(e,{$C:()=>O,$t:()=>W,C4:()=>Y,I5:()=>U,Ib:()=>y,KL:()=>X,Sm:()=>q,Un:()=>N,_K:()=>H,bH:()=>K,dq:()=>F,pe:()=>u,rY:()=>G,ru:()=>P,sM:()=>T,vU:()=>g,yT:()=>C});var n,a=r(208509),i=r(195611),o=r(124257),s=r(98353),l=r(318341),c=r(299470),u="â",h={curveBasis:s.qrM,curveBasisClosed:s.Yu4,curveBasisOpen:s.IA3,curveBumpX:s.Wi0,curveBumpY:s.PGM,curveBundle:s.OEq,curveCardinalClosed:s.olC,curveCardinalOpen:s.IrU,curveCardinal:s.y8u,curveCatmullRomClosed:s.Q7f,curveCatmullRomOpen:s.cVp,curveCatmullRom:s.oDi,curveLinear:s.lUB,curveLinearClosed:s.Lx9,curveMonotoneX:s.nVG,curveMonotoneY:s.uxU,curveNatural:s.Xf2,curveStep:s.GZz,curveStepAfter:s.UPb,curveStepBefore:s.dyv},p=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,d=(0,i.K2)(function(t,e){let r=f(t,/(?:init\b)|(?:initialize\b)/),n={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,a.$i)(t),n=(0,a.hH)(n,[...t])}else n=r.args;if(!n)return;let i=(0,a.Ch)(t,e),o="config";return void 0!==n[o]&&("flowchart-v2"===i&&(i="flowchart"),n[i]=n[o],delete n[o]),n},"detectInit"),f=(0,i.K2)(function(t,e=null){try{let r,n=RegExp(`[%]{2}(?![{]${p.source})(?=[}][%]{2}).* 11`,"ig");t=t.trim().replace(n,"").replace(/'/gm,'"'),i.Rm.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let o=[];for(;null!==(r=a.DB.exec(t));)if(r.index===a.DB.lastIndex&&a.DB.lastIndex++,r&&!e||e&&r[1]?.match(e)||e&&r[2]?.match(e)){let t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;o.push({type:t,args:e})}if(0===o.length)return{type:t,args:null};return 1===o.length?o[0]:o}catch(r){return i.Rm.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),g=(0,i.K2)(function(t){return t.replace(a.DB,"")},"removeDirectives"),m=(0,i.K2)(function(t,e){for(let[r,n]of e.entries())if(n.match(t))return r;return -1},"isSubstringInArray");function y(t,e){return t?h[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function b(t,e){let r=t.trim();if(r)return"loose"!==e.securityLevel?(0,o.J)(r):r}(0,i.K2)(y,"interpolateToCurve"),(0,i.K2)(b,"formatUrl");var k=(0,i.K2)((t,...e)=>{let r=t.split("."),n=r.length-1,a=r[n],o=window;for(let e=0;e<n;e++)if(!(o=o[r[e]]))return void i.Rm.error(`Function name: ${t} not found in window`);o[a](...e)},"runFunc");function x(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function _(t){let e,r=0;return t.forEach(t=>{r+=x(t,e),e=t}),A(t,r/2)}function w(t){return 1===t.length?t[0]:_(t)}(0,i.K2)(x,"distance"),(0,i.K2)(_,"traverseEdge"),(0,i.K2)(w,"calcLabelPosition");var v=(0,i.K2)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),A=(0,i.K2)((t,e)=>{let r,n=e;for(let e of t){if(r){let t=x(e,r);if(0===t)return r;if(t<n)n-=t;else{let a=n/t;if(a<=0)return r;if(a>=1)return{x:e.x,y:e.y};if(a>0&&a<1)return{x:v((1-a)*r.x+a*e.x,5),y:v((1-a)*r.y+a*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),S=(0,i.K2)((t,e,r)=>{i.Rm.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let n=A(e,25),a=t?10:5,o=Math.atan2(e[0].y-n.y,e[0].x-n.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(e[0].x+n.x)/2,s.y=-Math.cos(o)*a+(e[0].y+n.y)/2,s},"calcCardinalityPosition");function M(t,e,r){let n=structuredClone(r);i.Rm.info("our points",n),"start_left"!==e&&"start_right"!==e&&n.reverse();let a=A(n,25+t),o=10+.5*t,s=Math.atan2(n[0].y-a.y,n[0].x-a.x),l={x:0,y:0};
11return"start_left"===e?(l.x=Math.sin(s+Math.PI)*o+(n[0].x+a.x)/2,l.y=-Math.cos(s+Math.PI)*o+(n[0].y+a.y)/2):"end_right"===e?(l.x=Math.sin(s-Math.PI)*o+(n[0].x+a.x)/2-5,l.y=-Math.cos(s-Math.PI)*o+(n[0].y+a.y)/2-5):"end_left"===e?(l.x=Math.sin(s)*o+(n[0].x+a.x)/2-5,l.y=-Math.cos(s)*o+(n[0].y+a.y)/2-5):(l.x=Math.sin(s)*o+(n[0].x+a.x)/2,l.y=-Math.cos(s)*o+(n[0].y+a.y)/2),l}function T(t){let e="",r="";for(let n of t)void 0!==n&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":e=e+n+";");return{style:e,labelStyle:r}}(0,i.K2)(M,"calcTerminalLabelPosition"),(0,i.K2)(T,"getStylesFromArray");var L=0,O=(0,i.K2)(()=>(L++,"id-"+Math.random().toString(36).substr(2,12)+"-"+L),"generateId");function E(t){let e="",r="0123456789abcdef",n=r.length;for(let a=0;a<t;a++)e+=r.charAt(Math.floor(Math.random()*n));return e}(0,i.K2)(E,"makeRandomHex");var C=(0,i.K2)(t=>E(t.length),"random"),$=(0,i.K2)(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),R=(0,i.K2)(function(t,e){let r=e.text.replace(a.Y2.lineBreakRegex," "),[,n]=U(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",n),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class);let o=i.append("tspan");return o.attr("x",e.x+2*e.textMargin),o.attr("fill",e.fill),o.text(r),i},"drawSimpleText"),K=(0,l.A)((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),a.Y2.lineBreakRegex.test(t)))return t;let n=t.split(" ").filter(Boolean),i=[],o="";return n.forEach((t,a)=>{let s=N(`${t} `,r),l=N(o,r);if(s>e){let{hyphenatedStrings:n,remainingWord:a}=I(t,e,"-",r);i.push(o,...n),o=a}else l+s>=e?(i.push(o),o=t):o=[o,t].filter(Boolean).join(" ");a+1===n.length&&i.push(o)}),i.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),I=(0,l.A)((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);let a=[...t],i=[],o="";return a.forEach((t,s)=>{let l=`${o}${t}`;if(N(l,n)>=e){let t=a.length===s+1,e=`${l}${r}`;i.push(t?l:e),o=""}else o=l}),{hyphenatedStrings:i,remainingWord:o}},(t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function P(t,e){return D(t,e).height}function N(t,e){return D(t,e).width}(0,i.K2)(P,"calculateTextHeight"),(0,i.K2)(N,"calculateTextWidth");var D=(0,l.A)((t,e)=>{let{fontSize:r=12,fontFamily:n="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};let[,o]=U(r),l=t.split(a.Y2.lineBreakRegex),c=[],h=(0,s.Ltv)("body");if(!h.remove)return{width:0,height:0,lineHeight:0};let p=h.append("svg");for(let t of["sans-serif",n]){let e=0,r={width:0,height:0,lineHeight:0};for(let n of l){let a=$();a.text=n||u;let s=R(p,a).style("font-size",o).style("font-weight",i).style("font-family",t),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");r.width=Math.round(Math.max(r.width,l.width)),e=Math.round(l.height),r.height+=e,r.lineHeight=Math.round(Math.max(r.lineHeight,e))}c.push(r)}p.remove();let d=isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1;return c[d]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),j=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,i.K2)(this,"InitIDGenerator")}},z=(0,i.K2)(function(t){return n=n||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),n.innerHTML=t,unescape(n.textContent)},"entityDecode");function F(t){return"str"in t}(0,i.K2)(F,"isDetailedError");var B=(0,i.K2)((t,e,r,n)=>{if(!n)return;let a=t.node()?.getBBox();a&&t.append("text").text(n).attr("text-anchor","middle").attr("x",a.x+a.width/2).attr("y",-r).attr("class",e)},"insertTitle"),U=(0,i.K2)(t=>{if("number"==typeof t)return[t,t+"px"];let e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function W(t,e){return(0,c.A)({},t,e)}(0,i.K2)(W,"cleanAndMerge");var H={assignWithDepth:a.hH,wrapLabel:K,calculateTextHeight:P,calculateTextWidth:N,calculateTextDimensions:D,cleanAndMerge:W,detectInit:d,detectDirective:f,isSubstringInArray:m,interpolateToCurve:y,calcLabelPosition:w,calcCardinalityPosition:S,calcTerminalLabelPosition:M,formatUrl:b,getStylesFromArray:T,generateId:O,random:C,runFunc:k,entityDecode:z,insertTitle:B,isLabelCoordinateInPath:Z,parseFontSize:U,InitIDGenerator:j},Y=(0,i.K2)(function(t){let e=t;
11return(e=(e=e.replace(/style.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,function(t){let e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"ï¬\xb0\xb0"+e+"\xb6\xdf":"ï¬\xb0"+e+"\xb6\xdf"})},"encodeEntities"),q=(0,i.K2)(function(t){return t.replace(/ï¬Â°Â°/g,"&#").replace(/ï¬Â°/g,"&").replace(/¶Ã/g,";")},"decodeEntities"),G=(0,i.K2)((t,e,{counter:r=0,prefix:n,suffix:a},i)=>i||`${n?`${n}_`:""}${t}_${e}_${r}${a?`_${a}`:""}`,"getEdgeId");function X(t){return t??null}function Z(t,e){let r=Math.round(t.x),n=Math.round(t.y),a=e.replace(/(\d+\.\d+)/g,t=>Math.round(parseFloat(t)).toString());return a.includes(r.toString())||a.includes(n.toString())}(0,i.K2)(X,"handleUndefinedAttr"),(0,i.K2)(Z,"isLabelCoordinateInPath")},252460:(t,e,r)=>{"use strict";r.d(e,{D:()=>o});var n=r(208509),a=r(195611),i=r(98353),o=(0,a.K2)(t=>{let{securityLevel:e}=(0,n.D7)(),r=(0,i.Ltv)("body");if("sandbox"===e){let e=(0,i.Ltv)(`#i${t}`),n=e.node()?.contentDocument??document;r=(0,i.Ltv)(n.body)}return r.select(`#${t}`)},"selectSvgElement")},255714:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(682088),a=r(799273);class i{constructor(){this.type=a.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=a.Z.ALL}is(t){return this.type===t}}class o{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new i}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=a.Z.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:a}=t;void 0===e&&(t.h=n.A.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=n.A.channel.rgb2hsl(t,"s")),void 0===a&&(t.l=n.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:a}=t;void 0===e&&(t.r=n.A.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=n.A.channel.hsl2rgb(t,"g")),void 0===a&&(t.b=n.A.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(a.Z.HSL)||void 0===e?(this._ensureHSL(),n.A.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(a.Z.RGB)||void 0===e?(this._ensureRGB(),n.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(a.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(a.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}let s=new o({r:0,g:0,b:0,a:0},"transparent")},265963:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(874999),a=r(782403);let i=function(t){return null!=t&&(0,a.A)(t.length)&&!(0,n.A)(t)}},278551:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(288236),a=r(421521);let i=(t,e=100)=>{let r=n.A.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,((t,e,r=50)=>{let{r:i,g:o,b:s,a:l}=n.A.parse(t),{r:c,g:u,b:h,a:p}=n.A.parse(e),d=r/100,f=2*d-1,g=l-p,m=((f*g==-1?f:(f+g)/(1+f*g))+1)/2,y=1-m;return(0,a.A)(i*m+c*y,o*m+u*y,s*m+h*y,l*d+p*(1-d))})(r,t,e)}},288236:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(255714),a=r(799273);let i={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(i.re);if(!e)return;let r=e[1],a=parseInt(r,16),o=r.length,s=o%4==0,l=o>4,c=l?1:17,u=l?8:4,h=s?0:-1,p=l?255:15;return n.A.set({r:(a>>u*(h+3)&p)*c,g:(a>>u*(h+2)&p)*c,b:(a>>u*(h+1)&p)*c,a:s?(a&p)*c/255:1},t)},stringify:t=>{let{r:e,g:r,b:n,a:i}=t;return i<1?`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(n)]}${a.Y[Math.round(255*i)]}`:`#${a.Y[Math.round(e)]}${a.Y[Math.round(r)]}${a.Y[Math.round(n)]}`}};var o=r(682088);let s={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{let e=t.match(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return o.A.channel.clamp.h(.9*parseFloat(t));case"rad":return o.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return o.A.channel.clamp.h(360*parseFloat(t))}}return o.A.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,a,i,l,c,u]=r;return n.A.set({h:s._hue2deg(a),s:o.A.channel.clamp.s(parseFloat(i)),l:o.A.channel.clamp.l(parseFloat(l)),a:c?o.A.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{let{h:e,s:r,l:n,a}=t;return a<1?`hsla(${o.A.lang.round(e)}, ${o.A.lang.round(r)}%, ${o.A.lang.round(n)}%, ${a})`:`hsl(${o.A.lang.round(e)}, ${o.A.lang.round(r)}%, ${o.A.lang.round(n)}%)`}},l={colors:{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",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",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",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",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:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",s
11almon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();let e=l.colors[t];if(e)return i.parse(e)},stringify:t=>{let e=i.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},c={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let r=t.match(c.re);if(!r)return;let[,a,i,s,l,u,h,p,d]=r;return n.A.set({r:o.A.channel.clamp.r(i?2.55*parseFloat(a):parseFloat(a)),g:o.A.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:o.A.channel.clamp.b(h?2.55*parseFloat(u):parseFloat(u)),a:p?o.A.channel.clamp.a(d?parseFloat(p)/100:parseFloat(p)):1},t)},stringify:t=>{let{r:e,g:r,b:n,a}=t;return a<1?`rgba(${o.A.lang.round(e)}, ${o.A.lang.round(r)}, ${o.A.lang.round(n)}, ${o.A.lang.round(a)})`:`rgb(${o.A.lang.round(e)}, ${o.A.lang.round(r)}, ${o.A.lang.round(n)})`}},u={format:{keyword:l,hex:i,rgb:c,rgba:c,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=i.parse(t)||c.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(a.Z.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?i.stringify(t):c.stringify(t)}},290852:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BLANK_URL=e.relativeFirstCharacters=e.whitespaceEscapeCharsRegex=e.urlSchemeRegex=e.ctrlCharactersRegex=e.htmlCtrlEntityRegex=e.htmlEntitiesRegex=e.invalidProtocolRegex=void 0,e.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,e.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,e.htmlCtrlEntityRegex=/&(newline|tab);/gi,e.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,e.urlSchemeRegex=/^.+(:|:)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},299470:(t,e,r)=>{"use strict";r.d(e,{A:()=>K});var n=r(667669),a=r(607245),i=r(165797);let o=function(t,e,r){(void 0===r||(0,i.A)(t[e],r))&&(void 0!==r||e in t)||(0,a.A)(t,e,r)};var s=r(704e3),l=r(988855),c=r(166692),u=r(675994),h=r(108427),p=r(881270),d=r(617596),f=r(917048),g=r(539010),m=r(874999),y=r(729400),b=r(186728),k=r(385818),x=r(158823),_=Object.prototype,w=Function.prototype.toString,v=_.hasOwnProperty,A=w.call(Object);let S=function(t){if(!(0,x.A)(t)||"[object Object]"!=(0,b.A)(t))return!1;var e=(0,k.A)(t);if(null===e)return!0;var r=v.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&w.call(r)==A};var M=r(173099);let T=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var L=r(378266),O=r(467980);let E=function(t,e,r,n,a,i,s){var b=T(t,r),k=T(e,r),x=s.get(k);if(x)return void o(t,r,x);var _=i?i(b,k,r+"",t,e,s):void 0,w=void 0===_;if(w){var v=(0,d.A)(k),A=!v&&(0,g.A)(k),E=!v&&!A&&(0,M.A)(k);(_=k,v||A||E)?(0,d.A)(b)?_=b:(0,f.A)(b)?_=(0,u.A)(b):A?(w=!1,_=(0,l.A)(k,!0)):E?(w=!1,_=(0,c.A)(k,!0)):_=[]:S(k)||(0,p.A)(k)?(_=b,(0,p.A)(b))?_=(0,L.A)(b,(0,O.A)(b)):(!(0,y.A)(b)||(0,m.A)(b))&&(_=(0,h.A)(k)):w=!1}w&&(s.set(k,_),a(_,k,n,i,s),s.delete(k)),o(t,r,_)},C=function t(e,r,a,i,l){e!==r&&(0,s.A)(r,function(s,c){if(l||(l=new n.A),(0,y.A)(s))E(e,r,c,a,t,i,l);else{var u=i?i(T(e,c),s,c+"",e,r,l):void 0;void 0===u&&(u=s),o(e,c,u)}},O.A)};var $=r(51299),R=r(933517);let K=function(t){return(0,$.A)(function(e,r){var n=-1,a=r.length,i=a>1?r[a-1]:void 0,o=a>2?r[2]:void 0;for(i=t.length>3&&"function"==typeof i?(a--,i):void 0,o&&(0,R.A)(r[0],r[1],o)&&(i=a<3?void 0:i,a=1),e=Object(e);++n<a;){var s=r[n];s&&t(e,s,n,i)}return e})}(function(t,e,r){C(t,e,r)})},318341:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(522919);function a(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,a=e?e.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);
11var o=t.apply(this,n);return r.cache=i.set(a,o)||i,o};return r.cache=new(a.Cache||n.A),r}a.Cache=n.A;let i=a},320537:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(743468);let a=function(){try{var t=(0,n.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},360442:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){return function(r){return t(e(r))}}},378266:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(820078),a=r(607245);let i=function(t,e,r,i){var o=!r;r||(r={});for(var s=-1,l=e.length;++s<l;){var c=e[s],u=i?i(r[c],t[c],c,r,t):void 0;void 0===u&&(u=t[c]),o?(0,a.A)(r,c,u):(0,n.A)(r,c,u)}return r}},385818:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=(0,r(360442).A)(Object.getPrototypeOf,Object)},390765:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return t}},409378:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(161504);let a=(t,e)=>(0,n.A)(t,"l",e)},421521:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(682088),a=r(255714),i=r(288236),o=r(821531);let s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,o.A)(t,{a:e});let l=a.A.set({r:n.A.channel.clamp.r(t),g:n.A.channel.clamp.g(e),b:n.A.channel.clamp.b(r),a:n.A.channel.clamp.a(s)});return i.A.stringify(l)}},435996:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=Function.prototype.toString;let a=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},448152:(t,e,r)=>{"use strict";r.d(e,{Fr:()=>u,GX:()=>c,KX:()=>l,WW:()=>o,ue:()=>i});var n=r(208509),a=r(195611),i=(0,a.K2)(t=>{let{handDrawnSeed:e}=(0,n.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),o=(0,a.K2)(t=>{let e=s([...t.cssCompiledStyles||[],...t.cssStyles||[],...t.labelStyle||[]]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),s=(0,a.K2)(t=>{let e=new Map;return t.forEach(t=>{let[r,n]=t.split(":");e.set(r.trim(),n?.trim())}),e},"styles2Map"),l=(0,a.K2)(t=>"color"===t||"font-size"===t||"font-family"===t||"font-weight"===t||"font-style"===t||"text-decoration"===t||"text-align"===t||"text-transform"===t||"line-height"===t||"letter-spacing"===t||"word-spacing"===t||"text-shadow"===t||"text-overflow"===t||"white-space"===t||"word-wrap"===t||"word-break"===t||"overflow-wrap"===t||"hyphens"===t,"isLabelStyle"),c=(0,a.K2)(t=>{let{stylesArray:e}=o(t),r=[],n=[],a=[],i=[];return e.forEach(t=>{let e=t[0];l(e)?r.push(t.join(":")+" !important"):(n.push(t.join(":")+" !important"),e.includes("stroke")&&a.push(t.join(":")+" !important"),"fill"===e&&i.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:e,borderStyles:a,backgroundStyles:i}},"styles2String"),u=(0,a.K2)((t,e)=>{let{themeVariables:r,handDrawnSeed:a}=(0,n.D7)(),{nodeBorder:i,mainBkg:s}=r,{stylesMap:l}=o(t);return Object.assign({roughness:.7,fill:l.get("fill")||s,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:l.get("stroke")||i,seed:a,strokeWidth:l.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:h(l.get("stroke-dasharray"))},e)},"userNodeOverrides"),h=(0,a.K2)(t=>{if(!t)return[0,0];let e=t.trim().split(/\s+/).map(Number);if(1===e.length){let t=isNaN(e[0])?0:e[0];return[t,t]}return[isNaN(e[0])?0:e[0],isNaN(e[1])?0:e[1]]},"getStrokeDashArray")},448500:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(682088),a=r(288236);let i=t=>!((t=>{let{r:e,g:r,b:i}=a.A.parse(t),o=.2126*n.A.channel.toLinear(e)+.7152*n.A.channel.toLinear(r)+.0722*n.A.channel.toLinear(i);return n.A.lang.round(o)})(t)>=.5)},454714:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(743468),a=r(778104);let i=(0,n.A)(a.A,"Map")},467980:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(716771),a=r(729400),i=r(958002);let o=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;let l=function(t){if(!(0,a.A)(t))return o(t);var e=(0,i.A)(t),r=[];for(var n in t)"constructor"==n&&(e||!s.call(t,n))||r.push(n);return r};var c=r(265963);let u=function(t){return(0,c.A)(t)?(0,n.A)(t,!0):l(t)}},478046:(t,e,r)=>{"use strict";r.d(e,{W6:()=>t2,GZ:()=>t8,WY:()=>tF,pC:()=>tD,Gc:()=>tI});var n=r(250976),a=r(208509),i=r(195611);let o=(t,e)=>!!t&&!!((e&&""===t.prefix||t.prefix)&&t.name),s=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),c=Object.freeze({...s,...l}),u=Object.freeze({...c,body:"",hidden:!1});function h(t,e){let r=function(t,e){let r={};!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0);let n=((t.rotate||0)+(e.rotate||0))%4;return n&&(r.rotate=n),r}(t,e);for(let n in u)n in l?n in t&&!(n in r)&&(r[n]=l[n]):n in e?r[n]=e[n]:n in t&&(r[n]=t[n]);return r}function p(t,e,r){let n=t.icons,a=t.aliases||Object.create(null),i={};function o(t){i=h(n[t]||a[t],i)}return o(e),r.forEach(o),h(t,i)}let d=Object.freeze({...Object.freeze({width:null,height:null}),...l}),f=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function m(t,e,r){if(1===e)return t;if(r=r||100,"number"==typeof t)return Math.ceil(t*e*r)/r;if("string"!=typeof t)return t;let n=t.split(f);if(null===n||!n.length)return t;let a=[],i=n.shift(),o=g.test(i);for(;;){if(o){let t=parseFloat(i);isNaN(t)?a.push(i):a.push(Math.ceil(t*e*r)/r)}else a.push(i);if(void 0===(i=n.shift()))return a.join("");o=!o}}let y=/\sid="(\S+)"/g,b=new Map;var k=r(98353);function x(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var _=x(),w={exec:()=>null};function v(t,e=""){let r="string"==typeof t?t:t.source,n={replace:(t,e)=>{let a="string"==typeof e?e:e.source;return a=a.replace(S.caret,"$1"),r=r.replace(t,a),n},getRegex:()=>new RegExp(r,e)};return n}var A=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),S={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 4,134 bytes, line 11
11:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},M=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,T=/(?:[*+-]|\d{1,9}[.)])/,L=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,O=v(L).replace(/bull/g,T).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),E=v(L).replace(/bull/g,T).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),C=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,$=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,R=v(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",$).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),K=v(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,T).getRegex(),I="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",P=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,N=v("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",P).replace("tag",I).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),D=v(C).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",I).getRegex(),j={blockquote:v(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",D).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:R,fences:/^ {0,3}(`{3,}
vendor: 8,808 bytes, lines 11-22
11(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:M,html:N,lheading:O,list:K,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:D,table:w,text:/^[^\n]+/},z=v("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",I).getRegex(),F={...j,lheading:E,table:z,paragraph:v(C).replace("hr",M).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",z).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",I).getRegex()},B={...j,html:v(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",P).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:w,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:v(C).replace("hr",M).replace("heading",` *#{1,6} *[^ 12]`).replace("lheading",O).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},U=/^( {2,}|\\)\n(?!\s*$)/,W=/[\p{P}\p{S}]/u,H=/[\s\p{P}\p{S}]/u,Y=/[^\s\p{P}\p{S}]/u,q=v(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,H).getRegex(),G=/(?!~)[\p{P}\p{S}]/u,X=v(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",A?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Z=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,V=v(Z,"u").replace(/punct/g,W).getRegex(),Q=v(Z,"u").replace(/punct/g,G).getRegex(),J="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",tt=v(J,"gu").replace(/notPunctSpace/g,Y).replace(/punctSpace/g,H).replace(/punct/g,W).getRegex(),te=v(J,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,G).getRegex(),tr=v("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Y).replace(/punctSpace/g,H).replace(/punct/g,W).getRegex(),tn=v(/\\(punct)/,"gu").replace(/punct/g,W).getRegex(),ta=v(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ti=v(P).replace("(?:--\x3e|$)","--\x3e").getRegex(),to=v("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ti).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ts=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,tl=v(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",ts).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tc=v(/^!?\[(label)\]\[(ref)\]/).replace("label",ts).replace("ref",$).getRegex(),tu=v(/^!?\[(ref)\](?:\[\])?/).replace("ref",$).getRegex(),th=v("reflink|nolink(?!\\()","g").replace("reflink",tc).replace("nolink",tu).getRegex(),tp=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,td={_backpedal:w,anyPunctuation:tn,autolink:ta,blockSkip:X,br:U,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:w,emStrongLDelim:V,emStrongRDelimAst:tt,emStrongRDelimUnd:tr,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:tl,nolink:tu,punctuation:q,reflink:tc,reflinkSearch:th,tag:to,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:w},tf={...td,link:v(/^!?\[(label)\]\((.*?)\)/).replace("label",ts).getRegex(),reflink:v(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ts).getRegex()},tg={...td,emStrongRDelimAst:te,emStrongLDelim:Q,url:v(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",tp).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:v(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",tp).getRegex()},tm={...tg,br:v(U).replace("{2,}","*").getRegex(),text:v(tg.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ty={normal:j,gfm:F,pedantic:B},tb={normal:td,gfm:tg,breaks:tm,pedantic:tf},tk={"&":"&","<":"<",">":">",'"':""","'":"'"},tx=t=>tk[t];function t_(t,e){if(e){if(S.escapeTest.test(t))return t.replace(S.escapeReplace,tx)}else if(S.escapeTestNoEncode.test(t))return t.replace(S.escapeReplaceNoEncode,tx);return t}function tw(t){try{t=encodeURI(t).replace(S.percentDecode,"%")}catch{return null}return t}function tv(t,e){let r=t.replace(S.findPipe,(t,e,r)=>{let n=!1,a=e;for(;--a>=0&&"\\"===r[a];)n=!n;return n?"|":" |"}).split(S.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(S.slashPipe,"|");return r}function tA(t,e,r){let n=t.length;if(0===n)return"";let a=0;for(;a<n;){let i=t.charAt(n-a-1);if(i!==e||r)if(i!==e&&r)a++;else break;else a++}return t.slice(0,n-a)}function tS(t,e,r,n,a){let i=e.href,o=e.title||null,s=t[1].replace(a.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===t[0].charAt(0)?"image":"link",raw:r,href:i,title:o,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}var tM=class{options;rules;lexer;constructor(t){this.options=t||_}space(t){let e=this.rules.block.newline.exec(t);if(e&&e[0].length>0)return{type:"space",raw:e[0]}}code(t){let e=this.rules.block.code.exec(t);if(e){let t=e[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:e[0],codeBlockStyle:"indented",text:this.options.pedantic?t:tA(t,` 13`)}}}fences(t){let e=this.rules.block.fences.exec(t);if(e){let t=e[0],r=function(t,e,r){let n=t.match(r.other.indentCodeCompensation);if(null===n)return e;let a=n[1];return e.split(` 14`).map(t=>{let e=t.match(r.other.beginningSpace);if(null===e)return t;let[n]=e;return n.length>=a.length?t.slice(a.length):t}).join(` 15`)}(t,e[3]||"",this.rules);return{type:"code",raw:t,lang:e[2]?e[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):e[2],text:r}}}heading(t){let e=this.rules.block.heading.exec(t);if(e){let t=e[2].trim();if(this.rules.other.endingHash.test(t)){let e=tA(t,"#");(this.options.pedantic||!e||this.rules.other.endingSpaceChar.test(e))&&(t=e.trim())}return{type:"heading",raw:e[0],depth:e[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let e=this.rules.block.hr.exec(t);if(e)return{type:"hr",raw:tA(e[0],` 16`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=tA(e[0],` 17`).split(` 18`),r="",n="",a=[];for(;t.length>0;){let e=!1,i=[],o;for(o=0;o<t.length;o++)if(this.rules.other.blockquoteStart.test(t[o]))i.push(t[o]),e=!0;else if(e)break;else i.push(t[o]);t=t.slice(o);let s=i.join(` 19`),l=s.replace(this.rules.other.blockquoteSetextReplace,` 20 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r} 21${s}`:s,n=n?`${n} 22${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,a,!0),this.lexer.state.top=c,
220===t.length)break;let u=a.at(-1);if(u?.type==="code")break;if(u?.type==="blockquote"){let e=u.raw+` 23`+t.join(` 24`),i=this.blockquote(e);a[a.length-1]=i,r=r.substring(0,r.length-u.raw.length)+i.raw,n=n.substring(0,n.length-u.text.length)+i.text;break}if(u?.type==="list"){let e=u.raw+` 25`+t.join(` 26`),i=this.list(e);a[a.length-1]=i,r=r.substring(0,r.length-u.raw.length)+i.raw,n=n.substring(0,n.length-u.raw.length)+i.raw,t=e.substring(a.at(-1).raw.length).split(` 27`);continue}}return{type:"blockquote",raw:r,tokens:a,text:n}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim(),n=r.length>1,a={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let i=this.rules.other.listItemRegex(r),o=!1;for(;t;){let r=!1,n="",s="";if(!(e=i.exec(t))||this.rules.block.hr.test(t))break;n=e[0],t=t.substring(n.length);let l=e[2].split(` 28`,1)[0].replace(this.rules.other.listReplaceTabs,t=>" ".repeat(3*t.length)),c=t.split(` 29`,1)[0],u=!l.trim(),h=0;if(this.options.pedantic?(h=2,s=l.trimStart()):u?h=e[1].length+1:(h=(h=e[2].search(this.rules.other.nonSpaceChar))>4?1:h,s=l.slice(h),h+=e[1].length),u&&this.rules.other.blankLine.test(c)&&(n+=c+` 30`,t=t.substring(c.length+1),r=!0),!r){let e=this.rules.other.nextBulletRegex(h),r=this.rules.other.hrRegex(h),a=this.rules.other.fencesBeginRegex(h),i=this.rules.other.headingBeginRegex(h),o=this.rules.other.htmlBeginRegex(h);for(;t;){let p=t.split(` 31`,1)[0],d;if(c=p,d=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting," "):c.replace(this.rules.other.tabCharGlobal," "),a.test(c)||i.test(c)||o.test(c)||e.test(c)||r.test(c))break;if(d.search(this.rules.other.nonSpaceChar)>=h||!c.trim())s+=` 32`+d.slice(h);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||a.test(l)||i.test(l)||r.test(l))break;s+=` 33`+c}u||c.trim()||(u=!0),n+=p+` 34`,t=t.substring(p.length+1),l=d.slice(h)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(o=!0));let p=null,d;this.options.gfm&&(p=this.rules.other.listIsTask.exec(s))&&(d="[ ] "!==p[0],s=s.replace(this.rules.other.listReplaceTask,"")),a.items.push({type:"list_item",raw:n,task:!!p,checked:d,loose:!1,text:s,tokens:[]}),a.raw+=n}let s=a.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),a.raw=a.raw.trimEnd();for(let t=0;t<a.items.length;t++)if(this.lexer.state.top=!1,a.items[t].tokens=this.lexer.blockTokens(a.items[t].text,[]),!a.loose){let e=a.items[t].tokens.filter(t=>"space"===t.type);a.loose=e.length>0&&e.some(t=>this.rules.other.anyLine.test(t.raw))}if(a.loose)for(let t=0;t<a.items.length;t++)a.items[t].loose=!0;return a}}html(t){let e=this.rules.block.html.exec(t);if(e)return{type:"html",block:!0,raw:e[0],pre:"pre"===e[1]||"script"===e[1]||"style"===e[1],text:e[0]}}def(t){let e=this.rules.block.def.exec(t);if(e){let t=e[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=e[2]?e[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=e[3]?e[3].substring(1,e[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):e[3];return{type:"def",tag:t,raw:e[0],href:r,title:n}}}table(t){let e=this.rules.block.table.exec(t);if(!e||!this.rules.other.tableDelimiter.test(e[2]))return;let r=tv(e[1]),n=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(` 35`):[],i={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let t of n)this.rules.other.tableAlignRight.test(t)?i.align.push("right"):this.rules.other.tableAlignCenter.test(t)?i.align.push("center"):this.rules.other.tableAlignLeft.test(t)?i.align.push("left"):i.align.push(null);for(let t=0;t<r.length;t++)i.header.push({text:r[t],tokens:this.lexer.inline(r[t]),header:!0,align:i.align[t]});for(let t of a)i.rows.push(tv(t,i.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:i.align[e]})));return i}}lheading(t){let e=this.rules.block.lheading.exec(t);if(e)return{type:"heading",raw:e[0],depth:"="===e[2].charAt(0)?1:2,text:e[1],tokens:this.lexer.inline(e[1])}}paragraph(t){let e=this.rules.block.paragraph.exec(t);if(e){let t=e[1].charAt(e[1].length-1)===` 36`?e[1].slice(0,-1):e[1];return{type:"paragraph",raw:e[0],text:t,tokens:this.lexer.inline(t)}}}text(t){let e=this.rules.block.text.exec(t);if(e)return{type:"text",raw:e[0],text:e[0],tokens:this.lexer.inline(e[0])}}escape(t){let e=this.rules.inline.escape.exec(t);if(e)return{type:"escape",raw:e[0],text:e[1]}}tag(t){let e=this.rules.inline.tag.exec(t);if(e)return!this.lexer.state.inLink&&this.rules.other.startATag.test(e[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(e[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(e[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(e[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:e[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:e[0]}}link(t){let e=this.rules.inline.link.exec(t);if(e){let t=e[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(t)){if(!this.rules.other.endAngleBracket.test(t))return;let e=tA(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t,e){if(-1===t.indexOf(")"))return -1;let r=0;for(let n=0;n<t.length;n++)if("\\"===t[n])n++;else if("("===t[n])r++;else if(t[n]===e[1]&&--r<0)return n;return r>0?-2:-1}(e[2],"()");if(-2===t)return;if(t>-1){let r=(0===e[0].indexOf("!")?5:4)+e[1].length+t;e[2]=e[2].substring(0,t),e[0]=e[0].substring(0,r).trim(),e[3]=""}}let r=e[2],n="";if(this.options.pedantic){let t=this.rules.other.pedanticHrefTitle.exec(r);t&&(r=t[1],n=t[3])}else n=e[3]?e[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(t)?r.slice(1):r.slice(1,-1)),tS(e,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},e[0],this.lexer,this.rules)}}reflink(t,e){let r;if((r=this.rules.inline.reflink.exec(t))||(r=this.rules.inline.nolink.exec(t))){let t=e[(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!t){let t=r[0].charAt(0);return{type:"text",raw:t,text:t}}return tS(r,t,r[0],this.lexer,this.rules)}}emStrong(t,e,r=""){let n=this.rules.inline.emStrongLDelim.exec(t);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[2])||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,a,i,o=r,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,e=e.slice(-1*t.length+r);null!=(n=l.exec(e));){if(!(a=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(i=[...a].length,n[3]||n[4]){o+=i;continue}if((n[5]||n[6])&&r%3&&!((r+i)%3)){s+=i;continue}if((o-=i)>0)continue;i=Math.min(i,i+o+s);let e=[...n[0]][0].length,l=t.slice(0,r+n.index+e+i);if(Math.min(r,i)%2){let t=l.slice(1,-1);return{type:"em",raw:l,text:t,tokens:this.lexer.inlineTokens(t)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(t){let e=this.rules.inline.code.exec(t);if(e){let t=e[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(t),n=this.rules.other.startingSpaceChar.test(t)&&this.rules.other.endingSpaceChar.test(t);return r&&n&&(t=t.substring(1,t.length-1)),{type:"codespan",raw:e[0],text:t}}}br(t){let e=this.rules.inline.br.exec(t);if(e)return{type:"br",raw:e[0]}}del(t){let e=this.rules.inline.del.exec(t);if(e)return{type:"del",raw:e[0],text:e[2],tokens:this.lexer.inlineTokens(e[2])}}autolink(t){let e=this.rules.inline.autolink.exec(t);if(e){let t,r;return r="@"===e[2]?"mailto:"+(t=e[1]):t=e[1],{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}url(t){let e;if(e=this.rules.inline.url.exec(t)){let t,r;if("@"===e[2])r="mailto:"+(t=e[0]);else{let n;do n=e[0],e[0]=this.rules.inline._backpedal.exec(e[0])?.[0]??"";while(n!==e[0]);t=e[0],r="www."===e[1]?"http://"+e[0]:e[0]}return{type:"link",raw:e[0],text:t,href:r,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(t){let e=this.rules.inline.text.exec(t);if(e){let t=this.lexer.state.inRawBlock;return{type:"text",raw:e[0],text:e[0],escaped:t}}}},tT=class t{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||_,this.options.tokenizer=this.options.tokenizer||new tM,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let e={other:S,block:ty.normal,inline:tb.normal};this.options.pedantic?(e.block=ty.pedantic,e.inline=tb.pedantic):this.options.gfm&&(e.block=ty.gfm,this.options.breaks?e.inline=tb.breaks:e.inline=tb.gfm),this.tokenizer.rules=e}static get rules(){return{block:ty,inline:tb}}static lex(e,r){return new t(r).lex(e)}static lexInline(e,r){return new t(r).inlineTokens(e)}lex(t){t=t.replace(S.carriageReturn,` 37`),this.blockTokens(t,this.tokens);for(let t=0;
37t<this.inlineQueue.length;t++){let e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,e=[],r=!1){for(this.options.pedantic&&(t=t.replace(S.tabCharGlobal," ").replace(S.spaceLine,""));t;){let n;if(this.options.extensions?.block?.some(r=>!!(n=r.call({lexer:this},t,e))&&(t=t.substring(n.raw.length),e.push(n),!0)))continue;if(n=this.tokenizer.space(t)){t=t.substring(n.raw.length);let r=e.at(-1);1===n.raw.length&&void 0!==r?r.raw+=` 38`:e.push(n);continue}if(n=this.tokenizer.code(t)){t=t.substring(n.raw.length);let r=e.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(` 39`)?"":` 40`)+n.raw,r.text+=` 41`+n.text,this.inlineQueue.at(-1).src=r.text):e.push(n);continue}if((n=this.tokenizer.fences(t))||(n=this.tokenizer.heading(t))||(n=this.tokenizer.hr(t))||(n=this.tokenizer.blockquote(t))||(n=this.tokenizer.list(t))||(n=this.tokenizer.html(t))){t=t.substring(n.raw.length),e.push(n);continue}if(n=this.tokenizer.def(t)){t=t.substring(n.raw.length);let r=e.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(` 42`)?"":` 43`)+n.raw,r.text+=` 44`+n.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title},e.push(n));continue}if((n=this.tokenizer.table(t))||(n=this.tokenizer.lheading(t))){t=t.substring(n.raw.length),e.push(n);continue}let a=t;if(this.options.extensions?.startBlock){let e=1/0,r=t.slice(1),n;this.options.extensions.startBlock.forEach(t=>{"number"==typeof(n=t.call({lexer:this},r))&&n>=0&&(e=Math.min(e,n))}),e<1/0&&e>=0&&(a=t.substring(0,e+1))}if(this.state.top&&(n=this.tokenizer.paragraph(a))){let i=e.at(-1);r&&i?.type==="paragraph"?(i.raw+=(i.raw.endsWith(` 45`)?"":` 46`)+n.raw,i.text+=` 47`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=i.text):e.push(n),r=a.length!==t.length,t=t.substring(n.raw.length);continue}if(n=this.tokenizer.text(t)){t=t.substring(n.raw.length);let r=e.at(-1);r?.type==="text"?(r.raw+=(r.raw.endsWith(` 48`)?"":` 49`)+n.raw,r.text+=` 50`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):e.push(n);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return this.state.top=!0,e}inline(t,e=[]){return this.inlineQueue.push({src:t,tokens:e}),e}inlineTokens(t,e=[]){let r,n=t,a=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(n));)t.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,a.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(n));)r=a[2]?a[2].length:0,n=n.slice(0,a.index+r)+"["+"a".repeat(a[0].length-r-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let i=!1,o="";for(;t;){let r;if(i||(o=""),i=!1,this.options.extensions?.inline?.some(n=>!!(r=n.call({lexer:this},t,e))&&(t=t.substring(r.raw.length),e.push(r),!0)))continue;if((r=this.tokenizer.escape(t))||(r=this.tokenizer.tag(t))||(r=this.tokenizer.link(t))){t=t.substring(r.raw.length),e.push(r);continue}if(r=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(r.raw.length);let n=e.at(-1);"text"===r.type&&n?.type==="text"?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if((r=this.tokenizer.emStrong(t,n,o))||(r=this.tokenizer.codespan(t))||(r=this.tokenizer.br(t))||(r=this.tokenizer.del(t))||(r=this.tokenizer.autolink(t))||!this.state.inLink&&(r=this.tokenizer.url(t))){t=t.substring(r.raw.length),e.push(r);continue}let a=t;if(this.options.extensions?.startInline){let e=1/0,r=t.slice(1),n;this.options.extensions.startInline.forEach(t=>{"number"==typeof(n=t.call({lexer:this},r))&&n>=0&&(e=Math.min(e,n))}),e<1/0&&e>=0&&(a=t.substring(0,e+1))}if(r=this.tokenizer.inlineText(a)){t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(o=r.raw.slice(-1)),i=!0;let n=e.at(-1);n?.type==="text"?(n.raw+=r.raw,n.text+=r.text):e.push(r);continue}if(t){let e="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(e);break}throw Error(e)}}return e}},tL=class{options;parser;constructor(t){this.options=t||_}space(t){return""}code({text:t,lang:e,escaped:r}){let n=(e||"").match(S.notSpaceStart)?.[0],a=t.replace(S.endingNewline,"")+` 51`;return n?'<pre><code class="language-'+t_(n)+'">'+(r?a:t_(a,!0))+`</code></pre> 52`:"<pre><code>"+(r?a:t_(a,!0))+`</code></pre> 53`}blockquote({tokens:t}){return`<blockquote> 54${this.parser.parse(t)}</blockquote> 55`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:e}){return`<h${e}>${this.parser.parseInline(t)}</h${e}> 56`}hr(t){return`<hr> 57`}list(t){let e=t.ordered,r=t.start,n="";for(let e=0;e<t.items.length;e++){let r=t.items[e];n+=this.listitem(r)}let a=e?"ol":"ul";return"<"+a+(e&&1!==r?' start="'+r+'"':"")+`> 58`+n+"</"+a+`> 59`}listitem(t){let e="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=r+" "+t_(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):e+=r+" "}return e+=this.parser.parse(t.tokens,!!t.loose),`<li>${e}</li> 60`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p> 61`}table(t){let e="",r="";for(let e=0;e<t.header.length;e++)r+=this.tablecell(t.header[e]);e+=this.tablerow({text:r});let n="";for(let e=0;e<t.rows.length;e++){let a=t.rows[e];r="";for(let t=0;t<a.length;t++)r+=this.tablecell(a[t]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),`<table> 62<thead> 63`+e+`</thead> 64`+n+`</table> 65`}tablerow({text:t}){return`<tr> 66${t}</tr> 67`}tablecell(t){let e=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+e+`</${r}> 68`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${t_(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:e,tokens:r}){let n=this.parser.parseInline(r),a=tw(t);if(null===a)return n;let i='<a href="'+(t=a)+'"';return e&&(i+=' title="'+t_(e)+'"'),i+=">"+n+"</a>"}image({href:t,title:e,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let a=tw(t);if(null===a)return t_(r);t=a;let i=`<img src="${t}" alt="${r}"`;return e&&(i+=` title="${t_(e)}"`),i+=">"}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:t_(t.text)}},tO=class{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}},tE=class t{options;renderer;textRenderer;constructor(t){this.options=t||_,this.options.renderer=this.options.renderer||new tL,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new tO}static parse(e,r){return new t(r).parse(e)}static parseInline(e,r){return new t(r).parseInline(e)}parse(t,e=!0){let r="";for(let n=0;n<t.length;n++){let a=t[n];if(this.options.extensions?.renderers?.[a.type]){let t=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(a.type)){r+=t||"";continue}}switch(a.type){case"space":r+=this.renderer.space(a);continue;case"hr":r+=this.renderer.hr(a);continue;case"heading":r+=this.renderer.heading(a);continue;case"code":r+=this.renderer.code(a);continue;case"table":r+=this.renderer.table(a);continue;case"blockquote":r+=this.renderer.blockquote(a);continue;case"list":r+=this.renderer.list(a);continue;case"html":r+=this.renderer.html(a);continue;case"def":r+=this.renderer.def(a);continue;
68case"paragraph":r+=this.renderer.paragraph(a);continue;case"text":{let i=a,o=this.renderer.text(i);for(;n+1<t.length&&"text"===t[n+1].type;)i=t[++n],o+=` 69`+this.renderer.text(i);e?r+=this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o,escaped:!0}]}):r+=o;continue}default:{let t='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return r}parseInline(t,e=this.renderer){let r="";for(let n=0;n<t.length;n++){let a=t[n];if(this.options.extensions?.renderers?.[a.type]){let t=this.options.extensions.renderers[a.type].call({parser:this},a);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(a.type)){r+=t||"";continue}}switch(a.type){case"escape":case"text":r+=e.text(a);break;case"html":r+=e.html(a);break;case"link":r+=e.link(a);break;case"image":r+=e.image(a);break;case"strong":r+=e.strong(a);break;case"em":r+=e.em(a);break;case"codespan":r+=e.codespan(a);break;case"br":r+=e.br(a);break;case"del":r+=e.del(a);break;default:{let t='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return r}},tC=class{options;block;constructor(t){this.options=t||_}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}emStrongMask(t){return t}provideLexer(){return this.block?tT.lex:tT.lexInline}provideParser(){return this.block?tE.parse:tE.parseInline}},t$=new class{defaults=x();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=tE;Renderer=tL;TextRenderer=tO;Lexer=tT;Tokenizer=tM;Hooks=tC;constructor(...t){this.use(...t)}walkTokens(t,e){let r=[];for(let n of t)switch(r=r.concat(e.call(this,n)),n.type){case"table":for(let t of n.header)r=r.concat(this.walkTokens(t.tokens,e));for(let t of n.rows)for(let n of t)r=r.concat(this.walkTokens(n.tokens,e));break;case"list":r=r.concat(this.walkTokens(n.items,e));break;default:{let t=n;this.defaults.extensions?.childTokens?.[t.type]?this.defaults.extensions.childTokens[t.type].forEach(n=>{let a=t[n].flat(1/0);r=r.concat(this.walkTokens(a,e))}):t.tokens&&(r=r.concat(this.walkTokens(t.tokens,e)))}}return r}use(...t){let e=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(t=>{let r={...t};if(r.async=this.defaults.async||r.async||!1,t.extensions&&(t.extensions.forEach(t=>{if(!t.name)throw Error("extension name required");if("renderer"in t){let r=e.renderers[t.name];r?e.renderers[t.name]=function(...e){let n=t.renderer.apply(this,e);return!1===n&&(n=r.apply(this,e)),n}:e.renderers[t.name]=t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw Error("extension level must be 'block' or 'inline'");let r=e[t.level];r?r.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)}),r.extensions=e),t.renderer){let e=this.defaults.renderer||new tL(this.defaults);for(let r in t.renderer){if(!(r in e))throw Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let n=t.renderer[r],a=e[r];e[r]=(...t)=>{let r=n.apply(e,t);return!1===r&&(r=a.apply(e,t)),r||""}}r.renderer=e}if(t.tokenizer){let e=this.defaults.tokenizer||new tM(this.defaults);for(let r in t.tokenizer){if(!(r in e))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=t.tokenizer[r],a=e[r];e[r]=(...t)=>{let r=n.apply(e,t);return!1===r&&(r=a.apply(e,t)),r}}r.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new tC;for(let r in t.hooks){if(!(r in e))throw Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let n=t.hooks[r],a=e[r];tC.passThroughHooks.has(r)?e[r]=t=>{if(this.defaults.async&&tC.passThroughHooksRespectAsync.has(r))return(async()=>{let r=await n.call(e,t);return a.call(e,r)})();let i=n.call(e,t);return a.call(e,i)}:e[r]=(...t)=>{if(this.defaults.async)return(async()=>{let r=await n.apply(e,t);return!1===r&&(r=await a.apply(e,t)),r})();let r=n.apply(e,t);return!1===r&&(r=a.apply(e,t)),r}}r.hooks=e}if(t.walkTokens){let e=this.defaults.walkTokens,n=t.walkTokens;r.walkTokens=function(t){let r=[];return r.push(n.call(this,t)),e&&(r=r.concat(e.call(this,t))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,e){return tT.lex(t,e??this.defaults)}parser(t,e){return tE.parse(t,e??this.defaults)}parseMarkdown(t){return(e,r)=>{let n={...r},a={...this.defaults,...n},i=this.onError(!!a.silent,!!a.async);if(!0===this.defaults.async&&!1===n.async)return i(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof e>"u"||null===e)return i(Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return i(Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=t),a.async)return(async()=>{let r=a.hooks?await a.hooks.preprocess(e):e,n=await (a.hooks?await a.hooks.provideLexer():t?tT.lex:tT.lexInline)(r,a),i=a.hooks?await a.hooks.processAllTokens(n):n;a.walkTokens&&await Promise.all(this.walkTokens(i,a.walkTokens));let o=await (a.hooks?await a.hooks.provideParser():t?tE.parse:tE.parseInline)(i,a);return a.hooks?await a.hooks.postprocess(o):o})().catch(i);try{a.hooks&&(e=a.hooks.preprocess(e));let r=(a.hooks?a.hooks.provideLexer():t?tT.lex:tT.lexInline)(e,a);a.hooks&&(r=a.hooks.processAllTokens(r)),a.walkTokens&&this.walkTokens(r,a.walkTokens);let n=(a.hooks?a.hooks.provideParser():t?tE.parse:tE.parseInline)(r,a);return a.hooks&&(n=a.hooks.postprocess(n)),n}catch(t){return i(t)}}}onError(t,e){return r=>{if(r.message+=` 70Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error occurred:</p><pre>"+t_(r.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}};function tR(t,e){return t$.parse(t,e)}tR.options=tR.setOptions=function(t){return t$.setOptions(t),tR.defaults=t$.defaults,_=tR.defaults,tR},tR.getDefaults=x,tR.defaults=_,tR.use=function(...t){return t$.use(...t),tR.defaults=t$.defaults,_=tR.defaults,tR},tR.walkTokens=function(t,e){return t$.walkTokens(t,e)},tR.parseInline=t$.parseInline,tR.Parser=tE,tR.parser=tE.parse,tR.Renderer=tL,tR.TextRenderer=tO,tR.Lexer=tT,tR.lexer=tT.lex,tR.Tokenizer=tM,tR.Hooks=tC,tR.parse=tR,tR.options,tR.setOptions,tR.use,tR.walkTokens,tR.parseInline,tE.parse,tT.lex;var tK=r(899434),tI={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},tP=new Map,tN=new Map,tD=(0,i.K2)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');
70if(i.Rm.debug("Registering icon pack:",e.name),"loader"in e)tN.set(e.name,e.loader);else if("icons"in e)tP.set(e.name,e.icons);else throw i.Rm.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),tj=(0,i.K2)(async(t,e)=>{let r=((t,e,r,n="")=>{let a=t.split(":");if("@"===t.slice(0,1)){if(a.length<2||a.length>3)return null;n=a.shift().slice(1)}if(a.length>3||!a.length)return null;if(a.length>1){let t=a.pop(),r=a.pop(),i={provider:a.length>0?a[0]:n,prefix:r,name:t};return e&&!o(i)?null:i}let i=a[0],s=i.split("-");if(s.length>1){let t={provider:n,prefix:s.shift(),name:s.join("-")};return e&&!o(t)?null:t}if(r&&""===n){let t={provider:n,prefix:"",name:i};return e&&!o(t,r)?null:t}return null})(t,!0,void 0!==e);if(!r)throw Error(`Invalid icon name: ${t}`);let n=r.prefix||e;if(!n)throw Error(`Icon name must contain a prefix: ${t}`);let a=tP.get(n);if(!a){let t=tN.get(n);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await t(),prefix:n},tP.set(n,a)}catch(t){throw i.Rm.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let s=function(t,e){if(t.icons[e])return p(t,e,[]);let r=function(t,e){let r=t.icons,n=t.aliases||Object.create(null),a=Object.create(null);return(e||Object.keys(r).concat(Object.keys(n))).forEach(function t(e){if(r[e])return a[e]=[];if(!(e in a)){a[e]=null;let r=n[e]&&n[e].parent,i=r&&t(r);i&&(a[e]=[r].concat(i))}return a[e]}),a}(t,[e])[e];return r?p(t,e,r):null}(a,r.name);if(!s)throw Error(`Icon not found: ${t}`);return s},"getRegisteredIconData"),tz=(0,i.K2)(async t=>{try{return await tj(t),!0}catch{return!1}},"isIconAvailable"),tF=(0,i.K2)(async(t,e,r)=>{let n;try{n=await tj(t,e?.fallbackPrefix)}catch(t){i.Rm.error(t),n=tI}let o=function(t,e){let r,n,a={...c,...t},i={...d,...e},o={left:a.left,top:a.top,width:a.width,height:a.height},s=a.body;[a,i].forEach(t=>{let e,r=[],n=t.hFlip,a=t.vFlip,i=t.rotate;switch(n?a?i+=2:(r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),r.push("scale(-1 1)"),o.top=o.left=0):a&&(r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),r.push("scale(1 -1)"),o.top=o.left=0),i<0&&(i-=4*Math.floor(i/4)),i%=4){case 1:r.unshift("rotate(90 "+(e=o.height/2+o.top).toString()+" "+e.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:r.unshift("rotate(-90 "+(e=o.width/2+o.left).toString()+" "+e.toString()+")")}i%2==1&&(o.left!==o.top&&(e=o.left,o.left=o.top,o.top=e),o.width!==o.height&&(e=o.width,o.width=o.height,o.height=e)),r.length&&(s=function(t,e,r){var n,a;let i=function(t,e="defs"){let r="",n=t.indexOf("<"+e);for(;n>=0;){let a=t.indexOf(">",n),i=t.indexOf("</"+e);if(-1===a||-1===i)break;let o=t.indexOf(">",i);if(-1===o)break;r+=t.slice(a+1,i).trim(),t=t.slice(0,n).trim()+t.slice(o+1)}return{defs:r,content:t}}(t);return n=i.defs,a=e+i.content+r,n?"<defs>"+n+"</defs>"+a:a}(s,'<g transform="'+r.join(" ")+'">',"</g>"))});let l=i.width,u=i.height,h=o.width,p=o.height;null===l?r=m(n=null===u?"1em":"auto"===u?p:u,h/p):(r="auto"===l?h:l,n=null===u?m(r,p/h):"auto"===u?p:u);let f={},g=(t,e)=>{"unset"!==e&&"undefined"!==e&&"none"!==e&&(f[t]=e.toString())};g("width",r),g("height",n);let y=[o.left,o.top,h,p];return f.viewBox=y.join(" "),{attributes:f,viewBox:y,body:s}}(n,e),s=function(t,e){let r=-1===t.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let t in e)r+=" "+t+'="'+e[t]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+t+"</svg>"}(function(t){let e,r=[];for(;e=y.exec(t);)r.push(e[1]);if(!r.length)return t;let n="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return r.forEach(e=>{let r=function(t){t=t.replace(/[0-9]+$/,"")||"a";let e=b.get(t)||0;return b.set(t,e+1),e?`${t}${e}`:t}(e),a=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+r+n+"$3")}),t=t.replace(RegExp(n,"g"),"")}(o.body),{...o.attributes,...r});return(0,a.jZ)(s,(0,a.zj)())},"getIconSVG");function tB(t,{markdownAutoWrap:e}){let r=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n");return(0,tK.T)(r)}function tU(t){return t.split(/\\n|\n|<br\s*\/?>/gi).map(t=>t.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(t=>({content:t,type:"normal"}))??[])}function tW(t,e={}){let r=tB(t,e),n=tR.lexer(r),a=[[]],o=0;function s(t,e="normal"){"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(o++,a.push([])),t.split(" ").forEach(t=>{(t=t.replace(/'/g,"'"))&&a[o].push({content:t,type:e})})}
70):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&a[o].push({content:t.text,type:"normal"})}return(0,i.K2)(s,"processNode"),n.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type?a[o].push({content:t.text,type:"normal"}):a[o].push({content:t.raw,type:"normal"})}),a}function tH(t){return t?`<p>${t.replace(/\\n|\n/g,"<br />")}</p>`:""}function tY(t,{markdownAutoWrap:e}={}){let r=tR.lexer(t);function n(t){if("text"===t.type)return!1===e?t.text.replace(/\n */g,"<br/>").replace(/ /g," "):t.text.replace(/\n */g,"<br/>");if("strong"===t.type)return`<strong>${t.tokens?.map(n).join("")}</strong>`;if("em"===t.type)return`<em>${t.tokens?.map(n).join("")}</em>`;if("paragraph"===t.type)return`<p>${t.tokens?.map(n).join("")}</p>`;if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return i.Rm.warn(`Unsupported markdown: ${t.type}`),t.raw}return(0,i.K2)(n,"output"),r.map(n).join("")}function tq(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tG(t,e){return tX(t,[],tq(e.content),e.type)}function tX(t,e,r,n){if(0===r.length)return[{content:e.join(""),type:n},{content:"",type:n}];let[a,...i]=r,o=[...e,a];return t([{content:o.join(""),type:n}])?tX(t,o,i,n):(0===e.length&&a&&(e.push(a),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function tZ(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return tV(t,e)}function tV(t,e,r=[],n=[]){if(0===t.length)return n.length>0&&r.push(n),r.length>0?r:[];let a="";" "===t[0].content&&(a=" ",t.shift());let i=t.shift()??{content:" ",type:"normal"},o=[...n];if(""!==a&&o.push({content:a,type:"normal"}),o.push(i),e(o))return tV(t,e,r,o);if(n.length>0)r.push(n),t.unshift(i);else if(i.content){let[n,a]=tG(e,i);r.push([n]),a.content&&t.unshift(a)}return tV(t,e,r)}function tQ(t,e){e&&t.attr("style",e)}async function tJ(t,e,r,n,i=!1,o=(0,a.zj)()){let s=t.append("foreignObject");s.attr("width",`${Math.min(10*r,16384)}px`),s.attr("height",`${Math.min(10*r,16384)}px`);let l=s.append("xhtml:div"),c=(0,a.Wi)(e.label)?await (0,a.dj)(e.label.replace(a.Y2.lineBreakRegex,"\n"),o):(0,a.jZ)(e.label,o),u=e.isNode?"nodeLabel":"edgeLabel",h=l.append("span");h.html(c),tQ(h,e.labelStyle),h.attr("class",`${u} ${n}`),tQ(l,e.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),r!==1/0&&(l.style("max-width",r+"px"),l.style("text-align","center")),l.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&l.attr("class","labelBkg");let p=l.node().getBoundingClientRect();return p.width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px"),p=l.node().getBoundingClientRect()),s.node()}function t0(t,e,r,n=!1){let a=t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em");return n&&a.attr("text-anchor","middle"),a}function t1(t,e,r){let n=t.append("text"),a=t0(n,1,e);t6(a,r);let i=a.node().getComputedTextLength();return n.remove(),i}function t2(t,e,r){let n=t.append("text"),a=t0(n,1,e);t6(a,[{content:r,type:"normal"}]);let i=a.node()?.getBoundingClientRect();return i&&n.remove(),i}function t3(t,e,r,n=!1,a=!1){let o=e.append("g"),s=o.insert("rect").attr("class","background").attr("style","stroke: none"),l=o.append("text").attr("y","-10.1");a&&l.attr("text-anchor","middle");let c=0;for(let e of r){let r=(0,i.K2)(e=>t1(o,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:tZ(e,r))t6(t0(l,c,1.1,a),t),c++}if(!n)return l.node();{let t=l.node().getBBox();return s.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),o.node()}}function t5(t){return t.replace(/&(amp|lt|gt);/g,(t,e)=>{switch(e){case"amp":return"&";case"lt":return"<";case"gt":return">";default:return t}})}function t6(t,e){t.text(""),e.forEach((e,r)=>{let n=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?n.text(t5(e.content)):n.text(" "+t5(e.content))})}async function t9(t,e={}){let r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(t,n,i)=>(r.push((async()=>{let r=`${n}:${i}`;return await tz(r)?await tF(r,void 0,{class:"label-icon"}):`<i class='${(0,a.jZ)(t,e).replace(":"," ")}'></i>`})()),t));let n=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>n.shift()??"")}(0,i.K2)(tB,"preprocessMarkdown"),(0,i.K2)(tU,"nonMarkdownToLines"),(0,i.K2)(tW,"markdownToLines"),(0,i.K2)(tH,"nonMarkdownToHTML"),(0,i.K2)(tY,"markdownToHTML"),(0,i.K2)(tq,"splitTextToChars"),(0,i.K2)(tG,"splitWordToFitWidth"),(0,i.K2)(tX,"splitWordToFitWidthRecursion"),(0,i.K2)(tZ,"splitLineToFitWidth"),(0,i.K2)(tV,"splitLineToFitWidthRecursion"),(0,i.K2)(tQ,"applyStyle"),(0,i.K2)(tJ,"addHtmlSpan"),(0,i.K2)(t0,"createTspan"),(0,i.K2)(t1,"computeWidthOfText"),
70(0,i.K2)(t2,"computeDimensionOfText"),(0,i.K2)(t3,"createFormattedText"),(0,i.K2)(t5,"decodeHTMLEntities"),(0,i.K2)(t6,"updateTextContentAndStyles"),(0,i.K2)(t9,"replaceIconSubstring");var t8=(0,i.K2)(async(t,e="",{style:r="",isTitle:o=!1,classes:s="",useHtmlLabels:l=!0,markdown:c=!0,isNode:u=!0,width:h=200,addSvgBackground:p=!1}={},d)=>{if(i.Rm.debug("XYZ createText",e,r,o,s,l,u,"addSvgBackground: ",p),l){let i=c?tY(e,d):tH(e),o=await t9((0,n.Sm)(i),d),l=e.replace(/\\\\/g,"\\"),f={isNode:u,label:(0,a.Wi)(e)?l:o,labelStyle:r.replace("fill:","color:")};return await tJ(t,f,h,s,p,d)}{let a=(0,n.Sm)(e.replace(/<br\s*\/?>/g,"<br/>")),i=t3(h,t,c?tW(a.replace("<br>","<br/>"),d):tU(a),!!e&&p,!u);if(u){/stroke:/.exec(r)&&(r=r.replace("stroke:","lineColor:"));let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,k.Ltv)(i).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,k.Ltv)(i).select("rect").attr("style",t.replace(/background:/g,"fill:"));let e=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,k.Ltv)(i).select("text").attr("style",e)}return o?(0,k.Ltv)(i).selectAll("tspan.text-outer-tspan").classed("title-row",!0):(0,k.Ltv)(i).selectAll("tspan.text-outer-tspan").classed("row",!0),i}},"createText")},522919:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=(0,r(743468).A)(Object,"create"),a=Object.prototype.hasOwnProperty,i=Object.prototype.hasOwnProperty;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}o.prototype.clear=function(){this.__data__=n?n(null):{},this.size=0},o.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},o.prototype.get=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return a.call(e,t)?e[t]:void 0},o.prototype.has=function(t){var e=this.__data__;return n?void 0!==e[t]:i.call(e,t)},o.prototype.set=function(t,e){var r=this.__data__;return this.size+=+!this.has(t),r[t]=n&&void 0===e?"__lodash_hash_undefined__":e,this};var s=r(640760),l=r(454714);let c=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t},u=function(t,e){var r=t.__data__;return c(e)?r["string"==typeof e?"string":"hash"]:r.map};function h(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=function(){this.size=0,this.__data__={hash:new o,map:new(l.A||s.A),string:new o}},h.prototype.delete=function(t){var e=u(this,t).delete(t);return this.size-=!!e,e},h.prototype.get=function(t){return u(this,t).get(t)},h.prototype.has=function(t){return u(this,t).has(t)},h.prototype.set=function(t,e){var r=u(this,t),n=r.size;return r.set(t,e),this.size+=+(r.size!=n),this};let p=h},539010:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(778104),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof module&&module&&!module.nodeType&&module,o=i&&i.exports===a?n.A.Buffer:void 0;let s=(o?o.isBuffer:void 0)||function(){return!1}},543340:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=r(778104).A.Symbol},558065:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=r(778104).A.Uint8Array},566964:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=/^(?:0|[1-9]\d*)$/;let a=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t<e}},571106:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(958002),a=(0,r(360442).A)(Object.keys,Object),i=Object.prototype.hasOwnProperty;let o=function(t){if(!(0,n.A)(t))return a(t);var e=[];for(var r in Object(t))i.call(t,r)&&"constructor"!=r&&e.push(r);return e}},607245:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(320537);let a=function(t,e,r){"__proto__"==e&&n.A?(0,n.A)(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}},617596:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=Array.isArray},640760:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(165797);let a=function(t,e){for(var r=t.length;r--;)if((0,n.A)(t[r][0],e))return r;return -1};var i=Array.prototype.splice;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}o.prototype.clear=function(){this.__data__=[],this.size=0},o.prototype.delete=function(t){var e=this.__data__,r=a(e,t);
70return!(r<0)&&(r==e.length-1?e.pop():i.call(e,r,1),--this.size,!0)},o.prototype.get=function(t){var e=this.__data__,r=a(e,t);return r<0?void 0:e[r][1]},o.prototype.has=function(t){return a(this.__data__,t)>-1},o.prototype.set=function(t,e){var r=this.__data__,n=a(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};let s=o},646972:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(743468),a=r(778104);let i=(0,n.A)(a.A,"Set")},653971:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(){return t}}},658972:(t,e,r)=>{"use strict";r.r(e),r.d(e,{default:()=>r_});var n=r(252460),a=r(912325),i=r(27742);r(71319),r(915992),r(876230),r(860121),r(448152);var o=r(478046),s=r(250976),l=r(208509),c=r(195611),u=r(899434),h=r(98353),p="comm",d="rule",f="decl",g=Math.abs,m=String.fromCharCode;function y(t,e,r){return t.replace(e,r)}function b(t,e){return 0|t.charCodeAt(e)}function k(t,e,r){return t.slice(e,r)}function x(t){return t.length}function _(t,e){return e.push(t),t}function w(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function v(t,e,r,n){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case"@namespace":case f:return t.return=t.return||t.value;case p:return"";case"@keyframes":return t.return=t.value+"{"+w(t.children,n)+"}";case d:if(!x(t.value=t.props.join(",")))return""}return x(r=w(t.children,n))?t.return=t.value+"{"+r+"}":""}Object.assign;var A=1,S=1,M=0,T=0,L=0,O="";function E(t,e,r,n,a,i,o,s){return{value:t,root:e,parent:r,type:n,props:a,children:i,line:A,column:S,length:o,return:"",siblings:s}}function C(){return L=T<M?b(O,T++):0,S++,10===L&&(S=1,A++),L}function $(){return b(O,T)}function R(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function K(t){var e,r;return(e=T-1,r=function t(e){for(;C();)switch(L){case e:return T;case 34:case 39:34!==e&&39!==e&&t(L);break;case 40:41===e&&t(e);break;case 92:C()}return T}(91===t?t+2:40===t?t+1:t),k(O,e,r)).trim()}function I(t,e,r,n,a,i,o,s,l,c,u,h){for(var p=a-1,f=0===a?i:[""],m=f.length,b=0,x=0,_=0;b<n;++b)for(var w=0,v=k(t,p+1,p=g(x=o[b])),A=t;w<m;++w)(A=(x>0?f[w]+" "+v:y(v,/&\f/g,f[w])).trim())&&(l[_++]=A);return E(t,e,r,0===a?d:s,l,c,u,h)}function P(t,e,r,n,a){return E(t,e,r,f,k(t,0,n),k(t,n+1,-1),n,a)}var N=r(901248),D=r(661340),j={id:"c4",detector:(0,c.K2)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await r.e(4450).then(r.bind(r,364450));return{id:"c4",diagram:t}},"loader")},z="flowchart",F=(0,c.K2)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),B=(0,c.K2)(async()=>{let{diagram:t}=await r.e(2066).then(r.bind(r,552066));return{id:z,diagram:t}},"loader"),U={id:z,detector:F,loader:B},W="flowchart-v2",H=(0,c.K2)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),Y=(0,c.K2)(async()=>{let{diagram:t}=await r.e(2066).then(r.bind(r,552066));return{id:W,diagram:t}},"loader"),q={id:W,detector:H,loader:Y},G={id:"er",detector:(0,c.K2)(t=>/^\s*erDiagram/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await r.e(2936).then(r.bind(r,622936));return{id:"er",diagram:t}},"loader")},X="gitGraph",Z=(0,c.K2)(t=>/^\s*gitGraph/.test(t),"detector"),V=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(9710),r.e(1445)]).then(r.bind(r,471445));return{id:X,diagram:t}},"loader"),Q={id:X,detector:Z,loader:V},J="gantt",tt=(0,c.K2)(t=>/^\s*gantt/.test(t),"detector"),te=(0,c.K2)(async()=>{let{diagram:t}=await r.e(1984).then(r.bind(r,281984));return{id:J,diagram:t}},"loader"),tr={id:J,detector:tt,loader:te},tn="info",ta=(0,c.K2)(t=>/^\s*info/.test(t),"detector"),ti=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(9710),r.e(4154)]).then(r.bind(r,674154));return{id:tn,diagram:t}},"loader"),to={id:tn,detector:ta,loader:ti},ts={id:"pie",detector:(0,c.K2)(t=>/^\s*pie/.test(t),"detector"),loader:(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(9710),r.e(9583)]).then(r.bind(r,709583));return{id:"pie",diagram:t}},"loader")},tl="quadrantChart",tc=(0,c.K2)(t=>/^\s*quadrantChart/.test(t),"detector"),tu=(0,c.K2)(async()=>{let{diagram:t}=await r.e(9532).then(r.bind(r,79532));return{id:tl,diagram:t}},"loader"),th={id:tl,detector:tc,loader:tu},tp="xychart",td=(0,c.K2)(t=>/^\s*xychart(-beta)?/.test(t),"detector"),tf=(0,c.K2)(async()=>{let{diagram:t}=await r.e(5825).then(r.bind(r,735825));return{id:tp,diagram:t}},"loader"),tg={id:tp,detector:td,loader:tf},tm="requirement",ty=(0,c.K2)(t=>
70/^\s*requirement(Diagram)?/.test(t),"detector"),tb=(0,c.K2)(async()=>{let{diagram:t}=await r.e(2526).then(r.bind(r,302526));return{id:tm,diagram:t}},"loader"),tk={id:tm,detector:ty,loader:tb},tx="sequence",t_=(0,c.K2)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tw=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(5402),r.e(6598)]).then(r.bind(r,124392));return{id:tx,diagram:t}},"loader"),tv={id:tx,detector:t_,loader:tw},tA="class",tS=(0,c.K2)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tM=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(2607),r.e(1692)]).then(r.bind(r,431692));return{id:tA,diagram:t}},"loader"),tT={id:tA,detector:tS,loader:tM},tL="classDiagram",tO=(0,c.K2)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),tE=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(2607),r.e(2886)]).then(r.bind(r,12886));return{id:tL,diagram:t}},"loader"),tC={id:tL,detector:tO,loader:tE},t$="state",tR=(0,c.K2)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),tK=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(6863),r.e(3095),r.e(1564),r.e(1799)]).then(r.bind(r,881799));return{id:t$,diagram:t}},"loader"),tI={id:t$,detector:tR,loader:tK},tP="stateDiagram",tN=(0,c.K2)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),tD=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(1564),r.e(7588)]).then(r.bind(r,507588));return{id:tP,diagram:t}},"loader"),tj={id:tP,detector:tN,loader:tD},tz="journey",tF=(0,c.K2)(t=>/^\s*journey/.test(t),"detector"),tB=(0,c.K2)(async()=>{let{diagram:t}=await r.e(3692).then(r.bind(r,423692));return{id:tz,diagram:t}},"loader"),tU={id:tz,detector:tF,loader:tB},tW={draw:(0,c.K2)((t,e,r)=>{c.Rm.debug("rendering svg for syntax error\n");let a=(0,n.D)(e),i=a.append("g");a.attr("viewBox","0 0 2412 512"),(0,l.a$)(a,100,512,!0),i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.
70164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},tH={db:{},renderer:tW,parser:{parse:(0,c.K2)(()=>{},"parse")}},tY="flowchart-elk",tq=(0,c.K2)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),tG=(0,c.K2)(async()=>{let{diagram:t}=await r.e(2066).then(r.bind(r,552066));return{id:tY,diagram:t}},"loader"),tX={id:tY,detector:tq,loader:tG},tZ="timeline",tV=(0,c.K2)(t=>/^\s*timeline/.test(t),"detector"),tQ=(0,c.K2)(async()=>{let{diagram:t}=await r.e(2028).then(r.bind(r,82028));return{id:tZ,diagram:t}},"loader"),tJ={id:tZ,detector:tV,loader:tQ},t0="mindmap",t1=(0,c.K2)(t=>/^\s*mindmap/.test(t),"detector"),t2=(0,c.K2)(async()=>{let{diagram:t}=await r.e(346).then(r.bind(r,820346));return{id:t0,diagram:t}},"loader"),t3={id:t0,detector:t1,loader:t2},t5="kanban",t6=(0,c.K2)(t=>/^\s*kanban/.test(t),"detector"),t9=(0,c.K2)(async()=>{let{diagram:t}=await r.e(482).then(r.bind(r,780482));return{id:t5,diagram:t}},"loader"),t8={id:t5,detector:t6,loader:t9},t4="sankey",t7=(0,c.K2)(t=>/^\s*sankey(-beta)?/.test(t),"detector"),et=(0,c.K2)(async()=>{let{diagram:t}=await r.e(125).then(r.bind(r,370125));return{id:t4,diagram:t}},"loader"),ee={id:t4,detector:t7,loader:et},er="packet",en=(0,c.K2)(t=>/^\s*packet(-beta)?/.test(t),"detector"),ea=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(9710),r.e(9205)]).then(r.bind(r,569205));return{id:er,diagram:t}},"loader"),ei={id:er,detector:en,loader:ea},eo="radar",es=(0,c.K2)(t=>/^\s*radar-beta/.test(t),"detector"),el=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(9710),r.e(1453)]).then(r.bind(r,521453));return{id:eo,diagram:t}},"loader"),ec={id:eo,detector:es,loader:el},eu="block",eh=(0,c.K2)(t=>/^\s*block(-beta)?/.test(t),"detector"),ep=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(6863),r.e(9161)]).then(r.bind(r,939161));return{id:eu,diagram:t}},"loader"),ed={id:eu,detector:eh,loader:ep},ef="treeView",eg=(0,c.K2)(t=>/^\s*treeView-beta/.test(t),"detector"),em=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(9710),r.e(2129)]).then(r.bind(r,492129));return{id:ef,diagram:t}},"loader"),ey={id:ef,detector:eg,loader:em},eb="architecture",ek=(0,c.K2)(t=>/^\s*architecture/.test(t),"detector"),ex=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(8669),r.e(4081),r.e(9710),r.e(1563)]).then(r.bind(r,153944));return{id:eb,diagram:t}},"loader"),e_={id:eb,detector:ek,loader:ex},ew="ishikawa",ev=(0,c.K2)(t=>/^\s*ishikawa(-beta)?\b/i.test(t),"detector"),eA=(0,c.K2)(async()=>{let{diagram:t}=await r.e(9781).then(r.bind(r,989781));return{id:ew,diagram:t}},"loader"),eS={id:ew,detector:ev,loader:eA},eM="venn",eT=(0,c.K2)(t=>/^\s*venn-beta/.test(t),"detector"),eL=(0,c.K2)(async()=>{let{diagram:t}=await r.e(278).then(r.bind(r,410278));return{id:eM,diagram:t}},"loader"),eO={id:eM,detector:eT,loader:eL},eE="treemap",eC=(0,c.K2)(t=>/^\s*treemap/.test(t),"detector"),e$=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(9710),r.e(9365)]).then(r.bind(r,779365));return{id:eE,diagram:t}},"loader"),eR={id:eE,detector:eC,loader:e$},eK="wardley-beta",eI=(0,c.K2)(t=>/^\s*wardley-beta/i.test(t),"detector"),eP=(0,c.K2)(async()=>{let{diagram:t}=await Promise.all([r.e(4081),r.e(9710),r.e(6156)]).then(r.bind(r,136156));return{id:eK,diagram:t}},"loader"),eN={id:eK,detector:eI,loader:eP},eD=!1,ej=(0,c.K2)(()=>{eD||(eD=!0,(0,l.Js)("error",tH,t=>"error"===t.toLowerCase().trim()),(0,l.Js)("---",{db:{clear:(0,c.K2)(()=>{},"clear")},styles:{},renderer:{draw:(0,c.K2)(()=>{},"draw")},parser:{parse:(0,c.K2)(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:(0,c.K2)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,l.Xd)(tX,t3,e_),(0,l.Xd)(j,t8,tC,tT,G,tr,to,ts,tk,tv,q,U,tJ,Q,tj,tI,tU,th,ee,ei,tg,ed,ey,ec,eS,eR,eO,eN))},"addDiagrams"),ez=(0,c.K2)(async()=>{c.Rm.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(l.mW).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,l.Gs)(t)}catch{try{let{diagram:t,id:n}=await r();(0,l.Js)(n,t,e)}catch(e){throw c.Rm.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete l.mW[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(c.Rm.error(`Failed to load ${t.length} external diagrams`),t))c.Rm.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function eF(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function eB(t,e,r,n){if(void 0!==t.insert){if(r){let e=`chart-desc-${n}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${n}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}
70(0,c.K2)(eF,"setA11yDiagramInfo"),(0,c.K2)(eB,"addSVGa11yTitleDescription");var eU=class t{constructor(t,e,r,n,a){this.type=t,this.text=e,this.db=r,this.parser=n,this.renderer=a}static{(0,c.K2)(this,"Diagram")}static async fromText(e,r={}){let n=(0,l.zj)(),a=(0,l.Ch)(e,n);e=(0,s.C4)(e)+"\n";try{(0,l.Gs)(a)}catch{let t=(0,l.J$)(a);if(!t)throw new l.C0(`Diagram ${a} not found.`);let{id:e,diagram:r}=await t();(0,l.Js)(e,r)}let{db:i,parser:o,renderer:c,init:u}=(0,l.Gs)(a);return o.parser&&(o.parser.yy=i),i.clear?.(),u?.(n),r.title&&i.setDiagramTitle?.(r.title),await o.parse(e),new t(a,e,i,o,c)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},eW=[],eH=(0,c.K2)(()=>{eW.forEach(t=>{t()}),eW=[]},"attachFunctions"),eY=(0,c.K2)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function eq(t){let e=t.match(l.EJ);if(!e)return{text:t,metadata:{}};let r=(0,a.H)(e[1],{schema:a.r})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;let n={};return r.displayMode&&(n.displayMode=r.displayMode.toString()),r.title&&(n.title=r.title.toString()),r.config&&(n.config=r.config),{text:t.slice(e[0].length),metadata:n}}(0,c.K2)(eq,"extractFrontMatter");var eG=(0,c.K2)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),eX=(0,c.K2)(t=>{let{text:e,metadata:r}=eq(t),{displayMode:n,title:a,config:i={}}=r;return n&&(i.gantt||(i.gantt={}),i.gantt.displayMode=n),{title:a,config:i,text:e}},"processFrontmatter"),eZ=(0,c.K2)(t=>{let e=s._K.detectInit(t)??{},r=s._K.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,s.vU)(t),directive:e}},"processDirectives");function eV(t){let e=eX(eG(t)),r=eZ(e.text),n=(0,s.$t)(e.config,r.directive);return{code:t=eY(r.text),title:e.title,config:n}}function eQ(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,c.K2)(eV,"preprocessDiagram"),(0,c.K2)(eQ,"toBase64");var eJ=["foreignobject"],e0=["dominant-baseline"];function e1(t){let e=eV(t);return(0,l.cL)(),(0,l.xA)(e.config??{}),e}async function e2(t,e){ej();try{let{code:e,config:r}=e1(t);return{diagramType:(await rn(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,c.K2)(e1,"processAndSetConfigs"),(0,c.K2)(e2,"parse");var e3=(0,c.K2)((t,e,r=[])=>` 71.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),e5=(0,c.K2)((t,e=new Map)=>{let r="";if(void 0!==t.themeCSS&&(r+=` 72${t.themeCSS}`),void 0!==t.fontFamily&&(r+=` 73:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=` 74:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let n=(0,l.E)(t)?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{(0,D.A)(t.styles)||n.forEach(e=>{r+=e3(t.id,e,t.styles)}
74),(0,D.A)(t.textStyles)||(r+=e3(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))))})}return r},"createCssStyles"),e6=(0,c.K2)((t,e,r,n)=>{let a=e5(t,r),i=(0,l.tM)(e,a,{...t.themeVariables,theme:t.theme,look:t.look},n);return w(function(t){var e,r;return r=function t(e,r,n,a,i,o,s,l,c){for(var u,h,d,f,g=0,w=0,v=s,M=0,N=0,D=0,j=1,z=1,F=1,B=0,U=0,W="",H=i,Y=o,q=a,G=W;z;)switch(D=U,U=C()){case 40:108!=D&&58==b(G,v-1)?(B++,G+="("):G+=K(U);break;case 41:B--,G+=")";break;case 34:case 39:case 91:G+=K(U);break;case 9:case 10:case 13:case 32:if(B>0){G+=m(U);break}G+=function(t){for(;L=$();)if(L<33)C();else break;return R(t)>2||R(L)>3?"":" "}(D);break;case 92:G+=function(t,e){for(var r;--e&&C()&&!(L<48)&&!(L>102)&&(!(L>57)||!(L<65))&&(!(L>70)||!(L<97)););return r=T+(e<6&&32==$()&&32==C()),k(O,t,r)}(T-1,7);continue;case 47:switch($()){case 42:case 47:_((u=function(t,e){for(;C();)if(t+L===57)break;else if(t+L===84&&47===$())break;return"/*"+k(O,e,T-1)+"*"+m(47===t?t:C())}(C(),T),h=r,d=n,f=c,E(u,h,d,p,m(L),k(u,2,-2),0,f)),c),(5==R(D||1)||5==R($()||1))&&x(G)&&" "!==k(G,-1,void 0)&&(G+=" ");break;default:G+="/"}break;case 123*j:l[g++]=x(G)*F;case 125*j:case 59:case 0:if(B>0&&U){G+=m(U);break}switch(U){case 0:case 125:z=0;case 59+w:-1==F&&(G=y(G,/\f/g,"")),N>0&&(x(G)-v||0===j)&&_(N>32?P(G+";",a,n,v-1,c):P(y(G," ","")+";",a,n,v-2,c),c);break;case 59:G+=";";default:if(_(q=I(G,r,n,g,w,i,l,W,H=[],Y=[],v,o),o),123===U)if(0===w)t(G,r,q,q,H,o,v,l,Y);else{switch(M){case 99:if(110===b(G,3))break;case 108:if(97===b(G,2))break;default:w=0;case 100:case 109:case 115:}w?t(e,q,q,a&&_(I(e,q,q,0,0,i,l,W,i,H=[],v,Y),Y),i,Y,v,l,a?H:Y):t(G,q,q,q,[""],Y,0,l,Y)}}g=w=N=0,j=F=1,W=G="",v=s;break;case 58:v=1+x(G),N=D;default:if(j<1){if(123==U)--j;else if(125==U&&0==j++&&125==(L=T>0?b(O,--T):0,S--,10===L&&(S=1,A--),L))continue}switch(G+=m(U),U*j){case 38:F=w>0?1:(G+="\f",-1);break;case 44:if(B>0)break;l[g++]=(x(G)-1)*F,F=1;break;case 64:45===$()&&(G+=K(C())),M=$(),w=v=x(W=G+=function(t){for(;!R($());)C();return k(O,t,T)}(T)),U++;break;case 45:45===D&&2==x(G)&&(j=0)}}return o}("",null,null,null,[""],(e=t,A=S=1,M=x(O=e),T=0,t=[]),0,[0],t),O="",r}(`${n}{${i}}`),v)},"createUserStyles"),e9=(0,c.K2)((t="",e,r)=>{let n=t;return r||e||(n=n.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),n=(n=(0,s.Sm)(n)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),e8=(0,c.K2)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",
74n=eQ(`<body style="margin:0">${t}</body>`);return`<iframe style="width:100%;height:${r};border:0;margin:0;" src="data:text/html;charset=UTF-8;base64,${n}" sandbox="allow-top-navigation-by-user-activation allow-popups"> 75 The "iframe" tag is not supported by your browser. 76</iframe>`},"putIntoIFrame"),e4=(0,c.K2)((t,e,r,n,a)=>{let i=t.append("div");i.attr("id",r),n&&i.attr("style",n);let o=i.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return a&&o.attr("xmlns:xlink",a),o.append("g"),t},"appendDivSvgG");function e7(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,c.K2)(e7,"sandboxedIframe");var rt=(0,c.K2)((t,e,r,n)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(n)?.remove()},"removeExistingElements"),re=(0,c.K2)(async function(t,e,r){let n,a;ej();let i=e1(e);e=i.code;let o=(0,l.zj)();c.Rm.debug(o),e.length>(o?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let s="#"+t,u="i"+t,p="#"+u,d="d"+t,f="#"+d,g=(0,c.K2)(()=>{let t=y?p:f,e=(0,h.Ltv)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),m=(0,h.Ltv)("body"),y="sandbox"===o.securityLevel,b="loose"===o.securityLevel,k=o.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),y){let t=e7((0,h.Ltv)(r),u);(m=(0,h.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else m=(0,h.Ltv)(r);e4(m,t,d,`font-family: ${k}`,"http://www.w3.org/1999/xlink")}else{if(rt(document,t,d,u),y){let t=e7((0,h.Ltv)("body"),u);(m=(0,h.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else m=(0,h.Ltv)("body");e4(m,t,d)}try{n=await eU.fromText(e,{title:i.title})}catch(t){if(o.suppressErrorRendering)throw g(),t;n=await eU.fromText("error"),a=t}let x=m.select(f).node(),_=n.type,w=x.firstChild,v=w.firstChild,A=e6(o,_,n.renderer.getClasses?.(e,n),s),S=document.createElement("style");S.innerHTML=A,w.insertBefore(S,v);try{await n.renderer.draw(e,t,"11.14.0",n)}catch(r){throw o.suppressErrorRendering?g():tW.draw(e,t,"11.14.0"),r}let M=m.select(`${f} svg`);ra(_,M,n.db.getAccTitle?.(),n.db.getAccDescription?.()),m.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let T=m.select(f).node().innerHTML;if(c.Rm.debug("config.arrowMarkerAbsolute",o.arrowMarkerAbsolute),T=e9(T,y,(0,l._3)(o.arrowMarkerAbsolute)),y?T=e8(T,m.select(f+" svg").node()):b||(T=N.A.sanitize(T,{ADD_TAGS:eJ,ADD_ATTR:e0,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),eH(),a)throw a;return g(),{diagramType:_,svg:T,bindFunctions:n.db.bindFunctions}},"render");function rr(t={}){let e=(0,l.hH)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,l.wZ)(e),e?.theme&&e.theme in l.H$?e.themeVariables=l.H$[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=l.H$.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,l.UU)(e):(0,l.Q2)();(0,c.He)(r.logLevel),ej()}(0,c.K2)(rr,"initialize");var rn=(0,c.K2)((t,e={})=>{let{code:r}=eV(t);return eU.fromText(r,e)},"getDiagramFromText");function ra(t,e,r,n){eF(e,t),eB(e,r,n,e.attr("id"))}(0,c.K2)(ra,"addA11yInfo");var ri=Object.freeze({render:re,parse:e2,getDiagramFromText:rn,initialize:rr,getConfig:l.zj,setConfig:l.Nk,getSiteConfig:l.Q2,updateSiteConfig:l.B6,reset:(0,c.K2)(()=>{(0,l.cL)()},"reset"),globalReset:(0,c.K2)(()=>{(0,l.cL)(l.sb)},"globalReset"),defaultConfig:l.sb});(0,c.He)((0,l.zj)().logLevel),(0,l.cL)((0,l.zj)());var ro=(0,c.K2)((t,e,r)=>{c.Rm.warn(t),(0,s.dq)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),rs=(0,c.K2)(async function(t={querySelector:".mermaid"}){try{await rl(t)}catch(e){if((0,s.dq)(e)&&c.Rm.error(e.str),rx.parseError&&rx.parseError(e),!t.suppressErrors)throw c.Rm.error("Use the suppressErrors option to suppress these errors"),e}},"run"),rl=(0,c.K2)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let n,a,i=ri.getConfig();if(c.Rm.debug(`${!t?"No ":""}Callback function found`),r)n=r;else if(e)n=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");c.Rm.debug(`Found ${n.length} diagrams`),i?.startOnLoad!==void 0&&(c.Rm.debug("Start On Load: "+i?.startOnLoad),ri.updateSiteConfig({startOnLoad:i?.startOnLoad}
76));let o=new s._K.InitIDGenerator(i.deterministicIds,i.deterministicIDSeed),l=[];for(let e of Array.from(n)){if(c.Rm.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${o.next()}`;a=e.innerHTML,a=(0,u.T)(s._K.entityDecode(a)).trim().replace(/<br\s*\/?>/gi,"<br/>");let n=s._K.detectInit(a);n&&c.Rm.debug("Detected early reinit: ",n);try{let{svg:n,bindFunctions:i}=await rb(r,a,e);e.innerHTML=n,t&&await t(r),i&&i(e)}catch(t){ro(t,l,rx.parseError)}}if(l.length>0)throw l[0]},"runThrowsErrors"),rc=(0,c.K2)(function(t){ri.initialize(t)},"initialize"),ru=(0,c.K2)(async function(t,e,r){c.Rm.warn("mermaid.init is deprecated. Please use run instead."),t&&rc(t);let n={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await rs(n)},"init"),rh=(0,c.K2)(async(t,{lazyLoad:e=!0}={})=>{ej(),(0,l.Xd)(...t),!1===e&&await ez()},"registerExternalDiagrams"),rp=(0,c.K2)(function(){if(rx.startOnLoad){let{startOnLoad:t}=ri.getConfig();t&&rx.run().catch(t=>c.Rm.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",rp,!1);var rd=(0,c.K2)(function(t){rx.parseError=t},"setParseErrorHandler"),rf=[],rg=!1,rm=(0,c.K2)(async()=>{if(!rg){for(rg=!0;rf.length>0;){let t=rf.shift();if(t)try{await t()}catch(t){c.Rm.error("Error executing queue",t)}}rg=!1}},"executeQueue"),ry=(0,c.K2)(async(t,e)=>new Promise((r,n)=>{let a=(0,c.K2)(()=>new Promise((a,i)=>{ri.parse(t,e).then(t=>{a(t),r(t)},t=>{c.Rm.error("Error parsing",t),rx.parseError?.(t),i(t),n(t)})}),"performCall");rf.push(a),rm().catch(n)}),"parse"),rb=(0,c.K2)((t,e,r)=>new Promise((n,a)=>{let i=(0,c.K2)(()=>new Promise((i,o)=>{ri.render(t,e,r).then(t=>{i(t),n(t)},t=>{c.Rm.error("Error parsing",t),rx.parseError?.(t),o(t),a(t)})}),"performCall");rf.push(i),rm().catch(a)}),"render"),rk=(0,c.K2)(()=>Object.keys(l.mW).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),rx={startOnLoad:!0,mermaidAPI:ri,parse:ry,render:rb,init:ru,run:rs,registerExternalDiagrams:rh,registerLayoutLoaders:i.sO,initialize:rc,parseError:void 0,contentLoaded:rp,setParseErrorHandler:rd,detectType:l.Ch,registerIconPacks:o.pC,getRegisteredDiagramsMetadata:rk},r_=rx},661340:(t,e,r)=>{"use strict";r.d(e,{A:()=>p});var n=r(571106),a=r(87427),i=r(881270),o=r(617596),s=r(265963),l=r(539010),c=r(958002),u=r(173099),h=Object.prototype.hasOwnProperty;let p=function(t){if(null==t)return!0;if((0,s.A)(t)&&((0,o.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,u.A)(t)||(0,i.A)(t)))return!t.length;var e=(0,a.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,c.A)(t))return!(0,n.A)(t).length;for(var r in t)if(h.call(t,r))return!1;return!0}},667669:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(640760),a=r(454714),i=r(522919);function o(t){var e=this.__data__=new n.A(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new n.A,this.size=0},o.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var r=this.__data__;if(r instanceof n.A){var o=r.__data__;if(!a.A||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new i.A(o)}return r.set(t,e),this.size=r.size,this};let s=o},670208:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(558065);let a=function(t){var e=new t.constructor(t.byteLength);return new n.A(e).set(new n.A(t)),e}},675994:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e}},682088:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});let n={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},a)=>
76{if(!e)return 2.55*r;t/=360,e/=100;let i=(r/=100)<.5?r*(1+e):r+e-r*e,o=2*r-i;switch(a){case"r":return 255*n.hue2rgb(o,i,t+1/3);case"g":return 255*n.hue2rgb(o,i,t);case"b":return 255*n.hue2rgb(o,i,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},n)=>{let a=Math.max(t/=255,e/=255,r/=255),i=Math.min(t,e,r),o=(a+i)/2;if("l"===n)return 100*o;if(a===i)return 0;let s=a-i;if("s"===n)return 100*(o>.5?s/(2-a-i):s/(a+i));switch(a){case t:return((e-r)/s+6*(e<r))*60;case e:return((r-t)/s+2)*60;case r:return((t-e)/s+4)*60;default:return -1}}},a={channel:n,lang:{clamp:(t,e,r)=>e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},704e3:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e,r){for(var n=-1,a=Object(t),i=r(t),o=i.length;o--;){var s=i[++n];if(!1===e(a[s],s,a))break}return t}},708808:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(161504);let a=(t,e)=>(0,n.A)(t,"l",-e)},716771:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});let n=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};var a=r(881270),i=r(617596),o=r(539010),s=r(566964),l=r(173099),c=Object.prototype.hasOwnProperty;let u=function(t,e){var r=(0,i.A)(t),u=!r&&(0,a.A)(t),h=!r&&!u&&(0,o.A)(t),p=!r&&!u&&!h&&(0,l.A)(t),d=r||u||h||p,f=d?n(t.length,String):[],g=f.length;for(var m in t)(e||c.call(t,m))&&!(d&&("length"==m||h&&("offset"==m||"parent"==m)||p&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||(0,s.A)(m,g)))&&f.push(m);return f}},729400:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},743468:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n=r(874999),a=r(778104).A["__core-js_shared__"],i=function(){var t=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),o=r(729400),s=r(435996),l=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,h=c.hasOwnProperty,p=RegExp("^"+u.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let d=function(t){return!!(0,o.A)(t)&&(!i||!(i in t))&&((0,n.A)(t)?p:l).test((0,s.A)(t))},f=function(t,e){var r=null==t?void 0:t[e];return d(r)?r:void 0}},778104:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(45333),a="object"==typeof self&&self&&self.Object===Object&&self;let i=n.A||a||Function("return this")()},782403:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},799273:(t,e,r)=>{"use strict";r.d(e,{Y:()=>a,Z:()=>i});var n=r(682088);let a={};for(let t=0;t<=255;t++)a[t]=n.A.unit.dec2hex(t);let i={ALL:0,RGB:1,HSL:2}},820078:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(607245),a=r(165797),i=Object.prototype.hasOwnProperty;let o=function(t,e,r){var o=t[e];i.call(t,e)&&(0,a.A)(o,r)&&(void 0!==r||e in t)||(0,n.A)(t,e,r)}},821531:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(682088),a=r(288236);let i=(t,e)=>{let r=a.A.parse(t);for(let t in e)r[t]=n.A.channel.clamp[t](e[t]);return a.A.stringify(r)}},860121:(t,e,r)=>{"use strict";r.d(e,{O:()=>o,X:()=>s});var n=r(250976),a=r(208509),i=r(195611),o=(0,i.K2)(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins");async function s(t,e){let r=t.getElementsByTagName("img");if(!r||0===r.length)return;let o=""===e.replace(/<img[^>]*>/g,"").trim();await Promise.all([...r].map(t=>new Promise(e=>{function r(){if(t.style.display="flex",t.style.flexDirection="column",o){let e=(0,a.D7)().fontSize?(0,a.D7)().fontSize:window.getComputedStyle(document.body).fontSize,[r=a.UI.fontSize]=(0,n.I5)(e),i=5*r+"px";t.style.minWidth=i,t.style.maxWidth=i}else t.style.width="100%";e(t)}(0,i.K2)(r,"setupImage"),setTimeout(()=>{t.complete&&r()}),t.addEventListener("error",r),t.addEventListener("load",r)})))}(0,i.K2)(s,"configureLabelImages")},874999:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(186728),a=r(729400);let i=function(t){if(!(0,a.A)(t))return!1;var e=(0,n.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},881270:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(186728),a=r(158823);let i=function(t){return(0,a.A)(t)&&"[object Arguments]"==(0,n.A)(t)};var o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable;let c=i(function(){return arguments}())?i:function(t){return(0,a.A)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},899434:(t,e,r)=>{"use strict";function n(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=Array.from("string"==typeof t?[t]:t);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var a=n.reduce(function(t,e){var r=e.match(/\n([\t ]+|(?!\s).)/g);return r?t.concat(r.map(function(t){var e,r;return null!=(r=null==(e=t.match(/[\t ]/g))?void 0:e.length)?r:0})):t},[]);if(a.length){var i=RegExp("\n[ ]{"+Math.min.apply(Math,a)+"}","g");n=n.map(function(t){return t.replace(i,"\n")})}n[0]=n[0].replace(/^\r?\n/,"");var o=n[0];return e.forEach(function(t,e){var r=o.match(/(?:^|\n)( *)$/),a=r?r[1]:"",i=t;"string"==typeof t&&t.includes("\n")&&(i=String(t).split("\n").map(function(t,e){return 0===e?t:""+a+t}).join("\n")),o+=i+n[e+1]}),o}r.d(e,{T:()=>n})},901248:(t,e,r)=>{"use strict";r.d(e,{A:()=>tr});let{entries:n,setPrototypeOf:a,isFrozen:i,getPrototypeOf:o,getOwnPropertyDescriptor:s}=Object,{freeze:l,seal:c,create:u}=Object,{apply:h,construct:p}="undefined"!=typeof Reflect&&Reflect;l||(l=function(t){return t}),c||(c=function(t){return t}),h||(h=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return t.apply(e,n)}),p||(p=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return new t(...r)});let d=T(Array.prototype.forEach),f=T(Array.prototype.lastIndexOf),g=T(Array.prototype.pop),m=T(Array.prototype.push),y=T(Array.prototype.splice),b=T(String.prototype.toLowerCase),k=T(String.prototype.toString),x=T(String.prototype.match),_=T(String.prototype.replace),w=T(String.prototype.indexOf),v=T(String.prototype.trim),A=T(Object.prototype.hasOwnProperty),S=T(RegExp.prototype.test),M=(V=TypeError,function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return p(V,e)});function T(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return h(t,e,n)}}function L(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b;a&&a(t,null);let n=e.length;for(;n--;){let a=e[n];if("string"==typeof a){let t=r(a);t!==a&&(i(e)||(e[n]=t),a=t)}t[a]=!0}return t}function O(t){let e=u(null);for(let[r,a]of n(t))A(t,r)&&(Array.isArray(a)?e[r]=function(t){for(let e=0;e<t.length;e++)A(t,e)||(t[e]=null);return t}(a):a&&"object"==typeof a&&a.constructor===Object?e[r]=O(a):e[r]=a);return e}function E(t,e){for(;null!==t;){let r=s(t,e);if(r){if(r.get)return T(r.get);if("function"==typeof r.value)return T(r.value)}t=o(t)}return function(){return null}}let C=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),$=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),R=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),K=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),P=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),N=l(["#text"]),D=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
76spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),j=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),z=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),B=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),U=c(/<%[\w\W]*|[\w\W]*%>/gm),W=c(/\$\{[\w\W]*/gm),H=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),Y=c(/^aria-[\-\w]+$/),q=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),G=c(/^(?:\w+script|data):/i),X=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=c(/^html$/i);var V,Q=Object.freeze({__proto__:null,ARIA_ATTR:Y,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:c(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:H,DOCTYPE_NAME:Z,ERB_EXPR:U,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:G,MUSTACHE_EXPR:B,TMPLIT_EXPR:W});let J={element:1,text:3,progressingInstruction:7,comment:8,document:9},tt=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,n="data-tt-policy-suffix";e&&e.hasAttribute(n)&&(r=e.getAttribute(n));let a="dompurify"+(r?"#"+r:"");try{return t.createPolicy(a,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},te=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var tr=function t(){let e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,a=e=>t(e);
76if(a.version="3.3.3",a.removed=[],!r||!r.document||r.document.nodeType!==J.document||!r.Element)return a.isSupported=!1,a;let{document:i}=r,o=i,s=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:h,Node:p,Element:T,NodeFilter:B,NamedNodeMap:U=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:W,DOMParser:H,trustedTypes:Y}=r,G=T.prototype,X=E(G,"cloneNode"),V=E(G,"remove"),tr=E(G,"nextSibling"),tn=E(G,"childNodes"),ta=E(G,"parentNode");if("function"==typeof h){let t=i.createElement("template");t.content&&t.content.ownerDocument&&(i=t.content.ownerDocument)}let ti="",{implementation:to,createNodeIterator:ts,createDocumentFragment:tl,getElementsByTagName:tc}=i,{importNode:tu}=o,th=te();a.isSupported="function"==typeof n&&"function"==typeof ta&&to&&void 0!==to.createHTMLDocument;let{MUSTACHE_EXPR:tp,ERB_EXPR:td,TMPLIT_EXPR:tf,DATA_ATTR:tg,ARIA_ATTR:tm,IS_SCRIPT_OR_DATA:ty,ATTR_WHITESPACE:tb,CUSTOM_ELEMENT:tk}=Q,{IS_ALLOWED_URI:tx}=Q,t_=null,tw=L({},[...C,...$,...R,...I,...N]),tv=null,tA=L({},[...D,...j,...z,...F]),tS=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tM=null,tT=null,tL=Object.seal(u(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),tO=!0,tE=!0,tC=!1,t$=!0,tR=!1,tK=!0,tI=!1,tP=!1,tN=!1,tD=!1,tj=!1,tz=!1,tF=!0,tB=!1,tU=!0,tW=!1,tH={},tY=null,tq=L({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tG=null,tX=L({},["audio","video","img","source","image","track"]),tZ=null,tV=L({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tQ="http://www.w3.org/1998/Math/MathML",tJ="http://www.w3.org/2000/svg",t0="http://www.w3.org/1999/xhtml",t1=t0,t2=!1,t3=null,t5=L({},[tQ,tJ,t0],k),t6=L({},["mi","mo","mn","ms","mtext"]),t9=L({},["annotation-xml"]),t8=L({},["title","style","font","a","script"]),t4=null,t7=["application/xhtml+xml","text/html"],et=null,ee=null,er=i.createElement("form"),en=function(t){return t instanceof RegExp||t instanceof Function},ea=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ee||ee!==t){if(t&&"object"==typeof t||(t={}),t=O(t),et="application/xhtml+xml"===(t4=-1===t7.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?k:b,t_=A(t,"ALLOWED_TAGS")?L({},t.ALLOWED_TAGS,et):tw,tv=A(t,"ALLOWED_ATTR")?L({},t.ALLOWED_ATTR,et):tA,t3=A(t,"ALLOWED_NAMESPACES")?L({},t.ALLOWED_NAMESPACES,k):t5,tZ=A(t,"ADD_URI_SAFE_ATTR")?L(O(tV),t.ADD_URI_SAFE_ATTR,et):tV,tG=A(t,"ADD_DATA_URI_TAGS")?L(O(tX),t.ADD_DATA_URI_TAGS,et):tX,tY=A(t,"FORBID_CONTENTS")?L({},t.FORBID_CONTENTS,et):tq,tM=A(t,"FORBID_TAGS")?L({},t.FORBID_TAGS,et):O({}),tT=A(t,"FORBID_ATTR")?L({},t.FORBID_ATTR,et):O({}),tH=!!A(t,"USE_PROFILES")&&t.USE_PROFILES,tO=!1!==t.ALLOW_ARIA_ATTR,tE=!1!==t.ALLOW_DATA_ATTR,tC=t.ALLOW_UNKNOWN_PROTOCOLS||!1,t$=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tR=t.SAFE_FOR_TEMPLATES||!1,tK=!1!==t.SAFE_FOR_XML,tI=t.WHOLE_DOCUMENT||!1,tD=t.RETURN_DOM||!1,tj=t.RETURN_DOM_FRAGMENT||!1,tz=t.RETURN_TRUSTED_TYPE||!1,tN=t.FORCE_BODY||!1,tF=!1!==t.SANITIZE_DOM,tB=t.SANITIZE_NAMED_PROPS||!1,tU=!1!==t.KEEP_CONTENT,tW=t.IN_PLACE||!1,tx=t.ALLOWED_URI_REGEXP||q,t1=t.NAMESPACE||t0,t6=t.MATHML_TEXT_INTEGRATION_POINTS||t6,t9=t.HTML_INTEGRATION_POINTS||t9,tS=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&en(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(tS.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&en(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(tS.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(tS.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tR&&(tE=!1),tj&&(tD=!0),tH&&(t_=L({},N),tv=u(null),!0===tH.html&&(L(t_,C),L(tv,D)),!0===tH.svg&&(L(t_,$),L(tv,j),L(tv,F)),!0===tH.svgFilters&&
76(L(t_,R),L(tv,j),L(tv,F)),!0===tH.mathMl&&(L(t_,I),L(tv,z),L(tv,F))),A(t,"ADD_TAGS")||(tL.tagCheck=null),A(t,"ADD_ATTR")||(tL.attributeCheck=null),t.ADD_TAGS&&("function"==typeof t.ADD_TAGS?tL.tagCheck=t.ADD_TAGS:(t_===tw&&(t_=O(t_)),L(t_,t.ADD_TAGS,et))),t.ADD_ATTR&&("function"==typeof t.ADD_ATTR?tL.attributeCheck=t.ADD_ATTR:(tv===tA&&(tv=O(tv)),L(tv,t.ADD_ATTR,et))),t.ADD_URI_SAFE_ATTR&&L(tZ,t.ADD_URI_SAFE_ATTR,et),t.FORBID_CONTENTS&&(tY===tq&&(tY=O(tY)),L(tY,t.FORBID_CONTENTS,et)),t.ADD_FORBID_CONTENTS&&(tY===tq&&(tY=O(tY)),L(tY,t.ADD_FORBID_CONTENTS,et)),tU&&(t_["#text"]=!0),tI&&L(t_,["html","head","body"]),t_.table&&(L(t_,["tbody"]),delete tM.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw M('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ti=(e=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===e&&(e=tt(Y,s)),null!==e&&"string"==typeof ti&&(ti=e.createHTML(""));l&&l(t),ee=t}},ei=L({},[...$,...R,...K]),eo=L({},[...I,...P]),es=function(t){let e=ta(t);e&&e.tagName||(e={namespaceURI:t1,tagName:"template"});let r=b(t.tagName),n=b(e.tagName);return!!t3[t.namespaceURI]&&(t.namespaceURI===tJ?e.namespaceURI===t0?"svg"===r:e.namespaceURI===tQ?"svg"===r&&("annotation-xml"===n||t6[n]):!!ei[r]:t.namespaceURI===tQ?e.namespaceURI===t0?"math"===r:e.namespaceURI===tJ?"math"===r&&t9[n]:!!eo[r]:t.namespaceURI===t0?(e.namespaceURI!==tJ||!!t9[n])&&(e.namespaceURI!==tQ||!!t6[n])&&!eo[r]&&(t8[r]||!ei[r]):"application/xhtml+xml"===t4&&!!t3[t.namespaceURI])},el=function(t){m(a.removed,{element:t});try{ta(t).removeChild(t)}catch(e){V(t)}},ec=function(t,e){try{m(a.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){m(a.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(tD||tj)try{el(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},eu=function(t){let r=null,n=null;if(tN)t="<remove></remove>"+t;else{let e=x(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===t4&&t1===t0&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");let a=e?e.createHTML(t):t;if(t1===t0)try{r=new H().parseFromString(a,t4)}catch(t){}if(!r||!r.documentElement){r=to.createDocument(t1,"template",null);try{r.documentElement.innerHTML=t2?ti:a}catch(t){}}let o=r.body||r.documentElement;return(t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),t1===t0)?tc.call(r,tI?"html":"body")[0]:tI?r.documentElement:o},eh=function(t){return ts.call(t.ownerDocument||t,t,B.SHOW_ELEMENT|B.SHOW_COMMENT|B.SHOW_TEXT|B.SHOW_PROCESSING_INSTRUCTION|B.SHOW_CDATA_SECTION,null)},ep=function(t){return t instanceof W&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof U)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ed=function(t){return"function"==typeof p&&t instanceof p};function ef(t,e,r){d(t,t=>{t.call(a,e,r,ee)})}let eg=function(t){let e=null;if(ef(th.beforeSanitizeElements,t,null),ep(t))return el(t),!0;let r=et(t.nodeName);if(ef(th.uponSanitizeElement,t,{tagName:r,allowedTags:t_}),tK&&t.hasChildNodes()&&!ed(t.firstElementChild)&&S(/<[/\w!]/g,t.innerHTML)&&S(/<[/\w!]/g,t.textContent)||t.nodeType===J.progressingInstruction||tK&&t.nodeType===J.comment&&S(/<[/\w]/g,t.data))return el(t),!0;if(!(tL.tagCheck instanceof Function&&tL.tagCheck(r))&&(!t_[r]||tM[r])){if(!tM[r]&&ey(r)&&(tS.tagNameCheck instanceof RegExp&&S(tS.tagNameCheck,r)||tS.tagNameCheck instanceof Function&&tS.tagNameCheck(r)))return!1;if(tU&&!tY[r]){let e=ta(t)||t.parentNode,r=tn(t)||t.childNodes;if(r&&e){let n=r.length;for(let a=n-1;a>=0;--a){let n=X(r[a],!0);n.__removalCount=(t.__removalCount||0)+1,e.insertBefore(n,tr(t))}}}return el(t),!0}return t instanceof T&&!es(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&S(/<\/no(script|embed|frames)/i,t.innerHTML)?(el(t),!0):(tR&&t.nodeType===J.text&&(e=t.textContent,d([tp,td,tf],t=>{e=_(e,t," ")}),t.textContent!==e&&(m(a.removed,{element:t.cloneNode()}),t.textContent=e)),ef(th.afterSanitizeElements,t,null),!1)},em=function(t,e,r){if(tT[e]||tF&&("id"===e||"name"===e)&&(r in i||r in er))return!1;if(tE&&!tT[e]&&S(tg,e));else if(tO&&S(tm,e));else if(tL.attributeCheck instanceof Function&&tL.attributeCheck(e,t));else if(!tv[e]||tT[e]){if(!(ey(t)&&(tS.tagNameCheck instanceof RegExp&&S(tS.tagNameCheck,t)||tS.tagNameCheck instanceof Function&&tS.tagNameCheck(t))&&(tS.attributeNameCheck instanceof RegExp&&S(tS.attributeNameCheck,e)||tS.attributeNameCheck instanceof Function&&tS.attributeNameCheck(e,t))||"is"===e&&tS.allowCustomizedBuiltInElements&&(tS.tagNameCheck instanceof RegExp&&S(tS.tagNameCheck,r)||tS.tagNameCheck instanceof Function&&tS.tagNameCheck(r))))return!1}else if(tZ[e]);else if(S(tx,_(r,tb,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===w(r,"data:")&&tG[t]);else if(tC&&!S(ty,_(r,tb,"")));else if(r)return!1;return!0},ey=function(t){return"annotation-xml"!==t&&x(t,tk)},eb=function(t){ef(th.beforeSanitizeAttributes,t,null);let{attributes:r}=t;if(!r||ep(t))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tv,forceKeepAttr:void 0},i=r.length;for(;i--;){let{name:o,namespaceURI:s,value:l}
76=r[i],c=et(o),u="value"===o?l:v(l);if(n.attrName=c,n.attrValue=u,n.keepAttr=!0,n.forceKeepAttr=void 0,ef(th.uponSanitizeAttribute,t,n),u=n.attrValue,tB&&("id"===c||"name"===c)&&(ec(o,t),u="user-content-"+u),tK&&S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)||"attributename"===c&&x(u,"href")){ec(o,t);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr||!t$&&S(/\/>/i,u)){ec(o,t);continue}tR&&d([tp,td,tf],t=>{u=_(u,t," ")});let h=et(t.nodeName);if(!em(h,c,u)){ec(o,t);continue}if(e&&"object"==typeof Y&&"function"==typeof Y.getAttributeType)if(s);else switch(Y.getAttributeType(h,c)){case"TrustedHTML":u=e.createHTML(u);break;case"TrustedScriptURL":u=e.createScriptURL(u)}if(u!==l)try{s?t.setAttributeNS(s,o,u):t.setAttribute(o,u),ep(t)?el(t):g(a.removed)}catch(e){ec(o,t)}}ef(th.afterSanitizeAttributes,t,null)},ek=function t(e){let r=null,n=eh(e);for(ef(th.beforeSanitizeShadowDOM,e,null);r=n.nextNode();)ef(th.uponSanitizeShadowNode,r,null),eg(r),eb(r),r.content instanceof c&&t(r.content);ef(th.afterSanitizeShadowDOM,e,null)};return a.sanitize=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,s=null,l=null;if((t2=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ed(t))if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw M("dirty is not a string, aborting")}else throw M("toString is not a function");if(!a.isSupported)return t;if(tP||ea(r),a.removed=[],"string"==typeof t&&(tW=!1),tW){if(t.nodeName){let e=et(t.nodeName);if(!t_[e]||tM[e])throw M("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof p)(i=(n=eu("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType===J.element&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!tD&&!tR&&!tI&&-1===t.indexOf("<"))return e&&tz?e.createHTML(t):t;if(!(n=eu(t)))return tD?null:tz?ti:""}n&&tN&&el(n.firstChild);let u=eh(tW?t:n);for(;s=u.nextNode();)eg(s),eb(s),s.content instanceof c&&ek(s.content);if(tW)return t;if(tD){if(tj)for(l=tl.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(tv.shadowroot||tv.shadowrootmode)&&(l=tu.call(o,l,!0)),l}let h=tI?n.outerHTML:n.innerHTML;return tI&&t_["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(Z,n.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+h),tR&&d([tp,td,tf],t=>{h=_(h,t," ")}),e&&tz?e.createHTML(h):h},a.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ea(t),tP=!0},a.clearConfig=function(){ee=null,tP=!1},a.isValidAttribute=function(t,e,r){return ee||ea({}),em(et(t),et(e),r)},a.addHook=function(t,e){"function"==typeof e&&m(th[t],e)},a.removeHook=function(t,e){if(void 0!==e){let r=f(th[t],e);return -1===r?void 0:y(th[t],r,1)[0]}return g(th[t])},a.removeHooks=function(t){th[t]=[]},a.removeAllHooks=function(){th=te()},a}()},912325:(t,e,r)=>{"use strict";r.d(e,{H:()=>ej,r:()=>eD});var n,a=r(195611);function i(t){return null==t}function o(t){return"object"==typeof t&&null!==t}function s(t,e){var r,n="";for(r=0;r<e;r+=1)n+=t;return n}function l(t){return 0===t&&-1/0==1/t}(0,a.K2)(i,"isNothing"),(0,a.K2)(o,"isObject"),(0,a.K2)(function(t){return Array.isArray(t)?t:i(t)?[]:[t]},"toArray"),(0,a.K2)(function(t,e){var r,n,a,i;if(e)for(r=0,n=(i=Object.keys(e)).length;r<n;r+=1)t[a=i[r]]=e[a];return t},"extend"),(0,a.K2)(s,"repeat"),(0,a.K2)(l,"isNegativeZero");var c={isNothing:i,isObject:o,repeat:s,isNegativeZero:l};function u(t,e){var r="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+="\n\n"+t.mark.snippet),n+" "+r):n}function h(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=u(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function p(t,e,r,n,a){var i="",o="",s=Math.floor(a/2)-1;return n-e>s&&(e=n-s+(i=" ... ").length),r-n>s&&(r=n+s-(o=" ...").length),{str:i+t.slice(e,r).replace(/\t/g,"â")+o,pos:n-e+i.length}}function d(t,e){return c.repeat(" ",e-t.length)+t}function f(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],a=[],i=-1;o=r.exec(t.buffer);)a.push(o.index),n.push(o.index+o[0].length),t.position<=o.index&&i<0&&(i=n.length-2);i<0&&(i=n.length-1);var o,s,l,u="",h=Math.min(t.line+e.linesAfter,a.length).toString().length,f=e.maxLength-(e.indent+h+3);for(s=1;s<=e.linesBefore&&!(i-s<0);s++)l=p(t.buffer,n[i-s],a[i-s],t.position-(n[i]-n[i-s]),f),u=c.repeat(" ",e.indent)+d((t.line-s+1).toString(),h)+" | "+l.str+"\n"+u;for(l=p(t.buffer,n[i],a[i],t.position,f),u+=c.repeat(" ",e.indent)+d((t.line+1).toString(),h)+" | "+l.str+"\n"+c.repeat("-",e.indent+h+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(i+s>=a.length);s++)l=p(t.buffer,n[i+s],a[i+s],t.position-(n[i]-n[i+s]),f),u+=c.repeat(" ",e.indent)+d((t.line+s+1).toString(),h)+" | "+l.str+"\n";return u.replace(/\n$/,"")}(0,a.K2)(u,"formatError"),(0,a.K2)(h,"YAMLException$1"),h.prototype=Object.create(Error.prototype),h.prototype.constructor=h,h.prototype.toString=(0,a.K2)(function(t){return this.name+": "+u(this,t)},"toString"),(0,a.K2)(p,"getLine"),(0,a.K2)(d,"padStart"),(0,a.K2)(f,"makeSnippet");var g=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],m=["scalar","sequence","mapping"];function y(t){var e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function b(t,e){if(Object.keys(e=e||{}
76).forEach(function(e){if(-1===g.indexOf(e))throw new h('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=y(e.styleAliases||null),-1===m.indexOf(this.kind))throw new h('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}function k(t,e){var r=[];return t[e].forEach(function(t){var e=r.length;r.forEach(function(r,n){r.tag===t.tag&&r.kind===t.kind&&r.multi===t.multi&&(e=n)}),r[e]=t}),r}function x(){var t,e,r={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function n(t){t.multi?(r.multi[t.kind].push(t),r.multi.fallback.push(t)):r[t.kind][t.tag]=r.fallback[t.tag]=t}for((0,a.K2)(n,"collectType"),t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(n);return r}function _(t){return this.extend(t)}(0,a.K2)(y,"compileStyleAliases"),(0,a.K2)(b,"Type$1"),(0,a.K2)(k,"compileList"),(0,a.K2)(x,"compileMap"),(0,a.K2)(_,"Schema$1"),_.prototype.extend=(0,a.K2)(function(t){var e=[],r=[];if(t instanceof b)r.push(t);else if(Array.isArray(t))r=r.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(r=r.concat(t.explicit));else throw new h("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.forEach(function(t){if(!(t instanceof b))throw new h("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new h("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new h("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),r.forEach(function(t){if(!(t instanceof b))throw new h("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var n=Object.create(_.prototype);return n.implicit=(this.implicit||[]).concat(e),n.explicit=(this.explicit||[]).concat(r),n.compiledImplicit=k(n,"implicit"),n.compiledExplicit=k(n,"explicit"),n.compiledTypeMap=x(n.compiledImplicit,n.compiledExplicit),n},"extend");var w=new _({explicit:[new b("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,a.K2)(function(t){return null!==t?t:""},"construct")}),new b("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,a.K2)(function(t){return null!==t?t:[]},"construct")}),new b("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,a.K2)(function(t){return null!==t?t:{}},"construct")})]});function v(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function A(){return null}function S(t){return null===t}(0,a.K2)(v,"resolveYamlNull"),(0,a.K2)(A,"constructYamlNull"),(0,a.K2)(S,"isNull");var M=new b("tag:yaml.org,2002:null",{kind:"scalar",resolve:v,construct:A,predicate:S,represent:{canonical:(0,a.K2)(function(){return"~"},"canonical"),lowercase:(0,a.K2)(function(){return"null"},"lowercase"),uppercase:(0,a.K2)(function(){return"NULL"},"uppercase"),camelcase:(0,a.K2)(function(){return"Null"},"camelcase"),empty:(0,a.K2)(function(){return""},"empty")},defaultStyle:"lowercase"});function T(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function L(t){return"true"===t||"True"===t||"TRUE"===t}function O(t){return"[object Boolean]"===Object.prototype.toString.call(t)}(0,a.K2)(T,"resolveYamlBoolean"),(0,a.K2)(L,"constructYamlBoolean"),(0,a.K2)(O,"isBoolean");var E=new b("tag:yaml.org,2002:bool",{kind:"scalar",resolve:T,construct:L,predicate:O,represent:{lowercase:(0,a.K2)(function(t){return t?"true":"false"},"lowercase"),uppercase:(0,a.K2)(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:(0,a.K2)(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function C(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function $(t){return 48<=t&&t<=55}function R(t){return 48<=t&&t<=57}function K(t){if(null===t)return!1;var e,r=t.length,n=0,a=!1;if(!r)return!1;if(("-"===(e=t[n])||"+"===e)&&(e=t[++n]),"0"===e){if(n+1===r)return!0;
76if("b"===(e=t[++n])){for(n++;n<r;n++)if("_"!==(e=t[n])){if("0"!==e&&"1"!==e)return!1;a=!0}return a&&"_"!==e}if("x"===e){for(n++;n<r;n++)if("_"!==(e=t[n])){if(!C(t.charCodeAt(n)))return!1;a=!0}return a&&"_"!==e}if("o"===e){for(n++;n<r;n++)if("_"!==(e=t[n])){if(!$(t.charCodeAt(n)))return!1;a=!0}return a&&"_"!==e}}if("_"===e)return!1;for(;n<r;n++)if("_"!==(e=t[n])){if(!R(t.charCodeAt(n)))return!1;a=!0}return!!a&&"_"!==e}function I(t){var e,r=t,n=1;if(-1!==r.indexOf("_")&&(r=r.replace(/_/g,"")),("-"===(e=r[0])||"+"===e)&&("-"===e&&(n=-1),e=(r=r.slice(1))[0]),"0"===r)return 0;if("0"===e){if("b"===r[1])return n*parseInt(r.slice(2),2);if("x"===r[1])return n*parseInt(r.slice(2),16);if("o"===r[1])return n*parseInt(r.slice(2),8)}return n*parseInt(r,10)}function P(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!c.isNegativeZero(t)}(0,a.K2)(C,"isHexCode"),(0,a.K2)($,"isOctCode"),(0,a.K2)(R,"isDecCode"),(0,a.K2)(K,"resolveYamlInteger"),(0,a.K2)(I,"constructYamlInteger"),(0,a.K2)(P,"isInteger");var N=new b("tag:yaml.org,2002:int",{kind:"scalar",resolve:K,construct:I,predicate:P,represent:{binary:(0,a.K2)(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,a.K2)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)}
76,"octal"),decimal:(0,a.K2)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,a.K2)(function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),D=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function j(t){return null!==t&&!!D.test(t)&&"_"!==t[t.length-1]}function z(t){var e,r;return(r="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?1/0:-1/0:".nan"===e?NaN:r*parseFloat(e,10)}(0,a.K2)(j,"resolveYamlFloat"),(0,a.K2)(z,"constructYamlFloat");var F=/^[-+]?[0-9]+e/;function B(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(c.isNegativeZero(t))return"-0.0";return r=t.toString(10),F.test(r)?r.replace("e",".e"):r}function U(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||c.isNegativeZero(t))}(0,a.K2)(B,"representYamlFloat"),(0,a.K2)(U,"isFloat");var W=new b("tag:yaml.org,2002:float",{kind:"scalar",resolve:j,construct:z,predicate:U,represent:B,defaultStyle:"lowercase"}),H=w.extend({implicit:[M,E,N,W]}),Y=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),q=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function G(t){return null!==t&&(null!==Y.exec(t)||null!==q.exec(t))}function X(t){var e,r,n,a,i,o,s,l,c=0,u=null;if(null===(e=Y.exec(t))&&(e=q.exec(t)),null===e)throw Error("Date resolve error");
76if(r=+e[1],n=e[2]-1,a=+e[3],!e[4])return new Date(Date.UTC(r,n,a));if(i=+e[4],o=+e[5],s=+e[6],e[7]){for(c=e[7].slice(0,3);c.length<3;)c+="0";c*=1}return e[9]&&(u=(60*e[10]+ +(e[11]||0))*6e4,"-"===e[9]&&(u=-u)),l=new Date(Date.UTC(r,n,a,i,o,s,c)),u&&l.setTime(l.getTime()-u),l}function Z(t){return t.toISOString()}(0,a.K2)(G,"resolveYamlTimestamp"),(0,a.K2)(X,"constructYamlTimestamp"),(0,a.K2)(Z,"representYamlTimestamp");var V=new b("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:G,construct:X,instanceOf:Date,represent:Z});function Q(t){return"<<"===t||null===t}(0,a.K2)(Q,"resolveYamlMerge");var J=new b("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Q}),tt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function te(t){if(null===t)return!1;var e,r,n=0,a=t.length;for(r=0;r<a;r++)if(!((e=tt.indexOf(t.charAt(r)))>64)){if(e<0)return!1;n+=6}return n%8==0}function tr(t){var e,r,n=t.replace(/[\r\n=]/g,""),a=n.length,i=0,o=[];for(e=0;e<a;e++)e%4==0&&e&&(o.push(i>>16&255),o.push(i>>8&255),o.push(255&i)),i=i<<6|tt.indexOf(n.charAt(e));return 0==(r=a%4*6)?(o.push(i>>16&255),o.push(i>>8&255),o.push(255&i)):18===r?(o.push(i>>10&255),o.push(i>>2&255)):12===r&&o.push(i>>4&255),new Uint8Array(o)}function tn(t){var e,r,n="",a=0,i=t.length;for(e=0;e<i;e++)e%3==0&&e&&(n+=tt[a>>18&63],n+=tt[a>>12&63],n+=tt[a>>6&63],n+=tt[63&a]),a=(a<<8)+t[e];return 0==(r=i%3)?(n+=tt[a>>18&63],n+=tt[a>>12&63],n+=tt[a>>6&63],n+=tt[63&a]):2===r?(n+=tt[a>>10&63],n+=tt[a>>4&63],n+=tt[a<<2&63],n+=tt[64]):1===r&&(n+=tt[a>>2&63],n+=tt[a<<4&63],n+=tt[64],n+=tt[64]),n}function ta(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}(0,a.K2)(te,"resolveYamlBinary"),(0,a.K2)(tr,"constructYamlBinary"),(0,a.K2)(tn,"representYamlBinary"),(0,a.K2)(ta,"isBinary");var ti=new b("tag:yaml.org,2002:binary",{kind:"scalar",resolve:te,construct:tr,predicate:ta,represent:tn}),to=Object.prototype.hasOwnProperty,ts=Object.prototype.toString;function tl(t){if(null===t)return!0;var e,r,n,a,i,o=[];for(e=0,r=t.length;e<r;e+=1){if(n=t[e],i=!1,"[object Object]"!==ts.call(n))return!1;for(a in n)if(to.call(n,a))if(i)return!1;else i=!0;if(!i||-1!==o.indexOf(a))return!1;o.push(a)}return!0}function tc(t){return null!==t?t:[]}(0,a.K2)(tl,"resolveYamlOmap"),(0,a.K2)(tc,"constructYamlOmap");var tu=new b("tag:yaml.org,2002:omap",{kind:"sequence",resolve:tl,construct:tc}),th=Object.prototype.toString;function tp(t){var e,r,n,a,i;if(null===t)return!0;for(e=0,i=Array(t.length),r=t.length;e<r;e+=1){if(n=t[e],"[object Object]"!==th.call(n)||1!==(a=Object.keys(n)).length)return!1;i[e]=[a[0],n[a[0]]]}return!0}function td(t){var e,r,n,a,i;if(null===t)return[];for(e=0,i=Array(t.length),r=t.length;e<r;e+=1)a=Object.keys(n=t[e]),i[e]=[a[0],n[a[0]]];return i}(0,a.K2)(tp,"resolveYamlPairs"),(0,a.K2)(td,"constructYamlPairs");var tf=new b("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:tp,construct:td}),tg=Object.prototype.hasOwnProperty;function tm(t){var e;if(null===t)return!0;for(e in t)if(tg.call(t,e)&&null!==t[e])return!1;return!0}function ty(t){return null!==t?t:{}}(0,a.K2)(tm,"resolveYamlSet"),(0,a.K2)(ty,"constructYamlSet");var tb=new b("tag:yaml.org,2002:set",{kind:"mapping",resolve:tm,construct:ty}),tk=H.extend({implicit:[V,J],explicit:[ti,tu,tf,tb]}),tx=Object.prototype.hasOwnProperty,t_=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,tw=/[\x85\u2028\u2029]/,tv=/[,\[\]\{\}]/,tA=/^(?:!|!!|![a-z\-]+!)$/i,tS=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function tM(t){return Object.prototype.toString.call(t)}function tT(t){return 10===t||13===t}function tL(t){return 9===t||32===t}function tO(t){return 9===t||32===t||10===t||13===t}function tE(t){return 44===t||91===t||93===t||123===t||125===t}function tC(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function t$(t){return 120===t?2:117===t?4:8*(85===t)}function tR(t){return 48<=t&&t<=57?t-48:-1}function tK(t){return 48===t?"\0":97===t?"\x07":98===t?"\b":116===t||9===t?" ":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"\x1b":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"\x85":95===t?"\xa0":76===t?"\u2028":80===t?"\u2029":""}function tI(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}function tP(t,e,r){"__proto__"===e?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}
76(0,a.K2)(tM,"_class"),(0,a.K2)(tT,"is_EOL"),(0,a.K2)(tL,"is_WHITE_SPACE"),(0,a.K2)(tO,"is_WS_OR_EOL"),(0,a.K2)(tE,"is_FLOW_INDICATOR"),(0,a.K2)(tC,"fromHexCode"),(0,a.K2)(t$,"escapedHexLen"),(0,a.K2)(tR,"fromDecimalCode"),(0,a.K2)(tK,"simpleEscapeSequence"),(0,a.K2)(tI,"charFromCodepoint"),(0,a.K2)(tP,"setProperty");var tN=Array(256),tD=Array(256);for(n=0;n<256;n++)tN[n]=+!!tK(n),tD[n]=tK(n);function tj(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||tk,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function tz(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=f(r),new h(e,r)}function tF(t,e){throw tz(t,e)}function tB(t,e){t.onWarning&&t.onWarning.call(null,tz(t,e))}(0,a.K2)(tj,"State$1"),(0,a.K2)(tz,"generateError"),(0,a.K2)(tF,"throwError"),(0,a.K2)(tB,"throwWarning");var tU={YAML:(0,a.K2)(function(t,e,r){var n,a,i;null!==t.version&&tF(t,"duplication of %YAML directive"),1!==r.length&&tF(t,"YAML directive accepts exactly one argument"),null===(n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]))&&tF(t,"ill-formed argument of the YAML directive"),a=parseInt(n[1],10),i=parseInt(n[2],10),1!==a&&tF(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=i<2,1!==i&&2!==i&&tB(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,a.K2)(function(t,e,r){var n,a;2!==r.length&&tF(t,"TAG directive accepts exactly two arguments"),n=r[0],a=r[1],tA.test(n)||tF(t,"ill-formed tag handle (first argument) of the TAG directive"),tx.call(t.tagMap,n)&&tF(t,'there is a previously declared suffix for "'+n+'" tag handle'),tS.test(a)||tF(t,"ill-formed tag prefix (second argument) of the TAG directive");try{a=decodeURIComponent(a)}catch(e){tF(t,"tag prefix is malformed: "+a)}t.tagMap[n]=a},"handleTagDirective")};function tW(t,e,r,n){var a,i,o,s;if(e<r){if(s=t.input.slice(e,r),n)for(a=0,i=s.length;a<i;a+=1)9===(o=s.charCodeAt(a))||32<=o&&o<=1114111||tF(t,"expected valid JSON character");else t_.test(s)&&tF(t,"the stream contains non-printable characters");t.result+=s}}function tH(t,e,r,n){var a,i,o,s;for(c.isObject(r)||tF(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(a=Object.keys(r)).length;o<s;o+=1)i=a[o],tx.call(e,i)||(tP(e,i,r[i]),n[i]=!0)}function tY(t,e,r,n,a,i,o,s,l){var c,u;if(Array.isArray(a))for(c=0,u=(a=Array.prototype.slice.call(a)).length;c<u;c+=1)Array.isArray(a[c])&&tF(t,"nested arrays are not supported inside keys"),"object"==typeof a&&"[object Object]"===tM(a[c])&&(a[c]="[object Object]");if("object"==typeof a&&"[object Object]"===tM(a)&&(a="[object Object]"),a=String(a),null===e&&(e={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(i))for(c=0,u=i.length;c<u;c+=1)tH(t,e,i[c],r);else tH(t,e,i,r);else!t.json&&!tx.call(r,a)&&tx.call(e,a)&&(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=l||t.position,tF(t,"duplicated mapping key")),tP(e,a,i),delete r[a];return e}function tq(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):tF(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function tG(t,e,r){for(var n=0,a=t.input.charCodeAt(t.position);0!==a;){for(;tL(a);)9===a&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),a=t.input.charCodeAt(++t.position);if(e&&35===a)do a=t.input.charCodeAt(++t.position);while(10!==a&&13!==a&&0!==a);if(tT(a))for(tq(t),a=t.input.charCodeAt(t.position),n++,t.lineIndent=0;32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);else break}return -1!==r&&0!==n&&t.lineIndent<r&&tB(t,"deficient indentation"),n}function tX(t){var e,r=t.position;return!!((45===(e=t.input.charCodeAt(r))||46===e)&&e===t.input.charCodeAt(r+1)&&e===t.input.charCodeAt(r+2)&&(r+=3,0===(e=t.input.charCodeAt(r))||tO(e)))||!1}function tZ(t,e){1===e?t.result+=" ":e>1&&(t.result+=c.repeat("\n",e-1))}function tV(t,e,r){var n,a,i,o,s,l,c,u,h=t.kind,p=t.result;if(tO(u=t.input.charCodeAt(t.position))||tE(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u||(63===u||45===u)&&(tO(n=t.input.charCodeAt(t.position+1))||r&&tE(n)))return!1;for(t.kind="scalar",t.result="",a=i=t.position,o=!1;0!==u;){if(58===u){if(tO(n=t.input.charCodeAt(t.position+1))||r&&tE(n))break}else if(35===u){if(tO(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&tX(t)||r&&tE(u))break;else if(tT(u)){if(s=t.line,l=t.lineStart,c=t.lineIndent,tG(t,!1,-1),t.lineIndent>=e){o=!0,u=t.input.charCodeAt(t.position);continue}t.position=i,t.line=s,t.lineStart=l,t.lineIndent=c;break}
76o&&(tW(t,a,i,!1),tZ(t,t.line-s),a=i=t.position,o=!1),tL(u)||(i=t.position+1),u=t.input.charCodeAt(++t.position)}return tW(t,a,i,!1),!!t.result||(t.kind=h,t.result=p,!1)}function tQ(t,e){var r,n,a;if(39!==(r=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=a=t.position;0!==(r=t.input.charCodeAt(t.position));)if(39===r){if(tW(t,n,t.position,!0),39!==(r=t.input.charCodeAt(++t.position)))return!0;n=t.position,t.position++,a=t.position}else tT(r)?(tW(t,n,a,!0),tZ(t,tG(t,!1,e)),n=a=t.position):t.position===t.lineStart&&tX(t)?tF(t,"unexpected end of the document within a single quoted scalar"):(t.position++,a=t.position);tF(t,"unexpected end of the stream within a single quoted scalar")}function tJ(t,e){var r,n,a,i,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(s=t.input.charCodeAt(t.position));)if(34===s)return tW(t,r,t.position,!0),t.position++,!0;else if(92===s){if(tW(t,r,t.position,!0),tT(s=t.input.charCodeAt(++t.position)))tG(t,!1,e);else if(s<256&&tN[s])t.result+=tD[s],t.position++;else if((o=t$(s))>0){for(a=o,i=0;a>0;a--)(o=tC(s=t.input.charCodeAt(++t.position)))>=0?i=(i<<4)+o:tF(t,"expected hexadecimal character");t.result+=tI(i),t.position++}else tF(t,"unknown escape sequence");r=n=t.position}else tT(s)?(tW(t,r,n,!0),tZ(t,tG(t,!1,e)),r=n=t.position):t.position===t.lineStart&&tX(t)?tF(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position);tF(t,"unexpected end of the stream within a double quoted scalar")}function t0(t,e){var r,n,a,i,o,s,l,c,u,h,p,d,f=!0,g=t.tag,m=t.anchor,y=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))o=93,c=!1,i=[];else{if(123!==d)return!1;o=125,c=!0,i={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=i),d=t.input.charCodeAt(++t.position);0!==d;){if(tG(t,!0,e),(d=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=g,t.anchor=m,t.kind=c?"mapping":"sequence",t.result=i,!0;f?44===d&&tF(t,"expected the node content, but found ','"):tF(t,"missed comma between flow collection entries"),h=u=p=null,s=l=!1,63===d&&tO(t.input.charCodeAt(t.position+1))&&(s=l=!0,t.position++,tG(t,!0,e)),r=t.line,n=t.lineStart,a=t.position,t8(t,e,1,!1,!0),h=t.tag,u=t.result,tG(t,!0,e),d=t.input.charCodeAt(t.position),(l||t.line===r)&&58===d&&(s=!0,d=t.input.charCodeAt(++t.position),tG(t,!0,e),t8(t,e,1,!1,!0),p=t.result),c?tY(t,i,y,h,u,p,r,n,a):s?i.push(tY(t,null,y,h,u,p,r,n,a)):i.push(u),tG(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(f=!0,d=t.input.charCodeAt(++t.position)):f=!1}tF(t,"unexpected end of the stream within a flow collection")}function t1(t,e){var r,n,a,i,o=1,s=!1,l=!1,u=e,h=0,p=!1;if(124===(i=t.input.charCodeAt(t.position)))n=!1;else{if(62!==i)return!1;n=!0}for(t.kind="scalar",t.result="";0!==i;)if(43===(i=t.input.charCodeAt(++t.position))||45===i)1===o?o=43===i?3:2:tF(t,"repeat of a chomping mode identifier");else if((a=tR(i))>=0)0===a?tF(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):l?tF(t,"repeat of an indentation width identifier"):(u=e+a-1,l=!0);else break;if(tL(i)){do i=t.input.charCodeAt(++t.position);while(tL(i));if(35===i)do i=t.input.charCodeAt(++t.position);while(!tT(i)&&0!==i)}for(;0!==i;){for(tq(t),t.lineIndent=0,i=t.input.charCodeAt(t.position);(!l||t.lineIndent<u)&&32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position);if(!l&&t.lineIndent>u&&(u=t.lineIndent),tT(i)){h++;continue}if(t.lineIndent<u){3===o?t.result+=c.repeat("\n",s?1+h:h):1===o&&s&&(t.result+="\n");break}for(n?tL(i)?(p=!0,t.result+=c.repeat("\n",s?1+h:h)):p?(p=!1,t.result+=c.repeat("\n",h+1)):0===h?s&&(t.result+=" "):t.result+=c.repeat("\n",h):t.result+=c.repeat("\n",s?1+h:h),s=!0,l=!0,h=0,r=t.position;!tT(i)&&0!==i;)i=t.input.charCodeAt(++t.position);tW(t,r,t.position,!1)}return!0}function t2(t,e){var r,n,a=t.tag,i=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),n=t.input.charCodeAt(t.position);0!==n&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,tF(t,"tab characters must not be used in indentation")),45===n&&tO(t.input.charCodeAt(t.position+1)));){if(s=!0,t.position++,tG(t,!0,-1)&&t.lineIndent<=e){o.push(null),n=t.input.charCodeAt(t.position);continue}if(r=t.line,t8(t,e,3,!1,!0),o.push(t.result),tG(t,!0,-1),n=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==n)tF(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}
76return!!s&&(t.tag=a,t.anchor=i,t.kind="sequence",t.result=o,!0)}function t3(t,e,r){var n,a,i,o,s,l,c,u=t.tag,h=t.anchor,p={},d=Object.create(null),f=null,g=null,m=null,y=!1,b=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=p),c=t.input.charCodeAt(t.position);0!==c;){if(y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,tF(t,"tab characters must not be used in indentation")),n=t.input.charCodeAt(t.position+1),i=t.line,(63===c||58===c)&&tO(n))63===c?(y&&(tY(t,p,d,f,g,null,o,s,l),f=g=m=null),b=!0,y=!0,a=!0):y?(y=!1,a=!0):tF(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,c=n;else{if(o=t.line,s=t.lineStart,l=t.position,!t8(t,r,2,!1,!0))break;if(t.line===i){for(c=t.input.charCodeAt(t.position);tL(c);)c=t.input.charCodeAt(++t.position);if(58===c)tO(c=t.input.charCodeAt(++t.position))||tF(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(tY(t,p,d,f,g,null,o,s,l),f=g=m=null),b=!0,y=!1,a=!1,f=t.tag,g=t.result;else{if(!b)return t.tag=u,t.anchor=h,!0;tF(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return t.tag=u,t.anchor=h,!0;tF(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((t.line===i||t.lineIndent>e)&&(y&&(o=t.line,s=t.lineStart,l=t.position),t8(t,e,4,!0,a)&&(y?g=t.result:m=t.result),y||(tY(t,p,d,f,g,m,o,s,l),f=g=m=null),tG(t,!0,-1),c=t.input.charCodeAt(t.position)),(t.line===i||t.lineIndent>e)&&0!==c)tF(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&tY(t,p,d,f,g,null,o,s,l),b&&(t.tag=u,t.anchor=h,t.kind="mapping",t.result=p),b}function t5(t){var e,r,n,a,i=!1,o=!1;if(33!==(a=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&tF(t,"duplication of a tag property"),60===(a=t.input.charCodeAt(++t.position))?(i=!0,a=t.input.charCodeAt(++t.position)):33===a?(o=!0,r="!!",a=t.input.charCodeAt(++t.position)):r="!",e=t.position,i){do a=t.input.charCodeAt(++t.position);while(0!==a&&62!==a);t.position<t.length?(n=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):tF(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==a&&!tO(a);)33===a&&(o?tF(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),tA.test(r)||tF(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),tv.test(n)&&tF(t,"tag suffix cannot contain flow indicator characters")}n&&!tS.test(n)&&tF(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(e){tF(t,"tag name is malformed: "+n)}return i?t.tag=n:tx.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:"!"===r?t.tag="!"+n:"!!"===r?t.tag="tag:yaml.org,2002:"+n:tF(t,'undeclared tag handle "'+r+'"'),!0}function t6(t){var e,r;if(38!==(r=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&tF(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!tO(r)&&!tE(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&tF(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function t9(t){var e,r,n;if(42!==(n=t.input.charCodeAt(t.position)))return!1;for(n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!tO(n)&&!tE(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&tF(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),tx.call(t.anchorMap,r)||tF(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],tG(t,!0,-1),!0}function t8(t,e,r,n,a){var i,o,s,l,c,u,h,p,d,f=1,g=!1,m=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,i=o=s=4===r||3===r,n&&tG(t,!0,-1)&&(g=!0,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)),1===f)for(;t5(t)||t6(t);)tG(t,!0,-1)?(g=!0,s=i,t.lineIndent>e?f=1:t.lineIndent===e?f=0:t.lineIndent<e&&(f=-1)):s=!1;if(s&&(s=g||a),(1===f||4===r)&&(p=1===r||2===r?e:e+1,d=t.position-t.lineStart,1===f?s&&(t2(t,d)||t3(t,d,p))||t0(t,p)?m=!0:(o&&t1(t,p)||tQ(t,p)||tJ(t,p)?m=!0:t9(t)?(m=!0,(null!==t.tag||null!==t.anchor)&&tF(t,"alias node should not have any properties")):tV(t,p,1===r)&&(m=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===f&&(m=s&&t2(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&tF(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),l=0,c=t.implicitTypes.length;l<c;
76l+=1)if((h=t.implicitTypes[l]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(tx.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(l=0,h=null,c=(u=t.typeMap.multi[t.kind||"fallback"]).length;l<c;l+=1)if(t.tag.slice(0,u[l].tag.length)===u[l].tag){h=u[l];break}h||tF(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&tF(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):tF(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||m}function t4(t){var e,r,n,a,i=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(a=t.input.charCodeAt(t.position))&&(tG(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===a);){for(o=!0,a=t.input.charCodeAt(++t.position),e=t.position;0!==a&&!tO(a);)a=t.input.charCodeAt(++t.position);for(r=t.input.slice(e,t.position),n=[],r.length<1&&tF(t,"directive name must not be less than one character in length");0!==a;){for(;tL(a);)a=t.input.charCodeAt(++t.position);if(35===a){do a=t.input.charCodeAt(++t.position);while(0!==a&&!tT(a));break}if(tT(a))break;for(e=t.position;0!==a&&!tO(a);)a=t.input.charCodeAt(++t.position);n.push(t.input.slice(e,t.position))}0!==a&&tq(t),tx.call(tU,r)?tU[r](t,r,n):tB(t,'unknown document directive "'+r+'"')}if(tG(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,tG(t,!0,-1)):o&&tF(t,"directives end mark is expected"),t8(t,t.lineIndent-1,4,!1,!0),tG(t,!0,-1),t.checkLineBreaks&&tw.test(t.input.slice(i,t.position))&&tB(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&tX(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,tG(t,!0,-1));return}t.position<t.length-1&&tF(t,"end of the stream or a document separator is expected")}function t7(t,e){t=String(t),e=e||{},0!==t.length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var r=new tj(t,e),n=t.indexOf("\0");for(-1!==n&&(r.position=n,tF(r,"null byte is not allowed in input")),r.input+="\0";32===r.input.charCodeAt(r.position);)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)t4(r);return r.documents}function et(t,e,r){null!==e&&"object"==typeof e&&void 0===r&&(r=e,e=null);var n=t7(t,r);if("function"!=typeof e)return n;for(var a=0,i=n.length;a<i;a+=1)e(n[a])}function ee(t,e){var r=t7(t,e);if(0!==r.length){if(1===r.length)return r[0];throw new h("expected a single document in the stream, but found more")}}(0,a.K2)(tW,"captureSegment"),(0,a.K2)(tH,"mergeMappings"),(0,a.K2)(tY,"storeMappingPair"),(0,a.K2)(tq,"readLineBreak"),(0,a.K2)(tG,"skipSeparationSpace"),(0,a.K2)(tX,"testDocumentSeparator"),(0,a.K2)(tZ,"writeFoldedLines"),(0,a.K2)(tV,"readPlainScalar"),(0,a.K2)(tQ,"readSingleQuotedScalar"),(0,a.K2)(tJ,"readDoubleQuotedScalar"),(0,a.K2)(t0,"readFlowCollection"),(0,a.K2)(t1,"readBlockScalar"),(0,a.K2)(t2,"readBlockSequence"),(0,a.K2)(t3,"readBlockMapping"),(0,a.K2)(t5,"readTagProperty"),(0,a.K2)(t6,"readAnchorProperty"),(0,a.K2)(t9,"readAlias"),(0,a.K2)(t8,"composeNode"),(0,a.K2)(t4,"readDocument"),(0,a.K2)(t7,"loadDocuments"),(0,a.K2)(et,"loadAll$1"),(0,a.K2)(ee,"load$1");var er={loadAll:et,load:ee},en=Object.prototype.toString,ea=Object.prototype.hasOwnProperty,ei={};ei[0]="\\0",ei[7]="\\a",ei[8]="\\b",ei[9]="\\t",ei[10]="\\n",ei[11]="\\v",ei[12]="\\f",ei[13]="\\r",ei[27]="\\e",ei[34]='\\"',ei[92]="\\\\",ei[133]="\\N",ei[160]="\\_",ei[8232]="\\L",ei[8233]="\\P";var eo=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],es=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function el(t,e){var r,n,a,i,o,s,l;if(null===e)return{};for(a=0,r={},i=(n=Object.keys(e)).length;a<i;a+=1)s=String(e[o=n[a]]),"!!"===o.slice(0,2)&&(o="tag:yaml.org,2002:"+o.slice(2)),(l=t.compiledTypeMap.fallback[o])&&ea.call(l.styleAliases,s)&&(s=l.styleAliases[s]),r[o]=s;return r}function ec(t){var e,r,n;if(e=t.toString(16).toUpperCase(),t<=255)r="x",n=2;else if(t<=65535)r="u",n=4;else if(t<=0xffffffff)r="U",n=8;else throw new h("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+c.repeat("0",n-e.length)+e}function eu(t){this.schema=t.schema||tk,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=c.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=el(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType='"'===t.quotingType?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer="function"==typeof t.replacer?t.replacer:null,this.impl
76icitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function eh(t,e){for(var r,n=c.repeat(" ",e),a=0,i=-1,o="",s=t.length;a<s;)-1===(i=t.indexOf("\n",a))?(r=t.slice(a),a=s):(r=t.slice(a,i+1),a=i+1),r.length&&"\n"!==r&&(o+=n),o+=r;return o}function ep(t,e){return"\n"+c.repeat(" ",t.indent*e)}function ed(t,e){var r,n;for(r=0,n=t.implicitTypes.length;r<n;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1}function ef(t){return 32===t||9===t}function eg(t){return 32<=t&&t<=126||161<=t&&t<=55295&&8232!==t&&8233!==t||57344<=t&&t<=65533&&65279!==t||65536<=t&&t<=1114111}function em(t){return eg(t)&&65279!==t&&13!==t&&10!==t}function ey(t,e,r){var n=em(t),a=n&&!ef(t);return(r?n:n&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!a)||em(e)&&!ef(e)&&35===t||58===e&&a}function eb(t){return eg(t)&&65279!==t&&!ef(t)&&45!==t&&63!==t&&58!==t&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t&&35!==t&&38!==t&&42!==t&&33!==t&&124!==t&&61!==t&&62!==t&&39!==t&&34!==t&&37!==t&&64!==t&&96!==t}function ek(t){return!ef(t)&&58!==t}function ex(t,e){var r,n=t.charCodeAt(e);return n>=55296&&n<=56319&&e+1<t.length&&(r=t.charCodeAt(e+1))>=56320&&r<=57343?(n-55296)*1024+r-56320+65536:n}function e_(t){return/^\n* /.test(t)}function ew(t,e,r,n,a,i,o,s){var l,c=0,u=null,h=!1,p=!1,d=-1!==n,f=-1,g=eb(ex(t,0))&&ek(ex(t,t.length-1));if(e||o)for(l=0;l<t.length;c>=65536?l+=2:l++){if(!eg(c=ex(t,l)))return 5;g=g&&ey(c,u,s),u=c}else{for(l=0;l<t.length;c>=65536?l+=2:l++){if(10===(c=ex(t,l)))h=!0,d&&(p=p||l-f-1>n&&" "!==t[f+1],f=l);else if(!eg(c))return 5;g=g&&ey(c,u,s),u=c}p=p||d&&l-f-1>n&&" "!==t[f+1]}return h||p?r>9&&e_(t)?5:o?2===i?5:2:p?4:3:!g||o||a(t)?2===i?5:2:1}function ev(t,e,r,n,i){t.dump=function(){if(0===e.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==eo.indexOf(e)||es.test(e)))return 2===t.quotingType?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,r),s=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),l=n||t.flowLevel>-1&&r>=t.flowLevel;function c(e){return ed(t,e)}switch((0,a.K2)(c,"testAmbiguity"),ew(e,l,t.indent,s,c,t.quotingType,t.forceQuotes&&!n,i)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+eA(e,t.indent)+eS(eh(e,o));case 4:return">"+eA(e,t.indent)+eS(eh(eM(e,s),o));case 5:return'"'+eL(e)+'"';default:throw new h("impossible error: invalid scalar style")}}()}function eA(t,e){var r=e_(t)?String(e):"",n="\n"===t[t.length-1];return r+(n&&("\n"===t[t.length-2]||"\n"===t)?"+":n?"":"-")+"\n"}function eS(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function eM(t,e){for(var r,n,a,i=/(\n+)([^\n]*)/g,o=(i.lastIndex=r=-1!==(r=t.indexOf("\n"))?r:t.length,eT(t.slice(0,r),e)),s="\n"===t[0]||" "===t[0];a=i.exec(t);){var l=a[1],c=a[2];n=" "===c[0],o+=l+(s||n||""===c?"":"\n")+eT(c,e),s=n}return o}function eT(t,e){if(""===t||" "===t[0])return t;for(var r,n,a=/ [^ ]/g,i=0,o=0,s=0,l="";r=a.exec(t);)(s=r.index)-i>e&&(n=o>i?o:s,l+="\n"+t.slice(i,n),i=n+1),o=s;return l+="\n",t.length-i>e&&o>i?l+=t.slice(i,o)+"\n"+t.slice(o+1):l+=t.slice(i),l.slice(1)}function eL(t){for(var e,r="",n=0,a=0;a<t.length;n>=65536?a+=2:a++)!(e=ei[n=ex(t,a)])&&eg(n)?(r+=t[a],n>=65536&&(r+=t[a+1])):r+=e||ec(n);return r}function eO(t,e,r){var n,a,i,o="",s=t.tag;for(n=0,a=r.length;n<a;n+=1)i=r[n],t.replacer&&(i=t.replacer.call(r,String(n),i)),(eK(t,e,i,!1,!1)||void 0===i&&eK(t,e,null,!1,!1))&&(""!==o&&(o+=","+(t.condenseFlow?"":" ")),o+=t.dump);t.tag=s,t.dump="["+o+"]"}function eE(t,e,r,n){var a,i,o,s="",l=t.tag;for(a=0,i=r.length;a<i;a+=1)o=r[a],t.replacer&&(o=t.replacer.call(r,String(a),o)),(eK(t,e+1,o,!0,!0,!1,!0)||void 0===o&&eK(t,e+1,null,!0,!0,!1,!0))&&(n&&""===s||(s+=ep(t,e)),t.dump&&10===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=l,t.dump=s||"[]"}function eC(t,e,r){var n,a,i,o,s,l="",c=t.tag,u=Object.keys(r);for(n=0,a=u.length;n<a;n+=1)s="",""!==l&&(s+=", "),t.condenseFlow&&(s+='"'),o=r[i=u[n]],t.replacer&&(o=t.replacer.call(r,i,o)),eK(t,e,i,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),eK(t,e,o,!1,
76!1)&&(s+=t.dump,l+=s));t.tag=c,t.dump="{"+l+"}"}function e$(t,e,r,n){var a,i,o,s,l,c,u="",p=t.tag,d=Object.keys(r);if(!0===t.sortKeys)d.sort();else if("function"==typeof t.sortKeys)d.sort(t.sortKeys);else if(t.sortKeys)throw new h("sortKeys must be a boolean or a function");for(a=0,i=d.length;a<i;a+=1)c="",n&&""===u||(c+=ep(t,e)),s=r[o=d[a]],t.replacer&&(s=t.replacer.call(r,o,s)),eK(t,e+1,o,!0,!0,!0)&&((l=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024)&&(t.dump&&10===t.dump.charCodeAt(0)?c+="?":c+="? "),c+=t.dump,l&&(c+=ep(t,e)),eK(t,e+1,s,!0,l)&&(t.dump&&10===t.dump.charCodeAt(0)?c+=":":c+=": ",c+=t.dump,u+=c));t.tag=p,t.dump=u||"{}"}function eR(t,e,r){var n,a,i,o,s,l;for(i=0,o=(a=r?t.explicitTypes:t.implicitTypes).length;i<o;i+=1)if(((s=a[i]).instanceOf||s.predicate)&&(!s.instanceOf||"object"==typeof e&&e instanceof s.instanceOf)&&(!s.predicate||s.predicate(e))){if(r?s.multi&&s.representName?t.tag=s.representName(e):t.tag=s.tag:t.tag="?",s.represent){if(l=t.styleMap[s.tag]||s.defaultStyle,"[object Function]"===en.call(s.represent))n=s.represent(e,l);else if(ea.call(s.represent,l))n=s.represent[l](e,l);else throw new h("!<"+s.tag+'> tag resolver accepts not "'+l+'" style');t.dump=n}return!0}return!1}function eK(t,e,r,n,a,i,o){t.tag=null,t.dump=r,eR(t,r,!1)||eR(t,r,!0);var s=en.call(t.dump),l=n;n&&(n=t.flowLevel<0||t.flowLevel>e);var c,u,p,d="[object Object]"===s||"[object Array]"===s;if(d&&(p=-1!==(u=t.duplicates.indexOf(r))),(null!==t.tag&&"?"!==t.tag||p||2!==t.indent&&e>0)&&(a=!1),p&&t.usedDuplicates[u])t.dump="*ref_"+u;else{if(d&&p&&!t.usedDuplicates[u]&&(t.usedDuplicates[u]=!0),"[object Object]"===s)n&&0!==Object.keys(t.dump).length?(e$(t,e,t.dump,a),p&&(t.dump="&ref_"+u+t.dump)):(eC(t,e,t.dump),p&&(t.dump="&ref_"+u+" "+t.dump));else if("[object Array]"===s)n&&0!==t.dump.length?(t.noArrayIndent&&!o&&e>0?eE(t,e-1,t.dump,a):eE(t,e,t.dump,a),p&&(t.dump="&ref_"+u+t.dump)):(eO(t,e,t.dump),p&&(t.dump="&ref_"+u+" "+t.dump));else if("[object String]"===s)"?"!==t.tag&&ev(t,t.dump,e,i,l);else{if("[object Undefined]"===s||t.skipInvalid)return!1;throw new h("unacceptable kind of an object to dump "+s)}null!==t.tag&&"?"!==t.tag&&(c=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21"),c="!"===t.tag[0]?"!"+c:"tag:yaml.org,2002:"===c.slice(0,18)?"!!"+c.slice(18):"!<"+c+">",t.dump=c+" "+t.dump)}return!0}function eI(t,e){var r,n,a=[],i=[];for(eP(t,a,i),r=0,n=i.length;r<n;r+=1)e.duplicates.push(a[i[r]]);e.usedDuplicates=Array(n)}function eP(t,e,r){var n,a,i;if(null!==t&&"object"==typeof t)if(-1!==(a=e.indexOf(t)))-1===r.indexOf(a)&&r.push(a);else if(e.push(t),Array.isArray(t))for(a=0,i=t.length;a<i;a+=1)eP(t[a],e,r);else for(a=0,i=(n=Object.keys(t)).length;a<i;a+=1)eP(t[n[a]],e,r)}(0,a.K2)(el,"compileStyleMap"),(0,a.K2)(ec,"encodeHex"),(0,a.K2)(eu,"State"),(0,a.K2)(eh,"indentString"),(0,a.K2)(ep,"generateNextLine"),(0,a.K2)(ed,"testImplicitResolving"),(0,a.K2)(ef,"isWhitespace"),(0,a.K2)(eg,"isPrintable"),(0,a.K2)(em,"isNsCharOrWhitespace"),(0,a.K2)(ey,"isPlainSafe"),(0,a.K2)(eb,"isPlainSafeFirst"),(0,a.K2)(ek,"isPlainSafeLast"),
76(0,a.K2)(ex,"codePointAt"),(0,a.K2)(e_,"needIndentIndicator");function eN(t,e){return function(){throw Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}(0,a.K2)(ew,"chooseScalarStyle"),(0,a.K2)(ev,"writeScalar"),(0,a.K2)(eA,"blockHeader"),(0,a.K2)(eS,"dropEndingNewline"),(0,a.K2)(eM,"foldString"),(0,a.K2)(eT,"foldLine"),(0,a.K2)(eL,"escapeString"),(0,a.K2)(eO,"writeFlowSequence"),(0,a.K2)(eE,"writeBlockSequence"),(0,a.K2)(eC,"writeFlowMapping"),(0,a.K2)(e$,"writeBlockMapping"),(0,a.K2)(eR,"detectType"),(0,a.K2)(eK,"writeNode"),(0,a.K2)(eI,"getDuplicateReferences"),(0,a.K2)(eP,"inspectNode"),(0,a.K2)(function(t,e){var r=new eu(e=e||{});r.noRefs||eI(t,r);var n=t;return(r.replacer&&(n=r.replacer.call({"":n},"",n)),eK(r,0,n,!0,!0))?r.dump+"\n":""},"dump$1"),(0,a.K2)(eN,"renamed");var eD=H,ej=er.load;er.loadAll,eN("safeLoad","load"),eN("safeLoadAll","loadAll"),eN("safeDump","dump")},915992:(t,e,r)=>{"use strict";r.d(e,{Nq:()=>o,RI:()=>c,Wg:()=>a,hq:()=>i});var n=r(195611),a=(0,n.K2)((t,e)=>{if(e)return"translate("+-t.width/2+", "+-t.height/2+")";let r=t.x??0,n=t.y??0;return"translate("+-(r+t.width/2)+", "+-(n+t.height/2)+")"},"computeLabelTransform"),i={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},o={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function s(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=l(t),e=l(e);let[r,n]=[t.x,t.y],[a,i]=[e.x,e.y],o=a-r,s=i-n;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}(0,n.K2)(s,"calculateDeltaAndAngle");var l=(0,n.K2)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),c=(0,n.K2)(t=>({x:(0,n.K2)(function(e,r,n){let a=0,o=l(n[0]).x<l(n[n.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(i,t.arrowTypeStart)){let{angle:e,deltaX:r}=s(n[0],n[1]);a=i[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(i,t.arrowTypeEnd)){let{angle:e,deltaX:r}=s(n[n.length-1],n[n.length-2]);a=i[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let c=Math.abs(l(e).x-l(n[n.length-1]).x),u=Math.abs(l(e).y-l(n[n.length-1]).y),h=Math.abs(l(e).x-l(n[0]).x),p=Math.abs(l(e).y-l(n[0]).y),d=i[t.arrowTypeStart],f=i[t.arrowTypeEnd];if(c<f&&c>0&&u<f){let t=f+1-c;t*="right"===o?-1:1,a-=t}if(h<d&&h>0&&p<d){let t=d+1-h;t*="right"===o?-1:1,a+=t}return l(e).x+a},"x"),y:(0,n.K2)(function(e,r,n){let a=0,o=l(n[0]).y<l(n[n.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(i,t.arrowTypeStart)){let{angle:e,deltaY:r}=s(n[0],n[1]);a=i[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(i,t.arrowTypeEnd)){let{angle:e,deltaY:r}=s(n[n.length-1],n[n.length-2]);a=i[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let c=Math.abs(l(e).y-l(n[n.length-1]).y),u=Math.abs(l(e).x-l(n[n.length-1]).x),h=Math.abs(l(e).y-l(n[0]).y),p=Math.abs(l(e).x-l(n[0]).x),d=i[t.arrowTypeStart],f=i[t.arrowTypeEnd];if(c<f&&c>0&&u<f){let t=f+1-c;t*="up"===o?-1:1,a-=t}if(h<d&&h>0&&p<d){let t=d+1-h;t*="up"===o?-1:1,a+=t}return l(e).y+a},"y")}),"getLineFunctionsWithOffset")},916484:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(288236),a=r(821531);let i=(t,e)=>{let r=n.A.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,a.A)(t,i)}},917048:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(265963),a=r(158823);let i=function(t){return(0,a.A)(t)&&(0,n.A)(t)}},933517:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(165797),a=r(265963),i=r(566964),o=r(729400);let s=function(t,e,r){if(!(0,o.A)(r))return!1;var s=typeof e;return("number"==s?!!((0,a.A)(r)&&(0,i.A)(e,r.length)):"string"==s&&e in r)&&(0,n.A)(r[e],t)}},958002:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=Object.prototype;let a=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},966116:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(45333),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof module&&module&&!module.nodeType&&module,o=i&&i.exports===a&&n.A.process;
76let s=function(){try{var t=i&&i.require&&i.require("util").types;if(t)return t;return o&&o.binding&&o.binding("util")}catch(t){}}()},988855:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(778104),a="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=a&&"object"==typeof module&&module&&!module.nodeType&&module,o=i&&i.exports===a?n.A.Buffer:void 0,s=o?o.allocUnsafe:void 0;let l=function(t,e){if(e)return t.slice();var r=t.length,n=s?s(r):new t.constructor(r);return t.copy(n),n}}}]);
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.