PageSourceSearch

https://ccleaks.com/_next/static/chunks/6294.b74bf9afff3bc554.js

js ccleaks.com collected 2026-10-04 07:13:10 UTC 348,548 bytes, 74 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6294],{2050:(t,e,r)=>{"use strict";r.d(e,{IU:()=>S,Jo:()=>F,T_:()=>C,UQ:()=>M,a6:()=>T,g0:()=>td,hq:()=>p,jP:()=>K,lP:()=>A});var n=r(7954),i=r(64936),a=r(89614),s=r(47513),o=r(14329),l=r(60276),c=r(68718),u=r(46672),h=r(81178),d=r(37316),f=(0,u.K)((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"),p={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},g={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function y(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=m(t),e=m(e);let[r,n]=[t.x,t.y],[i,a]=[e.x,e.y],s=i-r,o=a-n;return{angle:Math.atan(o/s),deltaX:s,deltaY:o}}(0,u.K)(y,"calculateDeltaAndAngle");var m=(0,u.K)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),b=(0,u.K)(t=>({x:(0,u.K)(function(e,r,n){let i=0,a=m(n[0]).x<m(n[n.length-1]).x?"left":"right";if(0===r&&Object.hasOwn(p,t.arrowTypeStart)){let{angle:e,deltaX:r}=y(n[0],n[1]);i=p[t.arrowTypeStart]*Math.cos(e)*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(p,t.arrowTypeEnd)){let{angle:e,deltaX:r}=y(n[n.length-1],n[n.length-2]);i=p[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let s=Math.abs(m(e).x-m(n[n.length-1]).x),o=Math.abs(m(e).y-m(n[n.length-1]).y),l=Math.abs(m(e).x-m(n[0]).x),c=Math.abs(m(e).y-m(n[0]).y),u=p[t.arrowTypeStart],h=p[t.arrowTypeEnd];if(s<h&&s>0&&o<h){let t=h+1-s;t*="right"===a?-1:1,i-=t}if(l<u&&l>0&&c<u){let t=u+1-l;t*="right"===a?-1:1,i+=t}return m(e).x+i},"x"),y:(0,u.K)(function(e,r,n){let i=0,a=m(n[0]).y<m(n[n.length-1]).y?"down":"up";if(0===r&&Object.hasOwn(p,t.arrowTypeStart)){let{angle:e,deltaY:r}=y(n[0],n[1]);i=p[t.arrowTypeStart]*Math.abs(Math.sin(e))*(r>=0?1:-1)}else if(r===n.length-1&&Object.hasOwn(p,t.arrowTypeEnd)){let{angle:e,deltaY:r}=y(n[n.length-1],n[n.length-2]);i=p[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let s=Math.abs(m(e).y-m(n[n.length-1]).y),o=Math.abs(m(e).x-m(n[n.length-1]).x),l=Math.abs(m(e).y-m(n[0]).y),c=Math.abs(m(e).x-m(n[0]).x),u=p[t.arrowTypeStart],h=p[t.arrowTypeEnd];if(s<h&&s>0&&o<h){let t=h+1-s;t*="up"===a?-1:1,i-=t}if(l<u&&l>0&&c<u){let t=u+1-l;t*="up"===a?-1:1,i+=t}return m(e).y+i},"y")}),"getLineFunctionsWithOffset"),x=(0,u.K)((t,e,r,n,i,a=!1,s)=>{e.arrowTypeStart&&_(t,"start",e.arrowTypeStart,r,n,i,a,s),e.arrowTypeEnd&&_(t,"end",e.arrowTypeEnd,r,n,i,a,s)},"addEdgeMarkers"),k={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}},w=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],_=(0,u.K)((t,e,r,n,i,a,s=!1,o)=>{if(!r||"none"===r)return;let l=k[r],u=l&&w.includes(l.type);if(!l)return void c.R.warn(`Unknown arrow type: ${r}`);let h=l.type,d=`${i}_${a}-${h}${"start"===e?"Start":"End"}${s&&u?"-margin":""}`;if(o&&""!==o.trim()){let r=o.replace(/[^\dA-Za-z]/g,"_"),i=`${d}_${r}`;if(!document.getElementById(i)){let t=document.getElementById(d);if(t){let e=t.cloneNode(!0);e.id=i,e.querySelectorAll("path, circle, line").forEach(t=>{t.setAttribute("stroke",o),l.fill&&t.setAttribute("fill",o)}),t.parentNode?.appendChild(e)}}t.attr(`marker-${e}`,`url(${n}#${i})`)}else t.attr(`marker-${e}`,`url(${n}#${d})`)},"addEdgeMarker"),v=(0,u.K)(t=>"string"==typeof t?t:(0,l.D7)()?.flowchart?.curve,"resolveEdgeCurveType"),A=new Map,M=new Map,S=(0,u.K)(()=>{A.clear(),M.clear()},"clear"),T=(0,u.K)(t=>!!(t.label||t.startLabelLeft||t.startLabelRight||t.endLabelLeft||t.endLabelRight),"hasEdgeLabel"),$=(0,u.K)(t=>t?"string"==typeof t?t:t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),K=(0,u.K)(async(t,e)=>{let r,n,o,u=(0,l.D7)(),d=(0,l.E)(u),{labelStyles:p}=(0,a.GX)(e);e.labelStyle=p;let g=t.insert("g").attr("class","edgeLabel"),y=g.insert("g").attr("class","label").attr("data-id",e.id),m="markdown"===e.labelType,b=await (0,s.GZ)(t,e.label,{style:$(e.labelStyle),useHtmlLabels:d,addSvgBackgroun
1d:!0,isNode:!1,markdown:m,width:void 0},u);if(y.node().appendChild(b),c.R.info("abc82",e,e.labelType),d){let t=b.children[0],e=(0,h.Ltv)(b);n=r=await s.lT.measure(()=>t.getBoundingClientRect()),e.attr("width",r.width),e.attr("height",r.height)}else{let t=(0,h.Ltv)(b).select("text").node();await s.lT.measure(()=>{r=b.getBBox(),n=t&&"function"==typeof t.getBBox?t.getBBox():r})}if(y.attr("transform",f(n,d)),A.set(e.id,g),e.width=r.width,e.height=r.height,e.startLabelLeft){let r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner"),a=await (0,i.DA)(n,e.startLabelLeft,$(e.labelStyle)||"",!1,!1);o=a;let s=a.getBBox();if(d){let t=a.children[0],e=(0,h.Ltv)(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}n.attr("transform",f(s,d)),M.get(e.id)||M.set(e.id,{}),M.get(e.id).startLeft=r,L(o,e.startLabelLeft)}if(e.startLabelRight){let r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner"),a=await (0,i.DA)(n,e.startLabelRight,$(e.labelStyle)||"",!1,!1);o=a;let s=a.getBBox();if(d){let t=a.children[0],e=(0,h.Ltv)(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}n.attr("transform",f(s,d)),M.get(e.id)||M.set(e.id,{}),M.get(e.id).startRight=r,L(o,e.startLabelRight)}if(e.endLabelLeft){let r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner"),a=await (0,i.DA)(r,e.endLabelLeft,$(e.labelStyle)||"",!1,!1);o=a;let s=a.getBBox();if(d){let t=a.children[0],e=(0,h.Ltv)(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}n.attr("transform",f(s,d)),M.get(e.id)||M.set(e.id,{}),M.get(e.id).endLeft=r,L(o,e.endLabelLeft)}if(e.endLabelRight){let r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner"),a=await (0,i.DA)(r,e.endLabelRight,$(e.labelStyle)||"",!1,!1);o=a;let s=a.getBBox();if(d){let t=a.children[0],e=(0,h.Ltv)(a);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}n.attr("transform",f(s,d)),M.get(e.id)||M.set(e.id,{}),M.get(e.id).endRight=r,L(o,e.endLabelRight)}return b},"insertEdgeLabel");function L(t,e){(0,l.E)((0,l.D7)())&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,u.K)(L,"setTerminalWidth");var C=(0,u.K)((t,e)=>{c.R.debug("Moving label abc88 ",t.id,t.label,A.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,l.D7)(),{subGraphTitleTotalMargin:a}=(0,n.Oi)(i);if(t.label){let n=A.get(t.id),i=t.x,s=t.y;if(r){let n=o._K.calcLabelPosition(r);c.R.debug("Moving label "+t.label+" from (",i,",",s,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(i=n.x,s=n.y)}n.attr("transform",`translate(${i}, ${s+a/2})`)}if(t.startLabelLeft){let e=M.get(t.id).startLeft,n=t.x,i=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.startLabelRight){let e=M.get(t.id).startRight,n=t.x,i=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_right",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelLeft){let e=M.get(t.id).endLeft,n=t.x,i=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_left",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelRight){let e=M.get(t.id).endRight,n=t.x,i=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}},"positionEdgeLabel"),O=(0,u.K)((t,e)=>{if(!t?.isLabelEdge||!t?.id?.endsWith("-to-label")||!Array.isArray(e)||2!==e.length)return e;let[r,n]=e,i=Math.abs(n.x-r.x),a=Math.abs(n.y-r.y);return i<.001||a<.001?e:a>=i?[r,{x:r.x,y:n.y},n]:[r,{x:n.x,y:r.y},n]},"orthogonalizeToLabelClippedPoints"),R=(0,u.K)((t,e)=>{let r=t.x,n=t.y,i=Math.abs(e.x-r),a=Math.abs(e.y-n),s=t.width/2,o=t.height/2;return i>=s||a>=o},"outsideNode"),j=(0,u.K)((t,e,r)=>{c.R.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,i=t.y,a=Math.abs(n-r.x),s=t.width/2,o=r.x<e.x?s-a:s+a,l=t.height/2,u=Math.abs(e.y-r.y),h=Math.abs(e.x-r.x);
4if(Math.abs(i-e.y)*s>Math.abs(n-e.x)*l){let t=r.y<e.y?e.y-l-i:i-l-e.y;o=h*t/u;let n={x:r.x<e.x?r.x+o:r.x-h+o,y:r.y<e.y?r.y+u-t:r.y-u+t};return 0===o&&(n.x=e.x,n.y=e.y),0===h&&(n.x=e.x),0===u&&(n.y=e.y),c.R.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${h}, r ${o}`,n),n}{let t=u*(o=r.x<e.x?e.x-s-n:n-s-e.x)/h,i=r.x<e.x?r.x+h-o:r.x-h+o,a=r.y<e.y?r.y+t:r.y-t;return c.R.debug(`sides calc abc89, Q ${u}, q ${t}, R ${h}, r ${o}`,{_x:i,_y:a}),0===o&&(i=e.x,a=e.y),0===h&&(i=e.x),0===u&&(a=e.y),{x:i,y:a}}},"intersection"),E=(0,u.K)((t,e)=>{c.R.warn("abc88 cutPathAtIntersect",t,e);let r=[],n=t[0],i=!1;return t.forEach(t=>{if(c.R.info("abc88 checking point",t,e),R(e,t)||i)c.R.warn("abc88 outside",t,n),n=t,i||r.push(t);else{let a=j(e,n,t);c.R.debug("abc88 inside",t,n,a),c.R.debug("abc88 intersection",a,e);let s=!1;r.forEach(t=>{s=s||t.x===a.x&&t.y===a.y}),r.some(t=>t.x===a.x&&t.y===a.y)?c.R.warn("abc88 no intersect",a,r):r.push(a),i=!0}}),c.R.debug("returning points",r),r},"cutPathAtIntersect");function D(t){let e=[],r=[];for(let n=1;n<t.length-1;n++){let i=t[n-1],a=t[n],s=t[n+1];i.x===a.x&&a.y===s.y&&Math.abs(a.x-s.x)>5&&Math.abs(a.y-i.y)>5?(e.push(a),r.push(n)):i.y===a.y&&a.x===s.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-s.y)>5&&(e.push(a),r.push(n))}return{cornerPoints:e,cornerPointPositions:r}}(0,u.K)(D,"extractCornerPoints");var P=(0,u.K)(function(t,e,r){let n=e.x-t.x,i=e.y-t.y,a=r/Math.sqrt(n*n+i*i);return{x:e.x-a*n,y:e.y-a*i}},"findAdjacentPoint"),I=(0,u.K)(function(t){let{cornerPointPositions:e}=D(t),r=[];for(let n=0;n<t.length;n++)if(e.includes(n)){let e=t[n-1],i=t[n+1],a=t[n],s=P(e,a,5),o=P(i,a,5),l=o.x-s.x,u=o.y-s.y;r.push(s);let h=2*Math.sqrt(2),d={x:a.x,y:a.y};Math.abs(i.x-e.x)>10&&Math.abs(i.y-e.y)>=10?(c.R.debug("Corner point fixing",Math.abs(i.x-e.x),Math.abs(i.y-e.y)),d=a.x===s.x?{x:l<0?s.x-5+h:s.x+5-h,y:u<0?s.y-h:s.y+h}:{x:l<0?s.x-h:s.x+h,y:u<0?s.y-5+h:s.y+5-h}):c.R.debug("Corner point skipping fixing",Math.abs(i.x-e.x),Math.abs(i.y-e.y)),r.push(d,o)}else r.push(t[n]);return r},"fixCorners"),N=(0,u.K)((t,e,r)=>{let n=Math.floor((t-e-r)/4),i=Array(Number.isFinite(n)?Math.max(0,n):0).fill("2 2").join(" ");return`0 ${e} ${i} ${r}`},"generateDashArray"),F=(0,u.K)(function(t,e,r,n,i,s,u,f=!1){let p,y;if(!u)throw Error(`insertEdge: missing diagramId for edge "${e.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:m,layout:k}=(0,l.D7)(),w=e.points,_=!1,A=[];for(let t in e.cssCompiledStyles)(0,a.KX)(t)||A.push(e.cssCompiledStyles[t]);if("swimlane"===k){if(s.intersect&&i.intersect&&Array.isArray(w)&&w.length>=2)if(2===w.length)w=[i.intersect(w[0]),s.intersect(w[1])];else{let t=w.slice(1,-1),e=t[0],r=t[t.length-1],n=.5>Math.abs(w[w.length-1].x-r.x)&&.5>Math.abs(w[w.length-1].y-r.y),a=i.intersect(e),o=n?r:s.intersect(r),l=.5>Math.abs(o.x-r.x)&&.5>Math.abs(o.y-r.y);w=[....5>Math.abs(a.x-e.x)&&.5>Math.abs(a.y-e.y)?[]:[a],...t,...l?[]:[o]]}w=O(e,w)}else s.intersect&&i.intersect&&!f&&((w=w.slice(1,e.points.length-1)).unshift(i.intersect(w[0])),w.push(s.intersect(w[w.length-1])));let M=btoa(JSON.stringify(w));e.toCluster&&(c.R.info("to cluster abc88",r.get(e.toCluster)),w=E(e.points,r.get(e.toCluster).node),_=!0),e.fromCluster&&(c.R.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(w,null,2)),w=E(w.reverse(),r.get(e.fromCluster).node).reverse(),_=!0);let S=w.filter(t=>!Number.isNaN(t.y)),T=v(e.curve);"rounded"!==T&&(S=I(S));let $=h.lUB;switch(T){case"linear":case"rounded":$=h.lUB;break;case"basis":default:$=h.qrM;break;case"cardinal":$=h.y8u;break;case"bumpX":$=h.Wi0;break;case"bumpY":$=h.PGM;break;case"catmullRom":$=h.oDi;break;case"monotoneX":$=h.nVG;break;case"monotoneY":$=h.uxU;break;case"natural":$=h.Xf2;break;case"step":$=h.GZz;break;case"stepAfter":$=h.UPb;break;case"stepBefore":$=h.dyv}let{x:K,y:L}=b(e),C=(0,h.n8j)().x(K).y(L).curve($);switch(e.thickness){case"normal":default:p="edge-thickness-normal";break;case"thick":p="edge-thickness-thick";break;case"invisible":p="edge-thickness-invisible"}switch(e.pattern){case"solid":default:p+=" edge-pattern-solid";break;case"dotted":p+=" edge-pattern-dotted";break;case"dashed":p+=" edge-pattern-dashed"}let R="rounded"===T?z(U(S,e),5):C(S),j=Array.isArray(e.style)?e.style:[e.style],D=j.find(t=>t?.startsWith("stroke:")),P="";e.animate&&(P="edge-animation-fast"),e.animation&&(P="edge-animation-"+e.animation);let F=!1;
4if("handDrawn"===e.look){let r=d.A.svg(t);Object.assign([],S);let n=r.path(R,{roughness:.3,seed:m});p+=" transition";let i=(y=(0,h.Ltv)(n).select("path").attr("id",`${u}-${e.id}`).attr("class"," "+p+(e.classes?" "+e.classes:"")+(P?" "+P:"")).attr("style",j?j.reduce((t,e)=>t+";"+e,""):"")).attr("d");y.attr("d",i),t.node().appendChild(y.node())}else{let r=A.join(";"),n=j?j.reduce((t,e)=>t+e+";",""):"",i=(r?r+";"+n+";":n)+";"+(j?j.reduce((t,e)=>t+";"+e,""):"");y=t.append("path").attr("d",R).attr("id",`${u}-${e.id}`).attr("class"," "+p+(e.classes?" "+e.classes:"")+(P?" "+P:"")).attr("style",i),D=i.match(/stroke:([^;]+)/)?.[1],F=!0===e.animate||!!e.animation||r.includes("animation");let a=y.node(),s="function"==typeof a.getTotalLength?a.getTotalLength():0,o=g[e.arrowTypeStart]||0,l=g[e.arrowTypeEnd]||0;if("neo"===e.look&&!F){let t="dotted"===e.pattern||"dashed"===e.pattern?N(s,o,l):`0 ${o} ${s-o-l} ${l}`,r=`stroke-dasharray: ${t}; stroke-dashoffset: 0;`;y.attr("style",r+y.attr("style"))}}y.attr("data-edge",!0),y.attr("data-et","edge"),y.attr("data-id",e.id),y.attr("data-points",M),y.attr("data-look",(0,o.KL)(e.look)),e.showPoints&&S.forEach(e=>{t.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",e.x).attr("cy",e.y)});let B="";((0,l.D7)().flowchart.arrowMarkerAbsolute||(0,l.D7)().state.arrowMarkerAbsolute)&&(B=(B=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),c.R.info("arrowTypeStart",e.arrowTypeStart),c.R.info("arrowTypeEnd",e.arrowTypeEnd);let Y=!F&&e?.look==="neo";x(y,e,B,u,n,Y,D);let q=Math.floor(w.length/2),W=w[q];o._K.isLabelCoordinateInPath(W,y.attr("d"))||(_=!0);let H={};return _&&(H.updatedPath=w),H.originalPath=e.points,H},"insertEdge");function z(t,e){if(t.length<2)return"";let r="",n=t.length;for(let i=0;i<n;i++){let a=t[i],s=t[i-1],o=t[i+1];if(0===i)r+=`M${a.x},${a.y}`;else if(i===n-1)r+=`L${a.x},${a.y}`;else{let t=a.x-s.x,n=a.y-s.y,i=o.x-a.x,l=o.y-a.y,c=Math.hypot(t,n),u=Math.hypot(i,l);if(c<1e-5||u<1e-5){r+=`L${a.x},${a.y}`;continue}let h=t/c,d=n/c,f=i/u,p=l/u,g=Math.acos(Math.max(-1,Math.min(1,h*f+d*p)));if(g<1e-5||1e-5>Math.abs(Math.PI-g)){r+=`L${a.x},${a.y}`;continue}let y=Math.min(e/Math.sin(g/2),c/2,u/2),m=a.x-h*y,b=a.y-d*y,x=a.x+f*y,k=a.y+p*y;r+=`L${m},${b}Q${a.x},${a.y} ${x},${k}`}}return r}function B(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 U(t,e){let r=t.map(t=>({...t}));if(t.length>=2&&p[e.arrowTypeStart]){let n=p[e.arrowTypeStart],i=t[0],{angle:a}=B(i,t[1]),s=n*Math.cos(a),o=n*Math.sin(a);r[0].x=i.x+s,r[0].y=i.y+o}let n=t.length;if(n>=2&&p[e.arrowTypeEnd]){let i=p[e.arrowTypeEnd],a=t[n-1],{angle:s}=B(t[n-2],a),o=i*Math.cos(s),l=i*Math.sin(s);r[n-1].x=a.x-o,r[n-1].y=a.y-l}return r}(0,u.K)(z,"generateRoundedPath"),(0,u.K)(B,"calculateDeltaAndAngle"),(0,u.K)(U,"applyMarkerOffsetsToPoints");var Y=(0,u.K)((t,e,r,n)=>{e.forEach(e=>{th[e](t,r,n)})},"insertMarkers"),q=(0,u.K)((t,e,r)=>{c.R.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",20).attr("markerHeight",28).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"),W=(0,u.K)((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"),H=(0,u.K)((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"),X=(0,u.K)((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"),G=(0,u.K)((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"),Z=(0,u.K)((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"),V=(0,u.K)((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"),Q=(0,u.K)((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"),J=(0,u.K)((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"),tt=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{transitionColor:i}=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",`${i}`)},"barbNeo"),te=(0,u.K)((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"),tr=(0,u.K)((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 i=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");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),tn=(0,u.K)((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"),ti=(0,u.K)((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 i=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");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),ta=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:i}=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",`${i}`),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",`${i}`)},"only_one_neo"),ts=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:i,mainBkg:a}=n,s=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");
4s.append("circle").attr("fill",a??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${i}`).attr("r",6),s.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${i}`);let o=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");o.append("circle").attr("fill",a??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${i}`).attr("r",6),o.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${i}`)},"zero_or_one_neo"),to=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:i}=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",`${i}`),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",`${i}`)},"one_or_more_neo"),tl=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:i,mainBkg:a}=n,s=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");s.append("circle").attr("fill",a??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${i}`),s.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${i}`);let o=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");o.append("circle").attr("fill",a??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${i}`),o.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${i}`)},"zero_or_more_neo"),tc=(0,u.K)((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"),tu=(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:i}=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",`${i}`).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"),th={extension:q,composition:W,aggregation:H,dependency:X,lollipop:G,point:Z,circle:V,cross:Q,barb:J,barbNeo:tt,only_one:te,zero_or_one:tr,one_or_more:tn,zero_or_more:ti,only_one_neo:ta,zero_or_one_neo:ts,one_or_more_neo:to,zero_or_more_neo:tl,requirement_arrow:tc,requirement_contains:(0,u.K)((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:tu,requirement_contains_neo:(0,u.K)((t,e,r)=>{let{themeVariables:n}=(0,l.zj)(),{strokeWidth:i}=n,a=t.append("defs").append("marker").attr("id",r+"_"+e+"-requirement_c
10ontainsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");a.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),a.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),a.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),a.selectAll("*").attr("stroke-width",`${i}`)},"requirement_contains_neo")},td=Y},3303:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(50150),i=r(87369);let a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(a.re);if(!e)return;let r=e[1],i=parseInt(r,16),s=r.length,o=s%4==0,l=s>4,c=l?1:17,u=l?8:4,h=o?0:-1,d=l?255:15;return n.A.set({r:(i>>u*(h+3)&d)*c,g:(i>>u*(h+2)&d)*c,b:(i>>u*(h+1)&d)*c,a:o?(i&d)*c/255:1},t)},stringify:t=>{let{r:e,g:r,b:n,a}=t;return a<1?`#${i.Y[Math.round(e)]}${i.Y[Math.round(r)]}${i.Y[Math.round(n)]}${i.Y[Math.round(255*a)]}`:`#${i.Y[Math.round(e)]}${i.Y[Math.round(r)]}${i.Y[Math.round(n)]}`}};var s=r(22724);let o={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(o.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return s.A.channel.clamp.h(.9*parseFloat(t));case"rad":return s.A.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return s.A.channel.clamp.h(360*parseFloat(t))}}return s.A.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(o.re);if(!r)return;let[,i,a,l,c,u]=r;return n.A.set({h:o._hue2deg(i),s:s.A.channel.clamp.s(parseFloat(a)),l:s.A.channel.clamp.l(parseFloat(l)),a:c?s.A.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},t)},stringify:t=>{let{h:e,s:r,l:n,a:i}=t;return i<1?`hsla(${s.A.lang.round(e)}, ${s.A.lang.round(r)}%, ${s.A.lang.round(n)}%, ${i})`:`hsl(${s.A.lang.round(e)}, ${s.A.lang.round(r)}%, ${s.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
10almon:"#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 a.parse(e)},stringify:t=>{let e=a.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[,i,a,o,l,u,h,d,f]=r;return n.A.set({r:s.A.channel.clamp.r(a?2.55*parseFloat(i):parseFloat(i)),g:s.A.channel.clamp.g(l?2.55*parseFloat(o):parseFloat(o)),b:s.A.channel.clamp.b(h?2.55*parseFloat(u):parseFloat(u)),a:d?s.A.channel.clamp.a(f?parseFloat(d)/100:parseFloat(d)):1},t)},stringify:t=>{let{r:e,g:r,b:n,a:i}=t;return i<1?`rgba(${s.A.lang.round(e)}, ${s.A.lang.round(r)}, ${s.A.lang.round(n)}, ${s.A.lang.round(i)})`:`rgb(${s.A.lang.round(e)}, ${s.A.lang.round(r)}, ${s.A.lang.round(n)})`}},u={format:{keyword:l,hex:a,rgb:c,rgba:c,hsl:o,hsla:o},parse:t=>{if("string"!=typeof t)return t;let e=a.parse(t)||c.parse(t)||o.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(i.Z.HSL)||void 0===t.data.r?o.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?a.stringify(t):c.stringify(t)}},4709:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});var n=r(76137),i=r(91836);let a=function(t,e){var r=[];return(0,i.A)(t,function(t,n,i){e(t,n,i)&&r.push(t)}),r};var s=r(13987),o=r(24562);let l=function(t,e){return((0,o.A)(t)?n.A:a)(t,(0,s.A)(e,3))}},4762:(t,e,r)=>{"use strict";r.d(e,{A:()=>f});var n,i,a=r(24562),s=r(12281),o=r(71663);function l(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var s=t.apply(this,n);return r.cache=a.set(i,s)||a,s};return r.cache=new(l.Cache||o.A),r}l.Cache=o.A;var c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,h=(i=(n=l(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(c,function(t,r,n,i){e.push(n?i.replace(u,"$1"):r||t)}),e},function(t){return 500===i.size&&i.clear(),t})).cache,n),d=r(33595);let f=function(t,e){return(0,a.A)(t)?t:(0,s.A)(t,e)?[t]:h((0,d.A)(t))}},6158:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=/^(?:0|[1-9]\d*)$/;let i=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}},7125:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(32229),i=r(81229);let a=function(t){return"symbol"==typeof t||(0,i.A)(t)&&"[object Symbol]"==(0,n.A)(t)}},7954:(t,e,r)=>{"use strict";r.d(e,{IU:()=>h,Oi:()=>o,U7:()=>u,U_:()=>d,on:()=>c});var n=r(64936),i=r(14329),a=r(68718),s=r(46672),o=(0,s.K)(({flowchart:t})=>{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins"),l=new Map;async function c(t,e,r){let a,s;"rect"===e.shape&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let o=e.shape?n.nq[e.shape]:void 0;if(!o)throw Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let n;"sandbox"===r.config.securityLevel?n="_top":e.linkTarget&&(n=e.linkTarget||"_blank"),a=t.insert("svg:a").attr("xlink:href",e.link).attr("target",n??null),s=await o(a,e,r)}else a=s=await o(t,e,r);return a.attr("data-look",(0,i.KL)(e.look)),e.tooltip&&s.attr("title",e.tooltip),l.set(e.id,a),e.haveCallback&&a.attr("class",a.attr("class")+" clickable"),a}
10(0,s.K)(c,"insertNode");var u=(0,s.K)((t,e)=>{l.set(e.id,t)},"setNodeElem"),h=(0,s.K)(()=>{l.clear()},"clear"),d=(0,s.K)(t=>{let e=l.get(t.id);a.R.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+r-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),r},"positionNode")},8081:(t,e,r)=>{"use strict";r.d(e,{P:()=>i});let n="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||function(){return this}();function i(t){return void 0!==n.Buffer&&n.Buffer.isBuffer(t)}},9490:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t}},9581:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(){return t}}},9831:(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=/^.+(:|&colon;)/gim,e.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,e.relativeFirstCharacters=[".","/"],e.BLANK_URL="about:blank"},12281:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(24562),i=r(7125),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;let o=function(t,e){if((0,n.A)(t))return!1;var r=typeof t;return!!("number"==r||"symbol"==r||"boolean"==r||null==t||(0,i.A)(t))||s.test(t)||!a.test(t)||null!=e&&t in Object(e)}},12760:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t){r[++e]=t}),r}},13987:(t,e,r)=>{"use strict";r.d(e,{A:()=>q});var n=r(77541),i=r(32953);let a=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};var s=r(18096);let o=function(t,e,r,n,o,l){var c=1&r,u=t.length,h=e.length;if(u!=h&&!(c&&h>u))return!1;var d=l.get(t),f=l.get(e);if(d&&f)return d==e&&f==t;var p=-1,g=!0,y=2&r?new i.A:void 0;for(l.set(t,e),l.set(e,t);++p<u;){var m=t[p],b=e[p];if(n)var x=c?n(b,m,p,e,t,l):n(m,b,p,t,e,l);if(void 0!==x){if(x)continue;g=!1;break}if(y){if(!a(e,function(t,e){if(!(0,s.A)(y,e)&&(m===t||o(m,t,r,n,l)))return y.push(e)})){g=!1;break}}else if(!(m===b||o(m,b,r,n,l))){g=!1;break}}return l.delete(t),l.delete(e),g};var l=r(84470),c=r(76019),u=r(67211);let h=function(t){var e=-1,r=Array(t.size);return t.forEach(function(t,n){r[++e]=[n,t]}),r};var d=r(12760),f=l.A?l.A.prototype:void 0,p=f?f.valueOf:void 0;let g=function(t,e,r,n,i,a,s){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)break;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":if(t.byteLength!=e.byteLength||!a(new c.A(t),new c.A(e)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,u.A)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var l=h;case"[object Set]":var f=1&n;if(l||(l=d.A),t.size!=e.size&&!f)break;var g=s.get(t);if(g)return g==e;n|=2,s.set(t,e);var y=o(l(t),l(e),n,i,a,s);return s.delete(t),y;case"[object Symbol]":if(p)return p.call(t)==p.call(e)}return!1};var y=r(78873),m=Object.prototype.hasOwnProperty;let b=function(t,e,r,n,i,a){var s=1&r,o=(0,y.A)(t),l=o.length;if(l!=(0,y.A)(e).length&&!s)return!1;for(var c=l;c--;){var u=o[c];if(!(s?u in e:m.call(e,u)))return!1}var h=a.get(t),d=a.get(e);if(h&&d)return h==e&&d==t;var f=!0;a.set(t,e),a.set(e,t);for(var p=s;++c<l;){var g=t[u=o[c]],b=e[u];if(n)var x=s?n(b,g,u,e,t,a):n(g,b,u,t,e,a);if(!(void 0===x?g===b||i(g,b,r,n,a):x)){f=!1;break}p||(p="constructor"==u)}if(f&&!p){var k=t.constructor,w=e.constructor;k!=w&&"constructor"in t&&"constructor"in e&&!("function"==typeof k&&k instanceof k&&"function"==typeof w&&w instanceof w)&&(f=!1)}return a.delete(t),a.delete(e),f};var x=r(75636),k=r(24562),w=r(73440),_=r(39198),v="[object Arguments]",A="[object Array]",M="[object Object]",S=Object.prototype.hasOwnProperty;let T=function(t,e,r,i,a,s){var l=(0,k.A)(t),c=(0,k.A)(e),u=l?A:(0,x.A)(t),h=c?A:(0,x.A)(e);u=u==v?M:u,h=h==v?M:h;var d=u==M,f=h==M,p=u==h;if(p&&(0,w.A)(t)){if(!(0,w.A)(e))return!1;l=!0,d=!1}if(p&&!d)return s||(s=new n.A),l||(0,_.A)(t)?o(t,e,r,i,a,s):g(t,e,u,r,i,a,s);if(!(1&r)){var y=d&&S.call(t,"__wrapped__"),m=f&&S.call(e,"__wrapped__");
10if(y||m){var T=y?t.value():t,$=m?e.value():e;return s||(s=new n.A),a(T,$,r,i,s)}}return!!p&&(s||(s=new n.A),b(t,e,r,i,a,s))};var $=r(81229);let K=function t(e,r,n,i,a){return e===r||(null!=e&&null!=r&&((0,$.A)(e)||(0,$.A)(r))?T(e,r,n,i,t,a):e!=e&&r!=r)},L=function(t,e,r,i){var a=r.length,s=a,o=!i;if(null==t)return!s;for(t=Object(t);a--;){var l=r[a];if(o&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var c=(l=r[a])[0],u=t[c],h=l[1];if(o&&l[2]){if(void 0===u&&!(c in t))return!1}else{var d=new n.A;if(i)var f=i(u,h,c,t,e,d);if(!(void 0===f?K(h,u,3,i,d):f))return!1}}return!0};var C=r(20370);let O=function(t){return t==t&&!(0,C.A)(t)};var R=r(67801);let j=function(t){for(var e=(0,R.A)(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,O(i)]}return e},E=function(t,e){return function(r){return null!=r&&r[t]===e&&(void 0!==e||t in Object(r))}},D=function(t){var e=j(t);return 1==e.length&&e[0][2]?E(e[0][0],e[0][1]):function(r){return r===t||L(r,t,e)}};var P=r(59313);let I=function(t,e,r){var n=null==t?void 0:(0,P.A)(t,e);return void 0===n?r:n};var N=r(96835),F=r(12281),z=r(43106),B=r(46951),U=r(45034);let Y=function(t){return(0,F.A)(t)?(0,U.A)((0,z.A)(t)):function(e){return(0,P.A)(e,t)}},q=function(t){if("function"==typeof t)return t;if(null==t)return B.A;if("object"==typeof t){var e,r;return(0,k.A)(t)?(e=t[0],r=t[1],(0,F.A)(e)&&O(r)?E((0,z.A)(e),r):function(t){var n=I(t,e);return void 0===n&&n===r?(0,N.A)(t,e):K(r,n,3)}):D(t)}return Y(t)}},14329:(t,e,r)=>{"use strict";r.d(e,{pe:()=>M,PX:()=>J,ru:()=>V,Un:()=>Q,$t:()=>ta,Sm:()=>tl,C4:()=>to,$C:()=>Y,rY:()=>tc,sM:()=>B,KL:()=>tu,Ib:()=>O,dq:()=>tr,I5:()=>ti,yT:()=>W,vU:()=>L,_K:()=>ts,bH:()=>G});var n,i=r(60276),a=r(68718),s=r(46672),o=r(19698),l=r(81178);function c(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");let r=function(...n){let i=e?e.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);let s=t.apply(this,n);return r.cache=a.set(i,s)||a,s};return r.cache=new(c.Cache||Map),r}function u(){}c.Cache=Map;var h=r(84581),d=r(76199);function f(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}var p=r(8081);function g(t){if("object"!=typeof t||null==t)return!1;if(null===Object.getPrototypeOf(t))return!0;if("[object Object]"!==Object.prototype.toString.call(t)){let e=t[Symbol.toStringTag];return null!=e&&!!Object.getOwnPropertyDescriptor(t,Symbol.toStringTag)?.writable&&t.toString()===`[object ${e}]`}let e=t;for(;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}var y=r(65066),m=r(57305);function b(t,e,r,n=new Map,i){let a=i?.(t,e,r,n);if(void 0!==a)return a;if((0,h.s)(t))return t;if(n.has(t))return n.get(t);if(Array.isArray(t)){let e=Array(t.length);n.set(t,e);for(let a=0;a<t.length;a++)e[a]=b(t[a],a,r,n,i);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){let e=new Map;for(let[a,s]of(n.set(t,e),t))e.set(a,b(s,a,r,n,i));return e}if(t instanceof Set){let e=new Set;for(let a of(n.set(t,e),t))e.add(b(a,void 0,r,n,i));return e}if((0,p.P)(t))return t.subarray();if((0,d.i)(t)){let e=new(Object.getPrototypeOf(t)).constructor(t.length);n.set(t,e);for(let a=0;a<t.length;a++)e[a]=b(t[a],a,r,n,i);return e}if(t instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){let e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),x(e,t,r,n,i),e}if("u">typeof File&&t instanceof File){let e=new File([t],t.name,{type:t.type});return n.set(t,e),x(e,t,r,n,i),e}if("u">typeof Blob&&t instanceof Blob){let e=new Blob([t],{type:t.type});return n.set(t,e),x(e,t,r,n,i),e}if(t instanceof Error){let e=structuredClone(t);return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,e.constructor=t.constructor,x(e,t,r,n,i),e}if(t instanceof Boolean){let e=new Boolean(t.valueOf());return n.set(t,e),x(e,t,r,n,i),e}if(t instanceof Number){let e=new Number(t.valueOf());return n.set(t,e),x(e,t,r,n,i),e}if(t instanceof String){let e=new String(t.valueOf());return n.set(t,e),x(e,t,r,n,i),e}if("object"==typeof t&&function(t){switch((0,y.b)(t)){case m.R_:case m.Uw:case m.cT:case m.iq:case m.$V:case m.vC:case m.ri:case m.ML:case m.XZ:case m.i1:case m._u:case m.pj:case m.kj:case m.GX:case m.Av:case m.NA:case m.OG:case m.VP:case m.Qb:case m.q:case m.x6:case m.ZR:return!0;default:return!1}}(t)){let e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),x(e,t,r,n,i),e}return t}function x(t,e,r=t,n,i){let a=[...Object.keys(e),...f(e)];for(let s=0;s<a.length;s++){let o=a[s],l=Object.getOwnPropertyDescriptor(t,o);(null==l||l.writable)&&(t[o]=b(e[o],o,r,n,i))}}function k(t){var e;return e=(e,r,n,i)=>{let a;if(void 0!==a)return a;
10if("object"==typeof t){if("[object Object]"===(0,y.b)(t)&&"function"!=typeof t.constructor){let e={};return i.set(t,e),x(e,t,n,i),e}switch(Object.prototype.toString.call(t)){case m.kj:case m.OG:case m.$V:{let e=new t.constructor(t?.valueOf());return x(e,t),e}case m.R_:{let e={};return x(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}},b(t,void 0,t,new Map,e)}var w=r(19615);function _(t){return"object"==typeof t&&null!==t}var v=r(73595),A=r(28688),M="​",S={curveBasis:l.qrM,curveBasisClosed:l.Yu4,curveBasisOpen:l.IA3,curveBumpX:l.Wi0,curveBumpY:l.PGM,curveBundle:l.OEq,curveCardinalClosed:l.olC,curveCardinalOpen:l.IrU,curveCardinal:l.y8u,curveCatmullRomClosed:l.Q7f,curveCatmullRomOpen:l.cVp,curveCatmullRom:l.oDi,curveLinear:l.lUB,curveLinearClosed:l.Lx9,curveMonotoneX:l.nVG,curveMonotoneY:l.uxU,curveNatural:l.Xf2,curveStep:l.GZz,curveStepAfter:l.UPb,curveStepBefore:l.dyv},T=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,$=(0,s.K)(function(t,e){let r=K(t,/(?:init\b)|(?:initialize\b)/),n={};if(Array.isArray(r)){let t=r.map(t=>t.args);(0,i.$i)(t),n=(0,i.hH)(n,[...t])}else n=r.args;if(!n)return;let a=(0,i.Ch)(t,e),s="config";return void 0!==n[s]&&("flowchart-v2"===a&&(a="flowchart"),n[a]=n[s],delete n[s]),n},"detectInit"),K=(0,s.K)(function(t,e=null){try{let r,n=RegExp(`[%]{2}(?![{]${T.source})(?=[}][%]{2}).*
11`,"ig");t=t.trim().replace(n,"").replace(/'/gm,'"'),a.R.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);let s=[];for(;null!==(r=i.DB.exec(t));)if(r.index===i.DB.lastIndex&&i.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;s.push({type:t,args:e})}if(0===s.length)return{type:t,args:null};return 1===s.length?s[0]:s}catch(r){return a.R.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),L=(0,s.K)(function(t){return t.replace(i.DB,"")},"removeDirectives"),C=(0,s.K)(function(t,e){for(let[r,n]of e.entries())if(n.match(t))return r;return -1},"isSubstringInArray");function O(t,e){return t?S[`curve${t.charAt(0).toUpperCase()+t.slice(1)}`]??e:e}function R(t,e){let r=t.trim();if(r)return"loose"!==e.securityLevel?(0,o.J)(r):r}(0,s.K)(O,"interpolateToCurve"),(0,s.K)(R,"formatUrl");var j=(0,s.K)((t,...e)=>{let r=t.split("."),n=r.length-1,i=r[n],s=window;for(let e=0;e<n;e++)if(!(s=s[r[e]]))return void a.R.error(`Function name: ${t} not found in window`);s[i](...e)},"runFunc");function E(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function D(t){let e,r=0;return t.forEach(t=>{r+=E(t,e),e=t}),N(t,r/2)}function P(t){return 1===t.length?t[0]:D(t)}(0,s.K)(E,"distance"),(0,s.K)(D,"traverseEdge"),(0,s.K)(P,"calcLabelPosition");var I=(0,s.K)((t,e=2)=>{let r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),N=(0,s.K)((t,e)=>{let r,n=e;for(let e of t){if(r){let t=E(e,r);if(0===t)return r;if(t<n)n-=t;else{let i=n/t;if(i<=0)return r;if(i>=1)return{x:e.x,y:e.y};if(i>0&&i<1)return{x:I((1-i)*r.x+i*e.x,5),y:I((1-i)*r.y+i*e.y,5)}}}r=e}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),F=(0,s.K)((t,e,r)=>{a.R.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());let n=N(e,25),i=t?10:5,s=Math.atan2(e[0].y-n.y,e[0].x-n.x),o={x:0,y:0};return o.x=Math.sin(s)*i+(e[0].x+n.x)/2,o.y=-Math.cos(s)*i+(e[0].y+n.y)/2,o},"calcCardinalityPosition");function z(t,e,r){let n=structuredClone(r);a.R.info("our points",n),"start_left"!==e&&"start_right"!==e&&n.reverse();let i=N(n,25+t),s=10+.5*t,o=Math.atan2(n[0].y-i.y,n[0].x-i.x),l={x:0,y:0};return"start_left"===e?(l.x=Math.sin(o+Math.PI)*s+(n[0].x+i.x)/2,l.y=-Math.cos(o+Math.PI)*s+(n[0].y+i.y)/2):"end_right"===e?(l.x=Math.sin(o-Math.PI)*s+(n[0].x+i.x)/2-5,l.y=-Math.cos(o-Math.PI)*s+(n[0].y+i.y)/2-5):"end_left"===e?(l.x=Math.sin(o)*s+(n[0].x+i.x)/2-5,l.y=-Math.cos(o)*s+(n[0].y+i.y)/2-5):(l.x=Math.sin(o)*s+(n[0].x+i.x)/2,l.y=-Math.cos(o)*s+(n[0].y+i.y)/2),l}function B(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,s.K)(z,"calcTerminalLabelPosition"),(0,s.K)(B,"getStylesFromArray");var U=0,Y=(0,s.K)(()=>(U++,"id-"+Math.random().toString(36).substr(2,12)+"-"+U),"generateId");function q(t){let e="",r="0123456789abcdef",n=r.length;for(let i=0;i<t;i++)e+=r.charAt(Math.floor(Math.random()*n));return e}(0,s.K)(q,"makeRandomHex");var W=(0,s.K)(t=>q(t.length),"random"),H=(0,s.K)(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:""}}
11,"getTextObj"),X=(0,s.K)(function(t,e){let r=e.text.replace(i.Y2.lineBreakRegex," "),[,n]=ti(e.fontSize),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.style("text-anchor",e.anchor),a.style("font-family",e.fontFamily),a.style("font-size",n),a.style("font-weight",e.fontWeight),a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class);let s=a.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.attr("fill",e.fill),s.text(r),a},"drawSimpleText"),G=c((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),i.Y2.lineBreakRegex.test(t)))return t;let n=t.split(" ").filter(Boolean),a=[],s="";return n.forEach((t,i)=>{let o=Q(`${t} `,r),l=Q(s,r);if(o>e){let{hyphenatedStrings:n,remainingWord:i}=Z(t,e,"-",r);a.push(s,...n),s=i}else l+o>=e?(a.push(s),s=t):s=[s,t].filter(Boolean).join(" ");i+1===n.length&&a.push(s)}),a.filter(t=>""!==t).join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),Z=c((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);let i=[...t],a=[],s="";return i.forEach((t,o)=>{let l=`${s}${t}`;if(Q(l,n)>=e){let t=i.length===o+1,e=`${l}${r}`;a.push(t?l:e),s=""}else s=l}),{hyphenatedStrings:a,remainingWord:s}},(t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function V(t,e){return J(t,e).height}function Q(t,e){return J(t,e).width}(0,s.K)(V,"calculateTextHeight"),(0,s.K)(Q,"calculateTextWidth");var J=c((t,e)=>{let{fontSize:r=12,fontFamily:n="Arial",fontWeight:a=400}=e;if(!t)return{width:0,height:0};let[,s]=ti(r),o=t.split(i.Y2.lineBreakRegex),c=[],u=(0,l.Ltv)("body");if(!u.remove)return{width:0,height:0,lineHeight:0};let h=u.append("svg");for(let t of["sans-serif",n]){let e=0,r={width:0,height:0,lineHeight:0};for(let n of o){let i=H();i.text=n||M;let o=X(h,i).style("font-size",s).style("font-weight",a).style("font-family",t),l=(o._groups||o)[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)}h.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}`),tt=class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}static{(0,s.K)(this,"InitIDGenerator")}},te=(0,s.K)(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 tr(t){return"str"in t}(0,s.K)(tr,"isDetailedError");var tn=(0,s.K)((t,e,r,n)=>{if(!n)return;let i=t.node()?.getBBox();i&&t.append("text").text(n).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-r).attr("class",e)},"insertTitle"),ti=(0,s.K)(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 ta(t,e){return function(t,...e){return function(t,...e){let r=e.slice(0,-1),n=e[e.length-1],i=t;for(let t=0;t<r.length;t++)i=function t(e,r,n,i){if((0,h.s)(e)&&(e=Object(e)),null==r||"object"!=typeof r)return e;if(i.has(r))return function(t){if((0,h.s)(t))return t;if(Array.isArray(t)||(0,d.i)(t)||t instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);let e=Object.getPrototypeOf(t);if(null==e)return Object.assign(Object.create(e),t);let r=e.constructor;if(t instanceof Date||t instanceof Map||t instanceof Set)return new r(t);if(t instanceof RegExp){let e=new r(t);return e.lastIndex=t.lastIndex,e}if(t instanceof DataView)return new r(t.buffer.slice(0));if(t instanceof Error){let e;return(e=t instanceof AggregateError?new r(t.errors,t.message,{cause:t.cause}):new r(t.message,{cause:t.cause})).stack=t.stack,Object.assign(e,t),e}return"u">typeof File&&t instanceof File?new r([t],t.name,{type:t.type,lastModified:t.lastModified}):"object"==typeof t?Object.assign(Object.create(e),t):t}(i.get(r));if(i.set(r,e),Array.isArray(r)){r=r.slice();for(let t=0;t<r.length;t++)r[t]=r[t]??void 0}let a=[...Object.keys(r),...f(r)];for(let o=0;o<a.length;o++){let l=a[o];if("__proto__"===l)continue;let c=r[l],u=e[l];if((0,w.N)(c)&&(c={...c}),(0,w.N)(u)&&(u={...u}),(0,p.P)(c)&&(c=k(c)),Array.isArray(c))if(Array.isArray(u)){let t=[],e=Reflect.ownKeys(u);for(let r=0;r<e.length;r++){let n=e[r];t[n]=u[n]}u=t}else{var s;if(_(s=u)&&(0,v.X)(s)){let t=[];for(let e=0;e<u.length;e++)t[e]=u[e];u=t}else u=[]}let h=n(u,c,l,e,r,i);void 0!==h?e[l]=h:Array.isArray(c)||_(u)&&_(c)&&(g(u)||g(c)||(0,A.i)(u)||(0,A.i)(c))?e[l]=t(u,c,n,i):null==u&&g(c)?e[l]=t({}
11,c,n,i):null==u&&(0,A.i)(c)?e[l]=k(c):(void 0===u||void 0!==c)&&(e[l]=c)}return e}(i,r[t],n,new Map);return i}(t,...e,u)}({},t,e)}(0,s.K)(ta,"cleanAndMerge");var ts={assignWithDepth:i.hH,wrapLabel:G,calculateTextHeight:V,calculateTextWidth:Q,calculateTextDimensions:J,cleanAndMerge:ta,detectInit:$,detectDirective:K,isSubstringInArray:C,interpolateToCurve:O,calcLabelPosition:P,calcCardinalityPosition:F,calcTerminalLabelPosition:z,formatUrl:R,getStylesFromArray:B,generateId:Y,random:W,runFunc:j,entityDecode:te,insertTitle:tn,isLabelCoordinateInPath:th,parseFontSize:ti,InitIDGenerator:tt},to=(0,s.K)(function(t){let e=t;return(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)?"fl\xb0\xb0"+e+"\xb6\xdf":"fl\xb0"+e+"\xb6\xdf"})},"encodeEntities"),tl=(0,s.K)(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),tc=(0,s.K)((t,e,{counter:r=0,prefix:n,suffix:i},a)=>a||`${n?`${n}_`:""}${t}_${e}_${r}${i?`_${i}`:""}`,"getEdgeId");function tu(t){return t??null}function th(t,e){let r=Math.round(t.x),n=Math.round(t.y),i=e.replace(/(\d+\.\d+)/g,t=>Math.round(parseFloat(t)).toString());return i.includes(r.toString())||i.includes(n.toString())}(0,s.K)(tu,"handleUndefinedAttr"),(0,s.K)(th,"isLabelCoordinateInPath")},16386:(t,e,r)=>{var n,i={initialize:function(){this._tasks=new Map},mutate:function(t,e){return a(this,"mutate",t,e)},measure:function(t,e){return a(this,"measure",t,e)},clear:function(t){var e=this._tasks,r=e.get(t);this.fastdom.clear(r),e.delete(t)}};function a(t,e,r,n){var i,a=t._tasks,s=t.fastdom,o=new Promise(function(t,l){i=s[e](function(){a.delete(o);try{t(n?r.call(n):r())}catch(t){l(t)}},n)});return a.set(o,i),o}void 0===(n=(function(){return i}).call(i,r,i,t))||(t.exports=n)},17378:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(81741),i=r(81229);let a=function(t){return(0,i.A)(t)&&(0,n.A)(t)}},18096:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){return t.has(e)}},18310:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=Function.prototype.toString;let i=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},19615:(t,e,r)=>{"use strict";r.d(e,{N:()=>i});var n=r(65066);function i(t){return null!==t&&"object"==typeof t&&"[object Arguments]"===(0,n.b)(t)}},19698:(t,e,r)=>{"use strict";e.J=function(t){if(!t)return n.BLANK_URL;var e,r=i(t.trim());do e=(r=i(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 a=r;if(!a)return n.BLANK_URL;if(n.relativeFirstCharacters.indexOf(a[0])>-1)return a;var s=a.trimStart(),o=s.match(n.urlSchemeRegex);if(!o)return a;var l=o[0].toLowerCase().trim();if(n.invalidProtocolRegex.test(l))return n.BLANK_URL;var c=s.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(9831);function i(t){try{return decodeURIComponent(t)}catch(e){return t}}},20370:(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)}},22337:(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 i=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(i.length){var a=RegExp("\n[	 ]{".concat(Math.min.apply(Math,i),"}"),"g");n=n.map(function(t){return t.replace(a,"\n")})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return e.forEach(function(t,e){var r=s.match(/(?:^|\n)( *)$/),i=r?r[1]:"",a=t;"string"==typeof t&&t.includes("\n")&&(a=String(t).split("\n").map(function(t,e){return 0===e?t:"".concat(i).c
11oncat(t)}).join("\n")),s+=a+n[e+1]}),s}r.d(e,{T:()=>n})},22724:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});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},i)=>{if(!e)return 2.55*r;t/=360,e/=100;let a=(r/=100)<.5?r*(1+e):r+e-r*e,s=2*r-a;switch(i){case"r":return 255*n.hue2rgb(s,a,t+1/3);case"g":return 255*n.hue2rgb(s,a,t);case"b":return 255*n.hue2rgb(s,a,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},n)=>{let i=Math.max(t/=255,e/=255,r/=255),a=Math.min(t,e,r),s=(i+a)/2;if("l"===n)return 100*s;if(i===a)return 0;let o=i-a;if("s"===n)return 100*(s>.5?o/(2-i-a):o/(i+a));switch(i){case t:return((e-r)/o+6*(e<r))*60;case e:return((r-t)/o+2)*60;case r:return((t-e)/o+4)*60;default:return -1}}},i={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}`}}}},22829:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(71358),i=r(27122);let a=(0,n.A)(i.A,"Set")},23574:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(){return[]}},24473:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(46951);let i=function(t){return"function"==typeof t?t:n.A}},24562:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=Array.isArray},25860:(t,e,r)=>{"use strict";r.d(e,{B:()=>d,OS:()=>T,QV:()=>E,dc:()=>M,ju:()=>y,n5:()=>j,nf:()=>D,sc:()=>L,sv:()=>p,xY:()=>R});var n=r(58548),i=r(2050),a=r(7954),s=r(64936),o=r(14329),l=r(60276),c=r(68718),u=r(46672),h=r(97410);function d(t,{edgePathsClass:e="edges edgePath"}={}){let r=t.insert("g").attr("class","root"),n=r.insert("g").attr("class","clusters");return{clusters:n,edgePaths:r.insert("g").attr("class",e),edgeLabels:r.insert("g").attr("class","edgeLabels"),nodes:r.insert("g").attr("class","nodes"),rootGroups:r}}async function f(t,e){if(e.label){let{shapeSvg:r,bbox:n}=await (0,s.Zk)(t,e);e.labelBBox={width:n.width,height:n.height},r.remove()}else e.labelBBox={width:0,height:0}}async function p(t,e,r){let n=await (0,a.on)(t,e,r),i=n.node()?.getBBox()??{width:0,height:0};return e.width=i.width,e.height=i.height,n}async function g(t,e){let n=new h.T({multigraph:!0,compound:!0}),a=[...e.edges],s=(0,l.D7)(),o=d(t),{edgeLabels:c,nodes:u}=o,g=new Map,y=null!=t.node();for(let t of(await Promise.all(e.nodes.map(async t=>{if(t.isGroup)y&&await f(u,t),n.setNode(t.id,{...t});else{if(y){let e=await p(u,t,{config:s,dir:t.dir});g.set(t.id,e)}n.setNode(t.id,{...t})}})),a))y&&(0,i.a6)(t)&&await (0,i.jP)(c,t),n.setEdge(t.start,t.end,{...t},t.id),e.edges.some(e=>e.id===t.id)||e.edges.push(t);if(globalThis.mermaidCaptureSizes){let{captureNodeSizes:n}=await r.e(3218).then(r.bind(r,93218));n(t,e)}return{graph:n,groups:o,nodeElements:g}}(0,u.K)(d,"createLayoutElementGroups"),(0,u.K)(f,"measureGroupLabel"),(0,u.K)(p,"insertMeasuredNode"),(0,u.K)(g,"createGraphWithElements");var y=new Map,m=new Map,b=new Map,x=(0,u.K)(()=>{m.clear(),b.clear(),y.clear()},"clear"),k=(0,u.K)((t,e)=>{let r=m.get(e)||[];return c.R.trace("In isDescendant",e," ",t," = ",r.includes(t)),r.includes(t)},"isDescendant"),w=(0,u.K)((t,e)=>{let r=m.get(e)||[];return c.R.info("Descendants of ",e," is ",r),c.R.info("Edge is ",t),t.v!==e&&t.w!==e&&(r?r.includes(t.v)||k(t.v,e)||k(t.w,e)||r.includes(t.w):(c.R.debug("Tilt, ",e,",not in descendants"),!1))},"edgeInCluster"),_=(0,u.K)((t,e,r,n)=>{c.R.debug("Copying children of ",t,"root",n,"data",e.node(t),n);let i=e.children(t)||[];t!==n&&i.push(t),c.R.debug("Copying (nodes) clusterId",t,"nodes",i),i.forEach(i=>{if(e.children(i).length>0)_(i,e,r,n);else{let a=e.node(i);c.R.info("cp ",i," to ",n," with parent ",t),r.setNode(i,a),n!==e.parent(i)&&(c.R.debug("Setting parent",i,e.parent(i)),r.setParent(i,e.parent(i))),t!==n&&i!==t?(c.R.debug("Setting parent",i,t),r.setParent(i,t)):(c.R.info("In copy ",t,"root",n,"data",e.node(t),n),c.R.debug("Not Setting parent for node=",i,"cluster!==rootId",t!==n,"node!==clusterId",i!==t));let s=e.edges(i);
11c.R.debug("Copying Edges",s),s.forEach(i=>{c.R.info("Edge",i);let a=e.edge(i.v,i.w,i.name);c.R.info("Edge data",a,n);try{w(i,n)?(c.R.info("Copying as ",i.v,i.w,a,i.name),r.setEdge(i.v,i.w,a,i.name),c.R.info("newGraph edges ",r.edges(),r.edge(r.edges()[0]))):c.R.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",n," clusterId:",t)}catch(t){c.R.error(t)}})}c.R.debug("Removing node",i),e.removeNode(i)})},"copy"),v=(0,u.K)((t,e)=>{let r=e.children(t),n=[...r];for(let i of r)b.set(i,t),n=[...n,...v(i,e)];return n},"extractDescendants"),A=(0,u.K)((t,e,r)=>{let n=t.edges().filter(t=>t.v===e||t.w===e),i=t.edges().filter(t=>t.v===r||t.w===r),a=n.map(t=>({v:t.v===e?r:t.v,w:t.w===e?e:t.w})),s=i.map(t=>({v:t.v,w:t.w}));return a.filter(t=>s.some(e=>t.v===e.v&&t.w===e.w))},"findCommonEdges"),M=(0,u.K)((t,e,r)=>{let n,i=e.children(t);if(c.R.trace("Searching children of id ",t,i),i.length<1)return t;for(let t of i){let i=M(t,e,r),a=A(e,r,i);if(i)if(!(a.length>0))return i;else n=i}return n},"findNonClusterChild"),S=(0,u.K)(t=>y.has(t)&&y.get(t).externalConnections&&y.has(t)?y.get(t).id:t,"getAnchorId"),T=(0,u.K)((t,e)=>{if(!t||e>10)return void c.R.debug("Opting out, no graph ");for(let e of(c.R.debug("Opting in, graph "),t.nodes().forEach(function(e){t.children(e).length>0&&(c.R.debug("Cluster identified",e," Replacement id in edges: ",M(e,t,e)),m.set(e,v(e,t)),y.set(e,{id:M(e,t,e),clusterData:t.node(e)}))}),t.nodes().forEach(function(e){let r=t.children(e),n=t.edges();r.length>0?(c.R.debug("Cluster identified",e,m),n.forEach(t=>{k(t.v,e)^k(t.w,e)&&(c.R.debug("Edge: ",t," leaves cluster ",e),c.R.debug("Descendants of XXX ",e,": ",m.get(e)),y.get(e).externalConnections=!0)})):c.R.debug("Not a cluster ",e,m)}),y.keys())){let r=y.get(e).id,n=t.parent(r);n!==e&&y.has(n)&&!y.get(n).externalConnections&&(y.get(e).id=n);let i=t.edges().some(t=>t.v===e);if(r&&y.get(e)?.externalConnections&&i&&C(t,r,e)){let n=O(t,e,t.parent(r));n&&(y.get(e).id=n)}}
11t.edges().forEach(function(e){let r=t.edge(e);c.R.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),c.R.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));let n=e.v,i=e.w;if(c.R.debug("Fix XXX",y,"ids:",e.v,e.w,"Translating: ",y.get(e.v)," --- ",y.get(e.w)),y.get(e.v)||y.get(e.w)){if(c.R.debug("Fixing and trying - removing XXX",e.v,e.w,e.name),n=S(e.v),i=S(e.w),t.removeEdge(e.v,e.w,e.name),n!==e.v){let i=t.parent(n);y.get(i).externalConnections=!0,r.fromCluster=e.v}if(i!==e.w){let n=t.parent(i);y.get(n).externalConnections=!0,r.toCluster=e.w}c.R.debug("Fix Replacing with XXX",n,i,e.name),t.setEdge(n,i,r,e.name)}}),$(t,0),c.R.trace(y)},"adjustClustersAndEdges"),$=(0,u.K)((t,e)=>{if(e>10)return void c.R.error("Bailing out");let r=t.nodes(),n=!1;for(let e of r){let r=t.children(e);n=n||r.length>0}if(!n)return void c.R.debug("Done, no node has children",t.nodes());for(let n of(c.R.debug("Nodes = ",r,e),r))if(c.R.debug("Extracting node",n,y,y.has(n)&&!y.get(n).externalConnections,!t.parent(n),t.node(n),t.children("D")," Depth ",e),y.has(n))if(!y.get(n).externalConnections&&t.children(n)&&t.children(n).length>0){c.R.debug("Cluster without external connections, without a parent and with children",n,e);let r="TB"===t.graph().rankdir?"LR":"TB";y.get(n)?.clusterData?.dir&&(r=y.get(n).clusterData.dir,c.R.debug("Fixing dir",y.get(n).clusterData.dir,r));let i=new h.T({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});_(n,t,i,n),t.setNode(n,{clusterNode:!0,id:n,clusterData:y.get(n).clusterData,label:y.get(n).label,graph:i})}else c.R.debug("Cluster ** ",n," **not meeting the criteria !externalConnections:",!y.get(n).externalConnections," no parent: ",!t.parent(n)," children ",t.children(n)&&t.children(n).length>0,t.children("D"),e),c.R.debug(y);else c.R.debug("Not a cluster",n,e);for(let n of(r=t.nodes(),c.R.debug("New list of nodes",r),r)){let r=t.node(n);c.R.debug(" Now next level",n,r),r?.clusterNode&&$(r.graph,e+1)}},"extractor"),K=(0,u.K)((t,e)=>{if(0===e.length)return[];let r=Object.assign([],e);return e.forEach(e=>{let n=t.children(e),i=K(t,n);r=[...r,...i]}),r},"sorter"),L=(0,u.K)(t=>K(t,t.children()),"sortNodesByHierarchy"),C=(0,u.K)((t,e,r)=>{let n=t.parent(e);for(;n&&n!==r;){let e=y.get(n);if(e&&!e.externalConnections)return!0;n=t.parent(n)}return!1},"isNodeInExtractableCluster"),O=(0,u.K)((t,e,r)=>{for(let n of t.children(e)??[]){if(n===r||k(n,r))continue;let i=M(n,t,e);if(i&&!C(t,i,e))return i}return null},"findSafeAnchorNode");function R({prepareLayout:t,measureLayout:e,runLayoutCore:r,paintLayout:n,afterPaint:a,paintOptions:s}){let o=e??E;return(0,u.K)(async function(e,l,c,u){let h=l.select("g");(0,i.g0)(h,e.markers,e.type,e.diagramId),j();let d={element:h,helpers:c,options:u};d.preparedLayout=await t?.(e,d);let f=await o(e,d),p=await r(e,d),g={...d,measure:f};n?await n(e,g,p):await D(e,g,s),await a?.(e,g,p)},"render")}function j(){(0,a.IU)(),(0,i.IU)(),(0,n.I)(),x()}async function E(t,{element:e}){return await g(e,t)}async function D(t,e,r={}){let{measure:n}=e,{groups:i}=n;for(let n of r.getNodes?.(t,e)??t.nodes)r.skipNode?.(n,e)||await P(i,n,e,r);let a=N(t.nodes);for(let n of t.edges)F(n,r)||await z(i,n,a,t,r,e)}async function P(t,e,r,i){e.clusterNode?(0,a.U_)(e):I(e,r,i)?await (0,n.U)(t.clusters,e):(0,a.U_)(e)}function I(t,e,r){return!0===t.isGroup&&(r.isCluster?.(t,e)??!0)}function N(t){let e=new Map;for(let r of t)r?.id&&e.set(r.id,r);return e}function F(t,e){return t.isLayoutOnly||!!e.skipEdge?.(t)}async function z(t,e,r,n,a,s){let o=(0,i.Jo)(t.edgePaths,{...e},a.clusterDb??new Map,n.type,B(e.start,e,r,s,a),B(e.end,e,r,s,a),n.diagramId,U(e,a));(0,i.a6)(e)&&(i.lP.has(e.id)||await (0,i.jP)(t.edgeLabels,e),Y(e,o))}function B(t,e,r,n,i){return i.getEdgeNode?.(t,e,n)??(t?r.get(t)??{}:{})}function U(t,e){return"function"==typeof e.skipIntersect?e.skipIntersect(t):e.skipIntersect??!1}function Y(t,e){let r=e?.updatedPath??e?.originalPath,n=(0,l.zj)(),{subGraphTitleTotalMargin:s}=(0,a.Oi)({flowchart:n.flowchart??{}});if(t.label){let n=i.lP.get(t.id),a=t.x,l=t.y;if(r){let n=o._K.calcLabelPosition(r);c.R.debug("Moving label "+t.label+" from (",a,",",l,") to (",n.x,",",n.y,") abc88"),e?.updatedPath&&(a=n.x,l=n.y)}n.attr("transform",`translate(${a}, ${l+s/2})`)}if(t?.startLabelLeft){let e=i.UQ.get(t.id).startLeft,n=t?.x,a=t?.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeStart,"start_left",r);
11n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}if(t.startLabelRight){let e=i.UQ.get(t.id).startRight,n=t.x,a=t.y;if(r){let e=o._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=i.UQ.get(t.id).endLeft,n=t.x,a=t.y;if(r){let e=o._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=i.UQ.get(t.id).endRight,n=t.x,a=t.y;if(r){let e=o._K.calcTerminalLabelPosition(10*!!t.arrowTypeEnd,"end_right",r);n=e.x,a=e.y}e.attr("transform",`translate(${n}, ${a})`)}}(0,u.K)(R,"createCommonLayoutRenderer"),(0,u.K)(j,"clearLayoutRenderState"),(0,u.K)(E,"defaultMeasureLayout"),(0,u.K)(D,"paintLayoutData"),(0,u.K)(P,"paintLayoutNode"),(0,u.K)(I,"shouldPaintAsCluster"),(0,u.K)(N,"buildNodeLookup"),(0,u.K)(F,"shouldSkipPaintEdge"),(0,u.K)(z,"paintLayoutEdge"),(0,u.K)(B,"getRenderedNode"),(0,u.K)(U,"shouldSkipIntersect"),(0,u.K)(Y,"positionRenderedEdgeLabel")},26047:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}},26845:function(t,e,r){var n;!function(e){"use strict";var i=function(){},a=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.msRequestAnimationFrame||function(t){return setTimeout(t,16)};function s(){this.reads=[],this.writes=[],this.raf=a.bind(e),i()}function o(t){t.scheduled||(t.scheduled=!0,t.raf(l.bind(null,t)),i())}function l(t){i();var e,r=t.writes,n=t.reads;try{i(n.length),t.runTasks(n),i(r.length),t.runTasks(r)}catch(t){e=t}if(t.scheduled=!1,(n.length||r.length)&&o(t),e)if(i(e.message),t.catch)t.catch(e);else throw e}function c(t,e){var r=t.indexOf(e);return!!~r&&!!t.splice(r,1)}s.prototype={constructor:s,runTasks:function(t){var e;for(i();e=t.shift();)e()},measure:function(t,e){i();var r=e?t.bind(e):t;return this.reads.push(r),o(this),r},mutate:function(t,e){i();var r=e?t.bind(e):t;return this.writes.push(r),o(this),r},clear:function(t){return i(),c(this.reads,t)||c(this.writes,t)},extend:function(t){if(i(),"object"!=typeof t)throw Error("expected object");var e=Object.create(this);return function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])}(e,t),e.fastdom=this,e.initialize&&e.initialize(),e},catch:null};var u=e.fastdom=e.fastdom||new s;void 0===(n=(function(){return u}).call(u,r,u,t))||(t.exports=n)}("u">typeof window?window:void 0!==this?this:globalThis)},27122:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(93215),i="object"==typeof self&&self&&self.Object===Object&&self;let a=n.A||i||Function("return this")()},28688:(t,e,r)=>{"use strict";r.d(e,{i:()=>i});var n=r(76199);function i(t){return(0,n.i)(t)}},28909:(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}},28968:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});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 i=Math.max;let a=function(t,e,r){return e=i(void 0===e?t.length-1:e,0),function(){for(var a=arguments,s=-1,o=i(a.length-e,0),l=Array(o);++s<o;)l[s]=a[e+s];s=-1;for(var c=Array(e+1);++s<e;)c[s]=a[s];return c[e]=r(l),n(t,this,c)}}},32229:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(84470),i=Object.prototype,a=i.hasOwnProperty,s=i.toString,o=n.A?n.A.toStringTag:void 0;let l=function(t){var e=a.call(t,o),r=t[o];try{t[o]=void 0;var n=!0}catch(t){}var i=s.call(t);return n&&(e?t[o]=r:delete t[o]),i};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)}},32615:(t,e,r)=>{"use strict";r.d(e,{WY:()=>M,dn:()=>A,pC:()=>_,Gc:()=>x});var n=r(60276),i=r(68718),a=r(46672);let s=(t,e)=>!!t&&!!((e&&""===t.prefix||t.prefix)&&t.name),o=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),c=Object.freeze({...o,...l}),u=Object.freeze({...c,body:"",hidden:!1});function h(t,e){let r,n,i=(r={},!t.hFlip!=!e.hFlip&&(r.hFlip=!0),!t.vFlip!=!e.vFlip&&(r.vFlip=!0),(n=((t.rotate||0)+(e.rotate||0))%4)&&(r.rotate=n),r);
11for(let r in u)r in l?r in t&&!(r in i)&&(i[r]=l[r]):r in e?i[r]=e[r]:r in t&&(i[r]=t[r]);return i}function d(t,e,r){let n=t.icons,i=t.aliases||Object.create(null),a={};function s(t){a=h(n[t]||i[t],a)}return s(e),r.forEach(s),h(t,a)}let f=Object.freeze({...Object.freeze({width:null,height:null}),...l}),p=/(-?[0-9.]*[0-9]+[0-9.]*)/g,g=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function y(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(p);if(null===n||!n.length)return t;let i=[],a=n.shift(),s=g.test(a);for(;;){if(s){let t=parseFloat(a);isNaN(t)?i.push(a):i.push(Math.ceil(t*e*r)/r)}else i.push(a);if(void 0===(a=n.shift()))return i.join("");s=!s}}let m=/\sid="(\S+)"/g,b=new Map;var x={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},k=new Map,w=new Map,_=(0,a.K)(t=>{for(let e of t){if(!e.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(i.R.debug("Registering icon pack:",e.name),"loader"in e)w.set(e.name,e.loader);else if("icons"in e)k.set(e.name,e.icons);else throw i.R.error("Invalid icon loader:",e),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),v=(0,a.K)(async(t,e)=>{let r=((t,e,r,n="")=>{let i=t.split(":");if("@"===t.slice(0,1)){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let t=i.pop(),r=i.pop(),a={provider:i.length>0?i[0]:n,prefix:r,name:t};return e&&!s(a)?null:a}let a=i[0],o=a.split("-");if(o.length>1){let t={provider:n,prefix:o.shift(),name:o.join("-")};return e&&!s(t)?null:t}if(r&&""===n){let t={provider:n,prefix:"",name:a};return e&&!s(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=k.get(n);if(!a){let t=w.get(n);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await t(),prefix:n},k.set(n,a)}catch(t){throw i.R.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let o=function(t,e){var r;let n,i,a;if(t.icons[e])return d(t,e,[]);let s=(r=[e],n=t.icons,i=t.aliases||Object.create(null),a=Object.create(null),(r||Object.keys(n).concat(Object.keys(i))).forEach(function t(e){if(n[e])return a[e]=[];if(!(e in a)){a[e]=null;let r=i[e]&&i[e].parent,n=r&&t(r);n&&(a[e]=[r].concat(n))}return a[e]}),a)[e];return s?d(t,e,s):null}(a,r.name);if(!o)throw Error(`Icon not found: ${t}`);return o},"getRegisteredIconData"),A=(0,a.K)(async t=>{try{return await v(t),!0}catch{return!1}},"isIconAvailable"),M=(0,a.K)(async(t,e,r)=>{var a;let s,o,l,u,h,d,p,g,k,w,_,A,M,S;try{s=await v(t,e?.fallbackPrefix)}catch(t){i.R.error(t),s=x}let T=(a=s,u={...c,...a},h={...f,...e},d={left:u.left,top:u.top,width:u.width,height:u.height},p=u.body,[u,h].forEach(t=>{var e,r,n,i;let a,s,o=[],l=t.hFlip,c=t.vFlip,u=t.rotate;switch(l?c?u+=2:(o.push("translate("+(d.width+d.left).toString()+" "+(0-d.top).toString()+")"),o.push("scale(-1 1)"),d.top=d.left=0):c&&(o.push("translate("+(0-d.left).toString()+" "+(d.height+d.top).toString()+")"),o.push("scale(1 -1)"),d.top=d.left=0),u<0&&(u-=4*Math.floor(u/4)),u%=4){case 1:o.unshift("rotate(90 "+(a=d.height/2+d.top).toString()+" "+a.toString()+")");break;case 2:o.unshift("rotate(180 "+(d.width/2+d.left).toString()+" "+(d.height/2+d.top).toString()+")");break;case 3:o.unshift("rotate(-90 "+(a=d.width/2+d.left).toString()+" "+a.toString()+")")}u%2==1&&(d.left!==d.top&&(a=d.left,d.left=d.top,d.top=a),d.width!==d.height&&(a=d.width,d.width=d.height,d.height=a)),o.length&&(e=p,r='<g transform="'+o.join(" ")+'">',n=(s=function(t,e="defs"){let r="",n=t.indexOf("<"+e);for(;n>=0;){let i=t.indexOf(">",n),a=t.indexOf("</"+e);if(-1===i||-1===a)break;let s=t.indexOf(">",a);if(-1===s)break;r+=t.slice(i+1,a).trim(),t=t.slice(0,n).trim()+t.slice(s+1)}return{defs:r,content:t}}(e)).defs,i=r+s.content+"</g>",p=n?"<defs>"+n+"</defs>"+i:i)}),g=h.width,k=h.height,w=d.width,_=d.height,null===g?o=y(l=null===k?"1em":"auto"===k?_:k,w/_):(o="auto"===g?w:g,l=null===k?y(o,_/w):"auto"===k?_:k),A={},(M=(t,e)=>
11{"unset"!==e&&"undefined"!==e&&"none"!==e&&(A[t]=e.toString())})("width",o),M("height",l),A.viewBox=(S=[d.left,d.top,w,_]).join(" "),{attributes:A,viewBox:S,body:p}),$=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=m.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=>{var r;let i,a=(r=(r=e).replace(/[0-9]+$/,"")||"a",i=b.get(r)||0,b.set(r,i+1),i?`${r}${i}`:r),s=e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");t=t.replace(RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+n+"$3")}),t=t.replace(RegExp(n,"g"),"")}(T.body),{...T.attributes,...r});return(0,n.jZ)($,(0,n.zj)())},"getIconSVG")},32953:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(71663);function i(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n.A;++e<r;)this.add(t[e])}i.prototype.add=i.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},i.prototype.has=function(t){return this.__data__.has(t)};let a=i},33595:(t,e,r)=>{"use strict";r.d(e,{A:()=>h});var n=r(84470),i=r(26047),a=r(24562),s=r(7125),o=1/0,l=n.A?n.A.prototype:void 0,c=l?l.toString:void 0;let u=function t(e){if("string"==typeof e)return e;if((0,a.A)(e))return(0,i.A)(e,t)+"";if((0,s.A)(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-o?"-0":r},h=function(t){return null==t?"":u(t)}},34434:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(52320);let i=(t,e)=>(0,n.A)(t,"l",e)},36642:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e,r){for(var n=-1,i=Object(t),a=r(t),s=a.length;s--;){var o=a[++n];if(!1===e(i[o],o,i))break}return t}},37316:(t,e,r)=>{"use strict";function n(t,e,r){if(t&&t.length){let[n,i]=e,a=Math.PI/180*r,s=Math.cos(a),o=Math.sin(a);for(let e of t){let[t,r]=e;e[0]=(t-n)*s-(r-i)*o+n,e[1]=(t-n)*o+(r-i)*s+i}}}function i(t,e){var r;let i=e.hachureAngle+90,a=e.hachureGap;a<0&&(a=4*e.strokeWidth),a=Math.round(Math.max(a,.1));let s=1;return e.roughness>=1&&((null==(r=e.randomizer)?void 0:r.next())||Math.random())>.7&&(s=a),function(t,e,r,i=1){let a=Math.max(e,.1),s=t[0]&&t[0][0]&&"number"==typeof t[0][0]?[t]:t,o=[0,0];if(r)for(let t of s)n(t,o,r);let l=function(t,e,r){let n=[];for(let e of t){var i,a;let t=[...e];i=t[0],a=t[t.length-1],i[0]===a[0]&&i[1]===a[1]||t.push([t[0][0],t[0][1]]),t.length>2&&n.push(t)}let s=[];e=Math.max(e,.1);let o=[];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]);o.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(o.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)),!o.length)return s;let l=[],c=o[0].ymin,u=0;for(;l.length||o.length;){if(o.length){let t=-1;for(let e=0;e<o.length&&!(o[e].ymin>c);e++)t=e;o.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;s.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 s}(s,a,i);if(r){let t;for(let t of s)n(t,o,-r);t=[],l.forEach(e=>t.push(...e)),n(t,o,-r)}return l}(t,a,i,s||1)}r.d(e,{A:()=>G});class a{constructor(t){this.helper=t}fillPolygons(t,e){return this._fillPolygons(t,e)}_fillPolygons(t,e){let r=i(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 s(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 o extends a{fillPolygons(t,e){let r=e.hachureGap;r<0&&(r=4*e.strokeWidth);let n=i(t,Object.assign({},e,{hachureGap:r=Math.max(r,.1)})),a=Math.PI/180*e.hachureAngle,o=[],l=.5*r*Math.cos(a),c=.5*r*Math.sin(a);for(let[t,e]of n)s([t,e])&&o.push([[t[0]-l,t[1]+c],[...e]],[[t[0]+l,t[1]-c],[...e]]);return{type:"fillSketch",ops:this.renderLines(o,e)}}}class l extends a{fillPolygons(t,e){let r=this._fillPolygons(t,e),n=Object.assign({},e,{hachureAngle:e.hachureAngle+90}),i=this._fillPolygons(t,n);return r.ops=r.ops.concat(i.ops),r}}class c{constructor(t){this.helper=t}fillPolygons(t,e){let r=i(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 i=e.fillWeight;i<0&&(i=e.strokeWidth/2);let a=n/4;for(let o of t){let t=s(o),l=Math.ceil(t/n)-1,c=t-l*n,u=(o[0][0]+o[1][0])/2-n/4,h=Math.min(o[0][1],o[1][1]);for(let t=0;t<l;t++){let s=u-a+2*Math.random()*a,o=h+c+t*n-a+2*Math.random()*a,l=this.helper.ellipse(s,o,i,i,e);r.push(...l.ops)}}return{type:"fillSketch",ops:r}}}class u{constructor(t){this.helper=t}fillPolygons(t,e){let r=i(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,i=[];return t.forEach(t=>{let a=s(t),o=Math.floor(a/(r+n)),l=(a+n-o*(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<o;t++){let a=t*(r+n),s=a+r,o=[c[0]+a*Math.cos(h)+l*Math.cos(h),c[1]+a*Math.sin(h)+l*Math.sin(h)],u=[c[0]+s*Math.cos(h)+l*Math.cos(h),c[1]+s*Math.sin(h)+l*Math.sin(h)];i.push(...this.helper.doubleLineOps(o[0],o[1],u[0],u[1],e))}}),i}}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,a=i(t,e=Object.assign({},e,{hachureGap:r+n}));return{type:"fillSketch",ops:this.zigzagLines(a,n,e)}}zigzagLines(t,e,r){let n=[];return t.forEach(t=>{let i=Math.round(s(t)/(2*e)),a=t[0],o=t[1];a[0]>o[0]&&(a=t[1],o=t[0]);let l=Math.atan((o[1]-a[1])/(o[0]-a[0]));for(let t=0;t<i;t++){let i=2*t*e,s=2*(t+1)*e,o=Math.sqrt(2*Math.pow(e,2)),c=[a[0]+i*Math.cos(l),a[1]+i*Math.sin(l)],u=[a[0]+s*Math.cos(l),a[1]+s*Math.sin(l)],h=[c[0]+o*Math.cos(l+Math.PI/4),c[1]+o*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 d={};class f{constructor(t){this.seed=t}next(){return this.seed?(0x80000000-1&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let p={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;
11)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",i=0,a=r[0];for(;2!==a.type;){let s=0,o=[];if("BOD"===n){if("M"!==a.text&&"m"!==a.text)return g("M0,0"+t);i++,s=p[a.text],n=a.text}else 1===a.type?s=p[n]:(i++,s=p[a.text],n=a.text);if(!(i+s<r.length))throw Error("Path data ended short");for(let t=i;t<i+s;t++){let e=r[t];if(1!==e.type)throw Error("Param not a number: "+n+","+e.text);o[o.length]=+e.text}if("number"!=typeof p[n])throw Error("Bad segment: "+n);{let t={key:n,data:o};e.push(t),i+=s,a=r[i],"M"===n&&(n="L"),"m"===n&&(n="l")}}return e}function y(t){let e=0,r=0,n=0,i=0,a=[];for(let{key:s,data:o}of t)switch(s){case"M":a.push({key:"M",data:[...o]}),[e,r]=o,[n,i]=o;break;case"m":e+=o[0],r+=o[1],a.push({key:"M",data:[e,r]}),n=e,i=r;break;case"L":a.push({key:"L",data:[...o]}),[e,r]=o;break;case"l":e+=o[0],r+=o[1],a.push({key:"L",data:[e,r]});break;case"C":a.push({key:"C",data:[...o]}),e=o[4],r=o[5];break;case"c":{let t=o.map((t,n)=>n%2?t+r:t+e);a.push({key:"C",data:t}),e=t[4],r=t[5];break}case"Q":a.push({key:"Q",data:[...o]}),e=o[2],r=o[3];break;case"q":{let t=o.map((t,n)=>n%2?t+r:t+e);a.push({key:"Q",data:t}),e=t[2],r=t[3];break}case"A":a.push({key:"A",data:[...o]}),e=o[5],r=o[6];break;case"a":e+=o[5],r+=o[6],a.push({key:"A",data:[o[0],o[1],o[2],o[3],o[4],e,r]});break;case"H":a.push({key:"H",data:[...o]}),e=o[0];break;case"h":e+=o[0],a.push({key:"H",data:[e]});break;case"V":a.push({key:"V",data:[...o]}),r=o[0];break;case"v":r+=o[0],a.push({key:"V",data:[r]});break;case"S":a.push({key:"S",data:[...o]}),e=o[2],r=o[3];break;case"s":{let t=o.map((t,n)=>n%2?t+r:t+e);a.push({key:"S",data:t}),e=t[2],r=t[3];break}case"T":a.push({key:"T",data:[...o]}),e=o[0],r=o[1];break;case"t":e+=o[0],r+=o[1],a.push({key:"T",data:[e,r]});break;case"Z":case"z":a.push({key:"Z",data:[]}),e=n,r=i}return a}function m(t){let e=[],r="",n=0,i=0,a=0,s=0,o=0,l=0;for(let{key:c,data:u}of t){switch(c){case"M":e.push({key:"M",data:[...u]}),[n,i]=u,[a,s]=u;break;case"C":e.push({key:"C",data:[...u]}),n=u[4],i=u[5],o=u[2],l=u[3];break;case"L":e.push({key:"L",data:[...u]}),[n,i]=u;break;case"H":n=u[0],e.push({key:"L",data:[n,i]});break;case"V":i=u[0],e.push({key:"L",data:[n,i]});break;case"S":{let t=0,a=0;"C"===r||"S"===r?(t=n+(n-o),a=i+(i-l)):(t=n,a=i),e.push({key:"C",data:[t,a,...u]}),o=u[0],l=u[1],n=u[2],i=u[3];break}case"T":{let[t,a]=u,s=0,c=0;"Q"===r||"T"===r?(s=n+(n-o),c=i+(i-l)):(s=n,c=i);let h=n+2*(s-n)/3,d=i+2*(c-i)/3,f=t+2*(s-t)/3,p=a+2*(c-a)/3;e.push({key:"C",data:[h,d,f,p,t,a]}),o=s,l=c,n=t,i=a;break}case"Q":{let[t,r,a,s]=u,c=n+2*(t-n)/3,h=i+2*(r-i)/3,d=a+2*(t-a)/3,f=s+2*(r-s)/3;e.push({key:"C",data:[c,h,d,f,a,s]}),o=t,l=r,n=a,i=s;break}case"A":{let t=Math.abs(u[0]),r=Math.abs(u[1]),a=u[2],s=u[3],o=u[4],l=u[5],c=u[6];0===t||0===r?(e.push({key:"C",data:[n,i,l,c,l,c]}),n=l,i=c):(n!==l||i!==c)&&((function t(e,r,n,i,a,s,o,l,c,u){let h=Math.PI*o/180,d=[],f=0,p=0,g=0,y=0;if(u)[f,p,g,y]=u;else{[e,r]=b(e,r,-h),[n,i]=b(n,i,-h);let t=(e-n)/2,o=(r-i)/2,u=t*t/(a*a)+o*o/(s*s);u>1&&(a*=u=Math.sqrt(u),s*=u);let d=a*a,m=s*s,x=(l===c?-1:1)*Math.sqrt(Math.abs((d*m-d*o*o-m*t*t)/(d*o*o+m*t*t)));g=x*a*o/s+(e+n)/2,y=-(x*s)*t/a+(r+i)/2,f=Math.asin(parseFloat(((r-y)/s).toFixed(9))),p=Math.asin(parseFloat(((i-y)/s).toFixed(9))),e<g&&(f=Math.PI-f),n<g&&(p=Math.PI-p),f<0&&(f=2*Math.PI+f),p<0&&(p=2*Math.PI+p),c&&f>p&&(f-=2*Math.PI),!c&&p>f&&(p-=2*Math.PI)}let m=p-f;if(Math.abs(m)>120*Math.PI/180){let e=p,r=n,l=i;d=t(n=g+a*Math.cos(p=c&&p>f?f+120*Math.PI/180*1:f+-(120*Math.PI/180*1)),i=y+s*Math.sin(p),r,l,a,s,o,0,c,[p,e,g,y])}m=p-f;let x=Math.cos(f),k=Math.cos(p),w=Math.tan(m/4),_=4/3*a*w,v=4/3*s*w,A=[e,r],M=[e+_*Math.sin(f),r-v*x],S=[n+_*Math.sin(p),i-v*k],T=[n,i];if(M[0]=2*A[0]-M[0],M[1]=2*A[1]-M[1],u)return[M,S,T].concat(d);{d=[M,S,T].concat(d);let t=[];for(let e=0;e<d.length;
11e+=3){let r=b(d[e][0],d[e][1],h),n=b(d[e+1][0],d[e+1][1],h),i=b(d[e+2][0],d[e+2][1],h);t.push([r[0],r[1],n[0],n[1],i[0],i[1]])}return t}})(n,i,l,c,t,r,a,s,o).forEach(function(t){e.push({key:"C",data:t})}),n=l,i=c);break}case"Z":e.push({key:"Z",data:[]}),n=a,i=s}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 x={randOffset:function(t,e){return O(t,e)},randOffsetWithRange:function(t,e,r){return C(t,e,r)},ellipse:function(t,e,r,n,i){let a=v(r,n,i);return A(t,e,i,a).opset},doubleLineOps:function(t,e,r,n,i){return R(t,e,r,n,i,!0)}};function k(t,e,r,n,i){return{type:"path",ops:R(t,e,r,n,i)}}function w(t,e,r){let n=(t||[]).length;if(n>2){let i=[];for(let e=0;e<n-1;e++)i.push(...R(t[e][0],t[e][1],t[e+1][0],t[e+1][1],r));return e&&i.push(...R(t[n-1][0],t[n-1][1],t[0][0],t[0][1],r)),{type:"path",ops:i}}return 2===n?k(t[0][0],t[0][1],t[1][0],t[1][1],r):{type:"path",ops:[]}}function _(t,e){if(t.length){let r="number"==typeof t[0][0]?[t]:t,n=E(r[0],+(1+.2*e.roughness),e),i=e.disableMultiStroke?[]:E(r[0],1.5*(1+.22*e.roughness),K(e));for(let t=1;t<r.length;t++){let a=r[t];
vendor: 4,499 bytes, line 11
11if(a.length){let t=E(a,+(1+.2*e.roughness),e),r=e.disableMultiStroke?[]:E(a,1.5*(1+.22*e.roughness),K(e));for(let e of t)"move"!==e.op&&n.push(e);for(let t of r)"move"!==t.op&&i.push(t)}}return{type:"path",ops:n.concat(i)}}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)),i=2*Math.PI/Math.ceil(Math.max(r.curveStepCount,r.curveStepCount/Math.sqrt(200)*n)),a=Math.abs(t/2),s=Math.abs(e/2),o=1-r.curveFitting;return a+=O(a*o,r),s+=O(s*o,r),{increment:i,rx:a,ry:s}}function A(t,e,r,n){let[i,a]=P(n.increment,t,e,n.rx,n.ry,1,n.increment*C(.1,C(.4,1,r),r),r),s=D(i,null,r);if(!r.disableMultiStroke&&0!==r.roughness){let[i]=P(n.increment,t,e,n.rx,n.ry,1.5,0,r),a=D(i,null,r);s=s.concat(a)}return{estimatedPoints:a,opset:{type:"path",ops:s}}}function M(t,e,r,n,i,a,s,o,l){let c=Math.abs(r/2),u=Math.abs(n/2);c+=O(.01*c,l),u+=O(.01*u,l);let h=i,d=a;for(;h<0;)h+=2*Math.PI,d+=2*Math.PI;d-h>2*Math.PI&&(h=0,d=2*Math.PI);let f=Math.min(2*Math.PI/l.curveStepCount/2,(d-h)/2),p=I(f,t,e,c,u,h,d,1,l);if(!l.disableMultiStroke){let r=I(f,t,e,c,u,h,d,1.5,l);p.push(...r)}return s&&(o?p.push(...R(t,e,t+c*Math.cos(h),e+u*Math.sin(h),l),...R(t,e,t+c*Math.cos(d),e+u*Math.sin(d),l)):p.push({op:"lineTo",data:[t,e]},{op:"lineTo",data:[t+c*Math.cos(h),e+u*Math.sin(h)]})),{type:"path",ops:p}}function S(t,e){let r=m(y(g(t))),n=[],i=[0,0],a=[0,0];for(let{key:t,data:s}of r)switch(t){case"M":a=[s[0],s[1]],i=[s[0],s[1]];break;case"L":n.push(...R(a[0],a[1],s[0],s[1],e)),a=[s[0],s[1]];break;case"C":{let[t,r,i,o,l,c]=s;n.push(...function(t,e,r,n,i,a,s,o){let l=[],c=[o.maxRandomnessOffset||1,(o.maxRandomnessOffset||1)+.3],u=[0,0],h=o.disableMultiStroke?1:2,d=o.preserveVertices;for(let f=0;f<h;f++)0===f?l.push({op:"move",data:[s[0],s[1]]}):l.push({op:"move",data:[s[0]+(d?0:O(c[0],o)),s[1]+(d?0:O(c[0],o))]}),u=d?[i,a]:[i+O(c[f],o),a+O(c[f],o)],l.push({op:"bcurveTo",data:[t+O(c[f],o),e+O(c[f],o),r+O(c[f],o),n+O(c[f],o),u[0],u[1]]});return l}(t,r,i,o,l,c,a,e)),a=[l,c];break}case"Z":n.push(...R(a[0],a[1],i[0],i[1],e)),a=[i[0],i[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,i=n.length;if(i>2){r.push({op:"move",data:[n[0][0]+O(t,e),n[0][1]+O(t,e)]});for(let a=1;a<i;a++)r.push({op:"lineTo",data:[n[a][0]+O(t,e),n[a][1]+O(t,e)]})}}return{type:"fillPath",ops:r}}function $(t,e){return(function(t,e){let r=t.fillStyle||"hachure";if(!d[r])switch(r){case"zigzag":d[r]||(d[r]=new o(e));break;case"cross-hatch":d[r]||(d[r]=new l(e));break;case"dots":d[r]||(d[r]=new c(e));break;case"dashed":d[r]||(d[r]=new u(e));break;case"zigzag-line":d[r]||(d[r]=new h(e));break;default:d[r="hachure"]||(d[r]=new a(e))}return d[r]})(e,x).fillPolygons(t,e)}function K(t){let e=Object.assign({},t);return e.randomizer=void 0,t.seed&&(e.seed=t.seed+1),e}function L(t){return t.randomizer||(t.randomizer=new f(t.seed||0)),t.randomizer.next()}function C(t,e,r,n=1){return r.roughness*n*(L(r)*(e-t)+t)}function O(t,e,r=1){return C(-t,t,e,r)}function R(t,e,r,n,i,a=!1){let s=a?i.disableMultiStrokeFill:i.disableMultiStroke,o=j(t,e,r,n,i,!0,!1);if(s)return o;let l=j(t,e,r,n,i,!0,!0);return o.concat(l)}function j(t,e,r,n,i,a,s){let o=Math.pow(t-r,2)+Math.pow(e-n,2),l=Math.sqrt(o),c=1;c=l<200?1:l>500?.4:-.0016668*l+1.233334;let u=i.maxRandomnessOffset||0;u*u*100>o&&(u=l/10);let h=u/2,d=.2+.2*L(i),f=i.bowing*i.maxRandomnessOffset*(n-e)/200,p=i.bowing*i.maxRandomnessOffset*(t-r)/200;f=O(f,i,c),p=O(p,i,c);let g=[],y=i.preserveVertices;return a&&(s?g.push({op:"move",data:[t+(y?0:O(h,i,c)),e+(y?0:O(h,i,c))]}):g.push({op:"move",data:[t+(y?0:O(u,i,c)),e+(y?0:O(u,i,c))]})),s?g.push({op:"bcurveTo",data:[f+t+(r-t)*d+O(h,i,c),p+e+(n-e)*d+O(h,i,c),f+t+2*(r-t)*d+O(h,i,c),p+e+2*(n-e)*d+O(h,i,c),r+(y?0:O(h,i,c)),n+(y?0:O(h,i,c))]}):g.push({op:"bcurveTo",data:[f+t+(r-t)*d+O(u,i,c),p+e+(n-e)*d+O(u,i,c),f+t+2*(r-t)*d+O(u,i,c),p+e+2*(n-e)*d+O(u,i,c),r+(y?0:O(u,i,c)),n+(y?0:O(u,i,c))]}),g}function E(t,e,r){if(!t.length)return[];let n=[];n.push([t[0][0]+O(e,r),t[0][1]+O(e,r)]),n.push([t[0][0]+O(e,r),t[0][1]+O(e,r)]);for(let i=1;i<t.length;i++)n.push([t[i][0]+O(e,r),t[i][1]+O(e,r)]),i===t.length-1&&n.push([t[i][0]+O(e,r),t[i][1]+O(e,r)]);return D(n,null,r)}function D(t,e,r){let n=t.length,i=[];if(n>3){let a=[],s=1-r.curveTightness;i.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<n;e++){let r=t[e];a[0]=[r[0],r[1]],a[1]=[r[0]+(s*t[e+1][0]-s*t[e-1][0])/6,r[1]+(s*t[e+1][1]-s*t[e-1][1])/6],a[2]=[t[e+1][
110]+(s*t[e][0]-s*t[e+2][0])/6,t[e+1][1]+(s*t[e][1]-s*t[e+2][1])/6],a[3]=[t[e+1][0],t[e+1][1]],i.push({op:"bcurveTo",data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(e&&2===e.length){let t=r.maxRandomnessOffset;i.push({op:"lineTo",data:[e[0]+O(t,r),e[1]+O(t,r)]})}}else 3===n?(i.push({op:"move",data:[t[1][0],t[1][1]]}),i.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===n&&i.push(...j(t[0][0],t[0][1],t[1][0],t[1][1],r,!0,!0));return i}function P(t,e,r,n,i,a,s,o){let l=[],c=[];if(0===o.roughness){t/=4,c.push([e+n*Math.cos(-t),r+i*Math.sin(-t)]);for(let a=0;a<=2*Math.PI;a+=t){let t=[e+n*Math.cos(a),r+i*Math.sin(a)];l.push(t),c.push(t)}c.push([e+ +n,r+0*i]),c.push([e+n*Math.cos(t),r+i*Math.sin(t)])}else{let u=O(.5,o)-Math.PI/2;c.push([O(a,o)+e+.9*n*Math.cos(u-t),O(a,o)+r+.9*i*Math.sin(u-t)]);let h=2*Math.PI+u-.01;for(let s=u;s<h;s+=t){let t=[O(a,o)+e+n*Math.cos(s),O(a,o)+r+i*Math.sin(s)];l.push(t),c.push(t)}c.push([O(a,o)+e+n*Math.cos(u+2*Math.PI+.5*s),O(a,o)+r+i*Math.sin(u+2*Math.PI+.5*s)]),c.push([O(a,o)+e+.98*n*Math.cos(u+s),O(a,o)+r+.98*i*Math.sin(u+s)]),c.push([O(a,o)+e+.9*n*Math.cos(u+.5*s),O(a,o)+r+.9*i*Math.sin(u+.5*s)])}return[c,l]}function I(t,e,r,n,i,a,s,o,l){let c=a+O(.1,l),u=[];u.push([O(o,l)+e+.9*n*Math.cos(c-t),O(o,l)+r+.9*i*Math.sin(c-t)]);for(let a=c;a<=s;a+=t)u.push([O(o,l)+e+n*Math.cos(a),O(o,l)+r+i*Math.sin(a)]);return u.push([e+n*Math.cos(s),r+i*Math.sin(s)]),u.push([e+n*Math.cos(s),r+i*Math.sin(s)]),D(u,null,l)}function N(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 i=[],a=1-e;n.push([...r[0]]);for(let t=1;t+2<r.length;t++){let e=r[t];i[0]=[e[0],e[1]],i[1]=[e[0]+(a*r[t+1][0]-a*r[t-1][0])/6,e[1]+(a*r[t+1][1]-a*r[t-1][1])/6],i[2]=[r[t+1][0]+(a*r[t][0]-a*r[t+2][0])/6,r[t+1][1]+(a*r[t][1]-a*r[t+2][1])/6],i[3]=[r[t+1][0],r[t+1][1]],n.push(i[1],i[2],i[3])}}return n}function F(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)}function z(t,e,r){return[t[0]+(e[0]-t[0])*r,t[1]+(e[1]-t[1])*r]}function B(t,e,r,n,i){let a=i||[],s=t[e],o=t[r-1],l=0,c=1;for(let n=e+1;n<r-1;++n){let e=function(t,e,r){let n=F(e,r);if(0===n)return F(t,e);let i=((t[0]-e[0])*(r[0]-e[0])+(t[1]-e[1])*(r[1]-e[1]))/n;return F(t,z(e,r,i=Math.max(0,Math.min(1,i))))}(t[n],s,o);e>l&&(l=e,c=n)}return Math.sqrt(l)>n?(B(t,e,c+1,n,a),B(t,c,r,n,a)):(a.length||a.push(s),a.push(o)),a}function U(t,e=.15,r){let n=[],i=(t.length-1)/3;for(let r=0;r<i;r++)!function t(e,r,n,i){let a,s,o,l,c,u,h,d,f=i||[];if(a=e[r+0],s=e[r+1],o=e[r+2],l=e[r+3],c=3*s[0]-2*a[0]-l[0],c*=c,u=3*s[1]-2*a[1]-l[1],u*=u,h=3*o[0]-2*l[0]-a[0],h*=h,d=3*o[1]-2*l[1]-a[1],d*=d,c<h&&(c=h),u<d&&(u=d),c+u<n){let t=e[r+0];f.length?Math.sqrt(F(f[f.length-1],t))>1&&f.push(t):f.push(t),f.push(e[r+3])}else{let i=e[r+0],a=e[r+1],s=e[r+2],o=e[r+3],l=z(i,a,.5),c=z(a,s,.5),u=z(s,o,.5),h=z(l,c,.5),d=z(c,u,.5),p=z(h,d,.5);t([i,l,h,p],0,n,f),t([p,d,u,o],0,n,f)}return f}(t,3*r,e,n);return r&&r>0?B(n,0,n.length,r):n}let Y="none";class q{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,i){let a=this._o(i);return this._d("line",[k(t,e,r,n,a)],a)}rectangle(t,e,r,n,i){var a,s,o,l;let c=this._o(i),u=[],h=w([[a=t,s=e],[a+(o=r),s],[a+o,s+(l=n)],[a,s+l]],!0,c);if(c.fill){let i=[[t,e],[t+r,e],[t+r,e+n],[t,e+n]];"solid"===c.fillStyle?u.push(T([i],c)):u.push($([i],c))}return c.stroke!==Y&&u.push(h),this._d("rectangle",u,c)}ellipse(t,e,r,n,i){let a=this._o(i),s=[],o=v(r,n,a),l=A(t,e,a,o);if(a.fill)if("solid"===a.fillStyle){let r=A(t,e,a,o).opset;r.type="fillPath",s.push(r)}else s.push($([l.estimatedPoints],a));return a.stroke!==Y&&s.push(l.opset),this._d("ellipse",s,a)}circle(t,e,r,n){let i=this.ellipse(t,e,r,r,n);return i.shape="circle",i}linearPath(t,e){let r=this._o(e);
11return this._d("linearPath",[w(t,!1,r)],r)}arc(t,e,r,n,i,a,s=!1,o){let l=this._o(o),c=[],u=M(t,e,r,n,i,a,s,!0,l);if(s&&l.fill)if("solid"===l.fillStyle){let s=Object.assign({},l);s.disableMultiStroke=!0;let o=M(t,e,r,n,i,a,!0,!1,s);o.type="fillPath",c.push(o)}else c.push(function(t,e,r,n,i,a,s){let o=Math.abs(r/2),l=Math.abs(n/2);o+=O(.01*o,s),l+=O(.01*l,s);let c=i,u=a;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)/s.curveStepCount,d=[];for(let r=c;r<=u;r+=h)d.push([t+o*Math.cos(r),e+l*Math.sin(r)]);return d.push([t+o*Math.cos(u),e+l*Math.sin(u)]),d.push([t,e]),$([d],s)}(t,e,r,n,i,a,l));return l.stroke!==Y&&c.push(u),this._d("arc",c,l)}curve(t,e){let r=this._o(e),n=[],i=_(t,r);if(r.fill&&r.fill!==Y)if("solid"===r.fillStyle){let e=_(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(N([n[0],n[0],n[1],n[2]]),10,(1+r.roughness)/2)):e.push(...U(N(n),10,(1+r.roughness)/2));e.length&&n.push($([e],r))}return r.stroke!==Y&&n.push(i),this._d("curve",n,r)}polygon(t,e){let r=this._o(e),n=[],i=w(t,!0,r);return r.fill&&("solid"===r.fillStyle?n.push(T([t],r)):n.push($([t],r))),r.stroke!==Y&&n.push(i),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 i=r.fill&&"transparent"!==r.fill&&r.fill!==Y,a=r.stroke!==Y,s=!!(r.simplification&&r.simplification<1),o=function(t,e){let r=m(y(g(t))),n=[],i=[],a=[0,0],s=[],o=()=>{s.length>=4&&i.push(...U(s,1)),s=[]},l=()=>{o(),i.length&&(n.push(i),i=[])};for(let{key:t,data:e}of r)switch(t){case"M":l(),a=[e[0],e[1]],i.push(a);break;case"L":o(),i.push([e[0],e[1]]);break;case"C":if(!s.length){let t=i.length?i[i.length-1]:a;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":o(),i.push([a[0],a[1]])}if(l(),!e)return n;let c=[];for(let t of n){let r=B(t,0,t.length,e);r.length&&c.push(r)}return c}(t,s?4-4*(r.simplification||1):(1+r.roughness)/2),l=S(t,r);if(i)if("solid"===r.fillStyle)if(1===o.length){let e=S(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(o,r));else n.push($(o,r));return a&&(s?o.forEach(t=>{n.push(w(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:Y};break;case"fillPath":e={d:this.opsToPath(t),stroke:Y,strokeWidth:0,fill:r.fill||Y};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||Y,strokeWidth:r,fill:Y}}_mergedShape(t){return t.filter((t,e)=>0===e||"move"!==t.op)}}class W{constructor(t,e){this.canvas=t,this.ctx=this.canvas.getContext("2d"),this.gen=new q(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.ctx,i=t.options.fixedDecimalPlaceDigits;for(let a of e)switch(a.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,a,i),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,a,i,e),n.restore();break}case"fillSketch":this.fillSketch(n,a,r)}}fillSketch(t,e,r){let n=r.fillWeight;
11n<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,i){let a=this.gen.line(t,e,r,n,i);return this.draw(a),a}rectangle(t,e,r,n,i){let a=this.gen.rectangle(t,e,r,n,i);return this.draw(a),a}ellipse(t,e,r,n,i){let a=this.gen.ellipse(t,e,r,n,i);return this.draw(a),a}circle(t,e,r,n){let i=this.gen.circle(t,e,r,n);return this.draw(i),i}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,i,a,s=!1,o){let l=this.gen.arc(t,e,r,n,i,a,s,o);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 H="http://www.w3.org/2000/svg";class X{constructor(t,e){this.svg=t,this.gen=new q(e)}draw(t){let e=t.sets||[],r=t.options||this.getDefaultOptions(),n=this.svg.ownerDocument||window.document,i=n.createElementNS(H,"g"),a=t.options.fixedDecimalPlaceDigits;for(let s of e){let e=null;switch(s.type){case"path":(e=n.createElementNS(H,"path")).setAttribute("d",this.opsToPath(s,a)),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(H,"path")).setAttribute("d",this.opsToPath(s,a)),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,s,r)}e&&i.appendChild(e)}return i}fillSketch(t,e,r){let n=r.fillWeight;n<0&&(n=r.strokeWidth/2);let i=t.createElementNS(H,"path");return i.setAttribute("d",this.opsToPath(e,r.fixedDecimalPlaceDigits)),i.setAttribute("stroke",r.fill||""),i.setAttribute("stroke-width",n+""),i.setAttribute("fill","none"),r.fillLineDash&&i.setAttribute("stroke-dasharray",r.fillLineDash.join(" ").trim()),r.fillLineDashOffset&&i.setAttribute("stroke-dashoffset",`${r.fillLineDashOffset}`),i}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(t,e){return this.gen.opsToPath(t,e)}line(t,e,r,n,i){let a=this.gen.line(t,e,r,n,i);return this.draw(a)}rectangle(t,e,r,n,i){let a=this.gen.rectangle(t,e,r,n,i);return this.draw(a)}ellipse(t,e,r,n,i){let a=this.gen.ellipse(t,e,r,n,i);return this.draw(a)}circle(t,e,r,n){let i=this.gen.circle(t,e,r,n);return this.draw(i)}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,i,a,s=!1,o){let l=this.gen.arc(t,e,r,n,i,a,s,o);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 G={canvas:(t,e)=>new W(t,e),svg:(t,e)=>new X(t,e),generator:t=>new q(t),newSeed:()=>q.newSeed()}},39198:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n=r(32229),i=r(28909),a=r(81229),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;var o=r(69106),l=r(67130),c=l.A&&l.A.isTypedArray;let u=c?(0,o.A)(c):function(t){return(0,a.A)(t)&&(0,i.A)(t.length)&&!!s[(0,n.A)(t)]}},41200:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(81771),i=r(84470),a=r(90673),s=r(24562),o=i.A?i.A.isConcatSpreadable:void 0;let l=function(t){return(0,s.A)(t)||(0,a.A)(t)||!!(o&&t&&t[o])},c=function t(e,r,i,a,s){var o=-1,c=e.length;for(i||(i=l),s||(s=[]);++o<c;){var u=e[o];r>0&&i(u)?r>1?t(u,r-1,i,a,s):(0,n.A)(s,u):a||(s[s.length]=u)}return s}},43106:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(7125),i=1/0;let a=function(t){if("string"==typeof t||(0,n.A)(t))return t;var e=t+"";return"0"==e&&1/t==-i?"-0":e}},43758:(t,e,r)=>{"use strict";r.d(e,{D:()=>s});
11var n=r(60276),i=r(46672),a=r(81178),s=(0,i.K)(t=>{let{securityLevel:e}=(0,n.D7)(),r=(0,a.Ltv)("body");if("sandbox"===e){let e=(0,a.Ltv)(`#i${t}`),n=e.node()?.contentDocument??document;r=(0,a.Ltv)(n.body)}return r.select(`#${t}`)},"selectSvgElement")},45034:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(e){return null==e?void 0:e[t]}}},45356:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e,r,n){for(var i=t.length,a=r+(n?1:-1);n?a--:++a<i;)if(e(t[a],a,t))return a;return -1}},46477:(t,e,r)=>{"use strict";r.d(e,{T:()=>D});var n=r(9581),i=r(48925),a=r(67801),s=r(4709),o=r(74524),l=r(75636),c=r(90673),u=r(24562),h=r(81741),d=r(73440),f=r(57404),p=r(39198),g=Object.prototype.hasOwnProperty;let y=function(t){if(null==t)return!0;if((0,h.A)(t)&&((0,u.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,d.A)(t)||(0,p.A)(t)||(0,c.A)(t)))return!t.length;var e=(0,l.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,f.A)(t))return!(0,o.A)(t).length;for(var r in t)if(g.call(t,r))return!1;return!0};var m=r(47737),b=r(74207),x=r(41200),k=r(79585),w=r(32953),_=r(45356);let v=function(t){return t!=t},A=function(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return -1},M=function(t,e){return!!(null==t?0:t.length)&&(e==e?A(t,e,0):(0,_.A)(t,v,0))>-1},S=function(t,e,r){for(var n=-1,i=null==t?0:t.length;++n<i;)if(r(e,t[n]))return!0;return!1};var T=r(18096),$=r(22829),K=r(12760),L=$.A&&1/(0,K.A)(new $.A([,-0]))[1]==1/0?function(t){return new $.A(t)}:function(){};let C=function(t,e,r){var n=-1,i=M,a=t.length,s=!0,o=[],l=o;if(r)s=!1,i=S;else if(a>=200){var c=e?null:L(t);if(c)return(0,K.A)(c);s=!1,i=T.A,l=new w.A}else l=e?[]:o;t:for(;++n<a;){var u=t[n],h=e?e(u):u;if(u=r||0!==u?u:0,s&&h==h){for(var d=l.length;d--;)if(l[d]===h)continue t;e&&l.push(h),o.push(u)}else i(l,h,r)||(l!==o&&l.push(h),o.push(u))}return o};var O=r(17378),R=(0,k.A)(function(t){return C((0,x.A)(t,1,O.A,!0))}),j=r(98788),E=r(57579);class D{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=n.A(void 0),this._defaultEdgeLabelFn=n.A(void 0),this._nodes={}
11,this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return i.A(t)||(t=n.A(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return a.A(this._nodes)}sources(){var t=this;return s.A(this.nodes(),function(e){return y(t._in[e])})}sinks(){var t=this;return s.A(this.nodes(),function(e){return y(t._out[e])})}setNodes(t,e){var r=arguments,n=this;return m.A(t,function(t){r.length>1?n.setNode(t,e):n.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?arguments.length>1&&(this._nodes[t]=e):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount),this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);
11delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],m.A(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),m.A(a.A(this._in[t]),e),delete this._in[t],delete this._preds[t],m.A(a.A(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(b.A(e))e="\0";else{e+="";for(var r=e;!b.A(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}}children(t){if(b.A(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return a.A(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return a.A(e)}successors(t){var e=this._sucs[t];if(e)return a.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return R(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;m.A(this._nodes,function(r,n){t(n)&&e.setNode(n,r)}),m.A(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))});var n={};return this._isCompound&&m.A(e.nodes(),function(t){e.setParent(t,function t(i){var a=r.parent(i);return void 0===a||e.hasNode(a)?(n[i]=a,a):a in n?n[a]:t(a)}(t))}),e}setDefaultEdgeLabel(t){return i.A(t)||(t=n.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return j.A(this._edgeObjs)}setPath(t,e){var r=this,n=arguments;return E.A(t,function(t,i){return n.length>1?r.setEdge(t,i,e):r.setEdge(t,i),i}),this}setEdge(){var t,e,r,n,i=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,r=a.name,2==arguments.length&&(n=arguments[1],i=!0)):(t=a,e=arguments[1],r=arguments[3],arguments.length>2&&(n=arguments[2],i=!0)),t=""+t,e=""+e,b.A(r)||(r=""+r);var s=N(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,s))return i&&(this._edgeLabels[s]=n),this;if(!b.A(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=i?n:this._defaultEdgeLabelFn(t,e,r);var o=function(t,e,r,n){var i=""+e,a=""+r;if(!t&&i>a){var s=i;i=a,a=s}var o={v:i,w:a};return n&&(o.name=n),o}(this._isDirected,t,e,r);return t=o.v,e=o.w,Object.freeze(o),this._edgeObjs[s]=o,P(this._preds[e],t),P(this._sucs[t],e),this._in[e][s]=o,this._out[t][s]=o,this._edgeCount++,this}edge(t,e,r){var n=1==arguments.length?F(this._isDirected,arguments[0]):N(this._isDirected,t,e,r);return this._edgeLabels[n]}hasEdge(t,e,r){var n=1==arguments.length?F(this._isDirected,arguments[0]):N(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,n)}removeEdge(t,e,r){var n=1==arguments.length?F(this._isDirected,arguments[0]):N(this._isDirected,t,e,r),i=this._edgeObjs[n];return i&&(t=i.v,e=i.w,delete this._edgeLabels[n],delete this._edgeObjs[n],I(this._preds[e],t),I(this._sucs[t],e),delete this._in[e][n],delete this._out[t][n],this._edgeCount--),this}inEdges(t,e){var r=this._in[t];if(r){var n=j.A(r);return e?s.A(n,function(t){return t.v===e}):n}}outEdges(t,e){var r=this._out[t];if(r){var n=j.A(r);return e?s.A(n,function(t){return t.w===e}):n}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}function P(t,e){t[e]?t[e]++:t[e]=1}function I(t,e){--t[e]||delete t[e]}function N(t,e,r,n){var i=""+e,a=""+r;if(!t&&i>a){var s=i;i=a,a=s}return i+"\x01"+a+"\x01"+(b.A(n)?"\0":n)}function F(t,e){return N(t,e.v,e.w,e.name)}D.prototype._nodeCount=0,D.prototype._edgeCount=0},46672:(t,e,r)=>{"use strict";r.d(e,{K:()=>i,V:()=>a});var n=Object.defineProperty,i=(t,e)=>n(t,"name",{value:e,configurable:!0}),a=(t,e)=>{for(var r in e)n(t,r,{get:e[r],enumerable:!0})}},46951:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return t}},47513:(t,e,r)=>{"use strict";r.d(e,{W6:()=>tq,GZ:()=>tZ,lT:()=>tL});var n=r(32615),i=r(14329),a=r(60276),s=r(68718),o=r(46672),l=r(26845),c=r(16386),u=r(81178);function h(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var d=h(),f={exec:()=>null};function p(t,e=""){let r="string"==typeof t?t:t.source,n={replace:(t,e)=>{let i="string"==typeof e?e:e.source;return i=i.replace(y.caret,"$1"),r=r.replace(t,i),n},getRegex:()=>new RegExp(r,e)};return n}var g=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),y={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+|$)/,b=/(?:[*+-]|\d{1,9}[.)])/,x=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,k=p(x).replace(/bull/g,b).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(),w=p(x).replace(/bull/g,b).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(),_=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,v=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,A=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",v).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),M=p(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,b).getRegex(),S="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",T=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,$=p("^ {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",T).replace("tag",S).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),K=p(_).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",S).getRegex(),L={blockquote:p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",K).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:A,fences:/^ {0,3}(`{3,}
vendor: 8,791 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:$,lheading:k,list:M,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:K,table:f,text:/^[^\n]+/},C=p("^ *([^\\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",S).getRegex(),O={...L,lheading:w,table:C,paragraph:p(_).replace("hr",m).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",C).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",S).getRegex()},R={...L,html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",T).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:f,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(_).replace("hr",m).replace("heading",` *#{1,6} *[^
12]`).replace("lheading",k).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},j=/^( {2,}|\\)\n(?!\s*$)/,E=/[\p{P}\p{S}]/u,D=/[\s\p{P}\p{S}]/u,P=/[^\s\p{P}\p{S}]/u,I=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,D).getRegex(),N=/(?!~)[\p{P}\p{S}]/u,F=p(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",g?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),z=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,B=p(z,"u").replace(/punct/g,E).getRegex(),U=p(z,"u").replace(/punct/g,N).getRegex(),Y="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",q=p(Y,"gu").replace(/notPunctSpace/g,P).replace(/punctSpace/g,D).replace(/punct/g,E).getRegex(),W=p(Y,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,N).getRegex(),H=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,P).replace(/punctSpace/g,D).replace(/punct/g,E).getRegex(),X=p(/\\(punct)/,"gu").replace(/punct/g,E).getRegex(),G=p(/^<(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(),Z=p(T).replace("(?:--\x3e|$)","--\x3e").getRegex(),V=p("^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",Z).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Q=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,J=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Q).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),tt=p(/^!?\[(label)\]\[(ref)\]/).replace("label",Q).replace("ref",v).getRegex(),te=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",v).getRegex(),tr=p("reflink|nolink(?!\\()","g").replace("reflink",tt).replace("nolink",te).getRegex(),tn=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ti={_backpedal:f,anyPunctuation:X,autolink:G,blockSkip:F,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:f,emStrongLDelim:B,emStrongRDelimAst:q,emStrongRDelimUnd:H,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:J,nolink:te,punctuation:I,reflink:tt,reflinkSearch:tr,tag:V,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:f},ta={...ti,link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",Q).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Q).getRegex()},ts={...ti,emStrongRDelimAst:W,emStrongLDelim:U,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",tn).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:p(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",tn).getRegex()},to={...ts,br:p(j).replace("{2,}","*").getRegex(),text:p(ts.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},tl={normal:L,gfm:O,pedantic:R},tc={normal:ti,gfm:ts,breaks:to,pedantic:ta},tu={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},th=t=>tu[t];function td(t,e){if(e){if(y.escapeTest.test(t))return t.replace(y.escapeReplace,th)}else if(y.escapeTestNoEncode.test(t))return t.replace(y.escapeReplaceNoEncode,th);return t}function tf(t){try{t=encodeURI(t).replace(y.percentDecode,"%")}catch{return null}return t}function tp(t,e){let r=t.replace(y.findPipe,(t,e,r)=>{let n=!1,i=e;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(y.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(y.slashPipe,"|");return r}function tg(t,e,r){let n=t.length;if(0===n)return"";let i=0;for(;i<n;){let a=t.charAt(n-i-1);if(a!==e||r)if(a!==e&&r)i++;else break;else i++}return t.slice(0,n-i)}function ty(t,e,r,n,i){let a=e.href,s=e.title||null,o=t[1].replace(i.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===t[0].charAt(0)?"image":"link",raw:r,href:a,title:s,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,l}var tm=class{options;rules;lexer;constructor(t){this.options=t||d}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:tg(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 i=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>=i.length?t.slice(i.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=tg(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:tg(e[0],`
16`)}}blockquote(t){let e=this.rules.block.blockquote.exec(t);if(e){let t=tg(e[0],`
17`).split(`
18`),r="",n="",i=[];for(;t.length>0;){let e=!1,a=[],s;for(s=0;s<t.length;s++)if(this.rules.other.blockquoteStart.test(t[s]))a.push(t[s]),e=!0;else if(e)break;else a.push(t[s]);t=t.slice(s);let o=a.join(`
19`),l=o.replace(this.rules.other.blockquoteSetextReplace,`
20    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
21${o}`:o,n=n?`${n}
22${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=c,
220===t.length)break;let u=i.at(-1);if(u?.type==="code")break;if(u?.type==="blockquote"){let e=u.raw+`
23`+t.join(`
24`),a=this.blockquote(e);i[i.length-1]=a,r=r.substring(0,r.length-u.raw.length)+a.raw,n=n.substring(0,n.length-u.text.length)+a.text;break}if(u?.type==="list"){let e=u.raw+`
25`+t.join(`
26`),a=this.list(e);i[i.length-1]=a,r=r.substring(0,r.length-u.raw.length)+a.raw,n=n.substring(0,n.length-u.raw.length)+a.raw,t=e.substring(i.at(-1).raw.length).split(`
27`);continue}}return{type:"blockquote",raw:r,tokens:i,text:n}}}list(t){let e=this.rules.block.list.exec(t);if(e){let r=e[1].trim(),n=r.length>1,i={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 a=this.rules.other.listItemRegex(r),s=!1;for(;t;){let r=!1,n="",o="";if(!(e=a.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,o=l.trimStart()):u?h=e[1].length+1:(h=(h=e[2].search(this.rules.other.nonSpaceChar))>4?1:h,o=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),i=this.rules.other.fencesBeginRegex(h),a=this.rules.other.headingBeginRegex(h),s=this.rules.other.htmlBeginRegex(h);for(;t;){let d=t.split(`
31`,1)[0],f;if(c=d,f=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting,"  "):c.replace(this.rules.other.tabCharGlobal,"    "),i.test(c)||a.test(c)||s.test(c)||e.test(c)||r.test(c))break;if(f.search(this.rules.other.nonSpaceChar)>=h||!c.trim())o+=`
32`+f.slice(h);else{if(u||l.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||a.test(l)||r.test(l))break;o+=`
33`+c}u||c.trim()||(u=!0),n+=d+`
34`,t=t.substring(d.length+1),l=f.slice(h)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(s=!0));let d=null,f;this.options.gfm&&(d=this.rules.other.listIsTask.exec(o))&&(f="[ ] "!==d[0],o=o.replace(this.rules.other.listReplaceTask,"")),i.items.push({type:"list_item",raw:n,task:!!d,checked:f,loose:!1,text:o,tokens:[]}),i.raw+=n}let o=i.items.at(-1);if(!o)return;o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd(),i.raw=i.raw.trimEnd();for(let t=0;t<i.items.length;t++)if(this.lexer.state.top=!1,i.items[t].tokens=this.lexer.blockTokens(i.items[t].text,[]),!i.loose){let e=i.items[t].tokens.filter(t=>"space"===t.type);i.loose=e.length>0&&e.some(t=>this.rules.other.anyLine.test(t.raw))}if(i.loose)for(let t=0;t<i.items.length;t++)i.items[t].loose=!0;return i}}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=tp(e[1]),n=e[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=e[3]?.trim()?e[3].replace(this.rules.other.tableRowBlankLine,"").split(`
35`):[],a={type:"table",raw:e[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let t of n)this.rules.other.tableAlignRight.test(t)?a.align.push("right"):this.rules.other.tableAlignCenter.test(t)?a.align.push("center"):this.rules.other.tableAlignLeft.test(t)?a.align.push("left"):a.align.push(null);for(let t=0;t<r.length;t++)a.header.push({text:r[t],tokens:this.lexer.inline(r[t]),header:!0,align:a.align[t]});for(let t of i)a.rows.push(tp(t,a.header.length).map((t,e)=>({text:t,tokens:this.lexer.inline(t),header:!1,align:a.align[e]})));return a}}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=tg(t.slice(0,-1),"\\");if((t.length-e.length)%2==0)return}else{let t=function(t){if(-1===t.indexOf(")"))return -1;let e=0;for(let r=0;r<t.length;r++)if("\\"===t[r])r++;else if("("===t[r])e++;else if(")"===t[r]&&--e<0)return r;return e>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)),ty(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 ty(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,i,a,s=r,o=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(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(a=[...i].length,n[3]||n[4]){s+=a;continue}if((n[5]||n[6])&&r%3&&!((r+a)%3)){o+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+o);let e=[...n[0]][0].length,l=t.slice(0,r+n.index+e+a);if(Math.min(r,a)%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}}}},tb=class t{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||d,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:y,block:tl.normal,inline:tc.normal};this.options.pedantic?(e.block=tl.pedantic,e.inline=tc.pedantic):this.options.gfm&&(e.block=tl.gfm,this.options.breaks?e.inline=tc.breaks:e.inline=tc.gfm),this.tokenizer.rules=e}static get rules(){return{block:tl,inline:tc}}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(y.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(y.tabCharGlobal,"    ").replace(y.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 i=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&&(i=t.substring(0,e+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){let a=e.at(-1);r&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(`
45`)?"":`
46`)+n.raw,a.text+=`
47`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):e.push(n),r=i.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,i=null;if(this.tokens.links){let t=Object.keys(this.tokens.links);if(t.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(n));)t.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(n));)r=i[2]?i[2].length:0,n=n.slice(0,i.index+r)+"["+"a".repeat(i[0].length-r-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let a=!1,s="";for(;t;){let r;if(a||(s=""),a=!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,s))||(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 i=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&&(i=t.substring(0,e+1))}if(r=this.tokenizer.inlineText(i)){t=t.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),a=!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}},tx=class{options;parser;constructor(t){this.options=t||d}space(t){return""}code({text:t,lang:e,escaped:r}){let n=(e||"").match(y.notSpaceStart)?.[0],i=t.replace(y.endingNewline,"")+`
51`;return n?'<pre><code class="language-'+td(n)+'">'+(r?i:td(i,!0))+`</code></pre>
52`:"<pre><code>"+(r?i:td(i,!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 i=e?"ol":"ul";return"<"+i+(e&&1!==r?' start="'+r+'"':"")+`>
58`+n+"</"+i+`>
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+" "+td(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 i=t.rows[e];r="";for(let t=0;t<i.length;t++)r+=this.tablecell(i[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>${td(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),i=tf(t);if(null===i)return n;let a='<a href="'+(t=i)+'"';return e&&(a+=' title="'+td(e)+'"'),a+=">"+n+"</a>"}image({href:t,title:e,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let i=tf(t);if(null===i)return td(r);t=i;let a=`<img src="${t}" alt="${r}"`;return e&&(a+=` title="${td(e)}"`),a+=">"}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:td(t.text)}},tk=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""}},tw=class t{options;renderer;textRenderer;constructor(t){this.options=t||d,this.options.renderer=this.options.renderer||new tx,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new tk}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 i=t[n];if(this.options.extensions?.renderers?.[i.type]){let t=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(i.type)){r+=t||"";continue}}switch(i.type){case"space":r+=this.renderer.space(i);continue;case"hr":r+=this.renderer.hr(i);continue;case"heading":r+=this.renderer.heading(i);continue;case"code":r+=this.renderer.code(i);continue;case"table":r+=this.renderer.table(i);continue;case"blockquote":r+=this.renderer.blockquote(i);continue;case"list":r+=this.renderer.list(i);continue;case"html":r+=this.renderer.html(i);continue;case"def":r+=this.renderer.def(i);continue;
68case"paragraph":r+=this.renderer.paragraph(i);continue;case"text":{let a=i,s=this.renderer.text(a);for(;n+1<t.length&&"text"===t[n+1].type;)a=t[++n],s+=`
69`+this.renderer.text(a);e?r+=this.renderer.paragraph({type:"paragraph",raw:s,text:s,tokens:[{type:"text",raw:s,text:s,escaped:!0}]}):r+=s;continue}default:{let t='Token with "'+i.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 i=t[n];if(this.options.extensions?.renderers?.[i.type]){let t=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==t||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=t||"";continue}}switch(i.type){case"escape":case"text":r+=e.text(i);break;case"html":r+=e.html(i);break;case"link":r+=e.link(i);break;case"image":r+=e.image(i);break;case"strong":r+=e.strong(i);break;case"em":r+=e.em(i);break;case"codespan":r+=e.codespan(i);break;case"br":r+=e.br(i);break;case"del":r+=e.del(i);break;default:{let t='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(t),"";throw Error(t)}}}return r}},t_=class{options;block;constructor(t){this.options=t||d}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?tb.lex:tb.lexInline}provideParser(){return this.block?tw.parse:tw.parseInline}},tv=new class{defaults=h();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=tw;Renderer=tx;TextRenderer=tk;Lexer=tb;Tokenizer=tm;Hooks=t_;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 i=t[n].flat(1/0);r=r.concat(this.walkTokens(i,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 tx(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],i=e[r];e[r]=(...t)=>{let r=n.apply(e,t);return!1===r&&(r=i.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],i=e[r];e[r]=(...t)=>{let r=n.apply(e,t);return!1===r&&(r=i.apply(e,t)),r}}r.tokenizer=e}if(t.hooks){let e=this.defaults.hooks||new t_;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],i=e[r];t_.passThroughHooks.has(r)?e[r]=t=>{if(this.defaults.async&&t_.passThroughHooksRespectAsync.has(r))return(async()=>{let r=await n.call(e,t);return i.call(e,r)})();let a=n.call(e,t);return i.call(e,a)}:e[r]=(...t)=>{if(this.defaults.async)return(async()=>{let r=await n.apply(e,t);return!1===r&&(r=await i.apply(e,t)),r})();let r=n.apply(e,t);return!1===r&&(r=i.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 tb.lex(t,e??this.defaults)}parser(t,e){return tw.parse(t,e??this.defaults)}parseMarkdown(t){return(e,r)=>{let n={...r},i={...this.defaults,...n},a=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===n.async)return a(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 a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof e)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=t),i.async)return(async()=>{let r=i.hooks?await i.hooks.preprocess(e):e,n=await (i.hooks?await i.hooks.provideLexer():t?tb.lex:tb.lexInline)(r,i),a=i.hooks?await i.hooks.processAllTokens(n):n;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let s=await (i.hooks?await i.hooks.provideParser():t?tw.parse:tw.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(s):s})().catch(a);try{i.hooks&&(e=i.hooks.preprocess(e));let r=(i.hooks?i.hooks.provideLexer():t?tb.lex:tb.lexInline)(e,i);i.hooks&&(r=i.hooks.processAllTokens(r)),i.walkTokens&&this.walkTokens(r,i.walkTokens);let n=(i.hooks?i.hooks.provideParser():t?tw.parse:tw.parseInline)(r,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(t){return a(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>"+td(r.message+"",!0)+"</pre>";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}};function tA(t,e){return tv.parse(t,e)}tA.options=tA.setOptions=function(t){return tv.setOptions(t),tA.defaults=tv.defaults,d=tA.defaults,tA},tA.getDefaults=h,tA.defaults=d,tA.use=function(...t){return tv.use(...t),tA.defaults=tv.defaults,d=tA.defaults,tA},tA.walkTokens=function(t,e){return tv.walkTokens(t,e)},tA.parseInline=tv.parseInline,tA.Parser=tw,tA.parser=tw.parse,tA.Renderer=tx,tA.TextRenderer=tk,tA.Lexer=tb,tA.lexer=tb.lex,tA.Tokenizer=tm,tA.Hooks=t_,tA.parse=tA,tA.options,tA.setOptions,tA.use,tA.walkTokens,tA.parseInline,tw.parse,tb.lex;var tM=r(22337),tS="u">typeof performance&&"function"==typeof performance.now,tT=(0,o.K)(()=>tS?performance.now():0,"now"),t$="\uD83E\uDDDC ",tK={parse:"tertiary",prepare:"secondary",measure:"primary",layout:"primary-dark",layoutCore:"error",draw:"primary-light",paint:"secondary-dark",serialize:"tertiary-dark",render:"primary-light"};(class{constructor(){this.enabled=!1,this.autoPrint=!0,this.records=[],this.maxRecords=200,this.roots=[],this.stack=[],this.buckets={}}static{(0,o.K)(this,"Profiler")}enable(){return this.enabled=!0,this}disable(){return this.enabled=!1,this}start(t){this.enabled&&(this.roots=[],this.stack=[],this.buckets={},this.begin(t))}tickSync(t,e){if(!this.enabled)return e();let r=tT();try{return e()}finally{this.buckets[t]=(this.buckets[t]??0)+(tT()-r)}}async tick(t,e){if(!this.enabled)return e();let r=tT();try{return await e()}finally{this.buckets[t]=(this.buckets[t]??0)+(tT()-r)}}stop(){if(!this.enabled)return;for(;this.stack.length>0;)this.end();let t=this.roots.at(-1),e=this.runLabel??t?.name;return t&&(this.records.push({label:e??t.name,tree:t,buckets:{...this.buckets}}),this.records.length>this.maxRecords&&this.records.splice(0,this.records.length-this.maxRecords),this.autoPrint&&this.printSummary(t,e)),this.runLabel=void 0,t}begin(t){if(!this.enabled)return;let e={name:t,start:tT(),duration:-1,children:[]},r=this.stack.at(-1);if(r?r.children.push(e):this.roots.push(e),this.stack.push(e),tS&&"function"==typeof performance.mark)try{performance.mark(`${t$}${t} \u25B6`)}catch{}}end(){if(!this.enabled)return;let t=this.stack.pop();if(!t)return;let e=tT();if(t.duration=e-t.start,tS&&"function"==typeof performance.measure)try{performance.measure(`${t$}${t.name}`,{start:t.start,end:e,detail:{devtools:{dataType:"track-entry",track:"Mermaid render",trackGroup:"Mermaid",color:tK[t.name]??"primary",tooltipText:`${t.name} \u2014 ${t.duration.toFixed(1)} ms`}}})}catch{}}async span(t,e){if(!this.enabled)return e();this.begin(t);try{return await e()}finally{this.end()}}report(){return this.records.at(-1)?.tree??this.roots.at(-1)}clear(){this.records.length=0,this.roots=[],this.stack=[],this.runLabel=void 0}reset(){this.roots=[],this.stack=[]}printSummary(t=this.report(),e){if(!t)return;let r=t.duration,n=e&&e!==t.name?`${t.name} [${e}]`:t.name,i=["ms        %    phase"],a=(0,o.K)((t,e)=>{let n="  ".repeat(e),s=t.duration.toFixed(1).padStart(8),o=r>0?`${(t.duration/r*100).toFixed(0).padStart(3)}%`:"   -";for(let r of(i.push(`${s}  ${o}  ${n}${t.name}`),t.children))a(r,e+1);if(t.children.length>0){let e=t.children.reduce((t,e)=>t+e.duration,0),r=t.duration-e;if(r>.5){let t=r.toFixed(1).padStart(8);i.push(`${t}       ${n}  (self)`)}}},"walk");a(t,0);let s=Object.keys(this.buckets);if(s.length>0)for(let t of(i.push("—— buckets (summed) ——"),s))i.push(`${this.buckets[t].toFixed(1).padStart(8)}       ${t}`);console.log(`${t$}mermaid render profile \xb7 ${n}
71${i.join("\n")}`)}}),globalThis.injected??={includeLargeFeatures:!0,profiling:!1,version:"0.0.0"};var tL=l.extend({raf(t){"function"==typeof queueMicrotask?queueMicrotask(t):setTimeout(t,0)}}).extend(c);function tC(t,{markdownAutoWrap:e}){let r=t.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n");return(0,tM.T)(r)}function tO(t){return t.split(/\\n|\n|<br\s*\/?>/gi).map(t=>t.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(t=>({content:t,type:"normal"}))??[])}function tR(t,e={}){let r=tC(t,e),n=tA.lexer(r),i=[[]],a=0;function s(t,e="normal"){"text"===t.type?t.text.split("\n").forEach((t,r)=>{0!==r&&(a++,i.push([])),t.split(" ").forEach(t=>{(t=t.replace(/&#39;/g,"'"))&&i[a].push({content:t,type:e})})}
71):"strong"===t.type||"em"===t.type?t.tokens.forEach(e=>{s(e,t.type)}):"html"===t.type&&i[a].push({content:t.text,type:"normal"})}return(0,o.K)(s,"processNode"),n.forEach(t=>{"paragraph"===t.type?t.tokens?.forEach(t=>{s(t)}):"html"===t.type?i[a].push({content:t.text,type:"normal"}):i[a].push({content:t.raw,type:"normal"})}),i}function tj(t){return t?`<p>${t.replace(/\\n|\n/g,"<br />")}</p>`:""}function tE(t,{markdownAutoWrap:e}={}){let r=tA.lexer(t);function n(t){if("text"===t.type)return!1===e?t.text.replace(/\n */g,"<br/>").replace(/ /g,"&nbsp;"):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 s.R.warn(`Unsupported markdown: ${t.type}`),t.raw}return(0,o.K)(n,"output"),r.map(n).join("")}function tD(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tP(t,e){return tI(t,[],tD(e.content),e.type)}function tI(t,e,r,n){if(0===r.length)return[{content:e.join(""),type:n},{content:"",type:n}];let[i,...a]=r,s=[...e,i];return t([{content:s.join(""),type:n}])?tI(t,s,a,n):(0===e.length&&i&&(e.push(i),r.shift()),[{content:e.join(""),type:n},{content:r.join(""),type:n}])}function tN(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return tF(t,e)}function tF(t,e,r=[],n=[]){if(0===t.length)return n.length>0&&r.push(n),r.length>0?r:[];let i="";" "===t[0].content&&(i=" ",t.shift());let a=t.shift()??{content:" ",type:"normal"},s=[...n];if(""!==i&&s.push({content:i,type:"normal"}),s.push(a),e(s))return tF(t,e,r,s);if(n.length>0)r.push(n),t.unshift(a);else if(a.content){let[n,i]=tP(e,a);r.push([n]),i.content&&t.unshift(i)}return tF(t,e,r)}function tz(t,e){e&&t.attr("style",e)}async function tB(t,e,r,n,i=!1,s=(0,a.zj)()){let o=t.append("foreignObject");o.attr("width",`${Math.min(10*r,16384)}px`),o.attr("height",`${Math.min(10*r,16384)}px`);let l=o.append("xhtml:div"),c=(0,a.Wi)(e.label)?await (0,a.dj)(e.label.replace(a.Y2.lineBreakRegex,"\n"),s):(0,a.jZ)(e.label,s),u=e.isNode?"nodeLabel":"edgeLabel",h=l.append("span");return h.html(c),tz(h,e.labelStyle),h.attr("class",`${u} ${n}`),tz(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"),(await tL.measure(()=>l.node().getBoundingClientRect())).width===r&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",r+"px")),o.node()}function tU(t,e,r,n=!1){let i=t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em");return n&&i.attr("text-anchor","middle"),i}function tY(t,e,r){let n=t.append("text"),i=tU(n,1,e);tX(i,r);let a=i.node().getComputedTextLength();return n.remove(),a}function tq(t,e,r){let n=t.append("text"),i=tU(n,1,e);tX(i,[{content:r,type:"normal"}]);let a=i.node()?.getBoundingClientRect();return a&&n.remove(),a}function tW(t,e,r,n=!1,i=!1){let a=e.append("g"),s=a.insert("rect").attr("class","background").attr("style","stroke: none"),l=a.append("text").attr("y","-10.1");i&&l.attr("text-anchor","middle");let c=0;for(let e of r){let r=(0,o.K)(e=>tY(a,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:tN(e,r))tX(tU(l,c,1.1,i),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),a.node()}}function tH(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 tX(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(tH(e.content)):n.text(" "+tH(e.content))})}async function tG(t,e={}){let r=[];t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(t,i,s)=>(r.push((async()=>{let r=`${i}:${s}`;return await (0,n.dn)(r)?await (0,n.WY)(r,void 0,{class:"label-icon"}):`<i class='${(0,a.jZ)(t,e).replace(":"," ")}'></i>`})()),t));let i=await Promise.all(r);return t.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>i.shift()??"")}(0,o.K)(tC,"preprocessMarkdown"),(0,o.K)(tO,"nonMarkdownToLines"),(0,o.K)(tR,"markdownToLines"),(0,o.K)(tj,"nonMarkdownToHTML"),(0,o.K)(tE,"markdownToHTML"),(0,o.K)(tD,"splitTextToChars"),(0,o.K)(tP,"splitWordToFitWidth"),(0,o.K)(tI,"splitWordToFitWidthRecursion"),(0,o.K)(tN,"splitLineToFitWidth"),(0,o.K)(tF,"splitLineToFitWidthRecursion"),(0,o.K)(tz,"applyStyle"),(0,o.K)(tB,"addHtmlSpan"),(0,o.K)(tU,"createTspan"),(0,o.K)(tY,"computeWidthOfText"),
71(0,o.K)(tq,"computeDimensionOfText"),(0,o.K)(tW,"createFormattedText"),(0,o.K)(tH,"decodeHTMLEntities"),(0,o.K)(tX,"updateTextContentAndStyles"),(0,o.K)(tG,"replaceIconSubstring");var tZ=(0,o.K)(async(t,e="",{style:r="",isTitle:n=!1,classes:o="",useHtmlLabels:l=!0,markdown:c=!0,isNode:h=!0,width:d=200,addSvgBackground:f=!1}={},p)=>{if(s.R.debug("XYZ createText",e,r,n,o,l,h,"addSvgBackground: ",f),l){let n=c?tE(e,p):tj(e),s=await tG((0,i.Sm)(n),p),l=e.replace(/\\\\/g,"\\"),u={isNode:h,label:(0,a.Wi)(e)?l:s,labelStyle:r.replace("fill:","color:")};return await tB(t,u,d,o,f,p)}{let a=(0,i.Sm)(e.replace(/<br\s*\/?>/g,"<br/>")),s=tW(d,t,c?tR(a.replace("<br>","<br/>"),p):tO(a),!!e&&f,!h);if(h){/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,u.Ltv)(s).attr("style",t)}else{let t=r.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,u.Ltv)(s).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,u.Ltv)(s).select("text").attr("style",e)}return n?(0,u.Ltv)(s).selectAll("tspan.text-outer-tspan").classed("title-row",!0):(0,u.Ltv)(s).selectAll("tspan.text-outer-tspan").classed("row",!0),s}},"createText")},47737:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(9490),i=r(91836),a=r(24473),s=r(24562);let o=function(t,e){return((0,s.A)(t)?n.A:i.A)(t,(0,a.A)(e))}},48925:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(32229),i=r(20370);let a=function(t){if(!(0,i.A)(t))return!1;var e=(0,n.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},50150:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(22724),i=r(87369);class a{constructor(){this.type=i.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=i.Z.ALL}is(t){return this.type===t}}class s{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new a}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=i.Z.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:i}=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===i&&(t.l=n.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:i}=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===i&&(t.b=n.A.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(i.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(i.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(i.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(i.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(i.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(i.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(i.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(i.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(i.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}let o=new s({r:0,g:0,b:0,a:0},"transparent")},51811:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(22724),i=r(3303);let a=t=>!((t=>{let{r:e,g:r,b:a}=i.A.parse(t),s=.2126*n.A.channel.toLinear(e)+.7152*n.A.channel.toLinear(r)+.0722*n.A.channel.toLinear(a);return n.A.lang.round(s)})(t)>=.5)},52223:(t,e,r)=>{"use strict";r.d(e,{A:()=>u});var n,i,a=r(9581),s=r(70968),o=r(46951),l=s.A?function(t,e){return(0,s.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,a.A)(e),writable:!0})}:o.A,c=Date.now;let u=(n=0,i=0,function(){var t=c(),e=16-(t-i);if(i=t,e>0){if(++n>=800)return arguments[0]}else n=0;return l.apply(void 0,arguments)})},52320:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(22724),i=r(3303);let a=(t,e,r)=>{let a=i.A.parse(t),s=a[e],o=n.A.channel.clamp[e](s+r);return s!==o&&(a[e]=o),i.A.stringify(a)}},52670:(t,e,r)=>{"use strict";r.d(e,{A:()=>
71o});var n=r(67211);let i=function(t,e){for(var r=t.length;r--;)if((0,n.A)(t[r][0],e))return r;return -1};var a=Array.prototype.splice;function s(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])}}s.prototype.clear=function(){this.__data__=[],this.size=0},s.prototype.delete=function(t){var e=this.__data__,r=i(e,t);return!(r<0)&&(r==e.length-1?e.pop():a.call(e,r,1),--this.size,!0)},s.prototype.get=function(t){var e=this.__data__,r=i(e,t);return r<0?void 0:e[r][1]},s.prototype.has=function(t){return i(this.__data__,t)>-1},s.prototype.set=function(t,e){var r=this.__data__,n=i(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};let o=s},54811:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(22724),i=r(3303);let a=(t,e)=>{let r=i.A.parse(t);for(let t in e)r[t]=n.A.channel.clamp[t](e[t]);return i.A.stringify(r)}},55650:(t,e,r)=>{"use strict";r.d(e,{H:()=>tT,r:()=>tS});var n,i,a,s,o,l,c,u,h,d,f,p,g,y,m,b,x,k,w,_,v,A,M,S,T,$,K,L,C,O,R,j,E,D,P,I,N,F,z,B,U,Y,q,W,H,X,G=r(46672);function Z(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(0,G.K)(Z,"getDefaultExportFromCjs");var V={},Q={},J={};function tt(){if(n)return J;function t(t){return null==t}function e(t){return"object"==typeof t&&null!==t}function r(e){return Array.isArray(e)?e:t(e)?[]:[e]}function i(t,e){if(e){let r=Object.keys(e);for(let n=0,i=r.length;n<i;n+=1){let i=r[n];t[i]=e[i]}}return t}function a(t,e){let r="";for(let n=0;n<e;n+=1)r+=t;return r}function s(t){return 0===t&&-1/0==1/t}return n=1,(0,G.K)(t,"isNothing"),(0,G.K)(e,"isObject"),(0,G.K)(r,"toArray"),(0,G.K)(i,"extend"),(0,G.K)(a,"repeat"),(0,G.K)(s,"isNegativeZero"),J.isNothing=t,J.isObject=e,J.toArray=r,J.repeat=a,J.isNegativeZero=s,J.extend=i,J}function te(){if(a)return i;function t(t,e){let 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 e(e,r){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=r,this.message=t(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}return a=1,(0,G.K)(t,"formatError"),(0,G.K)(e,"YAMLException2"),e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.prototype.toString=(0,G.K)(function(e){return this.name+": "+t(this,e)},"toString"),i=e}function tr(){if(o)return s;o=1;let t=tt();function e(t,e,r,n,i){let a="",s="",o=Math.floor(i/2)-1;return n-e>o&&(e=n-o+(a=" ... ").length),r-n>o&&(r=n+o-(s=" ...").length),{str:a+t.slice(e,r).replace(/\t/g,"→")+s,pos:n-e+a.length}}function r(e,r){return t.repeat(" ",r-e.length)+e}function n(n,i){let a;if(i=Object.create(i||null),!n.buffer)return null;i.maxLength||(i.maxLength=79),"number"!=typeof i.indent&&(i.indent=1),"number"!=typeof i.linesBefore&&(i.linesBefore=3),"number"!=typeof i.linesAfter&&(i.linesAfter=2);let s=/\r?\n|\r|\0/g,o=[0],l=[],c=-1;for(;a=s.exec(n.buffer);)l.push(a.index),o.push(a.index+a[0].length),n.position<=a.index&&c<0&&(c=o.length-2);c<0&&(c=o.length-1);let u="",h=Math.min(n.line+i.linesAfter,l.length).toString().length,d=i.maxLength-(i.indent+h+3);for(let a=1;a<=i.linesBefore&&!(c-a<0);a++){let s=e(n.buffer,o[c-a],l[c-a],n.position-(o[c]-o[c-a]),d);u=t.repeat(" ",i.indent)+r((n.line-a+1).toString(),h)+" | "+s.str+"\n"+u}let f=e(n.buffer,o[c],l[c],n.position,d);u+=t.repeat(" ",i.indent)+r((n.line+1).toString(),h)+" | "+f.str+"\n"+t.repeat("-",i.indent+h+3+f.pos)+"^\n";for(let a=1;a<=i.linesAfter&&!(c+a>=l.length);a++){let s=e(n.buffer,o[c+a],l[c+a],n.position-(o[c]-o[c+a]),d);u+=t.repeat(" ",i.indent)+r((n.line+a+1).toString(),h)+" | "+s.str+"\n"}return u.replace(/\n$/,"")}return(0,G.K)(e,"getLine"),(0,G.K)(r,"padStart"),(0,G.K)(n,"makeSnippet"),s=n}function tn(){if(c)return l;c=1;let t=te(),e=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],r=["scalar","sequence","mapping"];function n(t){let e={};return null!==t&&Object.keys(t).forEach(function(r){t[r].forEach(function(t){e[String(t)]=r})}),e}function i(i,a){if(Object.keys(a=a||{}
71).forEach(function(r){if(-1===e.indexOf(r))throw new t('Unknown option "'+r+'" is met in definition of "'+i+'" YAML type.')}),this.options=a,this.tag=i,this.kind=a.kind||null,this.resolve=a.resolve||function(){return!0},this.construct=a.construct||function(t){return t},this.instanceOf=a.instanceOf||null,this.predicate=a.predicate||null,this.represent=a.represent||null,this.representName=a.representName||null,this.defaultStyle=a.defaultStyle||null,this.multi=a.multi||!1,this.styleAliases=n(a.styleAliases||null),-1===r.indexOf(this.kind))throw new t('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}return(0,G.K)(n,"compileStyleAliases"),(0,G.K)(i,"Type2"),l=i}function ti(){if(h)return u;h=1;let t=te(),e=tn();function r(t,e){let r=[];return t[e].forEach(function(t){let 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 n(){let t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function e(e){e.multi?(t.multi[e.kind].push(e),t.multi.fallback.push(e)):t[e.kind][e.tag]=t.fallback[e.tag]=e}(0,G.K)(e,"collectType");for(let t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(e);return t}function i(t){return this.extend(t)}return(0,G.K)(r,"compileList"),(0,G.K)(n,"compileMap"),(0,G.K)(i,"Schema2"),i.prototype.extend=(0,G.K)(function(a){let s=[],o=[];if(a instanceof e)o.push(a);else if(Array.isArray(a))o=o.concat(a);else if(a&&(Array.isArray(a.implicit)||Array.isArray(a.explicit)))a.implicit&&(s=s.concat(a.implicit)),a.explicit&&(o=o.concat(a.explicit));else throw new t("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");s.forEach(function(r){if(!(r instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(r.loadKind&&"scalar"!==r.loadKind)throw new t("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(r.multi)throw new t("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),o.forEach(function(r){if(!(r instanceof e))throw new t("Specified list of YAML types (or a single Type object) contains a non-Type object.")});let l=Object.create(i.prototype);return l.implicit=(this.implicit||[]).concat(s),l.explicit=(this.explicit||[]).concat(o),l.compiledImplicit=r(l,"implicit"),l.compiledExplicit=r(l,"explicit"),l.compiledTypeMap=n(l.compiledImplicit,l.compiledExplicit),l},"extend"),u=i}function ta(){return f?d:(f=1,d=new(tn())("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,G.K)(function(t){return null!==t?t:""},"construct")}))}function ts(){return g?p:(g=1,p=new(tn())("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,G.K)(function(t){return null!==t?t:[]},"construct")}))}function to(){return m?y:(m=1,y=new(tn())("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,G.K)(function(t){return null!==t?t:{}},"construct")}))}function tl(){return x?b:(x=1,b=new(ti())({explicit:[ta(),ts(),to()]}))}function tc(){if(w)return k;w=1;let t=tn();function e(t){if(null===t)return!0;let e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function r(){return null}function n(t){return null===t}return(0,G.K)(e,"resolveYamlNull"),(0,G.K)(r,"constructYamlNull"),(0,G.K)(n,"isNull"),k=new t("tag:yaml.org,2002:null",{kind:"scalar",resolve:e,construct:r,predicate:n,represent:{canonical:(0,G.K)(function(){return"~"},"canonical"),lowercase:(0,G.K)(function(){return"null"},"lowercase"),uppercase:(0,G.K)(function(){return"NULL"},"uppercase"),camelcase:(0,G.K)(function(){return"Null"},"camelcase"),empty:(0,G.K)(function(){return""},"empty")},defaultStyle:"lowercase"})}function tu(){if(v)return _;v=1;let t=tn();function e(t){if(null===t)return!1;let e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function r(t){return"true"===t||"True"===t||"TRUE"===t}function n(t){return"[object Boolean]"===Object.prototype.toString.call(t)}return(0,G.K)(e,"resolveYamlBoolean"),(0,G.K)(r,"constructYamlBoolean"),(0,G.K)(n,"isBoolean"),_=new t("tag:yaml.org,2002:bool",{kind:"scalar",resolve:e,construct:r,predicate:n,represent:{lowercase:(0,G.K)(function(t){return t?"true":"false"},"lowercase"),uppercase:(0,G.K)(function(t){return t?"TRUE":"FALSE"},"uppercase"),camelcase:(0,G.K)(function(t){return t?"True":"False"},"camelcase")},defaultStyle:"lowercase"})}function th(){if(M)return A;M=1;let t=tt(),e=tn();function r(t){return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function n(t){return t>=48&&t<=55}function i(t){return t>=48&&t<=57}function a(t){if(null===t)return!1;let e=t.length,a=0,o=!1;if(!e)return!1;let l=t[a];if(("-"===l||"+"===l)&&(l=t[++a]),"0"===l){if(a+1===e)return!0;
71if("b"===(l=t[++a])){for(a++;a<e;a++){if("0"!==(l=t[a])&&"1"!==l)return!1;o=!0}return o&&isFinite(s(t))}if("x"===l){for(a++;a<e;a++){if(!r(t.charCodeAt(a)))return!1;o=!0}return o&&isFinite(s(t))}if("o"===l){for(a++;a<e;a++){if(!n(t.charCodeAt(a)))return!1;o=!0}return o&&isFinite(s(t))}}for(;a<e;a++){if(!i(t.charCodeAt(a)))return!1;o=!0}return!!o&&isFinite(s(t))}function s(t){let e=t,r=1,n=e[0];if(("-"===n||"+"===n)&&("-"===n&&(r=-1),n=(e=e.slice(1))[0]),"0"===e)return 0;if("0"===n){if("b"===e[1])return r*parseInt(e.slice(2),2);if("x"===e[1])return r*parseInt(e.slice(2),16);if("o"===e[1])return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)}function o(t){return s(t)}function l(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!t.isNegativeZero(e)}return(0,G.K)(r,"isHexCode"),(0,G.K)(n,"isOctCode"),(0,G.K)(i,"isDecCode"),(0,G.K)(a,"resolveYamlInteger"),(0,G.K)(s,"parseYamlInteger"),(0,G.K)(o,"constructYamlInteger"),(0,G.K)(l,"isInteger"),A=new e("tag:yaml.org,2002:int",{kind:"scalar",resolve:a,construct:o,predicate:l,represent:{binary:(0,G.K)(function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},"binary"),octal:(0,G.K)(function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)}
71,"octal"),decimal:(0,G.K)(function(t){return t.toString(10)},"decimal"),hexadecimal:(0,G.K)(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"]}})}function td(){if(T)return S;T=1;let t=tt(),e=tn(),r=RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),n=RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function i(t){return null!==t&&!!r.test(t)&&(!!isFinite(parseFloat(t,10))||n.test(t))}function a(t){let e=t.toLowerCase(),r="-"===e[0]?-1:1;return("+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e)?1===r?1/0:-1/0:".nan"===e?NaN:r*parseFloat(e,10)}(0,G.K)(i,"resolveYamlFloat"),(0,G.K)(a,"constructYamlFloat");let s=/^[-+]?[0-9]+e/;function o(e,r){if(isNaN(e))switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===e)switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===e)switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(t.isNegativeZero(e))return"-0.0";let n=e.toString(10);return s.test(n)?n.replace("e",".e"):n}function l(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||t.isNegativeZero(e))}return(0,G.K)(o,"representYamlFloat"),(0,G.K)(l,"isFloat"),S=new e("tag:yaml.org,2002:float",{kind:"scalar",resolve:i,construct:a,predicate:l,represent:o,defaultStyle:"lowercase"})}function tf(){return K?$:(K=1,$=tl().extend({implicit:[tc(),tu(),th(),td()]}))}function tp(){return C?L:(C=1,L=tf())}function tg(){if(R)return O;R=1;let t=tn(),e=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),r=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 n(t){return null!==t&&(null!==e.exec(t)||null!==r.exec(t))}function i(t){let n=0,i=null,a=e.exec(t);if(null===a&&(a=r.exec(t)),null===a)throw Error("Date resolve error");let s=+a[1],o=a[2]-1,l=+a[3];if(!a[4])return new Date(Date.UTC(s,o,l));let c=+a[4],u=+a[5],h=+a[6];if(a[7]){for(n=a[7].slice(0,3);n.length<3;)n+="0";n*=1}a[9]&&(i=(60*a[10]+ +(a[11]||0))*6e4,"-"===a[9]&&(i=-i));let d=new Date(Date.UTC(s,o,l,c,u,h,n));return i&&d.setTime(d.getTime()-i),d}function a(t){return t.toISOString()}return(0,G.K)(n,"resolveYamlTimestamp"),(0,G.K)(i,"constructYamlTimestamp"),(0,G.K)(a,"representYamlTimestamp"),O=new t("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:n,construct:i,instanceOf:Date,represent:a})}function ty(){if(E)return j;E=1;let t=tn();function e(t){return"<<"===t||null===t}return(0,G.K)(e,"resolveYamlMerge"),j=new t("tag:yaml.org,2002:merge",{kind:"scalar",resolve:e})}function tm(){if(P)return D;P=1;let t=tn(),e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function r(t){if(null===t)return!1;let r=0,n=t.length;for(let i=0;i<n;i++){let n=e.indexOf(t.charAt(i));if(!(n>64)){if(n<0)return!1;r+=6}}return r%8==0}function n(t){let r=t.replace(/[\r\n=]/g,""),n=r.length,i=0,a=[];for(let t=0;t<n;t++)t%4==0&&t&&(a.push(i>>16&255),a.push(i>>8&255),a.push(255&i)),i=i<<6|e.indexOf(r.charAt(t));let s=n%4*6;return 0===s?(a.push(i>>16&255),a.push(i>>8&255),a.push(255&i)):18===s?(a.push(i>>10&255),a.push(i>>2&255)):12===s&&a.push(i>>4&255),new Uint8Array(a)}function i(t){let r="",n=0,i=t.length;for(let a=0;a<i;a++)a%3==0&&a&&(r+=e[n>>18&63],r+=e[n>>12&63],r+=e[n>>6&63],r+=e[63&n]),n=(n<<8)+t[a];let a=i%3;return 0===a?(r+=e[n>>18&63],r+=e[n>>12&63],r+=e[n>>6&63],r+=e[63&n]):2===a?(r+=e[n>>10&63],r+=e[n>>4&63],r+=e[n<<2&63],r+=e[64]):1===a&&(r+=e[n>>2&63],r+=e[n<<4&63],r+=e[64],r+=e[64]),r}function a(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}return(0,G.K)(r,"resolveYamlBinary"),(0,G.K)(n,"constructYamlBinary"),(0,G.K)(i,"representYamlBinary"),(0,G.K)(a,"isBinary"),D=new t("tag:yaml.org,2002:binary",{kind:"scalar",resolve:r,construct:n,predicate:a,represent:i})}function tb(){if(N)return I;N=1;let t=tn(),e=Object.prototype.hasOwnProperty,r=Object.prototype.toString;function n(t){if(null===t)return!0;let n=[];for(let i=0,a=t.length;i<a;i+=1){let a,s=t[i],o=!1;if("[object Object]"!==r.call(s))return!1;for(a in s)if(e.call(s,a))if(o)return!1;else o=!0;if(!o||-1!==n.indexOf(a))return!1;n.push(a)}return!0}function i(t){return null!==t?t:[]}return(0,G.K)(n,"resolveYamlOmap"),(0,G.K)(i,"constructYamlOmap"),I=new t("tag:yaml.org,2002:omap",{
71kind:"sequence",resolve:n,construct:i})}function tx(){if(z)return F;z=1;let t=tn(),e=Object.prototype.toString;function r(t){if(null===t)return!0;let r=Array(t.length);for(let n=0,i=t.length;n<i;n+=1){let i=t[n];if("[object Object]"!==e.call(i))return!1;let a=Object.keys(i);if(1!==a.length)return!1;r[n]=[a[0],i[a[0]]]}return!0}function n(t){if(null===t)return[];let e=Array(t.length);for(let r=0,n=t.length;r<n;r+=1){let n=t[r],i=Object.keys(n);e[r]=[i[0],n[i[0]]]}return e}return(0,G.K)(r,"resolveYamlPairs"),(0,G.K)(n,"constructYamlPairs"),F=new t("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:r,construct:n})}function tk(){if(U)return B;U=1;let t=tn(),e=Object.prototype.hasOwnProperty;function r(t){if(null===t)return!0;for(let r in t)if(e.call(t,r)&&null!==t[r])return!1;return!0}function n(t){return null!==t?t:{}}return(0,G.K)(r,"resolveYamlSet"),(0,G.K)(n,"constructYamlSet"),B=new t("tag:yaml.org,2002:set",{kind:"mapping",resolve:r,construct:n})}function tw(){return q?Y:(q=1,Y=tp().extend({implicit:[tg(),ty()],explicit:[tm(),tb(),tx(),tk()]}))}function t_(){if(W)return Q;W=1;let t=tt(),e=te(),r=tr(),n=tw(),i=Object.prototype.hasOwnProperty,a=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,s=/[\x85\u2028\u2029]/,o=/[,\[\]{}]/,l=/^(?:!|!!|![0-9A-Za-z-]+!)$/,c=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function u(t){return Object.prototype.toString.call(t)}function h(t){return 10===t||13===t}function d(t){return 9===t||32===t}function f(t){return 9===t||32===t||10===t||13===t}function p(t){return 44===t||91===t||93===t||123===t||125===t}function g(t){if(t>=48&&t<=57)return t-48;let e=32|t;return e>=97&&e<=102?e-97+10:-1}function y(t){return 120===t?2:117===t?4:8*(85===t)}function m(t){return t>=48&&t<=57?t-48:-1}function b(t){switch(t){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:case 9:return"	";case 110:return"\n";case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1b";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"\x85";case 95:return"\xa0";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function x(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}function k(t,e,r){"__proto__"===e?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}(0,G.K)(u,"_class"),(0,G.K)(h,"isEol"),(0,G.K)(d,"isWhiteSpace"),(0,G.K)(f,"isWsOrEol"),(0,G.K)(p,"isFlowIndicator"),(0,G.K)(g,"fromHexCode"),(0,G.K)(y,"escapedHexLen"),(0,G.K)(m,"fromDecimalCode"),(0,G.K)(b,"simpleEscapeSequence"),(0,G.K)(x,"charFromCodepoint"),(0,G.K)(k,"setProperty");let w=Array(256),_=Array(256);for(let t=0;t<256;t++)w[t]=+!!b(t),_[t]=b(t);function v(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||n,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.maxDepth="number"==typeof e.maxDepth?e.maxDepth:100,this.maxTotalMergeKeys="number"==typeof e.maxTotalMergeKeys?e.maxTotalMergeKeys:1e4,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.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function A(t,n){let i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return i.snippet=r(i),new e(n,i)}function M(t,e){throw A(t,e)}function S(t,e){t.onWarning&&t.onWarning.call(null,A(t,e))}function T(t,e,r){let n=t.anchorMapTransactions;if(0!==n.length){let r=n[n.length-1];i.call(r,e)||(r[e]={existed:i.call(t.anchorMap,e),value:t.anchorMap[e]})}t.anchorMap[e]=r}function $(t){t.anchorMapTransactions.push(Object.create(null))}function K(t){let e=t.anchorMapTransactions.pop(),r=t.anchorMapTransactions;if(0===r.length)return;let n=r[r.length-1],a=Object.keys(e);for(let t=0,r=a.length;t<r;t+=1){let r=a[t];i.call(n,r)||(n[r]=e[r])}}function L(t){let e=t.anchorMapTransactions.pop(),r=Object.keys(e);for(let n=r.length-1;n>=0;n-=1){let i=e[r[n]];i.existed?t.anchorMap[r[n]]=i.value:delete t.anchorMap[r[n]]}}function C(t){return{position:t.position,line:t.line,lineStart:t.lineStart,lineIndent:t.lineIndent,firstTabInLine:t.firstTabInLine,tag:t.tag,anchor:t.anchor,kind:t.kind,result:t.result}}function O(t,e){t.position=e.position,t.line=e.line,t.lineStart=e.lineStart,t.lineIndent=e.lineIndent,t.firstTabInLine=e.firstTabInLine,t.tag=e.tag,t.anchor=e.anchor,t.kind=e.kind,t.result=e.result}
71(0,G.K)(v,"State"),(0,G.K)(A,"generateError"),(0,G.K)(M,"throwError"),(0,G.K)(S,"throwWarning"),(0,G.K)(T,"storeAnchor"),(0,G.K)($,"beginAnchorTransaction"),(0,G.K)(K,"commitAnchorTransaction"),(0,G.K)(L,"rollbackAnchorTransaction"),(0,G.K)(C,"snapshotState"),(0,G.K)(O,"restoreState");let R={YAML:(0,G.K)(function(t,e,r){null!==t.version&&M(t,"duplication of %YAML directive"),1!==r.length&&M(t,"YAML directive accepts exactly one argument");let n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]);null===n&&M(t,"ill-formed argument of the YAML directive");let i=parseInt(n[1],10),a=parseInt(n[2],10);1!==i&&M(t,"unacceptable YAML version of the document"),t.version=r[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&S(t,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,G.K)(function(t,e,r){let n;2!==r.length&&M(t,"TAG directive accepts exactly two arguments");let a=r[0];n=r[1],l.test(a)||M(t,"ill-formed tag handle (first argument) of the TAG directive"),i.call(t.tagMap,a)&&M(t,'there is a previously declared suffix for "'+a+'" tag handle'),c.test(n)||M(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){M(t,"tag prefix is malformed: "+n)}t.tagMap[a]=n},"handleTagDirective")};function j(t,e,r,n){if(e<r){let i=t.input.slice(e,r);if(n)for(let e=0,r=i.length;e<r;e+=1){let r=i.charCodeAt(e);9===r||r>=32&&r<=1114111||M(t,"expected valid JSON character")}else a.test(i)&&M(t,"the stream contains non-printable characters");t.result+=i}}function E(e,r,n,a){t.isObject(n)||M(e,"cannot merge mappings; the provided source object is unacceptable");let s=Object.keys(n);for(let t=0,o=s.length;t<o;t+=1){let o=s[t];-1!==e.maxTotalMergeKeys&&++e.totalMergeKeys>e.maxTotalMergeKeys&&M(e,"merge keys exceeded maxTotalMergeKeys ("+e.maxTotalMergeKeys+")"),i.call(r,o)||(k(r,o,n[o]),a[o]=!0)}}function D(t,e,r,n,a,s,o,l,c){if(Array.isArray(a)){a=Array.prototype.slice.call(a);for(let e=0,r=a.length;e<r;e+=1)Array.isArray(a[e])&&M(t,"nested arrays are not supported inside keys"),"object"==typeof a&&"[object Object]"===u(a[e])&&(a[e]="[object Object]")}if("object"==typeof a&&"[object Object]"===u(a)&&(a="[object Object]"),a=String(a),null===e&&(e={}),"tag:yaml.org,2002:merge"===n)if(Array.isArray(s))for(let n=0,i=s.length;n<i;n+=1)E(t,e,s[n],r);else E(t,e,s,r);else!t.json&&!i.call(r,a)&&i.call(e,a)&&(t.line=o||t.line,t.lineStart=l||t.lineStart,t.position=c||t.position,M(t,"duplicated mapping key")),k(e,a,s),delete r[a];return e}function P(t){let e=t.input.charCodeAt(t.position);10===e?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):M(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function I(t,e,r){let n=0,i=t.input.charCodeAt(t.position);for(;0!==i;){for(;d(i);)9===i&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),i=t.input.charCodeAt(++t.position);if(e&&35===i)do i=t.input.charCodeAt(++t.position);while(10!==i&&13!==i&&0!==i);if(h(i))for(P(t),i=t.input.charCodeAt(t.position),n++,t.lineIndent=0;32===i;)t.lineIndent++,i=t.input.charCodeAt(++t.position);else break}return -1!==r&&0!==n&&t.lineIndent<r&&S(t,"deficient indentation"),n}function N(t){let e=t.position,r=t.input.charCodeAt(e);return!!((45===r||46===r)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,0===(r=t.input.charCodeAt(e))||f(r)))||!1}function F(e,r){1===r?e.result+=" ":r>1&&(e.result+=t.repeat("\n",r-1))}function z(t,e,r){let n,i,a,s,o,l,c=t.kind,u=t.result,g=t.input.charCodeAt(t.position);if(f(g)||p(g)||35===g||38===g||42===g||33===g||124===g||62===g||39===g||34===g||37===g||64===g||96===g)return!1;if(63===g||45===g){let e=t.input.charCodeAt(t.position+1);if(f(e)||r&&p(e))return!1}for(t.kind="scalar",t.result="",n=i=t.position,a=!1;0!==g;){if(58===g){let e=t.input.charCodeAt(t.position+1);if(f(e)||r&&p(e))break}else if(35===g){if(f(t.input.charCodeAt(t.position-1)))break}else if(t.position===t.lineStart&&N(t)||r&&p(g))break;else if(h(g)){if(s=t.line,o=t.lineStart,l=t.lineIndent,I(t,!1,-1),t.lineIndent>=e){a=!0,g=t.input.charCodeAt(t.position);continue}t.position=i,t.line=s,t.lineStart=o,t.lineIndent=l;break}a&&(j(t,n,i,!1),F(t,t.line-s),n=i=t.position,a=!1),d(g)||(i=t.position+1),g=t.input.charCodeAt(++t.position)}return j(t,n,i,!1),!!t.result||(t.kind=c,t.result=u,!1)}function B(t,e){let r,n,i=t.input.charCodeAt(t.position);if(39!==i)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(i=t.input.charCodeAt(t.position));
71)if(39===i){if(j(t,r,t.position,!0),39!==(i=t.input.charCodeAt(++t.position)))return!0;r=t.position,t.position++,n=t.position}else h(i)?(j(t,r,n,!0),F(t,I(t,!1,e)),r=n=t.position):t.position===t.lineStart&&N(t)?M(t,"unexpected end of the document within a single quoted scalar"):(t.position++,d(i)||(n=t.position));M(t,"unexpected end of the stream within a single quoted scalar")}function U(t,e){let r,n,i,a=t.input.charCodeAt(t.position);if(34!==a)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;0!==(a=t.input.charCodeAt(t.position));)if(34===a)return j(t,r,t.position,!0),t.position++,!0;else if(92===a){if(j(t,r,t.position,!0),h(a=t.input.charCodeAt(++t.position)))I(t,!1,e);else if(a<256&&w[a])t.result+=_[a],t.position++;else if((i=y(a))>0){let e=i,r=0;for(;e>0;e--)(i=g(a=t.input.charCodeAt(++t.position)))>=0?r=(r<<4)+i:M(t,"expected hexadecimal character");t.result+=x(r),t.position++}else M(t,"unknown escape sequence");r=n=t.position}else h(a)?(j(t,r,n,!0),F(t,I(t,!1,e)),r=n=t.position):t.position===t.lineStart&&N(t)?M(t,"unexpected end of the document within a double quoted scalar"):(t.position++,d(a)||(n=t.position));M(t,"unexpected end of the stream within a double quoted scalar")}function Y(t,e){let r,n,i,a,s,o,l,c,u,h,d,p=!0,g=t.tag,y=t.anchor,m=Object.create(null),b=t.input.charCodeAt(t.position);if(91===b)s=93,c=!1,a=[];else{if(123!==b)return!1;s=125,c=!0,a={}}for(null!==t.anchor&&T(t,t.anchor,a),b=t.input.charCodeAt(++t.position);0!==b;){if(I(t,!0,e),(b=t.input.charCodeAt(t.position))===s)return t.position++,t.tag=g,t.anchor=y,t.kind=c?"mapping":"sequence",t.result=a,!0;p?44===b&&M(t,"expected the node content, but found ','"):M(t,"missed comma between flow collection entries"),h=u=d=null,o=l=!1,63===b&&f(t.input.charCodeAt(t.position+1))&&(o=l=!0,t.position++,I(t,!0,e)),r=t.line,n=t.lineStart,i=t.position,ti(t,e,1,!1,!0),h=t.tag,u=t.result,I(t,!0,e),b=t.input.charCodeAt(t.position),(l||t.line===r)&&58===b&&(o=!0,b=t.input.charCodeAt(++t.position),I(t,!0,e),ti(t,e,1,!1,!0),d=t.result),c?D(t,a,m,h,u,d,r,n,i):o?a.push(D(t,null,m,h,u,d,r,n,i)):a.push(u),I(t,!0,e),44===(b=t.input.charCodeAt(t.position))?(p=!0,b=t.input.charCodeAt(++t.position)):p=!1}M(t,"unexpected end of the stream within a flow collection")}function q(e,r){let n,i,a=1,s=!1,o=!1,l=r,c=0,u=!1,f=e.input.charCodeAt(e.position);if(124===f)n=!1;else{if(62!==f)return!1;n=!0}for(e.kind="scalar",e.result="";0!==f;)if(43===(f=e.input.charCodeAt(++e.position))||45===f)1===a?a=43===f?3:2:M(e,"repeat of a chomping mode identifier");else if((i=m(f))>=0)0===i?M(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?M(e,"repeat of an indentation width identifier"):(l=r+i-1,o=!0);else break;if(d(f)){do f=e.input.charCodeAt(++e.position);while(d(f));if(35===f)do f=e.input.charCodeAt(++e.position);while(!h(f)&&0!==f)}for(;0!==f;){for(P(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!o||e.lineIndent<l)&&32===f;)e.lineIndent++,f=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>l&&(l=e.lineIndent),h(f)){c++;continue}if(o||0!==l||M(e,"missing indentation for block scalar"),e.lineIndent<l){3===a?e.result+=t.repeat("\n",s?1+c:c):1===a&&s&&(e.result+="\n");break}n?d(f)?(u=!0,e.result+=t.repeat("\n",s?1+c:c)):u?(u=!1,e.result+=t.repeat("\n",c+1)):0===c?s&&(e.result+=" "):e.result+=t.repeat("\n",c):e.result+=t.repeat("\n",s?1+c:c),s=!0,o=!0,c=0;let r=e.position;for(;!h(f)&&0!==f;)f=e.input.charCodeAt(++e.position);j(e,r,e.position,!1)}return!0}function H(t,e){let r=t.tag,n=t.anchor,i=[],a=!1;if(-1!==t.firstTabInLine)return!1;null!==t.anchor&&T(t,t.anchor,i);let s=t.input.charCodeAt(t.position);for(;0!==s&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,M(t,"tab characters must not be used in indentation")),45===s&&f(t.input.charCodeAt(t.position+1)));){if(a=!0,t.position++,I(t,!0,-1)&&t.lineIndent<=e){i.push(null),s=t.input.charCodeAt(t.position);continue}let r=t.line;if(ti(t,e,3,!1,!0),i.push(t.result),I(t,!0,-1),s=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&0!==s)M(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return!!a&&(t.tag=r,t.anchor=n,t.kind="sequence",t.result=i,!0)}function X(t,e,r){let n,i,a,s,o=t.tag,l=t.anchor,c={},u=Object.create(null),h=null,p=null,g=null,y=!1,m=!1;if(-1!==t.firstTabInLine)return!1;null!==t.anchor&&T(t,t.anchor,c);let b=t.input.charCodeAt(t.position);for(;0!==b;){y||-1===t.firstTabInLine||(t.position=t.firstTabInLine,M(t,"tab characters must not be used in indentation"));let x=t.input.charCodeAt(t.position+1),k=t.line;if((63===b||58===b)&&f(x))63===b?(y&&(D(t,c,u,h,p,null,i,a,s),h=p=g=null),m=!0,y=!0,n=!0):y?(y=!1,n=!0):M(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,b=x;else{if(i=t.line,a=t.lineStart,s=t.position,!ti(t,r,2,!1,!0))break;if(t.line===k){for(b=t.input.charCodeAt(t.position);d(b);)b=t.input.charCodeAt(++t.position);if(58===b)f(b=t.input.charCodeAt(++t.position))||M(t,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(D(t,c,u,h,p,null,i,a,s),h=p=g=null),m=!0,y=!1,n=!1,h=t.tag,p=t.result;else{if(!m)return t.tag=o,t.anchor=l,!0;M(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!m)return t.tag=o,t.anchor=l,!0;M(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((t.line===k||t.lineIndent>e)&&(y&&(i=t.line,a=t.lineStart,s=t.position),ti(t,e,4,!0,n)&&(y?p=t.result:g=t.result),y||(D(t,c,u,h,p,g,i,a,s),h=p=g=null),I(t,!0,-1),b=t.input.charCodeAt(t.position)),(t.line===k||t.lineIndent>e)&&0!==b)M(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return y&&D(t,c,u,h,p,null,i,a,s),m&&(t.tag=o,t.anchor=l,t.kind="mapping",t.result=c),m}function Z(t){let e,r,n=!1,a=!1,s=t.input.charCodeAt(t.position);if(33!==s)return!1;null!==t.tag&&M(t,"duplication of a tag property"),60===(s=t.input.charCodeAt(++t.position))?(n=!0,s=t.input.charCodeAt(++t.position)):33===s?(a=!0,e="!!",s=t.
71input.charCodeAt(++t.position)):e="!";let u=t.position;if(n){do s=t.input.charCodeAt(++t.position);while(0!==s&&62!==s);t.position<t.length?(r=t.input.slice(u,t.position),s=t.input.charCodeAt(++t.position)):M(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==s&&!f(s);)33===s&&(a?M(t,"tag suffix cannot contain exclamation marks"):(e=t.input.slice(u-1,t.position+1),l.test(e)||M(t,"named tag handle cannot contain such characters"),a=!0,u=t.position+1)),s=t.input.charCodeAt(++t.position);r=t.input.slice(u,t.position),o.test(r)&&M(t,"tag suffix cannot contain flow indicator characters")}r&&!c.test(r)&&M(t,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(e){M(t,"tag name is malformed: "+r)}return n?t.tag=r:i.call(t.tagMap,e)?t.tag=t.tagMap[e]+r:"!"===e?t.tag="!"+r:"!!"===e?t.tag="tag:yaml.org,2002:"+r:M(t,'undeclared tag handle "'+e+'"'),!0}function V(t){let e=t.input.charCodeAt(t.position);if(38!==e)return!1;null!==t.anchor&&M(t,"duplication of an anchor property"),e=t.input.charCodeAt(++t.position);let r=t.position;for(;0!==e&&!f(e)&&!p(e);)e=t.input.charCodeAt(++t.position);return t.position===r&&M(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(r,t.position),!0}function J(t){let e=t.input.charCodeAt(t.position);if(42!==e)return!1;e=t.input.charCodeAt(++t.position);let r=t.position;for(;0!==e&&!f(e)&&!p(e);)e=t.input.charCodeAt(++t.position);t.position===r&&M(t,"name of an alias node must contain at least one character");let n=t.input.slice(r,t.position);return i.call(t.anchorMap,n)||M(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],I(t,!0,-1),!0}function tn(t,e,r,n){let i=C(t);return($(t),O(t,e),t.tag=null,t.anchor=null,t.kind=null,t.result=null,X(t,r,n)&&"mapping"===t.kind)?(K(t),!0):(L(t),O(t,i),!1)}function ti(t,e,r,n,a){let s,o,l,c,u,h=1,d=!1,f=!1,p=null;t.depth>=t.maxDepth&&M(t,"nesting exceeded maxDepth ("+t.maxDepth+")"),t.depth+=1,null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null;let g=s=o=4===r||3===r;if(n&&I(t,!0,-1)&&(d=!0,t.lineIndent>e?h=1:t.lineIndent===e?h=0:t.lineIndent<e&&(h=-1)),1===h)for(;;){let r=t.input.charCodeAt(t.position),n=C(t);if(d&&(33===r&&null!==t.tag||38===r&&null!==t.anchor)||!Z(t)&&!V(t))break;null===p&&(p=n),I(t,!0,-1)?(d=!0,o=g,t.lineIndent>e?h=1:t.lineIndent===e?h=0:t.lineIndent<e&&(h=-1)):o=!1}if(o&&(o=d||a),1===h||4===r)if(c=1===r||2===r?e:e+1,u=t.position-t.lineStart,1===h)if(o&&(H(t,u)||X(t,u,c))||Y(t,c))f=!0;else{let e=t.input.charCodeAt(t.position);null!==p&&g&&!o&&124!==e&&62!==e&&tn(t,p,p.position-p.lineStart,c)||s&&q(t,c)||B(t,c)||U(t,c)?f=!0:J(t)?(f=!0,(null!==t.tag||null!==t.anchor)&&M(t,"alias node should not have any properties")):z(t,c,1===r)&&(f=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&T(t,t.anchor,t.result)}else 0===h&&(f=o&&H(t,u));if(null===t.tag)null!==t.anchor&&T(t,t.anchor,t.result);else if("?"===t.tag){null!==t.result&&"scalar"!==t.kind&&M(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"');for(let e=0,r=t.implicitTypes.length;e<r;e+=1)if((l=t.implicitTypes[e]).resolve(t.result)){t.result=l.construct(t.result),t.tag=l.tag,null!==t.anchor&&T(t,t.anchor,t.result);break}}else if("!"!==t.tag){if(i.call(t.typeMap[t.kind||"fallback"],t.tag))l=t.typeMap[t.kind||"fallback"][t.tag];else{l=null;let e=t.typeMap.multi[t.kind||"fallback"];for(let r=0,n=e.length;r<n;r+=1)if(t.tag.slice(0,e[r].tag.length)===e[r].tag){l=e[r];break}}l||M(t,"unknown tag !<"+t.tag+">"),null!==t.result&&l.kind!==t.kind&&M(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+l.kind+'", not "'+t.kind+'"'),l.resolve(t.result,t.tag)?(t.result=l.construct(t.result,t.tag),null!==t.anchor&&T(t,t.anchor,t.result)):M(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),t.depth-=1,null!==t.tag||null!==t.anchor||f}function ta(t){let e,r=t.position,n=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(e=t.input.charCodeAt(t.position))&&(I(t,!0,-1),e=t.input.charCodeAt(t.position),!(t.lineIndent>0)&&37===e);){n=!0,e=t.input.charCodeAt(++t.position);let r=t.position;for(;0!==e&&!f(e);)e=t.input.charCodeAt(++t.position);let a=t.input.slice(r,t.position),s=[];for(a.length<1&&M(t,"directive name must not be less than one character in length");0!==e;){for(;d(e);)e=t.input.charCodeAt(++t.position);if(35===e){do e=t.input.charCodeAt(++t.position);while(0!==e&&!h(e));break}if(h(e))break;for(r=t.position;0!==e&&!f(e);)e=t.input.charCodeAt(++t.position);s.push(t.input.slice(r,t.position))}0!==e&&P(t),i.call(R,a)?R[a](t,a,s):S(t,'unknown document directive "'+a+'"')}if(I(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,I(t,!0,-1)):n&&M(t,"directives end mark is expected"),ti(t,t.lineIndent-1,4,!1,!0),I(t,!0,-1),t.checkLineBreaks&&s.test(t.input.slice(r,t.position))&&S(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&N(t)){46===t.input.charCodeAt(t.position)&&(t.position+=3,I(t,!0,-1));return}t.position<t.length-1&&M(t,"end of the stream or a document separator is expected")}function ts(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)));let r=new v(t,e),n=t.indexOf("\0");for(-1!==n&&(r.position=n,M(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;)ta(r);return r.documents}function to(t,e,r){null!==e&&"object"==typeof e&&void 0===r&&(r=e,e=null);let n=ts(t,r);if("function"!=typeof e)return n;for(let t=0,r=n.length;t<r;t+=1)e(n[t])}function tl(t,r){let n=ts(t,r);if(0!==n.length){if(1===n.length)return n[0];throw new e("expected a single document in the stream, but found more")}}
71return(0,G.K)(j,"captureSegment"),(0,G.K)(E,"mergeMappings"),(0,G.K)(D,"storeMappingPair"),(0,G.K)(P,"readLineBreak"),(0,G.K)(I,"skipSeparationSpace"),(0,G.K)(N,"testDocumentSeparator"),(0,G.K)(F,"writeFoldedLines"),(0,G.K)(z,"readPlainScalar"),(0,G.K)(B,"readSingleQuotedScalar"),(0,G.K)(U,"readDoubleQuotedScalar"),(0,G.K)(Y,"readFlowCollection"),(0,G.K)(q,"readBlockScalar"),(0,G.K)(H,"readBlockSequence"),(0,G.K)(X,"readBlockMapping"),(0,G.K)(Z,"readTagProperty"),(0,G.K)(V,"readAnchorProperty"),(0,G.K)(J,"readAlias"),(0,G.K)(tn,"tryReadBlockMappingFromProperty"),(0,G.K)(ti,"composeNode"),(0,G.K)(ta,"readDocument"),(0,G.K)(ts,"loadDocuments"),(0,G.K)(to,"loadAll2"),(0,G.K)(tl,"load2"),Q.loadAll=to,Q.load=tl,Q}(0,G.K)(tt,"requireCommon"),(0,G.K)(te,"requireException"),(0,G.K)(tr,"requireSnippet"),(0,G.K)(tn,"requireType"),(0,G.K)(ti,"requireSchema"),(0,G.K)(ta,"requireStr"),(0,G.K)(ts,"requireSeq"),(0,G.K)(to,"requireMap"),(0,G.K)(tl,"requireFailsafe"),(0,G.K)(tc,"require_null"),(0,G.K)(tu,"requireBool"),(0,G.K)(th,"requireInt"),(0,G.K)(td,"requireFloat"),(0,G.K)(tf,"requireJson"),(0,G.K)(tp,"requireCore"),(0,G.K)(tg,"requireTimestamp"),(0,G.K)(ty,"requireMerge"),(0,G.K)(tm,"requireBinary"),(0,G.K)(tb,"requireOmap"),(0,G.K)(tx,"requirePairs"),(0,G.K)(tk,"requireSet"),(0,G.K)(tw,"require_default"),(0,G.K)(t_,"requireLoader");var tv={};function tA(){if(H)return tv;H=1;let t=tt(),e=te(),r=tw(),n=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a={};a[0]="\\0",a[7]="\\a",a[8]="\\b",a[9]="\\t",a[10]="\\n",a[11]="\\v",a[12]="\\f",a[13]="\\r",a[27]="\\e",a[34]='\\"',a[92]="\\\\",a[133]="\\N",a[160]="\\_",a[8232]="\\L",a[8233]="\\P";let s=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],o=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function l(t,e){if(null===e)return{};let r={},n=Object.keys(e);for(let a=0,s=n.length;a<s;a+=1){let s=n[a],o=String(e[s]);"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2));let l=t.compiledTypeMap.fallback[s];l&&i.call(l.styleAliases,o)&&(o=l.styleAliases[o]),r[s]=o}return r}function c(r){let n,i,a=r.toString(16).toUpperCase();if(r<=255)n="x",i=2;else if(r<=65535)n="u",i=4;else if(r<=0xffffffff)n="U",i=8;else throw new e("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+n+t.repeat("0",i-a.length)+a}function u(e){this.schema=e.schema||r,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=t.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=l(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?2:1,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"==typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function h(e,r){let n=t.repeat(" ",r),i=0,a="",s=e.length;for(;i<s;){let t,r=e.indexOf("\n",i);-1===r?(t=e.slice(i),i=s):(t=e.slice(i,r+1),i=r+1),t.length&&"\n"!==t&&(a+=n),a+=t}return a}function d(e,r){return"\n"+t.repeat(" ",e.indent*r)}function f(t,e){for(let r=0,n=t.implicitTypes.length;r<n;r+=1)if(t.implicitTypes[r].resolve(e))return!0;return!1}function p(t){return 32===t||9===t}function g(t){return t>=32&&t<=126||t>=161&&t<=55295&&8232!==t&&8233!==t||t>=57344&&t<=65533&&65279!==t||t>=65536&&t<=1114111}function y(t){return g(t)&&65279!==t&&13!==t&&10!==t}function m(t,e,r){let n=y(t),i=n&&!p(t);return(r?n:n&&44!==t&&91!==t&&93!==t&&123!==t&&125!==t)&&35!==t&&!(58===e&&!i)||y(e)&&!p(e)&&35===t||58===e&&i}function b(t){return g(t)&&65279!==t&&!p(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 x(t){return!p(t)&&58!==t}function k(t,e){let 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 w(t){return/^\n* /.test(t)}function _(t,e,r,n,i,a,s,o){let l,c=0,u=null,h=!1,d=!1,f=-1!==n,p=-1,y=b(k(t,0))&&x(k(t,t.length-1));if(e||s)for(l=0;l<t.length;c>=65536?l+=2:l++){if(!g(c=k(t,l)))return 5;y=y&&m(c,u,o),u=c}else{for(l=0;l<t.length;c>=65536?l+=2:l++){if(10===(c=k(t,l)))h=!0,f&&(d=d||l-p-1>n&&" "!==t[p+1],p=l);else if(!g(c))return 5;y=y&&m(c,u,o),u=c}d=d||f&&l-p-1>n&&" "!==t[p+1]}return h||d?r>9&&w(t)?5:s?2===a?5:2:d?4:3:!y||s||i(t)?2===a?5:2:1}function v(t,r,n,i,a){t.dump=function(){if(0===r.length)return 2===t.quotingType?'""':"''";if(!t.noCompatMode&&(-1!==s.indexOf(r)||o.test(r)))return 2===t.quotingType?'"'+r+'"':"'"+r+"'";let l=t.indent*Math.max(1,n),c=-1===t.lineWidth?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-l),u=i||t.flowLevel>-1&&n>=t.flowLevel;function d(e){return f(t,e)}switch((0,G.K)(d,"testAmbiguity"),_(r,u,t.indent,c,d,t.quotingType,t.forceQuotes&&!i,a)){case 1:return r;case 2:return"'"+r.replace(/'/g,"''")+"'";case 3:return"|"+A(r,t.indent)+M(h(r,l));case 4:return">"+A(r,t.indent)+M(h(S(r,c),l));case 5:return'"'+$(r)+'"';default:throw new e("impossible error: invalid scalar style")}}()}function A(t,e){let r=w(t)?String(e):"",n="\n"===t[t.length-1];return r+(n&&("\n"===t[t.length-2]||"\n"===t)?"+":n?"":"-")+"\n"}function M(t){return"\n"===t[t.length-1]?t.slice(0,-1):t}function S(t,e){let r,n,i,a=/(\n+)([^\n]*)/g,s=(a.lastIndex=i=-1!==(i=t.indexOf("\n"))?i:t.length,T(t.slice(0,i),e)),o="\n"===t[0]||" "===t[0];for(;n=a.exec(t);){let t=n[1],i=n[2];r=" "===i[0],s+=t+(o||r||""===i?"":"\n")+T(i,e),o=r}return s}function T(t,e){let r,n;if(""===t||" "===t[0])return t;let i=/ [^ ]/g,a=0,s=0,o=0,l="";for(;r=i.exec(t);)(o=r.index)-a>e&&(n=s>
71a?s:o,l+="\n"+t.slice(a,n),a=n+1),s=o;return l+="\n",t.length-a>e&&s>a?l+=t.slice(a,s)+"\n"+t.slice(s+1):l+=t.slice(a),l.slice(1)}function $(t){let e="",r=0;for(let n=0;n<t.length;r>=65536?n+=2:n++){let i=a[r=k(t,n)];!i&&g(r)?(e+=t[n],r>=65536&&(e+=t[n+1])):e+=i||c(r)}return e}function K(t,e,r){let n="",i=t.tag;for(let i=0,a=r.length;i<a;i+=1){let a=r[i];t.replacer&&(a=t.replacer.call(r,String(i),a)),(j(t,e,a,!1,!1)||void 0===a&&j(t,e,null,!1,!1))&&(""!==n&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump)}t.tag=i,t.dump="["+n+"]"}function L(t,e,r,n){let i="",a=t.tag;for(let a=0,s=r.length;a<s;a+=1){let s=r[a];t.replacer&&(s=t.replacer.call(r,String(a),s)),(j(t,e+1,s,!0,!0,!1,!0)||void 0===s&&j(t,e+1,null,!0,!0,!1,!0))&&(n&&""===i||(i+=d(t,e)),t.dump&&10===t.dump.charCodeAt(0)?i+="-":i+="- ",i+=t.dump)}t.tag=a,t.dump=i||"[]"}function C(t,e,r){let n="",i=t.tag,a=Object.keys(r);for(let i=0,s=a.length;i<s;i+=1){let s="";""!==n&&(s+=", "),t.condenseFlow&&(s+='"');let o=a[i],l=r[o];t.replacer&&(l=t.replacer.call(r,o,l)),j(t,e,o,!1,!1)&&(t.dump.length>1024&&(s+="? "),s+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),j(t,e,l,!1,!1)&&(s+=t.dump,n+=s))}t.tag=i,t.dump="{"+n+"}"}function O(t,r,n,i){let a="",s=t.tag,o=Object.keys(n);if(!0===t.sortKeys)o.sort();
71else if("function"==typeof t.sortKeys)o.sort(t.sortKeys);else if(t.sortKeys)throw new e("sortKeys must be a boolean or a function");for(let e=0,s=o.length;e<s;e+=1){let s="";i&&""===a||(s+=d(t,r));let l=o[e],c=n[l];if(t.replacer&&(c=t.replacer.call(n,l,c)),!j(t,r+1,l,!0,!0,!0))continue;let u=null!==t.tag&&"?"!==t.tag||t.dump&&t.dump.length>1024;u&&(t.dump&&10===t.dump.charCodeAt(0)?s+="?":s+="? "),s+=t.dump,u&&(s+=d(t,r)),j(t,r+1,c,!0,u)&&(t.dump&&10===t.dump.charCodeAt(0)?s+=":":s+=": ",s+=t.dump,a+=s)}t.tag=s,t.dump=a||"{}"}function R(t,r,a){let s=a?t.explicitTypes:t.implicitTypes;for(let o=0,l=s.length;o<l;o+=1){let l=s[o];if((l.instanceOf||l.predicate)&&(!l.instanceOf||"object"==typeof r&&r instanceof l.instanceOf)&&(!l.predicate||l.predicate(r))){if(a?l.multi&&l.representName?t.tag=l.representName(r):t.tag=l.tag:t.tag="?",l.represent){let a,s=t.styleMap[l.tag]||l.defaultStyle;if("[object Function]"===n.call(l.represent))a=l.represent(r,s);else if(i.call(l.represent,s))a=l.represent[s](r,s);else throw new e("!<"+l.tag+'> tag resolver accepts not "'+s+'" style');t.dump=a}return!0}}return!1}function j(t,r,i,a,s,o,l){let c,u;t.tag=null,t.dump=i,R(t,i,!1)||R(t,i,!0);let h=n.call(t.dump),d=a;a&&(a=t.flowLevel<0||t.flowLevel>r);let f="[object Object]"===h||"[object Array]"===h;if(f&&(u=-1!==(c=t.duplicates.indexOf(i))),(null!==t.tag&&"?"!==t.tag||u||2!==t.indent&&r>0)&&(s=!1),u&&t.usedDuplicates[c])t.dump="*ref_"+c;else{if(f&&u&&!t.usedDuplicates[c]&&(t.usedDuplicates[c]=!0),"[object Object]"===h)a&&0!==Object.keys(t.dump).length?(O(t,r,t.dump,s),u&&(t.dump="&ref_"+c+t.dump)):(C(t,r,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object Array]"===h)a&&0!==t.dump.length?(t.noArrayIndent&&!l&&r>0?L(t,r-1,t.dump,s):L(t,r,t.dump,s),u&&(t.dump="&ref_"+c+t.dump)):(K(t,r,t.dump),u&&(t.dump="&ref_"+c+" "+t.dump));else if("[object String]"===h)"?"!==t.tag&&v(t,t.dump,r,o,d);else{if("[object Undefined]"===h||t.skipInvalid)return!1;throw new e("unacceptable kind of an object to dump "+h)}if(null!==t.tag&&"?"!==t.tag){let e=encodeURI("!"===t.tag[0]?t.tag.slice(1):t.tag).replace(/!/g,"%21");e="!"===t.tag[0]?"!"+e:"tag:yaml.org,2002:"===e.slice(0,18)?"!!"+e.slice(18):"!<"+e+">",t.dump=e+" "+t.dump}}return!0}function E(t,e){let r=[],n=[];D(t,r,n);let i=n.length;for(let t=0;t<i;t+=1)e.duplicates.push(r[n[t]]);e.usedDuplicates=Array(i)}function D(t,e,r){if(null!==t&&"object"==typeof t){let n=e.indexOf(t);if(-1!==n)-1===r.indexOf(n)&&r.push(n);else if(e.push(t),Array.isArray(t))for(let n=0,i=t.length;n<i;n+=1)D(t[n],e,r);else{let n=Object.keys(t);for(let i=0,a=n.length;i<a;i+=1)D(t[n[i]],e,r)}}}function P(t,e){let r=new u(e=e||{});r.noRefs||E(t,r);let n=t;return(r.replacer&&(n=r.replacer.call({"":n},"",n)),j(r,0,n,!0,!0))?r.dump+"\n":""}return(0,G.K)(l,"compileStyleMap"),(0,G.K)(c,"encodeHex"),(0,G.K)(u,"State"),(0,G.K)(h,"indentString"),(0,G.K)(d,"generateNextLine"),(0,G.K)(f,"testImplicitResolving"),(0,G.K)(p,"isWhitespace"),(0,G.K)(g,"isPrintable"),(0,G.K)(y,"isNsCharOrWhitespace"),(0,G.K)(m,"isPlainSafe"),(0,G.K)(b,"isPlainSafeFirst"),(0,G.K)(x,"isPlainSafeLast"),
71(0,G.K)(k,"codePointAt"),(0,G.K)(w,"needIndentIndicator"),(0,G.K)(_,"chooseScalarStyle"),(0,G.K)(v,"writeScalar"),(0,G.K)(A,"blockHeader"),(0,G.K)(M,"dropEndingNewline"),(0,G.K)(S,"foldString"),(0,G.K)(T,"foldLine"),(0,G.K)($,"escapeString"),(0,G.K)(K,"writeFlowSequence"),(0,G.K)(L,"writeBlockSequence"),(0,G.K)(C,"writeFlowMapping"),(0,G.K)(O,"writeBlockMapping"),(0,G.K)(R,"detectType"),(0,G.K)(j,"writeNode"),(0,G.K)(E,"getDuplicateReferences"),(0,G.K)(D,"inspectNode"),(0,G.K)(P,"dump2"),tv.dump=P,tv}function tM(){if(X)return V;X=1;let t=t_(),e=tA();function r(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.")}}return(0,G.K)(r,"renamed"),V.Type=tn(),V.Schema=ti(),V.FAILSAFE_SCHEMA=tl(),V.JSON_SCHEMA=tf(),V.CORE_SCHEMA=tp(),V.DEFAULT_SCHEMA=tw(),V.load=t.load,V.loadAll=t.loadAll,V.dump=e.dump,V.YAMLException=te(),V.types={binary:tm(),float:td(),map:to(),null:tc(),pairs:tx(),set:tk(),timestamp:tg(),bool:tu(),int:th(),merge:ty(),omap:tb(),seq:ts(),str:ta()},V.safeLoad=r("safeLoad","load"),V.safeLoadAll=r("safeLoadAll","loadAll"),V.safeDump=r("safeDump","dump"),V}(0,G.K)(tA,"requireDumper"),(0,G.K)(tM,"requireJsYaml");var{JSON_SCHEMA:tS,load:tT}=Z(tM())},56388:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(3303),i=r(54811);let a=(t,e)=>{let r=n.A.parse(t),a={};for(let t in e)e[t]&&(a[t]=r[t]+e[t]);return(0,i.A)(t,a)}},57305:(t,e,r)=>{"use strict";r.d(e,{$V:()=>s,Av:()=>n,GX:()=>p,ML:()=>A,NA:()=>h,OG:()=>i,Qb:()=>y,R_:()=>o,Uw:()=>d,VP:()=>l,XZ:()=>k,ZR:()=>x,_u:()=>_,cT:()=>f,i1:()=>w,iq:()=>g,kj:()=>a,pj:()=>u,q:()=>m,ri:()=>v,vC:()=>c,x6:()=>b});let n="[object RegExp]",i="[object String]",a="[object Number]",s="[object Boolean]",o="[object Arguments]",l="[object Symbol]",c="[object Date]",u="[object Map]",h="[object Set]",d="[object Array]",f="[object ArrayBuffer]",p="[object Object]",g="[object DataView]",y="[object Uint8Array]",m="[object Uint8ClampedArray]",b="[object Uint16Array]",x="[object Uint32Array]",k="[object Int8Array]",w="[object Int16Array]",_="[object Int32Array]",v="[object Float32Array]",A="[object Float64Array]"},57404:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=Object.prototype;let i=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||n)}},57579:(t,e,r)=>{"use strict";r.d(e,{A:()=>l});let n=function(t,e,r,n){var i=-1,a=null==t?0:t.length;for(n&&a&&(r=t[++i]);++i<a;)r=e(r,t[i],i,t);return r};var i=r(91836),a=r(13987);let s=function(t,e,r,n,i){return i(t,function(t,i,a){r=n?(n=!1,t):e(r,t,i,a)}),r};var o=r(24562);let l=function(t,e,r){var l=(0,o.A)(t)?n:s,c=arguments.length<3;return l(t,(0,a.A)(e,4),r,c,i.A)}},58548:(t,e,r)=>{"use strict";r.d(e,{I:()=>k,U:()=>x});var n=r(7954),i=r(64936),a=r(89614),s=r(47513),o=r(60276),l=r(68718),c=r(46672),u=r(81178),h=r(37316),d=(0,c.K)(async(t,e)=>{let r,n,c=(0,o.D7)(),{themeVariables:d,handDrawnSeed:f}=c,{clusterBkg:p,clusterBorder:g}=d,{labelStyles:y,nodeStyles:m,borderStyles:b,backgroundStyles:x}=(0,a.GX)(e),k=t.insert("g").attr("class","cluster swimlane "+(e.cssClasses||"")).attr("id",e.id).attr("data-id",e.id).attr("data-et","cluster").attr("data-look",e.look),w=(0,o._3)(c.flowchart.htmlLabels),_="LR"===e.direction,v=k.insert("g").attr("class","cluster-label swimlane-label"),A=await (0,s.GZ)(v,e.label,{style:e.labelStyle,useHtmlLabels:w,isNode:!0,width:e.width}),M=A.getBBox();if(w){let t=A.children[0],e=(0,u.Ltv)(A);M=t.getBoundingClientRect(),e.attr("width",M.width),e.attr("height",M.height)}let S=e.padding??0,T=e.width<=M.width+S?M.width+S:e.width;e.width<=M.width+S?e.diff=(T-e.width)/2-S:e.diff=-S;let $=e.height,K=e.y-$/2,L=e.y+$/2,C=e.x-T/2,O=void 0!==e.swimlaneContentTop?e.swimlaneContentTop:K+$/3,R=4*!!_,j=M.height+2*R;if(_){let t=Math.max(j,M.height+2*R),i=C+t,s=Math.max(0,T-t);if("handDrawn"===e.look){let o=h.A.svg(k),l=(0,a.Fr)(e,{roughness:.7,fill:p,stroke:g,fillWeight:3,seed:f}),c=(0,a.Fr)(e,{roughness:.7,fill:"none",stroke:g,seed:f}),u=o.rectangle(C,K,t,$,l);r=k.insert(()=>u,":first-child");let d=o.rectangle(i,K,s,$,c);n=k.insert(()=>d,":first-child"),r.select("path:nth-child(2)").attr("style",b.join(";")),r.select("path").attr("style",x.join(";").replace("fill","stroke"))}else r=k.insert("rect",":first-child"),n=k.insert("rect",":first-child"),r.attr("class","swimlane-title").attr("style",m).attr("x",C).attr("y",K
71).attr("width",t).attr("height",$).attr("fill",p).attr("stroke",g),n.attr("class","swimlane-body").attr("style",m).attr("x",i).attr("y",K).attr("width",s).attr("height",$).attr("fill","none").attr("stroke",g);let o=C+t/2,l=e.y;v.attr("transform",`translate(${o}, ${l}) rotate(-90) translate(${-M.width/2}, ${-M.height/2})`)}else{let t=Math.min(j,Math.max(0,O-K)),i=K+t,s=Math.max(0,L-i),o=e.x-T/2;if("handDrawn"===e.look){let l=h.A.svg(k),c=(0,a.Fr)(e,{roughness:.7,fill:p,stroke:g,fillWeight:3,seed:f}),u=(0,a.Fr)(e,{roughness:.7,fill:"none",stroke:g,seed:f}),d=l.rectangle(o,K,T,t,c);r=k.insert(()=>d,":first-child");let y=l.rectangle(o,i,T,s,u);n=k.insert(()=>y,":first-child"),r.select("path:nth-child(2)").attr("style",b.join(";")),r.select("path").attr("style",x.join(";").replace("fill","stroke"))}else r=k.insert("rect",":first-child"),n=k.insert("rect",":first-child"),r.attr("class","swimlane-title").attr("style",m).attr("x",o).attr("y",K).attr("width",T).attr("height",t).attr("fill",p).attr("stroke",g),n.attr("class","swimlane-body").attr("style",m).attr("x",o).attr("y",i).attr("width",T).attr("height",s).attr("fill","none").attr("stroke",g);let l=e.x-M.width/2,c=K+(t-M.height)/2;v.attr("transform",`translate(${l}, ${c})`)}if(l.R.trace("Swimlane data ",e,JSON.stringify(e)),y){let t=v.select("span");t&&t.attr("style",y)}return e.offsetX=0,e.width=T,e.height=$,e.offsetY=M.height-S/2,e.intersect=function(t){return(0,i.nM)(e,t)},{cluster:k,labelBBox:M}},"swimlane"),f=(0,c.K)(async(t,e)=>{let r,c;l.R.info("Creating subgraph rect for ",e.id,e);let d=(0,o.D7)(),{themeVariables:f,handDrawnSeed:p}=d,{clusterBkg:g,clusterBorder:y}=f,{labelStyles:m,nodeStyles:b,borderStyles:x,backgroundStyles:k}=(0,a.GX)(e),w=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),_=(0,o.E)(d),v=w.insert("g").attr("class","cluster-label "),A=(r="markdown"===e.labelType?await (0,s.GZ)(v,e.label,{style:e.labelStyle,useHtmlLabels:_,isNode:!0,width:e.width}):await (0,i.DA)(v,e.label,e.labelStyle||"",!1,!0)).getBBox();if((0,o.E)(d)){let t=r.children[0],e=(0,u.Ltv)(r);A=t.getBoundingClientRect(),e.attr("width",A.width),e.attr("height",A.height)}let M=e.width<=A.width+e.padding?A.width+e.padding:e.width;e.width<=A.width+e.padding?e.diff=(M-e.width)/2-e.padding:e.diff=-e.padding;let S=e.height,T=e.x-M/2,$=e.y-S/2;if(l.R.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.A.svg(w),r=(0,a.Fr)(e,{roughness:.7,fill:g,stroke:y,fillWeight:3,seed:p}),n=t.path((0,i.FA)(T,$,M,S,0),r);(c=w.insert(()=>(l.R.debug("Rough node insert CXC",n),n),":first-child")).select("path:nth-child(2)").attr("style",x.join(";")),c.select("path").attr("style",k.join(";").replace("fill","stroke"))}else(c=w.insert("rect",":first-child")).attr("style",b).attr("rx",e.rx).attr("ry",e.ry).attr("x",T).attr("y",$).attr("width",M).attr("height",S);let{subGraphTitleTopMargin:K}=(0,n.Oi)(d);if(v.attr("transform",`translate(${e.x-A.width/2}, ${e.y-e.height/2+K})`),m){let t=v.select("span");t&&t.attr("style",m)}let L=c.node().getBBox();return e.offsetX=0,e.width=L.width,e.height=L.height,e.offsetY=A.height-e.padding/2,e.intersect=function(t){return(0,i.nM)(e,t)},{cluster:w,labelBBox:A}},"rect"),p=(0,c.K)((t,e)=>{let r=t.insert("g").attr("class","note-cluster").attr("id",e.domId),n=r.insert("rect",":first-child"),a=0*e.padding,s=a/2;n.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-s).attr("y",e.y-e.height/2-s).attr("width",e.width+a).attr("height",e.height+a).attr("fill","none");let o=n.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return(0,i.nM)(e,t)},{cluster:r,labelBBox:{width:0,height:0}}},"noteGroup"),g=(0,c.K)(async(t,e)=>{let r,n=(0,o.D7)(),{themeVariables:a,handDrawnSeed:s}=n,{altBackground:l,compositeBackground:c,compositeTitleBackground:d,nodeBorder:f}=a,p=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-id",e.id).attr("data-look",e.look),g=p.insert("g",":first-child"),y=p.insert("g").attr("class","cluster-label"),m=p.append("rect"),b=await (0,i.DA)(y,e.label,e.labelStyle,void 0,!0),x=b.getBBox();if((0,o.E)(n)){let t=b.children[0],e=(0,u.Ltv)(b);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}let k=0*e.padding,w=(e.width<=x.width+e.padding?x.width+e.padding:e.width)+k;e.width<=x.width+e.padding?e.diff=(w-e.width)/2-e.padding:e.diff=-e.padding;let _=e.height+k,v=e.height+k-x.height-6,A=e.x-w/2,M=e.y-_/2;e.width=w;let S=e.y-e.height/2-k/2+x.height+2;
71if("handDrawn"===e.look){let t=e.cssClasses.includes("statediagram-cluster-alt"),n=h.A.svg(p),a=e.rx||e.ry?n.path((0,i.FA)(A,M,w,_,10),{roughness:.7,fill:d,fillStyle:"solid",stroke:f,seed:s}):n.rectangle(A,M,w,_,{seed:s});r=p.insert(()=>a,":first-child");let o=n.rectangle(A,S,w,v,{fill:t?l:c,fillStyle:t?"hachure":"solid",stroke:f,seed:s});r=p.insert(()=>a,":first-child"),m=p.insert(()=>o)}else(r=g.insert("rect",":first-child")).attr("class","outer").attr("x",A).attr("y",M).attr("width",w).attr("height",_).attr("data-look",e.look),m.attr("class","inner").attr("x",A).attr("y",S).attr("width",w).attr("height",v);return y.attr("transform",`translate(${e.x-x.width/2}, ${M+1-3*!(0,o.E)(n)})`),e.height=r.node().getBBox().height,e.offsetX=0,e.offsetY=x.height-e.padding/2,e.labelBBox=x,e.intersect=function(t){return(0,i.nM)(e,t)},{cluster:p,labelBBox:x}},"roundedWithTitle"),y=(0,c.K)(async(t,e)=>{let r;l.R.info("Creating subgraph rect for ",e.id,e);let c=(0,o.D7)(),{themeVariables:d,handDrawnSeed:f}=c,{clusterBkg:p,clusterBorder:g}=d,{labelStyles:y,nodeStyles:m,borderStyles:b,backgroundStyles:x}=(0,a.GX)(e),k=t.insert("g").attr("class","cluster "+e.cssClasses).attr("id",e.domId).attr("data-look",e.look),w=(0,o.E)(c),_=k.insert("g").attr("class","cluster-label "),v=await (0,s.GZ)(_,e.label,{style:e.labelStyle,useHtmlLabels:w,isNode:!0,width:e.width}),A=v.getBBox();if((0,o.E)(c)){let t=v.children[0],e=(0,u.Ltv)(v);A=t.getBoundingClientRect(),e.attr("width",A.width),e.attr("height",A.height)}let M=e.width<=A.width+e.padding?A.width+e.padding:e.width;e.width<=A.width+e.padding?e.diff=(M-e.width)/2-e.padding:e.diff=-e.padding;let S=e.height,T=e.x-M/2,$=e.y-S/2;if(l.R.trace("Data ",e,JSON.stringify(e)),"handDrawn"===e.look){let t=h.A.svg(k),n=(0,a.Fr)(e,{roughness:.7,fill:p,stroke:g,fillWeight:4,seed:f}),s=t.path((0,i.FA)(T,$,M,S,e.rx),n);(r=k.insert(()=>(l.R.debug("Rough node insert CXC",s),s),":first-child")).select("path:nth-child(2)").attr("style",b.join(";")),r.select("path").attr("style",x.join(";").replace("fill","stroke"))}else(r=k.insert("rect",":first-child")).attr("style",m).attr("rx",e.rx).attr("ry",e.ry).attr("x",T).attr("y",$).attr("width",M).attr("height",S);let{subGraphTitleTopMargin:K}=(0,n.Oi)(c);if(_.attr("transform",`translate(${e.x-A.width/2}, ${e.y-e.height/2+K})`),y){let t=_.select("span");t&&t.attr("style",y)}let L=r.node().getBBox();return e.offsetX=0,e.width=L.width,e.height=L.height,e.offsetY=A.height-e.padding/2,e.intersect=function(t){return(0,i.nM)(e,t)},{cluster:k,labelBBox:A}},"kanbanSection"),m={rect:f,squareRect:f,roundedWithTitle:g,noteGroup:p,divider:(0,c.K)((t,e)=>{let r,{themeVariables:n,handDrawnSeed:a}=(0,o.D7)(),{nodeBorder:s}=n,l=t.insert("g").attr("class",e.cssClasses).attr("id",e.domId).attr("data-look",e.look),c=l.insert("g",":first-child"),u=0*e.padding,d=e.width+u;e.diff=-e.padding;let f=e.height+u,p=e.x-d/2,g=e.y-f/2;if(e.width=d,"handDrawn"===e.look){let t=h.A.svg(l).rectangle(p,g,d,f,{fill:"lightgrey",roughness:.5,strokeLineDash:[5],stroke:s,seed:a});r=l.insert(()=>t,":first-child")}else{r=c.insert("rect",":first-child");let t="outer";e.look,t="divider",r.attr("class",t).attr("x",p).attr("y",g).attr("width",d).attr("height",f).attr("data-look",e.look)}return e.height=r.node().getBBox().height,e.offsetX=0,e.offsetY=0,e.intersect=function(t){return(0,i.nM)(e,t)},{cluster:l,labelBBox:{}}}
71,"divider"),kanbanSection:y,swimlane:d},b=new Map,x=(0,c.K)(async(t,e)=>{let r=e.shape||"rect",n=await m[r](t,e);return b.set(e.id,n),n},"insertCluster"),k=(0,c.K)(()=>{b=new Map},"clear")},59313:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(4762),i=r(43106);let a=function(t,e){e=(0,n.A)(e,t);for(var r=0,a=e.length;null!=t&&r<a;)t=t[(0,i.A)(e[r++])];return r&&r==a?t:void 0}},60068:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(81771),i=r(24562);let a=function(t,e,r){var a=e(t);return(0,i.A)(t)?a:(0,n.A)(a,r(t))}},60544:(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 i=r(90673),a=r(24562),s=r(73440),o=r(6158),l=r(39198),c=Object.prototype.hasOwnProperty;let u=function(t,e){var r=(0,a.A)(t),u=!r&&(0,i.A)(t),h=!r&&!u&&(0,s.A)(t),d=!r&&!u&&!h&&(0,l.A)(t),f=r||u||h||d,p=f?n(t.length,String):[],g=p.length;for(var y in t)(e||c.call(t,y))&&!(f&&("length"==y||h&&("offset"==y||"parent"==y)||d&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||(0,o.A)(y,g)))&&p.push(y);return p}},62543:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(76137),i=r(23574),a=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;let o=s?function(t){return null==t?[]:(t=Object(t),(0,n.A)(s(t),function(e){return a.call(t,e)}))}:i.A},62984:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(52320);let i=(t,e)=>(0,n.A)(t,"l",-e)},65066:(t,e,r)=>{"use strict";function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}r.d(e,{b:()=>n})},65679:function(t){t.exports=function(){"use strict";var t="millisecond",e="second",r="minute",n="hour",i="week",a="month",s="quarter",o="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=/\[([^\]]+)]|YYYY|YY|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,d=function(t,e,r){var n=String(t);return!n||n.length>=e?t:""+Array(e+1-n.length).join(r)+t},f="en",p={};p[f]={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",y=function(t){return t instanceof k||!(!t||!t[g])},m=function t(e,r,n){var i;if(!e)return f;if("string"==typeof e){var a=e.toLowerCase();p[a]&&(i=a),r&&(p[a]=r,i=a);var s=e.split("-");if(!i&&s.length>1)return t(s[0])}else{var o=e.name;p[o]=e,i=o}return!n&&i&&(f=i),i||!n&&f},b=function(t,e){if(y(t))return t.clone();var r="object"==typeof e?e:{};return r.date=t,r.args=arguments,new k(r)},x={s:d,z:function(t){var e=-t.utcOffset(),r=Math.abs(e);return(e<=0?"+":"-")+d(Math.floor(r/60),2,"0")+":"+d(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()),i=e.clone().add(n,a),s=r-i<0,o=e.clone().add(n+(s?-1:1),a);return+(-(n+(r-i)/(s?i-o:o-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return({M:a,y:o,w:i,d:"day",D:l,h:n,m:r,s:e,ms:t,Q:s})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}};x.l=m,x.i=y,x.w=function(t,e){return b(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var k=function(){function d(t){this.$L=m(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[g]=!0}var f=d.prototype;return f.parse=function(t){this.$d=function(t){var e=t.date,r=t.utc;if(null===e)return new Date(NaN);if(x.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 i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(e)}(t),this.init()},f.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()},f.$utils=function(){return x},f.isValid=function(){return this.$d.toString()!==c},f.isSame=function(t,e){var r=b(t);return this.startOf(e)<=r&&r<=this.endOf(e)},f.isAfter=function(t,e){return b(t)<this.startOf(e)},f.isBefore=function(t,e){return this.endOf(e)<b(t)},f.$g=function(t,e,r){return x.u(t)?this[e]:this.set(r,t)},f.unix=function(){return Math.floor(this.valueOf()/1e3)},f.valueOf=function(){return this.$d.getTime()},f.startOf=function(t,s){var c=this,u=!!x.u(s)||s,h=x.p(t),d=function(t,e){var r=x.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return u?r:r.endOf("day")},f=function(t,e){return x.w(c.toDate()[t].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},p=this.$W,g=this.$M,y=this.$D,m="set"+(this.$u?"UTC":"");switch(h){case o:return u?d(1,0):d(31,11);case a:return u?d(1,g):d(0,g+1);case i:var b=this.$locale().weekStart||0,k=(p<b?p+7:p)-b;return d(u?y-k:y+(6-k),g);case"day":case l:return f(m+"Hours",0);case n:return f(m+"Minutes",1);case r:return f(m+"Seconds",2);case e:return f(m+"Milliseconds",3);default:return this.clone()}},f.endOf=function(t){return this.startOf(t,!1)},f.$set=function(i,s){var c,u=x.p(i),h="set"+(this.$u?"UTC":""),d=((c={}).day=h+"Date",c[l]=h+"Date",c[a]=h+"Month",c[o]=h+"FullYear",c[n]=h+"Hours",c[r]=h+"Minutes",c[e]=h+"Seconds",c[t]=h+"Milliseconds",c)[u],f="day"===u?this.$D+(s-this.$W):s;if(u===a||u===o){var p=this.clone().set(l,1);p.$d[d](f),p.init(),this.$d=p.set(l,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](f);return this.init(),this},f.set=function(t,e){return this.clone().$set(t,e)},f.get=function(t){return this[x.p(t)]()},f.add=function(t,s){var l,c=this;t=Number(t);var u=x.p(s),h=function(e){var r=b(c);return x.w(r.date(r.date()+Math.round(e*t)),c)};if(u===a)return this.set(a,this.$M+t);if(u===o)return this.set(o,this.$y+t);if("day"===u)return h(1);if(u===i)return h(7);var d=((l={})[r]=6e4,l[n]=36e5,l[e]=1e3,l)[u]||1,f=this.$d.getTime()+t*d;return x.w(f,this)},f.subtract=function(t,e){return this.add(-1*t,e)},f.format=function(t){var e=this,r=this.$locale();if(!this.isValid())return r.invalidDate||c;var n=t||"YYYY-MM-DDTHH:mm:ssZ",i=x.z(this),a=this.$H,s=this.$m,o=this.$M,l=r.weekdays,u=r.months,d=r.meri
71diem,f=function(t,r,i,a){return t&&(t[r]||t(e,n))||i[r].slice(0,a)},p=function(t){return x.s(a%12||12,t,"0")},g=d||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 x.s(e.$y,4,"0");case"M":return o+1;case"MM":return x.s(o+1,2,"0");case"MMM":return f(r.monthsShort,o,u,3);case"MMMM":return f(u,o);case"D":return e.$D;case"DD":return x.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return f(r.weekdaysMin,e.$W,l,2);case"ddd":return f(r.weekdaysShort,e.$W,l,3);case"dddd":return l[e.$W];case"H":return String(a);case"HH":return x.s(a,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return g(a,s,!0);case"A":return g(a,s,!1);case"m":return String(s);case"mm":return x.s(s,2,"0");case"s":return String(e.$s);case"ss":return x.s(e.$s,2,"0");case"SSS":return x.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")})},f.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},f.diff=function(t,l,c){var u,h=this,d=x.p(l),f=b(t),p=(f.utcOffset()-this.utcOffset())*6e4,g=this-f,y=function(){return x.m(h,f)};switch(d){case o:u=y()/12;break;case a:u=y();break;case s:u=y()/3;break;case i:u=(g-p)/6048e5;break;case"day":u=(g-p)/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:x.a(u)},f.daysInMonth=function(){return this.endOf(a).$D},f.$locale=function(){return p[this.$L]},f.locale=function(t,e){if(!t)return this.$L;var r=this.clone(),n=m(t,e,!0);return n&&(r.$L=n),r},f.clone=function(){return x.w(this.$d,this)},f.toDate=function(){return new Date(this.valueOf())},f.toJSON=function(){return this.isValid()?this.toISOString():null},f.toISOString=function(){return this.$d.toISOString()},f.toString=function(){return this.$d.toUTCString()},d}(),w=k.prototype;return b.prototype=w,[["$ms",t],["$s",e],["$m",r],["$H",n],["$W","day"],["$M",a],["$y",o],["$D",l]].forEach(function(t){w[t[1]]=function(e){return this.$g(e,t[0],t[1])}}),b.extend=function(t,e){return t.$i||(t(e,k,b),t.$i=!0),b},b.locale=m,b.isDayjs=y,b.unix=function(t){return b(1e3*t)},b.en=p[f],b.Ls=p,b.p={},b}()},67130:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(93215),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof module&&module&&!module.nodeType&&module,s=a&&a.exports===i&&n.A.process;let o=function(){try{var t=a&&a.require&&a.require("util").types;if(t)return t;return s&&s.binding&&s.binding("util")}catch(t){}}()},67211:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){return t===e||t!=t&&e!=e}},67801:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(60544),i=r(74524),a=r(81741);let s=function(t){return(0,a.A)(t)?(0,n.A)(t):(0,i.A)(t)}},68276:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(71358),i=r(27122);let a=(0,n.A)(i.A,"Map")},68718:(t,e,r)=>{"use strict";r.d(e,{H:()=>o,R:()=>s});var n=r(46672),i=r(65679),a={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},s={trace:(0,n.K)((...t)=>{},"trace"),debug:(0,n.K)((...t)=>{},"debug"),info:(0,n.K)((...t)=>{},"info"),warn:(0,n.K)((...t)=>{},"warn"),error:(0,n.K)((...t)=>{},"error"),fatal:(0,n.K)((...t)=>{},"fatal")},o=(0,n.K)(function(t="fatal"){let e=a.fatal;"string"==typeof t?t.toLowerCase()in a&&(e=a[t]):"number"==typeof t&&(e=t),s.trace=()=>{},s.debug=()=>{},s.info=()=>{},s.warn=()=>{},s.error=()=>{},s.fatal=()=>{},e<=a.fatal&&(s.fatal=console.error?console.error.bind(console,l("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",l("FATAL"))),e<=a.error&&(s.error=console.error?console.error.bind(console,l("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",l("ERROR"))),e<=a.warn&&(s.warn=console.warn?console.warn.bind(console,l("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",l("WARN"))),e<=a.info&&(s.info=console.info?console.info.bind(console,l("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",l("INFO"))),e<=a.debug&&(s.debug=console.debug?console.debug.bind(console,l("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",l("DEBUG"))),e<=a.trace&&(s.trace=console.debug?console.debug.bind(console,l("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",l("TRACE")))},"setLogLevel"),l=(0,n.K)(t=>{let e=i().format("ss.SSS");return`%c${e} : ${t} : `},"format")},69106:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return function(e){return t(e)}}},69168:(t,e,r)=>{"use strict";r.r(e),r.d(e,{clearLayoutRenderState:()=>i.n5,createCommonLayoutRenderer:()=>i.xY,default:()=>r5,defaultMeasureLayout:()=>i.QV,paintLayoutData:()=>i.nf});var n=r(43758),i=r(25860),a=r(55650),s=r(79398);r(58548),r(2050),r(7954),r(64936),r(89614),r(47513);var o=r(32615),l=r(14329),c=r(60276),u=r(68718),h=r(46672),d=r(22337),f=r(81178),p="comm",g="rule",y="decl",m="@keyframes",b="@layer",x=Math.abs,k=String.fromCharCode;function w(t,e,r){return t.replace(e,r)}function _(t,e){return 0|t.charCodeAt(e)}function v(t,e,r){return t.slice(e,r)}function A(t){return t.length}function M(t,e){return e.push(t),t}function S(t,e){for(var r="",n=0;n<t.length;n++)r+=e(t[n],n,t,e)||"";return r}function T(t,e,r,n){switch(t.type){case b:if(t.children.length)break;case"@import":case"@namespace":case y:return t.return=t.return||t.value;case p:return"";case m:return t.return=t.value+"{"+S(t.children,n)+"}";case g:if(!A(t.value=t.props.join(",")))return""}return A(r=S(t.children,n))?t.return=t.value+"{"+r+"}":""}var $=1,K=1,L=0,C=0,O=0,R="";function j(t,e,r,n,i,a,s,o){return{value:t,root:e,parent:r,type:n,props:i,children:a,line:$,column:K,length:s,return:"",siblings:o}}function E(){return O=C<L?_(R,C++):0,K++,10===O&&(K=1,$++),O}
71function D(){return _(R,C)}function P(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 I(t){var e,r;return(e=C-1,r=function t(e){for(;E();)switch(O){case e:return C;case 34:case 39:34!==e&&39!==e&&t(O);break;case 40:41===e&&t(e);break;case 92:E()}return C}(91===t?t+2:40===t?t+1:t),v(R,e,r)).trim()}function N(t,e,r,n,i,a,s,o,l,c,u,h){for(var d=i-1,f=0===i?a:[""],p=f.length,y=0,m=0,b=0;y<n;++y)for(var k=0,_=v(t,d+1,d=x(m=s[y])),A=t;k<p;++k)(A=(m>0?f[k]+" "+_:w(_,/&\f/g,f[k])).trim())&&(l[b++]=A);return j(t,e,r,0===i?g:o,l,c,u,h)}function F(t,e,r,n,i){return j(t,e,r,y,v(t,0,n),v(t,n+1,-1),n,i)}var z=r(80913),B=r(8081),U=r(73595),Y=r(19615),q=r(28688);function W(t){if(null==t)return!0;if((0,U.X)(t))return("function"==typeof t.splice||"string"==typeof t||!!(0,B.P)(t)||!!(0,q.i)(t)||!!(0,Y.N)(t))&&0===t.length;if("object"==typeof t||"function"==typeof t){let e;if(t instanceof Map||t instanceof Set)return 0===t.size;let r=Object.keys(t);return(e=t?.constructor,t===("function"==typeof e?e.prototype:Object.prototype))?0===r.filter(t=>"constructor"!==t).length:0===r.length}return!0}var H={id:"c4",detector:(0,h.K)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),loader:(0,h.K)(async()=>{let{diagram:t}=await r.e(593).then(r.bind(r,50593));return{id:"c4",diagram:t}},"loader")},X="flowchart",G=(0,h.K)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),Z=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(1281),r.e(5275)]).then(r.bind(r,15275));return{id:X,diagram:t}},"loader"),V={id:X,detector:G,loader:Z},Q="flowchart-v2",J=(0,h.K)((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"),tt=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(1281),r.e(5275)]).then(r.bind(r,15275));return{id:Q,diagram:t}},"loader"),te={id:Q,detector:J,loader:tt},tr="swimlane",tn=(0,h.K)(t=>/^\s*swimlane-beta\b/.test(t),"detector"),ti=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(1281),r.e(4604)]).then(r.bind(r,44604));return{id:tr,diagram:t}},"loader"),ta={id:tr,detector:tn,loader:ti},ts={id:"er",detector:(0,h.K)(t=>/^\s*erDiagram/.test(t),"detector"),loader:(0,h.K)(async()=>{let{diagram:t}=await r.e(1454).then(r.bind(r,61454));return{id:"er",diagram:t}},"loader")},to="gitGraph",tl=(0,h.K)(t=>/^\s*gitGraph/.test(t),"detector"),tc=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(942)]).then(r.bind(r,50942));return{id:to,diagram:t}},"loader"),tu={id:to,detector:tl,loader:tc},th="gantt",td=(0,h.K)(t=>/^\s*gantt/.test(t),"detector"),tf=(0,h.K)(async()=>{let{diagram:t}=await r.e(1893).then(r.bind(r,1893));return{id:th,diagram:t}},"loader"),tp={id:th,detector:td,loader:tf},tg="info",ty=(0,h.K)(t=>/^\s*info/.test(t),"detector"),tm=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(5366)]).then(r.bind(r,35366));return{id:tg,diagram:t}},"loader"),tb={id:tg,detector:ty,loader:tm},tx={id:"pie",detector:(0,h.K)(t=>/^\s*pie/.test(t),"detector"),loader:(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(6053)]).then(r.bind(r,66053));return{id:"pie",diagram:t}},"loader")},tk="quadrantChart",tw=(0,h.K)(t=>/^\s*quadrantChart/.test(t),"detector"),t_=(0,h.K)(async()=>{let{diagram:t}=await r.e(6365).then(r.bind(r,66365));return{id:tk,diagram:t}},"loader"),tv={id:tk,detector:tw,loader:t_},tA="xychart",tM=(0,h.K)(t=>/^\s*xychart(-beta)?/.test(t),"detector"),tS=(0,h.K)(async()=>{let{diagram:t}=await r.e(1842).then(r.bind(r,81842));return{id:tA,diagram:t}},"loader"),tT={id:tA,detector:tM,loader:tS},t$="requirement",tK=(0,h.K)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),tL=(0,h.K)(async()=>{let{diagram:t}=await r.e(7164).then(r.bind(r,7164));return{id:t$,diagram:t}},"loader"),tC={id:t$,detector:tK,loader:tL},tO="sequence",tR=(0,h.K)(t=>/^\s*sequenceDiagram/.test(t),"detector"),tj=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3447),r.e(3241)]).then(r.bind(r,12294));return{id:tO,diagram:t}},"loader"),tE={id:tO,detector:tR,loader:tj},tD="class",tP=(0,h.K)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),tI=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(2943),r.e(7526)]).then(r.bind(r,67526));return{id:tD,diagram:t}},"loader"),tN={id:tD,detector:tP,loader:tI},tF="classDiagram",tz=(0,h.K)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),tB=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(2943),r.e(3121)]).then(r.bind(r,13121));return{id:tF,diagram:t}},"loader"),tU={id:tF,detector:tz,loader:tB},tY="state",tq=(0,h.K)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),tW=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(2143),r.e(6161),r.e(6424)]).then(r.bind(r,96424));return{id:tY,diagram:t}},"loader"),tH={id:tY,detector:tq,loader:tW},tX="stateDiagram",tG=(0,h.K)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),tZ=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(6161),r.e(9035)]).then(r.bind(r,59035));return{id:tX,diagram:t}},"loader"),tV={id:tX,detector:tG,loader:tZ},tQ="journey",tJ=(0,h.K)(t=>/^\s*journey/.test(t),"detector"),t0=(0,h.K)(async()=>{let{diagram:t}=await r.e(2794).then(r.bind(r,62794));return{id:tQ,diagram:t}},"loader"),t1={id:tQ,detector:tJ,loader:t0},t2={draw:(0,h.K)((t,e,r)=>{u.R.debug("rendering svg for syntax error\n");let i=(0,n.D)(e),a=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,c.a$)(i,100,512,!0),a.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"),a.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"),a.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"),a.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.
71164-16,16v32c0,8.836 7.156,16 16,16z"),a.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"),a.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"),a.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"),a.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")},t3={db:{},renderer:t2,parser:{parse:(0,h.K)(()=>{},"parse")}},t5="flowchart-elk",t6=(0,h.K)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*(flowchart|graph)/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),t4=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(1281),r.e(5275)]).then(r.bind(r,15275));return{id:t5,diagram:t}},"loader"),t8={id:t5,detector:t6,loader:t4},t9="timeline",t7=(0,h.K)(t=>/^\s*timeline/.test(t),"detector"),et=(0,h.K)(async()=>{let{diagram:t}=await r.e(9426).then(r.bind(r,99426));return{id:t9,diagram:t}},"loader"),ee={id:t9,detector:t7,loader:et},er="mindmap",en=(0,h.K)(t=>/^\s*mindmap/.test(t),"detector"),ei=(0,h.K)(async()=>{let{diagram:t}=await r.e(7630).then(r.bind(r,17630));return{id:er,diagram:t}},"loader"),ea={id:er,detector:en,loader:ei},es="kanban",eo=(0,h.K)(t=>/^\s*kanban/.test(t),"detector"),el=(0,h.K)(async()=>{let{diagram:t}=await r.e(3004).then(r.bind(r,63004));return{id:es,diagram:t}},"loader"),ec={id:es,detector:eo,loader:el},eu="sankey",eh=(0,h.K)(t=>/^\s*sankey(-beta)?/.test(t),"detector"),ed=(0,h.K)(async()=>{let{diagram:t}=await r.e(2238).then(r.bind(r,92238));return{id:eu,diagram:t}},"loader"),ef={id:eu,detector:eh,loader:ed},ep="packet",eg=(0,h.K)(t=>/^\s*packet(-beta)?/.test(t),"detector"),ey=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(2090)]).then(r.bind(r,12090));return{id:ep,diagram:t}},"loader"),em={id:ep,detector:eg,loader:ey},eb="radar",ex=(0,h.K)(t=>/^\s*radar-beta/.test(t),"detector"),ek=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(8044)]).then(r.bind(r,78044));return{id:eb,diagram:t}},"loader"),ew={id:eb,detector:ex,loader:ek},e_="block",ev=(0,h.K)(t=>/^\s*block(-beta)?/.test(t),"detector"),eA=(0,h.K)(async()=>{let{diagram:t}=await r.e(7842).then(r.bind(r,17842));return{id:e_,diagram:t}},"loader"),eM={id:e_,detector:ev,loader:eA},eS="treeView",eT=(0,h.K)(t=>/^\s*treeView-beta/.test(t),"detector"),e$=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(2356)]).then(r.bind(r,42356));return{id:eS,diagram:t}},"loader"),eK={id:eS,detector:eT,loader:e$},eL="architecture",eC=(0,h.K)(t=>/^\s*architecture/.test(t),"detector"),eO=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(8747),r.e(5020),r.e(3035)]).then(r.bind(r,13035));return{id:eL,diagram:t}},"loader"),eR={id:eL,detector:eC,loader:eO},ej="eventmodeling",eE=(0,h.K)(t=>/^\s*eventmodeling/.test(t),"detector"),eD=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(1293)]).then(r.bind(r,91293));return{id:ej,diagram:t}},"loader"),eP={id:ej,detector:eE,loader:eD},eI="ishikawa",eN=(0,h.K)(t=>/^\s*ishikawa(-beta)?\b/i.test(t),"detector"),eF=(0,h.K)(async()=>{let{diagram:t}=await r.e(3160).then(r.bind(r,83160));return{id:eI,diagram:t}},"loader"),ez={id:eI,detector:eN,loader:eF},eB="venn",eU=(0,h.K)(t=>/^\s*venn-beta/.test(t),"detector"),eY=(0,h.K)(async()=>{let{diagram:t}=await r.e(4478).then(r.bind(r,4478));return{id:eB,diagram:t}},"loader"),eq={id:eB,detector:eU,loader:eY},eW="treemap",eH=(0,h.K)(t=>/^\s*treemap/.test(t),"detector"),eX=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(7942)]).then(r.bind(r,7942));return{id:eW,diagram:t}},"loader"),eG={id:eW,detector:eH,loader:eX},eZ="wardley",eV=(0,h.K)(t=>/^\s*wardley-beta/i.test(t),"detector"),eQ=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(4684)]).then(r.bind(r,44684));return{id:eZ,diagram:t}},"loader"),eJ={id:eZ,detector:eV,loader:eQ},e0="cynefin",e1=(0,h.K)(t=>/^\s*cynefin-beta(?:[\s:]|$)/.test(t),"detector"),e2=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(4422)]).then(r.bind(r,44422));return{id:e0,diagram:t}},"loader"),e3={id:e0,detector:e1,loader:e2},e5="railroad",e6=(0,h.K)(t=>/^\s*railroad-beta/i.test(t),"detector"),e4=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(6500),r.e(651)]).then(r.bind(r,70651));return{id:e5,diagram:t}},"loader"),e8={id:e5,detector:e6,loader:e4},e9="railroadEbnf",e7=(0,h.K)(t=>/^\s*railroad-ebnf-beta/i.test(t),"detector"),rt=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(6500),r.e(7329)]).then(r.bind(r,67329));return{id:e9,diagram:t}},"loader"),re={id:e9,detector:e7,loader:rt},rr="railroadAbnf",rn=(0,h.K)(t=>/^\s*railroad-abnf-beta/i.test(t),"detector"),ri=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(6500),r.e(9507)]).then(r.bind(r,89507));return{id:rr,diagram:t}},"loader"),ra={id:rr,detector:rn,loader:ri},rs="railroadPeg",ro=(0,h.K)(t=>/^\s*railroad-peg-beta/i.test(t),"detector"),rl=(0,h.K)(async()=>{let{diagram:t}=await Promise.all([r.e(3265),r.e(5020),r.e(6500),r.e(4301)]).then(r.bind(r,44301));return{id:rs,diagram:t}},"loader"),rc={id:rs,detector:ro,loader:rl},ru=!1,rh=(0,h.K)(()=>{ru||(ru=!0,(0,c.Js)("error",t3,t=>"error"===t.toLowerCase().trim()),(0,c.Js)("---",{db:{clear:(0,h.K)(()=>{},"clear")},styles:{},renderer:{draw:(0,h.K)(()=>{},"draw")},parser:{parse:(0,h.K)(()=>{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,h.K)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,c.Xd)(t8,ea,eR),(0,c.Xd)(H,ec,tU,tN,ts,tp,tb,tx,tC,tE,ta,te,V,ee,tu,tV,tH,t1,tv,ef,em,tT,eM,eP,eK,ew,ez,eG,e8,re,ra,rc,eq,eJ,e3))},"addDiagrams"),rd=(0,h.K)(async()=>{u.R.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(c.mW).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,c.Gs)(t)}catch{try{let{diagram:t,id:n}=await r();(0,c.Js)(n,t,e)}catch(e){throw u.R.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete c.mW[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(u.R.error(`Failed to load ${t.length} external diagrams`),t))u.R.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function rf(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function rp(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)}}}(0,h.K)(rf,"setA11yDiagramInfo"),(0,h.K)(rp,"addSVGa11yTitleDescription");var rg=class t{constructor(t,e,r,n,i){this.type=t,this.text=e,this.db=r,this.parser=n,this.renderer=i}static{(0,h.K)(this,"Diagram")}static async fromText(e,r={}){let n=(0,c.zj)(),i=(0,c.Ch)(e,n);e=(0,l.C4)(e)+"\n";try{(0,c.Gs)(i)}catch{let t=(0,c.J$)(i);if(!t)throw new c.C0(`Diagram ${i} not found.`);let{id:e,diagram:r}=await t();(0,c.Js)(e,r)}let{db:a,parser:s,renderer:o,init:u}=(0,c.Gs)(i);return s.parser&&(s.parser.yy=a),a.clear?.(),u?.(n),r.title&&a.setDiagramTitle?.(r.title),await s.parse(e),new t(i,e,a,s,o)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},ry=[],rm=(0,h.K)(()=>
71{ry.forEach(t=>{t()}),ry=[]},"attachFunctions"),rb=(0,h.K)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function rx(t){let e=t.match(c.EJ);if(!e)return{text:t,metadata:{}};let r=e[1],n=r?e[2].split("\n").map(t=>t.startsWith(r)?t.slice(r.length):t).join("\n"):e[2],i=(0,a.H)(n,{schema:a.r})??{};i="object"!=typeof i||Array.isArray(i)?{}:i;let s={};return i.displayMode&&(s.displayMode=i.displayMode.toString()),i.title&&(s.title=i.title.toString()),i.config&&(s.config=i.config),{text:t.slice(e[0].length),metadata:s}}(0,h.K)(rx,"extractFrontMatter");var rk=(0,h.K)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),rw=(0,h.K)(t=>{let{text:e,metadata:r}=rx(t),{displayMode:n,title:i,config:a={}}=r;return n&&(a.gantt||(a.gantt={}),a.gantt.displayMode=n),{title:i,config:a,text:e}},"processFrontmatter"),r_=(0,h.K)(t=>{let e=l._K.detectInit(t)??{},r=l._K.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,l.vU)(t),directive:e}},"processDirectives");function rv(t){let e=rw(rk(t)),r=r_(e.text),n=(0,l.$t)(e.config,r.directive);return{code:t=rb(r.text),title:e.title,config:n}}function rA(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,h.K)(rv,"preprocessDiagram"),(0,h.K)(rA,"toBase64");var rM=["foreignobject"],rS=["dominant-baseline"];function rT(t){let e=rv(t);return(0,c.cL)(),(0,c.xA)(e.config??{}),e}async function r$(t,e){rh();try{let{code:e,config:r}=rT(t);return{diagramType:(await rF(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,h.K)(rT,"processAndSetConfigs"),(0,h.K)(r$,"parse");var rK=(0,h.K)((t,e,r=[])=>{let n=(0,c.Df)(`{ ${r.join(" !important; ")} !important; }`);return`.${t} ${e} ${n}`},"cssImportantStyles"),rL=(0,h.K)((t,e=new Map)=>{let r=new CSSStyleSheet;if(void 0!==t.fontFamily&&r.insertRule(`:root { --mermaid-font-family: ${t.fontFamily}}`,r.cssRules.length),void 0!==t.altFontFamily&&r.insertRule(`:root { --mermaid-alt-font-family: ${t.altFontFamily}}`,r.cssRules.length),e instanceof Map){let n=(0,c.E)(t)?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{W(t.styles)||n.forEach(e=>{r.insertRule(rK(t.id,e,t.styles),r.cssRules.length)}),W(t.textStyles)||r.insertRule(rK(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))),r.cssRules.length)})}let n="";if(void 0!==t.themeCSS)if("function"==typeof r.replaceSync){let e=new CSSStyleSheet;e.replaceSync(t.themeCSS),n=(0,c.KG)(e)+"\n"}else n+=`${t.themeCSS}
72`;return n+(0,c.KG)(r)},"createCssStyles"),rC=(0,h.K)((t,e)=>{var r,n,i,a,s;return S((i=function t(e,r,n,i,a,s,o,l,c){for(var u,h,d,f,g=0,y=0,m=o,b=0,x=0,S=0,T=1,L=1,z=1,B=0,U=0,Y="",q=a,W=s,H=i,X=Y;L;)switch(S=U,U=E()){case 40:108!=S&&58==_(X,m-1)?(B++,X+="("):X+=I(U);break;case 41:B--,X+=")";break;case 34:case 39:case 91:X+=I(U);break;case 9:case 10:case 13:case 32:if(B>0){X+=k(U);break}X+=function(t){for(;O=D();)if(O<33)E();else break;return P(t)>2||P(O)>3?"":" "}(S);break;case 92:X+=function(t,e){for(var r;--e&&E()&&!(O<48)&&!(O>102)&&(!(O>57)||!(O<65))&&(!(O>70)||!(O<97)););return r=C+(e<6&&32==D()&&32==E()),v(R,t,r)}(C-1,7);continue;case 47:switch(D()){case 42:case 47:M((u=function(t,e){for(;E();)if(t+O===57)break;else if(t+O===84&&47===D())break;return"/*"+v(R,e,C-1)+"*"+k(47===t?t:E())}(E(),C),h=r,d=n,f=c,j(u,h,d,p,k(O),v(u,2,-2),0,f)),c),(5==P(S||1)||5==P(D()||1))&&A(X)&&" "!==v(X,-1,void 0)&&(X+=" ");break;default:X+="/"}break;case 123*T:l[g++]=A(X)*z;case 125*T:case 59:case 0:if(B>0&&U){X+=k(U);break}switch(U){case 0:case 125:L=0;case 59+y:-1==z&&(X=w(X,/\f/g,"")),x>0&&(A(X)-m||0===T)&&M(x>32?F(X+";",i,n,m-1,c):F(w(X," ","")+";",i,n,m-2,c),c);break;case 59:X+=";";default:if(M(H=N(X,r,n,g,y,a,l,Y,q=[],W=[],m,s),s),123===U)if(0===y)t(X,r,H,H,q,s,m,l,W);else{switch(b){case 99:if(110===_(X,3))break;case 108:if(97===_(X,2))break;default:y=0;case 100:case 109:case 115:}y?t(e,H,H,i&&M(N(e,H,H,0,0,a,l,Y,a,q=[],m,W),W),a,W,m,l,i?q:W):t(X,H,H,H,[""],W,0,l,W)}}g=y=x=0,T=z=1,Y=X="",m=o;break;case 58:m=1+A(X),x=S;default:if(T<1){if(123==U)--T;else if(125==U&&0==T++&&125==(O=C>0?_(R,--C):0,K--,10===O&&(K=1,$--),O))continue}switch(X+=k(U),U*T){case 38:z=y>0?1:(X+="\f",-1);break;case 44:if(B>0)break;l[g++]=(A(X)-1)*z,z=1;break;case 64:45===D()&&(X+=I(E())),b=D(),y=m=A(Y=X+=function(t){for(;!P(D());)E();return v(R,t,C)}(C)),U++;break;case 45:45===S&&2==A(X)&&(T=0)}}return s}("",null,null,null,[""],(n=r=`${t}{${e}}
72`,$=K=1,L=A(R=n),C=0,r=[]),0,[0],r),R="",i),(s=(a=[(0,h.K)(function(e,r,n,i){"rule"===e.type&&Array.isArray(e.props)?e.parent&&e.parent.type===m||(e.props=e.props.map(r=>r===t&&Array.isArray(e.children)&&e.children.every(t=>"decl"===t.type&&new Set(["font-family","font-size","fill"]).has(t.props))||(r.startsWith(`${t} `)||r.startsWith(`${t}>`))&&!r.startsWith(`${t} ||`)?r:`${t} ${r}`)):e.type.startsWith("@")&&(["@media","@supports",b,"@scope","@container","@starting-style",m].includes(e.type)||(u.R.warn(`Removing unsupported at-rule ${e.type} from CSS`),e.type=p))},"addNamespace"),T]).length,function(t,e,r,n){for(var i="",o=0;o<s;o++)i+=a[o](t,e,r,n)||"";return i}))},"compileCSS"),rO=(0,h.K)((t,e,r,n)=>{let i=rL(t,r),a=(0,c.tM)(e,i,{...t.themeVariables,theme:t.theme,look:t.look},n);return rC(n,a)},"createUserStyles"),rR=(0,h.K)((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,l.Sm)(n)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),rj=(0,h.K)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",
72n=rA(`<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">
73  The "iframe" tag is not supported by your browser.
74</iframe>`},"putIntoIFrame"),rE=(0,h.K)((t,e,r,n,i)=>{let a=t.append("div");a.attr("id",r),n&&a.attr("style",n);let s=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return i&&s.attr("xmlns:xlink",i),s.append("g"),t},"appendDivSvgG");function rD(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,h.K)(rD,"sandboxedIframe");var rP=(0,h.K)((t,e,r,n)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(n)?.remove()},"removeExistingElements"),rI=(0,h.K)(async function(t,e,r){let n,i;rh();let a=rT(e);e=a.code;let s=(0,c.zj)();u.R.debug(s),e.length>(s?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let o=`#${t}`,l="i"+t,d="#"+l,p="d"+t,g="#"+p,y=(0,h.K)(()=>{let t=b?d:g,e=(0,f.Ltv)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),m=(0,f.Ltv)(document.body),b="sandbox"===s.securityLevel,x="loose"===s.securityLevel,k=s.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),b){let t=rD((0,f.Ltv)(r),l);(m=(0,f.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin="0"}else m=(0,f.Ltv)(r);rE(m,t,p,`font-family: ${k}`,"http://www.w3.org/1999/xlink")}else{if(rP(document,t,p,l),b){let t=rD((0,f.Ltv)(document.body),l);(m=(0,f.Ltv)(t.nodes()[0].contentDocument.body)).node().style.margin="0"}else m=(0,f.Ltv)("body");rE(m,t,p)}try{n=await rg.fromText(e,{title:a.title})}catch(t){if(s.suppressErrorRendering)throw y(),t;n=await rg.fromText("error"),i=t}let w=m.select(g).node(),_=n.type,v=w.firstChild,A=v.firstChild,M=rO(s,_,n.renderer.getClasses?.(e,n),o),S=document.createElement("style");S.innerHTML=M,v.insertBefore(S,A);try{await n.renderer.draw(e,t,"11.17.0",n)}catch(r){throw s.suppressErrorRendering?y():t2.draw(e,t,"11.17.0"),r}rz(_,m.select(`${g} svg`),n.db.getAccTitle?.(),n.db.getAccDescription?.());let T=(0,h.K)(()=>{m.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let e=m.select(g).node().innerHTML;return u.R.debug("config.arrowMarkerAbsolute",s.arrowMarkerAbsolute),e=rR(e,b,(0,c._3)(s.arrowMarkerAbsolute)),b?e=rj(e,m.select(g+" svg").node()):x||(e=z.default.sanitize(e,{ADD_TAGS:rM,ADD_ATTR:rS,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),rm(),e},"serializeSvg")();if(i)throw i;return y(),{diagramType:_,svg:T,bindFunctions:n.db.bindFunctions}},"render");function rN(t={}){let e=(0,c.hH)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,c.wZ)(e),e?.theme&&e.theme in c.H$?e.themeVariables=c.H$[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=c.H$.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,c.UU)(e):(0,c.Q2)();(0,u.H)(r.logLevel),rh()}(0,h.K)(rN,"initialize");var rF=(0,h.K)((t,e={})=>{let{code:r}=rv(t);return rg.fromText(r,e)},"getDiagramFromText");function rz(t,e,r,n){rf(e,t),rp(e,r,n,e.attr("id"))}(0,h.K)(rz,"addA11yInfo");var rB=Object.freeze({render:rI,parse:r$,getDiagramFromText:rF,initialize:rN,getConfig:c.zj,setConfig:c.Nk,getSiteConfig:c.Q2,updateSiteConfig:c.B6,reset:(0,h.K)(()=>{(0,c.cL)()},"reset"),globalReset:(0,h.K)(()=>{(0,c.cL)(c.sb)},"globalReset"),defaultConfig:c.sb});(0,u.H)((0,c.zj)().logLevel),(0,c.cL)((0,c.zj)());var rU=(0,h.K)((t,e,r)=>{u.R.warn(t),(0,l.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"),rY=(0,h.K)(async function(t={querySelector:".mermaid"}){try{await rq(t)}catch(e){if((0,l.dq)(e)&&u.R.error(e.str),r3.parseError&&r3.parseError(e),!t.suppressErrors)throw u.R.error("Use the suppressErrors option to suppress these errors"),e}},"run"),rq=(0,h.K)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let n,i,a=rB.getConfig();if(u.R.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");u.R.debug(`Found ${n.length} diagrams`),a?.startOnLoad!==void 0&&(u.R.debug("Start On Load: "+a?.startOnLoad),rB.updateSiteConfig({startOnLoad:a?.startOnLoad}
74));let s=new l._K.InitIDGenerator(a.deterministicIds,a.deterministicIDSeed),o=[];for(let e of Array.from(n)){if(u.R.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${s.next()}`;i=e.innerHTML,i=(0,d.T)(l._K.entityDecode(i)).trim().replace(/<br\s*\/?>/gi,"<br/>");let n=l._K.detectInit(i);n&&u.R.debug("Detected early reinit: ",n);try{let{svg:n,bindFunctions:a}=await r1(r,i,e);e.innerHTML=n,t&&await t(r),a&&a(e)}catch(t){rU(t,o,r3.parseError)}}if(o.length>0)throw o[0]},"runThrowsErrors"),rW=(0,h.K)(function(t){rB.initialize(t)},"initialize"),rH=(0,h.K)(async function(t,e,r){u.R.warn("mermaid.init is deprecated. Please use run instead."),t&&rW(t);let n={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?n.querySelector=e:e&&(e instanceof HTMLElement?n.nodes=[e]:n.nodes=e),await rY(n)},"init"),rX=(0,h.K)(async(t,{lazyLoad:e=!0}={})=>{rh(),(0,c.Xd)(...t),!1===e&&await rd()},"registerExternalDiagrams"),rG=(0,h.K)(function(){if(r3.startOnLoad){let{startOnLoad:t}=rB.getConfig();t&&r3.run().catch(t=>u.R.error("Mermaid failed to initialize",t))}},"contentLoaded");"u">typeof document&&window.addEventListener("load",rG,!1);var rZ=(0,h.K)(function(t){r3.parseError=t},"setParseErrorHandler"),rV=[],rQ=!1,rJ=(0,h.K)(async()=>{if(!rQ){for(rQ=!0;rV.length>0;){let t=rV.shift();if(t)try{await t()}catch(t){u.R.error("Error executing queue",t)}}rQ=!1}},"executeQueue"),r0=(0,h.K)(async(t,e)=>new Promise((r,n)=>{let i=(0,h.K)(()=>new Promise((i,a)=>{rB.parse(t,e).then(t=>{i(t),r(t)},t=>{u.R.error("Error parsing",t),r3.parseError?.(t),a(t),n(t)})}),"performCall");rV.push(i),rJ().catch(n)}),"parse"),r1=(0,h.K)((t,e,r)=>new Promise((n,i)=>{let a=(0,h.K)(()=>new Promise((a,s)=>{rB.render(t,e,r).then(t=>{a(t),n(t)},t=>{u.R.error("Error parsing",t),r3.parseError?.(t),s(t),i(t)})}),"performCall");rV.push(a),rJ().catch(i)}),"render"),r2=(0,h.K)(()=>Object.keys(c.mW).map(t=>({id:t})),"getRegisteredDiagramsMetadata"),r3={startOnLoad:!0,mermaidAPI:rB,parse:r0,render:r1,init:rH,run:rY,registerExternalDiagrams:rX,registerLayoutLoaders:s.sO,initialize:rW,parseError:void 0,contentLoaded:rG,setParseErrorHandler:rZ,detectType:c.Ch,registerIconPacks:o.pC,getRegisteredDiagramsMetadata:r2},r5=r3},70968:(t,e,r)=>{"use strict";r.d(e,{A:()=>i});var n=r(71358);let i=function(){try{var t=(0,n.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},71358:(t,e,r)=>{"use strict";r.d(e,{A:()=>g});var n,i=r(48925),a=r(27122).A["__core-js_shared__"],s=(n=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",o=r(20370),l=r(18310),c=/^\[object .+?Constructor\]$/,u=Object.prototype,h=Function.prototype.toString,d=u.hasOwnProperty,f=RegExp("^"+h.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let p=function(t){return!!(0,o.A)(t)&&(!s||!(s in t))&&((0,i.A)(t)?f:c).test((0,l.A)(t))},g=function(t,e){var r=null==t?void 0:t[e];return p(r)?r:void 0}},71663:(t,e,r)=>{"use strict";r.d(e,{A:()=>d});var n=(0,r(71358).A)(Object,"create"),i=Object.prototype.hasOwnProperty,a=Object.prototype.hasOwnProperty;function s(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])}}s.prototype.clear=function(){this.__data__=n?n(null):{},this.size=0},s.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=!!e,e},s.prototype.get=function(t){var e=this.__data__;if(n){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(e,t)?e[t]:void 0},s.prototype.has=function(t){var e=this.__data__;return n?void 0!==e[t]:a.call(e,t)},s.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 o=r(52670),l=r(68276);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 s,map:new(l.A||o.A),string:new s}},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 d=h},73440:(t,e,r)=>{"use strict";r.d(e,{A:()=>
74o});var n=r(27122),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof module&&module&&!module.nodeType&&module,s=a&&a.exports===i?n.A.Buffer:void 0;let o=(s?s.isBuffer:void 0)||function(){return!1}},73595:(t,e,r)=>{"use strict";function n(t){var e;return null!=t&&"function"!=typeof t&&Number.isSafeInteger(e=t.length)&&e>=0}r.d(e,{X:()=>n})},74207:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return void 0===t}},74524:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(57404),i=(0,r(93560).A)(Object.keys,Object),a=Object.prototype.hasOwnProperty;let s=function(t){if(!(0,n.A)(t))return i(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},75292:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(3303),i=r(76113);let a=(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:a,g:s,b:o,a:l}=n.A.parse(t),{r:c,g:u,b:h,a:d}=n.A.parse(e),f=r/100,p=2*f-1,g=l-d,y=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,m=1-y;return(0,i.A)(a*y+c*m,s*y+u*m,o*y+h*m,l*f+d*(1-f))})(r,t,e)}},75636:(t,e,r)=>{"use strict";r.d(e,{A:()=>v});var n=r(71358),i=r(27122),a=(0,n.A)(i.A,"DataView"),s=r(68276),o=(0,n.A)(i.A,"Promise"),l=r(22829),c=(0,n.A)(i.A,"WeakMap"),u=r(32229),h=r(18310),d="[object Map]",f="[object Promise]",p="[object Set]",g="[object WeakMap]",y="[object DataView]",m=(0,h.A)(a),b=(0,h.A)(s.A),x=(0,h.A)(o),k=(0,h.A)(l.A),w=(0,h.A)(c),_=u.A;(a&&_(new a(new ArrayBuffer(1)))!=y||s.A&&_(new s.A)!=d||o&&_(o.resolve())!=f||l.A&&_(new l.A)!=p||c&&_(new c)!=g)&&(_=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 m:return y;case b:return d;case x:return f;case k:return p;case w:return g}return e});let v=_},76019:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=r(27122).A.Uint8Array},76113:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(22724),i=r(50150),a=r(3303),s=r(54811);let o=(t,e,r=0,o=1)=>{if("number"!=typeof t)return(0,s.A)(t,{a:e});let l=i.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(o)});return a.A.stringify(l)}},76137:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,a=[];++r<n;){var s=t[r];e(s,r,t)&&(a[i++]=s)}return a}},76199:(t,e,r)=>{"use strict";function n(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}r.d(e,{i:()=>n})},77541:(t,e,r)=>{"use strict";r.d(e,{A:()=>o});var n=r(52670),i=r(68276),a=r(71663);function s(t){var e=this.__data__=new n.A(t);this.size=e.size}s.prototype.clear=function(){this.__data__=new n.A,this.size=0},s.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},s.prototype.get=function(t){return this.__data__.get(t)},s.prototype.has=function(t){return this.__data__.has(t)},s.prototype.set=function(t,e){var r=this.__data__;if(r instanceof n.A){var s=r.__data__;if(!i.A||s.length<199)return s.push([t,e]),this.size=++r.size,this;r=this.__data__=new a.A(s)}return r.set(t,e),this.size=r.size,this};let o=s},78642:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(36642),i=r(67801);let a=function(t,e){return t&&(0,n.A)(t,e,i.A)}},78873:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(60068),i=r(62543),a=r(67801);let s=function(t){return(0,n.A)(t,a.A,i.A)}},79398:(t,e,r)=>{"use strict";r.d(e,{XX:()=>p,q7:()=>g,sO:()=>f});var n=r(58548),i=r(2050),a=r(7954),s=r(64936),o=r(14329),l=r(60276),c=r(68718),u=r(46672),h={common:l.Y2,getConfig:l.zj,insertCluster:n.U,insertEdge:i.Jo,insertEdgeLabel:i.jP,insertMarkers:i.g0,insertNode:a.on,interpolateToCurve:o.Ib,labelHelper:s.Zk,log:c.R,positionEdgeLabel:i.T_},d={},f=(0,u.K)(t=>{for(let e of t)d[e.name]=e},"registerLayoutLoaders");(0,u.K)(()=>{f([{name:"dagre",loader:(0,u.K)(async()=>await Promise.all([r.e(2143),r.e(8568)]).then(r.bind(r,18568)),"loader")},{name:"swimlane",loader:(0,u.K)(async()=>await Promise.all([r.e(4894),r.e(6738)]).then(r.bind(r,92413)),"loader")},{name:"cose-bilkent",loader:(0,u.K)(async()=>await Promise.all([r.e(8747),r.e(9075)]).then(r.bind(r,29075)),"loader")}])},"registerDefaultLayoutLoaders")();var p=(0,u.K)(async(t,e)=>{if(!(t.layoutAlgorithm in d))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=d[t.layoutAlgorithm],n=await r.loader(),{theme:i,themeVariables:a}=t.config,{useGradient:s,gradientStart:o,gradientStop:l}=a,c=e.attr("id");if(e.append("defs").append("filter").attr("id",`${c}-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",`${i?.includes("dark")?"#FFFFFF":"#000000"}`),e.append("defs").append("filter").attr("id",`${c}-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",`${i?.includes("dark")?"#FFFFFF":"#000000"}`),s){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",o).attr("stop-opacity",1),t.append("svg:stop").attr("offset","100%").attr("stop-color",l).attr("stop-opacity",1)}return n.render(t,e,h,{algorithm:r.algorithm})},"render"),g=(0,u.K)((t="",{fallback:e="dagre"}={})=>
74{if(t in d)return t;if(e in d)return c.R.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm")},79585:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n=r(46951),i=r(28968),a=r(52223);let s=function(t,e){return(0,a.A)((0,i.A)(t,e,n.A),t+"")}},81178:(t,e,r)=>{"use strict";function n(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r<e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function i(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let n=-1;for(let i of t)null!=(i=e(i,++n,t))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function a(t){return t}function s(t){return"translate("+t+",0)"}function o(t){return"translate(0,"+t+")"}function l(){return!this.__axis}function c(t,e){var r=[],n=null,i=null,c=6,u=6,h=3,d="u">typeof window&&window.devicePixelRatio>1?0:.5,f=1===t||4===t?-1:1,p=4===t||2===t?"x":"y",g=1===t||3===t?s:o;function y(s){var o=null==n?e.ticks?e.ticks.apply(e,r):e.domain():n,y=null==i?e.tickFormat?e.tickFormat.apply(e,r):a:i,m=Math.max(c,0)+h,b=e.range(),x=+b[0]+d,k=+b[b.length-1]+d,w=(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(),d),_=s.selection?s.selection():s,v=_.selectAll(".domain").data([null]),A=_.selectAll(".tick").data(o,e).order(),M=A.exit(),S=A.enter().append("g").attr("class","tick"),T=A.select("line"),$=A.select("text");v=v.merge(v.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(S),T=T.merge(S.append("line").attr("stroke","currentColor").attr(p+"2",f*c)),$=$.merge(S.append("text").attr("fill","currentColor").attr(p,f*m).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),s!==_&&(v=v.transition(s),A=A.transition(s),T=T.transition(s),$=$.transition(s),M=M.transition(s).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=w(t))?g(t+d):this.getAttribute("transform")}),S.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:w(t))+d)})),M.remove(),v.attr("d",4===t||2===t?u?"M"+f*u+","+x+"H"+d+"V"+k+"H"+f*u:"M"+d+","+x+"V"+k:u?"M"+x+","+f*u+"V"+d+"H"+k+"V"+f*u:"M"+x+","+d+"H"+k),A.attr("opacity",1).attr("transform",function(t){return g(w(t)+d)}),T.attr(p+"2",f*c),$.attr(p,f*m).text(y),_.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),_.each(function(){this.__axis=w})}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return r=Array.from(arguments),y},y.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),y):r.slice()},y.tickValues=function(t){return arguments.length?(n=null==t?null:Array.from(t),y):n&&n.slice()},y.tickFormat=function(t){return arguments.length?(i=t,y):i},y.tickSize=function(t){return arguments.length?(c=u=+t,y):c},y.tickSizeInner=function(t){return arguments.length?(c=+t,y):c},y.tickSizeOuter=function(t){return arguments.length?(u=+t,y):u},y.tickPadding=function(t){return arguments.length?(h=+t,y):h},y.offset=function(t){return arguments.length?(d=+t,y):d},y}function u(t){return c(1,t)}function h(t){return c(3,t)}r.d(e,{JLW:()=>rV,l78:()=>h,tlR:()=>u,qrM:()=>nt,Yu4:()=>nr,IA3:()=>ni,Wi0:()=>ns,PGM:()=>no,OEq:()=>nc,y8u:()=>nd,olC:()=>np,IrU:()=>ny,oDi:()=>nx,Q7f:()=>nw,cVp:()=>nv,lUB:()=>r0,Lx9:()=>nM,nVG:()=>nO,uxU:()=>nR,Xf2:()=>nD,GZz:()=>nI,UPb:()=>nF,dyv:()=>nN,GPZ:()=>k,Sk5:()=>R,bEH:()=>tc,n8j:()=>r3,T9B:()=>n,jkA:()=>i,rLf:()=>r4,WH:()=>function t(){var e,r,n=tg().unknown(void 0),i=n.domain,a=n.range,s=0,o=1,l=!1,c=0,u=0,h=.5;function d(){var t=i().length,n=o<s,d=n?o:s,f=n?s:o;e=(f-d)/Math.max(1,t-c+2*u),l&&(e=Math.floor(e)),d+=(f-d-e*(t-c))*h,r=e*(1-c),l&&(d=Math.round(d),r=Math.round(r));var p=(function(t,e,r){t*=1,e*=1,r=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((e-t)/r)),a=Array(i);++n<i;)a[n]=t+n*r;return a})(t).map(function(t){return d+e*t});return a(n?p.reverse():p)}return delete n.unknown,n.domain=function(t){return arguments.length?(i(t),d()):i()},n.range=function(t){return arguments.length?([s,o]=t,s*=1,o*=1,d()):[s,o]},n.rangeRound=function(t){return[s,o]=t,s*=1,o*=1,l=!0,d()},n.bandwidth=function(){return r},n.step=function(){return e}
74,n.round=function(t){return arguments.length?(l=!!t,d()):l},n.padding=function(t){return arguments.length?(c=Math.min(1,u=+t),d()):c},n.paddingInner=function(t){return arguments.length?(c=Math.min(1,t),d()):c},n.paddingOuter=function(t){return arguments.length?(u=+t,d()):u},n.align=function(t){return arguments.length?(h=Math.max(0,Math.min(1,t)),d()):h},n.copy=function(){return t(i(),[s,o]).round(l).paddingInner(c).paddingOuter(u).align(h)},tu.apply(d(),arguments)},m4Y:()=>function t(){var e,r=tI();return r.copy=function(){return tP(r,t())},tu.apply(r,arguments),e=r.domain,r.ticks=function(t){var r=e();return function(t,e,r){if(e*=1,t*=1,!((r*=1)>0))return[];if(t===e)return[t];let n=e<t,[i,a,s]=n?tx(e,t,r):tx(t,e,r);if(!(a>=i))return[];let o=a-i+1,l=Array(o);if(n)if(s<0)for(let t=0;t<o;++t)l[t]=-((a-t)/s);else for(let t=0;t<o;++t)l[t]=(a-t)*s;else if(s<0)for(let t=0;t<o;++t)l[t]=-((i+t)/s);else for(let t=0;t<o;++t)l[t]=(i+t)*s;return l}(r[0],r[r.length-1],null==t?10:t)},r.tickFormat=function(t,r){var n=e();return function(t,e,r,n){var i,a,s=tw(t,e,r);switch((n=M(null==n?",f":n)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=n.precision||isNaN(a=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(m(o)/3)))-m(Math.abs(s))))||(n.precision=a),w(n,o);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(a=Math.max(0,m(Math.abs(Math.max(Math.abs(t),Math.abs(e)))-(i=Math.abs(i=s)))-m(i))+1)||(n.precision=a-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(a=Math.max(0,-m(Math.abs(s))))||(n.precision=a-("%"===n.type)*2)}return k(n)}(n[0],n[n.length-1],null==t?10:t,r)},r.nice=function(t){null==t&&(t=10);var n,i,a=e(),s=0,o=a.length-1,l=a[s],c=a[o],u=10;for(c<l&&(i=l,l=c,c=i,i=s,s=o,o=i);u-- >0;){if((i=tk(l,c,t))===n)return a[s]=l,a[o]=c,e(a);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else if(i<0)l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i;else break;n=i}return r},r},UMr:()=>tg,w7C:()=>rA,zt:()=>rM,Ltv:()=>rS.A,UAC:()=>tX,DCK:()=>v,TUC:()=>t3,Agd:()=>tW,t6C:()=>tB,wXd:()=>tY,ABi:()=>tJ,Ui6:()=>en,rGn:()=>t5,ucG:()=>tU,YPH:()=>tQ,Mol:()=>t2,PGu:()=>t0,GuW:()=>t1,hkb:()=>U}),r(57792);let{abs:d,max:f,min:p}=Math;function g(t){return{type:t}}function y(t,e){if(!isFinite(t)||0===t)return null;var r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"),n=t.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+t.slice(r+1)]}function m(t){return(t=y(Math.abs(t)))?t[1]:NaN}["w","e"].map(g),["n","s"].map(g),["n","w","e","s","nw","ne","sw","se"].map(g);var b,x,k,w,_,v,A=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function M(t){var e;if(!(e=A.exec(t)))throw Error("invalid format: "+t);return new S({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function S(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function T(t,e){var r=y(t,e);if(!r)return t+"";var n=r[0],i=r[1];return i<0?"0."+Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+Array(i-n.length+2).join("0")}M.prototype=S.prototype,S.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let $={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>T(100*t,e),r:T,s:function(t,e){var r=y(t,e);if(!r)return b=void 0,t.toPrecision(e);var n=r[0],i=r[1],a=i-(b=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=n.length;return a===s?n:a>s?n+Array(a-s+1).join("0"):a>0?n.slice(0,a)+"."+n.slice(a):"0."+Array(1-a).join("0")+y(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function K(t){return t}var L=Array.prototype.map,C=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function O(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 R(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=E)):void 0===e&&(e=j);for(var r,n,i,a,s,o=new I(t),l=[o];r=l.pop();)if((i=e(r.data))&&(s=(i=Array.from(i)).length))for(r.children=i,a=s-1;a>=0;--a)l.push(n=i[a]=new I(i[a])),n.parent=r,n.depth=r.depth+1;return o.eachBefore(P)}function j(t){return t.children}function E(t){return Array.isArray(t)?t[1]:null}function D(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function P(t){var e=0;do t.height=e;while((t=t.parent)&&t.height<++e)}function I(t){this.data=t,this.depth=this.height=0,this.parent=null}function N(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)}k=(x=function(t){var e,r,n,i=void 0===t.grouping||void 0===t.thous
74ands?K:(e=L.call(t.grouping,Number),r=t.thousands+"",function(t,n){for(var i=t.length,a=[],s=0,o=e[0],l=0;i>0&&o>0&&(l+o+1>n&&(o=Math.max(1,n-l)),a.push(t.substring(i-=o,i+o)),!((l+=o+1)>n));)o=e[s=(s+1)%e.length];return a.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",s=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?K:(n=L.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return n[+t]})}),c=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",h=void 0===t.nan?"NaN":t.nan+"";function d(t,e){var r=(t=M(t)).fill,n=t.align,d=t.sign,f=t.symbol,p=t.zero,g=t.width,y=t.comma,m=t.precision,x=t.trim,k=t.type;"n"===k?(y=!0,k="g"):$[k]||(void 0===m&&(m=12),x=!0,k="g"),(p||"0"===r&&"="===n)&&(p=!0,r="0",n="=");var w=(e&&void 0!==e.prefix?e.prefix:"")+("$"===f?a:"#"===f&&/[boxX]/.test(k)?"0"+k.toLowerCase():""),_=("$"===f?s:/[%p]/.test(k)?c:"")+(e&&void 0!==e.suffix?e.suffix:""),v=$[k],A=/[defgprs%]/.test(k);function S(t){var e,a,s,c=w,f=_;if("c"===k)f=v(t)+f,t="";else{var M=(t*=1)<0||1/t<0;if(t=isNaN(t)?h:v(Math.abs(t),m),x&&(t=function(t){e:for(var e,r=t.length,n=1,i=-1;n<r;++n)switch(t[n]){case".":i=e=n;break;case"0":0===i&&(i=n),e=n;break;default:if(!+t[n])break e;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),M&&0==+t&&"+"!==d&&(M=!1),c=(M?"("===d?d:u:"-"===d||"("===d?"":d)+c,f=("s"!==k||isNaN(t)||void 0===b?"":C[8+b/3])+f+(M&&"("===d?")":""),A){for(e=-1,a=t.length;++e<a;)if(48>(s=t.charCodeAt(e))||s>57){f=(46===s?o+t.slice(e+1):t.slice(e))+f,t=t.slice(0,e);break}}}y&&!p&&(t=i(t,1/0));var S=c.length+t.length+f.length,T=S<g?Array(g-S+1).join(r):"";switch(y&&p&&(t=i(T+t,T.length?g-f.length:1/0),T=""),n){case"<":t=c+t+f+T;break;case"=":t=c+T+t+f;break;case"^":t=T.slice(0,S=T.length>>1)+c+t+f+T.slice(S);break;default:t=T+c+t+f}return l(t)}return m=void 0===m?6:/[gprs]/.test(k)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return t+""},S}return{format:d,formatPrefix:function(t,e){var r=3*Math.max(-8,Math.min(8,Math.floor(m(e)/3))),n=Math.pow(10,-r),i=d(((t=M(t)).type="f",t),{suffix:C[8+r/3]});return function(t){return i(n*t)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,w=x.formatPrefix,I.prototype=R.prototype={constructor:I,count:function(){return this.eachAfter(O)},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,i,a=this,s=[a],o=[],l=-1;a=s.pop();)if(o.push(a),r=a.children)for(n=0,i=r.length;n<i;++n)s.push(r[n]);for(;a=o.pop();)t.call(e,a,++l,this);return this},eachBefore:function(t,e){for(var r,n,i=this,a=[i],s=-1;i=a.pop();)if(t.call(e,i,++s,this),r=i.children)for(n=r.length-1;n>=0;--n)a.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,i=n&&n.length;--i>=0;)r+=n[i].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(),i=null;for(t=r.pop(),e=n.pop();t===e;)i=t,t=r.pop(),e=n.pop();return i}(e,t),n=[e];e!==r;)n.push(e=e.parent);for(var i=n.length;t!==r;)n.splice(i,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 R(this).eachBefore(D)},[Symbol.iterator]:function*(){var t,e,r,n,i=this,a=[i];do for(t=a.reverse(),a=[];i=t.pop();)if(yield i,e=i.children)for(r=0,n=e.length;r<n;++r)a.push(e[r]);while(a.length)}};let F=function t(e){function r(t,r,n,i,a){!function(t,e,r,n,i,a){for(var s,o,l,c,u,h,d,f,p,g,y,m=[],b=e.children,x=0,k=0,w=b.length,_=e.value;x<w;){l=i-r,c=a-n;do u=b[k++].value;while(!u&&k<w);for(h=d=u,p=Math.max(d/(y=u*u*(g=Math.max(c/l,l/c)/(_*t))),y/h);k<w;++k){if(u+=o=b[k].value,o<h&&(h=o),o>d&&(d=o),(f=Math.max(d/(y=u*u*g),y/h))>p){u-=o;break}p=f}m.push(s={value:u,dice:l<c,children:b.slice(x,k)}),s.dice?function(t,e,r,n,i){for(var a,s=t.children,o=-1,l=s.length,c=t.value&&(n-e)/t.value;++o<l;)(a=s[o]).y0=r,a.y1=i,a.x0=e,a.x1=e+=a.value*c}(s,r,n,i,_?n+=c*u/_:a):function(t,e,r,n,i){for(var a,s=t.children,o=-1,l=s.length,c=t.value&&(i-r)/t.value;++o<l;)(a=s[o]).x0=e,a.x1=n,a.y0=r,a.y1=r+=a.value*c}(s,r,n,_?r+=l*u/_:i,a),_-=u,x=k}}(e,t,r,n,i,a)}return r.ratio=function(e){return t((e*=1)>1?e:1)},r}((1+Math.sqrt(5))/2);function z(){return 0}function B(t){return function(){return t}}function U(){var t=F,e=!1,r=1,n=1,i=[0],a=z,s=z,o=z,l=z,c=z;function u(t){return t.x0=t.y0=0,t.x1=r,t.y1=n,t.eachBefore(h),i=[0],e&&t.eachBefore(N),t}function h(e){var r=i[e.depth],n=e.x0+r,u=e.y0+r,h=e.x1-r,d=e.y1-r;
74h<n&&(n=h=(n+h)/2),d<u&&(u=d=(u+d)/2),e.x0=n,e.y0=u,e.x1=h,e.y1=d,e.children&&(r=i[e.depth+1]=a(e)/2,n+=c(e)-r,u+=s(e)-r,h-=o(e)-r,d-=l(e)-r,h<n&&(n=h=(n+h)/2),d<u&&(u=d=(u+d)/2),t(e,n,u,h,d))}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?(a="function"==typeof t?t:B(+t),u):a},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?(s="function"==typeof t?t:B(+t),u):s},u.paddingRight=function(t){return arguments.length?(o="function"==typeof t?t:B(+t),u):o},u.paddingBottom=function(t){return arguments.length?(l="function"==typeof t?t:B(+t),u):l},u.paddingLeft=function(t){return arguments.length?(c="function"==typeof t?t:B(+t),u):c},u}var Y=r(29604),q=r(34358);let W=Math.PI/180,H=180/Math.PI,X=4/29,G=6/29,Z=6/29*3*(6/29),V=6/29*(6/29)*(6/29);function Q(t){if(t instanceof J)return new J(t.l,t.a,t.b,t.opacity);if(t instanceof ta)return ts(t);t instanceof q.Gw||(t=(0,q.b)(t));var e,r,n=tn(t.r),i=tn(t.g),a=tn(t.b),s=tt((.2225045*n+.7168786*i+.0606169*a)/1);return n===i&&i===a?e=r=s:(e=tt((.4360747*n+.3850649*i+.1430804*a)/.96422),r=tt((.0139322*n+.0971045*i+.7141733*a)/.82521)),new J(116*s-16,500*(e-s),200*(s-r),t.opacity)}function J(t,e,r,n){this.l=+t,this.a=+e,this.b=+r,this.opacity=+n}function tt(t){return t>V?Math.pow(t,1/3):t/Z+X}function te(t){return t>G?t*t*t:Z*(t-X)}
74function tr(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function tn(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function ti(t,e,r,n){return 1==arguments.length?function(t){if(t instanceof ta)return new ta(t.h,t.c,t.l,t.opacity);if(t instanceof J||(t=Q(t)),0===t.a&&0===t.b)return new ta(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*H;return new ta(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new ta(t,e,r,null==n?1:n)}function ta(t,e,r,n){this.h=+t,this.c=+e,this.l=+r,this.opacity=+n}function ts(t){if(isNaN(t.h))return new J(t.l,0,0,t.opacity);var e=t.h*W;return new J(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}(0,Y.A)(J,function(t,e,r,n){return 1==arguments.length?Q(t):new J(t,e,r,null==n?1:n)},(0,Y.X)(q.Q1,{brighter(t){return new J(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new J(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*te(e),t=+te(t),r=.82521*te(r),new q.Gw(tr(3.1338561*e-1.6168667*t-.4906146*r),tr(-.9787684*e+1.9161415*t+.033454*r),tr(.0719453*e-.2289914*t+1.4052427*r),this.opacity)}})),(0,Y.A)(ta,ti,(0,Y.X)(q.Q1,{brighter(t){return new ta(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new ta(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return ts(this).rgb()}}));var to=r(64674);function tl(t){return function(e,r){var n=t((e=ti(e)).h,(r=ti(r)).h),i=(0,to.Ay)(e.c,r.c),a=(0,to.Ay)(e.l,r.l),s=(0,to.Ay)(e.opacity,r.opacity);return function(t){return e.h=n(t),e.c=i(t),e.l=a(t),e.opacity=s(t),e+""}}}let tc=tl(to.lG);function tu(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}tl(to.Ay);class th extends Map{constructor(t,e=tf){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,r]of t)this.set(e,r)}get(t){return super.get(td(this,t))}has(t){return super.has(td(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):(t.set(n,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let n=e(r);return t.has(n)&&(r=t.get(n),t.delete(n)),r}(this,t))}}function td({_intern:t,_key:e},r){let n=e(r);return t.has(n)?t.get(n):r}function tf(t){return null!==t&&"object"==typeof t?t.valueOf():t}let tp=Symbol("implicit");function tg(){var t=new th,e=[],r=[],n=tp;function i(i){let a=t.get(i);if(void 0===a){if(n!==tp)return n;t.set(i,a=e.push(i)-1)}return r[a%r.length]}return i.domain=function(r){if(!arguments.length)return e.slice();for(let n of(e=[],t=new th,r))t.has(n)||t.set(n,e.push(n)-1);return i},i.range=function(t){return arguments.length?(r=Array.from(t),i):r.slice()},i.unknown=function(t){return arguments.length?(n=t,i):n},i.copy=function(){return tg(e,r).unknown(n)},tu.apply(i,arguments),i}let ty=Math.sqrt(50),tm=Math.sqrt(10),tb=Math.sqrt(2);function tx(t,e,r){let n,i,a,s=(e-t)/Math.max(0,r),o=Math.floor(Math.log10(s)),l=s/Math.pow(10,o),c=l>=ty?10:l>=tm?5:l>=tb?2:1;return(o<0?(n=Math.round(t*(a=Math.pow(10,-o)/c)),i=Math.round(e*a),n/a<t&&++n,i/a>e&&--i,a=-a):(n=Math.round(t/(a=Math.pow(10,o)*c)),i=Math.round(e/a),n*a<t&&++n,i*a>e&&--i),i<n&&.5<=r&&r<2)?tx(t,e,2*r):[n,i,a]}function tk(t,e,r){return tx(t*=1,e*=1,r*=1)[2]}function tw(t,e,r){e*=1,t*=1,r*=1;let n=e<t,i=n?tk(e,t,r):tk(t,e,r);return(n?-1:1)*(i<0?-(1/i):i)}function t_(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function tv(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function tA(t){let e,r,n;function i(t,n,a=0,s=t.length){if(a<s){if(0!==e(n,n))return s;do{let e=a+s>>>1;0>r(t[e],n)?a=e+1:s=e}while(a<s)}return a}return 2!==t.length?(e=t_,r=(e,r)=>t_(t(e),r),n=(e,r)=>t(e)-r):(e=t===t_||t===tv?t:tM,r=t,n=t),{left:i,center:function(t,e,r=0,a=t.length){let s=i(t,e,r,a-1);return s>r&&n(t[s-1],e)>-n(t[s],e)?s-1:s},right:function(t,n,i=0,a=t.length){if(i<a){if(0!==e(n,n))return a;do{let e=i+a>>>1;0>=r(t[e],n)?i=e+1:a=e}while(i<a)}return i}}}function tM(){return 0}let tS=tA(t_),tT=tS.right;tS.left,tA(function(t){return null===t?NaN:+t}).center;var t$=r(80075),tK=r(74282);function tL(t,e){return t*=1,e*=1,function(r){return Math.round(t*(1-r)+e*r)}}function tC(t){return+t}var tO=[0,1];function tR(t){return t}function tj(t,e){var r;return(e-=t*=1)?function(r){return(r-t)/e}:(r=isNaN(e)?NaN:.5,function(){return r})}function tE(t,e,r){var n=t[0],i=t[1],a=e[0],s=e[1];return i<n?(n=tj(i,n),a=r(s,a)):(n=tj(n,i),a=r(a,s)),function(t){return a(n(t))}}function tD(t,e,r){var n=Math.min(t.length,e.length)-1,i=Array(n),a=Array(n),s=-1;for(t[n]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++s<n;)i[s]=tj(t[s],t[s+1]),a[s]=r(e[s],e[s+1]);return function(e){var r=tT(t,e,1,n)-1;return a[r](i[r](e))}}function tP(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function tI(){return(function(){var t,e,r,n,i,a,s=tO,o=tO,l=t$.A,c=tR;function u(){var t,e,r,l=Math.min(s.length,o.length);return c!==tR&&(t=s[0],e=s[l-1],t>e&&(r=t,t=e,e=r),c=function(r){return Math.max(t,Math.min(e,r))}),n=l>2?tD:tE,i=a=null,h}function h(e){return null==e||isNaN(e*=1)?r:(i||(i=n(s.map(t),o,l)))(t(c(e)))}return h.invert=function(r){return c(e((a||(a=n(o,s.map(t),tK.A)))(r)))},h.domain=function(t){return arguments.length?(s=Array.from(t,tC),u()):s.slice()},h.range=function(t){return arguments.length?(o=Array.from(t),u()):o.slice()},h.rangeRound=function(t){return o=Array.from(t),l=tL,u()},h.clamp=function(t){return arguments.length?(c=!!t||tR,u()):c!==tR},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(r=t,h):r},function(r,n){return t=r,e=n,u()}})()(tR,tR)}let tN=new Date,tF=new Date;function tz(t,e,r,n){function i(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return i.floor=e=>(t(e=new Date(+e)),e),i.ceil=r=>
74(t(r=new Date(r-1)),e(r,1),t(r),r),i.round=t=>{let e=i(t),r=i.ceil(t);return t-e<r-t?e:r},i.offset=(t,r)=>(e(t=new Date(+t),null==r?1:Math.floor(r)),t),i.range=(r,n,a)=>{let s,o=[];if(r=i.ceil(r),a=null==a?1:Math.floor(a),!(r<n)||!(a>0))return o;do o.push(s=new Date(+r)),e(r,a),t(r);while(s<r&&r<n);return o},i.filter=r=>tz(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,n)=>{if(t>=t)if(n<0)for(;++n<=0;)for(;e(t,-1),!r(t););else for(;--n>=0;)for(;e(t,1),!r(t););}),r&&(i.count=(e,n)=>(tN.setTime(+e),tF.setTime(+n),t(tN),t(tF),Math.floor(r(tN,tF))),i.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?i.filter(n?e=>n(e)%t==0:e=>i.count(0,e)%t==0):i:null),i}let tB=tz(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);tB.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?tz(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):tB:null,tB.range;let tU=tz(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());tU.range;let tY=tz(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());tY.range;let tq=tz(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());tq.range;let tW=tz(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());tW.range;let tH=tz(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());tH.range;let tX=tz(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);tX.range;let tG=tz(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);tG.range;let tZ=tz(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function tV(t){return tz(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}tZ.range;let tQ=tV(0),tJ=tV(1),t0=tV(2),t1=tV(3),t2=tV(4),t3=tV(5),t5=tV(6);function t6(t){return tz(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}tQ.range,tJ.range,t0.range,t1.range,t2.range,t3.range,t5.range;let t4=t6(0),t8=t6(1),t9=t6(2),t7=t6(3),et=t6(4),ee=t6(5),er=t6(6);t4.range,t8.range,t9.range,t7.range,et.range,ee.range,er.range;let en=tz(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());en.range;let ei=tz(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());ei.range;let ea=tz(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());ea.every=t=>isFinite(t=Math.floor(t))&&t>0?tz(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,ea.range;let es=tz(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function eo(t,e,r,n,i,a){let s=[[tU,1,1e3],[tU,5,5e3],[tU,15,15e3],[tU,30,3e4],[a,1,6e4],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,864e5],[n,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function o(e,r,n){let i=Math.abs(r-e)/n,a=tA(([,,t])=>t).right(s,i);if(a===s.length)return t.every(tw(e/31536e6,r/31536e6,n));if(0===a)return tB.every(Math.max(tw(e,r,n),1));let[o,l]=s[i/s[a-1][2]<s[a][2]/i?a-1:a];return o.every(l)}return[function(t,e,r){let n=e<t;n&&([t,e]=[e,t]);let i=r&&"function"==typeof r.range?r:o(t,e,r),a=i?i.range(t,+e+1):[];return n?a.reverse():a},o]}es.every=t=>isFinite(t=Math.floor(t))&&t>0?tz(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,es.range;let[el,ec]=eo(es,ei,t4,tZ,tH,tq),[eu,eh]=eo(ea,en,tQ,tX,tW,tY);function ed(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ef(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function ep(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var eg={"-":"",_:" ",0:"0"},ey=/^\s*\d+/,em=/^%/,eb=/[\\^$*+?|[\]().{}]/g;function ex(t,e,r){var n=t<0?"-":"",i=(n?-t:t)+"",a=i.length;return n+(a<r?Array(r-a+1).join(e)+i:i)}function ek(t){return t.replace(eb,"\\$&")}function ew(t){return RegExp("^(?:"+t.map(ek).join("|")+")","i")}function e_(t){return new Map(t.map((t,e)=>[t.toLowerCase(),e]))}function ev(t,e,r){var n=ey.exec(e.slice(r,r+1));return n?(t.w=+n[0],r+n[0].length):-1}function eA(t,e,r){var n=ey.exec(e.slice(r,r+1));return n?(t.u=+n[0],r+n[0].length):-1}function eM(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.U=+n[0],r+n[0].length):-1}function eS(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.V=+n[0],r+n[0].length):-1}function eT(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.W=+n[0],r+n[0].length):-1}function e$(t,e,r){var n=ey.exec(e.slice(r,r+4));return n?(t.y=+n[0],r+n[0].length):-1}function eK(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function eL(t,e,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return n?(t.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function eC(t,e,r){var n=ey.exec(e.slice(r,r+1));return n?(t.q=3*n[0]-3,r+n[0].length):-1}function eO(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.m=n[0]-1,r+n[0].length):-1}function eR(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.d=+n[0],r+n[0].length):-1}function ej(t,e,r){var n=ey.exec(e.slice(r,r+3));return n?(t.m=0,t.d=+n[0],r+n[0].length):-1}function eE(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.H=+n[0],r+n[0].length):-1}function eD(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.M=+n[0],r+n[0].length):-1}function eP(t,e,r){var n=ey.exec(e.slice(r,r+2));return n?(t.S=+n[0],r+n[0].length):-1}function eI(t,e,r){var n=ey.exec(e.slice(r,r+3));return n?(t.L=+n[0],r+n[0].length):-1}function eN(t,e,r){var n=ey.exec(e.slice(r,r+6));return n?(t.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function eF(t,e,r){var n=em.exec(e.slice(r,r+1));return n?r+n[0].length:-1}function ez(t,e,r){var n=ey.exec(e.slice(r));return n?(t.Q=+n[0],r+n[0].length):-1}function eB(t,e,r){var n=ey.exec(e.slice(r));return n?(t.s=+n[0],r+n[0].length):-1}function eU(t,e){return ex(t.getDate(),e,2)}function eY(t,e){return ex(t.getHours(),e,2)}function eq(t,e){return ex(t.getHours()%12||12,e,2)}function eW(t,e){return ex(1+tX.count(ea(t),t),e,3)}function eH(t,e){return ex(t.getMilliseconds(),e,3)}function eX(t,e){return eH(t,e)+"000"}function eG(t,e){return ex(t.getMonth()+1,e,2)}function eZ(t,e){return ex(t.getMinutes(),e,2)}function eV(t,e){return ex(t.getSeconds(),e,2)}function eQ(t){var e=t.getDay();return 0===e?7:e}function eJ(t,e){return ex(tQ.count(ea(t)-1,t),e,2)}function e0(t){var e=t.getDay();return e>=4||0===e?t2(t):t2.ceil(t)}function e1(t,e){return t=e0(t),ex(t2.count(ea(t),t)+(4===ea(t).getDay()),e,2)}function e2(t){return t.getDay()}function e3(t,e){return ex(tJ.count(ea(t)-1,t),e,2)}function e5(t,e){return ex(t.getFullYear()%100,e,2)}function e6(t,e){return ex((t=e0(t)).getFullYear()%100,e,2)}function e4(t,e){return ex(t.getFullYear()%1e4,e,4)}function e8(t,e){var r=t.getDay();return ex((t=r>=4||0===r?t2(t):t2.ceil(t)).getFullYear()%1e4,e,4)}function e9(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ex(e/60|0,"0",2)+ex(e%60,"0",2)}function e7(t,e){return ex(t.getUTCDate(),e,2)}function rt(t,e){return ex(t.getUTCHours(),e,2)}function re(t,e){return ex(t.getUTCHours()%12||12,e,2)}function rr(t,e){return ex(1+tG.count(es(t),t),e,3)}function rn(t,e){return ex(t.getUTCMilliseconds(),e,3)}function ri(t,e){return rn(t,e)+"000"}function ra(t,e){return ex(t.getUTCMonth()+1,e,2)}function rs(t,e){return ex(t.getUTCMinutes(),e,2)}function ro(t,e){return ex(t.getUTCSeconds(),e,2)}function rl(t){var e=t.getUTCDay();return 0===e?7:e}function rc(t,e){return ex(t4.count(es(t)-1,t),e,2)}function ru(t){var e=t.getUTCDay();return e>=4||0===e?et(t):et.ceil(t)}function rh(t,e){return t=ru(t),ex(et.count(es(t),t)+(4===es(t).getUTCDay()),e,2)}function rd(t){return t.getUTCDay()}function rf(t,e){return ex(t8.count(es(t)-1,t),e,2)}function rp(t,e){return ex(t.getUTCFullYear()%100,e,2)}function rg(t,e){return ex((t=ru(t)).getUTCFullYear()%100,e,2)}function ry(t,e){return ex(t.getUTCFullYear()%1e4,e,4)}function rm(t,e){var r=t.getUTCDay();return ex((t=r>=4||0===r?et(t):et.ceil(t)).getUTCFullYear()%1e4,e,4)}function rb(){return"+0000"}function rx(){return"%"}function rk(t){return+t}function rw(t){return Math.floor(t/1e3)}function r_(t){return new Date(t)}function rv(t){return t instanceof Date?+t:+new Date(+t)}function rA(){return tu.apply((function t(e,r,n,i,a,s,o,l,c,u){var h=tI(),d=h.invert,f=h.domain,p=u(".%L"),g=u(":%S"),y=u("%I:%M"),m=u("%I %p"),b=u("%a %d"),x=u("%b %d"),k=u("%B"),w=u("%Y");function _(t){return(c(t)<t?p:l(t)<t?g:o(t)<t?y:s(t)<t?m:i(t)<t?a(t)<t?b:x:n(t)<t?k:w)(t)}return h.invert=function(t){return new Date(d(t))},h.domain=function(t){return arguments.length?f(Array.from(t,rv)):f().map(r_)},h.ticks=function(t){var r=f();return e(r[0],r[r.length-1],null==t?10:t)},h.tickFormat=function(t,e){return null==e?_:u(e)},h.nice=function(t){var e,n,i,a,s,o,l,c=f();return t&&"function"==typeof t.range||(t=r(c[0],c[c.length-1],null==t?10:t)),t?f((e=c,n=t,e=e.slice(),a=0,s=e.length-1,o=e[a],(l=e[s])<o&&(i=a,a=s,s=i,i=o,o=l,l=i),e[a]=n.floor(o),e[s]=n.ceil(l),e)):h},h.copy=function(){return tP(h,t(e,r,n,i,a,s,o,l,c,u))},h})(eu,eh,ea,en,tQ,tX,tW,tY,tU,v).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}v=(_=function(t){var e=t.dateTime,r=t.date,n=t.time,i=t.periods,a=t.days,s=t.shortDays,o=t.months,l=t.shortMonths,c=ew(i),u=e_(i),h=ew(a),d=e_(a),f=ew(s),p=e_(s),g=ew(o),y=e_(o),m=ew(l),b=e_(l),x={a:function(t){return s[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return o[t.getMonth()]},c:null,d:eU,e:eU,f:eX,g:e6,G:e8,H:eY,I:eq,j:eW,L:eH,m:eG,M:eZ,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:rk,s:rw,S:eV,u:eQ,U:eJ,V:e1,w:e2,W:e3,x:null,X:null,y:e5,Y:e4,Z:e9,"%":rx},k={a:function(t){return s[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return o[t.getUTCMonth()]},c:null,d:e7,e:e7,f:ri,g:rg,G:rm,H:rt,I:re,j:rr,L:rn,m:ra,M:rs,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:rk,s:rw,S:ro,u:rl,U:rc,V:rh,w:rd,W:rf,x:null,X:null,y:rp,Y:ry,Z:rb,"%":rx},w={a:function(t,e,r){var n=f.exec(e.slice(r));return n?(t.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(t,e,r){var n=h.exec(e.slice(r));return n?(t.w=d.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(t,e,r){var n=m.exec(e.slice(r));return n?(t.m=b.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(t,e,r){var n=g.exec(e.slice(r));return n?(t.m=y.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(t,r,n){return A(t,e,r,n)},d:eR,e:eR,f:eN,g:eK,G:e$,H:eE,I:eE,j:ej,L:eI,m:eO,M:eD,p:function(t,e,r){var n=c.exec(e.slice(r));return n?(t.p=u.get(n[0].toLowerCase()),r+n[0].length):-1},q:eC,Q:ez,s:eB,S:eP,u:eA,U:eM,V:eS,w:ev,W:eT,x:function(t,e,n){return A(t,r,e,n)},X:function(t,e,r){return A(t,n,e,r)},y:eK,Y:e$,Z:eL,"%":eF};function _(t,e){return function(r){var n,i,a,s=[],o=-1,l=0,c=t.length;for(r instanceof Date||(r=new Date(+r));++o<c;)37===t.charCodeAt(o)&&(s.push(t.slice(l,o)),null!=(i=eg[n=t.charAt(++o)])?n=t.charAt(++o):i="e"===n?" ":"0",(a=e[n])&&(n=a(r,i)),s.push(n),l=o+1);return s.push(t.slice(l,o)),s.join("")}}function v(t,e){return function(r){var n,i,a=ep(1900,void 0,1);if(A(a,t,r+="",0)!=r.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(!e||"Z"in a||(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(n=(i=(n=ef(ep(a.y,0,1))).getUTCDay())>4||0===i?t8.ceil(n):t8(n),n=tG.offset(n,(a.V-1)*7),a.y=n.getUTCFullYear(),a.m=n.getUTCMonth(),a.d=n.getUTCDate()+(a.w+6)%7):(n=(i=(n=ed(ep(a.y,0,1))).getDay())>4||0===i?tJ.ceil(n):tJ(n),n=tX.offset(n,(a.V-1)*7),a.y=n.getFullYear(),a.m=n.getMonth(),a.d=n.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:+("W"in a)),i="Z"in a?ef(ep(a.y,0,1)).getUTCDay():ed(ep(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,ef(a)):ed(a)}}function A(t,e,r,n){for(var i,a,s=0,o=e.length,l=r.length;s<o;){if(n>=l)return -1;if(37===(i=e.charCodeAt(s++))){if(!(a=w[(i=e.charAt(s++))in eg?e.charAt(s++):i])||(n=a(t,r,n))<0)return -1}else if(i!=r.charCodeAt(n++))return -1}return n}return x.x=_(r,x),x.X=_(n,x),x.c=_(e,x),k.x=_(r,k),k.X=_(n,k),k.c=_(e,k),{format:function(t){var e=_(t+="",x);return e.toString=function(){return t},e},parse:function(t){var e=v(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=_(t+="",k);return e.toString=function(){return t},e},utcParse:function(t){var e=v(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
74ay","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,_.parse,_.utcFormat,_.utcParse;let rM=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");var rS=r(80908);function rT(t){return function(){return t}}let r$=Math.abs,rK=Math.atan2,rL=Math.cos,rC=Math.max,rO=Math.min,rR=Math.sin,rj=Math.sqrt,rE=Math.PI,rD=rE/2,rP=2*rE;function rI(t){return t>=1?rD:t<=-1?-rD:Math.asin(t)}let rN=Math.PI,rF=2*rN,rz=rF-1e-6;function rB(t){this._+=t[0];for(let e=1,r=t.length;e<r;++e)this._+=arguments[e]+t[e]}class rU{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?rB:function(t){let e=Math.floor(t);if(!(e>=0))throw Error(`invalid digits: ${t}`);if(e>15)return rB;let r=10**e;return function(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=Math.round(arguments[e]*r)/r+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,r,n){this._append`Q${+t},${+e},${this._x1=+r},${this._y1=+n}`}bezierCurveTo(t,e,r,n,i,a){this._append`C${+t},${+e},${+r},${+n},${this._x1=+i},${this._y1=+a}`}arcTo(t,e,r,n,i){if(t*=1,e*=1,r*=1,n*=1,(i*=1)<0)throw Error(`negative radius: ${i}`);let a=this._x1,s=this._y1,o=r-t,l=n-e,c=a-t,u=s-e,h=c*c+u*u;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(h>1e-6)if(Math.abs(u*o-l*c)>1e-6&&i){let d=r-a,f=n-s,p=o*o+l*l,g=Math.sqrt(p),y=Math.sqrt(h),m=i*Math.tan((rN-Math.acos((p+h-(d*d+f*f))/(2*g*y)))/2),b=m/y,x=m/g;Math.abs(b-1)>1e-6&&this._append`L${t+b*c},${e+b*u}`,this._append`A${i},${i},0,0,${+(u*d>c*f)},${this._x1=t+x*o},${this._y1=e+x*l}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,r,n,i,a){if(t*=1,e*=1,r*=1,a=!!a,r<0)throw Error(`negative radius: ${r}`);let s=r*Math.cos(n),o=r*Math.sin(n),l=t+s,c=e+o,u=1^a,h=a?n-i:i-n;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${l},${c}`,r&&(h<0&&(h=h%rF+rF),h>rz?this._append`A${r},${r},0,1,${u},${t-s},${e-o}A${r},${r},0,1,${u},${this._x1=l},${this._y1=c}`:h>1e-6&&this._append`A${r},${r},0,${+(h>=rN)},${u},${this._x1=t+r*Math.cos(i)},${this._y1=e+r*Math.sin(i)}`)}rect(t,e,r,n){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r*=1}v${+n}h${-r}Z`}toString(){return this._}}function rY(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new rU(e)}function rq(t){return t.innerRadius}function rW(t){return t.outerRadius}function rH(t){return t.startAngle}function rX(t){return t.endAngle}function rG(t){return t&&t.padAngle}function rZ(t,e,r,n,i,a,s){var o=t-r,l=e-n,c=(s?a:-a)/rj(o*o+l*l),u=c*l,h=-c*o,d=t+u,f=e+h,p=r+u,g=n+h,y=(d+p)/2,m=(f+g)/2,b=p-d,x=g-f,k=b*b+x*x,w=i-a,_=d*g-p*f,v=(x<0?-1:1)*rj(rC(0,w*w*k-_*_)),A=(_*x-b*v)/k,M=(-_*b-x*v)/k,S=(_*x+b*v)/k,T=(-_*b+x*v)/k,$=A-y,K=M-m,L=S-y,C=T-m;return $*$+K*K>L*L+C*C&&(A=S,M=T),{cx:A,cy:M,x01:-u,y01:-h,x11:A*(i/w-1),y11:M*(i/w-1)}}function rV(){var t=rq,e=rW,r=rT(0),n=null,i=rH,a=rX,s=rG,o=null,l=rY(c);function c(){var c,u,h=+t.apply(this,arguments),d=+e.apply(this,arguments),f=i.apply(this,arguments)-rD,p=a.apply(this,arguments)-rD,g=r$(p-f),y=p>f;if(o||(o=c=l()),d<h&&(u=d,d=h,h=u),d>1e-12)if(g>rP-1e-12)o.moveTo(d*rL(f),d*rR(f)),o.arc(0,0,d,f,p,!y),h>
vendor: 7,694 bytes, line 74
741e-12&&(o.moveTo(h*rL(p),h*rR(p)),o.arc(0,0,h,p,f,y));else{var m,b,x=f,k=p,w=f,_=p,v=g,A=g,M=s.apply(this,arguments)/2,S=M>1e-12&&(n?+n.apply(this,arguments):rj(h*h+d*d)),T=rO(r$(d-h)/2,+r.apply(this,arguments)),$=T,K=T;if(S>1e-12){var L=rI(S/h*rR(M)),C=rI(S/d*rR(M));(v-=2*L)>1e-12?(L*=y?1:-1,w+=L,_-=L):(v=0,w=_=(f+p)/2),(A-=2*C)>1e-12?(C*=y?1:-1,x+=C,k-=C):(A=0,x=k=(f+p)/2)}var O=d*rL(x),R=d*rR(x),j=h*rL(_),E=h*rR(_);if(T>1e-12){var D,P=d*rL(k),I=d*rR(k),N=h*rL(w),F=h*rR(w);if(g<rE)if(D=function(t,e,r,n,i,a,s,o){var l=r-t,c=n-e,u=s-i,h=o-a,d=h*l-u*c;if(!(d*d<1e-12))return d=(u*(e-a)-h*(t-i))/d,[t+d*l,e+d*c]}(O,R,N,F,P,I,j,E)){var z,B=O-D[0],U=R-D[1],Y=P-D[0],q=I-D[1],W=1/rR(((z=(B*Y+U*q)/(rj(B*B+U*U)*rj(Y*Y+q*q)))>1?0:z<-1?rE:Math.acos(z))/2),H=rj(D[0]*D[0]+D[1]*D[1]);$=rO(T,(h-H)/(W-1)),K=rO(T,(d-H)/(W+1))}else $=K=0}A>1e-12?K>1e-12?(m=rZ(N,F,O,R,d,K,y),b=rZ(P,I,j,E,d,K,y),o.moveTo(m.cx+m.x01,m.cy+m.y01),K<T?o.arc(m.cx,m.cy,K,rK(m.y01,m.x01),rK(b.y01,b.x01),!y):(o.arc(m.cx,m.cy,K,rK(m.y01,m.x01),rK(m.y11,m.x11),!y),o.arc(0,0,d,rK(m.cy+m.y11,m.cx+m.x11),rK(b.cy+b.y11,b.cx+b.x11),!y),o.arc(b.cx,b.cy,K,rK(b.y11,b.x11),rK(b.y01,b.x01),!y))):(o.moveTo(O,R),o.arc(0,0,d,x,k,!y)):o.moveTo(O,R),h>1e-12&&v>1e-12?$>1e-12?(m=rZ(j,E,P,I,h,-$,y),b=rZ(O,R,N,F,h,-$,y),o.lineTo(m.cx+m.x01,m.cy+m.y01),$<T?o.arc(m.cx,m.cy,$,rK(m.y01,m.x01),rK(b.y01,b.x01),!y):(o.arc(m.cx,m.cy,$,rK(m.y01,m.x01),rK(m.y11,m.x11),!y),o.arc(0,0,h,rK(m.cy+m.y11,m.cx+m.x11),rK(b.cy+b.y11,b.cx+b.x11),y),o.arc(b.cx,b.cy,$,rK(b.y11,b.x11),rK(b.y01,b.x01),!y))):o.arc(0,0,h,_,w,y):o.lineTo(j,E)}else o.moveTo(0,0);if(o.closePath(),c)return o=null,c+""||null}return c.centroid=function(){var r=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,n=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-rE/2;return[rL(n)*r,rR(n)*r]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:rT(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:rT(+t),c):e},c.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:rT(+t),c):r},c.padRadius=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:rT(+t),c):n},c.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:rT(+t),c):i},c.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:rT(+t),c):a},c.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:rT(+t),c):s},c.context=function(t){return arguments.length?(o=null==t?null:t,c):o},c}function rQ(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function rJ(t){this._context=t}function r0(t){return new rJ(t)}function r1(t){return t[0]}function r2(t){return t[1]}function r3(t,e){var r=rT(!0),n=null,i=r0,a=null,s=rY(o);function o(o){var l,c,u,h=(o=rQ(o)).length,d=!1;for(null==n&&(a=i(u=s())),l=0;l<=h;++l)!(l<h&&r(c=o[l],l,o))===d&&((d=!d)?a.lineStart():a.lineEnd()),d&&a.point(+t(c,l,o),+e(c,l,o));if(u)return a=null,u+""||null}return t="function"==typeof t?t:void 0===t?r1:rT(t),e="function"==typeof e?e:void 0===e?r2:rT(e),o.x=function(e){return arguments.length?(t="function"==typeof e?e:rT(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:rT(+t),o):e},o.defined=function(t){return arguments.length?(r="function"==typeof t?t:rT(!!t),o):r},o.curve=function(t){return arguments.length?(i=t,null!=n&&(a=i(n)),o):i},o.context=function(t){return arguments.length?(null==t?n=a=null:a=i(n=t),o):n},o}function r5(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function r6(t){return t}function r4(){var t=r6,e=r5,r=null,n=rT(0),i=rT(rP),a=rT(0);function s(s){var o,l,c,u,h,d=(s=rQ(s)).length,f=0,p=Array(d),g=Array(d),y=+n.apply(this,arguments),m=Math.min(rP,Math.max(-rP,i.apply(this,arguments)-y)),b=Math.min(Math.abs(m)/d,a.apply(this,arguments)),x=b*(m<0?-1:1);for(o=0;o<d;++o)(h=g[p[o]=o]=+t(s[o],o,s))>0&&(f+=h);for(null!=e?p.sort(function(t,r){return e(g[t],g[r])}):null!=r&&p.sort(function(t,e){return r(s[t],s[e])}),o=0,c=f?(m-d*x)/f:0;o<d;++o,y=u)u=y+((h=g[l=p[o]])>0?h*c:0)+x,g[l]={data:s[l],index:o,value:h,startAngle:y,endAngle:u,padAngle:b};return g}return s.value=function(e){return arguments.length?(t="function"==typeof e?e:rT(+e),s):t},s.sortValues=function(t){return arguments.length?(e=t,r=null,s):e},s.sort=function(t){return arguments.length?(r=t,e=null,s):r},s.startAngle=function(t){return arguments.length?(n="function"==typeof t?t:rT(+t),s):n},s.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:rT(+t),s):i},s.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:rT(+t),s):a},s}function r8(){}function r9(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function r7(t){this._context=t}function nt(t){return new r7(t)}function ne(t){this._context=t}function nr(t){return new ne(t)}function nn(t){this._context=t}function ni(t){return new nn(t)}rU.prototype,Array.prototype.slice,rJ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(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;default:this._context.lineTo(t,e)}}},r7.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:r9(this,this._x1,this._y1);case 2:this._context.lineTo(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;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:r9(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ne.prototype={areaStart:r8,areaEnd:r8,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t*=1,e*=1,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:r9(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},nn.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=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;var r=(this._x0+4*this._x1+t)/6,n=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:r9(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};
74class na{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(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;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function ns(t){return new na(t,!0)}function no(t){return new na(t,!1)}function nl(t,e){this._basis=new r7(t),this._beta=e}nl.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,i=t[0],a=e[0],s=t[r]-i,o=e[r]-a,l=-1;++l<=r;)n=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(i+n*s),this._beta*e[l]+(1-this._beta)*(a+n*o));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let nc=function t(e){function r(t){return 1===e?new r7(t):new nl(t,e)}return r.beta=function(e){return t(+e)},r}(.85);function nu(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 nh(t,e){this._context=t,this._k=(1-e)/6}nh.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:nu(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:nu(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 nd=function t(e){function r(t){return new nh(t,e)}return r.tension=function(e){return t(+e)},r}(0);function nf(t,e){this._context=t,this._k=(1-e)/6}nf.prototype={areaStart:r8,areaEnd:r8,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:nu(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 np=function t(e){function r(t){return new nf(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ng(t,e){this._context=t,this._k=(1-e)/6}ng.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:nu(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 ny=function t(e){function r(t){return new ng(t,e)}return r.tension=function(e){return t(+e)},r}(0);function nm(t,e,r){var n=t._x1,i=t._y1,a=t._x2,s=t._y2;if(t._l01_a>1e-12){var o=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*o-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*o-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){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);a=(a*c+t._x1*t._l23_2a-e*t._l12_2a)/u,s=(s*c+t._y1*t._l23_2a-r*t._l12_2a)/u}t._context.bezierCurveTo(n,i,a,s,t._x2,t._y2)}function nb(t,e){this._context=t,this._alpha=e}nb.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:nm(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 nx=function t(e){function r(t){return e?new nb(t,e):new nh(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function nk(t,e){this._context=t,this._alpha=e}nk.prototype={areaStart:r8,areaEnd:r8,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:nm(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 nw=function t(e){function r(t){return e?new nk(t,e):new nf(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function n_(t,e){this._context=t,this._alpha=e}n_.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:nm(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 nv=function t(e){function r(t){return e?new n_(t,e):new ng(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function nA(t){this._context=t}function nM(t){return new nA(t)}function nS(t,e,r){var n=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(n||i<0&&-0),s=(r-t._y1)/(i||n<0&&-0);return((a<0?-1:1)+(s<0?-1:1))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs((a*i+s*n)/(n+i)))||0}function nT(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function n$(t,e,r){var n=t._x0,i=t._y0,a=t._x1,s=t._y1,o=(a-n)/3;t._context.bezierCurveTo(n+o,i+o*e,a-o,s-o*r,a,s)}function nK(t){this._context=t}function nL(t){this._context=new nC(t)}function nC(t){this._context=t}function nO(t){return new nK(t)}function nR(t){return new nL(t)}function nj(t){this._context=t}function nE(t){var e,r,n=t.length-1,i=Array(n),a=Array(n),s=Array(n);for(i[0]=0,a[0]=2,s[0]=t[0]+2*t[1],e=1;e<n-1;++e)i[e]=1,a[e]=4,s[e]=4*t[e]+2*t[e+1];for(i[n-1]=2,a[n-1]=7,s[n-1]=8*t[n-1]+t[n],e=1;e<n;++e)r=i[e]/a[e-1],a[e]-=r,s[e]-=r*s[e-1];for(i[n-1]=s[n-1]/a[n-1],e=n-2;e>=0;--e)i[e]=(s[e]-i[e+1])/a[e];for(a[n-1]=(t[n]+i[n-1])/2,e=0;e<n-1;++e)a[e]=2*t[e+1]-i[e+1];return[i,a]}function nD(t){return new nj(t)}function nP(t,e){this._context=t,this._t=e}function nI(t){return new nP(t,.5)}function nN(t){return new nP(t,0)}function nF(t){return new nP(t,1)}nA.prototype={areaStart:r8,areaEnd:r8,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t*=1,e*=1,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},nK.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:n$(this,this._t0,nT(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var r=NaN;if(e*=1,(t*=1)!==this._x1||e!==this._y1){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,n$(this,nT(this,r=nS(this,t,e)),r);break;default:n$(this,this._t0,r=nS(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=r}}},(nL.prototype=Object.create(nK.prototype)).point=function(t,e){nK.prototype.point.call(this,e,t)},nC.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,r,n,i,a){this._context.bezierCurveTo(e,t,n,r,a,i)}},nj.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,r=t.length;if(r)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===r)this._context.lineTo(t[1],e[1]);else for(var n=nE(t),i=nE(e),a=0,s=1;s<r;++a,++s)this._context.bezierCurveTo(n[0][a],i[0][a],n[1][a],i[1][a],t[s],e[s]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},nP.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,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;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},r(28028)},81229:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t){return null!=t&&"object"==typeof t}},81741:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(48925),i=r(28909);let a=function(t){return null!=t&&(0,i.A)(t.length)&&!(0,n.A)(t)}},81771:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}},83041:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(4762),i=r(90673),a=r(24562),s=r(6158),o=r(28909),l=r(43106);let c=function(t,e,r){e=(0,n.A)(e,t);for(var c=-1,u=e.length,h=!1;++c<u;){var d=(0,l.A)(e[c]);if(!(h=null!=t&&r(t,d)))break;t=t[d]}return h||++c!=u?h:!!(u=null==t?0:t.length)&&(0,o.A)(u)&&(0,s.A)(d,u)&&((0,a.A)(t)||(0,i.A)(t))}},84470:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=r(27122).A.Symbol},84581:(t,e,r)=>{"use strict";function n(t){return null==t||"object"!=typeof t&&"function"!=typeof t}r.d(e,{s:()=>n})},87369:(t,e,r)=>{"use strict";r.d(e,{Y:()=>i,Z:()=>a});var n=r(22724);let i={};for(let t=0;t<=255;t++)i[t]=n.A.unit.dec2hex(t);let a={ALL:0,RGB:1,HSL:2}},89614:(t,e,r)=>{"use strict";r.d(e,{Fr:()=>h,GX:()=>u,KX:()=>c,WW:()=>o,ue:()=>a});var n=r(60276),i=r(46672),a=(0,i.K)(t=>{let{handDrawnSeed:e}=(0,n.D7)();return{fill:t,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:t,seed:e}},"solidStateFill"),s=(0,i.K)(t=>Array.isArray(t)?t:t?t.split(";").map(t=>
74t.trim()).filter(Boolean):[],"normalizeStyleList"),o=(0,i.K)(t=>{let e=l([...t.cssCompiledStyles||[],...t.cssStyles||[],...s(t.labelStyle)]);return{stylesMap:e,stylesArray:[...e]}},"compileStyles"),l=(0,i.K)(t=>{let e=new Map;return t.forEach(t=>{let[r,n]=t.split(":");e.set(r.trim(),n?.trim())}),e},"styles2Map"),c=(0,i.K)(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"),u=(0,i.K)(t=>{let{stylesArray:e}=o(t),r=[],n=[],i=[],a=[];return e.forEach(t=>{let e=t[0];c(e)?r.push(t.join(":")+" !important"):(n.push(t.join(":")+" !important"),e.includes("stroke")&&i.push(t.join(":")+" !important"),"fill"===e&&a.push(t.join(":")+" !important"))}),{labelStyles:r.join(";"),nodeStyles:n.join(";"),stylesArray:e,borderStyles:i,backgroundStyles:a}},"styles2String"),h=(0,i.K)((t,e)=>{let{themeVariables:r,handDrawnSeed:i}=(0,n.D7)(),{nodeBorder:a,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")||a,seed:i,strokeWidth:l.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:d(l.get("stroke-dasharray"))},e)},"userNodeOverrides"),d=(0,i.K)(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")},90673:(t,e,r)=>{"use strict";r.d(e,{A:()=>c});var n=r(32229),i=r(81229);let a=function(t){return(0,i.A)(t)&&"[object Arguments]"==(0,n.A)(t)};var s=Object.prototype,o=s.hasOwnProperty,l=s.propertyIsEnumerable;let c=a(function(){return arguments}())?a:function(t){return(0,i.A)(t)&&o.call(t,"callee")&&!l.call(t,"callee")}},91836:(t,e,r)=>{"use strict";r.d(e,{A:()=>s});var n,i=r(78642),a=r(81741);let s=(n=i.A,function(t,e){if(null==t)return t;if(!(0,a.A)(t))return n(t,e);for(var r=t.length,i=-1,s=Object(t);++i<r&&!1!==e(s[i],i,s););return t})},93215:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n="object"==typeof global&&global&&global.Object===Object&&global},93560:(t,e,r)=>{"use strict";r.d(e,{A:()=>n});let n=function(t,e){return function(r){return t(e(r))}}},96835:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});let n=function(t,e){return null!=t&&e in Object(t)};var i=r(83041);let a=function(t,e){return null!=t&&(0,i.A)(t,e,n)}},97410:(t,e,r)=>{"use strict";r.d(e,{T:()=>n.T});var n=r(46477)},98788:(t,e,r)=>{"use strict";r.d(e,{A:()=>a});var n=r(26047),i=r(67801);let a=function(t){var e;return null==t?[]:(e=(0,i.A)(t),(0,n.A)(e,function(e){return t[e]}))}}}]);

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.