diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..496ee2ca --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store \ No newline at end of file diff --git a/404.html b/404.html new file mode 100644 index 00000000..eb70c6ac --- /dev/null +++ b/404.html @@ -0,0 +1,57 @@ + + + + + + rustacean.info + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/assets/box.svg b/assets/box.svg new file mode 100644 index 00000000..c411c9a1 --- /dev/null +++ b/assets/box.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/box.svg.br b/assets/box.svg.br new file mode 100644 index 00000000..ef5aa9b7 Binary files /dev/null and b/assets/box.svg.br differ diff --git a/assets/box.svg.gz b/assets/box.svg.gz new file mode 100644 index 00000000..cdb2ab83 Binary files /dev/null and b/assets/box.svg.gz differ diff --git a/assets/calendar.svg b/assets/calendar.svg new file mode 100644 index 00000000..684bf4a8 --- /dev/null +++ b/assets/calendar.svg @@ -0,0 +1,58 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/calendar.svg.br b/assets/calendar.svg.br new file mode 100644 index 00000000..9d73746f Binary files /dev/null and b/assets/calendar.svg.br differ diff --git a/assets/calendar.svg.gz b/assets/calendar.svg.gz new file mode 100644 index 00000000..91702f6b Binary files /dev/null and b/assets/calendar.svg.gz differ diff --git a/assets/check-mark.svg b/assets/check-mark.svg new file mode 100644 index 00000000..61888777 --- /dev/null +++ b/assets/check-mark.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/check-mark.svg.br b/assets/check-mark.svg.br new file mode 100644 index 00000000..9d50ef97 Binary files /dev/null and b/assets/check-mark.svg.br differ diff --git a/assets/check-mark.svg.gz b/assets/check-mark.svg.gz new file mode 100644 index 00000000..26efeb9f Binary files /dev/null and b/assets/check-mark.svg.gz differ diff --git a/assets/checkbox-empty.svg b/assets/checkbox-empty.svg new file mode 100644 index 00000000..f804d00a --- /dev/null +++ b/assets/checkbox-empty.svg @@ -0,0 +1,60 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/checkbox-empty.svg.br b/assets/checkbox-empty.svg.br new file mode 100644 index 00000000..11fa911a Binary files /dev/null and b/assets/checkbox-empty.svg.br differ diff --git a/assets/checkbox-empty.svg.gz b/assets/checkbox-empty.svg.gz new file mode 100644 index 00000000..1135b4a2 Binary files /dev/null and b/assets/checkbox-empty.svg.gz differ diff --git a/assets/checkbox.svg b/assets/checkbox.svg new file mode 100644 index 00000000..f06f1002 --- /dev/null +++ b/assets/checkbox.svg @@ -0,0 +1,58 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/checkbox.svg.br b/assets/checkbox.svg.br new file mode 100644 index 00000000..6f766d35 Binary files /dev/null and b/assets/checkbox.svg.br differ diff --git a/assets/checkbox.svg.gz b/assets/checkbox.svg.gz new file mode 100644 index 00000000..af87fc75 Binary files /dev/null and b/assets/checkbox.svg.gz differ diff --git a/assets/chevron-right.svg b/assets/chevron-right.svg new file mode 100644 index 00000000..0d3ddabc --- /dev/null +++ b/assets/chevron-right.svg @@ -0,0 +1,6 @@ + + + diff --git a/assets/chevron-right.svg.br b/assets/chevron-right.svg.br new file mode 100644 index 00000000..1da740ff --- /dev/null +++ b/assets/chevron-right.svg.br @@ -0,0 +1 @@ + nJ655 Yۻg}%w .%`1췹;{r.d(e,{Zp:()=>Ae});var t=r(65866),o=r(9104),i=r(35662),u=r(10902),a=r(79650),d=r(12274),c=r(69840),f=r(33104);class s{constructor(){var n={};n._next=n._prev=n,this._sentinel=n}dequeue(){var n=this._sentinel,e=n._prev;if(e!==n)return v(e),e}enqueue(n){var e=this._sentinel;n._prev&&n._next&&v(n),n._next=e._next,e._next._prev=n,e._next=n,n._prev=e}toString(){for(var n=[],e=this._sentinel,r=e._prev;r!==e;)n.push(JSON.stringify(r,g)),r=r._prev;return"["+n.join(", ")+"]"}}function v(n){n._prev._next=n._next,n._next._prev=n._prev,delete n._next,delete n._prev}function g(n,e){if("_next"!==n&&"_prev"!==n)return e}var h=u.A(1);function l(n,e,r,o,i){var u=i?[]:void 0;return t.A(n.inEdges(o.v),(function(t){var o=n.edge(t),a=n.node(t.v);i&&u.push({v:t.v,w:t.w}),a.out-=o,A(e,r,a)})),t.A(n.outEdges(o.v),(function(t){var o=n.edge(t),i=t.w,u=n.node(i);u.in-=o,A(e,r,u)})),n.removeNode(o.v),u}function A(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function p(n){var e="greedy"===n.graph().acyclicer?function(n,e){if(n.nodeCount()<=1)return[];var r=function(n,e){var r=new f.T,o=0,i=0;t.A(n.nodes(),(function(n){r.setNode(n,{v:n,in:0,out:0})})),t.A(n.edges(),(function(n){var t=r.edge(n.v,n.w)||0,u=e(n),a=t+u;r.setEdge(n.v,n.w,a),i=Math.max(i,r.node(n.v).out+=u),o=Math.max(o,r.node(n.w).in+=u)}));var u=c.A(i+o+3).map((function(){return new s})),a=o+1;return t.A(r.nodes(),(function(n){A(u,a,r.node(n))})),{graph:r,buckets:u,zeroIdx:a}}(n,e||h),o=function(n,e,r){for(var t,o=[],i=e[e.length-1],u=e[0];n.nodeCount();){for(;t=u.dequeue();)l(n,e,r,t);for(;t=i.dequeue();)l(n,e,r,t);if(n.nodeCount())for(var a=e.length-2;a>0;--a)if(t=e[a].dequeue()){o=o.concat(l(n,e,r,t,!0));break}}return o}(r.graph,r.buckets,r.zeroIdx);return a.A(d.A(o,(function(e){return n.outEdges(e.v,e.w)})))}(n,function(n){return function(e){return n.edge(e).weight}}(n)):function(n){var e=[],r={},o={};return t.A(n.nodes(),(function u(a){i.A(o,a)||(o[a]=!0,r[a]=!0,t.A(n.outEdges(a),(function(n){i.A(r,n.w)?e.push(n):u(n.w)})),delete r[a])})),e}(n);t.A(e,(function(e){var r=n.edge(e);n.removeEdge(e),r.forwardName=e.name,r.reversed=!0,n.setEdge(e.w,e.v,r,o.A("rev"))}))}var w=r(69373),m=r(29510),b=r(53708),y=r(18506);const x=function(n,e,r){for(var t=-1,o=n.length;++te};var E=r(86080);const N=function(n){return n&&n.length?x(n,E.A,k):void 0},_=function(n){var e=null==n?0:n.length;return e?n[e-1]:void 0};var I=r(96416),T=r(96081),R=r(78851);const M=function(n,e){var r={};return e=(0,R.A)(e,3),(0,T.A)(n,(function(n,t,o){(0,I.A)(r,t,e(n,t,o))})),r};var L=r(20616);const C=function(n,e){return nMath.abs(u)*c?(a<0&&(c=-c),r=c*u/a,t=c):(u<0&&(d=-d),r=d,t=d*a/u),{x:o+r,y:i+t}}function V(n){var e=d.A(c.A(q(n)+1),(function(){return[]}));return t.A(n.nodes(),(function(r){var t=n.node(r),o=t.rank;L.A(o)||(e[o][t.order]=r)})),e}function B(n,e,r,t){var o={width:0,height:0};return arguments.length>=4&&(o.rank=r,o.order=t),j(n,"border",o,e)}function q(n){return N(d.A(n.nodes(),(function(e){var r=n.node(e).rank;if(!L.A(r))return r})))}function Y(n,e){var r=S();try{return e()}finally{console.log(n+" time: "+(S()-r)+"ms")}}function z(n,e){return e()}function D(n,e,r,t,o,i){var u={width:0,height:0,rank:i,borderType:e},a=o[e][i-1],d=j(n,"border",u,r);o[e][i]=d,n.setParent(d,t),a&&n.setEdge(a,d,{weight:1})}function $(n){t.A(n.nodes(),(function(e){J(n.node(e))})),t.A(n.edges(),(function(e){J(n.edge(e))}))}function J(n){var e=n.width;n.width=n.height,n.height=e}function Z(n){n.y=-n.y}function H(n){var e=n.x;n.x=n.y,n.y=e}const K=function(n,e){return n&&n.length?x(n,(0,R.A)(e,2),C):void 0};function Q(n){var e={};t.A(n.sources(),(function r(t){var o=n.node(t);if(i.A(e,t))return o.rank;e[t]=!0;var u=O(d.A(n.outEdges(t),(function(e){return r(e.w)-n.edge(e).minlen})));return u!==Number.POSITIVE_INFINITY&&null!=u||(u=0),o.rank=u}))}function U(n,e){return n.node(e.w).rank-n.node(e.v).rank-n.edge(e).minlen}function W(n){var e,r,t=new f.T({directed:!1}),o=n.nodes()[0],i=n.nodeCount();for(t.setNode(o,{});X(t,n)-1?t[o?n[i]:i]:void 0});var cn,fn=r(21580);u.A(1),u.A(1),r(99390),r(43146),r(25967);var sn=r(59681);r(43738),(0,r(87109).A)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var vn="\\ud800-\\udfff",gn="["+vn+"]",hn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ln="\\ud83c[\\udffb-\\udfff]",An="[^"+vn+"]",pn="(?:\\ud83c[\\udde6-\\uddff]){2}",wn="[\\ud800-\\udbff][\\udc00-\\udfff]",mn="(?:"+hn+"|"+ln+")?",bn="[\\ufe0e\\ufe0f]?",yn=bn+mn+"(?:\\u200d(?:"+[An,pn,wn].join("|")+")"+bn+mn+")*",xn="(?:"+[An+hn+"?",hn,pn,wn,gn].join("|")+")";function kn(n,e,r){sn.A(e)||(e=[e]);var o=(n.isDirected()?n.successors:n.neighbors).bind(n),i=[],u={};return t.A(e,(function(e){if(!n.hasNode(e))throw new Error("Graph does not have node: "+e);En(n,e,"post"===r,u,o,i)})),i}function En(n,e,r,o,u,a){i.A(o,e)||(o[e]=!0,r||a.push(e),t.A(u(e),(function(e){En(n,e,r,o,u,a)})),r&&a.push(e))}function Nn(n){n=function(n){var e=(new f.T).setGraph(n.graph());return t.A(n.nodes(),(function(r){e.setNode(r,n.node(r))})),t.A(n.edges(),(function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},o=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+o.weight,minlen:Math.max(t.minlen,o.minlen)})})),e}(n),Q(n);var e,r=W(n);for(Tn(r),_n(r,n);e=Mn(r);)Cn(r,n,e,Ln(r,n,e))}function _n(n,e){var r=function(n,e){return kn(n,e,"post")}(n,n.nodes());r=r.slice(0,r.length-1),t.A(r,(function(r){!function(n,e,r){var t=n.node(r).parent;n.edge(r,t).cutvalue=In(n,e,r)}(n,e,r)}))}function In(n,e,r){var o=n.node(r).parent,i=!0,u=e.edge(r,o),a=0;return u||(i=!1,u=e.edge(o,r)),a=u.weight,t.A(e.nodeEdges(r),(function(t){var u,d,c=t.v===r,f=c?t.w:t.v;if(f!==o){var s=c===i,v=e.edge(t).weight;if(a+=s?v:-v,u=r,d=f,n.hasEdge(u,d)){var g=n.edge(r,f).cutvalue;a+=s?-g:g}}})),a}function Tn(n,e){arguments.length<2&&(e=n.nodes()[0]),Rn(n,{},1,e)}function Rn(n,e,r,o,u){var a=r,d=n.node(o);return e[o]=!0,t.A(n.neighbors(o),(function(t){i.A(e,t)||(r=Rn(n,e,r,t,o))})),d.low=a,d.lim=r++,u?d.parent=u:delete d.parent,r}function Mn(n){return dn(n.edges(),(function(e){return n.edge(e).cutvalue<0}))}function Ln(n,e,r){var t=r.v,o=r.w;e.hasEdge(t,o)||(t=r.w,o=r.v);var i=n.node(t),u=n.node(o),a=i,d=!1;i.lim>u.lim&&(a=u,d=!0);var c=fn.A(e.edges(),(function(e){return d===On(0,n.node(e.v),a)&&d!==On(0,n.node(e.w),a)}));return K(c,(function(n){return U(e,n)}))}function Cn(n,e,r,o){var i=r.v,u=r.w;n.removeEdge(i,u),n.setEdge(o.v,o.w,{}),Tn(n),_n(n,e),function(n,e){var r=dn(n.nodes(),(function(n){return!e.node(n).parent})),o=function(n,e){return kn(n,e,"pre")}(n,r);o=o.slice(1),t.A(o,(function(r){var t=n.node(r).parent,o=e.edge(r,t),i=!1;o||(o=e.edge(t,r),i=!0),e.node(r).rank=e.node(t).rank+(i?o.minlen:-o.minlen)}))}(n,e)}function On(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function Pn(n){switch(n.graph().ranker){case"network-simplex":default:!function(n){Nn(n)}(n);break;case"tight-tree":!function(n){Q(n),W(n)}(n);break;case"longest-path":Sn(n)}}RegExp(ln+"(?="+ln+")|"+xn+yn,"g"),new Error,r(16266),Nn.initLowLimValues=Tn,Nn.initCutValues=_n,Nn.calcCutValue=In,Nn.leaveEdge=Mn,Nn.enterEdge=Ln,Nn.exchangeEdges=Cn;var Sn=Q;var jn=r(73174),Fn=r(51590);function Gn(n){var e=j(n,"root",{},"_root"),r=function(n){var e={};function r(o,i){var u=n.children(o);u&&u.length&&t.A(u,(function(n){r(n,i+1)})),e[o]=i}return t.A(n.children(),(function(n){r(n,1)})),e}(n),o=N(jn.A(r))-1,i=2*o+1;n.graph().nestingRoot=e,t.A(n.edges(),(function(e){n.edge(e).minlen*=i}));var u=function(n){return Fn.A(n.edges(),(function(e,r){return e+n.edge(r).weight}),0)}(n)+1;t.A(n.children(),(function(t){Vn(n,e,i,u,o,r,t)})),n.graph().nodeRankFactor=i}function Vn(n,e,r,o,i,u,a){var d=n.children(a);if(d.length){var c=B(n,"_bt"),f=B(n,"_bb"),s=n.node(a);n.setParent(c,a),s.borderTop=c,n.setParent(f,a),s.borderBottom=f,t.A(d,(function(t){Vn(n,e,r,o,i,u,t);var d=n.node(t),s=d.borderTop?d.borderTop:t,v=d.borderBottom?d.borderBottom:t,g=d.borderTop?o:2*o,h=s!==v?1:i-u[a]+1;n.setEdge(c,s,{weight:g,minlen:h,nestingEdge:!0}),n.setEdge(v,f,{weight:g,minlen:h,nestingEdge:!0})})),n.parent(a)||n.setEdge(e,c,{weight:0,minlen:i+u[a]})}else a!==e&&n.setEdge(e,a,{weight:0,minlen:r})}var Bn=r(97584);const qn=function(n){return(0,Bn.A)(n,5)};var Yn=r(13475);const zn=function(n,e){return function(n,e,r){for(var t=-1,o=n.length,i=e.length,u={};++te||i&&u&&d&&!a&&!c||t&&u&&d||!r&&d||!o)return 1;if(!t&&!i&&!c&&n=a?d:d*("desc"==r[t]?-1:1)}return n.index-e.index}(n,e,r)}))};var Un=r(8854),Wn=r(28800);const Xn=(0,Un.A)((function(n,e){if(null==n)return[];var r=e.length;return r>1&&(0,Wn.A)(n,e[0],e[1])?e=[]:r>2&&(0,Wn.A)(e[0],e[1],e[2])&&(e=[e[0]]),Qn(n,(0,Dn.A)(e,1),[])}));function ne(n,e){for(var r=0,t=1;t0;)e%2&&(r+=f[e+1]),f[e=e-1>>1]+=n.weight;s+=n.weight*r}))),s}function re(n,e){var r,o=function(n){var e={lhs:[],rhs:[]};return t.A(n,(function(n){var r;r=n,i.A(r,"barycenter")?e.lhs.push(n):e.rhs.push(n)})),e}(n),u=o.lhs,d=Xn(o.rhs,(function(n){return-n.i})),c=[],f=0,s=0,v=0;u.sort((r=!!e,function(n,e){return n.barycentere.barycenter?1:r?e.i-n.i:n.i-e.i})),v=te(c,d,v),t.A(u,(function(n){v+=n.vs.length,c.push(n.vs),f+=n.barycenter*n.weight,s+=n.weight,v=te(c,d,v)}));var g={vs:a.A(c)};return s&&(g.barycenter=f/s,g.weight=s),g}function te(n,e,r){for(var t;e.length&&(t=_(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function oe(n,e,r,o){var u=n.children(e),c=n.node(e),f=c?c.borderLeft:void 0,s=c?c.borderRight:void 0,v={};f&&(u=fn.A(u,(function(n){return n!==f&&n!==s})));var g=function(n,e){return d.A(e,(function(e){var r=n.inEdges(e);if(r.length){var t=Fn.A(r,(function(e,r){var t=n.edge(r),o=n.node(r.v);return{sum:e.sum+t.weight*o.order,weight:e.weight+t.weight}}),{sum:0,weight:0});return{v:e,barycenter:t.sum/t.weight,weight:t.weight}}return{v:e}}))}(n,u);t.A(g,(function(e){if(n.children(e.v).length){var t=oe(n,e.v,r,o);v[e.v]=t,i.A(t,"barycenter")&&(u=e,a=t,L.A(u.barycenter)?(u.barycenter=a.barycenter,u.weight=a.weight):(u.barycenter=(u.barycenter*u.weight+a.barycenter*a.weight)/(u.weight+a.weight),u.weight+=a.weight))}var u,a}));var h=function(n,e){var r={};return t.A(n,(function(n,e){var t=r[n.v]={indegree:0,in:[],out:[],vs:[n.v],i:e};L.A(n.barycenter)||(t.barycenter=n.barycenter,t.weight=n.weight)})),t.A(e.edges(),(function(n){var e=r[n.v],t=r[n.w];L.A(e)||L.A(t)||(t.indegree++,e.out.push(r[n.w]))})),function(n){var e=[];function r(n){return function(e){var r,t,o,i;e.merged||(L.A(e.barycenter)||L.A(n.barycenter)||e.barycenter>=n.barycenter)&&(t=e,o=0,i=0,(r=n).weight&&(o+=r.barycenter*r.weight,i+=r.weight),t.weight&&(o+=t.barycenter*t.weight,i+=t.weight),r.vs=t.vs.concat(r.vs),r.barycenter=o/i,r.weight=i,r.i=Math.min(t.i,r.i),t.merged=!0)}}function o(e){return function(r){r.in.push(e),0==--r.indegree&&n.push(r)}}for(;n.length;){var i=n.pop();e.push(i),t.A(i.in.reverse(),r(i)),t.A(i.out,o(i))}return d.A(fn.A(e,(function(n){return!n.merged})),(function(n){return m.A(n,["vs","i","barycenter","weight"])}))}(fn.A(r,(function(n){return!n.indegree})))}(g,r);!function(n,e){t.A(n,(function(n){n.vs=a.A(n.vs.map((function(n){return e[n]?e[n].vs:n})))}))}(h,v);var l=re(h,o);if(f&&(l.vs=a.A([f,l.vs,s]),n.predecessors(f).length)){var A=n.node(n.predecessors(f)[0]),p=n.node(n.predecessors(s)[0]);i.A(l,"barycenter")||(l.barycenter=0,l.weight=0),l.barycenter=(l.barycenter*l.weight+A.order+p.order)/(l.weight+2),l.weight+=2}return l}function ie(n,e,r){return d.A(e,(function(e){return function(n,e,r){var u=function(n){for(var e;n.hasNode(e=o.A("_root")););return e}(n),a=new f.T({compound:!0}).setGraph({root:u}).setDefaultNodeLabel((function(e){return n.node(e)}));return t.A(n.nodes(),(function(o){var d=n.node(o),c=n.parent(o);(d.rank===e||d.minRank<=e&&e<=d.maxRank)&&(a.setNode(o),a.setParent(o,c||u),t.A(n[r](o),(function(e){var r=e.v===o?e.w:e.v,t=a.edge(r,o),i=L.A(t)?0:t.weight;a.setEdge(r,o,{weight:n.edge(e).weight+i})})),i.A(d,"minRank")&&a.setNode(o,{borderLeft:d.borderLeft[e],borderRight:d.borderRight[e]}))})),a}(n,e,r)}))}function ue(n,e){var r=new f.T;t.A(n,(function(n){var o=n.graph().root,i=oe(n,o,r,e);t.A(i.vs,(function(e,r){n.node(e).order=r})),function(n,e,r){var o,i={};t.A(r,(function(r){for(var t,u,a=n.parent(r);a;){if((t=n.parent(a))?(u=i[t],i[t]=a):(u=o,o=a),u&&u!==a)return void e.setEdge(u,a);a=t}}))}(n,r,i.vs)}))}function ae(n,e){t.A(e,(function(e){t.A(e,(function(e,r){n.node(e).order=r}))}))}var de=r(61986);const ce=function(n,e){return n&&(0,T.A)(n,(0,de.A)(e))};var fe=r(37055),se=r(78380);const ve=function(n,e){return null==n?n:(0,fe.A)(n,(0,de.A)(e),se.A)};function ge(n,e,r){if(e>r){var t=e;e=r,r=t}var o=n[e];o||(n[e]=o={}),o[r]=!0}function he(n,e,r){if(e>r){var t=e;e=r,r=t}return i.A(n[e],r)}function le(n){var e,r=V(n),o=w.A(function(n,e){var r={};return Fn.A(e,(function(e,o){var i=0,u=0,a=e.length,d=_(o);return t.A(o,(function(e,c){var f=function(n,e){if(n.node(e).dummy)return dn(n.predecessors(e),(function(e){return n.node(e).dummy}))}(n,e),s=f?n.node(f).order:a;(f||e===d)&&(t.A(o.slice(u,c+1),(function(e){t.A(n.predecessors(e),(function(t){var o=n.node(t),u=o.order;!(ua)&&ge(r,e,d)}))}))}return Fn.A(e,(function(e,r){var i,u=-1,a=0;return t.A(r,(function(t,d){if("border"===n.node(t).dummy){var c=n.predecessors(t);c.length&&(i=n.node(c[0]).order,o(r,a,d,u,i),a=d,u=i)}o(r,a,r.length,i,e.length)})),r})),r}(n,r)),u={};t.A(["u","d"],(function(a){e="u"===a?r:jn.A(r).reverse(),t.A(["l","r"],(function(r){"r"===r&&(e=d.A(e,(function(n){return jn.A(n).reverse()})));var c=("u"===a?n.predecessors:n.successors).bind(n),s=function(n,e,r,o){var i={},u={},a={};return t.A(e,(function(n){t.A(n,(function(n,e){i[n]=n,u[n]=n,a[n]=e}))})),t.A(e,(function(n){var e=-1;t.A(n,(function(n){var t=o(n);if(t.length){t=Xn(t,(function(n){return a[n]}));for(var d=(t.length-1)/2,c=Math.floor(d),f=Math.ceil(d);c<=f;++c){var s=t[c];u[n]===n&&ed||c>e[o].lim));for(i=o,o=t;(o=n.parent(o))!==i;)a.push(o);return{path:u.concat(a.reverse()),lca:i}}(n,e,o.v,o.w),u=i.path,a=i.lca,d=0,c=u[d],f=!0;r!==o.w;){if(t=n.node(r),f){for(;(c=u[d])!==a&&n.node(c).maxRank=2);var g=ne(n,u=V(n));g{r.d(e,{A:()=>i});var t=r(78140),o=r(26014);const i=function(n,e){var r=-1,i=(0,o.A)(n)?Array(n.length):[];return(0,t.A)(n,(function(n,t,o){i[++r]=e(n,t,o)})),i}},53708:(n,e,r)=>{r.d(e,{A:()=>c});var t=r(8854),o=r(87608),i=r(28800),u=r(78380),a=Object.prototype,d=a.hasOwnProperty;const c=(0,t.A)((function(n,e){n=Object(n);var r=-1,t=e.length,c=t>2?e[2]:void 0;for(c&&(0,i.A)(e[0],e[1],c)&&(t=1);++r{r.d(e,{A:()=>o});var t=r(57973);const o=function(n){return null!=n&&n.length?(0,t.A)(n,1):[]}},12274:(n,e,r)=>{r.d(e,{A:()=>a});var t=r(59796),o=r(78851),i=r(14152),u=r(59681);const a=function(n,e){return((0,u.A)(n)?t.A:i.A)(n,(0,o.A)(e,3))}},29510:(n,e,r)=>{r.d(e,{A:()=>l});var t=r(21886),o=r(13475),i=r(93953),u=r(27065),a=r(5757),d=r(37125);const c=function(n,e,r,t){if(!(0,a.A)(n))return n;for(var c=-1,f=(e=(0,i.A)(e,n)).length,s=f-1,v=n;null!=v&&++c{r.d(e,{A:()=>a});var t=Math.ceil,o=Math.max;var i=r(28800),u=r(44618);const a=function(n,e,r){return r&&"number"!=typeof r&&(0,i.A)(n,e,r)&&(e=r=void 0),n=(0,u.A)(n),void 0===e?(e=n,n=0):e=(0,u.A)(e),function(n,e,r,i){for(var u=-1,a=o(t((e-n)/(r||1)),0),d=Array(a);a--;)d[i?a:++u]=n,n+=r;return d}(n,e,r=void 0===r?n{r.d(e,{A:()=>g});var t=/\s/;var o=/^\s+/;const i=function(n){return n?n.slice(0,function(n){for(var e=n.length;e--&&t.test(n.charAt(e)););return e}(n)+1).replace(o,""):n};var u=r(5757),a=r(18506),d=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,s=parseInt;var v=1/0;const g=function(n){return n?(n=function(n){if("number"==typeof n)return n;if((0,a.A)(n))return NaN;if((0,u.A)(n)){var e="function"==typeof n.valueOf?n.valueOf():n;n=(0,u.A)(e)?e+"":e}if("string"!=typeof n)return 0===n?n:+n;n=i(n);var r=c.test(n);return r||f.test(n)?s(n.slice(2),r?2:8):d.test(n)?NaN:+n}(n))===v||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}},9104:(n,e,r)=>{r.d(e,{A:()=>i});var t=r(48318),o=0;const i=function(n){var e=++o;return(0,t.A)(n)+e}}}]); \ No newline at end of file diff --git a/assets/chunk.03bfbe9d374a558225af.js.br b/assets/chunk.03bfbe9d374a558225af.js.br new file mode 100644 index 00000000..351ff93d Binary files /dev/null and b/assets/chunk.03bfbe9d374a558225af.js.br differ diff --git a/assets/chunk.03bfbe9d374a558225af.js.gz b/assets/chunk.03bfbe9d374a558225af.js.gz new file mode 100644 index 00000000..84f6ae21 Binary files /dev/null and b/assets/chunk.03bfbe9d374a558225af.js.gz differ diff --git a/assets/chunk.0fa9f6d6e53171792c98.js b/assets/chunk.0fa9f6d6e53171792c98.js new file mode 100644 index 00000000..e419ecce --- /dev/null +++ b/assets/chunk.0fa9f6d6e53171792c98.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[591],{31591:(t,e,s)=>{s.d(e,{d:()=>st,f:()=>et,p:()=>r});var u=s(84017),i=s(59659),n=function(){var t=function(t,e,s,u){for(s=s||{},u=t.length;u--;s[t[u]]=e);return s},e=[1,4],s=[1,3],u=[1,5],i=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],n=[2,2],r=[1,13],a=[1,14],c=[1,15],o=[1,16],l=[1,23],h=[1,25],A=[1,26],d=[1,27],p=[1,49],y=[1,48],E=[1,29],f=[1,30],g=[1,31],k=[1,32],D=[1,33],b=[1,44],F=[1,46],T=[1,42],C=[1,47],_=[1,43],B=[1,50],S=[1,45],m=[1,51],x=[1,52],v=[1,34],L=[1,35],I=[1,36],R=[1,37],$=[1,57],N=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],O=[1,61],w=[1,60],P=[1,62],U=[8,9,11,73,75],V=[1,88],G=[1,93],M=[1,92],K=[1,89],Y=[1,85],j=[1,91],X=[1,87],z=[1,94],H=[1,90],W=[1,95],Q=[1,86],q=[8,9,10,11,73,75],Z=[8,9,10,11,44,73,75],J=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],tt=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],et=[42,58,86,99,102,103,106,108,111,112,113],st=[1,121],ut=[1,120],it=[1,128],nt=[1,142],rt=[1,143],at=[1,144],ct=[1,145],ot=[1,130],lt=[1,132],ht=[1,136],At=[1,137],dt=[1,138],pt=[1,139],yt=[1,140],Et=[1,141],ft=[1,146],gt=[1,147],kt=[1,126],Dt=[1,127],bt=[1,134],Ft=[1,129],Tt=[1,133],Ct=[1,131],_t=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Bt=[1,149],St=[8,9,11],mt=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],xt=[1,169],vt=[1,165],Lt=[1,166],It=[1,170],Rt=[1,167],$t=[1,168],Nt=[75,113,116],Ot=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],wt=[10,103],Pt=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],Ut=[1,235],Vt=[1,233],Gt=[1,237],Mt=[1,231],Kt=[1,232],Yt=[1,234],jt=[1,236],Xt=[1,238],zt=[1,255],Ht=[8,9,11,103],Wt=[8,9,10,11,58,81,102,103,106,107,108,109],Qt={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(t,e,s,u,i,n,r){var a=n.length-1;switch(i){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(n[a])||n[a].length>0)&&n[a-1].push(n[a]),this.$=n[a-1];break;case 4:case 176:case 49:case 71:case 174:this.$=n[a];break;case 11:u.setDirection("TB"),this.$="TB";break;case 12:u.setDirection(n[a-1]),this.$=n[a-1];break;case 27:this.$=n[a-1].nodes;break;case 33:this.$=u.addSubGraph(n[a-6],n[a-1],n[a-4]);break;case 34:this.$=u.addSubGraph(n[a-3],n[a-1],n[a-3]);break;case 35:this.$=u.addSubGraph(void 0,n[a-1],void 0);break;case 37:this.$=n[a].trim(),u.setAccTitle(this.$);break;case 38:case 39:this.$=n[a].trim(),u.setAccDescription(this.$);break;case 43:u.addLink(n[a-2].stmt,n[a],n[a-1]),this.$={stmt:n[a],nodes:n[a].concat(n[a-2].nodes)};break;case 44:u.addLink(n[a-3].stmt,n[a-1],n[a-2]),this.$={stmt:n[a-1],nodes:n[a-1].concat(n[a-3].nodes)};break;case 45:this.$={stmt:n[a-1],nodes:n[a-1]};break;case 46:this.$={stmt:n[a],nodes:n[a]};break;case 47:case 121:case 123:this.$=[n[a]];break;case 48:this.$=n[a-4].concat(n[a]);break;case 50:this.$=n[a-2],u.setClass(n[a-2],n[a]);break;case 51:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"square");break;case 52:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"doublecircle");break;case 53:this.$=n[a-5],u.addVertex(n[a-5],n[a-2],"circle");break;case 54:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"ellipse");break;case 55:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"stadium");break;case 56:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"subroutine");break;case 57:this.$=n[a-7],u.addVertex(n[a-7],n[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[n[a-5],n[a-3]]]));break;case 58:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"cylinder");break;case 59:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"round");break;case 60:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"diamond");break;case 61:this.$=n[a-5],u.addVertex(n[a-5],n[a-2],"hexagon");break;case 62:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"odd");break;case 63:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"trapezoid");break;case 64:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"inv_trapezoid");break;case 65:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"lean_right");break;case 66:this.$=n[a-3],u.addVertex(n[a-3],n[a-1],"lean_left");break;case 67:this.$=n[a],u.addVertex(n[a]);break;case 68:n[a-1].text=n[a],this.$=n[a-1];break;case 69:case 70:n[a-2].text=n[a-1],this.$=n[a-2];break;case 72:var c=u.destructLink(n[a],n[a-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:n[a-1]};break;case 73:case 79:case 94:case 96:this.$={text:n[a],type:"text"};break;case 74:case 80:case 95:this.$={text:n[a-1].text+""+n[a],type:n[a-1].type};break;case 75:case 81:this.$={text:n[a],type:"string"};break;case 76:case 82:case 97:this.$={text:n[a],type:"markdown"};break;case 77:c=u.destructLink(n[a]),this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 78:this.$=n[a-1];break;case 98:this.$=n[a-4],u.addClass(n[a-2],n[a]);break;case 99:this.$=n[a-4],u.setClass(n[a-2],n[a]);break;case 100:case 108:this.$=n[a-1],u.setClickEvent(n[a-1],n[a]);break;case 101:case 109:this.$=n[a-3],u.setClickEvent(n[a-3],n[a-2]),u.setTooltip(n[a-3],n[a]);break;case 102:this.$=n[a-2],u.setClickEvent(n[a-2],n[a-1],n[a]);break;case 103:this.$=n[a-4],u.setClickEvent(n[a-4],n[a-3],n[a-2]),u.setTooltip(n[a-4],n[a]);break;case 104:this.$=n[a-2],u.setLink(n[a-2],n[a]);break;case 105:this.$=n[a-4],u.setLink(n[a-4],n[a-2]),u.setTooltip(n[a-4],n[a]);break;case 106:this.$=n[a-4],u.setLink(n[a-4],n[a-2],n[a]);break;case 107:this.$=n[a-6],u.setLink(n[a-6],n[a-4],n[a]),u.setTooltip(n[a-6],n[a-2]);break;case 110:this.$=n[a-1],u.setLink(n[a-1],n[a]);break;case 111:this.$=n[a-3],u.setLink(n[a-3],n[a-2]),u.setTooltip(n[a-3],n[a]);break;case 112:this.$=n[a-3],u.setLink(n[a-3],n[a-2],n[a]);break;case 113:this.$=n[a-5],u.setLink(n[a-5],n[a-4],n[a]),u.setTooltip(n[a-5],n[a-2]);break;case 114:this.$=n[a-4],u.addVertex(n[a-2],void 0,void 0,n[a]);break;case 115:this.$=n[a-4],u.updateLink([n[a-2]],n[a]);break;case 116:this.$=n[a-4],u.updateLink(n[a-2],n[a]);break;case 117:this.$=n[a-8],u.updateLinkInterpolate([n[a-6]],n[a-2]),u.updateLink([n[a-6]],n[a]);break;case 118:this.$=n[a-8],u.updateLinkInterpolate(n[a-6],n[a-2]),u.updateLink(n[a-6],n[a]);break;case 119:this.$=n[a-6],u.updateLinkInterpolate([n[a-4]],n[a]);break;case 120:this.$=n[a-6],u.updateLinkInterpolate(n[a-4],n[a]);break;case 122:case 124:n[a-2].push(n[a]),this.$=n[a-2];break;case 126:this.$=n[a-1]+n[a];break;case 175:case 177:this.$=n[a-1]+""+n[a];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,9:e,10:s,12:u},{1:[3]},t(i,n,{5:6}),{4:7,9:e,10:s,12:u},{4:8,9:e,10:s,12:u},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:r,9:a,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:l,33:24,34:h,36:A,38:d,40:28,41:38,42:p,43:39,45:40,58:y,81:E,82:f,83:g,84:k,85:D,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x,118:v,119:L,120:I,121:R},t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),{8:[1,54],9:[1,55],10:$,15:53,18:56},t(N,[2,3]),t(N,[2,4]),t(N,[2,5]),t(N,[2,6]),t(N,[2,7]),t(N,[2,8]),{8:O,9:w,11:P,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:O,9:w,11:P,21:66},{8:O,9:w,11:P,21:67},{8:O,9:w,11:P,21:68},{8:O,9:w,11:P,21:69},{8:O,9:w,11:P,21:70},{8:O,9:w,10:[1,71],11:P,21:72},t(N,[2,36]),{35:[1,73]},{37:[1,74]},t(N,[2,39]),t(U,[2,46],{18:75,10:$}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:V,42:G,58:M,77:[1,83],86:K,92:[1,80],94:[1,81],98:82,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q,117:84},t(N,[2,178]),t(N,[2,179]),t(N,[2,180]),t(N,[2,181]),t(q,[2,47]),t(q,[2,49],{44:[1,96]}),t(Z,[2,67],{110:109,29:[1,97],42:p,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:y,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:b,99:F,102:T,103:C,106:_,108:B,111:S,112:m,113:x}),t(J,[2,174]),t(J,[2,135]),t(J,[2,136]),t(J,[2,137]),t(J,[2,138]),t(J,[2,139]),t(J,[2,140]),t(J,[2,141]),t(J,[2,142]),t(J,[2,143]),t(J,[2,144]),t(J,[2,145]),t(i,[2,12]),t(i,[2,18]),t(i,[2,19]),{9:[1,110]},t(tt,[2,26],{18:111,10:$}),t(N,[2,27]),{40:112,41:38,42:p,43:39,45:40,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},t(N,[2,40]),t(N,[2,41]),t(N,[2,42]),t(et,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:st,116:ut},t([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),t(N,[2,28]),t(N,[2,29]),t(N,[2,30]),t(N,[2,31]),t(N,[2,32]),{10:it,12:nt,14:rt,27:at,28:122,32:ct,42:ot,58:lt,73:ht,77:[1,124],78:[1,125],80:135,81:At,82:dt,83:pt,84:yt,85:Et,86:ft,87:gt,88:123,102:kt,106:Dt,108:bt,111:Ft,112:Tt,113:Ct},t(_t,n,{5:148}),t(N,[2,37]),t(N,[2,38]),t(U,[2,45],{42:Bt}),{42:p,45:150,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},{99:[1,151],100:152,102:[1,153]},{42:p,45:154,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},{42:p,45:155,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},t(St,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},t(St,[2,108],{117:160,10:[1,159],14:V,42:G,58:M,86:K,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q}),t(St,[2,110],{10:[1,161]}),t(mt,[2,176]),t(mt,[2,163]),t(mt,[2,164]),t(mt,[2,165]),t(mt,[2,166]),t(mt,[2,167]),t(mt,[2,168]),t(mt,[2,169]),t(mt,[2,170]),t(mt,[2,171]),t(mt,[2,172]),t(mt,[2,173]),{42:p,45:162,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},{30:163,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:171,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:173,48:[1,172],65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:174,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:175,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:176,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{106:[1,177]},{30:178,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:179,63:[1,180],65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:181,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:182,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{30:183,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},t(J,[2,175]),t(i,[2,20]),t(tt,[2,25]),t(U,[2,43],{18:184,10:$}),t(et,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{75:[1,188],76:189,113:st,116:ut},t(Nt,[2,73]),t(Nt,[2,75]),t(Nt,[2,76]),t(Nt,[2,161]),t(Nt,[2,162]),{8:O,9:w,10:it,11:P,12:nt,14:rt,21:191,27:at,29:[1,190],32:ct,42:ot,58:lt,73:ht,80:135,81:At,82:dt,83:pt,84:yt,85:Et,86:ft,87:gt,88:192,102:kt,106:Dt,108:bt,111:Ft,112:Tt,113:Ct},t(Ot,[2,94]),t(Ot,[2,96]),t(Ot,[2,97]),t(Ot,[2,150]),t(Ot,[2,151]),t(Ot,[2,152]),t(Ot,[2,153]),t(Ot,[2,154]),t(Ot,[2,155]),t(Ot,[2,156]),t(Ot,[2,157]),t(Ot,[2,158]),t(Ot,[2,159]),t(Ot,[2,160]),t(Ot,[2,83]),t(Ot,[2,84]),t(Ot,[2,85]),t(Ot,[2,86]),t(Ot,[2,87]),t(Ot,[2,88]),t(Ot,[2,89]),t(Ot,[2,90]),t(Ot,[2,91]),t(Ot,[2,92]),t(Ot,[2,93]),{6:11,7:12,8:r,9:a,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,193],33:24,34:h,36:A,38:d,40:28,41:38,42:p,43:39,45:40,58:y,81:E,82:f,83:g,84:k,85:D,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x,118:v,119:L,120:I,121:R},{10:$,18:194},{10:[1,195],42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:109,111:S,112:m,113:x},{10:[1,196]},{10:[1,197],103:[1,198]},t(wt,[2,121]),{10:[1,199],42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:109,111:S,112:m,113:x},{10:[1,200],42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:109,111:S,112:m,113:x},{77:[1,201]},t(St,[2,102],{10:[1,202]}),t(St,[2,104],{10:[1,203]}),{77:[1,204]},t(mt,[2,177]),{77:[1,205],95:[1,206]},t(q,[2,50],{110:109,42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,111:S,112:m,113:x}),{31:[1,207],65:xt,79:208,113:It,114:Rt,115:$t},t(Pt,[2,79]),t(Pt,[2,81]),t(Pt,[2,82]),t(Pt,[2,146]),t(Pt,[2,147]),t(Pt,[2,148]),t(Pt,[2,149]),{47:[1,209],65:xt,79:208,113:It,114:Rt,115:$t},{30:210,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{49:[1,211],65:xt,79:208,113:It,114:Rt,115:$t},{51:[1,212],65:xt,79:208,113:It,114:Rt,115:$t},{53:[1,213],65:xt,79:208,113:It,114:Rt,115:$t},{55:[1,214],65:xt,79:208,113:It,114:Rt,115:$t},{58:[1,215]},{62:[1,216],65:xt,79:208,113:It,114:Rt,115:$t},{64:[1,217],65:xt,79:208,113:It,114:Rt,115:$t},{30:218,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},{31:[1,219],65:xt,79:208,113:It,114:Rt,115:$t},{65:xt,67:[1,220],69:[1,221],79:208,113:It,114:Rt,115:$t},{65:xt,67:[1,223],69:[1,222],79:208,113:It,114:Rt,115:$t},t(U,[2,44],{42:Bt}),t(et,[2,70]),t(et,[2,69]),{60:[1,224],65:xt,79:208,113:It,114:Rt,115:$t},t(et,[2,72]),t(Nt,[2,74]),{30:225,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},t(_t,n,{5:226}),t(Ot,[2,95]),t(N,[2,35]),{41:227,42:p,43:39,45:40,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},{10:Ut,58:Vt,81:Gt,89:228,102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:239,101:[1,240],102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:241,101:[1,242],102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{102:[1,243]},{10:Ut,58:Vt,81:Gt,89:244,102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{42:p,45:245,58:y,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x},t(St,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},t(St,[2,109]),t(St,[2,111],{10:[1,249]}),t(St,[2,112]),t(Z,[2,51]),t(Pt,[2,80]),t(Z,[2,52]),{49:[1,250],65:xt,79:208,113:It,114:Rt,115:$t},t(Z,[2,59]),t(Z,[2,54]),t(Z,[2,55]),t(Z,[2,56]),{106:[1,251]},t(Z,[2,58]),t(Z,[2,60]),{64:[1,252],65:xt,79:208,113:It,114:Rt,115:$t},t(Z,[2,62]),t(Z,[2,63]),t(Z,[2,65]),t(Z,[2,64]),t(Z,[2,66]),t([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:xt,79:208,113:It,114:Rt,115:$t},{6:11,7:12,8:r,9:a,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,254],33:24,34:h,36:A,38:d,40:28,41:38,42:p,43:39,45:40,58:y,81:E,82:f,83:g,84:k,85:D,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x,118:v,119:L,120:I,121:R},t(q,[2,48]),t(St,[2,114],{103:zt}),t(Ht,[2,123],{105:256,10:Ut,58:Vt,81:Gt,102:Mt,106:Kt,107:Yt,108:jt,109:Xt}),t(Wt,[2,125]),t(Wt,[2,127]),t(Wt,[2,128]),t(Wt,[2,129]),t(Wt,[2,130]),t(Wt,[2,131]),t(Wt,[2,132]),t(Wt,[2,133]),t(Wt,[2,134]),t(St,[2,115],{103:zt}),{10:[1,257]},t(St,[2,116],{103:zt}),{10:[1,258]},t(wt,[2,122]),t(St,[2,98],{103:zt}),t(St,[2,99],{110:109,42:p,58:y,86:b,99:F,102:T,103:C,106:_,108:B,111:S,112:m,113:x}),t(St,[2,103]),t(St,[2,105],{10:[1,259]}),t(St,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:O,9:w,11:P,21:264},t(N,[2,34]),{10:Ut,58:Vt,81:Gt,102:Mt,104:265,105:230,106:Kt,107:Yt,108:jt,109:Xt},t(Wt,[2,126]),{14:V,42:G,58:M,86:K,98:266,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q,117:84},{14:V,42:G,58:M,86:K,98:267,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q,117:84},{95:[1,268]},t(St,[2,113]),t(Z,[2,53]),{30:269,65:xt,77:vt,78:Lt,79:164,113:It,114:Rt,115:$t},t(Z,[2,61]),t(_t,n,{5:270}),t(Ht,[2,124],{105:256,10:Ut,58:Vt,81:Gt,102:Mt,106:Kt,107:Yt,108:jt,109:Xt}),t(St,[2,119],{117:160,10:[1,271],14:V,42:G,58:M,86:K,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q}),t(St,[2,120],{117:160,10:[1,272],14:V,42:G,58:M,86:K,102:Y,103:j,106:X,108:z,111:H,112:W,113:Q}),t(St,[2,107]),{31:[1,273],65:xt,79:208,113:It,114:Rt,115:$t},{6:11,7:12,8:r,9:a,10:c,11:o,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,274],33:24,34:h,36:A,38:d,40:28,41:38,42:p,43:39,45:40,58:y,81:E,82:f,83:g,84:k,85:D,86:b,99:F,102:T,103:C,106:_,108:B,110:41,111:S,112:m,113:x,118:v,119:L,120:I,121:R},{10:Ut,58:Vt,81:Gt,89:275,102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},{10:Ut,58:Vt,81:Gt,89:276,102:Mt,104:229,105:230,106:Kt,107:Yt,108:jt,109:Xt},t(Z,[2,57]),t(N,[2,33]),t(St,[2,117],{103:zt}),t(St,[2,118],{103:zt})],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},parse:function(t){var e=[0],s=[],u=[null],i=[],n=this.table,r="",a=0,c=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;i.push(d);var p=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,f,g,k,D,b,F,T,C={};;){if(E=e[e.length-1],this.defaultActions[E]?f=this.defaultActions[E]:(null==y&&(T=void 0,"number"!=typeof(T=s.pop()||l.lex()||1)&&(T instanceof Array&&(T=(s=T).pop()),T=this.symbols_[T]||T),y=T),f=n[E]&&n[E][y]),void 0===f||!f.length||!f[0]){var _;for(k in F=[],n[E])this.terminals_[k]&&k>2&&F.push("'"+this.terminals_[k]+"'");_=l.showPosition?"Parse error on line "+(a+1)+":\n"+l.showPosition()+"\nExpecting "+F.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(_,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:d,expected:F})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(f[0]){case 1:e.push(y),u.push(l.yytext),i.push(l.yylloc),e.push(f[1]),y=null,c=l.yyleng,r=l.yytext,a=l.yylineno,d=l.yylloc;break;case 2:if(D=this.productions_[f[1]][1],C.$=u[u.length-D],C._$={first_line:i[i.length-(D||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(D||1)].first_column,last_column:i[i.length-1].last_column},p&&(C._$.range=[i[i.length-(D||1)].range[0],i[i.length-1].range[1]]),void 0!==(g=this.performAction.apply(C,[r,c,a,h.yy,f[1],u,i].concat(o))))return g;D&&(e=e.slice(0,-1*D*2),u=u.slice(0,-1*D),i=i.slice(0,-1*D)),e.push(this.productions_[f[1]][0]),u.push(C.$),i.push(C._$),b=n[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},qt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===u.length?this.yylloc.first_column:0)+u[u.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var s,u,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(u=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=u.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:u?u[u.length-1].length-u[u.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var n in i)this[n]=i[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,s,u;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),n=0;ne[0].length)){if(e=s,u=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,i[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[u]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,s,u){switch(s){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 8:case 11:case 14:case 17:case 27:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 12:return 93;case 13:return"MD_STR";case 15:this.begin("md_string");break;case 16:return"STR";case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 28:return 85;case 29:case 30:case 31:return t.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:case 35:case 36:case 37:return 95;case 38:return this.popState(),13;case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:case 95:return 108;case 55:return 44;case 56:return 58;case 57:case 96:return 42;case 58:return 8;case 59:return 103;case 60:case 94:return 112;case 61:case 64:case 67:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:case 66:case 69:return 116;case 65:return this.pushState("thickEdgeText"),73;case 68:return this.pushState("dottedEdgeText"),73;case 70:return 75;case 71:return this.popState(),51;case 72:case 108:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}};function Zt(){this.yy={}}return Qt.lexer=qt,Zt.prototype=Qt,Qt.Parser=Zt,new Zt}();n.parser=n;const r=n;let a,c,o=0,l=(0,i.c)(),h={},A=[],d={},p=[],y={},E={},f=0,g=!0,k=[];const D=t=>i.e.sanitizeText(t,l),b=function(t){const e=Object.keys(h);for(const s of e)if(h[s].id===t)return h[s].domId;return t},F=function(t,e,s,u,n,r,a={}){let c,A=t;void 0!==A&&0!==A.trim().length&&(void 0===h[A]&&(h[A]={id:A,labelType:"text",domId:"flowchart-"+A+"-"+o,styles:[],classes:[]}),o++,void 0!==e?(l=(0,i.c)(),c=D(e.text.trim()),h[A].labelType=e.type,'"'===c[0]&&'"'===c[c.length-1]&&(c=c.substring(1,c.length-1)),h[A].text=c):void 0===h[A].text&&(h[A].text=t),void 0!==s&&(h[A].type=s),null!=u&&u.forEach((function(t){h[A].styles.push(t)})),null!=n&&n.forEach((function(t){h[A].classes.push(t)})),void 0!==r&&(h[A].dir=r),void 0===h[A].props?h[A].props=a:void 0!==a&&Object.assign(h[A].props,a))},T=function(t,e,s){const u={start:t,end:e,type:void 0,text:"",labelType:"text"};i.l.info("abc78 Got edge...",u);const n=s.text;if(void 0!==n&&(u.text=D(n.text.trim()),'"'===u.text[0]&&'"'===u.text[u.text.length-1]&&(u.text=u.text.substring(1,u.text.length-1)),u.labelType=n.type),void 0!==s&&(u.type=s.type,u.stroke=s.stroke,u.length=s.length),(null==u?void 0:u.length)>10&&(u.length=10),!(A.length<(l.maxEdges??500)))throw new Error(`Edge limit exceeded. ${A.length} edges found, but the limit is ${l.maxEdges}.\n\nInitialize mermaid with maxEdges set to a higher number to allow more edges.\nYou cannot set this config via configuration inside the diagram as it is a secure config.\nYou have to call mermaid.initialize.`);i.l.info("abc78 pushing edge..."),A.push(u)},C=function(t,e,s){let u,n;for(i.l.info("addLink (abc78)",t,e,s),u=0;u=A.length)throw new Error(`The index ${t} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${A.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===t?A.defaultStyle=e:(-1===i.u.isSubstringInArray("fill",e)&&e.push("fill:none"),A[t].style=e)}))},S=function(t,e){t.split(",").forEach((function(t){void 0===d[t]&&(d[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach((function(e){if(e.match("color")){const s=e.replace("fill","bgFill").replace("color","fill");d[t].textStyles.push(s)}d[t].styles.push(e)}))}))},m=function(t){a=t,a.match(/.*/)&&(a="LR"),a.match(/.*v/)&&(a="TB"),"TD"===a&&(a="TB")},x=function(t,e){t.split(",").forEach((function(t){let s=t;void 0!==h[s]&&h[s].classes.push(e),void 0!==y[s]&&y[s].classes.push(e)}))},v=function(t,e,s){t.split(",").forEach((function(t){void 0!==h[t]&&(h[t].link=i.u.formatUrl(e,l),h[t].linkTarget=s)})),x(t,"clickable")},L=function(t){if(E.hasOwnProperty(t))return E[t]},I=function(t,e,s){t.split(",").forEach((function(t){!function(t,e,s){let u=b(t);if("loose"!==(0,i.c)().securityLevel)return;if(void 0===e)return;let n=[];if("string"==typeof s){n=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,u.Ltv)(this).classed("hover",!1)}))};k.push(P);const U=function(t="gen-1"){h={},d={},A=[],k=[P],p=[],y={},f=0,E={},g=!0,c=t,l=(0,i.c)(),(0,i.v)()},V=t=>{c=t||"gen-2"},G=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},M=function(t,e,s){let u=t.text.trim(),n=s.text;t===s&&s.text.match(/\s/)&&(u=void 0);let r=[];const{nodeList:a,dir:o}=function(t){const e={boolean:{},number:{},string:{}},s=[];let u;return{nodeList:t.filter((function(t){const i=typeof t;return t.stmt&&"dir"===t.stmt?(u=t.value,!1):""!==t.trim()&&(i in e?!e[i].hasOwnProperty(t)&&(e[i][t]=!0):!s.includes(t)&&s.push(t))})),dir:u}}(r.concat.apply(r,e));if(r=a,"gen-1"===c)for(let t=0;t2e3)return;if(j[Y]=e,p[e].id===t)return{result:!0,count:0};let u=0,i=1;for(;u=0){const s=X(t,e);if(s.result)return{result:!0,count:i+s.count};i+=s.count}u+=1}return{result:!1,count:i}},z=function(t){return j[t]},H=function(){Y=-1,p.length>0&&X("none",p.length-1)},W=function(){return p},Q=()=>!!g&&(g=!1,!0),q=(t,e)=>{const s=(t=>{const e=t.trim();let s=e.slice(0,-1),u="arrow_open";switch(e.slice(-1)){case"x":u="arrow_cross","x"===e[0]&&(u="double_"+u,s=s.slice(1));break;case">":u="arrow_point","<"===e[0]&&(u="double_"+u,s=s.slice(1));break;case"o":u="arrow_circle","o"===e[0]&&(u="double_"+u,s=s.slice(1))}let i="normal",n=s.length-1;"="===s[0]&&(i="thick"),"~"===s[0]&&(i="invisible");let r=((t,e)=>{const s=e.length;let u=0;for(let t=0;t{let e=t.trim(),s="arrow_open";switch(e[0]){case"<":s="arrow_point",e=e.slice(1);break;case"x":s="arrow_cross",e=e.slice(1);break;case"o":s="arrow_circle",e=e.slice(1)}let u="normal";return e.includes("=")&&(u="thick"),e.includes(".")&&(u="dotted"),{type:s,stroke:u}})(e),u.stroke!==s.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===u.type)u.type=s.type;else{if(u.type!==s.type)return{type:"INVALID",stroke:"INVALID"};u.type="double_"+u.type}return"double_arrow"===u.type&&(u.type="double_arrow_point"),u.length=s.length,u}return s},Z=(t,e)=>{let s=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(s=!0)})),s},J=(t,e)=>{const s=[];return t.nodes.forEach(((u,i)=>{Z(e,u)||s.push(t.nodes[i])})),{nodes:s}},tt={firstGraph:Q},et={defaultConfig:()=>i.K.flowchart,setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,addVertex:F,lookUpDomId:b,addLink:C,updateLinkInterpolate:_,updateLink:B,addClass:S,setDirection:m,setClass:x,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(E["gen-1"===c?b(t):t]=D(e))}))},getTooltip:L,setClickEvent:I,setLink:v,bindFunctions:R,getDirection:$,getVertices:N,getEdges:O,getClasses:w,clear:U,setGen:V,defaultStyle:G,addSubGraph:M,getDepthFirstPos:z,indexNodes:H,getSubGraphs:W,destructLink:q,lex:tt,exists:Z,makeUniq:J,setDiagramTitle:i.q,getDiagramTitle:i.t},st=Object.freeze(Object.defineProperty({__proto__:null,addClass:S,addLink:C,addSingleLink:T,addSubGraph:M,addVertex:F,bindFunctions:R,clear:U,default:et,defaultStyle:G,destructLink:q,firstGraph:Q,getClasses:w,getDepthFirstPos:z,getDirection:$,getEdges:O,getSubGraphs:W,getTooltip:L,getVertices:N,indexNodes:H,lex:tt,lookUpDomId:b,setClass:x,setClickEvent:I,setDirection:m,setGen:V,setLink:v,updateLink:B,updateLinkInterpolate:_},Symbol.toStringTag,{value:"Module"}))}}]); \ No newline at end of file diff --git a/assets/chunk.0fa9f6d6e53171792c98.js.br b/assets/chunk.0fa9f6d6e53171792c98.js.br new file mode 100644 index 00000000..c34dac20 Binary files /dev/null and b/assets/chunk.0fa9f6d6e53171792c98.js.br differ diff --git a/assets/chunk.0fa9f6d6e53171792c98.js.gz b/assets/chunk.0fa9f6d6e53171792c98.js.gz new file mode 100644 index 00000000..8328e344 Binary files /dev/null and b/assets/chunk.0fa9f6d6e53171792c98.js.gz differ diff --git a/assets/chunk.179c63bd0e1d67967546.js b/assets/chunk.179c63bd0e1d67967546.js new file mode 100644 index 00000000..61f2fa8c --- /dev/null +++ b/assets/chunk.179c63bd0e1d67967546.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[985],{16266:(t,e,r)=>{r.d(e,{T:()=>S});var n=r(35662),o=r(10902),i=r(38074),s=r(73582),u=r(21580),c=r(59537),a=r(65866),f=r(20616),h=r(57973),A=r(8854),d=r(98566),l=r(34843);const v=function(t){return t!=t},b=function(t,e){return!(null==t||!t.length)&&function(t,e,r){return e==e?function(t,e,r){for(var n=r-1,o=t.length;++n-1},_=function(t,e,r){for(var n=-1,o=null==t?0:t.length;++n=200){var a=e?null:m(t);if(a)return(0,j.A)(a);s=!1,o=p.A,c=new d.A}else c=e?[]:u;t:for(;++n1?n.setNode(t,e):n.setNode(t)})),this}setNode(t,e){return n.A(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=N,this._children[t]={},this._children[N][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 n.A(this._nodes,t)}removeNode(t){var e=this;if(n.A(this._nodes,t)){var r=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],a.A(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),a.A(s.A(this._in[t]),r),delete this._in[t],delete this._preds[t],a.A(s.A(this._out[t]),r),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(f.A(e))e=N;else{for(var r=e+="";!f.A(r);r=this.parent(r))if(r===t)throw new 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(e!==N)return e}}children(t){if(f.A(t)&&(t=N),this._isCompound){var e=this._children[t];if(e)return s.A(e)}else{if(t===N)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return s.A(e)}successors(t){var e=this._sucs[t];if(e)return s.A(e)}neighbors(t){var e=this.predecessors(t);if(e)return O(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;a.A(this._nodes,(function(r,n){t(n)&&e.setNode(n,r)})),a.A(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,r.edge(t))}));var n={};function o(t){var i=r.parent(t);return void 0===i||e.hasNode(i)?(n[t]=i,i):i in n?n[i]:o(i)}return this._isCompound&&a.A(e.nodes(),(function(t){e.setParent(t,o(t))})),e}setDefaultEdgeLabel(t){return i.A(t)||(t=o.A(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return C.A(this._edgeObjs)}setPath(t,e){var r=this,n=arguments;return E.A(t,(function(t,o){return n.length>1?r.setEdge(t,o,e):r.setEdge(t,o),o})),this}setEdge(){var t,e,r,o,i=!1,s=arguments[0];"object"==typeof s&&null!==s&&"v"in s?(t=s.v,e=s.w,r=s.name,2===arguments.length&&(o=arguments[1],i=!0)):(t=s,e=arguments[1],r=arguments[3],arguments.length>2&&(o=arguments[2],i=!0)),t=""+t,e=""+e,f.A(r)||(r=""+r);var u=M(this._isDirected,t,e,r);if(n.A(this._edgeLabels,u))return i&&(this._edgeLabels[u]=o),this;if(!f.A(r)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[u]=i?o:this._defaultEdgeLabelFn(t,e,r);var c=function(t,e,r,n){var o=""+e,i=""+r;if(!t&&o>i){var s=o;o=i,i=s}var u={v:o,w:i};return n&&(u.name=n),u}(this._isDirected,t,e,r);return t=c.v,e=c.w,Object.freeze(c),this._edgeObjs[u]=c,F(this._preds[e],t),F(this._sucs[t],e),this._in[e][u]=c,this._out[t][u]=c,this._edgeCount++,this}edge(t,e,r){var n=1===arguments.length?k(this._isDirected,arguments[0]):M(this._isDirected,t,e,r);return this._edgeLabels[n]}hasEdge(t,e,r){var o=1===arguments.length?k(this._isDirected,arguments[0]):M(this._isDirected,t,e,r);return n.A(this._edgeLabels,o)}removeEdge(t,e,r){var n=1===arguments.length?k(this._isDirected,arguments[0]):M(this._isDirected,t,e,r),o=this._edgeObjs[n];return o&&(t=o.v,e=o.w,delete this._edgeLabels[n],delete this._edgeObjs[n],P(this._preds[e],t),P(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=C.A(r);return e?u.A(n,(function(t){return t.v===e})):n}}outEdges(t,e){var r=this._out[t];if(r){var n=C.A(r);return e?u.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 F(t,e){t[e]?t[e]++:t[e]=1}function P(t,e){--t[e]||delete t[e]}function M(t,e,r,n){var o=""+e,i=""+r;if(!t&&o>i){var s=o;o=i,i=s}return o+D+i+D+(f.A(n)?L:n)}function k(t,e){return M(t,e.v,e.w,e.name)}S.prototype._nodeCount=0,S.prototype._edgeCount=0},33104:(t,e,r)=>{r.d(e,{T:()=>n.T});var n=r(16266)},98566:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(96942);function o(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new n.A;++e{r.d(e,{A:()=>n});const n=function(t,e){for(var r=-1,n=null==t?0:t.length;++r{r.d(e,{A:()=>n});const n=function(t,e){for(var r=-1,n=null==t?0:t.length,o=0,i=[];++r{r.d(e,{A:()=>n});const n=function(t,e){for(var r=-1,n=null==t?0:t.length,o=Array(n);++r{r.d(e,{A:()=>n});const n=function(t,e){for(var r=-1,n=e.length,o=t.length;++r{r.d(e,{A:()=>T});var n=r(61757),o=r(57361),i=r(13475),s=r(63775),u=r(73582);var c=r(78380);var a=r(25290),f=r(4575),h=r(88888);var A=r(2656),d=r(28495),l=r(24433);const v=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,A.A)(e,(0,h.A)(t)),t=(0,d.A)(t);return e}:l.A;var b=r(34290),_=r(94071);const p=function(t){return(0,_.A)(t,c.A,v)};var g=r(43146),j=Object.prototype.hasOwnProperty;var y=r(42869);var m=/\w*$/;var w=r(36737),O=w.A?w.A.prototype:void 0,C=O?O.valueOf:void 0;var E=r(33177);const L=function(t,e,r){var n,o,i,s=t.constructor;switch(e){case"[object ArrayBuffer]":return(0,y.A)(t);case"[object Boolean]":case"[object Date]":return new s(+t);case"[object DataView]":return function(t,e){var r=e?(0,y.A)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,E.A)(t,r);case"[object Map]":case"[object Set]":return new s;case"[object Number]":case"[object String]":return new s(t);case"[object RegExp]":return(i=new(o=t).constructor(o.source,m.exec(o))).lastIndex=o.lastIndex,i;case"[object Symbol]":return n=t,C?Object(C.call(n)):{}}};var N=r(46901),D=r(59681),S=r(98851),F=r(43738);var P=r(97253),M=r(31961),k=M.A&&M.A.isMap;const x=k?(0,P.A)(k):function(t){return(0,F.A)(t)&&"[object Map]"==(0,g.A)(t)};var I=r(5757);var U=M.A&&M.A.isSet;const z=U?(0,P.A)(U):function(t){return(0,F.A)(t)&&"[object Set]"==(0,g.A)(t)};var B="[object Arguments]",$="[object Function]",G="[object Object]",R={};R[B]=R["[object Array]"]=R["[object ArrayBuffer]"]=R["[object DataView]"]=R["[object Boolean]"]=R["[object Date]"]=R["[object Float32Array]"]=R["[object Float64Array]"]=R["[object Int8Array]"]=R["[object Int16Array]"]=R["[object Int32Array]"]=R["[object Map]"]=R["[object Number]"]=R[G]=R["[object RegExp]"]=R["[object Set]"]=R["[object String]"]=R["[object Symbol]"]=R["[object Uint8Array]"]=R["[object Uint8ClampedArray]"]=R["[object Uint16Array]"]=R["[object Uint32Array]"]=!0,R["[object Error]"]=R[$]=R["[object WeakMap]"]=!1;const T=function t(e,r,A,d,l,_){var y,m=1&r,w=2&r,O=4&r;if(A&&(y=l?A(e,d,l,_):A(e)),void 0!==y)return y;if(!(0,I.A)(e))return e;var C=(0,D.A)(e);if(C){if(y=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&j.call(t,"index")&&(r.index=t.index,r.input=t.input),r}(e),!m)return(0,f.A)(e,y)}else{var E=(0,g.A)(e),F=E==$||"[object GeneratorFunction]"==E;if((0,S.A)(e))return(0,a.A)(e,m);if(E==G||E==B||F&&!l){if(y=w||F?{}:(0,N.A)(e),!m)return w?function(t,e){return(0,s.A)(t,v(t),e)}(e,function(t,e){return t&&(0,s.A)(e,(0,c.A)(e),t)}(y,e)):function(t,e){return(0,s.A)(t,(0,h.A)(t),e)}(e,function(t,e){return t&&(0,s.A)(e,(0,u.A)(e),t)}(y,e))}else{if(!R[E])return l?e:{};y=L(e,E,m)}}_||(_=new n.A);var P=_.get(e);if(P)return P;_.set(e,y),z(e)?e.forEach((function(n){y.add(t(n,r,A,n,e,_))})):x(e)&&e.forEach((function(n,o){y.set(o,t(n,r,A,o,e,_))}));var M=O?w?p:b.A:w?c.A:u.A,k=C?void 0:M(e);return(0,o.A)(k||e,(function(n,o){k&&(n=e[o=n]),(0,i.A)(y,o,t(n,r,A,o,e,_))})),y}},78140:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(96081),o=r(26014);const i=(s=n.A,function(t,e){if(null==t)return t;if(!(0,o.A)(t))return s(t,e);for(var r=t.length,n=-1,i=Object(t);++n{r.d(e,{A:()=>n});const n=function(t,e,r,n){for(var o=t.length,i=r+(n?1:-1);n?i--:++i{r.d(e,{A:()=>a});var n=r(2656),o=r(36737),i=r(46047),s=r(59681),u=o.A?o.A.isConcatSpreadable:void 0;const c=function(t){return(0,s.A)(t)||(0,i.A)(t)||!!(u&&t&&t[u])},a=function t(e,r,o,i,s){var u=-1,a=e.length;for(o||(o=c),s||(s=[]);++u0&&o(f)?r>1?t(f,r-1,o,i,s):(0,n.A)(s,f):i||(s[s.length]=f)}return s}},96081:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(37055),o=r(73582);const i=function(t,e){return t&&(0,n.A)(t,e,o.A)}},21886:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(93953),o=r(37125);const i=function(t,e){for(var r=0,i=(e=(0,n.A)(e,t)).length;null!=t&&r{r.d(e,{A:()=>i});var n=r(2656),o=r(59681);const i=function(t,e,r){var i=e(t);return(0,o.A)(t)?i:(0,n.A)(i,r(t))}},78851:(t,e,r)=>{r.d(e,{A:()=>G});var n=r(61757),o=r(98566);const i=function(t,e){for(var r=-1,n=null==t?0:t.length;++rf))return!1;var A=c.get(t),d=c.get(e);if(A&&d)return A==e&&d==t;var l=-1,v=!0,b=2&r?new o.A:void 0;for(c.set(t,e),c.set(e,t);++l{r.d(e,{A:()=>n});const n=function(t){return function(e){return null==e?void 0:e[t]}}},69267:(t,e,r)=>{r.d(e,{A:()=>n});const n=function(t,e){return t.has(e)}},61986:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(86080);const o=function(t){return"function"==typeof t?t:n.A}},93953:(t,e,r)=>{r.d(e,{A:()=>A});var n=r(59681),o=r(68458),i=r(15128),s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g;const c=(a=(0,i.A)((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(s,(function(t,r,n,o){e.push(n?o.replace(u,"$1"):r||t)})),e}),(function(t){return 500===f.size&&f.clear(),t})),f=a.cache,a);var a,f,h=r(48318);const A=function(t,e){return(0,n.A)(t)?t:(0,o.A)(t,e)?[t]:c((0,h.A)(t))}},34290:(t,e,r)=>{r.d(e,{A:()=>s});var n=r(94071),o=r(88888),i=r(73582);const s=function(t){return(0,n.A)(t,i.A,o.A)}},88888:(t,e,r)=>{r.d(e,{A:()=>u});var n=r(55802),o=r(24433),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols;const u=s?function(t){return null==t?[]:(t=Object(t),(0,n.A)(s(t),(function(e){return i.call(t,e)})))}:o.A},68014:(t,e,r)=>{r.d(e,{A:()=>a});var n=r(93953),o=r(46047),i=r(59681),s=r(27065),u=r(49334),c=r(37125);const a=function(t,e,r){for(var a=-1,f=(e=(0,n.A)(e,t)).length,h=!1;++a{r.d(e,{A:()=>u});var n=r(59681),o=r(18506),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;const u=function(t,e){if((0,n.A)(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!(0,o.A)(t))||s.test(t)||!i.test(t)||null!=e&&t in Object(e)}},26231:(t,e,r)=>{r.d(e,{A:()=>n});const n=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},37125:(t,e,r)=>{r.d(e,{A:()=>o});var n=r(18506);const o=function(t){if("string"==typeof t||(0,n.A)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},21580:(t,e,r)=>{r.d(e,{A:()=>c});var n=r(55802),o=r(78140);const i=function(t,e){var r=[];return(0,o.A)(t,(function(t,n,o){e(t,n,o)&&r.push(t)})),r};var s=r(78851),u=r(59681);const c=function(t,e){return((0,u.A)(t)?n.A:i)(t,(0,s.A)(e,3))}},65866:(t,e,r)=>{r.d(e,{A:()=>u});var n=r(57361),o=r(78140),i=r(61986),s=r(59681);const u=function(t,e){return((0,s.A)(t)?n.A:o.A)(t,(0,i.A)(e))}},35662:(t,e,r)=>{r.d(e,{A:()=>s});var n=Object.prototype.hasOwnProperty;const o=function(t,e){return null!=t&&n.call(t,e)};var i=r(68014);const s=function(t,e){return null!=t&&(0,i.A)(t,e,o)}},65696:(t,e,r)=>{r.d(e,{A:()=>i});const n=function(t,e){return null!=t&&e in Object(t)};var o=r(68014);const i=function(t,e){return null!=t&&(0,o.A)(t,e,n)}},18506:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(25967),o=r(43738);const i=function(t){return"symbol"==typeof t||(0,o.A)(t)&&"[object Symbol]"==(0,n.A)(t)}},20616:(t,e,r)=>{r.d(e,{A:()=>n});const n=function(t){return void 0===t}},73582:(t,e,r)=>{r.d(e,{A:()=>s});var n=r(39113),o=r(99390),i=r(26014);const s=function(t){return(0,i.A)(t)?(0,n.A)(t):(0,o.A)(t)}},51590:(t,e,r)=>{r.d(e,{A:()=>c});const n=function(t,e,r,n){var o=-1,i=null==t?0:t.length;for(n&&i&&(r=t[++o]);++o{r.d(e,{A:()=>n});const n=function(){return[]}},48318:(t,e,r)=>{r.d(e,{A:()=>f});var n=r(36737),o=r(59796),i=r(59681),s=r(18506),u=n.A?n.A.prototype:void 0,c=u?u.toString:void 0;const a=function t(e){if("string"==typeof e)return e;if((0,i.A)(e))return(0,o.A)(e,t)+"";if((0,s.A)(e))return c?c.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r},f=function(t){return null==t?"":a(t)}},73174:(t,e,r)=>{r.d(e,{A:()=>i});var n=r(59796);var o=r(73582);const i=function(t){return null==t?[]:function(t,e){return(0,n.A)(e,(function(e){return t[e]}))}(t,(0,o.A)(t))}}}]); \ No newline at end of file diff --git a/assets/chunk.179c63bd0e1d67967546.js.br b/assets/chunk.179c63bd0e1d67967546.js.br new file mode 100644 index 00000000..1e5aae1b Binary files /dev/null and b/assets/chunk.179c63bd0e1d67967546.js.br differ diff --git a/assets/chunk.179c63bd0e1d67967546.js.gz b/assets/chunk.179c63bd0e1d67967546.js.gz new file mode 100644 index 00000000..33716a68 Binary files /dev/null and b/assets/chunk.179c63bd0e1d67967546.js.gz differ diff --git a/assets/chunk.2c1df27a14de068956fe.js b/assets/chunk.2c1df27a14de068956fe.js new file mode 100644 index 00000000..07fa66d2 --- /dev/null +++ b/assets/chunk.2c1df27a14de068956fe.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[278],{7160:(e,t,n)=>{n.d(t,{M:()=>d});var r=n(20616),i=n(90069),a=n(12274);function d(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:o(e),edges:l(e)};return r.A(e.graph())||(t.value=i.A(e.graph())),t}function o(e){return a.A(e.nodes(),(function(t){var n=e.node(t),i=e.parent(t),a={v:t};return r.A(n)||(a.value=n),r.A(i)||(a.parent=i),a}))}function l(e){return a.A(e.edges(),(function(t){var n=e.edge(t),i={v:t.v,w:t.w};return r.A(t.name)||(i.name=t.name),r.A(n)||(i.value=n),i}))}n(16266)},90069:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97584);const i=function(e){return(0,r.A)(e,4)}},99278:(e,t,n)=>{n.d(t,{r:()=>E});var r=n(72794),i=n(7160),a=n(75398),d=n(59659),o=n(33104),l=n(73498),s=n(84017);let c={},h={},g={};const f=(e,t)=>(d.l.trace("In isDescendant",t," ",e," = ",h[t].includes(e)),!!h[t].includes(e)),u=(e,t,n,r)=>{d.l.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),d.l.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach((i=>{if(t.children(i).length>0)u(i,t,n,r);else{const a=t.node(i);d.l.info("cp ",i," to ",r," with parent ",e),n.setNode(i,a),r!==t.parent(i)&&(d.l.warn("Setting parent",i,t.parent(i)),n.setParent(i,t.parent(i))),e!==r&&i!==e?(d.l.debug("Setting parent",i,e),n.setParent(i,e)):(d.l.info("In copy ",e,"root",r,"data",t.node(e),r),d.l.debug("Not Setting parent for node=",i,"cluster!==rootId",e!==r,"node!==clusterId",i!==e));const o=t.edges(i);d.l.debug("Copying Edges",o),o.forEach((i=>{d.l.info("Edge",i);const a=t.edge(i.v,i.w,i.name);d.l.info("Edge data",a,r);try{((e,t)=>(d.l.info("Descendants of ",t," is ",h[t]),d.l.info("Edge is ",e),e.v!==t&&e.w!==t&&(h[t]?h[t].includes(e.v)||f(e.v,t)||f(e.w,t)||h[t].includes(e.w):(d.l.debug("Tilt, ",t,",not in descendants"),!1))))(i,r)?(d.l.info("Copying as ",i.v,i.w,a,i.name),n.setEdge(i.v,i.w,a,i.name),d.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):d.l.info("Skipping copy of edge ",i.v,"--\x3e",i.w," rootId: ",r," clusterId:",e)}catch(e){d.l.error(e)}}))}d.l.debug("Removing node",i),t.removeNode(i)}))},w=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)g[i]=e,r=[...r,...w(i,t)];return r},p=(e,t)=>{d.l.trace("Searching",e);const n=t.children(e);if(d.l.trace("Searching children of id ",e,n),n.length<1)return d.l.trace("This is a valid node",e),e;for(const r of n){const n=p(r,t);if(n)return d.l.trace("Found replacement for",e," => ",n),n}},v=e=>c[e]&&c[e].externalConnections&&c[e]?c[e].id:e,y=(e,t)=>{if(d.l.warn("extractor - ",t,i.M(e),e.children("D")),t>10)return void d.l.error("Bailing out");let n=e.nodes(),r=!1;for(const t of n){const n=e.children(t);r=r||n.length>0}if(r){d.l.debug("Nodes = ",n,t);for(const r of n)if(d.l.debug("Extracting node",r,c,c[r]&&!c[r].externalConnections,!e.parent(r),e.node(r),e.children("D")," Depth ",t),c[r])if(!c[r].externalConnections&&e.children(r)&&e.children(r).length>0){d.l.warn("Cluster without external connections, without a parent and with children",r,t);let n="TB"===e.graph().rankdir?"LR":"TB";c[r]&&c[r].clusterData&&c[r].clusterData.dir&&(n=c[r].clusterData.dir,d.l.warn("Fixing dir",c[r].clusterData.dir,n));const a=new o.T({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));d.l.warn("Old graph before copy",i.M(e)),u(r,e,a,r),e.setNode(r,{clusterNode:!0,id:r,clusterData:c[r].clusterData,labelText:c[r].labelText,graph:a}),d.l.warn("New graph after copy node: (",r,")",i.M(a)),d.l.debug("Old graph after copy",i.M(e))}else d.l.warn("Cluster ** ",r," **not meeting the criteria !externalConnections:",!c[r].externalConnections," no parent: ",!e.parent(r)," children ",e.children(r)&&e.children(r).length>0,e.children("D"),t),d.l.debug(c);else d.l.debug("Not a cluster",r,t);n=e.nodes(),d.l.warn("New list of nodes",n);for(const r of n){const n=e.node(r);d.l.warn(" Now next level",r,n),n.clusterNode&&y(n.graph,t+1)}}else d.l.debug("Done, no node has children",e.nodes())},x=(e,t)=>{if(0===t.length)return[];let n=Object.assign(t);return t.forEach((t=>{const r=e.children(t),i=x(e,r);n=[...n,...i]})),n},m={rect:(e,t)=>{d.l.info("Creating subgraph rect for ",t.id,t);const n=(0,d.c)(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),o=(0,d.m)(n.flowchart.htmlLabels),c=r.insert("g").attr("class","cluster-label"),h="markdown"===t.labelType?(0,l.a)(c,t.labelText,{style:t.labelStyle,useHtmlLabels:o}):c.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let g=h.getBBox();if((0,d.m)(n.flowchart.htmlLabels)){const e=h.children[0],t=(0,s.Ltv)(h);g=e.getBoundingClientRect(),t.attr("width",g.width),t.attr("height",g.height)}const f=0*t.padding,u=f/2,w=t.width<=g.width+f?g.width+f:t.width;t.width<=g.width+f?t.diff=(g.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,d.l.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-w/2).attr("y",t.y-t.height/2-u).attr("width",w).attr("height",t.height+f);const{subGraphTitleTopMargin:p}=(0,a.g)(n);o?c.attr("transform",`translate(${t.x-g.width/2}, ${t.y-t.height/2+p})`):c.attr("transform",`translate(${t.x}, ${t.y-t.height/2+p})`);const v=i.node().getBBox();return t.width=v.width,t.height=v.height,t.intersect=function(e){return(0,a.i)(t,e)},r},roundedWithTitle:(e,t)=>{const n=(0,d.c)(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),o=r.insert("g").attr("class","cluster-label"),l=r.append("rect"),c=o.node().appendChild((0,a.c)(t.labelText,t.labelStyle,void 0,!0));let h=c.getBBox();if((0,d.m)(n.flowchart.htmlLabels)){const e=c.children[0],t=(0,s.Ltv)(c);h=e.getBoundingClientRect(),t.attr("width",h.width),t.attr("height",h.height)}h=c.getBBox();const g=0*t.padding,f=g/2,u=t.width<=h.width+t.padding?h.width+t.padding:t.width;t.width<=h.width+t.padding?t.diff=(h.width+0*t.padding-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-u/2-f).attr("y",t.y-t.height/2-f).attr("width",u+g).attr("height",t.height+g),l.attr("class","inner").attr("x",t.x-u/2-f).attr("y",t.y-t.height/2-f+h.height-1).attr("width",u+g).attr("height",t.height+g-h.height-3);const{subGraphTitleTopMargin:w}=(0,a.g)(n);o.attr("transform",`translate(${t.x-h.width/2}, ${t.y-t.height/2-t.padding/3+((0,d.m)(n.flowchart.htmlLabels)?5:3)+w})`);const p=i.node().getBBox();return t.height=p.height,t.intersect=function(e){return(0,a.i)(t,e)},r},noteGroup:(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,d=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-d).attr("y",t.y-t.height/2-d).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return(0,a.i)(t,e)},n},divider:(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,d=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-d).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.diff=-t.padding/2,t.intersect=function(e){return(0,a.i)(t,e)},n}};let b={};const C=async(e,t,n,o,l,s)=>{d.l.info("Graph in recursive render: XXX",i.M(t),l);const h=t.graph().rankdir;d.l.trace("Dir in recursive render - dir:",h);const g=e.insert("g").attr("class","root");t.nodes()?d.l.info("Recursive render XXX",t.nodes()):d.l.info("No nodes found for",t),t.edges().length>0&&d.l.trace("Recursive edges",t.edge(t.edges()[0]));const f=g.insert("g").attr("class","clusters"),u=g.insert("g").attr("class","edgePaths"),w=g.insert("g").attr("class","edgeLabels"),v=g.insert("g").attr("class","nodes");await Promise.all(t.nodes().map((async function(e){const r=t.node(e);if(void 0!==l){const n=JSON.parse(JSON.stringify(l.clusterData));d.l.info("Setting data for cluster XXX (",e,") ",n,l),t.setNode(l.id,n),t.parent(e)||(d.l.trace("Setting parent",e,l.id),t.setParent(e,l.id,n))}if(d.l.info("(Insert) Node XXX"+e+": "+JSON.stringify(t.node(e))),r&&r.clusterNode){d.l.info("Cluster identified",e,r.width,t.node(e));const i=await C(v,r.graph,n,o,t.node(e),s),l=i.elem;(0,a.u)(r,l),r.diff=i.diff||0,d.l.info("Node bounds (abc123)",e,r,r.width,r.x,r.y),(0,a.s)(l,r),d.l.warn("Recursive render complete ",l,r)}else t.children(e).length>0?(d.l.info("Cluster - the non recursive path XXX",e,r.id,r,t),d.l.info(p(r.id,t)),c[r.id]={id:p(r.id,t),node:r}):(d.l.info("Node - the non recursive path",e,r.id,r),await(0,a.e)(v,t.node(e),h))}))),t.edges().forEach((function(e){const n=t.edge(e.v,e.w,e.name);d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),d.l.info("Edge "+e.v+" -> "+e.w+": ",e," ",JSON.stringify(t.edge(e))),d.l.info("Fix",c,"ids:",e.v,e.w,"Translating: ",c[e.v],c[e.w]),(0,a.f)(w,n)})),t.edges().forEach((function(e){d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e))})),d.l.info("#############################################"),d.l.info("### Layout ###"),d.l.info("#############################################"),d.l.info(t),(0,r.Zp)(t),d.l.info("Graph after layout:",i.M(t));let y=0;const{subGraphTitleTotalMargin:E}=(0,a.g)(s);return(e=>x(e,e.children()))(t).forEach((function(e){const n=t.node(e);d.l.info("Position "+e+": "+JSON.stringify(t.node(e))),d.l.info("Position "+e+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(n.y+=E,(0,a.p)(n)):t.children(e).length>0?(n.height+=E,((e,t)=>{d.l.trace("Inserting cluster");const n=t.shape||"rect";b[t.id]=m[n](e,t)})(f,n),c[n.id].node=n):(n.y+=E/2,(0,a.p)(n))})),t.edges().forEach((function(e){const r=t.edge(e);d.l.info("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r),r),r.points.forEach((e=>e.y+=E/2));const i=(0,a.h)(u,e,r,c,n,t,o);(0,a.j)(r,i)})),t.nodes().forEach((function(e){const n=t.node(e);d.l.info(e,n.type,n.diff),"group"===n.type&&(y=n.diff)})),{elem:g,diff:y}},E=async(e,t,n,r,o)=>{(0,a.a)(e,n,r,o),(0,a.b)(),(0,a.d)(),b={},h={},g={},c={},d.l.warn("Graph at first:",JSON.stringify(i.M(t))),(e=>{if(e){d.l.debug("Opting in, graph "),e.nodes().forEach((function(t){e.children(t).length>0&&(d.l.warn("Cluster identified",t," Replacement id in edges: ",p(t,e)),h[t]=w(t,e),c[t]={id:p(t,e),clusterData:e.node(t)})})),e.nodes().forEach((function(t){const n=e.children(t),r=e.edges();n.length>0?(d.l.debug("Cluster identified",t,h),r.forEach((e=>{e.v!==t&&e.w!==t&&f(e.v,t)^f(e.w,t)&&(d.l.warn("Edge: ",e," leaves cluster ",t),d.l.warn("Descendants of XXX ",t,": ",h[t]),c[t].externalConnections=!0)}))):d.l.debug("Not a cluster ",t,h)}));for(let t of Object.keys(c)){const n=c[t].id,r=e.parent(n);r!==t&&c[r]&&!c[r].externalConnections&&(c[t].id=r)}e.edges().forEach((function(t){const n=e.edge(t);d.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),d.l.warn("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(e.edge(t)));let r=t.v,i=t.w;if(d.l.warn("Fix XXX",c,"ids:",t.v,t.w,"Translating: ",c[t.v]," --- ",c[t.w]),c[t.v]&&c[t.w]&&c[t.v]===c[t.w]){d.l.warn("Fixing and trixing link to self - removing XXX",t.v,t.w,t.name),d.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name);const a=t.w+"---"+t.v;e.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=structuredClone(n),l=structuredClone(n);o.label="",o.arrowTypeEnd="none",l.label="",o.fromCluster=t.v,l.toCluster=t.v,e.setEdge(r,a,o,t.name+"-cyclic-special"),e.setEdge(a,i,l,t.name+"-cyclic-special")}else if(c[t.v]||c[t.w]){if(d.l.warn("Fixing and trixing - removing XXX",t.v,t.w,t.name),r=v(t.v),i=v(t.w),e.removeEdge(t.v,t.w,t.name),r!==t.v){const i=e.parent(r);c[i].externalConnections=!0,n.fromCluster=t.v}if(i!==t.w){const r=e.parent(i);c[r].externalConnections=!0,n.toCluster=t.w}d.l.warn("Fix Replacing with XXX",r,i,t.name),e.setEdge(r,i,n,t.name)}})),d.l.warn("Adjusted Graph",i.M(e)),y(e,0),d.l.trace(c)}else d.l.debug("Opting out, no graph ")})(t),d.l.warn("Graph after:",JSON.stringify(i.M(t)));const l=(0,d.c)();await C(e,t,r,o,void 0,l)}}}]); \ No newline at end of file diff --git a/assets/chunk.2c1df27a14de068956fe.js.br b/assets/chunk.2c1df27a14de068956fe.js.br new file mode 100644 index 00000000..9925387f Binary files /dev/null and b/assets/chunk.2c1df27a14de068956fe.js.br differ diff --git a/assets/chunk.2c1df27a14de068956fe.js.gz b/assets/chunk.2c1df27a14de068956fe.js.gz new file mode 100644 index 00000000..a6079ad3 Binary files /dev/null and b/assets/chunk.2c1df27a14de068956fe.js.gz differ diff --git a/assets/chunk.2e5774b755f21e2c78ba.js b/assets/chunk.2e5774b755f21e2c78ba.js new file mode 100644 index 00000000..d53b3d65 --- /dev/null +++ b/assets/chunk.2e5774b755f21e2c78ba.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[745],{3745:(t,e,s)=>{s.d(e,{d:()=>B,p:()=>r,s:()=>D});var n=s(84017),i=s(59659),u=function(){var t=function(t,e,s,n){for(s=s||{},n=t.length;n--;s[t[n]]=e);return s},e=[1,17],s=[1,18],n=[1,19],i=[1,39],u=[1,40],r=[1,25],a=[1,23],c=[1,24],o=[1,31],l=[1,32],h=[1,33],A=[1,34],p=[1,35],d=[1,36],y=[1,26],E=[1,27],C=[1,28],m=[1,29],f=[1,43],b=[1,30],F=[1,42],g=[1,44],k=[1,41],T=[1,45],B=[1,9],D=[1,8,9],_=[1,56],S=[1,57],N=[1,58],L=[1,59],$=[1,60],v=[1,61],O=[1,62],x=[1,8,9,39],I=[1,74],R=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],w=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],P=[13,74,80,95,97,98],M=[13,64,65,74,80,95,97,98],G=[13,59,60,61,62,63,74,80,95,97,98],U=[1,93],z=[1,110],K=[1,108],Y=[1,102],j=[1,103],Q=[1,104],X=[1,105],W=[1,106],q=[1,107],H=[1,109],J=[1,8,9,37,39,42],V=[1,8,9,21],Z=[1,8,9,78],tt=[1,8,9,21,73,74,78,80,81,82,83,84,85],et={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(t,e,s,n,i,u,r){var a=u.length-1;switch(i){case 8:this.$=u[a-1];break;case 9:case 11:case 12:this.$=u[a];break;case 10:case 13:case 89:this.$=u[a-1]+u[a];break;case 14:case 15:this.$=u[a-1]+"~"+u[a]+"~";break;case 16:n.addRelation(u[a]);break;case 17:u[a-1].title=n.cleanupLabel(u[a]),n.addRelation(u[a-1]);break;case 27:this.$=u[a].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=u[a].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(u[a-3],u[a-1]);break;case 31:n.addClassesToNamespace(u[a-4],u[a-1]);break;case 32:this.$=u[a],n.addNamespace(u[a]);break;case 33:case 43:case 86:this.$=[u[a]];break;case 34:this.$=[u[a-1]];break;case 35:u[a].unshift(u[a-2]),this.$=u[a];break;case 37:n.setCssClass(u[a-2],u[a]);break;case 38:n.addMembers(u[a-3],u[a-1]);break;case 39:n.setCssClass(u[a-5],u[a-3]),n.addMembers(u[a-5],u[a-1]);break;case 40:this.$=u[a],n.addClass(u[a]);break;case 41:this.$=u[a-1],n.addClass(u[a-1]),n.setClassLabel(u[a-1],u[a]);break;case 42:n.addAnnotation(u[a],u[a-2]);break;case 44:u[a].push(u[a-1]),this.$=u[a];break;case 45:case 47:case 48:break;case 46:n.addMember(u[a-1],n.cleanupLabel(u[a]));break;case 49:this.$={id1:u[a-2],id2:u[a],relation:u[a-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:u[a-3],id2:u[a],relation:u[a-1],relationTitle1:u[a-2],relationTitle2:"none"};break;case 51:this.$={id1:u[a-3],id2:u[a],relation:u[a-2],relationTitle1:"none",relationTitle2:u[a-1]};break;case 52:this.$={id1:u[a-4],id2:u[a],relation:u[a-2],relationTitle1:u[a-3],relationTitle2:u[a-1]};break;case 53:n.addNote(u[a],u[a-1]);break;case 54:n.addNote(u[a]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:u[a-2],type2:u[a],lineType:u[a-1]};break;case 60:this.$={type1:"none",type2:u[a],lineType:u[a-1]};break;case 61:this.$={type1:u[a-1],type2:"none",lineType:u[a]};break;case 62:this.$={type1:"none",type2:"none",lineType:u[a]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=u[a-2],n.setClickEvent(u[a-1],u[a]);break;case 71:case 77:this.$=u[a-3],n.setClickEvent(u[a-2],u[a-1]),n.setTooltip(u[a-2],u[a]);break;case 72:this.$=u[a-2],n.setLink(u[a-1],u[a]);break;case 73:this.$=u[a-3],n.setLink(u[a-2],u[a-1],u[a]);break;case 74:this.$=u[a-3],n.setLink(u[a-2],u[a-1]),n.setTooltip(u[a-2],u[a]);break;case 75:this.$=u[a-4],n.setLink(u[a-3],u[a-2],u[a]),n.setTooltip(u[a-3],u[a-1]);break;case 78:this.$=u[a-3],n.setClickEvent(u[a-2],u[a-1],u[a]);break;case 79:this.$=u[a-4],n.setClickEvent(u[a-3],u[a-2],u[a-1]),n.setTooltip(u[a-3],u[a]);break;case 80:this.$=u[a-3],n.setLink(u[a-2],u[a]);break;case 81:this.$=u[a-4],n.setLink(u[a-3],u[a-1],u[a]);break;case 82:this.$=u[a-4],n.setLink(u[a-3],u[a-1]),n.setTooltip(u[a-3],u[a]);break;case 83:this.$=u[a-5],n.setLink(u[a-4],u[a-2],u[a]),n.setTooltip(u[a-4],u[a-1]);break;case 84:this.$=u[a-2],n.setCssStyle(u[a-1],u[a]);break;case 85:n.setCssClass(u[a-1],u[a]);break;case 87:u[a-2].push(u[a]),this.$=u[a-2]}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:e,33:s,35:n,36:21,40:i,41:22,44:u,45:r,47:a,48:c,50:o,52:l,53:h,54:A,55:p,56:d,66:y,67:E,69:C,73:m,74:f,76:b,80:F,95:g,97:k,98:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(B,[2,5],{8:[1,46]}),{8:[1,47]},t(D,[2,16],{21:[1,48]}),t(D,[2,18]),t(D,[2,19]),t(D,[2,20]),t(D,[2,21]),t(D,[2,22]),t(D,[2,23]),t(D,[2,24]),t(D,[2,25]),t(D,[2,26]),{32:[1,49]},{34:[1,50]},t(D,[2,29]),t(D,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:_,60:S,61:N,62:L,63:$,64:v,65:O}),{37:[1,63]},t(x,[2,36],{37:[1,65],42:[1,64]}),t(D,[2,47]),t(D,[2,48]),{16:66,74:f,80:F,95:g,97:k},{16:37,17:67,18:38,74:f,80:F,95:g,97:k,98:T},{16:37,17:68,18:38,74:f,80:F,95:g,97:k,98:T},{16:37,17:69,18:38,74:f,80:F,95:g,97:k,98:T},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:f,80:F,95:g,97:k,98:T},{13:I,51:73},t(D,[2,55]),t(D,[2,56]),t(D,[2,57]),t(D,[2,58]),t(R,[2,11],{16:37,18:38,17:75,19:[1,76],74:f,80:F,95:g,97:k,98:T}),t(R,[2,12],{19:[1,77]}),{15:78,16:79,74:f,80:F,95:g,97:k},{16:37,17:80,18:38,74:f,80:F,95:g,97:k,98:T},t(w,[2,112]),t(w,[2,113]),t(w,[2,114]),t(w,[2,115]),t([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),t(B,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:e,33:s,35:n,40:i,44:u,45:r,47:a,48:c,50:o,52:l,53:h,54:A,55:p,56:d,66:y,67:E,69:C,73:m,74:f,76:b,80:F,95:g,97:k,98:T}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:e,33:s,35:n,36:21,40:i,41:22,44:u,45:r,47:a,48:c,50:o,52:l,53:h,54:A,55:p,56:d,66:y,67:E,69:C,73:m,74:f,76:b,80:F,95:g,97:k,98:T},t(D,[2,17]),t(D,[2,27]),t(D,[2,28]),{13:[1,84],16:37,17:83,18:38,74:f,80:F,95:g,97:k,98:T},{49:85,57:54,58:55,59:_,60:S,61:N,62:L,63:$,64:v,65:O},t(D,[2,46]),{58:86,64:v,65:O},t(P,[2,62],{57:87,59:_,60:S,61:N,62:L,63:$}),t(M,[2,63]),t(M,[2,64]),t(M,[2,65]),t(M,[2,66]),t(M,[2,67]),t(G,[2,68]),t(G,[2,69]),{8:[1,89],23:90,38:88,41:22,44:u},{16:91,74:f,80:F,95:g,97:k},{43:92,47:U},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:z,73:K,74:Y,75:99,77:100,79:101,80:j,81:Q,82:X,83:W,84:q,85:H},{74:[1,111]},{13:I,51:112},t(D,[2,54]),t(D,[2,117]),t(R,[2,13]),t(R,[2,14]),t(R,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:f,80:F,95:g,97:k},t(J,[2,40],{11:114,12:[1,115]}),t(B,[2,7]),{9:[1,116]},t(V,[2,49]),{16:37,17:117,18:38,74:f,80:F,95:g,97:k,98:T},{13:[1,119],16:37,17:118,18:38,74:f,80:F,95:g,97:k,98:T},t(P,[2,61],{57:120,59:_,60:S,61:N,62:L,63:$}),t(P,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:u},{8:[1,123],39:[2,33]},t(x,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:U},{16:37,17:127,18:38,74:f,80:F,95:g,97:k,98:T},t(D,[2,70],{13:[1,128]}),t(D,[2,72],{13:[1,130],68:[1,129]}),t(D,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},t(D,[2,84],{78:[1,134]}),t(Z,[2,86],{79:135,21:z,73:K,74:Y,80:j,81:Q,82:X,83:W,84:q,85:H}),t(tt,[2,88]),t(tt,[2,90]),t(tt,[2,91]),t(tt,[2,92]),t(tt,[2,93]),t(tt,[2,94]),t(tt,[2,95]),t(tt,[2,96]),t(tt,[2,97]),t(tt,[2,98]),t(D,[2,85]),t(D,[2,53]),{37:[2,10]},t(J,[2,41]),{13:[1,136]},{1:[2,4]},t(V,[2,51]),t(V,[2,50]),{16:37,17:137,18:38,74:f,80:F,95:g,97:k,98:T},t(P,[2,59]),t(D,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:u},{43:140,47:U},t(x,[2,38]),{39:[2,44]},t(D,[2,42]),t(D,[2,71]),t(D,[2,73]),t(D,[2,74],{68:[1,141]}),t(D,[2,77]),t(D,[2,78],{13:[1,142]}),t(D,[2,80],{13:[1,144],68:[1,143]}),{21:z,73:K,74:Y,77:145,79:101,80:j,81:Q,82:X,83:W,84:q,85:H},t(tt,[2,89]),{14:[1,146]},t(V,[2,52]),t(D,[2,31]),{39:[2,35]},{39:[1,147]},t(D,[2,75]),t(D,[2,79]),t(D,[2,81]),t(D,[2,82],{68:[1,148]}),t(Z,[2,87],{79:135,21:z,73:K,74:Y,80:j,81:Q,82:X,83:W,84:q,85:H}),t(J,[2,8]),t(x,[2,39]),t(D,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},parse:function(t){var e=[0],s=[],n=[null],i=[],u=this.table,r="",a=0,c=0,o=i.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var A in this.yy)Object.prototype.hasOwnProperty.call(this.yy,A)&&(h.yy[A]=this.yy[A]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var p=l.yylloc;i.push(p);var d=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,E,C,m,f,b,F,g,k,T={};;){if(E=e[e.length-1],this.defaultActions[E]?C=this.defaultActions[E]:(null==y&&(k=void 0,"number"!=typeof(k=s.pop()||l.lex()||1)&&(k instanceof Array&&(k=(s=k).pop()),k=this.symbols_[k]||k),y=k),C=u[E]&&u[E][y]),void 0===C||!C.length||!C[0]){var B;for(f in g=[],u[E])this.terminals_[f]&&f>2&&g.push("'"+this.terminals_[f]+"'");B=l.showPosition?"Parse error on line "+(a+1)+":\n"+l.showPosition()+"\nExpecting "+g.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(B,{text:l.match,token:this.terminals_[y]||y,line:l.yylineno,loc:p,expected:g})}if(C[0]instanceof Array&&C.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+y);switch(C[0]){case 1:e.push(y),n.push(l.yytext),i.push(l.yylloc),e.push(C[1]),y=null,c=l.yyleng,r=l.yytext,a=l.yylineno,p=l.yylloc;break;case 2:if(b=this.productions_[C[1]][1],T.$=n[n.length-b],T._$={first_line:i[i.length-(b||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(b||1)].first_column,last_column:i[i.length-1].last_column},d&&(T._$.range=[i[i.length-(b||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(T,[r,c,a,h.yy,C[1],n,i].concat(o))))return m;b&&(e=e.slice(0,-1*b*2),n=n.slice(0,-1*b),i=i.slice(0,-1*b)),e.push(this.productions_[C[1]][0]),n.push(T.$),i.push(T._$),F=u[e[e.length-2]][e[e.length-1]],e.push(F);break;case 3:return!0}}return!0}},st={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===n.length?this.yylloc.first_column:0)+n[n.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var s,n,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var u in i)this[u]=i[u];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,s,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),u=0;ue[0].length)){if(e=s,n=u,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,i[u])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,s,n){switch(s){case 0:return 53;case 1:return 54;case 2:return 55;case 3:return 56;case 4:case 5:case 14:case 30:case 35:case 39:case 46:break;case 6:return this.begin("acc_title"),31;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),33;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 57:case 60:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 34:return 8;case 15:case 16:return 7;case 17:case 36:case 44:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 70;case 23:return 71;case 25:return"STR";case 26:this.begin("string");break;case 27:return 73;case 28:return this.begin("namespace"),40;case 29:case 38:return this.popState(),8;case 31:return this.begin("namespace-body"),37;case 32:case 42:return this.popState(),39;case 33:case 43:return"EOF_IN_STRUCT";case 37:return this.begin("class"),44;case 40:return this.popState(),this.popState(),39;case 41:return this.begin("class-body"),37;case 45:return"OPEN_IN_STRUCT";case 47:return"MEMBER";case 48:return 76;case 49:return 66;case 50:return 67;case 51:return 69;case 52:return 50;case 53:return 52;case 54:return 45;case 55:return 46;case 56:return 72;case 58:return"GENERICTYPE";case 59:this.begin("generic");break;case 61:return"BQUOTE_STR";case 62:this.begin("bqstring");break;case 63:case 64:case 65:case 66:return 68;case 67:case 68:return 60;case 69:case 70:return 62;case 71:return 61;case 72:return 59;case 73:return 63;case 74:return 64;case 75:return 65;case 76:return 21;case 77:return 42;case 78:return 95;case 79:return"DOT";case 80:return"PLUS";case 81:return 81;case 82:return 78;case 83:case 84:return 84;case 85:return 85;case 86:case 87:return"EQUALS";case 88:return 74;case 89:return 12;case 90:return 14;case 91:return"PUNCTUATION";case 92:return 80;case 93:return 97;case 94:case 95:return 83;case 96:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:style\b)/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?::)/,/^(?:,)/,/^(?:#)/,/^(?:#)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,32,33,34,35,36,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},namespace:{rules:[26,28,29,30,31,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},"class-body":{rules:[26,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},class:{rules:[26,38,39,40,41,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_descr:{rules:[9,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},acc_title:{rules:[7,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_args:{rules:[22,23,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},callback_name:{rules:[19,20,21,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},href:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},struct:{rules:[26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},generic:{rules:[26,48,49,50,51,52,53,54,55,56,57,58,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},bqstring:{rules:[26,48,49,50,51,52,53,54,55,56,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},string:{rules:[24,25,26,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,85,86,87,88,89,90,91,92,93,94,96],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,28,37,48,49,50,51,52,53,54,55,56,59,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96],inclusive:!0}}};function nt(){this.yy={}}return et.lexer=st,nt.prototype=et,et.Parser=nt,new nt}();u.parser=u;const r=u,a=["#","+","~","-",""];class c{constructor(t,e){this.memberType=e,this.visibility="",this.classifier="";const s=(0,i.d)(t,(0,i.c)());this.parseMember(s)}getDisplayDetails(){let t=this.visibility+(0,i.x)(this.id);return"method"===this.memberType&&(t+=`(${(0,i.x)(this.parameters.trim())})`,this.returnType&&(t+=" : "+(0,i.x)(this.returnType))),t=t.trim(),{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const s=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/,n=t.match(s);if(n){const t=n[1]?n[1].trim():"";if(a.includes(t)&&(this.visibility=t),this.id=n[2].trim(),this.parameters=n[3]?n[3].trim():"",e=n[4]?n[4].trim():"",this.returnType=n[5]?n[5].trim():"",""===e){const t=this.returnType.substring(this.returnType.length-1);t.match(/[$*]/)&&(e=t,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const s=t.length,n=t.substring(0,1),i=t.substring(s-1);a.includes(n)&&(this.visibility=n),i.match(/[$*]/)&&(e=i),this.id=t.substring(""===this.visibility?0:1,""===e?s:s-1)}this.classifier=e}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}const o="classId-";let l=[],h={},A=[],p=0,d={},y=0,E=[];const C=t=>i.e.sanitizeText(t,(0,i.c)()),m=function(t){const e=i.e.sanitizeText(t,(0,i.c)());let s="",n=e;if(e.indexOf("~")>0){const t=e.split("~");n=C(t[0]),s=C(t[1])}return{className:n,type:s}},f=function(t){const e=i.e.sanitizeText(t,(0,i.c)()),{className:s,type:n}=m(e);if(Object.hasOwn(h,s))return;const u=i.e.sanitizeText(s,(0,i.c)());h[u]={id:u,type:n,label:u,cssClasses:[],methods:[],members:[],annotations:[],styles:[],domId:o+u+"-"+p},p++},b=function(t){const e=i.e.sanitizeText(t,(0,i.c)());if(e in h)return h[e].domId;throw new Error("Class not found: "+e)},F=function(t,e){f(t);const s=m(t).className,n=h[s];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?n.annotations.push(C(t.substring(2,t.length-2))):t.indexOf(")")>0?n.methods.push(new c(t,"method")):t&&n.members.push(new c(t,"attribute"))}},g=function(t,e){t.split(",").forEach((function(t){let s=t;t[0].match(/\d/)&&(s=o+s),void 0!==h[s]&&h[s].cssClasses.push(e)}))},k=function(t){let e=(0,n.Ltv)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,n.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,n.Ltv)(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=(0,n.Ltv)(this);if(null===t.attr("title"))return;const s=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+s.left+(s.right-s.left)/2+"px").style("top",window.scrollY+s.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"
")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,n.Ltv)(this).classed("hover",!1)}))};E.push(k);let T="TB";const B={setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,getConfig:()=>(0,i.c)().class,addClass:f,bindFunctions:function(t){E.forEach((function(e){e(t)}))},clear:function(){l=[],h={},A=[],E=[],E.push(k),d={},y=0,(0,i.v)()},getClass:function(t){return h[t]},getClasses:function(){return h},getNotes:function(){return A},addAnnotation:function(t,e){const s=m(t).className;h[s].annotations.push(e)},addNote:function(t,e){const s={id:`note${A.length}`,class:e,text:t};A.push(s)},getRelations:function(){return l},addRelation:function(t){i.l.debug("Adding relation: "+JSON.stringify(t)),f(t.id1),f(t.id2),t.id1=m(t.id1).className,t.id2=m(t.id2).className,t.relationTitle1=i.e.sanitizeText(t.relationTitle1.trim(),(0,i.c)()),t.relationTitle2=i.e.sanitizeText(t.relationTitle2.trim(),(0,i.c)()),l.push(t)},getDirection:()=>T,setDirection:t=>{T=t},addMember:F,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>F(t,e))))},cleanupLabel:function(t){return t.startsWith(":")&&(t=t.substring(1)),C(t.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(t,e,s){t.split(",").forEach((function(t){(function(t,e,s){const n=i.e.sanitizeText(t,(0,i.c)());if("loose"!==(0,i.c)().securityLevel)return;if(void 0===e)return;const u=n;if(void 0!==h[u]){const t=b(u);let n=[];if("string"==typeof s){n=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t`g.classGroup text {\n fill: ${t.nodeBorder||t.classText};\n stroke: none;\n font-family: ${t.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${t.classText};\n}\n.edgeLabel .label rect {\n fill: ${t.mainBkg};\n}\n.label text {\n fill: ${t.classText};\n}\n.edgeLabel .label span {\n background: ${t.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${t.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${t.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n line-height: initial;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`}}]); \ No newline at end of file diff --git a/assets/chunk.2e5774b755f21e2c78ba.js.br b/assets/chunk.2e5774b755f21e2c78ba.js.br new file mode 100644 index 00000000..8ed366af Binary files /dev/null and b/assets/chunk.2e5774b755f21e2c78ba.js.br differ diff --git a/assets/chunk.2e5774b755f21e2c78ba.js.gz b/assets/chunk.2e5774b755f21e2c78ba.js.gz new file mode 100644 index 00000000..eac8eef3 Binary files /dev/null and b/assets/chunk.2e5774b755f21e2c78ba.js.gz differ diff --git a/assets/chunk.2ec8f4190b6755027da1.js b/assets/chunk.2ec8f4190b6755027da1.js new file mode 100644 index 00000000..77d827ee --- /dev/null +++ b/assets/chunk.2ec8f4190b6755027da1.js @@ -0,0 +1,2 @@ +/*! For license information please see chunk.2ec8f4190b6755027da1.js.LICENSE.txt */ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[546],{60546:(t,e,i)=>{i.d(e,{Chart:()=>Sn,Filler:()=>ro,Legend:()=>uo,LineController:()=>Gi,LineElement:()=>zn,LinearScale:()=>Lo,PointElement:()=>Wn,TimeScale:()=>Qo,Tooltip:()=>Po,_adapters:()=>ss});var s=i(75402);function n(t){return t+.5|0}const o=(t,e,i)=>Math.max(Math.min(t,i),e);function a(t){return o(n(2.55*t),0,255)}function r(t){return o(n(255*t),0,255)}function h(t){return o(n(t/2.55)/100,0,1)}function l(t){return o(n(100*t),0,100)}const c={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},d=[..."0123456789ABCDEF"],u=t=>d[15&t],f=t=>d[(240&t)>>4]+d[15&t],g=t=>(240&t)>>4==(15&t);const p=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function m(t,e,i){const s=e*Math.min(i,1-i),n=(e,n=(e+t/30)%12)=>i-s*Math.max(Math.min(n-3,9-n,1),-1);return[n(0),n(8),n(4)]}function x(t,e,i){const s=(s,n=(s+t/60)%6)=>i-i*e*Math.max(Math.min(n,4-n,1),0);return[s(5),s(3),s(1)]}function b(t,e,i){const s=m(t,1,.5);let n;for(e+i>1&&(n=1/(e+i),e*=n,i*=n),n=0;n<3;n++)s[n]*=1-e-i,s[n]+=e;return s}function _(t){const e=t.r/255,i=t.g/255,s=t.b/255,n=Math.max(e,i,s),o=Math.min(e,i,s),a=(n+o)/2;let r,h,l;return n!==o&&(l=n-o,h=a>.5?l/(2-n-o):l/(n+o),r=function(t,e,i,s,n){return t===n?(e-i)/s+(et<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,D=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function O(t,e,i){if(t){let s=_(t);s[e]=Math.max(0,Math.min(s[e]+s[e]*i,0===e?360:1)),s=v(s),t.r=s[0],t.g=s[1],t.b=s[2]}}function C(t,e){return t?Object.assign(e||{},t):t}function T(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=r(t[3]))):(e=C(t,{r:0,g:0,b:0,a:1})).a=r(e.a),e}function L(t){return"r"===t.charAt(0)?function(t){const e=A.exec(t);let i,s,n,r=255;if(e){if(e[7]!==i){const t=+e[7];r=e[8]?a(t):o(255*t,0,255)}return i=+e[1],s=+e[3],n=+e[5],i=255&(e[2]?a(i):o(i,0,255)),s=255&(e[4]?a(s):o(s,0,255)),n=255&(e[6]?a(n):o(n,0,255)),{r:i,g:s,b:n,a:r}}}(t):function(t){const e=p.exec(t);let i,s=255;if(!e)return;e[5]!==i&&(s=e[6]?a(+e[5]):r(+e[5]));const n=M(+e[2]),o=+e[3]/100,h=+e[4]/100;return i="hwb"===e[1]?function(t,e,i){return y(b,t,e,i)}(n,o,h):"hsv"===e[1]?function(t,e,i){return y(x,t,e,i)}(n,o,h):v(n,o,h),{r:i[0],g:i[1],b:i[2],a:s}}(t)}class E{constructor(t){if(t instanceof E)return t;const e=typeof t;let i;var s,n,o;"object"===e?i=T(t):"string"===e&&(o=(s=t).length,"#"===s[0]&&(4===o||5===o?n={r:255&17*c[s[1]],g:255&17*c[s[2]],b:255&17*c[s[3]],a:5===o?17*c[s[4]]:255}:7!==o&&9!==o||(n={r:c[s[1]]<<4|c[s[2]],g:c[s[3]]<<4|c[s[4]],b:c[s[5]]<<4|c[s[6]],a:9===o?c[s[7]]<<4|c[s[8]]:255})),i=n||function(t){S||(S=function(){const t={},e=Object.keys(k),i=Object.keys(w);let s,n,o,a,r;for(s=0;s>16&255,o>>8&255,255&o]}return t}(),S.transparent=[0,0,0,0]);const e=S[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||L(t)),this._rgb=i,this._valid=!!i}get valid(){return this._valid}get rgb(){var t=C(this._rgb);return t&&(t.a=h(t.a)),t}set rgb(t){this._rgb=T(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${h(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0;var t}hexString(){return this._valid?(t=this._rgb,e=(t=>g(t.r)&&g(t.g)&&g(t.b)&&g(t.a))(t)?u:f,t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0):void 0;var t,e}hslString(){return this._valid?function(t){if(!t)return;const e=_(t),i=e[0],s=l(e[1]),n=l(e[2]);return t.a<255?`hsla(${i}, ${s}%, ${n}%, ${h(t.a)})`:`hsl(${i}, ${s}%, ${n}%)`}(this._rgb):void 0}mix(t,e){if(t){const i=this.rgb,s=t.rgb;let n;const o=e===n?.5:e,a=2*o-1,r=i.a-s.a,h=((a*r==-1?a:(a+r)/(1+a*r))+1)/2;n=1-h,i.r=255&h*i.r+n*s.r+.5,i.g=255&h*i.g+n*s.g+.5,i.b=255&h*i.b+n*s.b+.5,i.a=o*i.a+(1-o)*s.a,this.rgb=i}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,i){const s=D(h(t.r)),n=D(h(t.g)),o=D(h(t.b));return{r:r(P(s+i*(D(h(e.r))-s))),g:r(P(n+i*(D(h(e.g))-n))),b:r(P(o+i*(D(h(e.b))-o))),a:t.a+i*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new E(this.rgb)}alpha(t){return this._rgb.a=r(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=n(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return O(this._rgb,2,t),this}darken(t){return O(this._rgb,2,-t),this}saturate(t){return O(this._rgb,1,t),this}desaturate(t){return O(this._rgb,1,-t),this}rotate(t){return function(t,e){var i=_(t);i[0]=M(i[0]+e),i=v(i),t.r=i[0],t.g=i[1],t.b=i[2]}(this._rgb,t),this}}function R(){}const I=(()=>{let t=0;return()=>t++})();function F(t){return null==t}function z(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function V(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function W(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function B(t,e){return W(t)?t:e}function N(t,e){return void 0===t?e:t}const H=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function j(t,e,i){if(t&&"function"==typeof t.call)return t.apply(i,e)}function $(t,e,i,s){let n,o,a;if(z(t))if(o=t.length,s)for(n=o-1;n>=0;n--)e.call(i,t[n],n);else for(n=0;nt,x:t=>t.x,y:t=>t.y};function Q(t,e){const i=J[e]||(J[e]=function(t){const e=function(t){const e=t.split("."),i=[];let s="";for(const t of e)s+=t,s.endsWith("\\")?s=s.slice(0,-1)+".":(i.push(s),s="");return i}(t);return t=>{for(const i of e){if(""===i)break;t=t&&t[i]}return t}}(e));return i(t)}function tt(t){return t.charAt(0).toUpperCase()+t.slice(1)}const et=t=>void 0!==t,it=t=>"function"==typeof t,st=(t,e)=>{if(t.size!==e.size)return!1;for(const i of t)if(!e.has(i))return!1;return!0},nt=Math.PI,ot=2*nt,at=ot+nt,rt=Number.POSITIVE_INFINITY,ht=nt/180,lt=nt/2,ct=nt/4,dt=2*nt/3,ut=Math.log10,ft=Math.sign;function gt(t,e,i){return Math.abs(t-e)h&&l=Math.min(e,i)-s&&t<=Math.max(e,i)+s}function Dt(t,e,i){i=i||(i=>t[i]1;)s=o+n>>1,i(s)?o=s:n=s;return{lo:o,hi:n}}const Ot=(t,e,i,s)=>Dt(t,i,s?s=>{const n=t[s][e];return nt[s][e]Dt(t,i,(s=>t[s][e]>=i)),Tt=["push","pop","shift","splice","unshift"];function Lt(t,e){const i=t._chartjs;if(!i)return;const s=i.listeners,n=s.indexOf(e);-1!==n&&s.splice(n,1),s.length>0||(Tt.forEach((e=>{delete t[e]})),delete t._chartjs)}function Et(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const Rt="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function It(t,e){let i=[],s=!1;return function(...n){i=n,s||(s=!0,Rt.call(window,(()=>{s=!1,t.apply(e,i)})))}}const Ft=t=>"start"===t?"left":"end"===t?"right":"center",zt=(t,e,i)=>"start"===t?e:"end"===t?i:(e+i)/2;function Vt(t,e,i){const s=e.length;let n=0,o=s;if(t._sorted){const{iScale:a,_parsed:r}=t,h=a.axis,{min:l,max:c,minDefined:d,maxDefined:u}=a.getUserBounds();d&&(n=At(Math.min(Ot(r,h,l).lo,i?s:Ot(e,h,a.getPixelForValue(l)).lo),0,s-1)),o=u?At(Math.max(Ot(r,a.axis,c,!0).hi+1,i?0:Ot(e,h,a.getPixelForValue(c),!0).hi+1),n,s)-n:s-n}return{start:n,count:o}}function Wt(t){const{xScale:e,yScale:i,_scaleRanges:s}=t,n={xmin:e.min,xmax:e.max,ymin:i.min,ymax:i.max};if(!s)return t._scaleRanges=n,!0;const o=s.xmin!==e.min||s.xmax!==e.max||s.ymin!==i.min||s.ymax!==i.max;return Object.assign(s,n),o}const Bt=t=>0===t||1===t,Nt=(t,e,i)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*ot/i),Ht=(t,e,i)=>Math.pow(2,-10*t)*Math.sin((t-e)*ot/i)+1,jt={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>1-Math.cos(t*lt),easeOutSine:t=>Math.sin(t*lt),easeInOutSine:t=>-.5*(Math.cos(nt*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Bt(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>Bt(t)?t:Nt(t,.075,.3),easeOutElastic:t=>Bt(t)?t:Ht(t,.075,.3),easeInOutElastic(t){const e=.1125;return Bt(t)?t:t<.5?.5*Nt(2*t,e,.45):.5+.5*Ht(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-jt.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375},easeInOutBounce:t=>t<.5?.5*jt.easeInBounce(2*t):.5*jt.easeOutBounce(2*t-1)+.5};function $t(t){if(t&&"object"==typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function Yt(t){return $t(t)?t:new E(t)}function Ut(t){return $t(t)?t:new E(t).saturate(.5).darken(.1).hexString()}const Xt=["x","y","borderWidth","radius","tension"],qt=["color","borderColor","backgroundColor"],Kt=new Map;function Gt(t,e,i){return function(t,e){e=e||{};const i=t+JSON.stringify(e);let s=Kt.get(i);return s||(s=new Intl.NumberFormat(t,e),Kt.set(i,s)),s}(e,i).format(t)}const Zt={values:t=>z(t)?t:""+t,numeric(t,e,i){if(0===t)return"0";const s=this.chart.options.locale;let n,o=t;if(i.length>1){const e=Math.max(Math.abs(i[0].value),Math.abs(i[i.length-1].value));(e<1e-4||e>1e15)&&(n="scientific"),o=function(t,e){let i=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(i)>=1&&t!==Math.floor(t)&&(i=t-Math.floor(t)),i}(t,i)}const a=ut(Math.abs(o)),r=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),h={notation:n,minimumFractionDigits:r,maximumFractionDigits:r};return Object.assign(h,this.options.ticks.format),Gt(t,s,h)},logarithmic(t,e,i){if(0===t)return"0";const s=i[e].significand||t/Math.pow(10,Math.floor(ut(t)));return[1,2,3,5,10,15].includes(s)||e>.8*i.length?Zt.numeric.call(this,t,e,i):""}};var Jt={formatters:Zt};const Qt=Object.create(null),te=Object.create(null);function ee(t,e){if(!e)return t;const i=e.split(".");for(let e=0,s=i.length;et.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>Ut(e.backgroundColor),this.hoverBorderColor=(t,e)=>Ut(e.borderColor),this.hoverColor=(t,e)=>Ut(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ie(this,t,e)}get(t){return ee(this,t)}describe(t,e){return ie(te,t,e)}override(t,e){return ie(Qt,t,e)}route(t,e,i,s){const n=ee(this,t),o=ee(this,i),a="_"+e;Object.defineProperties(n,{[a]:{value:n[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=o[s];return V(t)?Object.assign({},e,t):N(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach((t=>t(this)))}}var ne=new se({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:qt},numbers:{type:"number",properties:Xt}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Jt.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function oe(t,e,i,s,n){let o=e[n];return o||(o=e[n]=t.measureText(n).width,i.push(n)),o>s&&(s=o),s}function ae(t,e,i,s){let n=(s=s||{}).data=s.data||{},o=s.garbageCollect=s.garbageCollect||[];s.font!==e&&(n=s.data={},o=s.garbageCollect=[],s.font=e),t.save(),t.font=e;let a=0;const r=i.length;let h,l,c,d,u;for(h=0;hi.length){for(h=0;h0&&t.stroke()}}function de(t,e,i){return i=i||.5,!e||t&&t.x>e.left-i&&t.xe.top-i&&t.y0&&""!==o.strokeColor;let h,l;for(t.save(),t.font=n.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),F(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,o),h=0;h+t||0;function ke(t,e){const i={},s=V(e),n=s?Object.keys(e):e,o=V(t)?s?i=>N(t[i],t[e[i]]):e=>t[e]:()=>t;for(const t of n)i[t]=we(o(t));return i}function Se(t){return ke(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Ae(t){return ke(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Pe(t){const e=Se(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function De(t,e){t=t||{},e=e||ne.font;let i=N(t.size,e.size);"string"==typeof i&&(i=parseInt(i,10));let s=N(t.style,e.style);s&&!(""+s).match(ve)&&(console.warn('Invalid font style specified: "'+s+'"'),s=void 0);const n={family:N(t.family,e.family),lineHeight:Me(N(t.lineHeight,e.lineHeight),i),size:i,style:s,weight:N(t.weight,e.weight),string:""};return n.string=function(t){return!t||F(t.size)||F(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(n),n}function Oe(t,e,i,s){let n,o,a,r=!0;for(n=0,o=t.length;nt[0]){const o=i||t;void 0===s&&(s=He("_fallback",t));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:s,_getTarget:n,override:i=>Te([i,...t],e,o,s)};return new Proxy(a,{deleteProperty:(e,i)=>(delete e[i],delete e._keys,delete t[0][i],!0),get:(i,s)=>Fe(i,s,(()=>function(t,e,i,s){let n;for(const o of e)if(n=He(Re(o,t),i),void 0!==n)return Ie(t,n)?Be(i,s,t,n):n}(s,e,t,i))),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>je(t).includes(e),ownKeys:t=>je(t),set(t,e,i){const s=t._storage||(t._storage=n());return t[e]=s[e]=i,delete t._keys,!0}})}function Le(t,e,i,s){const n={_cacheable:!1,_proxy:t,_context:e,_subProxy:i,_stack:new Set,_descriptors:Ee(t,s),setContext:e=>Le(t,e,i,s),override:n=>Le(t.override(n),e,i,s)};return new Proxy(n,{deleteProperty:(e,i)=>(delete e[i],delete t[i],!0),get:(t,e,i)=>Fe(t,e,(()=>function(t,e,i){const{_proxy:s,_context:n,_subProxy:o,_descriptors:a}=t;let r=s[e];return it(r)&&a.isScriptable(e)&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_stack:r}=i;if(r.has(t))throw new Error("Recursion detected: "+Array.from(r).join("->")+"->"+t);r.add(t);let h=e(o,a||s);return r.delete(t),Ie(t,h)&&(h=Be(n._scopes,n,t,h)),h}(e,r,t,i)),z(r)&&r.length&&(r=function(t,e,i,s){const{_proxy:n,_context:o,_subProxy:a,_descriptors:r}=i;if(void 0!==o.index&&s(t))return e[o.index%e.length];if(V(e[0])){const i=e,s=n._scopes.filter((t=>t!==i));e=[];for(const h of i){const i=Be(s,n,t,h);e.push(Le(i,o,a&&a[t],r))}}return e}(e,r,t,a.isIndexable)),Ie(e,r)&&(r=Le(r,n,o&&o[e],a)),r}(t,e,i))),getOwnPropertyDescriptor:(e,i)=>e._descriptors.allKeys?Reflect.has(t,i)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,i),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,i)=>Reflect.has(t,i),ownKeys:()=>Reflect.ownKeys(t),set:(e,i,s)=>(t[i]=s,delete e[i],!0)})}function Ee(t,e={scriptable:!0,indexable:!0}){const{_scriptable:i=e.scriptable,_indexable:s=e.indexable,_allKeys:n=e.allKeys}=t;return{allKeys:n,scriptable:i,indexable:s,isScriptable:it(i)?i:()=>i,isIndexable:it(s)?s:()=>s}}const Re=(t,e)=>t?t+tt(e):e,Ie=(t,e)=>V(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Fe(t,e,i){if(Object.prototype.hasOwnProperty.call(t,e)||"constructor"===e)return t[e];const s=i();return t[e]=s,s}function ze(t,e,i){return it(t)?t(e,i):t}const Ve=(t,e)=>!0===t?e:"string"==typeof t?Q(e,t):void 0;function We(t,e,i,s,n){for(const o of e){const e=Ve(i,o);if(e){t.add(e);const o=ze(e._fallback,i,n);if(void 0!==o&&o!==i&&o!==s)return o}else if(!1===e&&void 0!==s&&i!==s)return null}return!1}function Be(t,e,i,s){const n=e._rootScopes,o=ze(e._fallback,i,s),a=[...t,...n],r=new Set;r.add(s);let h=Ne(r,a,i,o||i,s);return null!==h&&(void 0===o||o===i||(h=Ne(r,a,o,h,s),null!==h))&&Te(Array.from(r),[""],n,o,(()=>function(t,e,i){const s=t._getTarget();e in s||(s[e]={});const n=s[e];return z(n)&&V(i)?i:n||{}}(e,i,s)))}function Ne(t,e,i,s,n){for(;i;)i=We(t,e,i,s,n);return i}function He(t,e){for(const i of e){if(!i)continue;const e=i[t];if(void 0!==e)return e}}function je(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const i of t)for(const t of Object.keys(i).filter((t=>!t.startsWith("_"))))e.add(t);return Array.from(e)}(t._scopes)),e}function $e(t,e,i,s){const{iScale:n}=t,{key:o="r"}=this._parsing,a=new Array(s);let r,h,l,c;for(r=0,h=s;re"x"===t?"y":"x";function qe(t,e,i,s){const n=t.skip?e:t,o=e,a=i.skip?e:i,r=Mt(o,n),h=Mt(a,o);let l=r/(r+h),c=h/(r+h);l=isNaN(l)?0:l,c=isNaN(c)?0:c;const d=s*l,u=s*c;return{previous:{x:o.x-d*(a.x-n.x),y:o.y-d*(a.y-n.y)},next:{x:o.x+u*(a.x-n.x),y:o.y+u*(a.y-n.y)}}}function Ke(t,e,i){return Math.max(Math.min(t,i),e)}function Ge(t,e,i,s,n){let o,a,r,h;if(e.spanGaps&&(t=t.filter((t=>!t.skip))),"monotone"===e.cubicInterpolationMode)!function(t,e="x"){const i=Xe(e),s=t.length,n=Array(s).fill(0),o=Array(s);let a,r,h,l=Ue(t,0);for(a=0;at.ownerDocument.defaultView.getComputedStyle(t,null),ei=["top","right","bottom","left"];function ii(t,e,i){const s={};i=i?"-"+i:"";for(let n=0;n<4;n++){const o=ei[n];s[o]=parseFloat(t[e+"-"+o+i])||0}return s.width=s.left+s.right,s.height=s.top+s.bottom,s}const si=(t,e,i)=>(t>0||e>0)&&(!i||!i.shadowRoot);function ni(t,e){if("native"in t)return t;const{canvas:i,currentDevicePixelRatio:s}=e,n=ti(i),o="border-box"===n.boxSizing,a=ii(n,"padding"),r=ii(n,"border","width"),{x:h,y:l,box:c}=function(t,e){const i=t.touches,s=i&&i.length?i[0]:t,{offsetX:n,offsetY:o}=s;let a,r,h=!1;if(si(n,o,t.target))a=n,r=o;else{const t=e.getBoundingClientRect();a=s.clientX-t.left,r=s.clientY-t.top,h=!0}return{x:a,y:r,box:h}}(t,i),d=a.left+(c&&r.left),u=a.top+(c&&r.top);let{width:f,height:g}=e;return o&&(f-=a.width+r.width,g-=a.height+r.height),{x:Math.round((h-d)/f*i.width/s),y:Math.round((l-u)/g*i.height/s)}}const oi=t=>Math.round(10*t)/10;function ai(t,e,i){const s=e||1,n=Math.floor(t.height*s),o=Math.floor(t.width*s);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(i||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==s||a.height!==n||a.width!==o)&&(t.currentDevicePixelRatio=s,a.height=n,a.width=o,t.ctx.setTransform(s,0,0,s,0,0),!0)}const ri=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};Ze()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function hi(t,e){const i=function(t,e){return ti(t).getPropertyValue(e)}(t,e),s=i&&i.match(/^(\d+)(\.\d+)?px$/);return s?+s[1]:void 0}function li(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:t.y+i*(e.y-t.y)}}function ci(t,e,i,s){return{x:t.x+i*(e.x-t.x),y:"middle"===s?i<.5?t.y:e.y:"after"===s?i<1?t.y:e.y:i>0?e.y:t.y}}function di(t,e,i,s){const n={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=li(t,n,i),r=li(n,o,i),h=li(o,e,i),l=li(a,r,i),c=li(r,h,i);return li(l,c,i)}function ui(t,e,i){return t?function(t,e){return{x:i=>t+t+e-i,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,i):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function fi(t,e){let i,s;"ltr"!==e&&"rtl"!==e||(i=t.canvas.style,s=[i.getPropertyValue("direction"),i.getPropertyPriority("direction")],i.setProperty("direction",e,"important"),t.prevTextDirection=s)}function gi(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function pi(t){return"angle"===t?{between:St,compare:wt,normalize:kt}:{between:Pt,compare:(t,e)=>t-e,normalize:t=>t}}function mi({start:t,end:e,count:i,loop:s,style:n}){return{start:t%i,end:e%i,loop:s&&(e-t+1)%i==0,style:n}}function xi(t,e,i){if(!i)return[t];const{property:s,start:n,end:o}=i,a=e.length,{compare:r,between:h,normalize:l}=pi(s),{start:c,end:d,loop:u,style:f}=function(t,e,i){const{property:s,start:n,end:o}=i,{between:a,normalize:r}=pi(s),h=e.length;let l,c,{start:d,end:u,loop:f}=t;if(f){for(d+=h,u+=h,l=0,c=h;ls({chart:t,initial:e.initial,numSteps:o,currentStep:Math.min(i-e.start,o)})))}_refresh(){this._request||(this._running=!0,this._request=Rt.call(window,(()=>{this._update(),this._request=null,this._running&&this._refresh()})))}_update(t=Date.now()){let e=0;this._charts.forEach(((i,s)=>{if(!i.running||!i.items.length)return;const n=i.items;let o,a=n.length-1,r=!1;for(;a>=0;--a)o=n[a],o._active?(o._total>i.duration&&(i.duration=o._total),o.tick(t),r=!0):(n[a]=n[n.length-1],n.pop());r&&(s.draw(),this._notify(s,i,t,"progress")),n.length||(i.running=!1,this._notify(s,i,t,"complete"),i.initial=!1),e+=n.length})),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let i=e.get(t);return i||(i={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,i)),i}listen(t,e,i){this._getAnims(t).listeners[e].push(i)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce(((t,e)=>Math.max(t,e._duration)),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const i=e.items;let s=i.length-1;for(;s>=0;--s)i[s].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Mi=new vi;const wi="transparent",ki={boolean:(t,e,i)=>i>.5?e:t,color(t,e,i){const s=Yt(t||wi),n=s.valid&&Yt(e||wi);return n&&n.valid?n.mix(s,i).hexString():e},number:(t,e,i)=>t+(e-t)*i};class Si{constructor(t,e,i,s){const n=e[i];s=Oe([t.to,s,n,t.from]);const o=Oe([t.from,n,s]);this._active=!0,this._fn=t.fn||ki[t.type||typeof o],this._easing=jt[t.easing]||jt.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=i,this._from=o,this._to=s,this._promises=void 0}active(){return this._active}update(t,e,i){if(this._active){this._notify(!1);const s=this._target[this._prop],n=i-this._start,o=this._duration-n;this._start=i,this._duration=Math.floor(Math.max(o,t.duration)),this._total+=n,this._loop=!!t.loop,this._to=Oe([t.to,e,s,t.from]),this._from=Oe([t.from,s,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,i=this._duration,s=this._prop,n=this._from,o=this._loop,a=this._to;let r;if(this._active=n!==a&&(o||e1?2-r:r,r=this._easing(Math.min(1,Math.max(0,r))),this._target[s]=this._fn(n,a,r))}wait(){const t=this._promises||(this._promises=[]);return new Promise(((e,i)=>{t.push({res:e,rej:i})}))}_notify(t){const e=t?"res":"rej",i=this._promises||[];for(let t=0;t{const n=t[s];if(!V(n))return;const o={};for(const t of e)o[t]=n[t];(z(n.properties)&&n.properties||[s]).forEach((t=>{t!==s&&i.has(t)||i.set(t,o)}))}))}_animateOptions(t,e){const i=e.options,s=function(t,e){if(!e)return;let i=t.options;if(i)return i.$shared&&(t.options=i=Object.assign({},i,{$shared:!1,$animations:{}})),i;t.options=e}(t,i);if(!s)return[];const n=this._createAnimations(s,i);return i.$shared&&function(t,e){const i=[],s=Object.keys(e);for(let e=0;e{t.options=i}),(()=>{})),n}_createAnimations(t,e){const i=this._properties,s=[],n=t.$animations||(t.$animations={}),o=Object.keys(e),a=Date.now();let r;for(r=o.length-1;r>=0;--r){const h=o[r];if("$"===h.charAt(0))continue;if("options"===h){s.push(...this._animateOptions(t,e));continue}const l=e[h];let c=n[h];const d=i.get(h);if(c){if(d&&c.active()){c.update(d,l,a);continue}c.cancel()}d&&d.duration?(n[h]=c=new Si(d,t,h,l),s.push(c)):t[h]=l}return s}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const i=this._createAnimations(t,e);return i.length?(Mi.add(this._chart,i),!0):void 0}}function Pi(t,e){const i=t&&t.options||{},s=i.reverse,n=void 0===i.min?e:0,o=void 0===i.max?e:0;return{start:s?o:n,end:s?n:o}}function Di(t,e){const i=[],s=t._getSortedDatasetMetas(e);let n,o;for(n=0,o=s.length;n0||!i&&e<0)return n.index}return null}function Ei(t,e){const{chart:i,_cachedMeta:s}=t,n=i._stacks||(i._stacks={}),{iScale:o,vScale:a,index:r}=s,h=o.axis,l=a.axis,c=function(t,e,i){return`${t.id}.${e.id}.${i.stack||i.type}`}(o,a,s),d=e.length;let u;for(let t=0;ti[t].axis===e)).shift()}function Ii(t,e){const i=t.controller.index,s=t.vScale&&t.vScale.axis;if(s){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[s]||void 0===e[s][i])return;delete e[s][i],void 0!==e[s]._visualValues&&void 0!==e[s]._visualValues[i]&&delete e[s]._visualValues[i]}}}const Fi=t=>"reset"===t||"none"===t,zi=(t,e)=>e?t:Object.assign({},t);class Vi{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=Ci(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Ii(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,i=this.getDataset(),s=(t,e,i,s)=>"x"===t?e:"r"===t?s:i,n=e.xAxisID=N(i.xAxisID,Ri(t,"x")),o=e.yAxisID=N(i.yAxisID,Ri(t,"y")),a=e.rAxisID=N(i.rAxisID,Ri(t,"r")),r=e.indexAxis,h=e.iAxisID=s(r,n,o,a),l=e.vAxisID=s(r,o,n,a);e.xScale=this.getScaleForId(n),e.yScale=this.getScaleForId(o),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(h),e.vScale=this.getScaleForId(l)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Lt(this._data,this),t._stacked&&Ii(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),i=this._data;if(V(e)){const t=this._cachedMeta;this._data=function(t,e){const{iScale:i,vScale:s}=e,n="x"===i.axis?"x":"y",o="x"===s.axis?"x":"y",a=Object.keys(t),r=new Array(a.length);let h,l,c;for(h=0,l=a.length;h{const e="_onData"+tt(t),i=s[t];Object.defineProperty(s,t,{configurable:!0,enumerable:!1,value(...t){const n=i.apply(this,t);return s._chartjs.listeners.forEach((i=>{"function"==typeof i[e]&&i[e](...t)})),n}})})))),this._syncList=[],this._data=e}var s}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,i=this.getDataset();let s=!1;this._dataCheck();const n=e._stacked;e._stacked=Ci(e.vScale,e),e.stack!==i.stack&&(s=!0,Ii(e),e.stack=i.stack),this._resyncElements(t),(s||n!==e._stacked)&&Ei(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),i=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(i,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:i,_data:s}=this,{iScale:n,_stacked:o}=i,a=n.axis;let r,h,l,c=0===t&&e===s.length||i._sorted,d=t>0&&i._parsed[t-1];if(!1===this._parsing)i._parsed=s,i._sorted=!0,l=s;else{l=z(s[t])?this.parseArrayData(i,s,t,e):V(s[t])?this.parseObjectData(i,s,t,e):this.parsePrimitiveData(i,s,t,e);const n=()=>null===h[a]||d&&h[a]t&&!e.hidden&&e._stacked&&{keys:Di(i,!0),values:null})(e,i,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:l,max:c}=function(t){const{min:e,max:i,minDefined:s,maxDefined:n}=t.getUserBounds();return{min:s?e:Number.NEGATIVE_INFINITY,max:n?i:Number.POSITIVE_INFINITY}}(a);let d,u;function f(){u=s[d];const e=u[a.axis];return!W(u[t.axis])||l>e||c=0;--d)if(!f()){this.updateRangeFromParsed(h,t,u,r);break}return h}getAllParsedValues(t){const e=this._cachedMeta._parsed,i=[];let s,n,o;for(s=0,n=e.length;s=0&&tthis.getContext(i,s,e)),c);return f.$shared&&(f.$shared=r,n[o]=Object.freeze(zi(f,r))),f}_resolveAnimations(t,e,i){const s=this.chart,n=this._cachedDataOpts,o=`animation-${e}`,a=n[o];if(a)return a;let r;if(!1!==s.options.animation){const s=this.chart.config,n=s.datasetAnimationScopeKeys(this._type,e),o=s.getOptionScopes(this.getDataset(),n);r=s.createResolver(o,this.getContext(t,i,e))}const h=new Ai(s,r&&r.animations);return r&&r._cacheable&&(n[o]=Object.freeze(h)),h}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||Fi(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const i=this.resolveDataElementOptions(t,e),s=this._sharedOptions,n=this.getSharedOptions(i),o=this.includeOptions(e,n)||n!==s;return this.updateSharedOptions(n,e,i),{sharedOptions:n,includeOptions:o}}updateElement(t,e,i,s){Fi(s)?Object.assign(t,i):this._resolveAnimations(e,s).update(t,i)}updateSharedOptions(t,e,i){t&&!Fi(e)&&this._resolveAnimations(void 0,e).update(t,i)}_setStyle(t,e,i,s){t.active=s;const n=this.getStyle(e,s);this._resolveAnimations(e,i,s).update(t,{options:!s&&this.getSharedOptions(n)||n})}removeHoverStyle(t,e,i){this._setStyle(t,i,"active",!1)}setHoverStyle(t,e,i){this._setStyle(t,i,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,i=this._cachedMeta.data;for(const[t,e,i]of this._syncList)this[t](e,i);this._syncList=[];const s=i.length,n=e.length,o=Math.min(n,s);o&&this.parse(0,o),n>s?this._insertElements(s,n-s,t):n{for(t.length+=e,a=t.length-1;a>=o;a--)t[a]=t[a-e]};for(r(n),a=t;at-e)))}return t._cache.$bar}(e,t.type);let s,n,o,a,r=e._length;const h=()=>{32767!==o&&-32768!==o&&(et(a)&&(r=Math.min(r,Math.abs(o-a)||r)),a=o)};for(s=0,n=i.length;sMath.abs(r)&&(h=r,l=a),e[i.axis]=l,e._custom={barStart:h,barEnd:l,start:n,end:o,min:a,max:r}}(t,e,i,s):e[i.axis]=i.parse(t,s),e}function Ni(t,e,i,s){const n=t.iScale,o=t.vScale,a=n.getLabels(),r=n===o,h=[];let l,c,d,u;for(l=i,c=i+s;lt.x,i="left",s="right"):(e=t.baset.controller.options.grouped)),n=i.options.stacked,o=[],a=t=>{const i=t.controller.getParsed(e),s=i&&i[t.vScale.axis];if(F(s)||isNaN(s))return!0};for(const i of s)if((void 0===e||!a(i))&&((!1===n||-1===o.indexOf(i.stack)||void 0===n&&void 0===i.stack)&&o.push(i.stack),i.index===t))break;return o.length||o.push(void 0),o}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,i){const s=this._getStacks(t,i),n=void 0!==e?s.indexOf(e):-1;return-1===n?s.length-1:n}_getRuler(){const t=this.options,e=this._cachedMeta,i=e.iScale,s=[];let n,o;for(n=0,o=e.data.length;n=i?1:-1)}(d,e,a)*o,u===a&&(m-=d/2);const t=e.getPixelForDecimal(0),n=e.getPixelForDecimal(1),h=Math.min(t,n),f=Math.max(t,n);m=Math.max(Math.min(m,f),h),c=m+d,i&&!l&&(r._stacks[e.axis]._visualValues[s]=e.getValueForPixel(c)-e.getValueForPixel(m))}if(m===e.getPixelForValue(a)){const t=ft(d)*e.getLineWidthForValue(a)/2;m+=t,d-=t}return{size:d,base:m,head:c,center:c+d/2}}_calculateBarIndexPixels(t,e){const i=e.scale,s=this.options,n=s.skipNull,o=N(s.maxBarThickness,1/0);let a,r;if(e.grouped){const i=n?this._getStackCount(t):e.stackCount,h="flex"===s.barThickness?function(t,e,i,s){const n=e.pixels,o=n[t];let a=t>0?n[t-1]:null,r=t=0;--i)e=Math.max(e,t[i].size(this.resolveDataElementOptions(i))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart.data.labels||[],{xScale:s,yScale:n}=e,o=this.getParsed(t),a=s.getLabelForValue(o.x),r=n.getLabelForValue(o.y),h=o._custom;return{label:i[t]||"",value:"("+a+", "+r+(h?", "+h:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a}=this._cachedMeta,{sharedOptions:r,includeOptions:h}=this._getSharedOptions(e,s),l=o.axis,c=a.axis;for(let d=e;d+i[t];if(V(i[t])){const{key:t="value"}=this._parsing;a=e=>+Q(i[e],t)}for(n=t,o=t+e;nSt(t,r,h,!0)?1:Math.max(e,e*i,s,s*i),g=(t,e,s)=>St(t,r,h,!0)?-1:Math.min(e,e*i,s,s*i),p=f(0,l,d),m=f(lt,c,u),x=g(nt,l,d),b=g(nt+lt,c,u);s=(p-x)/2,n=(m-b)/2,o=-(p+x)/2,a=-(m+b)/2}return{ratioX:s,ratioY:n,offsetX:o,offsetY:a}}(u,d,r),x=(i.width-o)/f,b=(i.height-o)/g,_=Math.max(Math.min(x,b)/2,0),y=H(this.options.radius,_),v=(y-Math.max(y*r,0))/this._getVisibleDatasetWeightTotal();this.offsetX=p*y,this.offsetY=m*y,s.total=this.calculateTotal(),this.outerRadius=y-v*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-v*c,0),this.updateElements(n,0,n.length,t)}_circumference(t,e){const i=this.options,s=this._cachedMeta,n=this._getCircumference();return e&&i.animation.animateRotate||!this.chart.getDataVisibility(t)||null===s._parsed[t]||s.data[t].hidden?0:this.calculateCircumference(s._parsed[t]*n/ot)}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.chartArea,r=o.options.animation,h=(a.left+a.right)/2,l=(a.top+a.bottom)/2,c=n&&r.animateScale,d=c?0:this.innerRadius,u=c?0:this.outerRadius,{sharedOptions:f,includeOptions:g}=this._getSharedOptions(e,s);let p,m=this._getRotation();for(p=0;p0&&!isNaN(t)?ot*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=Gt(e._parsed[t],i.options.locale);return{label:s[t]||"",value:n}}getMaxBorderWidth(t){let e=0;const i=this.chart;let s,n,o,a,r;if(!t)for(s=0,n=i.data.datasets.length;s"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),(0,s.A)(Ki,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:s}}=t.legend.options;return e.labels.map(((e,n)=>{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}}});class Gi extends Vi{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:i,data:s=[],_dataset:n}=e,o=this.chart._animationsDisabled;let{start:a,count:r}=Vt(e,s,o);this._drawStart=a,this._drawCount=r,Wt(e)&&(a=0,r=s.length),i._chart=this.chart,i._datasetIndex=this.index,i._decimated=!!n._decimated,i.points=s;const h=this.resolveDatasetElementOptions(t);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(i,void 0,{animated:!o,options:h},t),this.updateElements(s,a,r,t)}updateElements(t,e,i,s){const n="reset"===s,{iScale:o,vScale:a,_stacked:r,_dataset:h}=this._cachedMeta,{sharedOptions:l,includeOptions:c}=this._getSharedOptions(e,s),d=o.axis,u=a.axis,{spanGaps:f,segment:g}=this.options,p=mt(f)?f:Number.POSITIVE_INFINITY,m=this.chart._animationsDisabled||n||"none"===s,x=e+i,b=t.length;let _=e>0&&this.getParsed(e-1);for(let i=0;i=x){b.skip=!0;continue}const y=this.getParsed(i),v=F(y[u]),M=b[d]=o.getPixelForValue(y[d],i),w=b[u]=n||v?a.getBasePixel():a.getPixelForValue(r?this.applyStack(a,y,r):y[u],i);b.skip=isNaN(M)||isNaN(w)||v,b.stop=i>0&&Math.abs(y[d]-_[d])>p,g&&(b.parsed=y,b.raw=h.data[i]),c&&(b.options=l||this.resolveDataElementOptions(i,f.active?"active":s)),m||this.updateElement(f,i,b,s),_=y}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,i=e.options&&e.options.borderWidth||0,s=t.data||[];if(!s.length)return i;const n=s[0].size(this.resolveDataElementOptions(0)),o=s[s.length-1].size(this.resolveDataElementOptions(s.length-1));return Math.max(i,n,o)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}(0,s.A)(Gi,"id","line"),(0,s.A)(Gi,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),(0,s.A)(Gi,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class Zi extends Vi{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,i=this.chart,s=i.data.labels||[],n=Gt(e._parsed[t].r,i.options.locale);return{label:s[t]||"",value:n}}parseObjectData(t,e,i,s){return $e.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach(((t,i)=>{const s=this.getParsed(i).r;!isNaN(s)&&this.chart.getDataVisibility(i)&&(se.max&&(e.max=s))})),e}_updateRadius(){const t=this.chart,e=t.chartArea,i=t.options,s=Math.min(e.right-e.left,e.bottom-e.top),n=Math.max(s/2,0),o=(n-Math.max(i.cutoutPercentage?n/100*i.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=n-o*this.index,this.innerRadius=this.outerRadius-o}updateElements(t,e,i,s){const n="reset"===s,o=this.chart,a=o.options.animation,r=this._cachedMeta.rScale,h=r.xCenter,l=r.yCenter,c=r.getIndexAngle(0)-.5*nt;let d,u=c;const f=360/this.countVisibleElements();for(d=0;d{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&e++})),e}_computeAngle(t,e,i){return this.chart.getDataVisibility(t)?bt(this.resolveDataElementOptions(t,e).angle||i):0}}(0,s.A)(Zi,"id","polarArea"),(0,s.A)(Zi,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),(0,s.A)(Zi,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:i,color:s}}=t.legend.options;return e.labels.map(((e,n)=>{const o=t.getDatasetMeta(0).controller.getStyle(n);return{text:e,fillStyle:o.backgroundColor,strokeStyle:o.borderColor,fontColor:s,lineWidth:o.borderWidth,pointStyle:i,hidden:!t.getDataVisibility(n),index:n}}))}return[]}},onClick(t,e,i){i.chart.toggleDataVisibility(e.index),i.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class Ji extends Ki{}(0,s.A)(Ji,"id","pie"),(0,s.A)(Ji,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class Qi extends Vi{getLabelAndValue(t){const e=this._cachedMeta.vScale,i=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(i[e.axis])}}parseObjectData(t,e,i,s){return $e.bind(this)(t,e,i,s)}update(t){const e=this._cachedMeta,i=e.dataset,s=e.data||[],n=e.iScale.getLabels();if(i.points=s,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const o={_loop:!0,_fullLoop:n.length===s.length,options:e};this.updateElement(i,void 0,o,t)}this.updateElements(s,0,s.length,t)}updateElements(t,e,i,s){const n=this._cachedMeta.rScale,o="reset"===s;for(let a=e;a0&&this.getParsed(e-1);for(let l=e;l0&&Math.abs(i[u]-b[u])>m,p&&(g.parsed=i,g.raw=h.data[l]),d&&(g.options=c||this.resolveDataElementOptions(l,e.active?"active":s)),x||this.updateElement(e,l,g,s),b=i}this.updateSharedOptions(c,s,l)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let i=e.length-1;i>=0;--i)t=Math.max(t,e[i].size(this.resolveDataElementOptions(i))/2);return t>0&&t}const i=t.dataset,s=i.options&&i.options.borderWidth||0;if(!e.length)return s;const n=e[0].size(this.resolveDataElementOptions(0)),o=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(s,n,o)/2}}function es(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}(0,s.A)(ts,"id","scatter"),(0,s.A)(ts,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),(0,s.A)(ts,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});class is{static override(t){Object.assign(is.prototype,t)}constructor(t){(0,s.A)(this,"options",void 0),this.options=t||{}}init(){}formats(){return es()}parse(){return es()}format(){return es()}add(){return es()}diff(){return es()}startOf(){return es()}endOf(){return es()}}var ss={_date:is};function ns(t,e,i,s){const{controller:n,data:o,_sorted:a}=t,r=n._cachedMeta.iScale;if(r&&e===r.axis&&"r"!==e&&a&&o.length){const t=r._reversePixels?Ct:Ot;if(!s)return t(o,e,i);if(n._sharedOptions){const s=o[0],n="function"==typeof s.getRange&&s.getRange(e);if(n){const s=t(o,e,i-n),a=t(o,e,i+n);return{lo:s.lo,hi:a.hi}}}}return{lo:0,hi:o.length-1}}function os(t,e,i,s,n){const o=t.getSortedVisibleDatasetMetas(),a=i[e];for(let t=0,i=o.length;t{t[a](e[i],n)&&(o.push({element:t,datasetIndex:s,index:h}),r=r||t.inRange(e.x,e.y,n))})),s&&!r?[]:o}var ls={evaluateInteractionItems:os,modes:{index(t,e,i,s){const n=ni(e,t),o=i.axis||"x",a=i.includeInvisible||!1,r=i.intersect?as(t,n,o,s,a):rs(t,n,o,!1,s,a),h=[];return r.length?(t.getSortedVisibleDatasetMetas().forEach((t=>{const e=r[0].index,i=t.data[e];i&&!i.skip&&h.push({element:i,datasetIndex:t.index,index:e})})),h):[]},dataset(t,e,i,s){const n=ni(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;let r=i.intersect?as(t,n,o,s,a):rs(t,n,o,!1,s,a);if(r.length>0){const e=r[0].datasetIndex,i=t.getDatasetMeta(e).data;r=[];for(let t=0;tas(t,ni(e,t),i.axis||"xy",s,i.includeInvisible||!1),nearest(t,e,i,s){const n=ni(e,t),o=i.axis||"xy",a=i.includeInvisible||!1;return rs(t,n,o,i.intersect,s,a)},x:(t,e,i,s)=>hs(t,ni(e,t),"x",i.intersect,s),y:(t,e,i,s)=>hs(t,ni(e,t),"y",i.intersect,s)}};const cs=["left","top","right","bottom"];function ds(t,e){return t.filter((t=>t.pos===e))}function us(t,e){return t.filter((t=>-1===cs.indexOf(t.pos)&&t.box.axis===e))}function fs(t,e){return t.sort(((t,i)=>{const s=e?i:t,n=e?t:i;return s.weight===n.weight?s.index-n.index:s.weight-n.weight}))}function gs(t,e,i,s){return Math.max(t[i],e[i])+Math.max(t[s],e[s])}function ps(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function ms(t,e,i,s){const{pos:n,box:o}=i,a=t.maxPadding;if(!V(n)){i.size&&(t[n]-=i.size);const e=s[i.stack]||{size:0,count:1};e.size=Math.max(e.size,i.horizontal?o.height:o.width),i.size=e.size/e.count,t[n]+=i.size}o.getPadding&&ps(a,o.getPadding());const r=Math.max(0,e.outerWidth-gs(a,t,"left","right")),h=Math.max(0,e.outerHeight-gs(a,t,"top","bottom")),l=r!==t.w,c=h!==t.h;return t.w=r,t.h=h,i.horizontal?{same:l,other:c}:{same:c,other:l}}function xs(t,e){const i=e.maxPadding;return function(t){const s={left:0,top:0,right:0,bottom:0};return t.forEach((t=>{s[t]=Math.max(e[t],i[t])})),s}(t?["left","right"]:["top","bottom"])}function bs(t,e,i,s){const n=[];let o,a,r,h,l,c;for(o=0,a=t.length,l=0;ot.box.fullSize)),!0),s=fs(ds(e,"left"),!0),n=fs(ds(e,"right")),o=fs(ds(e,"top"),!0),a=fs(ds(e,"bottom")),r=us(e,"x"),h=us(e,"y");return{fullSize:i,leftAndTop:s.concat(o),rightAndBottom:n.concat(h).concat(a).concat(r),chartArea:ds(e,"chartArea"),vertical:s.concat(n).concat(h),horizontal:o.concat(a).concat(r)}}(t.boxes),h=r.vertical,l=r.horizontal;$(t.boxes,(t=>{"function"==typeof t.beforeLayout&&t.beforeLayout()}));const c=h.reduce(((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1),0)||1,d=Object.freeze({outerWidth:e,outerHeight:i,padding:n,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/c,hBoxMaxHeight:a/2}),u=Object.assign({},n);ps(u,Pe(s));const f=Object.assign({maxPadding:u,w:o,h:a,x:n.left,y:n.top},n),g=function(t,e){const i=function(t){const e={};for(const i of t){const{stack:t,pos:s,stackWeight:n}=i;if(!t||!cs.includes(s))continue;const o=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=n}return e}(t),{vBoxMaxWidth:s,hBoxMaxHeight:n}=e;let o,a,r;for(o=0,a=t.length;o{const i=e.box;Object.assign(i,t.chartArea),i.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})}))}};class Ms{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,i){}removeEventListener(t,e,i){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,i,s){return e=Math.max(0,e||t.width),i=i||t.height,{width:e,height:Math.max(0,s?Math.floor(e/s):i)}}isAttached(t){return!0}updateConfig(t){}}class ws extends Ms{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const ks="$chartjs",Ss={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},As=t=>null===t||""===t,Ps=!!ri&&{passive:!0};function Ds(t,e,i){t&&t.canvas&&t.canvas.removeEventListener(e,i,Ps)}function Os(t,e){for(const i of t)if(i===e||i.contains(e))return!0}function Cs(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Os(i.addedNodes,s),e=e&&!Os(i.removedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}function Ts(t,e,i){const s=t.canvas,n=new MutationObserver((t=>{let e=!1;for(const i of t)e=e||Os(i.removedNodes,s),e=e&&!Os(i.addedNodes,s);e&&i()}));return n.observe(document,{childList:!0,subtree:!0}),n}const Ls=new Map;let Es=0;function Rs(){const t=window.devicePixelRatio;t!==Es&&(Es=t,Ls.forEach(((e,i)=>{i.currentDevicePixelRatio!==t&&e()})))}function Is(t,e,i){const s=t.canvas,n=s&&Je(s);if(!n)return;const o=It(((t,e)=>{const s=n.clientWidth;i(t,e),s{const e=t[0],i=e.contentRect.width,s=e.contentRect.height;0===i&&0===s||o(i,s)}));return a.observe(n),function(t,e){Ls.size||window.addEventListener("resize",Rs),Ls.set(t,e)}(t,o),a}function Fs(t,e,i){i&&i.disconnect(),"resize"===e&&function(t){Ls.delete(t),Ls.size||window.removeEventListener("resize",Rs)}(t)}function zs(t,e,i){const s=t.canvas,n=It((e=>{null!==t.ctx&&i(function(t,e){const i=Ss[t.type]||t.type,{x:s,y:n}=ni(t,e);return{type:i,chart:e,native:t,x:void 0!==s?s:null,y:void 0!==n?n:null}}(e,t))}),t);return function(t,e,i){t&&t.addEventListener(e,i,Ps)}(s,e,n),n}class Vs extends Ms{acquireContext(t,e){const i=t&&t.getContext&&t.getContext("2d");return i&&i.canvas===t?(function(t,e){const i=t.style,s=t.getAttribute("height"),n=t.getAttribute("width");if(t[ks]={initial:{height:s,width:n,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",i.boxSizing=i.boxSizing||"border-box",As(n)){const e=hi(t,"width");void 0!==e&&(t.width=e)}if(As(s))if(""===t.style.height)t.height=t.width/(e||2);else{const e=hi(t,"height");void 0!==e&&(t.height=e)}}(t,e),i):null}releaseContext(t){const e=t.canvas;if(!e[ks])return!1;const i=e[ks].initial;["height","width"].forEach((t=>{const s=i[t];F(s)?e.removeAttribute(t):e.setAttribute(t,s)}));const s=i.style||{};return Object.keys(s).forEach((t=>{e.style[t]=s[t]})),e.width=e.width,delete e[ks],!0}addEventListener(t,e,i){this.removeEventListener(t,e);const s=t.$proxies||(t.$proxies={}),n={attach:Cs,detach:Ts,resize:Is}[e]||zs;s[e]=n(t,e,i)}removeEventListener(t,e){const i=t.$proxies||(t.$proxies={}),s=i[e];s&&(({attach:Fs,detach:Fs,resize:Fs}[e]||Ds)(t,e,s),i[e]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,i,s){return function(t,e,i,s){const n=ti(t),o=ii(n,"margin"),a=Qe(n.maxWidth,t,"clientWidth")||rt,r=Qe(n.maxHeight,t,"clientHeight")||rt,h=function(t,e,i){let s,n;if(void 0===e||void 0===i){const o=t&&Je(t);if(o){const t=o.getBoundingClientRect(),a=ti(o),r=ii(a,"border","width"),h=ii(a,"padding");e=t.width-h.width-r.width,i=t.height-h.height-r.height,s=Qe(a.maxWidth,o,"clientWidth"),n=Qe(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,i=t.clientHeight}return{width:e,height:i,maxWidth:s||rt,maxHeight:n||rt}}(t,e,i);let{width:l,height:c}=h;if("content-box"===n.boxSizing){const t=ii(n,"border","width"),e=ii(n,"padding");l-=e.width+t.width,c-=e.height+t.height}return l=Math.max(0,l-o.width),c=Math.max(0,s?l/s:c-o.height),l=oi(Math.min(l,a,h.maxWidth)),c=oi(Math.min(c,r,h.maxHeight)),l&&!c&&(c=oi(l/2)),(void 0!==e||void 0!==i)&&s&&h.height&&c>h.height&&(c=h.height,l=oi(Math.floor(c*s))),{width:l,height:c}}(t,e,i,s)}isAttached(t){const e=t&&Je(t);return!(!e||!e.isConnected)}}class Ws{constructor(){(0,s.A)(this,"x",void 0),(0,s.A)(this,"y",void 0),(0,s.A)(this,"active",!1),(0,s.A)(this,"options",void 0),(0,s.A)(this,"$animations",void 0)}tooltipPosition(t){const{x:e,y:i}=this.getProps(["x","y"],t);return{x:e,y:i}}hasValue(){return mt(this.x)&&mt(this.y)}getProps(t,e){const i=this.$animations;if(!e||!i)return this;const s={};return t.forEach((t=>{s[t]=i[t]&&i[t].active()?i[t]._to:this[t]})),s}}function Bs(t,e,i,s,n){const o=N(s,0),a=Math.min(N(n,t.length),t.length);let r,h,l,c=0;for(i=Math.ceil(i),n&&(r=n-s,i=r/Math.floor(r/i)),l=o;l<0;)c++,l=Math.round(o+c*i);for(h=Math.max(o,0);h"top"===e||"left"===e?t[e]+i:t[e]-i,Hs=(t,e)=>Math.min(e||t,t);function js(t,e){const i=[],s=t.length/e,n=t.length;let o=0;for(;oa+r)))return l}function Ys(t){return t.drawTicks?t.tickLength:0}function Us(t,e){if(!t.display)return 0;const i=De(t.font,e),s=Pe(t.padding);return(z(t.text)?t.text.length:1)*i.lineHeight+s.height}function Xs(t,e,i){let s=Ft(t);return(i&&"right"!==e||!i&&"right"===e)&&(s=(t=>"left"===t?"right":"right"===t?"left":t)(s)),s}class qs extends Ws{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:i,_suggestedMax:s}=this;return t=B(t,Number.POSITIVE_INFINITY),e=B(e,Number.NEGATIVE_INFINITY),i=B(i,Number.POSITIVE_INFINITY),s=B(s,Number.NEGATIVE_INFINITY),{min:B(t,i),max:B(e,s),minDefined:W(t),maxDefined:W(e)}}getMinMax(t){let e,{min:i,max:s,minDefined:n,maxDefined:o}=this.getUserBounds();if(n&&o)return{min:i,max:s};const a=this.getMatchingVisibleMetas();for(let r=0,h=a.length;rs?s:i,s=n&&i>s?i:s,{min:B(i,B(s,i)),max:B(s,B(i,s))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(t=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){j(this.options.beforeUpdate,[this])}update(t,e,i){const{beginAtZero:s,grace:n,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=i=Object.assign({left:0,right:0,top:0,bottom:0},i),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+i.left+i.right:this.height+i.top+i.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,i){const{min:s,max:n}=t,o=H(e,(n-s)/2),a=(t,e)=>i&&0===t?0:t+e;return{min:a(s,-Math.abs(o)),max:a(n,o)}}(this,n,s),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const r=an)return function(t,e,i,s){let n,o=0,a=i[0];for(s=Math.ceil(s),n=0;nt-e)).pop(),e}(s);for(let t=0,e=o.length-1;tn)return e}return Math.max(n,1)}(o,e,n);if(a>0){let t,i;const s=a>1?Math.round((h-r)/(a-1)):null;for(Bs(e,l,c,F(s)?0:r-s,r),t=0,i=a-1;t=n||i<=1||!this.isHorizontal())return void(this.labelRotation=s);const l=this._getLabelSizes(),c=l.widest.width,d=l.highest.height,u=At(this.chart.width-c,0,this.maxWidth);o=t.offset?this.maxWidth/i:u/(i-1),c+6>o&&(o=u/(i-(t.offset?.5:1)),a=this.maxHeight-Ys(t.grid)-e.padding-Us(t.title,this.chart.options.font),r=Math.sqrt(c*c+d*d),h=_t(Math.min(Math.asin(At((l.highest.height+6)/o,-1,1)),Math.asin(At(a/r,-1,1))-Math.asin(At(d/r,-1,1)))),h=Math.max(s,Math.min(n,h))),this.labelRotation=h}afterCalculateLabelRotation(){j(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){j(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:i,title:s,grid:n}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=Us(s,e.options.font);if(a?(t.width=this.maxWidth,t.height=Ys(n)+o):(t.height=this.maxHeight,t.width=Ys(n)+o),i.display&&this.ticks.length){const{first:e,last:s,widest:n,highest:o}=this._getLabelSizes(),r=2*i.padding,h=bt(this.labelRotation),l=Math.cos(h),c=Math.sin(h);if(a){const e=i.mirror?0:c*n.width+l*o.height;t.height=Math.min(this.maxHeight,t.height+e+r)}else{const e=i.mirror?0:l*n.width+c*o.height;t.width=Math.min(this.maxWidth,t.width+e+r)}this._calculatePadding(e,s,c,l)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,i,s){const{ticks:{align:n,padding:o},position:a}=this.options,r=0!==this.labelRotation,h="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,l=this.right-this.getPixelForTick(this.ticks.length-1);let c=0,d=0;r?h?(c=s*t.width,d=i*e.height):(c=i*t.height,d=s*e.width):"start"===n?d=e.width:"end"===n?c=t.width:"inner"!==n&&(c=t.width/2,d=e.width/2),this.paddingLeft=Math.max((c-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-l+o)*this.width/(this.width-l),0)}else{let i=e.height/2,s=t.height/2;"start"===n?(i=0,s=t.height):"end"===n&&(i=e.height,s=0),this.paddingTop=i+o,this.paddingBottom=s+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){j(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,i;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,i=t.length;e{const i=t.gc,s=i.length/2;let n;if(s>e){for(n=0;n({width:o[t]||0,height:a[t]||0});return{first:w(0),last:w(e-1),widest:w(v),highest:w(M),widths:o,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return At(this._alignToPixels?re(this.chart,e,0):e,-32768,32767)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&ta*s?a/i:r/s:r*s0}_computeGridLineItems(t){const e=this.axis,i=this.chart,s=this.options,{grid:n,position:o,border:a}=s,r=n.offset,h=this.isHorizontal(),l=this.ticks.length+(r?1:0),c=Ys(n),d=[],u=a.setContext(this.getContext()),f=u.display?u.width:0,g=f/2,p=function(t){return re(i,t,f)};let m,x,b,_,y,v,M,w,k,S,A,P;if("top"===o)m=p(this.bottom),v=this.bottom-c,w=m-g,S=p(t.top)+g,P=t.bottom;else if("bottom"===o)m=p(this.top),S=t.top,P=p(t.bottom)-g,v=m+g,w=this.top+c;else if("left"===o)m=p(this.right),y=this.right-c,M=m-g,k=p(t.left)+g,A=t.right;else if("right"===o)m=p(this.left),k=t.left,A=p(t.right)-g,y=m+g,M=this.left+c;else if("x"===e){if("center"===o)m=p((t.top+t.bottom)/2+.5);else if(V(o)){const t=Object.keys(o)[0],e=o[t];m=p(this.chart.scales[t].getPixelForValue(e))}S=t.top,P=t.bottom,v=m+g,w=v+c}else if("y"===e){if("center"===o)m=p((t.left+t.right)/2);else if(V(o)){const t=Object.keys(o)[0],e=o[t];m=p(this.chart.scales[t].getPixelForValue(e))}y=m-g,M=y-c,k=t.left,A=t.right}const D=N(s.ticks.maxTicksLimit,l),O=Math.max(1,Math.ceil(l/D));for(x=0;x0&&(o-=s/2)}d={left:o,top:n,width:s+e.width,height:i+e.height,color:t.backdropColor}}p.push({label:_,font:k,textOffset:P,options:{rotation:g,color:i,strokeColor:r,strokeWidth:l,textAlign:u,textBaseline:D,translation:[y,v],backdrop:d}})}return p}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-bt(this.labelRotation))return"top"===t?"left":"right";let i="center";return"start"===e.align?i="left":"end"===e.align?i="right":"inner"===e.align&&(i="inner"),i}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:i,mirror:s,padding:n}}=this.options,o=t+n,a=this._getLabelSizes().widest.width;let r,h;return"left"===e?s?(h=this.right+n,"near"===i?r="left":"center"===i?(r="center",h+=a/2):(r="right",h+=a)):(h=this.right-o,"near"===i?r="right":"center"===i?(r="center",h-=a/2):(r="left",h=this.left)):"right"===e?s?(h=this.left+n,"near"===i?r="right":"center"===i?(r="center",h-=a/2):(r="left",h-=a)):(h=this.left+o,"near"===i?r="left":"center"===i?(r="center",h+=a/2):(r="right",h=this.right)):r="right",{textAlign:r,x:h}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:i,top:s,width:n,height:o}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(i,s,n,o),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const i=this.ticks.findIndex((e=>e.value===t));return i>=0?e.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const e=this.options.grid,i=this.ctx,s=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let n,o;const a=(t,e,s)=>{s.width&&s.color&&(i.save(),i.lineWidth=s.width,i.strokeStyle=s.color,i.setLineDash(s.borderDash||[]),i.lineDashOffset=s.borderDashOffset,i.beginPath(),i.moveTo(t.x,t.y),i.lineTo(e.x,e.y),i.stroke(),i.restore())};if(e.display)for(n=0,o=s.length;n{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:s,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),i=this.axis+"AxisID",s=[];let n,o;for(n=0,o=e.length;n{const s=i.split("."),n=s.pop(),o=[t].concat(s).join("."),a=e[i].split("."),r=a.pop(),h=a.join(".");ne.route(o,n,h,r)}))}(e,t.defaultRoutes),t.descriptors&&ne.describe(e,t.descriptors)}(t,o,i),this.override&&ne.override(t.id,t.overrides)),o}get(t){return this.items[t]}unregister(t){const e=this.items,i=t.id,s=this.scope;i in e&&delete e[i],s&&i in ne[s]&&(delete ne[s][i],this.override&&delete Qt[i])}}class Gs{constructor(){this.controllers=new Ks(Vi,"datasets",!0),this.elements=new Ks(Ws,"elements"),this.plugins=new Ks(Object,"plugins"),this.scales=new Ks(qs,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,e,i){[...e].forEach((e=>{const s=i||this._getRegistryForType(e);i||s.isForType(e)||s===this.plugins&&e.id?this._exec(t,s,e):$(e,(e=>{const s=i||this._getRegistryForType(e);this._exec(t,s,e)}))}))}_exec(t,e,i){const s=tt(t);j(i["before"+s],[],i),e[t](i),j(i["after"+s],[],i)}_getRegistryForType(t){for(let e=0;et.filter((t=>!e.some((e=>t.plugin.id===e.plugin.id))));this._notify(s(e,i),t,"stop"),this._notify(s(i,e),t,"start")}}function Qs(t,e){return e||!1!==t?!0===t?{}:t:null}function tn(t,{plugin:e,local:i},s,n){const o=t.pluginScopeKeys(e),a=t.getOptionScopes(s,o);return i&&e.defaults&&a.push(e.defaults),t.createResolver(a,n,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function en(t,e){const i=ne.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||i.indexAxis||"x"}function sn(t){if("x"===t||"y"===t||"r"===t)return t}function nn(t,...e){if(sn(t))return t;for(const s of e){const e=s.axis||("top"===(i=s.position)||"bottom"===i?"x":"left"===i||"right"===i?"y":void 0)||t.length>1&&sn(t[0].toLowerCase());if(e)return e}var i;throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function on(t,e,i){if(i[e+"AxisID"]===t)return{axis:e}}function an(t){const e=t.options||(t.options={});e.plugins=N(e.plugins,{}),e.scales=function(t,e){const i=Qt[t.type]||{scales:{}},s=e.scales||{},n=en(t.type,e),o=Object.create(null);return Object.keys(s).forEach((e=>{const a=s[e];if(!V(a))return console.error(`Invalid scale configuration for scale: ${e}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${e}`);const r=nn(e,a,function(t,e){if(e.data&&e.data.datasets){const i=e.data.datasets.filter((e=>e.xAxisID===t||e.yAxisID===t));if(i.length)return on(t,"x",i[0])||on(t,"y",i[0])}return{}}(e,t),ne.scales[a.type]),h=function(t,e){return t===e?"_index_":"_value_"}(r,n),l=i.scales||{};o[e]=G(Object.create(null),[{axis:r},a,l[r],l[h]])})),t.data.datasets.forEach((i=>{const n=i.type||t.type,a=i.indexAxis||en(n,e),r=(Qt[n]||{}).scales||{};Object.keys(r).forEach((t=>{const e=function(t,e){let i=t;return"_index_"===t?i=e:"_value_"===t&&(i="x"===e?"y":"x"),i}(t,a),n=i[e+"AxisID"]||e;o[n]=o[n]||Object.create(null),G(o[n],[{axis:e},s[n],r[t]])}))})),Object.keys(o).forEach((t=>{const e=o[t];G(e,[ne.scales[e.type],ne.scale])})),o}(t,e)}function rn(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const hn=new Map,ln=new Set;function cn(t,e){let i=hn.get(t);return i||(i=e(),hn.set(t,i),ln.add(i)),i}const dn=(t,e,i)=>{const s=Q(e,i);void 0!==s&&t.add(s)};class un{constructor(t){this._config=function(t){return(t=t||{}).data=rn(t.data),an(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=rn(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),an(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return cn(t,(()=>[[`datasets.${t}`,""]]))}datasetAnimationScopeKeys(t,e){return cn(`${t}.transition.${e}`,(()=>[[`datasets.${t}.transitions.${e}`,`transitions.${e}`],[`datasets.${t}`,""]]))}datasetElementScopeKeys(t,e){return cn(`${t}-${e}`,(()=>[[`datasets.${t}.elements.${e}`,`datasets.${t}`,`elements.${e}`,""]]))}pluginScopeKeys(t){const e=t.id;return cn(`${this.type}-plugin-${e}`,(()=>[[`plugins.${e}`,...t.additionalOptionScopes||[]]]))}_cachedScopes(t,e){const i=this._scopeCache;let s=i.get(t);return s&&!e||(s=new Map,i.set(t,s)),s}getOptionScopes(t,e,i){const{options:s,type:n}=this,o=this._cachedScopes(t,i),a=o.get(e);if(a)return a;const r=new Set;e.forEach((e=>{t&&(r.add(t),e.forEach((e=>dn(r,t,e)))),e.forEach((t=>dn(r,s,t))),e.forEach((t=>dn(r,Qt[n]||{},t))),e.forEach((t=>dn(r,ne,t))),e.forEach((t=>dn(r,te,t)))}));const h=Array.from(r);return 0===h.length&&h.push(Object.create(null)),ln.has(e)&&o.set(e,h),h}chartOptionScopes(){const{options:t,type:e}=this;return[t,Qt[e]||{},ne.datasets[e]||{},{type:e},ne,te]}resolveNamedOptions(t,e,i,s=[""]){const n={$shared:!0},{resolver:o,subPrefixes:a}=fn(this._resolverCache,t,s);let r=o;(function(t,e){const{isScriptable:i,isIndexable:s}=Ee(t);for(const n of e){const e=i(n),o=s(n),a=(o||e)&&t[n];if(e&&(it(a)||gn(a))||o&&z(a))return!0}return!1})(o,e)&&(n.$shared=!1,r=Le(o,i=it(i)?i():i,this.createResolver(t,i,a)));for(const t of e)n[t]=r[t];return n}createResolver(t,e,i=[""],s){const{resolver:n}=fn(this._resolverCache,t,i);return V(e)?Le(n,e,void 0,s):n}}function fn(t,e,i){let s=t.get(e);s||(s=new Map,t.set(e,s));const n=i.join();let o=s.get(n);return o||(o={resolver:Te(e,i),subPrefixes:i.filter((t=>!t.toLowerCase().includes("hover")))},s.set(n,o)),o}const gn=t=>V(t)&&Object.getOwnPropertyNames(t).some((e=>it(t[e]))),pn=["top","bottom","left","right","chartArea"];function mn(t,e){return"top"===t||"bottom"===t||-1===pn.indexOf(t)&&"x"===e}function xn(t,e){return function(i,s){return i[t]===s[t]?i[e]-s[e]:i[t]-s[t]}}function bn(t){const e=t.chart,i=e.options.animation;e.notifyPlugins("afterRender"),j(i&&i.onComplete,[t],e)}function _n(t){const e=t.chart,i=e.options.animation;j(i&&i.onProgress,[t],e)}function yn(t){return Ze()&&"string"==typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const vn={},Mn=t=>{const e=yn(t);return Object.values(vn).filter((t=>t.canvas===e)).pop()};function wn(t,e,i){const s=Object.keys(t);for(const n of s){const s=+n;if(s>=e){const o=t[n];delete t[n],(i>0||s>e)&&(t[s+i]=o)}}}function kn(t,e,i){return t.options.clip?t[i]:e[i]}class Sn{static register(...t){Zs.add(...t),An()}static unregister(...t){Zs.remove(...t),An()}constructor(t,e){const i=this.config=new un(e),s=yn(t),n=Mn(s);if(n)throw new Error("Canvas is already in use. Chart with ID '"+n.id+"' must be destroyed before the canvas with ID '"+n.canvas.id+"' can be reused.");const o=i.createResolver(i.chartOptionScopes(),this.getContext());this.platform=new(i.platform||function(t){return!Ze()||"undefined"!=typeof OffscreenCanvas&&t instanceof OffscreenCanvas?ws:Vs}(s)),this.platform.updateConfig(i);const a=this.platform.acquireContext(s,o.aspectRatio),r=a&&a.canvas,h=r&&r.height,l=r&&r.width;this.id=I(),this.ctx=a,this.canvas=r,this.width=l,this.height=h,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Js,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let i;return function(...s){return e?(clearTimeout(i),i=setTimeout(t,e,s)):t.apply(this,s),e}}((t=>this.update(t)),o.resizeDelay||0),this._dataChanges=[],vn[this.id]=this,a&&r?(Mi.listen(this,"complete",bn),Mi.listen(this,"progress",_n),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:i,height:s,_aspectRatio:n}=this;return F(t)?e&&n?n:s?i/s:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return Zs}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():ai(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return he(this.canvas,this.ctx),this}stop(){return Mi.stop(this),this}resize(t,e){Mi.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const i=this.options,s=this.canvas,n=i.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(s,t,e,n),a=i.devicePixelRatio||this.platform.getDevicePixelRatio(),r=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,ai(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),j(i.onResize,[this,o],this),this.attached&&this._doResize(r)&&this.render())}ensureScalesHaveIDs(){$(this.options.scales||{},((t,e)=>{t.id=e}))}buildOrUpdateScales(){const t=this.options,e=t.scales,i=this.scales,s=Object.keys(i).reduce(((t,e)=>(t[e]=!1,t)),{});let n=[];e&&(n=n.concat(Object.keys(e).map((t=>{const i=e[t],s=nn(t,i),n="r"===s,o="x"===s;return{options:i,dposition:n?"chartArea":o?"bottom":"left",dtype:n?"radialLinear":o?"category":"linear"}})))),$(n,(e=>{const n=e.options,o=n.id,a=nn(o,n),r=N(n.type,e.dtype);void 0!==n.position&&mn(n.position,a)===mn(e.dposition)||(n.position=e.dposition),s[o]=!0;let h=null;o in i&&i[o].type===r?h=i[o]:(h=new(Zs.getScale(r))({id:o,type:r,ctx:this.ctx,chart:this}),i[h.id]=h),h.init(n,t)})),$(s,((t,e)=>{t||delete i[e]})),$(i,(t=>{vs.configure(this,t,t.options),vs.addBox(this,t)}))}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,i=t.length;if(t.sort(((t,e)=>t.index-e.index)),i>e){for(let t=e;te.length&&delete this._stacks,t.forEach(((t,i)=>{0===e.filter((e=>e===t._dataset)).length&&this._destroyDatasetMeta(i)}))}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let i,s;for(this._removeUnreferencedMetasets(),i=0,s=e.length;i{this.getDatasetMeta(e).controller.reset()}),this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const i=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),s=this._animationsDisabled=!i.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const n=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let t=0,e=this.data.datasets.length;t{t.reset()})),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(xn("z","_idx"));const{_active:a,_lastEvent:r}=this;r?this._eventHandler(r,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){$(this.scales,(t=>{vs.removeBox(this,t)})),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),i=new Set(t.events);st(e,i)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:i,start:s,count:n}of e)wn(t,s,"_removeElements"===i?-n:n)}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,i=e=>new Set(t.filter((t=>t[0]===e)).map(((t,e)=>e+","+t.splice(1).join(",")))),s=i(0);for(let t=1;tt.split(","))).map((t=>({method:t[1],start:+t[2],count:+t[3]})))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;vs.update(this,this.width,this.height,t);const e=this.chartArea,i=e.width<=0||e.height<=0;this._layers=[],$(this.boxes,(t=>{i&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))}),this),this._layers.forEach(((t,e)=>{t._idx=e})),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,i=t._clip,s=!i.disabled,n=function(t,e){const{xScale:i,yScale:s}=t;return i&&s?{left:kn(i,e,"left"),right:kn(i,e,"right"),top:kn(s,e,"top"),bottom:kn(s,e,"bottom")}:e}(t,this.chartArea),o={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",o)&&(s&&ue(e,{left:!1===i.left?0:n.left-i.left,right:!1===i.right?this.width:n.right+i.right,top:!1===i.top?0:n.top-i.top,bottom:!1===i.bottom?this.height:n.bottom+i.bottom}),t.controller.draw(),s&&fe(e),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(t){return de(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,i,s){const n=ls.modes[e];return"function"==typeof n?n(this,t,i,s):[]}getDatasetMeta(t){const e=this.data.datasets[t],i=this._metasets;let s=i.filter((t=>t&&t._dataset===e)).pop();return s||(s={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},i.push(s)),s}getContext(){return this.$context||(this.$context=Ce(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const i=this.getDatasetMeta(t);return"boolean"==typeof i.hidden?!i.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,i){const s=i?"show":"hide",n=this.getDatasetMeta(t),o=n.controller._resolveAnimations(void 0,s);et(e)?(n.data[e].hidden=!i,this.update()):(this.setDatasetVisibility(t,i),o.update(n,{visible:i}),this.update((e=>e.datasetIndex===t?s:void 0)))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),Mi.remove(this),t=0,e=this.data.datasets.length;t{e.addEventListener(this,i,s),t[i]=s},s=(t,e,i)=>{t.offsetX=e,t.offsetY=i,this._eventHandler(t)};$(this.options.events,(t=>i(t,s)))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,i=(i,s)=>{e.addEventListener(this,i,s),t[i]=s},s=(i,s)=>{t[i]&&(e.removeEventListener(this,i,s),delete t[i])},n=(t,e)=>{this.canvas&&this.resize(t,e)};let o;const a=()=>{s("attach",a),this.attached=!0,this.resize(),i("resize",n),i("detach",o)};o=()=>{this.attached=!1,s("resize",n),this._stop(),this._resize(0,0),i("attach",a)},e.isAttached(this.canvas)?a():o()}unbindEvents(){$(this._listeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._listeners={},$(this._responsiveListeners,((t,e)=>{this.platform.removeEventListener(this,e,t)})),this._responsiveListeners=void 0}updateHoverStyle(t,e,i){const s=i?"set":"remove";let n,o,a,r;for("dataset"===e&&(n=this.getDatasetMeta(t[0].datasetIndex),n.controller["_"+s+"DatasetHoverStyle"]()),a=0,r=t.length;a{const i=this.getDatasetMeta(t);if(!i)throw new Error("No dataset found at index "+t);return{datasetIndex:t,element:i.data[e],index:e}}));!Y(i,e)&&(this._active=i,this._lastEvent=null,this._updateHoverStyles(i,e))}notifyPlugins(t,e,i){return this._plugins.notify(this,t,e,i)}isPluginEnabled(t){return 1===this._plugins._cache.filter((e=>e.plugin.id===t)).length}_updateHoverStyles(t,e,i){const s=this.options.hover,n=(t,e)=>t.filter((t=>!e.some((e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)))),o=n(e,t),a=i?t:n(t,e);o.length&&this.updateHoverStyle(o,s.mode,!1),a.length&&s.mode&&this.updateHoverStyle(a,s.mode,!0)}_eventHandler(t,e){const i={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},s=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",i,s))return;const n=this._handleEvent(t,e,i.inChartArea);return i.cancelable=!1,this.notifyPlugins("afterEvent",i,s),(n||i.changed)&&this.render(),this}_handleEvent(t,e,i){const{_active:s=[],options:n}=this,o=e,a=this._getActiveElements(t,s,i,o),r=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),h=function(t,e,i,s){return i&&"mouseout"!==t.type?s?e:t:null}(t,this._lastEvent,i,r);i&&(this._lastEvent=null,j(n.onHover,[t,a,this],this),r&&j(n.onClick,[t,a,this],this));const l=!Y(a,s);return(l||e)&&(this._active=a,this._updateHoverStyles(a,s,e)),this._lastEvent=h,l}_getActiveElements(t,e,i,s){if("mouseout"===t.type)return[];if(!i)return e;const n=this.options.hover;return this.getElementsAtEventForMode(t,n.mode,n,s)}}function An(){return $(Sn.instances,(t=>t._plugins.invalidate()))}function Pn(t,e,i,s){return{x:i+t*Math.cos(e),y:s+t*Math.sin(e)}}function Dn(t,e,i,s,n,o){const{x:a,y:r,startAngle:h,pixelMargin:l,innerRadius:c}=e,d=Math.max(e.outerRadius+s+i-l,0),u=c>0?c+s+i+l:0;let f=0;const g=n-h;if(s){const t=((c>0?c-s:0)+(d>0?d-s:0))/2;f=(g-(0!==t?g*t/(t+s):g))/2}const p=(g-Math.max(.001,g*d-i/nt)/d)/2,m=h+p+f,x=n-p-f,{outerStart:b,outerEnd:_,innerStart:y,innerEnd:v}=function(t,e,i,s){const n=ke(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),o=(i-e)/2,a=Math.min(o,s*e/2),r=t=>{const e=(i-Math.min(o,t))*s/2;return At(t,0,Math.min(o,e))};return{outerStart:r(n.outerStart),outerEnd:r(n.outerEnd),innerStart:At(n.innerStart,0,a),innerEnd:At(n.innerEnd,0,a)}}(e,u,d,x-m),M=d-b,w=d-_,k=m+b/M,S=x-_/w,A=u+y,P=u+v,D=m+y/A,O=x-v/P;if(t.beginPath(),o){const e=(k+S)/2;if(t.arc(a,r,d,k,e),t.arc(a,r,d,e,S),_>0){const e=Pn(w,S,a,r);t.arc(e.x,e.y,_,S,x+lt)}const i=Pn(P,x,a,r);if(t.lineTo(i.x,i.y),v>0){const e=Pn(P,O,a,r);t.arc(e.x,e.y,v,x+lt,O+Math.PI)}const s=(x-v/u+(m+y/u))/2;if(t.arc(a,r,u,x-v/u,s,!0),t.arc(a,r,u,s,m+y/u,!0),y>0){const e=Pn(A,D,a,r);t.arc(e.x,e.y,y,D+Math.PI,m-lt)}const n=Pn(M,m,a,r);if(t.lineTo(n.x,n.y),b>0){const e=Pn(M,k,a,r);t.arc(e.x,e.y,b,m-lt,k)}}else{t.moveTo(a,r);const e=Math.cos(k)*d+a,i=Math.sin(k)*d+r;t.lineTo(e,i);const s=Math.cos(S)*d+a,n=Math.sin(S)*d+r;t.lineTo(s,n)}t.closePath()}(0,s.A)(Sn,"defaults",ne),(0,s.A)(Sn,"instances",vn),(0,s.A)(Sn,"overrides",Qt),(0,s.A)(Sn,"registry",Zs),(0,s.A)(Sn,"version","4.4.3"),(0,s.A)(Sn,"getChart",Mn);class On extends Ws{constructor(t){super(),(0,s.A)(this,"circumference",void 0),(0,s.A)(this,"endAngle",void 0),(0,s.A)(this,"fullCircles",void 0),(0,s.A)(this,"innerRadius",void 0),(0,s.A)(this,"outerRadius",void 0),(0,s.A)(this,"pixelMargin",void 0),(0,s.A)(this,"startAngle",void 0),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.getProps(["x","y"],i),{angle:n,distance:o}=vt(s,{x:t,y:e}),{startAngle:a,endAngle:r,innerRadius:h,outerRadius:l,circumference:c}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],i),d=(this.options.spacing+this.options.borderWidth)/2,u=N(c,r-a)>=ot||St(n,a,r),f=Pt(o,h+d,l+d);return u&&f}getCenterPoint(t){const{x:e,y:i,startAngle:s,endAngle:n,innerRadius:o,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:r,spacing:h}=this.options,l=(s+n)/2,c=(o+a+h+r)/2;return{x:e+Math.cos(l)*c,y:i+Math.sin(l)*c}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:i}=this,s=(e.offset||0)/4,n=(e.spacing||0)/2,o=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=i>ot?Math.floor(i/ot):0,0===i||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*s,Math.sin(a)*s);const r=s*(1-Math.sin(Math.min(nt,i||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,i,s,n){const{fullCircles:o,startAngle:a,circumference:r}=e;let h=e.endAngle;if(o){Dn(t,e,i,s,h,n);for(let e=0;en?(l=n/h,t.arc(o,a,h,i+l,s-l,!0)):t.arc(o,a,n,i+lt,s-lt),t.closePath(),t.clip()}(t,e,g),o||(Dn(t,e,i,s,g,n),t.stroke())}(t,this,r,n,o),t.restore()}}function Cn(t,e,i=e){t.lineCap=N(i.borderCapStyle,e.borderCapStyle),t.setLineDash(N(i.borderDash,e.borderDash)),t.lineDashOffset=N(i.borderDashOffset,e.borderDashOffset),t.lineJoin=N(i.borderJoinStyle,e.borderJoinStyle),t.lineWidth=N(i.borderWidth,e.borderWidth),t.strokeStyle=N(i.borderColor,e.borderColor)}function Tn(t,e,i){t.lineTo(i.x,i.y)}function Ln(t,e,i={}){const s=t.length,{start:n=0,end:o=s-1}=i,{start:a,end:r}=e,h=Math.max(n,a),l=Math.min(o,r),c=nr&&o>r;return{count:s,start:h,loop:e.loop,ilen:l(a+(l?r-t:t))%o,_=()=>{f!==g&&(t.lineTo(m,g),t.lineTo(m,f),t.lineTo(m,p))};for(h&&(d=n[b(0)],t.moveTo(d.x,d.y)),c=0;c<=r;++c){if(d=n[b(c)],d.skip)continue;const e=d.x,i=d.y,s=0|e;s===u?(ig&&(g=i),m=(x*m+e)/++x):(_(),t.lineTo(e,i),u=s,x=0,f=g=i),p=i}_()}function In(t){const e=t.options,i=e.borderDash&&e.borderDash.length;return t._decimated||t._loop||e.tension||"monotone"===e.cubicInterpolationMode||e.stepped||i?En:Rn}(0,s.A)(On,"id","arc"),(0,s.A)(On,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),(0,s.A)(On,"defaultRoutes",{backgroundColor:"backgroundColor"}),(0,s.A)(On,"descriptors",{_scriptable:!0,_indexable:t=>"borderDash"!==t});const Fn="function"==typeof Path2D;class zn extends Ws{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const i=this.options;if((i.tension||"monotone"===i.cubicInterpolationMode)&&!i.stepped&&!this._pointsUpdated){const s=i.spanGaps?this._loop:this._fullLoop;Ge(this._points,i,t,s,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const i=t.points,s=t.options.spanGaps,n=i.length;if(!n)return[];const o=!!t._loop,{start:a,end:r}=function(t,e,i,s){let n=0,o=e-1;if(i&&!s)for(;nn&&t[o%e].skip;)o--;return o%=e,{start:n,end:o}}(i,n,o,s);return function(t,e,i,s){return s&&s.setContext&&i?function(t,e,i,s){const n=t._chart.getContext(),o=_i(t.options),{_datasetIndex:a,options:{spanGaps:r}}=t,h=i.length,l=[];let c=o,d=e[0].start,u=d;function f(t,e,s,n){const o=r?-1:1;if(t!==e){for(t+=h;i[t%h].skip;)t-=o;for(;i[e%h].skip;)e+=o;t%h!=e%h&&(l.push({start:t%h,end:e%h,loop:s,style:n}),c=n,d=e%h)}}for(const t of e){d=r?d:t.start;let e,o=i[d%h];for(u=d+1;u<=t.end;u++){const r=i[u%h];e=_i(s.setContext(Ce(n,{type:"segment",p0:o,p1:r,p0DataIndex:(u-1)%h,p1DataIndex:u%h,datasetIndex:a}))),yi(e,c)&&f(d,u-1,t.loop,c),o=r,c=e}d"borderDash"!==t&&"fill"!==t});class Wn extends Ws{constructor(t){super(),(0,s.A)(this,"parsed",void 0),(0,s.A)(this,"skip",void 0),(0,s.A)(this,"stop",void 0),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,i){const s=this.options,{x:n,y:o}=this.getProps(["x","y"],i);return Math.pow(t-n,2)+Math.pow(e-o,2)t;e--){const t=i[e];if(!isNaN(t.x)&&!isNaN(t.y))break}return e}function qn(t,e,i,s){return t&&e?s(t[i],e[i]):t?t[i]:e?e[i]:0}function Kn(t,e){let i=[],s=!1;return z(t)?(s=!0,i=t):i=function(t,e){const{x:i=null,y:s=null}=t||{},n=e.points,o=[];return e.segments.forEach((({start:t,end:e})=>{e=Xn(t,e,n);const a=n[t],r=n[e];null!==s?(o.push({x:a.x,y:s}),o.push({x:r.x,y:s})):null!==i&&(o.push({x:i,y:a.y}),o.push({x:i,y:r.y}))})),o}(t,e),i.length?new zn({points:i,options:{tension:0},_loop:s,_fullLoop:s}):null}function Gn(t){return t&&!1!==t.fill}function Zn(t,e,i){let s=t[e].fill;const n=[e];let o;if(!i)return s;for(;!1!==s&&-1===n.indexOf(s);){if(!W(s))return s;if(o=t[s],!o)return!1;if(o.visible)return s;n.push(s),s=o.fill}return!1}function Jn(t,e,i){const s=function(t){const e=t.options,i=e.fill;let s=N(i&&i.target,i);return void 0===s&&(s=!!e.backgroundColor),!1!==s&&null!==s&&(!0===s?"origin":s)}(t);if(V(s))return!isNaN(s.value)&&s;let n=parseFloat(s);return W(n)&&Math.floor(n)===n?function(t,e,i,s){return"-"!==t&&"+"!==t||(i=e+i),!(i===e||i<0||i>=s)&&i}(s[0],e,n,i):["origin","start","end","stack","shape"].indexOf(s)>=0&&s}function Qn(t,e,i){const s=[];for(let n=0;n=0;--e){const i=n[e].$filler;i&&(i.line.updateControlPoints(o,i.axis),s&&i.fill&&io(t.ctx,i,o))}},beforeDatasetsDraw(t,e,i){if("beforeDatasetsDraw"!==i.drawTime)return;const s=t.getSortedVisibleDatasetMetas();for(let e=s.length-1;e>=0;--e){const i=s[e].$filler;Gn(i)&&io(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,i){const s=e.meta.$filler;Gn(s)&&"beforeDatasetDraw"===i.drawTime&&io(t.ctx,s,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const ho=(t,e)=>{let{boxHeight:i=e,boxWidth:s=e}=t;return t.usePointStyle&&(i=Math.min(i,e),s=t.pointStyleWidth||Math.min(s,e)),{boxWidth:s,boxHeight:i,itemHeight:Math.max(e,i)}};class lo extends Ws{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,i){this.maxWidth=t,this.maxHeight=e,this._margins=i,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=j(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter((e=>t.filter(e,this.chart.data)))),t.sort&&(e=e.sort(((e,i)=>t.sort(e,i,this.chart.data)))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const i=t.labels,s=De(i.font),n=s.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:r}=ho(i,n);let h,l;e.font=s.string,this.isHorizontal()?(h=this.maxWidth,l=this._fitRows(o,n,a,r)+10):(l=this.maxHeight,h=this._fitCols(o,s,a,r)+10),this.width=Math.min(h,t.maxWidth||this.maxWidth),this.height=Math.min(l,t.maxHeight||this.maxHeight)}_fitRows(t,e,i,s){const{ctx:n,maxWidth:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],h=this.lineWidths=[0],l=s+a;let c=t;n.textAlign="left",n.textBaseline="middle";let d=-1,u=-l;return this.legendItems.forEach(((t,f)=>{const g=i+e/2+n.measureText(t.text).width;(0===f||h[h.length-1]+g+2*a>o)&&(c+=l,h[h.length-(f>0?0:1)]=0,u+=l,d++),r[f]={left:0,top:u,row:d,width:g,height:s},h[h.length-1]+=g+a})),c}_fitCols(t,e,i,s){const{ctx:n,maxHeight:o,options:{labels:{padding:a}}}=this,r=this.legendHitBoxes=[],h=this.columnSizes=[],l=o-t;let c=a,d=0,u=0,f=0,g=0;return this.legendItems.forEach(((t,o)=>{const{itemWidth:p,itemHeight:m}=function(t,e,i,s,n){const o=function(t,e,i,s){let n=t.text;return n&&"string"!=typeof n&&(n=n.reduce(((t,e)=>t.length>e.length?t:e))),e+i.size/2+s.measureText(n).width}(s,t,e,i),a=function(t,e,i){let s=t;return"string"!=typeof e.text&&(s=co(e,i)),s}(n,s,e.lineHeight);return{itemWidth:o,itemHeight:a}}(i,e,n,t,s);o>0&&u+m+2*a>l&&(c+=d+a,h.push({width:d,height:u}),f+=d+a,g++,d=u=0),r[o]={left:f,top:u,col:g,width:p,height:m},d=Math.max(d,p),u+=m+a})),c+=d,h.push({width:d,height:u}),c}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:i,labels:{padding:s},rtl:n}}=this,o=ui(n,this.left,this.width);if(this.isHorizontal()){let n=0,a=zt(i,this.left+s,this.right-this.lineWidths[n]);for(const r of e)n!==r.row&&(n=r.row,a=zt(i,this.left+s,this.right-this.lineWidths[n])),r.top+=this.top+t+s,r.left=o.leftForLtr(o.x(a),r.width),a+=r.width+s}else{let n=0,a=zt(i,this.top+t+s,this.bottom-this.columnSizes[n].height);for(const r of e)r.col!==n&&(n=r.col,a=zt(i,this.top+t+s,this.bottom-this.columnSizes[n].height)),r.top=a,r.left+=this.left+s,r.left=o.leftForLtr(o.x(r.left),r.width),a+=r.height+s}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;ue(t,this),this._draw(),fe(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:i,ctx:s}=this,{align:n,labels:o}=t,a=ne.color,r=ui(t.rtl,this.left,this.width),h=De(o.font),{padding:l}=o,c=h.size,d=c/2;let u;this.drawTitle(),s.textAlign=r.textAlign("left"),s.textBaseline="middle",s.lineWidth=.5,s.font=h.string;const{boxWidth:f,boxHeight:g,itemHeight:p}=ho(o,c),m=this.isHorizontal(),x=this._computeTitleHeight();u=m?{x:zt(n,this.left+l,this.right-i[0]),y:this.top+l+x,line:0}:{x:this.left+l,y:zt(n,this.top+x+l,this.bottom-e[0].height),line:0},fi(this.ctx,t.textDirection);const b=p+l;this.legendItems.forEach(((_,y)=>{s.strokeStyle=_.fontColor,s.fillStyle=_.fontColor;const v=s.measureText(_.text).width,M=r.textAlign(_.textAlign||(_.textAlign=o.textAlign)),w=f+d+v;let k=u.x,S=u.y;if(r.setWidth(this.width),m?y>0&&k+w+l>this.right&&(S=u.y+=b,u.line++,k=u.x=zt(n,this.left+l,this.right-i[u.line])):y>0&&S+b>this.bottom&&(k=u.x=k+e[u.line].width+l,u.line++,S=u.y=zt(n,this.top+x+l,this.bottom-e[u.line].height)),function(t,e,i){if(isNaN(f)||f<=0||isNaN(g)||g<0)return;s.save();const n=N(i.lineWidth,1);if(s.fillStyle=N(i.fillStyle,a),s.lineCap=N(i.lineCap,"butt"),s.lineDashOffset=N(i.lineDashOffset,0),s.lineJoin=N(i.lineJoin,"miter"),s.lineWidth=n,s.strokeStyle=N(i.strokeStyle,a),s.setLineDash(N(i.lineDash,[])),o.usePointStyle){const a={radius:g*Math.SQRT2/2,pointStyle:i.pointStyle,rotation:i.rotation,borderWidth:n},h=r.xPlus(t,f/2);ce(s,a,h,e+d,o.pointStyleWidth&&f)}else{const o=e+Math.max((c-g)/2,0),a=r.leftForLtr(t,f),h=Ae(i.borderRadius);s.beginPath(),Object.values(h).some((t=>0!==t))?_e(s,{x:a,y:o,w:f,h:g,radius:h}):s.rect(a,o,f,g),s.fill(),0!==n&&s.stroke()}s.restore()}(r.x(k),S,_),k=((t,e,i,s)=>t===(s?"left":"right")?i:"center"===t?(e+i)/2:e)(M,k+f+d,m?k+w:this.right,t.rtl),function(t,e,i){be(s,i.text,t,e+p/2,h,{strikethrough:i.hidden,textAlign:r.textAlign(i.textAlign)})}(r.x(k),S,_),m)u.x+=w+l;else if("string"!=typeof _.text){const t=h.lineHeight;u.y+=co(_,t)+l}else u.y+=b})),gi(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,i=De(e.font),s=Pe(e.padding);if(!e.display)return;const n=ui(t.rtl,this.left,this.width),o=this.ctx,a=e.position,r=i.size/2,h=s.top+r;let l,c=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),l=this.top+h,c=zt(t.align,c,this.right-d);else{const e=this.columnSizes.reduce(((t,e)=>Math.max(t,e.height)),0);l=h+zt(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const u=zt(a,c,c+d);o.textAlign=n.textAlign(Ft(a)),o.textBaseline="middle",o.strokeStyle=e.color,o.fillStyle=e.color,o.font=i.string,be(o,e.text,u,l,i)}_computeTitleHeight(){const t=this.options.title,e=De(t.font),i=Pe(t.padding);return t.display?e.lineHeight+i.height:0}_getLegendItemAt(t,e){let i,s,n;if(Pt(t,this.left,this.right)&&Pt(e,this.top,this.bottom))for(n=this.legendHitBoxes,i=0;it.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:i,pointStyle:s,textAlign:n,color:o,useBorderRadius:a,borderRadius:r}}=t.legend.options;return t._getSortedDatasetMetas().map((t=>{const h=t.controller.getStyle(i?0:void 0),l=Pe(h.borderWidth);return{text:e[t.index].label,fillStyle:h.backgroundColor,fontColor:o,hidden:!t.visible,lineCap:h.borderCapStyle,lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:(l.width+l.height)/4,strokeStyle:h.borderColor,pointStyle:s||h.pointStyle,rotation:h.rotation,textAlign:n||h.textAlign,borderRadius:a&&(r||h.borderRadius),datasetIndex:t.index}}),this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};new WeakMap;const fo={average(t){if(!t.length)return!1;let e,i,s=new Set,n=0,o=0;for(e=0,i=t.length;et+e))/s.size,y:n/o}},nearest(t,e){if(!t.length)return!1;let i,s,n,o=e.x,a=e.y,r=Number.POSITIVE_INFINITY;for(i=0,s=t.length;i-1?t.split("\n"):t}function mo(t,e){const{element:i,datasetIndex:s,index:n}=e,o=t.getDatasetMeta(s).controller,{label:a,value:r}=o.getLabelAndValue(n);return{chart:t,label:a,parsed:o.getParsed(n),raw:t.data.datasets[s].data[n],formattedValue:r,dataset:o.getDataset(),dataIndex:n,datasetIndex:s,element:i}}function xo(t,e){const i=t.chart.ctx,{body:s,footer:n,title:o}=t,{boxWidth:a,boxHeight:r}=e,h=De(e.bodyFont),l=De(e.titleFont),c=De(e.footerFont),d=o.length,u=n.length,f=s.length,g=Pe(e.padding);let p=g.height,m=0,x=s.reduce(((t,e)=>t+e.before.length+e.lines.length+e.after.length),0);x+=t.beforeBody.length+t.afterBody.length,d&&(p+=d*l.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),x&&(p+=f*(e.displayColors?Math.max(r,h.lineHeight):h.lineHeight)+(x-f)*h.lineHeight+(x-1)*e.bodySpacing),u&&(p+=e.footerMarginTop+u*c.lineHeight+(u-1)*e.footerSpacing);let b=0;const _=function(t){m=Math.max(m,i.measureText(t).width+b)};return i.save(),i.font=l.string,$(t.title,_),i.font=h.string,$(t.beforeBody.concat(t.afterBody),_),b=e.displayColors?a+2+e.boxPadding:0,$(s,(t=>{$(t.before,_),$(t.lines,_),$(t.after,_)})),b=0,i.font=c.string,$(t.footer,_),i.restore(),m+=g.width,{width:m,height:p}}function bo(t,e,i,s){const{x:n,width:o}=i,{width:a,chartArea:{left:r,right:h}}=t;let l="center";return"center"===s?l=n<=(r+h)/2?"left":"right":n<=o/2?l="left":n>=a-o/2&&(l="right"),function(t,e,i,s){const{x:n,width:o}=s,a=i.caretSize+i.caretPadding;return"left"===t&&n+o+a>e.width||"right"===t&&n-o-a<0||void 0}(l,t,e,i)&&(l="center"),l}function _o(t,e,i){const s=i.yAlign||e.yAlign||function(t,e){const{y:i,height:s}=e;return it.height-s/2?"bottom":"center"}(t,i);return{xAlign:i.xAlign||e.xAlign||bo(t,e,i,s),yAlign:s}}function yo(t,e,i,s){const{caretSize:n,caretPadding:o,cornerRadius:a}=t,{xAlign:r,yAlign:h}=i,l=n+o,{topLeft:c,topRight:d,bottomLeft:u,bottomRight:f}=Ae(a);let g=function(t,e){let{x:i,width:s}=t;return"right"===e?i-=s:"center"===e&&(i-=s/2),i}(e,r);const p=function(t,e,i){let{y:s,height:n}=t;return"top"===e?s+=i:s-="bottom"===e?n+i:n/2,s}(e,h,l);return"center"===h?"left"===r?g+=l:"right"===r&&(g-=l):"left"===r?g-=Math.max(c,u)+n:"right"===r&&(g+=Math.max(d,f)+n),{x:At(g,0,s.width-e.width),y:At(p,0,s.height-e.height)}}function vo(t,e,i){const s=Pe(i.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-s.right:t.x+s.left}function Mo(t){return go([],po(t))}function wo(t,e){const i=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return i?t.override(i):t}const ko={beforeTitle:R,title(t){if(t.length>0){const e=t[0],i=e.chart.data.labels,s=i?i.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(s>0&&e.dataIndex{const e={before:[],lines:[],after:[]},n=wo(i,t);go(e.before,po(So(n,"beforeLabel",this,t))),go(e.lines,So(n,"label",this,t)),go(e.after,po(So(n,"afterLabel",this,t))),s.push(e)})),s}getAfterBody(t,e){return Mo(So(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:i}=e,s=So(i,"beforeFooter",this,t),n=So(i,"footer",this,t),o=So(i,"afterFooter",this,t);let a=[];return a=go(a,po(s)),a=go(a,po(n)),a=go(a,po(o)),a}_createItems(t){const e=this._active,i=this.chart.data,s=[],n=[],o=[];let a,r,h=[];for(a=0,r=e.length;at.filter(e,s,n,i)))),t.itemSort&&(h=h.sort(((e,s)=>t.itemSort(e,s,i)))),$(h,(e=>{const i=wo(t.callbacks,e);s.push(So(i,"labelColor",this,e)),n.push(So(i,"labelPointStyle",this,e)),o.push(So(i,"labelTextColor",this,e))})),this.labelColors=s,this.labelPointStyles=n,this.labelTextColors=o,this.dataPoints=h,h}update(t,e){const i=this.options.setContext(this.getContext()),s=this._active;let n,o=[];if(s.length){const t=fo[i.position].call(this,s,this._eventPosition);o=this._createItems(i),this.title=this.getTitle(o,i),this.beforeBody=this.getBeforeBody(o,i),this.body=this.getBody(o,i),this.afterBody=this.getAfterBody(o,i),this.footer=this.getFooter(o,i);const e=this._size=xo(this,i),a=Object.assign({},t,e),r=_o(this.chart,i,a),h=yo(i,a,r,this.chart);this.xAlign=r.xAlign,this.yAlign=r.yAlign,n={opacity:1,x:h.x,y:h.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(n={opacity:0});this._tooltipItems=o,this.$context=void 0,n&&this._resolveAnimations().update(this,n),t&&i.external&&i.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,i,s){const n=this.getCaretPosition(t,i,s);e.lineTo(n.x1,n.y1),e.lineTo(n.x2,n.y2),e.lineTo(n.x3,n.y3)}getCaretPosition(t,e,i){const{xAlign:s,yAlign:n}=this,{caretSize:o,cornerRadius:a}=i,{topLeft:r,topRight:h,bottomLeft:l,bottomRight:c}=Ae(a),{x:d,y:u}=t,{width:f,height:g}=e;let p,m,x,b,_,y;return"center"===n?(_=u+g/2,"left"===s?(p=d,m=p-o,b=_+o,y=_-o):(p=d+f,m=p+o,b=_-o,y=_+o),x=p):(m="left"===s?d+Math.max(r,l)+o:"right"===s?d+f-Math.max(h,c)-o:this.caretX,"top"===n?(b=u,_=b-o,p=m-o,x=m+o):(b=u+g,_=b+o,p=m+o,x=m-o),y=b),{x1:p,x2:m,x3:x,y1:b,y2:_,y3:y}}drawTitle(t,e,i){const s=this.title,n=s.length;let o,a,r;if(n){const h=ui(i.rtl,this.x,this.width);for(t.x=vo(this,i.titleAlign,i),e.textAlign=h.textAlign(i.titleAlign),e.textBaseline="middle",o=De(i.titleFont),a=i.titleSpacing,e.fillStyle=i.titleColor,e.font=o.string,r=0;r0!==t))?(t.beginPath(),t.fillStyle=n.multiKeyBackground,_e(t,{x:e,y:f,w:h,h:r,radius:a}),t.fill(),t.stroke(),t.fillStyle=o.backgroundColor,t.beginPath(),_e(t,{x:i,y:f+1,w:h-2,h:r-2,radius:a}),t.fill()):(t.fillStyle=n.multiKeyBackground,t.fillRect(e,f,h,r),t.strokeRect(e,f,h,r),t.fillStyle=o.backgroundColor,t.fillRect(i,f+1,h-2,r-2))}t.fillStyle=this.labelTextColors[i]}drawBody(t,e,i){const{body:s}=this,{bodySpacing:n,bodyAlign:o,displayColors:a,boxHeight:r,boxWidth:h,boxPadding:l}=i,c=De(i.bodyFont);let d=c.lineHeight,u=0;const f=ui(i.rtl,this.x,this.width),g=function(i){e.fillText(i,f.x(t.x+u),t.y+d/2),t.y+=d+n},p=f.textAlign(o);let m,x,b,_,y,v,M;for(e.textAlign=o,e.textBaseline="middle",e.font=c.string,t.x=vo(this,p,i),e.fillStyle=i.bodyColor,$(this.beforeBody,g),u=a&&"right"!==p?"center"===o?h/2+l:h+2+l:0,_=0,v=s.length;_0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,i=this.$animations,s=i&&i.x,n=i&&i.y;if(s||n){const i=fo[t.position].call(this,this._active,this._eventPosition);if(!i)return;const o=this._size=xo(this,t),a=Object.assign({},i,this._size),r=_o(e,t,a),h=yo(t,a,r,e);s._to===h.x&&n._to===h.y||(this.xAlign=r.xAlign,this.yAlign=r.yAlign,this.width=o.width,this.height=o.height,this.caretX=i.x,this.caretY=i.y,this._resolveAnimations().update(this,h))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let i=this.opacity;if(!i)return;this._updateAnimationTarget(e);const s={width:this.width,height:this.height},n={x:this.x,y:this.y};i=Math.abs(i)<.001?0:i;const o=Pe(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=i,this.drawBackground(n,t,s,e),fi(t,e.textDirection),n.y+=o.top,this.drawTitle(n,t,e),this.drawBody(n,t,e),this.drawFooter(n,t,e),gi(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const i=this._active,s=t.map((({datasetIndex:t,index:e})=>{const i=this.chart.getDatasetMeta(t);if(!i)throw new Error("Cannot find a dataset at index "+t);return{datasetIndex:t,element:i.data[e],index:e}})),n=!Y(i,s),o=this._positionChanged(s,e);(n||o)&&(this._active=s,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e,i=!0){if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const s=this.options,n=this._active||[],o=this._getActiveElements(t,n,e,i),a=this._positionChanged(o,t),r=e||!Y(o,n)||a;return r&&(this._active=o,(s.enabled||s.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),r}_getActiveElements(t,e,i,s){const n=this.options;if("mouseout"===t.type)return[];if(!s)return e.filter((t=>this.chart.data.datasets[t.datasetIndex]&&void 0!==this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index)));const o=this.chart.getElementsAtEventForMode(t,n.mode,n,i);return n.reverse&&o.reverse(),o}_positionChanged(t,e){const{caretX:i,caretY:s,options:n}=this,o=fo[n.position].call(this,t,e);return!1!==o&&(i!==o.x||s!==o.y)}}(0,s.A)(Ao,"positioners",fo);var Po={id:"tooltip",_element:Ao,positioners:fo,afterInit(t,e,i){i&&(t.tooltip=new Ao({chart:t,options:i}))},beforeUpdate(t,e,i){t.tooltip&&t.tooltip.initialize(i)},reset(t,e,i){t.tooltip&&t.tooltip.initialize(i)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const i={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",{...i,cancelable:!0}))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",i)}},afterEvent(t,e){if(t.tooltip){const i=e.replay;t.tooltip.handleEvent(e.event,i,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:ko},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Do(t){const e=this.getLabels();return t>=0&&tnull===t?null:At(Math.round(t),0,e))(e=isFinite(e)&&i[e]===t?e:function(t,e,i,s){const n=t.indexOf(e);return-1===n?((t,e,i,s)=>("string"==typeof e?(i=t.push(e)-1,s.unshift({index:i,label:e})):isNaN(e)&&(i=null),i))(t,e,i,s):n!==t.lastIndexOf(e)?i:n}(i,t,N(e,t),this._addedLabels),i.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:i,max:s}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(i=0),e||(s=this.getLabels().length-1)),this.min=i,this.max=s}buildTicks(){const t=this.min,e=this.max,i=this.options.offset,s=[];let n=this.getLabels();n=0===t&&e===n.length-1?n:n.slice(t,e+1),this._valueRange=Math.max(n.length-(i?0:1),1),this._startValue=this.min-(i?.5:0);for(let i=t;i<=e;i++)s.push({value:i});return s}getLabelForValue(t){return Do.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!=typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Co(t,e,{horizontal:i,minRotation:s}){const n=bt(s),o=(i?Math.sin(n):Math.cos(n))||.001,a=.75*e*(""+t).length;return Math.min(e/o,a)}(0,s.A)(Oo,"id","category"),(0,s.A)(Oo,"defaults",{ticks:{callback:Do}});class To extends qs{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return F(t)||("number"==typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:i}=this.getUserBounds();let{min:s,max:n}=this;const o=t=>s=e?s:t,a=t=>n=i?n:t;if(t){const t=ft(s),e=ft(n);t<0&&e<0?a(0):t>0&&e>0&&o(0)}if(s===n){let e=0===n?1:Math.abs(.05*n);a(n+e),t||o(s-e)}this.min=s,this.max=n}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:i,stepSize:s}=t;return s?(e=Math.ceil(this.max/s)-Math.floor(this.min/s)+1,e>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${s} would result generating up to ${e} ticks. Limiting to 1000.`),e=1e3)):(e=this.computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let i=this.getTickLimit();i=Math.max(2,i);const s=function(t,e){const i=[],{bounds:s,step:n,min:o,max:a,precision:r,count:h,maxTicks:l,maxDigits:c,includeBounds:d}=t,u=n||1,f=l-1,{min:g,max:p}=e,m=!F(o),x=!F(a),b=!F(h),_=(p-g)/(c+1);let y,v,M,w,k=pt((p-g)/f/u)*u;if(k<1e-14&&!m&&!x)return[{value:g},{value:p}];w=Math.ceil(p/k)-Math.floor(g/k),w>f&&(k=pt(w*k/f/u)*u),F(r)||(y=Math.pow(10,r),k=Math.ceil(k*y)/y),"ticks"===s?(v=Math.floor(g/k)*k,M=Math.ceil(p/k)*k):(v=g,M=p),m&&x&&n&&function(t,e){const i=Math.round(t);return i-e<=t&&i+e>=t}((a-o)/n,k/1e3)?(w=Math.round(Math.min((a-o)/k,l)),k=(a-o)/w,v=o,M=a):b?(v=m?o:v,M=x?a:M,w=h-1,k=(M-v)/w):(w=(M-v)/k,w=gt(w,Math.round(w),k/1e3)?Math.round(w):Math.ceil(w));const S=Math.max(yt(k),yt(v));y=Math.pow(10,F(r)?S:r),v=Math.round(v*y)/y,M=Math.round(M*y)/y;let A=0;for(m&&(d&&v!==o?(i.push({value:o}),va)break;i.push({value:t})}return x&&d&&M!==a?i.length&>(i[i.length-1].value,a,Co(a,_,t))?i[i.length-1].value=a:i.push({value:a}):x&&M!==a||i.push({value:M}),i}({maxTicks:i,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&xt(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let e=this.min,i=this.max;if(super.configure(),this.options.offset&&t.length){const s=(i-e)/Math.max(t.length-1,1)/2;e-=s,i+=s}this._startValue=e,this._endValue=i,this._valueRange=i-e}getLabelForValue(t){return Gt(t,this.chart.options.locale,this.options.ticks.format)}}class Lo extends To{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=W(t)?t:0,this.max=W(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,i=bt(this.options.ticks.minRotation),s=(t?Math.sin(i):Math.cos(i))||.001,n=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,n.lineHeight/s))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}(0,s.A)(Lo,"id","linear"),(0,s.A)(Lo,"defaults",{ticks:{callback:Jt.formatters.numeric}});const Eo=t=>Math.floor(ut(t)),Ro=(t,e)=>Math.pow(10,Eo(t)+e);function Io(t){return 1==t/Math.pow(10,Eo(t))}function Fo(t,e,i){const s=Math.pow(10,i),n=Math.floor(t/s);return Math.ceil(e/s)-n}class zo extends qs{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const i=To.prototype.parse.apply(this,[t,e]);if(0!==i)return W(i)&&i>0?i:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=W(t)?Math.max(0,t):null,this.max=W(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!W(this._userMin)&&(this.min=t===Ro(this.min,0)?Ro(this.min,-1):Ro(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let i=this.min,s=this.max;const n=e=>i=t?i:e,o=t=>s=e?s:t;i===s&&(i<=0?(n(1),o(10)):(n(Ro(i,-1)),o(Ro(s,1)))),i<=0&&n(Ro(s,-1)),s<=0&&o(Ro(i,1)),this.min=i,this.max=s}buildTicks(){const t=this.options,e=function(t,{min:e,max:i}){e=B(t.min,e);const s=[],n=Eo(e);let o=function(t,e){let i=Eo(e-t);for(;Fo(t,e,i)>10;)i++;for(;Fo(t,e,i)<10;)i--;return Math.min(i,Eo(t))}(e,i),a=o<0?Math.pow(10,Math.abs(o)):1;const r=Math.pow(10,o),h=n>o?Math.pow(10,n):0,l=Math.round((e-h)*a)/a,c=Math.floor((e-h)/r/10)*r*10;let d=Math.floor((l-c)/Math.pow(10,o)),u=B(t.min,Math.round((h+c+d*Math.pow(10,o))*a)/a);for(;u=10?d=d<15?15:20:d++,d>=20&&(o++,d=2,a=o>=0?1:a),u=Math.round((h+c+d*Math.pow(10,o))*a)/a;const f=B(t.max,u);return s.push({value:f,major:Io(f),significand:d}),s}({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&xt(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":Gt(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=ut(t),this._valueRange=ut(this.max)-ut(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(ut(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Vo(t){const e=t.ticks;if(e.display&&t.display){const t=Pe(e.backdropPadding);return N(e.font&&e.font.size,ne.font.size)+t.height}return 0}function Wo(t,e,i,s,n){return t===s||t===n?{start:e-i/2,end:e+i/2}:tn?{start:e-i,end:e}:{start:e,end:e+i}}function Bo(t,e,i,s,n){const o=Math.abs(Math.sin(i)),a=Math.abs(Math.cos(i));let r=0,h=0;s.starte.r&&(r=(s.end-e.r)/o,t.r=Math.max(t.r,e.r+r)),n.starte.b&&(h=(n.end-e.b)/a,t.b=Math.max(t.b,e.b+h))}function No(t,e,i){const s=t.drawingArea,{extra:n,additionalAngle:o,padding:a,size:r}=i,h=t.getPointPosition(e,s+n+a,o),l=Math.round(_t(kt(h.angle+lt))),c=function(t,e,i){return 90===i||270===i?t-=e/2:(i>270||i<90)&&(t-=e),t}(h.y,r.h,l),d=function(t){return 0===t||180===t?"center":t<180?"left":"right"}(l),u=(f=h.x,g=r.w,"right"===(p=d)?f-=g:"center"===p&&(f-=g/2),f);var f,g,p;return{visible:!0,x:h.x,y:c,textAlign:d,left:u,top:c,right:u+r.w,bottom:c+r.h}}function Ho(t,e){if(!e)return!0;const{left:i,top:s,right:n,bottom:o}=t;return!(de({x:i,y:s},e)||de({x:i,y:o},e)||de({x:n,y:s},e)||de({x:n,y:o},e))}function jo(t,e,i){const{left:s,top:n,right:o,bottom:a}=i,{backdropColor:r}=e;if(!F(r)){const i=Ae(e.borderRadius),h=Pe(e.backdropPadding);t.fillStyle=r;const l=s-h.left,c=n-h.top,d=o-s+h.width,u=a-n+h.height;Object.values(i).some((t=>0!==t))?(t.beginPath(),_e(t,{x:l,y:c,w:d,h:u,radius:i}),t.fill()):t.fillRect(l,c,d,u)}}function $o(t,e,i,s){const{ctx:n}=t;if(i)n.arc(t.xCenter,t.yCenter,e,0,ot);else{let i=t.getPointPosition(0,e);n.moveTo(i.x,i.y);for(let o=1;o{const i=j(this.options.pointLabels.callback,[t,e],this);return i||0===i?i:""})).filter(((t,e)=>this.chart.getDataVisibility(e)))}fit(){const t=this.options;t.display&&t.pointLabels.display?function(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},i=Object.assign({},e),s=[],n=[],o=t._pointLabels.length,a=t.options.pointLabels,r=a.centerPointLabels?nt/o:0;for(let d=0;d=0&&t=0;n--){const e=t._pointLabelItems[n];if(!e.visible)continue;const o=s.setContext(t.getPointLabelContext(n));jo(i,o,e);const a=De(o.font),{x:r,y:h,textAlign:l}=e;be(i,t._pointLabels[n],r,h+a.lineHeight/2,a,{color:o.color,textAlign:l,textBaseline:"middle"})}}(this,o),s.display&&this.ticks.forEach(((t,e)=>{if(0!==e||0===e&&this.min<0){r=this.getDistanceFromCenterForValue(t.value);const i=this.getContext(e),a=s.setContext(i),h=n.setContext(i);!function(t,e,i,s,n){const o=t.ctx,a=e.circular,{color:r,lineWidth:h}=e;!a&&!s||!r||!h||i<0||(o.save(),o.strokeStyle=r,o.lineWidth=h,o.setLineDash(n.dash),o.lineDashOffset=n.dashOffset,o.beginPath(),$o(t,i,a,s),o.closePath(),o.stroke(),o.restore())}(this,a,r,o,h)}})),i.display){for(t.save(),a=o-1;a>=0;a--){const s=i.setContext(this.getPointLabelContext(a)),{color:n,lineWidth:o}=s;o&&n&&(t.lineWidth=o,t.strokeStyle=n,t.setLineDash(s.borderDash),t.lineDashOffset=s.borderDashOffset,r=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),h=this.getPointPosition(a,r),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(h.x,h.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,i=e.ticks;if(!i.display)return;const s=this.getIndexAngle(0);let n,o;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(s),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach(((s,a)=>{if(0===a&&this.min>=0&&!e.reverse)return;const r=i.setContext(this.getContext(a)),h=De(r.font);if(n=this.getDistanceFromCenterForValue(this.ticks[a].value),r.showLabelBackdrop){t.font=h.string,o=t.measureText(s.label).width,t.fillStyle=r.backdropColor;const e=Pe(r.backdropPadding);t.fillRect(-o/2-e.left,-n-h.size/2-e.top,o+e.width,h.size+e.height)}be(t,s.label,0,-n,h,{color:r.color,strokeColor:r.textStrokeColor,strokeWidth:r.textStrokeWidth})})),t.restore()}drawTitle(){}}(0,s.A)(Yo,"id","radialLinear"),(0,s.A)(Yo,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:Jt.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}}),(0,s.A)(Yo,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),(0,s.A)(Yo,"descriptors",{angleLines:{_fallback:"grid"}});const Uo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Xo=Object.keys(Uo);function qo(t,e){return t-e}function Ko(t,e){if(F(e))return null;const i=t._adapter,{parser:s,round:n,isoWeekday:o}=t._parseOpts;let a=e;return"function"==typeof s&&(a=s(a)),W(a)||(a="string"==typeof s?i.parse(a,s):i.parse(a)),null===a?null:(n&&(a="week"!==n||!mt(o)&&!0!==o?i.startOf(a,n):i.startOf(a,"isoWeek",o)),+a)}function Go(t,e,i,s){const n=Xo.length;for(let o=Xo.indexOf(t);o=e?i[s]:i[n]]=!0}}else t[e]=!0}function Jo(t,e,i){const s=[],n={},o=e.length;let a,r;for(a=0;a=0&&(e[h].major=!0);return e}(t,s,n,i):s}class Qo extends qs{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t,e={}){const i=t.time||(t.time={}),s=this._adapter=new ss._date(t.adapters.date);s.init(e),G(i.displayFormats,s.formats()),this._parseOpts={parser:i.parser,round:i.round,isoWeekday:i.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:Ko(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,i=t.time.unit||"day";let{min:s,max:n,minDefined:o,maxDefined:a}=this.getUserBounds();function r(t){o||isNaN(t.min)||(s=Math.min(s,t.min)),a||isNaN(t.max)||(n=Math.max(n,t.max))}o&&a||(r(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||r(this.getMinMax(!1))),s=W(s)&&!isNaN(s)?s:+e.startOf(Date.now(),i),n=W(n)&&!isNaN(n)?n:+e.endOf(Date.now(),i)+1,this.min=Math.min(s,n-1),this.max=Math.max(s+1,n)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],i=t[t.length-1]),{min:e,max:i}}buildTicks(){const t=this.options,e=t.time,i=t.ticks,s="labels"===i.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&s.length&&(this.min=this._userMin||s[0],this.max=this._userMax||s[s.length-1]);const n=this.min,o=function(t,e,i){let s=0,n=t.length;for(;ss&&t[n-1]>i;)n--;return s>0||n=Xo.indexOf(i);o--){const i=Xo[o];if(Uo[i].common&&t._adapter.diff(n,s,i)>=e-1)return i}return Xo[i?Xo.indexOf(i):0]}(this,o.length,e.minUnit,this.min,this.max)),this._majorUnit=i.major.enabled&&"year"!==this._unit?function(t){for(let e=Xo.indexOf(t)+1,i=Xo.length;e+t.value)))}initOffsets(t=[]){let e,i,s=0,n=0;this.options.offset&&t.length&&(e=this.getDecimalForValue(t[0]),s=1===t.length?1-e:(this.getDecimalForValue(t[1])-e)/2,i=this.getDecimalForValue(t[t.length-1]),n=1===t.length?i:(i-this.getDecimalForValue(t[t.length-2]))/2);const o=t.length<3?.5:.25;s=At(s,0,o),n=At(n,0,o),this._offsets={start:s,end:n,factor:1/(s+1+n)}}_generate(){const t=this._adapter,e=this.min,i=this.max,s=this.options,n=s.time,o=n.unit||Go(n.minUnit,e,i,this._getLabelCapacity(e)),a=N(s.ticks.stepSize,1),r="week"===o&&n.isoWeekday,h=mt(r)||!0===r,l={};let c,d,u=e;if(h&&(u=+t.startOf(u,"isoWeek",r)),u=+t.startOf(u,h?"day":o),t.diff(i,e,o)>1e5*a)throw new Error(e+" and "+i+" are too far apart with stepSize of "+a+" "+o);const f="data"===s.ticks.source&&this.getDataTimestamps();for(c=u,d=0;c+t))}getLabelForValue(t){const e=this._adapter,i=this.options.time;return i.tooltipFormat?e.format(t,i.tooltipFormat):e.format(t,i.displayFormats.datetime)}format(t,e){const i=this.options.time.displayFormats,s=this._unit,n=e||i[s];return this._adapter.format(t,n)}_tickFormatFunction(t,e,i,s){const n=this.options,o=n.ticks.callback;if(o)return j(o,[t,e,i],this);const a=n.time.displayFormats,r=this._unit,h=this._majorUnit,l=r&&a[r],c=h&&a[h],d=i[e],u=h&&c&&d&&d.major;return this._adapter.format(t,s||(u?c:l))}generateTickLabels(t){let e,i,s;for(e=0,i=t.length;e0?a:1}getDataTimestamps(){let t,e,i=this._cache.data||[];if(i.length)return i;const s=this.getMatchingVisibleMetas();if(this._normalized&&s.length)return this._cache.data=s[0].controller.getAllParsedValues(this);for(t=0,e=s.length;t=t[r].pos&&e<=t[h].pos&&({lo:r,hi:h}=Ot(t,"pos",e)),({pos:s,time:o}=t[r]),({pos:n,time:a}=t[h])):(e>=t[r].time&&e<=t[h].time&&({lo:r,hi:h}=Ot(t,"time",e)),({time:s,pos:o}=t[r]),({time:n,pos:a}=t[h]));const l=n-s;return l?o+(a-o)*(e-s)/l:o}(0,s.A)(Qo,"id","time"),(0,s.A)(Qo,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});class ea extends Qo{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=ta(e,this.min),this._tableRange=ta(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:i}=this,s=[],n=[];let o,a,r,h,l;for(o=0,a=t.length;o=e&&h<=i&&s.push(h);if(s.length<2)return[{time:e,pos:0},{time:i,pos:1}];for(o=0,a=s.length;ot-e))}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),i=this.getLabelTimestamps();return t=e.length&&i.length?this.normalize(e.concat(i)):e.length?e:i,t=this._cache.all=t,t}getDecimalForValue(t){return(ta(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,i=this.getDecimalForPixel(t)/e.factor-e.end;return ta(this._table,i*this._tableRange+this._minPos,!0)}}(0,s.A)(ea,"id","timeseries"),(0,s.A)(ea,"defaults",Qo.defaults)}}]); \ No newline at end of file diff --git a/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt b/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt new file mode 100644 index 00000000..418888e2 --- /dev/null +++ b/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt @@ -0,0 +1,13 @@ +/*! + * @kurkle/color v0.3.2 + * https://github.com/kurkle/color#readme + * (c) 2023 Jukka Kurkela + * Released under the MIT License + */ + +/*! + * Chart.js v4.4.3 + * https://www.chartjs.org + * (c) 2024 Chart.js Contributors + * Released under the MIT License + */ diff --git a/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt.br b/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt.br new file mode 100644 index 00000000..80712dc9 Binary files /dev/null and b/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt.br differ diff --git a/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt.gz b/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt.gz new file mode 100644 index 00000000..b403c904 Binary files /dev/null and b/assets/chunk.2ec8f4190b6755027da1.js.LICENSE.txt.gz differ diff --git a/assets/chunk.2ec8f4190b6755027da1.js.br b/assets/chunk.2ec8f4190b6755027da1.js.br new file mode 100644 index 00000000..306bec66 Binary files /dev/null and b/assets/chunk.2ec8f4190b6755027da1.js.br differ diff --git a/assets/chunk.2ec8f4190b6755027da1.js.gz b/assets/chunk.2ec8f4190b6755027da1.js.gz new file mode 100644 index 00000000..e47101e0 Binary files /dev/null and b/assets/chunk.2ec8f4190b6755027da1.js.gz differ diff --git a/assets/chunk.32d791d515534c9e08be.js b/assets/chunk.32d791d515534c9e08be.js new file mode 100644 index 00000000..1e06291c --- /dev/null +++ b/assets/chunk.32d791d515534c9e08be.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[968],{62968:(t,e,a)=>{a.d(e,{diagram:()=>gt});var r=a(59659),s=a(84017),i=a(18278),n=a(88641),o=(a(92329),a(31998),function(){var t=function(t,e,a,r){for(a=a||{},r=t.length;r--;a[t[r]]=e);return a},e=[1,2],a=[1,3],r=[1,4],s=[2,4],i=[1,9],n=[1,11],o=[1,13],c=[1,14],l=[1,16],d=[1,17],h=[1,18],p=[1,24],g=[1,25],u=[1,26],x=[1,27],y=[1,28],m=[1,29],b=[1,30],f=[1,31],T=[1,32],E=[1,33],w=[1,34],P=[1,35],_=[1,36],v=[1,37],k=[1,38],L=[1,39],I=[1,41],M=[1,42],N=[1,43],A=[1,44],O=[1,45],S=[1,46],D=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],R=[4,5,16,50,52,53],C=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],Y=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],B=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],V=[68,69,70],F=[1,120],q={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(t,e,a,r,s,i,n){var o=i.length-1;switch(s){case 3:return r.apply(i[o]),i[o];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:i[o-1].push(i[o]),this.$=i[o-1];break;case 6:case 7:case 11:case 12:case 62:this.$=i[o];break;case 15:i[o].type="createParticipant",this.$=i[o];break;case 16:i[o-1].unshift({type:"boxStart",boxData:r.parseBoxData(i[o-2])}),i[o-1].push({type:"boxEnd",boxText:i[o-2]}),this.$=i[o-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-2]),sequenceIndexStep:Number(i[o-1]),sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(i[o-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:r.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:r.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1]};break;case 23:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-1]};break;case 29:r.setDiagramTitle(i[o].substring(6)),this.$=i[o].substring(6);break;case 30:r.setDiagramTitle(i[o].substring(7)),this.$=i[o].substring(7);break;case 31:this.$=i[o].trim(),r.setAccTitle(this.$);break;case 32:case 33:this.$=i[o].trim(),r.setAccDescription(this.$);break;case 34:i[o-1].unshift({type:"loopStart",loopText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.LOOP_START}),i[o-1].push({type:"loopEnd",loopText:i[o-2],signalType:r.LINETYPE.LOOP_END}),this.$=i[o-1];break;case 35:i[o-1].unshift({type:"rectStart",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_START}),i[o-1].push({type:"rectEnd",color:r.parseMessage(i[o-2]),signalType:r.LINETYPE.RECT_END}),this.$=i[o-1];break;case 36:i[o-1].unshift({type:"optStart",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_START}),i[o-1].push({type:"optEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.OPT_END}),this.$=i[o-1];break;case 37:i[o-1].unshift({type:"altStart",altText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.ALT_START}),i[o-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=i[o-1];break;case 38:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 39:i[o-1].unshift({type:"parStart",parText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.PAR_OVER_START}),i[o-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=i[o-1];break;case 40:i[o-1].unshift({type:"criticalStart",criticalText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.CRITICAL_START}),i[o-1].push({type:"criticalEnd",signalType:r.LINETYPE.CRITICAL_END}),this.$=i[o-1];break;case 41:i[o-1].unshift({type:"breakStart",breakText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_START}),i[o-1].push({type:"breakEnd",optText:r.parseMessage(i[o-2]),signalType:r.LINETYPE.BREAK_END}),this.$=i[o-1];break;case 43:this.$=i[o-3].concat([{type:"option",optionText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.CRITICAL_OPTION},i[o]]);break;case 45:this.$=i[o-3].concat([{type:"and",parText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.PAR_AND},i[o]]);break;case 47:this.$=i[o-3].concat([{type:"else",altText:r.parseMessage(i[o-1]),signalType:r.LINETYPE.ALT_ELSE},i[o]]);break;case 48:i[o-3].draw="participant",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 49:i[o-1].draw="participant",i[o-1].type="addParticipant",this.$=i[o-1];break;case 50:i[o-3].draw="actor",i[o-3].type="addParticipant",i[o-3].description=r.parseMessage(i[o-1]),this.$=i[o-3];break;case 51:i[o-1].draw="actor",i[o-1].type="addParticipant",this.$=i[o-1];break;case 52:i[o-1].type="destroyParticipant",this.$=i[o-1];break;case 53:this.$=[i[o-1],{type:"addNote",placement:i[o-2],actor:i[o-1].actor,text:i[o]}];break;case 54:i[o-2]=[].concat(i[o-1],i[o-1]).slice(0,2),i[o-2][0]=i[o-2][0].actor,i[o-2][1]=i[o-2][1].actor,this.$=[i[o-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:i[o-2].slice(0,2),text:i[o]}];break;case 55:this.$=[i[o-1],{type:"addLinks",actor:i[o-1].actor,text:i[o]}];break;case 56:this.$=[i[o-1],{type:"addALink",actor:i[o-1].actor,text:i[o]}];break;case 57:this.$=[i[o-1],{type:"addProperties",actor:i[o-1].actor,text:i[o]}];break;case 58:this.$=[i[o-1],{type:"addDetails",actor:i[o-1].actor,text:i[o]}];break;case 61:this.$=[i[o-2],i[o]];break;case 63:this.$=r.PLACEMENT.LEFTOF;break;case 64:this.$=r.PLACEMENT.RIGHTOF;break;case 65:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o],activate:!0},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:i[o-1]}];break;case 66:this.$=[i[o-4],i[o-1],{type:"addMessage",from:i[o-4].actor,to:i[o-1].actor,signalType:i[o-3],msg:i[o]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:i[o-4]}];break;case 67:this.$=[i[o-3],i[o-1],{type:"addMessage",from:i[o-3].actor,to:i[o-1].actor,signalType:i[o-2],msg:i[o]}];break;case 68:this.$={type:"addParticipant",actor:i[o]};break;case 69:this.$=r.LINETYPE.SOLID_OPEN;break;case 70:this.$=r.LINETYPE.DOTTED_OPEN;break;case 71:this.$=r.LINETYPE.SOLID;break;case 72:this.$=r.LINETYPE.DOTTED;break;case 73:this.$=r.LINETYPE.SOLID_CROSS;break;case 74:this.$=r.LINETYPE.DOTTED_CROSS;break;case 75:this.$=r.LINETYPE.SOLID_POINT;break;case 76:this.$=r.LINETYPE.DOTTED_POINT;break;case 77:this.$=r.parseMessage(i[o].trim().substring(1))}},table:[{3:1,4:e,5:a,6:r},{1:[3]},{3:5,4:e,5:a,6:r},{3:6,4:e,5:a,6:r},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],s,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:n,8:8,9:10,12:12,13:o,14:c,17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},t(D,[2,5]),{9:47,12:12,13:o,14:c,17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},t(D,[2,7]),t(D,[2,8]),t(D,[2,14]),{12:48,50:v,52:k,53:L},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:S},{22:55,70:S},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(D,[2,29]),t(D,[2,30]),{32:[1,61]},{34:[1,62]},t(D,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:S},{22:72,70:S},{22:73,70:S},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:S},{22:88,70:S},{22:89,70:S},{22:90,70:S},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(D,[2,6]),t(D,[2,15]),t(R,[2,9],{10:91}),t(D,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(D,[2,21]),{5:[1,95]},{5:[1,96]},t(D,[2,24]),t(D,[2,25]),t(D,[2,26]),t(D,[2,27]),t(D,[2,28]),t(D,[2,31]),t(D,[2,32]),t(C,s,{7:97}),t(C,s,{7:98}),t(C,s,{7:99}),t($,s,{40:100,7:101}),t(Y,s,{42:102,7:103}),t(Y,s,{7:103,42:104}),t(B,s,{45:105,7:106}),t(C,s,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:S},t(V,[2,69]),t(V,[2,70]),t(V,[2,71]),t(V,[2,72]),t(V,[2,73]),t(V,[2,74]),t(V,[2,75]),t(V,[2,76]),{22:116,70:S},{22:118,58:117,70:S},{70:[2,63]},{70:[2,64]},{56:119,79:F},{56:121,79:F},{56:122,79:F},{56:123,79:F},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:v,52:k,53:L},{5:[1,129]},t(D,[2,19]),t(D,[2,20]),t(D,[2,22]),t(D,[2,23]),{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,130],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,131],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,132],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,133]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,46],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,49:[1,134],50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,135]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,44],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,48:[1,136],50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{16:[1,137]},{16:[1,138]},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[2,42],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,47:[1,139],50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{4:i,5:n,8:8,9:10,12:12,13:o,14:c,16:[1,140],17:15,18:l,21:d,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:p,30:g,31:u,33:x,35:y,36:m,37:b,38:f,39:T,41:E,43:w,44:P,46:_,50:v,52:k,53:L,54:I,59:M,60:N,61:A,62:O,70:S},{15:[1,141]},t(D,[2,49]),{15:[1,142]},t(D,[2,51]),t(D,[2,52]),{22:143,70:S},{22:144,70:S},{56:145,79:F},{56:146,79:F},{56:147,79:F},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(D,[2,16]),t(R,[2,10]),{12:149,50:v,52:k,53:L},t(R,[2,12]),t(R,[2,13]),t(D,[2,18]),t(D,[2,34]),t(D,[2,35]),t(D,[2,36]),t(D,[2,37]),{15:[1,150]},t(D,[2,38]),{15:[1,151]},t(D,[2,39]),t(D,[2,40]),{15:[1,152]},t(D,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:F},{56:156,79:F},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:S},t(R,[2,11]),t($,s,{7:101,40:158}),t(Y,s,{7:103,42:159}),t(B,s,{7:106,45:160}),t(D,[2,48]),t(D,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(t,e){if(!e.recoverable){var a=new Error(t);throw a.hash=e,a}this.trace(t)},parse:function(t){var e=[0],a=[],r=[null],s=[],i=this.table,n="",o=0,c=0,l=s.slice.call(arguments,1),d=Object.create(this.lexer),h={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(h.yy[p]=this.yy[p]);d.setInput(t,h.yy),h.yy.lexer=d,h.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var g=d.yylloc;s.push(g);var u=d.options&&d.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var x,y,m,b,f,T,E,w,P,_={};;){if(y=e[e.length-1],this.defaultActions[y]?m=this.defaultActions[y]:(null==x&&(P=void 0,"number"!=typeof(P=a.pop()||d.lex()||1)&&(P instanceof Array&&(P=(a=P).pop()),P=this.symbols_[P]||P),x=P),m=i[y]&&i[y][x]),void 0===m||!m.length||!m[0]){var v;for(f in w=[],i[y])this.terminals_[f]&&f>2&&w.push("'"+this.terminals_[f]+"'");v=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+w.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(v,{text:d.match,token:this.terminals_[x]||x,line:d.yylineno,loc:g,expected:w})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+x);switch(m[0]){case 1:e.push(x),r.push(d.yytext),s.push(d.yylloc),e.push(m[1]),x=null,c=d.yyleng,n=d.yytext,o=d.yylineno,g=d.yylloc;break;case 2:if(T=this.productions_[m[1]][1],_.$=r[r.length-T],_._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},u&&(_._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]]),void 0!==(b=this.performAction.apply(_,[n,c,o,h.yy,m[1],r,s].concat(l))))return b;T&&(e=e.slice(0,-1*T*2),r=r.slice(0,-1*T),s=s.slice(0,-1*T)),e.push(this.productions_[m[1]][0]),r.push(_.$),s.push(_._$),E=i[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}},W={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,a=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var a,r,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],a=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),a)return a;if(this._backtrack){for(var i in s)this[i]=s[i];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,a,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),i=0;ie[0].length)){if(e=a,r=i,this.options.backtrack_lexer){if(!1!==(t=this.test_match(a,s[i])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,a,r){switch(a){case 0:case 51:case 64:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 52:return e.yytext=e.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 71;case 56:return 72;case 57:return 75;case 58:return 76;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 68;case 63:return 69;case 65:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],inclusive:!0}}};function z(){this.yy={}}return q.lexer=W,z.prototype=q,q.Parser=z,new z}());o.parser=o;const c=o,l=new class{constructor(t){this.init=t,this.records=this.init()}reset(){this.records=this.init()}}((()=>({prevActor:void 0,actors:{},createdActors:{},destroyedActors:{},boxes:[],messages:[],notes:[],sequenceNumbersEnabled:!1,wrapEnabled:void 0,currentBox:void 0,lastCreated:void 0,lastDestroyed:void 0}))),d=function(t,e,a,r){let s=l.records.currentBox;const i=l.records.actors[t];if(i){if(l.records.currentBox&&i.box&&l.records.currentBox!==i.box)throw new Error("A same participant should only be defined in one Box: "+i.name+" can't be in '"+i.box.name+"' and in '"+l.records.currentBox.name+"' at the same time.");if(s=i.box?i.box:l.records.currentBox,i.box=s,i&&e===i.name&&null==a)return}null!=a&&null!=a.text||(a={text:e,wrap:null,type:r}),null!=r&&null!=a.text||(a={text:e,wrap:null,type:r}),l.records.actors[t]={box:s,name:e,description:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap,prevActor:l.records.prevActor,links:{},properties:{},actorCnt:null,rectData:null,type:r||"participant"},l.records.prevActor&&l.records.actors[l.records.prevActor]&&(l.records.actors[l.records.prevActor].nextActor=t),l.records.currentBox&&l.records.currentBox.actorKeys.push(t),l.records.prevActor=t},h=function(t,e,a={text:void 0,wrap:void 0},r,s=!1){if(r===u.ACTIVE_END&&(t=>{let e,a=0;for(e=0;e>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return l.records.messages.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap,type:r,activate:s}),!0},p=function(t){return l.records.actors[t]},g=()=>void 0!==l.records.wrapEnabled?l.records.wrapEnabled:(0,r.c)().sequence.wrap,u={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},x=function(t,e,a){const r={actor:t,placement:e,message:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap},s=[].concat(t,t);l.records.notes.push(r),l.records.messages.push({from:s[0],to:s[1],message:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap,type:u.NOTE,placement:e})},y=function(t,e){const a=p(t);try{let t=(0,r.d)(e.text,(0,r.c)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),m(a,JSON.parse(t))}catch(t){r.l.error("error while parsing actor link text",t)}};function m(t,e){if(null==t.links)t.links=e;else for(let a in e)t.links[a]=e[a]}const b=function(t,e){const a=p(t);try{let t=(0,r.d)(e.text,(0,r.c)());f(a,JSON.parse(t))}catch(t){r.l.error("error while parsing actor properties text",t)}};function f(t,e){if(null==t.properties)t.properties=e;else for(let a in e)t.properties[a]=e[a]}const T=function(t,e){const a=p(t),s=document.getElementById(e.text);try{const t=s.innerHTML,e=JSON.parse(t);e.properties&&f(a,e.properties),e.links&&m(a,e.links)}catch(t){r.l.error("error while parsing actor details text",t)}},E=function(t){if(Array.isArray(t))t.forEach((function(t){E(t)}));else switch(t.type){case"sequenceIndex":l.records.messages.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":d(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(l.records.actors[t.actor])throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");l.records.lastCreated=t.actor,d(t.actor,t.actor,t.description,t.draw),l.records.createdActors[t.actor]=l.records.messages.length;break;case"destroyParticipant":l.records.lastDestroyed=t.actor,l.records.destroyedActors[t.actor]=l.records.messages.length;break;case"activeStart":case"activeEnd":h(t.actor,void 0,void 0,t.signalType);break;case"addNote":x(t.actor,t.placement,t.text);break;case"addLinks":y(t.actor,t.text);break;case"addALink":!function(t,e){const a=p(t);try{const t={};let o=(0,r.d)(e.text,(0,r.c)());var s=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var i=o.slice(0,s-1).trim(),n=o.slice(s+1).trim();t[i]=n,m(a,t)}catch(t){r.l.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":b(t.actor,t.text);break;case"addDetails":T(t.actor,t.text);break;case"addMessage":if(l.records.lastCreated){if(t.to!==l.records.lastCreated)throw new Error("The created participant "+l.records.lastCreated+" does not have an associated creating message after its declaration. Please check the sequence diagram.");l.records.lastCreated=void 0}else if(l.records.lastDestroyed){if(t.to!==l.records.lastDestroyed&&t.from!==l.records.lastDestroyed)throw new Error("The destroyed participant "+l.records.lastDestroyed+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");l.records.lastDestroyed=void 0}h(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":e=t.boxData,l.records.boxes.push({name:e.text,wrap:void 0===e.wrap&&g()||!!e.wrap,fill:e.color,actorKeys:[]}),l.records.currentBox=l.records.boxes.slice(-1)[0];break;case"boxEnd":l.records.currentBox=void 0;break;case"loopStart":h(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":h(void 0,void 0,void 0,t.signalType);break;case"rectStart":h(void 0,void 0,t.color,t.signalType);break;case"optStart":h(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":h(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,r.s)(t.text);break;case"parStart":case"and":h(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":h(void 0,void 0,t.criticalText,t.signalType);break;case"option":h(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":h(void 0,void 0,t.breakText,t.signalType)}var e},w={addActor:d,addMessage:function(t,e,a,r){l.records.messages.push({from:t,to:e,message:a.text,wrap:void 0===a.wrap&&g()||!!a.wrap,answer:r})},addSignal:h,addLinks:y,addDetails:T,addProperties:b,autoWrap:g,setWrap:function(t){l.records.wrapEnabled=t},enableSequenceNumbers:function(){l.records.sequenceNumbersEnabled=!0},disableSequenceNumbers:function(){l.records.sequenceNumbersEnabled=!1},showSequenceNumbers:()=>l.records.sequenceNumbersEnabled,getMessages:function(){return l.records.messages},getActors:function(){return l.records.actors},getCreatedActors:function(){return l.records.createdActors},getDestroyedActors:function(){return l.records.destroyedActors},getActor:p,getActorKeys:function(){return Object.keys(l.records.actors)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:r.g,getBoxes:function(){return l.records.boxes},getDiagramTitle:r.t,setDiagramTitle:r.q,getConfig:()=>(0,r.c)().sequence,clear:function(){l.reset(),(0,r.v)()},parseMessage:function(t){const e=t.trim(),a={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return r.l.debug("parseMessage:",a),a},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let a=null!=e&&e[1]?e[1].trim():"transparent",s=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",a)||(a="transparent",s=t.trim());else{const e=(new Option).style;e.color=a,e.color!==a&&(a="transparent",s=t.trim())}return{color:a,text:void 0!==s?(0,r.d)(s.replace(/^:?(?:no)?wrap:/,""),(0,r.c)()):void 0,wrap:void 0!==s?null!==s.match(/^:?wrap:/)||null===s.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:u,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:x,setAccTitle:r.s,apply:E,setAccDescription:r.b,getAccDescription:r.a,hasAtLeastOneBox:function(){return l.records.boxes.length>0},hasAtLeastOneBoxWithTitle:function(){return l.records.boxes.some((t=>t.name))}},P="actor-top",_="actor-bottom",v=function(t,e){return(0,i.d)(t,e)},k=async function(t,e,a=null){let s=t.append("foreignObject");const i=await(0,r.r)(e.text,(0,r.F)()),n=s.append("xhtml:div").attr("style","width: fit-content;").attr("xmlns","http://www.w3.org/1999/xhtml").html(i).node().getBoundingClientRect();if(s.attr("height",Math.round(n.height)).attr("width",Math.round(n.width)),"noteText"===e.class){const a=t.node().firstChild;a.setAttribute("height",n.height+2*e.textMargin);const r=a.getBBox();s.attr("x",Math.round(r.x+r.width/2-n.width/2)).attr("y",Math.round(r.y+r.height/2-n.height/2))}else if(a){let{startx:t,stopx:r,starty:i}=a;if(t>r){const e=t;t=r,r=e}s.attr("x",Math.round(t+Math.abs(t-r)/2-n.width/2)),"loopText"===e.class?s.attr("y",Math.round(i)):s.attr("y",Math.round(i-n.height))}return[s]},L=function(t,e){let a=0,s=0;const i=e.text.split(r.e.lineBreakRegex),[n,o]=(0,r.D)(e.fontSize);let c=[],l=0,d=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":d=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":d=()=>Math.round(e.y+(a+s+e.textMargin)/2);break;case"bottom":case"end":d=()=>Math.round(e.y+(a+s+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[h,p]of i.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==n&&(l=h*n);const i=t.append("text");i.attr("x",e.x),i.attr("y",d()),void 0!==e.anchor&&i.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&i.style("font-family",e.fontFamily),void 0!==o&&i.style("font-size",o),void 0!==e.fontWeight&&i.style("font-weight",e.fontWeight),void 0!==e.fill&&i.attr("fill",e.fill),void 0!==e.class&&i.attr("class",e.class),void 0!==e.dy?i.attr("dy",e.dy):0!==l&&i.attr("dy",l);const g=p||r.Z;if(e.tspan){const t=i.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(g)}else i.text(g);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(s+=(i._groups||i)[0][0].getBBox().height,a=s),c.push(i)}return c},I=function(t,e){const a=t.append("polygon");var r,s,i,n;return a.attr("points",(r=e.x)+","+(s=e.y)+" "+(r+(i=e.width))+","+s+" "+(r+i)+","+(s+(n=e.height)-7)+" "+(r+i-8.4)+","+(s+n)+" "+r+","+(s+n)),a.attr("class","labelBox"),e.y=e.y+e.height/2,L(t,e),a};let M=-1;const N=(t,e,a,r)=>{t.select&&a.forEach((a=>{const s=e[a],i=t.select("#actor"+s.actorCnt);!r.mirrorActors&&s.stopy?i.attr("y2",s.stopy+s.height/2):r.mirrorActors&&i.attr("y2",s.stopy)}))},A=function(t,e){(0,i.a)(t,e)},O=function(){function t(t,e,a,r,s,n,o){i(e.append("text").attr("x",a+s/2).attr("y",r+n/2+5).style("text-anchor","middle").text(t),o)}function e(t,e,a,s,n,o,c,l){const{actorFontSize:d,actorFontFamily:h,actorFontWeight:p}=l,[g,u]=(0,r.D)(d),x=t.split(r.e.lineBreakRegex);for(let t=0;ta?c.width:a;const g=d.append("rect");if(g.attr("class","actorPopupMenuPanel"+h),g.attr("x",c.x),g.attr("y",c.height),g.attr("fill",c.fill),g.attr("stroke",c.stroke),g.attr("width",p),g.attr("height",c.height),g.attr("rx",c.rx),g.attr("ry",c.ry),null!=i){var u=20;for(let t in i){var x=d.append("a"),y=(0,n.Jf)(i[t]);x.attr("xlink:href",y),x.attr("target","_blank"),S(r)(t,x,c.x+10,c.height+u,p,20,{class:"actor"},r),u+=30}}return g.attr("height",u),{height:c.height+u,width:p}},Y=function(t){return t.append("g")},B=function(t,e,a,r,s){const n=(0,i.g)(),o=e.anchored;n.x=e.startx,n.y=e.starty,n.class="activation"+s%3,n.width=e.stopx-e.startx,n.height=a-e.starty,v(o,n)},V=async function(t,e,a,s){const{boxMargin:n,boxTextMargin:o,labelBoxHeight:c,labelBoxWidth:l,messageFontFamily:d,messageFontSize:h,messageFontWeight:p}=s,g=t.append("g"),u=function(t,e,a,r){return g.append("line").attr("x1",t).attr("y1",e).attr("x2",a).attr("y2",r).attr("class","loopLine")};u(e.startx,e.starty,e.stopx,e.starty),u(e.stopx,e.starty,e.stopx,e.stopy),u(e.startx,e.stopy,e.stopx,e.stopy),u(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){u(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let x=(0,i.e)();x.text=a,x.x=e.startx,x.y=e.starty,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.anchor="middle",x.valign="middle",x.tspan=!1,x.width=l||50,x.height=c||20,x.textMargin=o,x.class="labelText",I(g,x),x={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0},x.text=e.title,x.x=e.startx+l/2+(e.stopx-e.startx)/2,x.y=e.starty+n+o,x.anchor="middle",x.valign="middle",x.textMargin=o,x.class="loopText",x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=!0;let y=(0,r.G)(x.text)?await k(g,x,e):L(g,x);if(void 0!==e.sectionTitles)for(const[t,a]of Object.entries(e.sectionTitles))if(a.message){x.text=a.message,x.x=e.startx+(e.stopx-e.startx)/2,x.y=e.sections[t].y+n+o,x.class="loopText",x.anchor="middle",x.valign="middle",x.tspan=!1,x.fontFamily=d,x.fontSize=h,x.fontWeight=p,x.wrap=e.wrap,(0,r.G)(x.text)?(e.starty=e.sections[t].y,await k(g,x,e)):L(g,x);let s=Math.round(y.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[t].height+=s-(n+o)}return e.height=Math.round(e.stopy-e.starty),g},F=A,q=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},W=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).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")},z=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},H=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},U=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},j=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},G=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")};n.Jf;let K={};const X={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map((t=>t.height||0)))+(0===this.loops.length?0:this.loops.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.messages.length?0:this.messages.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.notes.length?0:this.notes.map((t=>t.height||0)).reduce(((t,e)=>t+e)))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,it((0,r.c)())},updateVal:function(t,e,a,r){void 0===t[e]?t[e]=a:t[e]=r(a,t[e])},updateBounds:function(t,e,a,r){const s=this;let i=0;function n(n){return function(o){i++;const c=s.sequenceItems.length-i+1;s.updateVal(o,"starty",e-c*K.boxMargin,Math.min),s.updateVal(o,"stopy",r+c*K.boxMargin,Math.max),s.updateVal(X.data,"startx",t-c*K.boxMargin,Math.min),s.updateVal(X.data,"stopx",a+c*K.boxMargin,Math.max),"activation"!==n&&(s.updateVal(o,"startx",t-c*K.boxMargin,Math.min),s.updateVal(o,"stopx",a+c*K.boxMargin,Math.max),s.updateVal(X.data,"starty",e-c*K.boxMargin,Math.min),s.updateVal(X.data,"stopy",r+c*K.boxMargin,Math.max))}}this.sequenceItems.forEach(n()),this.activations.forEach(n("activation"))},insert:function(t,e,a,s){const i=r.e.getMin(t,a),n=r.e.getMax(t,a),o=r.e.getMin(e,s),c=r.e.getMax(e,s);this.updateVal(X.data,"startx",i,Math.min),this.updateVal(X.data,"starty",o,Math.min),this.updateVal(X.data,"stopx",n,Math.max),this.updateVal(X.data,"stopy",c,Math.max),this.updateBounds(i,o,n,c)},newActivation:function(t,e,a){const r=a[t.from.actor],s=nt(t.from.actor).length||0,i=r.x+r.width/2+(s-1)*K.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+K.activationWidth,stopy:void 0,actor:t.from.actor,anchored:Y(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:X.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=r.e.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},J=async function(t,e){X.bumpVerticalPos(K.boxMargin),e.height=K.boxMargin,e.starty=X.getVerticalPos();const a=(0,i.g)();a.x=e.startx,a.y=e.starty,a.width=e.width||K.width,a.class="note";const s=t.append("g"),n=D(s,a),o=(0,i.e)();o.x=e.startx,o.y=e.starty,o.width=a.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=K.noteFontFamily,o.fontSize=K.noteFontSize,o.fontWeight=K.noteFontWeight,o.anchor=K.noteAlign,o.textMargin=K.noteMargin,o.valign="center";const c=(0,r.G)(o.text)?await k(s,o):L(s,o),l=Math.round(c.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));n.attr("height",l+2*K.noteMargin),e.height+=l+2*K.noteMargin,X.bumpVerticalPos(l+2*K.noteMargin),e.stopy=e.starty+l+2*K.noteMargin,e.stopx=e.startx+a.width,X.insert(e.startx,e.starty,e.stopx,e.stopy),X.models.addNote(e)},Z=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),Q=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),tt=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});async function et(t,e){X.bumpVerticalPos(10);const{startx:a,stopx:s,message:i}=e,n=r.e.splitBreaks(i).length,o=(0,r.G)(i),c=o?await(0,r.H)(i,(0,r.c)()):r.u.calculateTextDimensions(i,Z(K));if(!o){const t=c.height/n;e.height+=t,X.bumpVerticalPos(t)}let l,d=c.height-10;const h=c.width;if(a===s){l=X.getVerticalPos()+d,K.rightAngles||(d+=K.boxMargin,l=X.getVerticalPos()+d),d+=30;const t=r.e.getMax(h/2,K.width/2);X.insert(a-t,X.getVerticalPos()-10+d,s+t,X.getVerticalPos()+30+d)}else d+=K.boxMargin,l=X.getVerticalPos()+d,X.insert(a,l-10,s,l);return X.bumpVerticalPos(d),e.height+=d,e.stopy=e.starty+e.height,X.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),l}const at=async function(t,e,a,s){const{startx:n,stopx:o,starty:c,message:l,type:d,sequenceIndex:h,sequenceVisible:p}=e,g=r.u.calculateTextDimensions(l,Z(K)),u=(0,i.e)();u.x=n,u.y=c+10,u.width=o-n,u.class="messageText",u.dy="1em",u.text=l,u.fontFamily=K.messageFontFamily,u.fontSize=K.messageFontSize,u.fontWeight=K.messageFontWeight,u.anchor=K.messageAlign,u.valign="center",u.textMargin=K.wrapPadding,u.tspan=!1,(0,r.G)(u.text)?await k(t,u,{startx:n,stopx:o,starty:a}):L(t,u);const x=g.width;let y;n===o?y=K.rightAngles?t.append("path").attr("d",`M ${n},${a} H ${n+r.e.getMax(K.width/2,x/2)} V ${a+25} H ${n}`):t.append("path").attr("d","M "+n+","+a+" C "+(n+60)+","+(a-10)+" "+(n+60)+","+(a+30)+" "+n+","+(a+20)):(y=t.append("line"),y.attr("x1",n),y.attr("y1",a),y.attr("x2",o),y.attr("y2",a)),d===s.db.LINETYPE.DOTTED||d===s.db.LINETYPE.DOTTED_CROSS||d===s.db.LINETYPE.DOTTED_POINT||d===s.db.LINETYPE.DOTTED_OPEN?(y.style("stroke-dasharray","3, 3"),y.attr("class","messageLine1")):y.attr("class","messageLine0");let m="";K.arrowMarkerAbsolute&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),y.attr("stroke-width",2),y.attr("stroke","none"),y.style("fill","none"),d!==s.db.LINETYPE.SOLID&&d!==s.db.LINETYPE.DOTTED||y.attr("marker-end","url("+m+"#arrowhead)"),d!==s.db.LINETYPE.SOLID_POINT&&d!==s.db.LINETYPE.DOTTED_POINT||y.attr("marker-end","url("+m+"#filled-head)"),d!==s.db.LINETYPE.SOLID_CROSS&&d!==s.db.LINETYPE.DOTTED_CROSS||y.attr("marker-end","url("+m+"#crosshead)"),(p||K.showSequenceNumbers)&&(y.attr("marker-start","url("+m+"#sequencenumber)"),t.append("text").attr("x",n).attr("y",a+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(h))},rt=async function(t,e,a,s){if(s){let s=0;X.bumpVerticalPos(2*K.boxMargin);for(const i of a){const a=e[i];a.stopy||(a.stopy=X.getVerticalPos());const n=await R(t,a,K,!0);s=r.e.getMax(s,n)}X.bumpVerticalPos(s+K.boxMargin)}else for(const r of a){const a=e[r];await R(t,a,K,!1)}},st=function(t,e,a,r){let s=0,i=0;for(const n of a){const a=e[n],o=dt(a),c=$(t,a,o,K,K.forceMenus,r);c.height>s&&(s=c.height),c.width+a.x>i&&(i=c.width+a.x)}return{maxHeight:s,maxWidth:i}},it=function(t){(0,r.f)(K,t),t.fontFamily&&(K.actorFontFamily=K.noteFontFamily=K.messageFontFamily=t.fontFamily),t.fontSize&&(K.actorFontSize=K.noteFontSize=K.messageFontSize=t.fontSize),t.fontWeight&&(K.actorFontWeight=K.noteFontWeight=K.messageFontWeight=t.fontWeight)},nt=function(t){return X.activations.filter((function(e){return e.actor===t}))},ot=function(t,e){const a=e[t],s=nt(t);return[s.reduce((function(t,e){return r.e.getMin(t,e.startx)}),a.x+a.width/2-1),s.reduce((function(t,e){return r.e.getMax(t,e.stopx)}),a.x+a.width/2+1)]};function ct(t,e,a,s,i){X.bumpVerticalPos(a);let n=s;if(e.id&&e.message&&t[e.id]){const a=t[e.id].width,i=Z(K);e.message=r.u.wrapLabel(`[${e.message}]`,a-2*K.wrapPadding,i),e.width=a,e.wrap=!0;const o=r.u.calculateTextDimensions(e.message,i),c=r.e.getMax(o.height,K.labelBoxHeight);n=s+c,r.l.debug(`${c} - ${e.message}`)}i(e),X.bumpVerticalPos(n)}function lt(t,e,a,r,s,i,n){function o(a,r){a.x2,p=t=>c?-t:t;t.from===t.to?d=l:(t.activate&&!h&&(d+=p(K.activationWidth/2-1)),[a.db.LINETYPE.SOLID_OPEN,a.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(d+=p(3)));const g=[s,i,n,o],u=Math.abs(l-d);t.wrap&&t.message&&(t.message=r.u.wrapLabel(t.message,r.e.getMax(u+2*K.wrapPadding,K.width),Z(K)));const x=r.u.calculateTextDimensions(t.message,Z(K));return{width:r.e.getMax(t.wrap?0:x.width+2*K.wrapPadding,u+2*K.wrapPadding,K.width),height:0,startx:l,stopx:d,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,g),toBounds:Math.max.apply(null,g)}},gt={parser:c,db:w,renderer:{bounds:X,drawActors:rt,drawActorsPopup:st,setConf:it,draw:async function(t,e,a,i){const{securityLevel:n,sequence:o}=(0,r.c)();let c;K=o,"sandbox"===n&&(c=(0,s.Ltv)("#i"+e));const l="sandbox"===n?(0,s.Ltv)(c.nodes()[0].contentDocument.body):(0,s.Ltv)("body"),d="sandbox"===n?c.nodes()[0].contentDocument:document;X.init(),r.l.debug(i.db);const h="sandbox"===n?l.select(`[id="${e}"]`):(0,s.Ltv)(`[id="${e}"]`),p=i.db.getActors(),g=i.db.getCreatedActors(),u=i.db.getDestroyedActors(),x=i.db.getBoxes();let y=i.db.getActorKeys();const m=i.db.getMessages(),b=i.db.getDiagramTitle(),f=i.db.hasAtLeastOneBox(),T=i.db.hasAtLeastOneBoxWithTitle(),E=await async function(t,e,a){const s={};for(const i of e)if(t[i.to]&&t[i.from]){const e=t[i.to];if(i.placement===a.db.PLACEMENT.LEFTOF&&!e.prevActor)continue;if(i.placement===a.db.PLACEMENT.RIGHTOF&&!e.nextActor)continue;const n=void 0!==i.placement,o=!n,c=n?Q(K):Z(K),l=i.wrap?r.u.wrapLabel(i.message,K.width-2*K.wrapPadding,c):i.message,d=((0,r.G)(l)?await(0,r.H)(i.message,(0,r.c)()):r.u.calculateTextDimensions(l,c)).width+2*K.wrapPadding;o&&i.from===e.nextActor?s[i.to]=r.e.getMax(s[i.to]||0,d):o&&i.from===e.prevActor?s[i.from]=r.e.getMax(s[i.from]||0,d):o&&i.from===i.to?(s[i.from]=r.e.getMax(s[i.from]||0,d/2),s[i.to]=r.e.getMax(s[i.to]||0,d/2)):i.placement===a.db.PLACEMENT.RIGHTOF?s[i.from]=r.e.getMax(s[i.from]||0,d):i.placement===a.db.PLACEMENT.LEFTOF?s[e.prevActor]=r.e.getMax(s[e.prevActor]||0,d):i.placement===a.db.PLACEMENT.OVER&&(e.prevActor&&(s[e.prevActor]=r.e.getMax(s[e.prevActor]||0,d/2)),e.nextActor&&(s[i.from]=r.e.getMax(s[i.from]||0,d/2)))}return r.l.debug("maxMessageWidthPerActor:",s),s}(p,m,i);if(K.height=await async function(t,e,a){let s=0;for(const e of Object.keys(t)){const a=t[e];a.wrap&&(a.description=r.u.wrapLabel(a.description,K.width-2*K.wrapPadding,tt(K)));const i=(0,r.G)(a.description)?await(0,r.H)(a.description,(0,r.c)()):r.u.calculateTextDimensions(a.description,tt(K));a.width=a.wrap?K.width:r.e.getMax(K.width,i.width+2*K.wrapPadding),a.height=a.wrap?r.e.getMax(i.height,K.height):K.height,s=r.e.getMax(s,a.height)}for(const a in e){const s=t[a];if(!s)continue;const i=t[s.nextActor];if(!i){const t=e[a]+K.actorMargin-s.width/2;s.margin=r.e.getMax(t,K.actorMargin);continue}const n=e[a]+K.actorMargin-s.width/2-i.width/2;s.margin=r.e.getMax(n,K.actorMargin)}let i=0;return a.forEach((e=>{const a=Z(K);let s=e.actorKeys.reduce(((e,a)=>e+(t[a].width+(t[a].margin||0))),0);s-=2*K.boxTextMargin,e.wrap&&(e.name=r.u.wrapLabel(e.name,s-2*K.wrapPadding,a));const n=r.u.calculateTextDimensions(e.name,a);i=r.e.getMax(n.height,i);const o=r.e.getMax(s,n.width+2*K.wrapPadding);if(e.margin=K.boxTextMargin,st.textMaxHeight=i)),r.e.getMax(s,K.height)}(p,E,x),j(h),U(h),G(h),f&&(X.bumpVerticalPos(K.boxMargin),T&&X.bumpVerticalPos(x[0].textMaxHeight)),!0===K.hideUnusedParticipants){const t=new Set;m.forEach((e=>{t.add(e.from),t.add(e.to)})),y=y.filter((e=>t.has(e)))}await async function(t,e,a,s){let i,n=0,o=0,c=0;for(const t of s){const s=e[t],l=s.box;i&&i!=l&&(X.models.addBox(i),o+=K.boxMargin+i.margin),l&&l!=i&&(l.x=n+o,l.y=0,o+=l.margin),s.width=s.width||K.width,s.height=r.e.getMax(s.height||K.height,K.height),s.margin=s.margin||K.actorMargin,c=r.e.getMax(c,s.height),a[s.name]&&(o+=s.width/2),s.x=n+o,s.starty=X.getVerticalPos(),X.insert(s.x,0,s.x+s.width,s.height),n+=s.width+o,s.box&&(s.box.width=n+l.margin-s.box.x),o=s.margin,i=s.box,X.models.addActor(s)}i&&X.models.addBox(i),X.bumpVerticalPos(c)}(0,p,g,y);const w=await async function(t,e,a,s){const i={},n=[];let o,c,l;for(const a of t){switch(a.id=r.u.random({length:10}),a.type){case s.db.LINETYPE.LOOP_START:case s.db.LINETYPE.ALT_START:case s.db.LINETYPE.OPT_START:case s.db.LINETYPE.PAR_START:case s.db.LINETYPE.PAR_OVER_START:case s.db.LINETYPE.CRITICAL_START:case s.db.LINETYPE.BREAK_START:n.push({id:a.id,msg:a.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case s.db.LINETYPE.ALT_ELSE:case s.db.LINETYPE.PAR_AND:case s.db.LINETYPE.CRITICAL_OPTION:a.message&&(o=n.pop(),i[o.id]=o,i[a.id]=o,n.push(o));break;case s.db.LINETYPE.LOOP_END:case s.db.LINETYPE.ALT_END:case s.db.LINETYPE.OPT_END:case s.db.LINETYPE.PAR_END:case s.db.LINETYPE.CRITICAL_END:case s.db.LINETYPE.BREAK_END:o=n.pop(),i[o.id]=o;break;case s.db.LINETYPE.ACTIVE_START:{const t=e[a.from?a.from.actor:a.to.actor],r=nt(a.from?a.from.actor:a.to.actor).length,s=t.x+t.width/2+(r-1)*K.activationWidth/2,i={startx:s,stopx:s+K.activationWidth,actor:a.from.actor,enabled:!0};X.activations.push(i)}break;case s.db.LINETYPE.ACTIVE_END:{const t=X.activations.map((t=>t.actor)).lastIndexOf(a.from.actor);delete X.activations.splice(t,1)[0]}}void 0!==a.placement?(c=await ht(a,e,s),a.noteModel=c,n.forEach((t=>{o=t,o.from=r.e.getMin(o.from,c.startx),o.to=r.e.getMax(o.to,c.startx+c.width),o.width=r.e.getMax(o.width,Math.abs(o.from-o.to))-K.labelBoxWidth}))):(l=pt(a,e,s),a.msgModel=l,l.startx&&l.stopx&&n.length>0&&n.forEach((t=>{if(o=t,l.startx===l.stopx){const t=e[a.from],s=e[a.to];o.from=r.e.getMin(t.x-l.width/2,t.x-t.width/2,o.from),o.to=r.e.getMax(s.x+l.width/2,s.x+t.width/2,o.to),o.width=r.e.getMax(o.width,Math.abs(o.to-o.from))-K.labelBoxWidth}else o.from=r.e.getMin(l.startx,o.from),o.to=r.e.getMax(l.stopx,o.to),o.width=r.e.getMax(o.width,l.width)-K.labelBoxWidth})))}return X.activations=[],r.l.debug("Loop type widths:",i),i}(m,p,0,i);function P(t,e){const a=X.endActivation(t);a.starty+18>e&&(a.starty=e-6,e+=12),B(h,a,e,K,nt(t.from.actor).length),X.insert(a.startx,e-10,a.stopx,e)}q(h),H(h),W(h),z(h);let _=1,v=1;const k=[],L=[];let I=0;for(const t of m){let e,a,s;switch(t.type){case i.db.LINETYPE.NOTE:X.resetVerticalPos(),a=t.noteModel,await J(h,a);break;case i.db.LINETYPE.ACTIVE_START:X.newActivation(t,h,p);break;case i.db.LINETYPE.ACTIVE_END:P(t,X.getVerticalPos());break;case i.db.LINETYPE.LOOP_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.LOOP_END:e=X.endLoop(),await V(h,e,"loop",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.RECT_START:ct(w,t,K.boxMargin,K.boxMargin,(t=>X.newLoop(void 0,t.message)));break;case i.db.LINETYPE.RECT_END:e=X.endLoop(),L.push(e),X.models.addLoop(e),X.bumpVerticalPos(e.stopy-X.getVerticalPos());break;case i.db.LINETYPE.OPT_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.OPT_END:e=X.endLoop(),await V(h,e,"opt",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.ALT_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.ALT_ELSE:ct(w,t,K.boxMargin+K.boxTextMargin,K.boxMargin,(t=>X.addSectionToLoop(t)));break;case i.db.LINETYPE.ALT_END:e=X.endLoop(),await V(h,e,"alt",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.PAR_OVER_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t))),X.saveVerticalPos();break;case i.db.LINETYPE.PAR_AND:ct(w,t,K.boxMargin+K.boxTextMargin,K.boxMargin,(t=>X.addSectionToLoop(t)));break;case i.db.LINETYPE.PAR_END:e=X.endLoop(),await V(h,e,"par",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.AUTONUMBER:_=t.message.start||_,v=t.message.step||v,t.message.visible?i.db.enableSequenceNumbers():i.db.disableSequenceNumbers();break;case i.db.LINETYPE.CRITICAL_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.CRITICAL_OPTION:ct(w,t,K.boxMargin+K.boxTextMargin,K.boxMargin,(t=>X.addSectionToLoop(t)));break;case i.db.LINETYPE.CRITICAL_END:e=X.endLoop(),await V(h,e,"critical",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;case i.db.LINETYPE.BREAK_START:ct(w,t,K.boxMargin,K.boxMargin+K.boxTextMargin,(t=>X.newLoop(t)));break;case i.db.LINETYPE.BREAK_END:e=X.endLoop(),await V(h,e,"break",K),X.bumpVerticalPos(e.stopy-X.getVerticalPos()),X.models.addLoop(e);break;default:try{s=t.msgModel,s.starty=X.getVerticalPos(),s.sequenceIndex=_,s.sequenceVisible=i.db.showSequenceNumbers();const e=await et(0,s);lt(t,s,e,I,p,g,u),k.push({messageModel:s,lineStartY:e}),X.models.addMessage(s)}catch(t){r.l.error("error while drawing message",t)}}[i.db.LINETYPE.SOLID_OPEN,i.db.LINETYPE.DOTTED_OPEN,i.db.LINETYPE.SOLID,i.db.LINETYPE.DOTTED,i.db.LINETYPE.SOLID_CROSS,i.db.LINETYPE.DOTTED_CROSS,i.db.LINETYPE.SOLID_POINT,i.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(_+=v),I++}r.l.debug("createdActors",g),r.l.debug("destroyedActors",u),await rt(h,p,y,!1);for(const t of k)await at(h,t.messageModel,t.lineStartY,i);K.mirrorActors&&await rt(h,p,y,!0),L.forEach((t=>F(h,t))),N(h,p,y,K);for(const t of X.models.boxes)t.height=X.getVerticalPos()-t.y,X.insert(t.x,t.y,t.x+t.width,t.height),t.startx=t.x,t.starty=t.y,t.stopx=t.startx+t.width,t.stopy=t.starty+t.height,t.stroke="rgb(0,0,0, 0.5)",await C(h,t,K);f&&X.bumpVerticalPos(K.boxMargin);const M=st(h,p,y,d),{bounds:A}=X.getBounds();let O=A.stopy-A.starty;O`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,init:({wrap:t})=>{w.setWrap(t)}}},18278:(t,e,a)=>{a.d(e,{a:()=>n,b:()=>l,c:()=>c,d:()=>i,e:()=>h,f:()=>o,g:()=>d});var r=a(88641),s=a(59659);const i=(t,e)=>{const a=t.append("rect");if(a.attr("x",e.x),a.attr("y",e.y),a.attr("fill",e.fill),a.attr("stroke",e.stroke),a.attr("width",e.width),a.attr("height",e.height),e.name&&a.attr("name",e.name),void 0!==e.rx&&a.attr("rx",e.rx),void 0!==e.ry&&a.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)a.attr(t,e.attrs[t]);return void 0!==e.class&&a.attr("class",e.class),a},n=(t,e)=>{const a={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};i(t,a).lower()},o=(t,e)=>{const a=e.text.replace(s.J," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),void 0!==e.class&&r.attr("class",e.class);const i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.text(a),r},c=(t,e,a,s)=>{const i=t.append("image");i.attr("x",e),i.attr("y",a);const n=(0,r.Jf)(s);i.attr("xlink:href",n)},l=(t,e,a,s)=>{const i=t.append("use");i.attr("x",e),i.attr("y",a);const n=(0,r.Jf)(s);i.attr("xlink:href",`#${n}`)},d=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),h=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}]); \ No newline at end of file diff --git a/assets/chunk.32d791d515534c9e08be.js.br b/assets/chunk.32d791d515534c9e08be.js.br new file mode 100644 index 00000000..39dcdc53 Binary files /dev/null and b/assets/chunk.32d791d515534c9e08be.js.br differ diff --git a/assets/chunk.32d791d515534c9e08be.js.gz b/assets/chunk.32d791d515534c9e08be.js.gz new file mode 100644 index 00000000..1b06af31 Binary files /dev/null and b/assets/chunk.32d791d515534c9e08be.js.gz differ diff --git a/assets/chunk.35db74ddaceb474a7475.js b/assets/chunk.35db74ddaceb474a7475.js new file mode 100644 index 00000000..ee7bc4a8 --- /dev/null +++ b/assets/chunk.35db74ddaceb474a7475.js @@ -0,0 +1,2 @@ +/*! For license information please see chunk.35db74ddaceb474a7475.js.LICENSE.txt */ +(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[66],{49876:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(0).FDLayoutConstants;function i(){}for(var a in r)i[a]=r[a];i.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,i.DEFAULT_RADIAL_SEPARATION=r.DEFAULT_EDGE_LENGTH,i.DEFAULT_COMPONENT_SEPERATION=60,i.TILE=!0,i.TILING_PADDING_VERTICAL=10,i.TILING_PADDING_HORIZONTAL=10,i.TREE_REDUCTION_ON_INCREMENTAL=!1,e.exports=i},function(e,t,n){"use strict";var r=n(0).FDLayoutEdge;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){"use strict";var r=n(0).LGraph;function i(e,t,n){r.call(this,e,t,n)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){"use strict";var r=n(0).LGraphManager;function i(e){r.call(this,e)}for(var a in i.prototype=Object.create(r.prototype),r)i[a]=r[a];e.exports=i},function(e,t,n){"use strict";var r=n(0).FDLayoutNode,i=n(0).IMath;function a(e,t,n,i){r.call(this,e,t,n,i)}for(var o in a.prototype=Object.create(r.prototype),r)a[o]=r[o];a.prototype.move=function(){var e=this.graphManager.getLayout();this.displacementX=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementX=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementX)),Math.abs(this.displacementY)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementY=e.coolingFactor*e.maxNodeDisplacement*i.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),e.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},a.prototype.propogateDisplacementToChildren=function(e,t){for(var n,r=this.getChild().getNodes(),i=0;i0)this.positionNodesRadially(e);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},m.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%u.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),t=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(t),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var n=!this.isTreeGrowing&&!this.isGrowthFinished,r=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,r),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},m.prototype.getPositionsData=function(){for(var e=this.graphManager.getAllNodes(),t={},n=0;n1)for(s=0;sr&&(r=Math.floor(o.y)),a=Math.floor(o.x+l.DEFAULT_COMPONENT_SEPERATION)}this.transform(new d(c.WORLD_CENTER_X-o.x/2,c.WORLD_CENTER_Y-o.y/2))},m.radialLayout=function(e,t,n){var r=Math.max(this.maxDiagonalInTree(e),l.DEFAULT_RADIAL_SEPARATION);m.branchRadialLayout(t,null,0,359,0,r);var i=v.calculateBounds(e),a=new y;a.setDeviceOrgX(i.getMinX()),a.setDeviceOrgY(i.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o1;){var y=v[0];v.splice(0,1);var b=c.indexOf(y);b>=0&&c.splice(b,1),g--,h--}d=null!=t?(c.indexOf(v[0])+1)%g:0;for(var x=Math.abs(r-n)/h,w=d;p!=h;w=++w%g){var E=c[w].getOtherEnd(e);if(E!=t){var _=(n+p*x)%360,T=(_+x)%360;m.branchRadialLayout(E,e,_,T,i+a,a),p++}}},m.maxDiagonalInTree=function(e){for(var t=g.MIN_VALUE,n=0;nt&&(t=r)}return t},m.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},m.prototype.groupZeroDegreeMembers=function(){var e=this,t={};this.memberGroups={},this.idToDummyNode={};for(var n=[],r=this.graphManager.getAllNodes(),i=0;i1){var r="DummyCompound_"+n;e.memberGroups[r]=t[n];var i=t[n][0].getParent(),a=new o(e.graphManager);a.id=r,a.paddingLeft=i.paddingLeft||0,a.paddingRight=i.paddingRight||0,a.paddingBottom=i.paddingBottom||0,a.paddingTop=i.paddingTop||0,e.idToDummyNode[r]=a;var s=e.getGraphManager().add(e.newGraph(),a),l=i.getChild();l.add(a);for(var u=0;u=0;e--){var t=this.compoundOrder[e],n=t.id,r=t.paddingLeft,i=t.paddingTop;this.adjustLocations(this.tiledMemberPack[n],t.rect.x,t.rect.y,r,i)}},m.prototype.repopulateZeroDegreeMembers=function(){var e=this,t=this.tiledZeroDegreePack;Object.keys(t).forEach((function(n){var r=e.idToDummyNode[n],i=r.paddingLeft,a=r.paddingTop;e.adjustLocations(t[n],r.rect.x,r.rect.y,i,a)}))},m.prototype.getToBeTiled=function(e){var t=e.id;if(null!=this.toBeTiled[t])return this.toBeTiled[t];var n=e.getChild();if(null==n)return this.toBeTiled[t]=!1,!1;for(var r=n.getNodes(),i=0;i0)return this.toBeTiled[t]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[t]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[t]=!0,!0},m.prototype.getNodeDegree=function(e){e.id;for(var t=e.getEdges(),n=0,r=0;rl&&(l=c.rect.height)}n+=l+e.verticalPadding}},m.prototype.tileCompoundMembers=function(e,t){var n=this;this.tiledMemberPack=[],Object.keys(e).forEach((function(r){var i=t[r];n.tiledMemberPack[r]=n.tileNodes(e[r],i.paddingLeft+i.paddingRight),i.rect.width=n.tiledMemberPack[r].width,i.rect.height=n.tiledMemberPack[r].height}))},m.prototype.tileNodes=function(e,t){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:t,verticalPadding:l.TILING_PADDING_VERTICAL,horizontalPadding:l.TILING_PADDING_HORIZONTAL};e.sort((function(e,t){return e.rect.width*e.rect.height>t.rect.width*t.rect.height?-1:e.rect.width*e.rect.height0&&(a+=e.horizontalPadding),e.rowWidth[n]=a,e.width0&&(o+=e.verticalPadding);var s=0;o>e.rowHeight[n]&&(s=e.rowHeight[n],e.rowHeight[n]=o,s=e.rowHeight[n]-s),e.height+=s,e.rows[n].push(t)},m.prototype.getShortestRowIndex=function(e){for(var t=-1,n=Number.MAX_VALUE,r=0;rn&&(t=r,n=e.rowWidth[r]);return t},m.prototype.canAddHorizontal=function(e,t,n){var r=this.getShortestRowIndex(e);if(r<0)return!0;var i=e.rowWidth[r];if(i+e.horizontalPadding+t<=e.width)return!0;var a,o,s=0;return e.rowHeight[r]0&&(s=n+e.verticalPadding-e.rowHeight[r]),a=e.width-i>=t+e.horizontalPadding?(e.height+s)/(i+t+e.horizontalPadding):(e.height+s)/e.width,s=n+e.verticalPadding,(o=e.widtha&&t!=n){r.splice(-1,1),e.rows[n].push(i),e.rowWidth[t]=e.rowWidth[t]-a,e.rowWidth[n]=e.rowWidth[n]+a,e.width=e.rowWidth[instance.getLongestRowIndex(e)];for(var o=Number.MIN_VALUE,s=0;so&&(o=r[s].height);t>0&&(o+=e.verticalPadding);var l=e.rowHeight[t]+e.rowHeight[n];e.rowHeight[t]=o,e.rowHeight[n]0)for(var c=i;c<=a;c++)l[0]+=this.grid[c][o-1].length+this.grid[c][o].length-1;if(a0)for(c=o;c<=s;c++)l[3]+=this.grid[i-1][c].length+this.grid[i][c].length-1;for(var h,d,p=g.MAX_VALUE,f=0;f0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var p=function(e){e("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&p(cytoscape),e.exports=p}])},e.exports=r(n(49876))},90565:function(e){var t;t=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.i=function(e){return e},n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}([function(e,t,n){"use strict";function r(){}r.QUALITY=1,r.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,r.DEFAULT_INCREMENTAL=!1,r.DEFAULT_ANIMATION_ON_LAYOUT=!0,r.DEFAULT_ANIMATION_DURING_LAYOUT=!1,r.DEFAULT_ANIMATION_PERIOD=50,r.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,r.DEFAULT_GRAPH_MARGIN=15,r.NODE_DIMENSIONS_INCLUDE_LABELS=!1,r.SIMPLE_NODE_SIZE=40,r.SIMPLE_NODE_HALF_SIZE=r.SIMPLE_NODE_SIZE/2,r.EMPTY_COMPOUND_NODE_SIZE=40,r.MIN_EDGE_LENGTH=1,r.WORLD_BOUNDARY=1e6,r.INITIAL_WORLD_BOUNDARY=r.WORLD_BOUNDARY/1e3,r.WORLD_CENTER_X=1200,r.WORLD_CENTER_Y=900,e.exports=r},function(e,t,n){"use strict";var r=n(2),i=n(8),a=n(9);function o(e,t,n){r.call(this,n),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=n,this.bendpoints=[],this.source=e,this.target=t}for(var s in o.prototype=Object.create(r.prototype),r)o[s]=r[s];o.prototype.getSource=function(){return this.source},o.prototype.getTarget=function(){return this.target},o.prototype.isInterGraph=function(){return this.isInterGraph},o.prototype.getLength=function(){return this.length},o.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},o.prototype.getBendpoints=function(){return this.bendpoints},o.prototype.getLca=function(){return this.lca},o.prototype.getSourceInLca=function(){return this.sourceInLca},o.prototype.getTargetInLca=function(){return this.targetInLca},o.prototype.getOtherEnd=function(e){if(this.source===e)return this.target;if(this.target===e)return this.source;throw"Node is not incident with this edge"},o.prototype.getOtherEndInGraph=function(e,t){for(var n=this.getOtherEnd(e),r=t.getGraphManager().getRoot();;){if(n.getOwner()==t)return n;if(n.getOwner()==r)break;n=n.getOwner().getParent()}return null},o.prototype.updateLength=function(){var e=new Array(4);this.isOverlapingSourceAndTarget=i.getIntersection(this.target.getRect(),this.source.getRect(),e),this.isOverlapingSourceAndTarget||(this.lengthX=e[0]-e[2],this.lengthY=e[1]-e[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},o.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){this.vGraphObject=e}},function(e,t,n){"use strict";var r=n(2),i=n(10),a=n(13),o=n(0),s=n(16),l=n(4);function u(e,t,n,o){null==n&&null==o&&(o=t),r.call(this,o),null!=e.graphManager&&(e=e.graphManager),this.estimatedSize=i.MIN_VALUE,this.inclusionTreeDepth=i.MAX_VALUE,this.vGraphObject=o,this.edges=[],this.graphManager=e,this.rect=null!=n&&null!=t?new a(t.x,t.y,n.width,n.height):new a}for(var c in u.prototype=Object.create(r.prototype),r)u[c]=r[c];u.prototype.getEdges=function(){return this.edges},u.prototype.getChild=function(){return this.child},u.prototype.getOwner=function(){return this.owner},u.prototype.getWidth=function(){return this.rect.width},u.prototype.setWidth=function(e){this.rect.width=e},u.prototype.getHeight=function(){return this.rect.height},u.prototype.setHeight=function(e){this.rect.height=e},u.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},u.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},u.prototype.getCenter=function(){return new l(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},u.prototype.getLocation=function(){return new l(this.rect.x,this.rect.y)},u.prototype.getRect=function(){return this.rect},u.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},u.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},u.prototype.setRect=function(e,t){this.rect.x=e.x,this.rect.y=e.y,this.rect.width=t.width,this.rect.height=t.height},u.prototype.setCenter=function(e,t){this.rect.x=e-this.rect.width/2,this.rect.y=t-this.rect.height/2},u.prototype.setLocation=function(e,t){this.rect.x=e,this.rect.y=t},u.prototype.moveBy=function(e,t){this.rect.x+=e,this.rect.y+=t},u.prototype.getEdgeListToNode=function(e){var t=[],n=this;return n.edges.forEach((function(r){if(r.target==e){if(r.source!=n)throw"Incorrect edge source!";t.push(r)}})),t},u.prototype.getEdgesBetween=function(e){var t=[],n=this;return n.edges.forEach((function(r){if(r.source!=n&&r.target!=n)throw"Incorrect edge source and/or target";r.target!=e&&r.source!=e||t.push(r)})),t},u.prototype.getNeighborsList=function(){var e=new Set,t=this;return t.edges.forEach((function(n){if(n.source==t)e.add(n.target);else{if(n.target!=t)throw"Incorrect incidency!";e.add(n.source)}})),e},u.prototype.withChildren=function(){var e=new Set;if(e.add(this),null!=this.child)for(var t=this.child.getNodes(),n=0;nt&&(this.rect.x-=(this.labelWidth-t)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight))}}},u.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==i.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(e){var t=this.rect.x;t>o.WORLD_BOUNDARY?t=o.WORLD_BOUNDARY:t<-o.WORLD_BOUNDARY&&(t=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var r=new l(t,n),i=e.inverseTransformPoint(r);this.setLocation(i.x,i.y)},u.prototype.getLeft=function(){return this.rect.x},u.prototype.getRight=function(){return this.rect.x+this.rect.width},u.prototype.getTop=function(){return this.rect.y},u.prototype.getBottom=function(){return this.rect.y+this.rect.height},u.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},e.exports=u},function(e,t,n){"use strict";function r(e,t){null==e&&null==t?(this.x=0,this.y=0):(this.x=e,this.y=t)}r.prototype.getX=function(){return this.x},r.prototype.getY=function(){return this.y},r.prototype.setX=function(e){this.x=e},r.prototype.setY=function(e){this.y=e},r.prototype.getDifference=function(e){return new DimensionD(this.x-e.x,this.y-e.y)},r.prototype.getCopy=function(){return new r(this.x,this.y)},r.prototype.translate=function(e){return this.x+=e.width,this.y+=e.height,this},e.exports=r},function(e,t,n){"use strict";var r=n(2),i=n(10),a=n(0),o=n(6),s=n(3),l=n(1),u=n(13),c=n(12),h=n(11);function d(e,t,n){r.call(this,n),this.estimatedSize=i.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=e,null!=t&&t instanceof o?this.graphManager=t:null!=t&&t instanceof Layout&&(this.graphManager=t.graphManager)}for(var p in d.prototype=Object.create(r.prototype),r)d[p]=r[p];d.prototype.getNodes=function(){return this.nodes},d.prototype.getEdges=function(){return this.edges},d.prototype.getGraphManager=function(){return this.graphManager},d.prototype.getParent=function(){return this.parent},d.prototype.getLeft=function(){return this.left},d.prototype.getRight=function(){return this.right},d.prototype.getTop=function(){return this.top},d.prototype.getBottom=function(){return this.bottom},d.prototype.isConnected=function(){return this.isConnected},d.prototype.add=function(e,t,n){if(null==t&&null==n){var r=e;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(r)>-1)throw"Node already in graph!";return r.owner=this,this.getNodes().push(r),r}var i=e;if(!(this.getNodes().indexOf(t)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(t.owner!=n.owner||t.owner!=this)throw"Both owners must be this graph!";return t.owner!=n.owner?null:(i.source=t,i.target=n,i.isInterGraph=!1,this.getEdges().push(i),t.edges.push(i),n!=t&&n.edges.push(i),i)},d.prototype.remove=function(e){var t=e;if(e instanceof s){if(null==t)throw"Node is null!";if(null==t.owner||t.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=t.edges.slice(),r=n.length,i=0;i-1&&c>-1))throw"Source and/or target doesn't know this edge!";if(a.source.edges.splice(u,1),a.target!=a.source&&a.target.edges.splice(c,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},d.prototype.updateLeftTop=function(){for(var e,t,n,r=i.MAX_VALUE,a=i.MAX_VALUE,o=this.getNodes(),s=o.length,l=0;l(e=u.getTop())&&(r=e),a>(t=u.getLeft())&&(a=t)}return r==i.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=r-n,new c(this.left,this.top))},d.prototype.updateBounds=function(e){for(var t,n,r,a,o,s=i.MAX_VALUE,l=-i.MAX_VALUE,c=i.MAX_VALUE,h=-i.MAX_VALUE,d=this.nodes,p=d.length,g=0;g(t=f.getLeft())&&(s=t),l<(n=f.getRight())&&(l=n),c>(r=f.getTop())&&(c=r),h<(a=f.getBottom())&&(h=a)}var v=new u(s,c,l-s,h-c);s==i.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=d[0].getParent().paddingLeft?d[0].getParent().paddingLeft:this.margin,this.left=v.x-o,this.right=v.x+v.width+o,this.top=v.y-o,this.bottom=v.y+v.height+o},d.calculateBounds=function(e){for(var t,n,r,a,o=i.MAX_VALUE,s=-i.MAX_VALUE,l=i.MAX_VALUE,c=-i.MAX_VALUE,h=e.length,d=0;d(t=p.getLeft())&&(o=t),s<(n=p.getRight())&&(s=n),l>(r=p.getTop())&&(l=r),c<(a=p.getBottom())&&(c=a)}return new u(o,l,s-o,c-l)},d.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},d.prototype.getEstimatedSize=function(){if(this.estimatedSize==i.MIN_VALUE)throw"assert failed";return this.estimatedSize},d.prototype.calcEstimatedSize=function(){for(var e=0,t=this.nodes,n=t.length,r=0;r=this.nodes.length){var l=0;i.forEach((function(t){t.owner==e&&l++})),l==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},e.exports=d},function(e,t,n){"use strict";var r,i=n(1);function a(e){r=n(5),this.layout=e,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var e=this.layout.newGraph(),t=this.layout.newNode(null),n=this.add(e,t);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(e,t,n,r,i){if(null==n&&null==r&&null==i){if(null==e)throw"Graph is null!";if(null==t)throw"Parent node is null!";if(this.graphs.indexOf(e)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(e),null!=e.parent)throw"Already has a parent!";if(null!=t.child)throw"Already has a child!";return e.parent=t,t.child=e,e}i=n,n=e;var a=(r=t).getOwner(),o=i.getOwner();if(null==a||a.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw"Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,r,i);if(n.isInterGraph=!0,n.source=r,n.target=i,this.edges.indexOf(n)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw"Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw"Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(e){if(e instanceof r){var t=e;if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(t!=this.rootGraph&&(null==t.parent||t.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(t.getEdges())).length,s=0;s=t.getRight()?n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight()):t.getX()<=e.getX()&&t.getRight()>=e.getRight()&&(n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight())),e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()?n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()):t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()&&(n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()));var a=Math.abs((t.getCenterY()-e.getCenterY())/(t.getCenterX()-e.getCenterX()));t.getCenterY()===e.getCenterY()&&t.getCenterX()===e.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]o)return n[0]=r,n[1]=l,n[2]=a,n[3]=b,!1;if(ia)return n[0]=s,n[1]=i,n[2]=y,n[3]=o,!1;if(ra?(n[0]=c,n[1]=h,_=!0):(n[0]=u,n[1]=l,_=!0):D===N&&(r>a?(n[0]=s,n[1]=l,_=!0):(n[0]=d,n[1]=h,_=!0)),-C===N?a>r?(n[2]=m,n[3]=b,T=!0):(n[2]=y,n[3]=v,T=!0):C===N&&(a>r?(n[2]=f,n[3]=v,T=!0):(n[2]=x,n[3]=b,T=!0)),_&&T)return!1;if(r>a?i>o?(A=this.getCardinalDirection(D,N,4),L=this.getCardinalDirection(C,N,2)):(A=this.getCardinalDirection(-D,N,3),L=this.getCardinalDirection(-C,N,1)):i>o?(A=this.getCardinalDirection(-D,N,1),L=this.getCardinalDirection(-C,N,3)):(A=this.getCardinalDirection(D,N,2),L=this.getCardinalDirection(C,N,4)),!_)switch(A){case 1:S=l,k=r+-g/N,n[0]=k,n[1]=S;break;case 2:k=d,S=i+p*N,n[0]=k,n[1]=S;break;case 3:S=h,k=r+g/N,n[0]=k,n[1]=S;break;case 4:k=c,S=i+-p*N,n[0]=k,n[1]=S}if(!T)switch(L){case 1:I=v,M=a+-E/N,n[2]=M,n[3]=I;break;case 2:M=x,I=o+w*N,n[2]=M,n[3]=I;break;case 3:I=b,M=a+E/N,n[2]=M,n[3]=I;break;case 4:M=m,I=o+-w*N,n[2]=M,n[3]=I}}return!1},i.getCardinalDirection=function(e,t,n){return e>t?n:1+n%4},i.getIntersection=function(e,t,n,i){if(null==i)return this.getIntersection2(e,t,n);var a,o,s,l,u,c,h,d=e.x,p=e.y,g=t.x,f=t.y,v=n.x,y=n.y,m=i.x,b=i.y;return 0==(h=(a=f-p)*(l=v-m)-(o=b-y)*(s=d-g))?null:new r((s*(c=m*y-v*b)-l*(u=g*p-d*f))/h,(o*u-a*c)/h)},i.angleOfVector=function(e,t,n,r){var i=void 0;return e!==n?(i=Math.atan((r-t)/(n-e)),n0?1:e<0?-1:0},r.floor=function(e){return e<0?Math.ceil(e):Math.floor(e)},r.ceil=function(e){return e<0?Math.floor(e):Math.ceil(e)},e.exports=r},function(e,t,n){"use strict";function r(){}r.MAX_VALUE=2147483647,r.MIN_VALUE=-2147483648,e.exports=r},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n0&&t;){for(s.push(u[0]);s.length>0&&t;){var c=s[0];s.splice(0,1),o.add(c);var h=c.getEdges();for(a=0;a-1&&u.splice(f,1)}o=new Set,l=new Map}else e=[]}return e},d.prototype.createDummyNodesForBendpoints=function(e){for(var t=[],n=e.source,r=this.graphManager.calcLowestCommonAncestor(e.source,e.target),i=0;i0){for(var i=this.edgeToDummyNodes.get(n),a=0;a=0&&t.splice(h,1),c.getNeighborsList().forEach((function(e){if(n.indexOf(e)<0){var t=r.get(e)-1;1==t&&l.push(e),r.set(e,t)}}))}n=n.concat(l),1!=t.length&&2!=t.length||(i=!0,a=t[0])}return a},d.prototype.setGraphManager=function(e){this.graphManager=e},e.exports=d},function(e,t,n){"use strict";function r(){}r.seed=1,r.x=0,r.nextDouble=function(){return r.x=1e4*Math.sin(r.seed++),r.x-Math.floor(r.x)},e.exports=r},function(e,t,n){"use strict";var r=n(4);function i(e,t){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}i.prototype.getWorldOrgX=function(){return this.lworldOrgX},i.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},i.prototype.getWorldOrgY=function(){return this.lworldOrgY},i.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},i.prototype.getWorldExtX=function(){return this.lworldExtX},i.prototype.setWorldExtX=function(e){this.lworldExtX=e},i.prototype.getWorldExtY=function(){return this.lworldExtY},i.prototype.setWorldExtY=function(e){this.lworldExtY=e},i.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},i.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},i.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},i.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},i.prototype.getDeviceExtX=function(){return this.ldeviceExtX},i.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},i.prototype.getDeviceExtY=function(){return this.ldeviceExtY},i.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},i.prototype.transformX=function(e){var t=0,n=this.lworldExtX;return 0!=n&&(t=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/n),t},i.prototype.transformY=function(e){var t=0,n=this.lworldExtY;return 0!=n&&(t=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/n),t},i.prototype.inverseTransformX=function(e){var t=0,n=this.ldeviceExtX;return 0!=n&&(t=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/n),t},i.prototype.inverseTransformY=function(e){var t=0,n=this.ldeviceExtY;return 0!=n&&(t=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/n),t},i.prototype.inverseTransformPoint=function(e){return new r(this.inverseTransformX(e.x),this.inverseTransformY(e.y))},e.exports=i},function(e,t,n){"use strict";var r=n(15),i=n(7),a=n(0),o=n(8),s=n(9);function l(){r.call(this),this.useSmartIdealEdgeLengthCalculation=i.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=i.DEFAULT_EDGE_LENGTH,this.springConstant=i.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=i.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=i.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=i.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=i.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=i.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*i.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=i.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=i.MAX_ITERATIONS}for(var u in l.prototype=Object.create(r.prototype),r)l[u]=r[u];l.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=i.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},l.prototype.calcIdealEdgeLengths=function(){for(var e,t,n,r,o,s,l=this.getGraphManager().getAllEdges(),u=0;ui.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*i.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-i.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT_INCREMENTAL):(e>i.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(i.COOLING_ADAPTATION_FACTOR,1-(e-i.ADAPTATION_LOWER_NODE_LIMIT)/(i.ADAPTATION_UPPER_NODE_LIMIT-i.ADAPTATION_LOWER_NODE_LIMIT)*(1-i.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=i.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},l.prototype.calcSpringForces=function(){for(var e,t=this.getAllEdges(),n=0;n0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%i.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,e=0;e(l=t.getEstimatedSize()*this.gravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i,e.gravitationForceY=-this.gravityConstant*a):(o>(l=t.getEstimatedSize()*this.compoundGravityRangeFactor)||s>l)&&(e.gravitationForceX=-this.gravityConstant*i*this.compoundGravityConstant,e.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},l.prototype.isConverged=function(){var e,t=!1;return this.totalIterations>this.maxIterations/3&&(t=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),e=this.totalDisplacement=s.length||u>=s[0].length))for(var c=0;ce}}]),e}();e.exports=a},function(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]?arguments[2]:1,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sequence1=t,this.sequence2=n,this.match_score=r,this.mismatch_penalty=i,this.gap_penalty=a,this.iMax=t.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var o=0;o=0;n--){var r=this.listeners[n];r.event===e&&r.callback===t&&this.listeners.splice(n,1)}},i.emit=function(e,t){for(var n=0;n{"use strict";n.d(t,{diagram:()=>lc});var r=n(59659);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}var p="undefined"==typeof window?null:window,g=p?p.navigator:null;p&&p.document;var f=i(""),v=i({}),y=i((function(){})),m="undefined"==typeof HTMLElement?"undefined":i(HTMLElement),b=function(e){return e&&e.instanceString&&w(e.instanceString)?e.instanceString():null},x=function(e){return null!=e&&i(e)==f},w=function(e){return null!=e&&i(e)===y},E=function(e){return!C(e)&&(Array.isArray?Array.isArray(e):null!=e&&e instanceof Array)},_=function(e){return null!=e&&i(e)===v&&!E(e)&&e.constructor===Object},T=function(e){return null!=e&&i(e)===i(1)&&!isNaN(e)},D=function(e){return"undefined"===m?void 0:null!=e&&e instanceof HTMLElement},C=function(e){return N(e)||A(e)},N=function(e){return"collection"===b(e)&&e._private.single},A=function(e){return"collection"===b(e)&&!e._private.single},L=function(e){return"core"===b(e)},k=function(e){return"stylesheet"===b(e)},S=function(e){return null==e||!(""!==e&&!e.match(/^\s+$/))},M=function(e){return function(e){return null!=e&&i(e)===v}(e)&&w(e.then)},I=function(e,t){t||(t=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var e=[],t=0;tt?1:0},U=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n=t||n<0||h&&e-u>=a}function f(){var e=J();if(g(e))return v(e);s=setTimeout(f,function(e){var n=t-(e-l);return h?me(n,a-(e-u)):n}(e))}function v(e){return s=void 0,d&&r?p(e):(r=i=void 0,o)}function y(){var e=J(),n=g(e);if(r=arguments,i=this,l=e,n){if(void 0===s)return function(e){return u=e,s=setTimeout(f,t),c?p(e):o}(l);if(h)return clearTimeout(s),s=setTimeout(f,t),p(l)}return void 0===s&&(s=setTimeout(f,t)),o}return t=ve(t)||0,W(n)&&(c=!!n.leading,a=(h="maxWait"in n)?ye(ve(n.maxWait)||0,t):a,d="trailing"in n?!!n.trailing:d),y.cancel=function(){void 0!==s&&clearTimeout(s),u=0,r=l=i=s=void 0},y.flush=function(){return void 0===s?o:v(J())},y},xe=p?p.performance:null,we=xe&&xe.now?function(){return xe.now()}:function(){return Date.now()},Ee=function(){if(p){if(p.requestAnimationFrame)return function(e){p.requestAnimationFrame(e)};if(p.mozRequestAnimationFrame)return function(e){p.mozRequestAnimationFrame(e)};if(p.webkitRequestAnimationFrame)return function(e){p.webkitRequestAnimationFrame(e)};if(p.msRequestAnimationFrame)return function(e){p.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout((function(){e(we())}),1e3/60)}}(),_e=function(e){return Ee(e)},Te=we,De=9261,Ce=5381,Ne=function(e){for(var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:De;!(t=e.next()).done;)n=65599*n+t.value|0;return n},Ae=function(e){return 65599*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:De)+e|0},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ce;return(t<<5)+t+e|0},ke=function(e){return 2097152*e[0]+e[1]},Se=function(e,t){return[Ae(e[0],t[0]),Le(e[1],t[1])]},Me=function(e,t){var n={value:0,done:!1},r=0,i=e.length;return Ne({next:function(){return r=0&&(e[r]!==t||(e.splice(r,1),!n));r--);},Qe=function(e){e.splice(0,e.length)},Je=function(e,t,n){return n&&(t=R(n,t)),e[t]},et=function(e,t,n,r){n&&(t=R(n,t)),e[t]=r},tt="undefined"!=typeof Map?Map:function(){function e(){a(this,e),this._obj={}}return s(e,[{key:"set",value:function(e,t){return this._obj[e]=t,this}},{key:"delete",value:function(e){return this._obj[e]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(e){return void 0!==this._obj[e]}},{key:"get",value:function(e){return this._obj[e]}}]),e}(),nt=function(){function e(t){if(a(this,e),this._obj=Object.create(null),this.size=0,null!=t){var n;n=null!=t.instanceString&&t.instanceString()===this.instanceString()?t.toArray():t;for(var r=0;r2&&void 0!==arguments[2])||arguments[2];if(void 0!==e&&void 0!==t&&L(e)){var r=t.group;if(null==r&&(r=t.data&&null!=t.data.source&&null!=t.data.target?"edges":"nodes"),"nodes"===r||"edges"===r){this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:void 0===t.selectable||!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:void 0===t.grabbable||!!t.grabbable,pannable:void 0===t.pannable?"edges"===r:!!t.pannable,active:!1,classes:new rt,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==i.position.x&&(i.position.x=0),null==i.position.y&&(i.position.y=0),t.renderedPosition){var a=t.renderedPosition,o=e.pan(),s=e.zoom();i.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var l=[];E(t.classes)?l=t.classes:x(t.classes)&&(l=t.classes.split(/\s+/));for(var u=0,c=l.length;ut?1:0},u=function(e,t,i,a,o){var s;if(null==i&&(i=0),null==o&&(o=n),i<0)throw new Error("lo must be non-negative");for(null==a&&(a=e.length);in;0<=n?t++:t--)u.push(t);return u}.apply(this).reverse()).length;af;0<=f?++d:--d)v.push(a(e,r));return v},g=function(e,t,r,i){var a,o,s;for(null==i&&(i=n),a=e[r];r>t&&i(a,o=e[s=r-1>>1])<0;)e[r]=o,r=s;return e[r]=a},f=function(e,t,r){var i,a,o,s,l;for(null==r&&(r=n),a=e.length,l=t,o=e[t],i=2*t+1;i0;){var E=y.pop(),T=f(E),D=E.id();if(h[D]=T,T!==1/0)for(var C=E.neighborhood().intersect(p),N=0;N0)for(n.unshift(t);c[i];){var a=c[i];n.unshift(a.edge),n.unshift(a.node),i=(r=a.node).id()}return o.spawn(n)}}}},dt={kruskal:function(e){e=e||function(e){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,i=n.length,a=new Array(i),o=n,s=function(e){for(var t=0;t0;){if(u=(l=f.pop()).id(),v.delete(u),w++,u===h){for(var E=[],_=i,T=h,D=m[T];E.unshift(_),null!=D&&E.unshift(D),null!=(_=y[T]);)D=m[T=_.id()];return{found:!0,distance:d[u],path:this.spawn(E),steps:w}}g[u]=!0;for(var C=l._private.edges,N=0;NN&&(p[C]=N,y[C]=D,m[C]=w),!i){var A=D*u+T;!i&&p[A]>N&&(p[A]=N,y[A]=T,m[A]=w)}}}for(var L=0;L1&&void 0!==arguments[1]?arguments[1]:a,r=[],i=m(e);;){if(null==i)return t.spawn();var o=y(i),l=o.edge,u=o.pred;if(r.unshift(i[0]),i.same(n)&&r.length>0)break;null!=l&&r.unshift(l),i=u}return s.spawn(r)},hasNegativeWeightCycle:g,negativeWeightCycles:f}}},bt=Math.sqrt(2),xt=function(e,t,n){0===n.length&&Xe("Karger-Stein must be run on a connected (sub)graph");for(var r=n[e],i=r[1],a=r[2],o=t[i],s=t[a],l=n,u=l.length-1;u>=0;u--){var c=l[u],h=c[1],d=c[2];(t[h]===o&&t[d]===s||t[h]===s&&t[d]===o)&&l.splice(u,1)}for(var p=0;pr;){var i=Math.floor(Math.random()*t.length);t=xt(i,e,t),n--}return t},Et={kargerStein:function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy((function(e){return e.isLoop()}));var i=n.length,a=r.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),s=Math.floor(i/bt);if(!(i<2)){for(var l=[],u=0;u0?1:e<0?-1:0},Lt=function(e,t){return Math.sqrt(kt(e,t))},kt=function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},St=function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(null!=e.w&&null!=e.h&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},Rt=function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},Bt=function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},Ft=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},zt=function(e){var t,n,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)t=n=r=i=a[0];else if(2===a.length)t=r=a[0],i=n=a[1];else if(4===a.length){var o=u(a,4);t=o[0],n=o[1],r=o[2],i=o[3]}return e.x1-=i,e.x2+=n,e.y1-=t,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},Gt=function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},Yt=function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},Vt=function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},Xt=function(e,t){return Vt(e,t.x1,t.y1)&&Vt(e,t.x2,t.y2)},Ut=function(e,t,n,r,i,a,o){var s,l,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:"auto",c="auto"===u?un(i,a):u,h=i/2,d=a/2,p=(c=Math.min(c,h,d))!==h,g=c!==d;if(p){var f=r-d-o;if((s=nn(e,t,n,r,n-h+c-o,f,n+h-c+o,f,!1)).length>0)return s}if(g){var v=n+h+o;if((s=nn(e,t,n,r,v,r-d+c-o,v,r+d-c+o,!1)).length>0)return s}if(p){var y=r+d+o;if((s=nn(e,t,n,r,n-h+c-o,y,n+h-c+o,y,!1)).length>0)return s}if(g){var m=n-h-o;if((s=nn(e,t,n,r,m,r-d+c-o,m,r+d-c+o,!1)).length>0)return s}var b=n-h+c,x=r-d+c;if((l=en(e,t,n,r,b,x,c+o)).length>0&&l[0]<=b&&l[1]<=x)return[l[0],l[1]];var w=n+h-c,E=r-d+c;if((l=en(e,t,n,r,w,E,c+o)).length>0&&l[0]>=w&&l[1]<=E)return[l[0],l[1]];var _=n+h-c,T=r+d-c;if((l=en(e,t,n,r,_,T,c+o)).length>0&&l[0]>=_&&l[1]>=T)return[l[0],l[1]];var D=n-h+c,C=r+d-c;return(l=en(e,t,n,r,D,C,c+o)).length>0&&l[0]<=D&&l[1]>=C?[l[0],l[1]]:[]},jt=function(e,t,n,r,i,a,o){var s=o,l=Math.min(n,i),u=Math.max(n,i),c=Math.min(r,a),h=Math.max(r,a);return l-s<=e&&e<=u+s&&c-s<=t&&t<=h+s},qt=function(e,t,n,r,i,a,o,s,l){var u=Math.min(n,o,i)-l,c=Math.max(n,o,i)+l,h=Math.min(r,s,a)-l,d=Math.max(r,s,a)+l;return!(ec||td)},Ht=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g,f,v,y,m,b,x,w=[];u=9*n*i-3*n*n-3*n*o-6*i*i+3*i*o+9*r*a-3*r*r-3*r*s-6*a*a+3*a*s,c=3*n*n-6*n*i+n*o-n*e+2*i*i+2*i*e-o*e+3*r*r-6*r*a+r*s-r*t+2*a*a+2*a*t-s*t,h=1*n*i-n*n+n*e-i*e+r*a-r*r+r*t-a*t,0===(l=1*n*n-4*n*i+2*n*o+4*i*i-4*i*o+o*o+r*r-4*r*a+2*r*s+4*a*a-4*a*s+s*s)&&(l=1e-5),f=-27*(h/=l)+(u/=l)*(9*(c/=l)-u*u*2),p=(g=(3*c-u*u)/9)*g*g+(f/=54)*f,(d=w)[1]=0,b=u/3,p>0?(y=(y=f+Math.sqrt(p))<0?-Math.pow(-y,1/3):Math.pow(y,1/3),m=(m=f-Math.sqrt(p))<0?-Math.pow(-m,1/3):Math.pow(m,1/3),d[0]=-b+y+m,b+=(y+m)/2,d[4]=d[2]=-b,b=Math.sqrt(3)*(-m+y)/2,d[3]=b,d[5]=-b):(d[5]=d[3]=0,0===p?(x=f<0?-Math.pow(-f,1/3):Math.pow(f,1/3),d[0]=2*x-b,d[4]=d[2]=-(x+b)):(v=(g=-g)*g*g,v=Math.acos(f/Math.sqrt(v)),x=2*Math.sqrt(g),d[0]=-b+x*Math.cos(v/3),d[2]=-b+x*Math.cos((v+2*Math.PI)/3),d[4]=-b+x*Math.cos((v+4*Math.PI)/3)));for(var E=[],_=0;_<6;_+=2)Math.abs(w[_+1])<1e-7&&w[_]>=0&&w[_]<=1&&E.push(w[_]);E.push(1),E.push(0);for(var T,D,C,N=-1,A=0;A=0?Cl?(e-i)*(e-i)+(t-a)*(t-a):u-h},$t=function(e,t,n){for(var r,i,a,o,s=0,l=0;l=e&&e>=a||r<=e&&e<=a))continue;(e-r)/(a-r)*(o-i)+i>t&&s++}return s%2!=0},Kt=function(e,t,n,r,i,a,o,s,l){var u,c=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h,d=Math.cos(-u),p=Math.sin(-u),g=0;g0){var f=Qt(c,-l);h=Zt(f)}else h=c;return $t(e,t,h)},Zt=function(e){for(var t,n,r,i,a,o,s,l,u=new Array(e.length/2),c=0;c=0&&g<=1&&v.push(g),f>=0&&f<=1&&v.push(f),0===v.length)return[];var y=v[0]*s[0]+e,m=v[0]*s[1]+t;return v.length>1?v[0]==v[1]?[y,m]:[y,m,v[1]*s[0]+e,v[1]*s[1]+t]:[y,m]},tn=function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},nn=function(e,t,n,r,i,a,o,s,l){var u=e-i,c=n-e,h=o-i,d=t-a,p=r-t,g=s-a,f=h*d-g*u,v=c*d-p*u,y=g*c-h*p;if(0!==y){var m=f/y,b=v/y,x=-.001;return x<=m&&m<=1.001&&x<=b&&b<=1.001||l?[e+m*c,t+m*p]:[]}return 0===f||0===v?tn(e,n,o)===o?[o,s]:tn(e,n,i)===i?[i,a]:tn(i,o,n)===n?[n,r]:[]:[]},rn=function(e,t,n,r,i,a,o,s){var l,u,c,h,d,p,g=[],f=new Array(n.length),v=!0;if(null==a&&(v=!1),v){for(var y=0;y0){var m=Qt(f,-s);u=Zt(m)}else u=f}else u=n;for(var b=0;bu&&(u=t)},h=function(e){return l[e]},d=0;d0?x.edgesTo(b)[0]:b.edgesTo(x)[0];var w=r(m);b=b.id(),d[b]>d[v]+w&&(d[b]=d[v]+w,p.nodes.indexOf(b)<0?p.push(b):p.updateItem(b),u[b]=0,l[b]=[]),d[b]==d[v]+w&&(u[b]=u[b]+u[v],l[b].push(v))}else for(var E=0;E0;){for(var C=n.pop(),N=0;N0&&o.push(n[s]);0!==o.length&&i.push(r.collection(o))}return i}(c,l,t,r);return b=function(e){for(var t=0;t5&&void 0!==arguments[5]?arguments[5]:kn,o=r,s=0;s=2?Rn(e,t,n,0,In,On):Rn(e,t,n,0,Mn)},squaredEuclidean:function(e,t,n){return Rn(e,t,n,0,In)},manhattan:function(e,t,n){return Rn(e,t,n,0,Mn)},max:function(e,t,n){return Rn(e,t,n,-1/0,Pn)}};function Fn(e,t,n,r,i,a){var o;return o=w(e)?e:Bn[e]||Bn.euclidean,0===t&&w(e)?o(i,a):o(t,n,r,i,a)}Bn["squared-euclidean"]=Bn.squaredEuclidean,Bn.squaredeuclidean=Bn.squaredEuclidean;var zn=Ke({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Gn=function(e){return zn(e)},Yn=function(e,t,n,r,i){var a="kMedoids"!==i?function(e){return n[e]}:function(e){return r[e](n)},o=n,s=t;return Fn(e,r.length,a,(function(e){return r[e](t)}),o,s)},Vn=function(e,t,n){for(var r=n.length,i=new Array(r),a=new Array(r),o=new Array(t),s=null,l=0;ln)return!1;return!0},Hn=function(e,t,n){for(var r=0;ri&&(i=t[l][u],a=u);o[a].push(e[l])}for(var c=0;c=i.threshold||"dendrogram"===i.mode&&1===e.length)return!1;var p,g=t[o],f=t[r[o]];p="dendrogram"===i.mode?{left:g,right:f,key:g.key}:{value:g.value.concat(f.value),key:g.key},e[g.index]=p,e.splice(f.index,1),t[g.key]=p;for(var v=0;vn[f.key][y.key]&&(a=n[f.key][y.key])):"max"===i.linkage?(a=n[g.key][y.key],n[g.key][y.key]o&&(a=l,o=t[i*e+l])}a>0&&r.push(a)}for(var u=0;u1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n0&&e.splice(0,t)):e=e.slice(t,n);for(var a=0,o=e.length-1;o>=0;o--){var s=e[o];i?isFinite(s)||(e[o]=-1/0,a++):e.splice(o,1)}r&&e.sort((function(e,t){return e-t}));var l=e.length,u=Math.floor(l/2);return l%2!=0?e[u+1+a]:(e[u-1+a]+e[u+a])/2}(e):"mean"===t?function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=0,i=0,a=t;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=1/0,i=t;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.length,r=-1/0,i=t;i=N?(A=N,N=k,L=S):k>A&&(A=k);for(var M=0;M0?1:0;_[E%u.minIterations*t+F]=z,B+=z}if(B>0&&(E>=u.minIterations-1||E==u.maxIterations-1)){for(var G=0,Y=0;Y0&&r.push(i);return r}(t,a,o),U=function(e,t,n){for(var r=cr(e,t,n),i=0;il&&(s=u,l=c)}n[i]=a[s]}return cr(e,t,n)}(t,r,X),j={},q=0;q1||o>1)&&(u=!0),c[t]=[],e.outgoers().forEach((function(e){e.isEdge()&&c[t].push(e.id())}))}else h[t]=[void 0,e.target().id()]})):l.forEach((function(e){var t=e.id();e.isNode()?(e.degree(!0)%2&&(n?r?u=!0:r=t:n=t),c[t]=[],e.connectedEdges().forEach((function(e){return c[t].push(e.id())}))):h[t]=[e.source().id(),e.target().id()]}));var d={found:!1,trail:void 0};if(u)return d;if(r&&n)if(s){if(i&&r!=i)return d;i=r}else{if(i&&r!=i&&n!=i)return d;i||(i=r)}else i||(i=l[0].id());var p=function(e){for(var t,n,r,i=e,a=[e];c[i].length;)t=c[i].shift(),n=h[t][0],i!=(r=h[t][1])?(c[r]=c[r].filter((function(e){return e!=t})),i=r):s||i==n||(c[n]=c[n].filter((function(e){return e!=t})),i=n),a.unshift(t),a.unshift(i);return a},g=[],f=[];for(f=p(i);1!=f.length;)0==c[f[0]].length?(g.unshift(l.getElementById(f.shift())),g.unshift(l.getElementById(f.shift()))):f=p(f.shift()).concat(f);for(var v in g.unshift(l.getElementById(f.shift())),c)if(c[v].length)return d;return d.found=!0,d.trail=this.spawn(g,!0),d}},fr=function(){var e=this,t={},n=0,r=0,i=[],a=[],o={},s=function s(l,u,c){l===c&&(r+=1),t[u]={id:n,low:n++,cutVertex:!1};var h,d,p,g,f=e.getElementById(u).connectedEdges().intersection(e);0===f.size()?i.push(e.spawn(e.getElementById(u))):f.forEach((function(n){h=n.source().id(),d=n.target().id(),(p=h===u?d:h)!==c&&(g=n.id(),o[g]||(o[g]=!0,a.push({x:u,y:p,edge:n})),p in t?t[u].low=Math.min(t[u].low,t[p].id):(s(l,p,u),t[u].low=Math.min(t[u].low,t[p].low),t[u].id<=t[p].low&&(t[u].cutVertex=!0,function(n,r){for(var o=a.length-1,s=[],l=e.spawn();a[o].x!=n||a[o].y!=r;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var r=n.connectedNodes().intersection(e);l.merge(n),r.forEach((function(n){var r=n.id(),i=n.connectedEdges().intersection(e);l.merge(n),t[r].cutVertex?l.merge(i.filter((function(e){return e.isLoop()}))):l.merge(i)}))})),i.push(l)}(u,p))))}))};e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||(r=0,s(n,n),t[n].cutVertex=r>1)}}));var l=Object.keys(t).filter((function(e){return t[e].cutVertex})).map((function(t){return e.getElementById(t)}));return{cut:e.spawn(l),components:i}},vr=function(){var e=this,t={},n=0,r=[],i=[],a=e.spawn(e),o=function o(s){if(i.push(s),t[s]={index:n,low:n++,explored:!1},e.getElementById(s).connectedEdges().intersection(e).forEach((function(e){var n=e.target().id();n!==s&&(n in t||o(n),t[n].explored||(t[s].low=Math.min(t[s].low,t[n].low)))})),t[s].index===t[s].low){for(var l=e.spawn();;){var u=i.pop();if(l.merge(e.getElementById(u)),t[u].low=t[s].index,t[u].explored=!0,u===s)break}var c=l.edgesWith(l),h=l.merge(c);r.push(h),a=a.difference(h)}};return e.forEach((function(e){if(e.isNode()){var n=e.id();n in t||o(n)}})),{cut:a,components:r}},yr={};[ot,ht,dt,gt,vt,mt,Et,pn,fn,yn,bn,Ln,Jn,sr,dr,gr,{hopcroftTarjanBiconnected:fr,htbc:fr,htb:fr,hopcroftTarjanBiconnectedComponents:fr},{tarjanStronglyConnected:vr,tsc:vr,tscc:vr,tarjanStronglyConnectedComponents:vr}].forEach((function(e){U(yr,e)}));var mr=function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof t&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))};mr.prototype={fulfill:function(e){return br(this,1,"fulfillValue",e)},reject:function(e){return br(this,2,"rejectReason",e)},then:function(e,t){var n=this,r=new mr;return n.onFulfilled.push(Er(e,r,"fulfill")),n.onRejected.push(Er(t,r,"reject")),xr(n),r.proxy}};var br=function(e,t,n,r){return 0===e.state&&(e.state=t,e[n]=r,xr(e)),e},xr=function(e){1===e.state?wr(e,"onFulfilled",e.fulfillValue):2===e.state&&wr(e,"onRejected",e.rejectReason)},wr=function(e,t,n){if(0!==e[t].length){var r=e[t];e[t]=[];var i=function(){for(var e=0;e0:void 0}},clearQueue:function(){return function(){var e=this,t=void 0!==e.length?e:[e];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n-1},Zr.prototype.set=function(e,t){var n=this.__data__,r=$r(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var Qr=Zr,Jr=Vr(Q,"Map"),ei=function(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map};function ti(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e0&&this.spawn(r).updateStyle().emit("class"),t},addClass:function(e){return this.toggleClass(e,!0)},hasClass:function(e){var t=this[0];return null!=t&&t._private.classes.has(e)},toggleClass:function(e,t){E(e)||(e=e.match(/\S+/g)||[]);for(var n=this,r=void 0===t,i=[],a=0,o=n.length;a0&&this.spawn(i).updateStyle().emit("class"),n},removeClass:function(e){return this.toggleClass(e,!1)},flashClass:function(e,t){var n=this;if(null==t)t=250;else if(0===t)return n;return n.addClass(e),setTimeout((function(){n.removeClass(e)}),t),n}};Ai.className=Ai.classNames=Ai.classes;var Li={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:F,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Li.variable="(?:[\\w-.]|(?:\\\\"+Li.metaChar+"))+",Li.className="(?:[\\w-]|(?:\\\\"+Li.metaChar+"))+",Li.value=Li.string+"|"+Li.number,Li.id=Li.variable,function(){var e,t,n;for(e=Li.comparatorOp.split("|"),n=0;n=0||"="!==t&&(Li.comparatorOp+="|\\!"+t)}();var ki=20,Si=[{selector:":selected",matches:function(e){return e.selected()}},{selector:":unselected",matches:function(e){return!e.selected()}},{selector:":selectable",matches:function(e){return e.selectable()}},{selector:":unselectable",matches:function(e){return!e.selectable()}},{selector:":locked",matches:function(e){return e.locked()}},{selector:":unlocked",matches:function(e){return!e.locked()}},{selector:":visible",matches:function(e){return e.visible()}},{selector:":hidden",matches:function(e){return!e.visible()}},{selector:":transparent",matches:function(e){return e.transparent()}},{selector:":grabbed",matches:function(e){return e.grabbed()}},{selector:":free",matches:function(e){return!e.grabbed()}},{selector:":removed",matches:function(e){return e.removed()}},{selector:":inside",matches:function(e){return!e.removed()}},{selector:":grabbable",matches:function(e){return e.grabbable()}},{selector:":ungrabbable",matches:function(e){return!e.grabbable()}},{selector:":animated",matches:function(e){return e.animated()}},{selector:":unanimated",matches:function(e){return!e.animated()}},{selector:":parent",matches:function(e){return e.isParent()}},{selector:":childless",matches:function(e){return e.isChildless()}},{selector:":child",matches:function(e){return e.isChild()}},{selector:":orphan",matches:function(e){return e.isOrphan()}},{selector:":nonorphan",matches:function(e){return e.isChild()}},{selector:":compound",matches:function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()}},{selector:":loop",matches:function(e){return e.isLoop()}},{selector:":simple",matches:function(e){return e.isSimple()}},{selector:":active",matches:function(e){return e.active()}},{selector:":inactive",matches:function(e){return!e.active()}},{selector:":backgrounding",matches:function(e){return e.backgrounding()}},{selector:":nonbackgrounding",matches:function(e){return!e.backgrounding()}}].sort((function(e,t){return function(e,t){return-1*X(e,t)}(e.selector,t.selector)})),Mi=function(){for(var e,t={},n=0;n0&&u.edgeCount>0)return je("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return je("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&je("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var e=function(e){return null==e?"":e},t=function(t){return x(t)?'"'+t+'"':e(t)},n=function(e){return" "+e+" "},r=function(i,a){return i.checks.reduce((function(o,s,l){return o+(a===i&&0===l?"$":"")+function(i,a){var o=i.type,s=i.value;switch(o){case 0:var l=e(s);return l.substring(0,l.length-1);case 3:var u=i.field,c=i.operator;return"["+u+n(e(c))+t(s)+"]";case 5:var h=i.operator,d=i.field;return"["+e(h)+d+"]";case 4:return"["+i.field+"]";case 6:var p=i.operator;return"[["+i.field+n(e(p))+t(s)+"]]";case 7:return s;case 8:return"#"+s;case 9:return"."+s;case 17:case 15:return r(i.parent,a)+n(">")+r(i.child,a);case 18:case 16:return r(i.ancestor,a)+" "+r(i.descendant,a);case 19:var g=r(i.left,a),f=r(i.subject,a),v=r(i.right,a);return g+(g.length>0?" ":"")+f+v;case ki:return""}}(s,a)}),"")},i="",a=0;a1&&a=0&&(t=t.replace("!",""),c=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),u=!0),(o||l||u)&&(i=o||s?""+e:"",a=""+n),u&&(e=i=i.toLowerCase(),n=a=a.toLowerCase()),t){case"*=":r=i.indexOf(a)>=0;break;case"$=":r=i.indexOf(a,i.length-a.length)>=0;break;case"^=":r=0===i.indexOf(a);break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0;){var u=i.shift();t(u),a.add(u.id()),o&&r(i,a,u)}return e}function Qi(e,t,n){if(n.isParent())for(var r=n._private.children,i=0;i1&&void 0!==arguments[1])||arguments[1],Qi)},Ki.forEachUp=function(e){return Zi(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ji)},Ki.forEachUpAndDown=function(e){return Zi(this,e,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],ea)},Ki.ancestors=Ki.parents,(Hi=Wi={data:Ci.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:Ci.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Ci.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Ci.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Ci.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Ci.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var e=this[0];if(e)return e._private.data.id}}).attr=Hi.data,Hi.removeAttr=Hi.removeData;var ta,na,ra=Wi,ia={};function aa(e){return function(t){var n=this;if(void 0===t&&(t=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var r=0,i=n[0],a=i._private.edges,o=0;ot})),minIndegree:oa("indegree",(function(e,t){return et})),minOutdegree:oa("outdegree",(function(e,t){return et}))}),U(ia,{totalDegree:function(e){for(var t=0,n=this.nodes(),r=0;r0,c=u;u&&(l=l[0]);var h=c?l.position():{x:0,y:0};return i={x:s.x-h.x,y:s.y-h.y},void 0===e?i:i[e]}for(var d=0;d0,v=f;f&&(g=g[0]);var y=v?g.position():{x:0,y:0};void 0!==t?p.position(e,t+y[e]):void 0!==i&&p.position({x:i.x+y.x,y:i.y+y.y})}}else if(!a)return;return this}},ta.modelPosition=ta.point=ta.position,ta.modelPositions=ta.points=ta.positions,ta.renderedPoint=ta.renderedPosition,ta.relativePoint=ta.relativePosition;var ua,ca,ha=na;ua=ca={},ca.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),i=n.pan(),a=t.x1*r+i.x,o=t.x2*r+i.x,s=t.y1*r+i.y,l=t.y2*r+i.y;return{x1:a,x2:o,y1:s,y2:l,w:o-a,h:l-s}},ca.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();return t.styleEnabled()&&t.hasCompoundNodes()?(this.forEachUp((function(t){if(t.isParent()){var n=t._private;n.compoundBoundsClean=!1,n.bbCache=null,e||t.emitAndNotify("bounds")}})),this):this},ca.updateCompoundBounds=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(e){if(e.isParent()){var t=e._private,n=e.children(),r="include"===e.pstyle("compound-sizing-wrt-labels").value,i={width:{val:e.pstyle("min-width").pfValue,left:e.pstyle("min-width-bias-left"),right:e.pstyle("min-width-bias-right")},height:{val:e.pstyle("min-height").pfValue,top:e.pstyle("min-height-bias-top"),bottom:e.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:r,includeOverlays:!1,useCache:!1}),o=t.position;0!==a.w&&0!==a.h||((a={w:e.pstyle("width").pfValue,h:e.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=i.width.left.value;"px"===i.width.left.units&&i.width.val>0&&(s=100*s/i.width.val);var l=i.width.right.value;"px"===i.width.right.units&&i.width.val>0&&(l=100*l/i.width.val);var u=i.height.top.value;"px"===i.height.top.units&&i.height.val>0&&(u=100*u/i.height.val);var c=i.height.bottom.value;"px"===i.height.bottom.units&&i.height.val>0&&(c=100*c/i.height.val);var h=y(i.width.val-a.w,s,l),d=h.biasDiff,p=h.biasComplementDiff,g=y(i.height.val-a.h,u,c),f=g.biasDiff,v=g.biasComplementDiff;t.autoPadding=function(e,t,n,r){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(r){case"width":return e>0?n.pfValue*e:0;case"height":return t>0?n.pfValue*t:0;case"average":return e>0&&t>0?n.pfValue*(e+t)/2:0;case"min":return e>0&&t>0?e>t?n.pfValue*t:n.pfValue*e:0;case"max":return e>0&&t>0?e>t?n.pfValue*e:n.pfValue*t:0;default:return 0}}(a.w,a.h,e.pstyle("padding"),e.pstyle("padding-relative-to").value),t.autoWidth=Math.max(a.w,i.width.val),o.x=(-d+a.x1+a.x2+p)/2,t.autoHeight=Math.max(a.h,i.height.val),o.y=(-f+a.y1+a.y2+v)/2}function y(e,t,n){var r=0,i=0,a=t+n;return e>0&&a>0&&(r=t/a*e,i=n/a*e),{biasDiff:r,biasComplementDiff:i}}}for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?i:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},ga=function(e,t){return null==t?e:pa(e,t.x1,t.y1,t.x2,t.y2)},fa=function(e,t,n){return Je(e,t,n)},va=function(e,t,n){if(!t.cy().headless()){var r,i,a=t._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==t.pstyle(n+"-arrow-shape").value){"source"===n?(r=o.srcX,i=o.srcY):"target"===n?(r=o.tgtX,i=o.tgtY):(r=o.midX,i=o.midY);var l=a.arrowBounds=a.arrowBounds||{},u=l[n]=l[n]||{};u.x1=r-s,u.y1=i-s,u.x2=r+s,u.y2=i+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Ft(u,1),pa(e,u.x1,u.y1,u.x2,u.y2)}}},ya=function(e,t,n){if(!t.cy().headless()){var r;r=n?n+"-":"";var i=t._private,a=i.rstyle;if(t.pstyle(r+"label").strValue){var o,s,l,u,c=t.pstyle("text-halign"),h=t.pstyle("text-valign"),d=fa(a,"labelWidth",n),p=fa(a,"labelHeight",n),g=fa(a,"labelX",n),f=fa(a,"labelY",n),v=t.pstyle(r+"text-margin-x").pfValue,y=t.pstyle(r+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle(r+"text-rotation"),x=t.pstyle("text-outline-width").pfValue,w=t.pstyle("text-border-width").pfValue/2,E=t.pstyle("text-background-padding").pfValue,_=p,T=d,D=T/2,C=_/2;if(m)o=g-D,s=g+D,l=f-C,u=f+C;else{switch(c.value){case"left":o=g-T,s=g;break;case"center":o=g-D,s=g+D;break;case"right":o=g,s=g+T}switch(h.value){case"top":l=f-_,u=f;break;case"center":l=f-C,u=f+C;break;case"bottom":l=f,u=f+_}}o+=v-Math.max(x,w)-E-2,s+=v+Math.max(x,w)+E+2,l+=y-Math.max(x,w)-E-2,u+=y+Math.max(x,w)+E+2;var N=n||"main",A=i.labelBounds,L=A[N]=A[N]||{};L.x1=o,L.y1=l,L.x2=s,L.y2=u,L.w=s-o,L.h=u-l;var k=m&&"autorotate"===b.strValue,S=null!=b.pfValue&&0!==b.pfValue;if(k||S){var M=k?fa(i.rstyle,"labelAngle",n):b.pfValue,I=Math.cos(M),O=Math.sin(M),P=(o+s)/2,R=(l+u)/2;if(!m){switch(c.value){case"left":P=s;break;case"right":P=o}switch(h.value){case"top":R=u;break;case"bottom":R=l}}var B=function(e,t){return{x:(e-=P)*I-(t-=R)*O+P,y:e*O+t*I+R}},F=B(o,l),z=B(o,u),G=B(s,l),Y=B(s,u);o=Math.min(F.x,z.x,G.x,Y.x),s=Math.max(F.x,z.x,G.x,Y.x),l=Math.min(F.y,z.y,G.y,Y.y),u=Math.max(F.y,z.y,G.y,Y.y)}var V=N+"Rot",X=A[V]=A[V]||{};X.x1=o,X.y1=l,X.x2=s,X.y2=u,X.w=s-o,X.h=u-l,pa(e,o,l,s,u),pa(i.labelBounds.all,o,l,s,u)}return e}},ma=function(e){var t=0,n=function(e){return(e?1:0)<0&&a>0){var o=t.pstyle("outline-offset").value,s=t.pstyle("shape").value,l=a+o,u=(e.w+2*l)/e.w,c=(e.h+2*l)/e.h,h=0;["diamond","pentagon","round-triangle"].includes(s)?(u=(e.w+2.4*l)/e.w,h=-l/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(s)?u=(e.w+2.4*l)/e.w:"star"===s?(u=(e.w+2.8*l)/e.w,c=(e.h+2.6*l)/e.h,h=-l/3.8):"triangle"===s?(u=(e.w+2.8*l)/e.w,c=(e.h+2.4*l)/e.h,h=-l/1.4):"vee"===s&&(u=(e.w+4.4*l)/e.w,c=(e.h+3.8*l)/e.h,h=.5*-l);var d=e.h*c-e.h,p=e.w*u-e.w;if(zt(e,[Math.ceil(d/2),Math.ceil(p/2)]),0!==h){var g=(r=h,{x1:(n=e).x1+0,x2:n.x2+0,y1:n.y1+r,y2:n.y2+r,w:n.w,h:n.h});Rt(e,g)}}}}(d,e)}else if(f&&t.includeEdges)if(c&&!h){var N=e.pstyle("curve-style").strValue;if(n=Math.min(v.srcX,v.midX,v.tgtX),r=Math.max(v.srcX,v.midX,v.tgtX),i=Math.min(v.srcY,v.midY,v.tgtY),a=Math.max(v.srcY,v.midY,v.tgtY),pa(d,n-=_,i-=_,r+=_,a+=_),"haystack"===N){var A=v.haystackPts;if(A&&2===A.length){if(n=A[0].x,i=A[0].y,n>(r=A[1].x)){var L=n;n=r,r=L}if(i>(a=A[1].y)){var k=i;i=a,a=k}pa(d,n-_,i-_,r+_,a+_)}}else if("bezier"===N||"unbundled-bezier"===N||N.endsWith("segments")||N.endsWith("taxi")){var S;switch(N){case"bezier":case"unbundled-bezier":S=v.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":S=v.linePts}if(null!=S)for(var M=0;M(r=P.x)){var R=n;n=r,r=R}if((i=O.y)>(a=P.y)){var B=i;i=a,a=B}pa(d,n-=_,i-=_,r+=_,a+=_)}if(c&&t.includeEdges&&f&&(va(d,e,"mid-source"),va(d,e,"mid-target"),va(d,e,"source"),va(d,e,"target")),c&&"yes"===e.pstyle("ghost").value){var F=e.pstyle("ghost-offset-x").pfValue,z=e.pstyle("ghost-offset-y").pfValue;pa(d,d.x1+F,d.y1+z,d.x2+F,d.y2+z)}var G=p.bodyBounds=p.bodyBounds||{};Gt(G,d),zt(G,y),Ft(G,1),c&&(n=d.x1,r=d.x2,i=d.y1,a=d.y2,pa(d,n-E,i-E,r+E,a+E));var Y=p.overlayBounds=p.overlayBounds||{};Gt(Y,d),zt(Y,y),Ft(Y,1);var V=p.labelBounds=p.labelBounds||{};null!=V.all?((l=V.all).x1=1/0,l.y1=1/0,l.x2=-1/0,l.y2=-1/0,l.w=0,l.h=0):V.all=Pt(),c&&t.includeLabels&&(t.includeMainLabels&&ya(d,e,null),f&&(t.includeSourceLabels&&ya(d,e,"source"),t.includeTargetLabels&&ya(d,e,"target")))}return d.x1=da(d.x1),d.y1=da(d.y1),d.x2=da(d.x2),d.y2=da(d.y2),d.w=da(d.x2-d.x1),d.h=da(d.y2-d.y1),d.w>0&&d.h>0&&b&&(zt(d,y),Ft(d,1)),d}(e,wa),r.bbCache=n,r.bbCachePosKey=o):n=r.bbCache,!a){var c=e.isNode();n=Pt(),(t.includeNodes&&c||t.includeEdges&&!c)&&(t.includeOverlays?ga(n,r.overlayBounds):ga(n,r.bodyBounds)),t.includeLabels&&(t.includeMainLabels&&(!i||t.includeSourceLabels&&t.includeTargetLabels)?ga(n,r.labelBounds.all):(t.includeMainLabels&&ga(n,r.labelBounds.mainRot),t.includeSourceLabels&&ga(n,r.labelBounds.sourceRot),t.includeTargetLabels&&ga(n,r.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},wa={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,includeOutlines:!0,useCache:!0},Ea=ma(wa),_a=Ke(wa);ca.boundingBox=function(e){var t;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==e&&void 0!==e.useCache&&!0!==e.useCache){t=Pt();var n=_a(e=e||wa),r=this;if(r.cy().styleEnabled())for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:Fa,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;s--)o(s);return this},Ga.removeAllListeners=function(){return this.removeListener("*")},Ga.emit=Ga.trigger=function(e,t,n){var r=this.listeners,i=r.length;return this.emitting++,E(t)||(t=[t]),function(e,t,n){if("event"!==b(n))if(_(n))t(e,Va(e,n));else for(var r=E(n)?n:n.split(/\s+/),i=0;i1&&!r){var i=this.length-1,a=this[i],o=a._private.data.id;this[i]=void 0,this[e]=a,n.set(o,{ele:a,index:e})}return this.length--,this},unmergeOne:function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map.get(n);if(!r)return this;var i=r.index;return this.unmergeAt(i),this},unmerge:function(e){var t=this._private.cy;if(!e)return this;if(e&&x(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--)e(this[t])&&this.unmergeAt(t);return this},map:function(e,t){for(var n=[],r=this,i=0;ir&&(r=s,n=o)}return{value:r,ele:n}},min:function(e,t){for(var n,r=1/0,i=this,a=0;a=0&&i1&&void 0!==arguments[1])||arguments[1],n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var i=n._private.style[e];return null!=i?i:t?r.style().getDefaultProperty(e):null}},numericStyle:function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(e){var t=this[0];if(t.cy().styleEnabled())return t?t.pstyle(e).units:void 0},renderedStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];return n?t.style().getRenderedStyle(n,e):void 0},style:function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=!1,i=n.style();if(_(e)){var a=e;i.applyBypass(this,a,r),this.emitAndNotify("style")}else if(x(e)){if(void 0===t){var o=this[0];return o?i.getStylePropertyValue(o,e):void 0}i.applyBypass(this,e,t,r),this.emitAndNotify("style")}else if(void 0===e){var s=this[0];return s?i.getRawStyle(s):void 0}return this},removeStyle:function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=!1,r=t.style(),i=this;if(void 0===e)for(var a=0;a0&&t.push(c[0]),t.push(s[0])}return this.spawn(t,!0).filter(e)}),"neighborhood"),closedNeighborhood:function(e){return this.neighborhood().add(this).filter(e)},openNeighborhood:function(e){return this.neighborhood(e)}}),go.neighbourhood=go.neighborhood,go.closedNeighbourhood=go.closedNeighborhood,go.openNeighbourhood=go.openNeighborhood,U(go,{source:$i((function(e){var t,n=this[0];return n&&(t=n._private.source||n.cy().collection()),t&&e?t.filter(e):t}),"source"),target:$i((function(e){var t,n=this[0];return n&&(t=n._private.target||n.cy().collection()),t&&e?t.filter(e):t}),"target"),sources:mo({attr:"source"}),targets:mo({attr:"target"})}),U(go,{edgesWith:$i(bo(),"edgesWith"),edgesTo:$i(bo({thisIsSrc:!0}),"edgesTo")}),U(go,{connectedEdges:$i((function(e){for(var t=[],n=0;n0);return a},component:function(){var e=this[0];return e.cy().mutableElements().components(e)[0]}}),go.componentsOf=go.components;var wo=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==e){var i=new tt,a=!1;if(t){if(t.length>0&&_(t[0])&&!N(t[0])){a=!0;for(var o=[],s=new rt,l=0,u=t.length;l0&&void 0!==arguments[0])||arguments[0],r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this,a=i.cy(),o=a._private,s=[],l=[],u=0,c=i.length;u0){for(var B=e.length===i.length?i:new wo(a,e),F=0;F0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,r=[],i={},a=n._private.cy;function o(e){var n=i[e.id()];t&&e.removed()||n||(i[e.id()]=!0,e.isNode()?(r.push(e),function(e){for(var t=e._private.edges,n=0;n0&&(e?_.emitAndNotify("remove"):t&&_.emit("remove"));for(var T=0;T=.001?function(t,r){for(var i=0;i<4;++i){var a=d(r,e,n);if(0===a)return r;r-=(h(r,e,n)-t)/a}return r}(t,o):0===l?o:function(t,r,i){var a,o,s=0;do{(a=h(o=r+(i-r)/2,e,n)-t)>0?i=o:r=o}while(Math.abs(a)>1e-7&&++s<10);return o}(t,r,r+i)}(a),t,r)};g.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var f="generateBezier("+[e,t,n,r]+")";return g.toString=function(){return f},g}var Do=function(){function e(e){return-e.tension*e.x-e.friction*e.v}function t(t,n,r){var i={x:t.x+r.dx*n,v:t.v+r.dv*n,tension:t.tension,friction:t.friction};return{dx:i.v,dv:e(i)}}function n(n,r){var i={dx:n.v,dv:e(n)},a=t(n,.5*r,i),o=t(n,.5*r,a),s=t(n,r,o),l=1/6*(i.dx+2*(a.dx+o.dx)+s.dx),u=1/6*(i.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+l*r,n.v=n.v+u*r,n}return function e(t,r,i){var a,o,s,l={x:-1,v:0,tension:null,friction:null},u=[0],c=0,h=1e-4;for(t=parseFloat(t)||500,r=parseFloat(r)||20,i=i||null,l.tension=t,l.friction=r,o=(a=null!==i)?(c=e(t,r))/i*.016:.016;s=n(s||l,o),u.push(1+s.x),c+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(e){return u[e*(u.length-1)|0]}:c}}(),Co=function(e,t,n,r){var i=To(e,t,n,r);return function(e,t,n){return e+(t-e)*i(n)}},No={linear:function(e,t,n){return e+(t-e)*n},ease:Co(.25,.1,.25,1),"ease-in":Co(.42,0,1,1),"ease-out":Co(0,0,.58,1),"ease-in-out":Co(.42,0,.58,1),"ease-in-sine":Co(.47,0,.745,.715),"ease-out-sine":Co(.39,.575,.565,1),"ease-in-out-sine":Co(.445,.05,.55,.95),"ease-in-quad":Co(.55,.085,.68,.53),"ease-out-quad":Co(.25,.46,.45,.94),"ease-in-out-quad":Co(.455,.03,.515,.955),"ease-in-cubic":Co(.55,.055,.675,.19),"ease-out-cubic":Co(.215,.61,.355,1),"ease-in-out-cubic":Co(.645,.045,.355,1),"ease-in-quart":Co(.895,.03,.685,.22),"ease-out-quart":Co(.165,.84,.44,1),"ease-in-out-quart":Co(.77,0,.175,1),"ease-in-quint":Co(.755,.05,.855,.06),"ease-out-quint":Co(.23,1,.32,1),"ease-in-out-quint":Co(.86,0,.07,1),"ease-in-expo":Co(.95,.05,.795,.035),"ease-out-expo":Co(.19,1,.22,1),"ease-in-out-expo":Co(1,0,0,1),"ease-in-circ":Co(.6,.04,.98,.335),"ease-out-circ":Co(.075,.82,.165,1),"ease-in-out-circ":Co(.785,.135,.15,.86),spring:function(e,t,n){if(0===n)return No.linear;var r=Do(e,t,n);return function(e,t,n){return e+(t-e)*r(n)}},"cubic-bezier":Co};function Ao(e,t,n,r,i){if(1===r)return n;if(t===n)return n;var a=i(t,n,r);return null==e||((e.roundValue||e.color)&&(a=Math.round(a)),void 0!==e.min&&(a=Math.max(a,e.min)),void 0!==e.max&&(a=Math.min(a,e.max))),a}function Lo(e,t){return null!=e.pfValue||null!=e.value?null==e.pfValue||null!=t&&"%"===t.type.units?e.value:e.pfValue:e}function ko(e,t,n,r,i){var a=null!=i?i.type:null;n<0?n=0:n>1&&(n=1);var o=Lo(e,i),s=Lo(t,i);if(T(o)&&T(s))return Ao(a,o,s,n,r);if(E(o)&&E(s)){for(var l=[],u=0;u0?("spring"===h&&d.push(o.duration),o.easingImpl=No[h].apply(null,d)):o.easingImpl=No[h]}var p,g=o.easingImpl;if(p=0===o.duration?1:(n-l)/o.duration,o.applying&&(p=o.progress),p<0?p=0:p>1&&(p=1),null==o.delay){var f=o.startPosition,v=o.position;if(v&&i&&!e.locked()){var y={};Mo(f.x,v.x)&&(y.x=ko(f.x,v.x,p,g)),Mo(f.y,v.y)&&(y.y=ko(f.y,v.y,p,g)),e.position(y)}var m=o.startPan,b=o.pan,w=a.pan,E=null!=b&&r;E&&(Mo(m.x,b.x)&&(w.x=ko(m.x,b.x,p,g)),Mo(m.y,b.y)&&(w.y=ko(m.y,b.y,p,g)),e.emit("pan"));var _=o.startZoom,T=o.zoom,D=null!=T&&r;D&&(Mo(_,T)&&(a.zoom=Ot(a.minZoom,ko(_,T,p,g),a.maxZoom)),e.emit("zoom")),(E||D)&&e.emit("viewport");var C=o.style;if(C&&C.length>0&&i){for(var N=0;N=0;t--)(0,e[t])();e.splice(0,e.length)},c=a.length-1;c>=0;c--){var h=a[c],d=h._private;d.stopped?(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.frames)):(d.playing||d.applying)&&(d.playing&&d.applying&&(d.applying=!1),d.started||Io(0,h,e),So(t,h,e,n),d.applying&&(d.applying=!1),u(d.frames),null!=d.step&&d.step(e),h.completed()&&(a.splice(c,1),d.hooked=!1,d.playing=!1,d.started=!1,u(d.completes)),s=!0)}return n||0!==a.length||0!==o.length||r.push(t),s}for(var a=!1,o=0;o0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}var Po={animate:Ci.animate(),animation:Ci.animation(),animated:Ci.animated(),clearQueue:Ci.clearQueue(),delay:Ci.delay(),delayAnimation:Ci.delayAnimation(),stop:Ci.stop(),addToAnimationPool:function(e){this.styleEnabled()&&this._private.aniEles.merge(e)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var e=this;if(e._private.animationsRunning=!0,e.styleEnabled()){var t=e.renderer();t&&t.beforeRender?t.beforeRender((function(t,n){Oo(n,e)}),t.beforeRenderPriorities.animations):function t(){e._private.animationsRunning&&_e((function(n){Oo(n,e),t()}))}()}}},Ro={qualifierCompare:function(e,t){return null==e||null==t?null==e&&null==t:e.sameText(t)},eventMatches:function(e,t,n){var r=t.qualifier;return null==r||e!==n.target&&N(n.target)&&r.matches(n.target)},addEventFields:function(e,t){t.cy=e,t.target=e},callbackContext:function(e,t,n){return null!=t.qualifier?n.target:e}},Bo=function(e){return x(e)?new Ui(e):e},Fo={createEmitter:function(){var e=this._private;return e.emitter||(e.emitter=new za(Ro,this)),this},emitter:function(){return this._private.emitter},on:function(e,t,n){return this.emitter().on(e,Bo(t),n),this},removeListener:function(e,t,n){return this.emitter().removeListener(e,Bo(t),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(e,t,n){return this.emitter().one(e,Bo(t),n),this},once:function(e,t,n){return this.emitter().one(e,Bo(t),n),this},emit:function(e,t){return this.emitter().emit(e,t),this},emitAndNotify:function(e,t){return this.emit(e),this.notify(e,t),this}};Ci.eventAliasesOn(Fo);var zo={png:function(e){return e=e||{},this._private.renderer.png(e)},jpg:function(e){var t=this._private.renderer;return(e=e||{}).bg=e.bg||"#fff",t.jpg(e)}};zo.jpeg=zo.jpg;var Go={layout:function(e){var t=this;if(null!=e)if(null!=e.name){var n,r=e.name,i=t.extension("layout",r);if(null!=i)return n=x(e.eles)?t.$(e.eles):null!=e.eles?e.eles:t.$(),new i(U({},e,{cy:t,eles:n}));Xe("No such layout `"+r+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Xe("A `name` must be specified to make a layout");else Xe("Layout options must be specified to make a layout")}};Go.createLayout=Go.makeLayout=Go.layout;var Yo={notify:function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();null!=t&&r.merge(t)}else if(n.notificationsEnabled){var i=this.renderer();!this.destroyed()&&i&&i.notify(e,t)}},notifications:function(e){var t=this._private;return void 0===e?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},noNotifications:function(e){this.notifications(!1),e(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var e=this._private;return null==e.batchCount&&(e.batchCount=0),0===e.batchCount&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},endBatch:function(){var e=this._private;if(0===e.batchCount)return this;if(e.batchCount--,0===e.batchCount){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach((function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)}))}return this},batch:function(e){return this.startBatch(),e(),this.endBatch(),this},batchData:function(e){var t=this;return this.batch((function(){for(var n=Object.keys(e),r=0;r0;)t.removeChild(t.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach((function(e){var t=e._private;t.rscratch={},t.rstyle={},t.animation.current=[],t.animation.queue=[]}))},onRender:function(e){return this.on("render",e)},offRender:function(e){return this.off("render",e)}};Xo.invalidateDimensions=Xo.resize;var Uo={collection:function(e,t){return x(e)?this.$(e):C(e)?e.collection():E(e)?(t||(t={}),new wo(this,e,t.unique,t.removed)):new wo(this)},nodes:function(e){var t=this.$((function(e){return e.isNode()}));return e?t.filter(e):t},edges:function(e){var t=this.$((function(e){return e.isEdge()}));return e?t.filter(e):t},$:function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},mutableElements:function(){return this._private.elements}};Uo.elements=Uo.filter=Uo.$;var jo={},qo="t";jo.apply=function(e){for(var t=this,n=t._private.cy.collection(),r=0;r0;if(d||h&&p){var g=void 0;d&&p||d?g=u.properties:p&&(g=u.mappedProperties);for(var f=0;f1&&(v=1),s.color){var w=i.valueMin[0],E=i.valueMax[0],_=i.valueMin[1],D=i.valueMax[1],C=i.valueMin[2],N=i.valueMax[2],A=null==i.valueMin[3]?1:i.valueMin[3],L=null==i.valueMax[3]?1:i.valueMax[3],k=[Math.round(w+(E-w)*v),Math.round(_+(D-_)*v),Math.round(C+(N-C)*v),Math.round(A+(L-A)*v)];n={bypass:i.bypass,name:i.name,value:k,strValue:"rgb("+k[0]+", "+k[1]+", "+k[2]+")"}}else{if(!s.number)return!1;var S=i.valueMin+(i.valueMax-i.valueMin)*v;n=this.parse(i.name,S,i.bypass,d)}if(!n)return f(),!1;n.mapping=i,i=n;break;case o.data:for(var M=i.field.split("."),I=h.data,O=0;O0&&a>0){for(var s={},l=!1,u=0;u0?e.delayAnimation(o).play().promise().then(t):t()})).then((function(){return e.animation({style:s,duration:a,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1}))}else r.transitioning&&(this.removeBypasses(e,i),e.emitAndNotify("style"),r.transitioning=!1)},jo.checkTrigger=function(e,t,n,r,i,a){var o=this.properties[t],s=i(o);null!=s&&s(n,r)&&a(o)},jo.checkZOrderTrigger=function(e,t,n,r){var i=this;this.checkTrigger(e,t,n,r,(function(e){return e.triggersZOrder}),(function(){i._private.cy.notify("zorder",e)}))},jo.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,(function(e){return e.triggersBounds}),(function(i){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),!i.triggersBoundsOfParallelBeziers||"curve-style"!==t||"bezier"!==n&&"bezier"!==r||e.parallelEdges().forEach((function(e){e.isBundledBezier()&&e.dirtyBoundingBoxCache()})),!i.triggersBoundsOfConnectedEdges||"display"!==t||"none"!==n&&"none"!==r||e.connectedEdges().forEach((function(e){e.dirtyBoundingBoxCache()}))}))},jo.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Ho={applyBypass:function(e,t,n,r){var i=[];if("*"===t||"**"===t){if(void 0!==n)for(var a=0;at.length?a.substr(t.length):""}function s(){n=n.length>r.length?n.substr(r.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var l=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!l){je("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}t=l[0];var u=l[1];if("core"!==u&&new Ui(u).invalid)je("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),o();else{var c=l[2],h=!1;n=c;for(var d=[];!n.match(/^\s*$/);){var p=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!p){je("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+c),h=!0;break}r=p[0];var g=p[1],f=p[2];this.properties[g]?i.parse(g,f)?(d.push({name:g,val:f}),s()):(je("Skipping property: Invalid property definition in: "+r),s()):(je("Skipping property: Invalid property name in: "+r),s())}if(h){o();break}i.selector(u);for(var v=0;v=7&&"d"===t[0]&&(u=new RegExp(s.data.regex).exec(t))){if(n)return!1;var d=s.data;return{name:e,value:u,strValue:""+t,mapped:d,field:u[1],bypass:n}}if(t.length>=10&&"m"===t[0]&&(c=new RegExp(s.mapData.regex).exec(t))){if(n)return!1;if(h.multiple)return!1;var p=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(e,c[4]);if(!g||g.mapped)return!1;var f=this.parse(e,c[5]);if(!f||f.mapped)return!1;if(g.pfValue===f.pfValue||g.strValue===f.strValue)return je("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+g.strValue+"`"),this.parse(e,g.strValue);if(h.color){var v=g.value,y=f.value;if(!(v[0]!==y[0]||v[1]!==y[1]||v[2]!==y[2]||v[3]!==y[3]&&(null!=v[3]&&1!==v[3]||null!=y[3]&&1!==y[3])))return!1}return{name:e,value:c,strValue:""+t,mapped:p,field:c[1],fieldMin:parseFloat(c[2]),fieldMax:parseFloat(c[3]),valueMin:g.value,valueMax:f.value,bypass:n}}}if(h.multiple&&"multiple"!==r){var m;if(m=l?t.split(/\s+/):E(t)?t:[t],h.evenMultiple&&m.length%2!=0)return null;for(var b=[],_=[],D=[],C="",N=!1,A=0;A0?" ":"")+L.strValue}return h.validate&&!h.validate(b,_)?null:h.singleEnum&&N?1===b.length&&x(b[0])?{name:e,value:b[0],strValue:b[0],bypass:n}:null:{name:e,value:b,pfValue:D,strValue:C,bypass:n,units:_}}var k,S,M,I=function(){for(var r=0;rh.max||h.strictMax&&t===h.max))return null;var V={name:e,value:t,strValue:""+t+(P||""),units:P,bypass:n};return h.unitless||"px"!==P&&"em"!==P?V.pfValue=t:V.pfValue="px"!==P&&P?this.getEmSizeInPixels()*t:t,"ms"!==P&&"s"!==P||(V.pfValue="ms"===P?t:1e3*t),"deg"!==P&&"rad"!==P||(V.pfValue="rad"===P?t:(k=t,Math.PI*k/180)),"%"===P&&(V.pfValue=t/100),V}if(h.propList){var X=[],U=""+t;if("none"===U);else{for(var q=U.split(/\s*,\s*|\s+/),H=0;H255)return;t.push(Math.floor(a))}var o=r[1]||r[2]||r[3],s=r[1]&&r[2]&&r[3];if(o&&!s)return;var l=n[4];if(void 0!==l){if((l=parseFloat(l))<0||l>1)return;t.push(l)}}return t}(M)||function(e){var t,n,r,i,a,o,s,l;function u(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var c=new RegExp("^"+Y+"$").exec(e);if(c){if((n=parseInt(c[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(r=parseFloat(c[2]))<0||r>100)return;if(r/=100,(i=parseFloat(c[3]))<0||i>100)return;if(i/=100,void 0!==(a=c[4])&&((a=parseFloat(a))<0||a>1))return;if(0===r)o=s=l=Math.round(255*i);else{var h=i<.5?i*(1+r):i+r-i*r,d=2*i-h;o=Math.round(255*u(d,h,n+1/3)),s=Math.round(255*u(d,h,n)),l=Math.round(255*u(d,h,n-1/3))}t=[o,s,l,a]}return t}(M);return $?{name:e,value:$,pfValue:$,strValue:"rgb("+$[0]+","+$[1]+","+$[2]+")",bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var K=I();if(K)return K}for(var Z=h.regexes?h.regexes:[h.regex],Q=0;Q0&&l>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:o=(o=(o=Math.min((s-2*t)/n.w,(l-2*t)/n.h))>this._private.maxZoom?this._private.maxZoom:o)=n.minZoom&&(n.maxZoom=t),this},minZoom:function(e){return void 0===e?this._private.minZoom:this.zoomRange({min:e})},maxZoom:function(e){return void 0===e?this._private.maxZoom:this.zoomRange({max:e})},getZoomedViewport:function(e){var t,n,r=this._private,i=r.pan,a=r.zoom,o=!1;if(r.zoomingEnabled||(o=!0),T(e)?n=e:_(e)&&(n=e.level,null!=e.position?t=_t(e.position,a,i):null!=e.renderedPosition&&(t=e.renderedPosition),null==t||r.panningEnabled||(o=!0)),n=(n=n>r.maxZoom?r.maxZoom:n)t.maxZoom||!t.zoomingEnabled?a=!0:(t.zoom=s,i.push("zoom"))}if(r&&(!a||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;T(l.x)&&(t.pan.x=l.x,o=!1),T(l.y)&&(t.pan.y=l.y,o=!1),o||i.push("pan")}return i.length>0&&(i.push("viewport"),this.emit(i.join(" ")),this.notify("viewport")),this},center:function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(e,t){if(this._private.panningEnabled){if(x(e)){var n=e;e=this.mutableElements().filter(n)}else C(e)||(e=this.mutableElements());if(0!==e.length){var r=e.boundingBox(),i=this.width(),a=this.height();return{x:(i-(t=void 0===t?this._private.zoom:t)*(r.x1+r.x2))/2,y:(a-t*(r.y1+r.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var e,t,n=this._private,r=n.container;return n.sizeCache=n.sizeCache||(r?(e=this.window().getComputedStyle(r),t=function(t){return parseFloat(e.getPropertyValue(t))},{width:r.clientWidth-t("padding-left")-t("padding-right"),height:r.clientHeight-t("padding-top")-t("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},renderedExtent:function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},multiClickDebounceTime:function(e){return e?(this._private.multiClickDebounceTime=e,this):this._private.multiClickDebounceTime}};rs.centre=rs.center,rs.autolockNodes=rs.autolock,rs.autoungrabifyNodes=rs.autoungrabify;var is={data:Ci.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Ci.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Ci.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Ci.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};is.attr=is.data,is.removeAttr=is.removeData;var as=function(e){var t=this,n=(e=U({},e)).container;n&&!D(n)&&D(n[0])&&(n=n[0]);var r=n?n._cyreg:null;(r=r||{})&&r.cy&&(r.cy.destroy(),r={});var i=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var a=void 0!==p&&void 0!==n&&!e.headless,o=e;o.layout=U({name:a?"grid":"null"},o.layout),o.renderer=U({name:a?"canvas":"null"},o.renderer);var s=function(e,t,n){return void 0!==t?t:void 0!==n?n:e},l=this._private={container:n,ready:!1,options:o,elements:new wo(this),listeners:[],aniEles:new wo(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:T(o.zoom)?o.zoom:1,pan:{x:_(o.pan)&&T(o.pan.x)?o.pan.x:0,y:_(o.pan)&&T(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom}),l.styleEnabled&&t.setStyle([]);var u=U({},o,o.renderer);t.initRenderer(u),function(e,t){if(e.some(M))return Tr.all(e).then(t);t(e)}([o.style,o.elements],(function(e){var n=e[0],a=e[1];l.styleEnabled&&t.style().append(n),function(e,n,r){t.notifications(!1);var i=t.mutableElements();i.length>0&&i.remove(),null!=e&&(_(e)||E(e))&&t.add(e),t.one("layoutready",(function(e){t.notifications(!0),t.emit(e),t.one("load",n),t.emitAndNotify("load")})).one("layoutstop",(function(){t.one("done",r),t.emit("done")}));var a=U({},t._private.options.layout);a.eles=t.elements(),t.layout(a).run()}(a,(function(){t.startAnimationLoop(),l.ready=!0,w(o.ready)&&t.on("ready",o.ready);for(var e=0;e0,u=Pt(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()});if(C(n.roots))e=n.roots;else if(E(n.roots)){for(var c=[],h=0;h0;){var M=L.shift(),I=A(M,k);if(I)M.outgoers().filter((function(e){return e.isNode()&&i.has(e)})).forEach(S);else if(null===I){je("Detected double maximal shift for node `"+M.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}N();var O=0;if(n.avoidOverlap)for(var P=0;P0&&y[0].length<=3?l/2:0),h=2*Math.PI/y[r].length*i;return 0===r&&1===y[0].length&&(c=1),{x:W+c*Math.cos(h),y:$+c*Math.sin(h)}}return{x:W+(i+1-(a+1)/2)*o,y:(r+1)*s}})),this};var ds={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function ps(e){this.options=U({},ds,e)}ps.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));for(var o,s=Pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),l=s.x1+s.w/2,u=s.y1+s.h/2,c=(void 0===t.sweep?2*Math.PI-2*Math.PI/a.length:t.sweep)/Math.max(1,a.length-1),h=0,d=0;d1&&t.avoidOverlap){h*=1.75;var v=Math.cos(c)-Math.cos(0),y=Math.sin(c)-Math.sin(0),m=Math.sqrt(h*h/(v*v+y*y));o=Math.max(m,o)}return r.nodes().layoutPositions(this,t,(function(e,n){var r=t.startAngle+n*c*(i?1:-1),a=o*Math.cos(r),s=o*Math.sin(r);return{x:l+a,y:u+s}})),this};var gs,fs={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(e){return e.degree()},levelWidth:function(e){return e.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function vs(e){this.options=U({},fs,e)}vs.prototype.run=function(){for(var e=this.options,t=e,n=void 0!==t.counterclockwise?!t.counterclockwise:t.clockwise,r=e.cy,i=t.eles,a=i.nodes().not(":parent"),o=Pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),s=o.x1+o.w/2,l=o.y1+o.h/2,u=[],c=0,h=0;h0&&Math.abs(m[0].value-x.value)>=v&&(m=[],y.push(m)),m.push(x)}var w=c+t.minNodeSpacing;if(!t.avoidOverlap){var E=y.length>0&&y[0].length>1,_=(Math.min(o.w,o.h)/2-w)/(y.length+E?1:0);w=Math.min(w,_)}for(var T=0,D=0;D1&&t.avoidOverlap){var L=Math.cos(A)-Math.cos(0),k=Math.sin(A)-Math.sin(0),S=Math.sqrt(w*w/(L*L+k*k));T=Math.max(S,T)}C.r=T,T+=w}if(t.equidistant){for(var M=0,I=0,O=0;O=e.numIter||(Ds(r,e),r.temperature=r.temperature*e.coolingFactor,r.temperature=e.animationThreshold&&a(),_e(t)):(Bs(r,e),s())}();else{for(;u;)u=o(l),l++;Bs(r,e),s()}return this},ms.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},ms.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var bs=function(e,t,n){for(var r=n.eles.edges(),i=n.eles.nodes(),a=Pt(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),o={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:i.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),l={},u=0;u0)for(o.graphSet.push(E),u=0;ur.count?0:r.graph},ws=function e(t,n,r,i){var a=i.graphSet[r];if(-10)var s=(u=r.nodeOverlap*o)*i/(f=Math.sqrt(i*i+a*a)),l=u*a/f;else{var u,c=ks(e,i,a),h=ks(t,-1*i,-1*a),d=h.x-c.x,p=h.y-c.y,g=d*d+p*p,f=Math.sqrt(g);s=(u=(e.nodeRepulsion+t.nodeRepulsion)/g)*d/f,l=u*p/f}e.isLocked||(e.offsetX-=s,e.offsetY-=l),t.isLocked||(t.offsetX+=s,t.offsetY+=l)}},Ls=function(e,t,n,r){if(n>0)var i=e.maxX-t.minX;else i=t.maxX-e.minX;if(r>0)var a=e.maxY-t.minY;else a=t.maxY-e.minY;return i>=0&&a>=0?Math.sqrt(i*i+a*a):0},ks=function(e,t,n){var r=e.positionX,i=e.positionY,a=e.height||1,o=e.width||1,s=n/t,l=a/o,u={};return 0===t&&0n?(u.x=r,u.y=i+a/2,u):0t&&-1*l<=s&&s<=l?(u.x=r-o/2,u.y=i-o*n/2/t,u):0=l)?(u.x=r+a*t/2/n,u.y=i+a/2,u):0>n&&(s<=-1*l||s>=l)?(u.x=r-a*t/2/n,u.y=i-a/2,u):u},Ss=function(e,t){for(var n=0;n1){var g=t.gravity*h/p,f=t.gravity*d/p;c.offsetX+=g,c.offsetY+=f}}}}},Is=function(e,t){var n=[],r=0,i=-1;for(n.push.apply(n,e.graphSet[0]),i+=e.graphSet[0].length;r<=i;){var a=n[r++],o=e.idToIndex[a],s=e.layoutNodes[o],l=s.children;if(0n)var i={x:n*e/r,y:n*t/r};else i={x:e,y:t};return i},Rs=function e(t,n){var r=t.parentId;if(null!=r){var i=n.layoutNodes[n.idToIndex[r]],a=!1;return(null==i.maxX||t.maxX+i.padRight>i.maxX)&&(i.maxX=t.maxX+i.padRight,a=!0),(null==i.minX||t.minX-i.padLefti.maxY)&&(i.maxY=t.maxY+i.padBottom,a=!0),(null==i.minY||t.minY-i.padTopg&&(h+=p+t.componentSpacing,c=0,d=0,p=0)}}},Fs={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(e){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(e,t){return!0},ready:void 0,stop:void 0,transform:function(e,t){return t}};function zs(e){this.options=U({},Fs,e)}zs.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,i=r.nodes().not(":parent");t.sort&&(i=i.sort(t.sort));var a=Pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)r.nodes().layoutPositions(this,t,(function(e){return{x:a.x1,y:a.y1}}));else{var o=i.size(),s=Math.sqrt(o*a.h/a.w),l=Math.round(s),u=Math.round(a.w/a.h*s),c=function(e){if(null==e)return Math.min(l,u);Math.min(l,u)==l?l=e:u=e},h=function(e){if(null==e)return Math.max(l,u);Math.max(l,u)==l?l=e:u=e},d=t.rows,p=null!=t.cols?t.cols:t.columns;if(null!=d&&null!=p)l=d,u=p;else if(null!=d&&null==p)l=d,u=Math.ceil(o/l);else if(null==d&&null!=p)u=p,l=Math.ceil(o/u);else if(u*l>o){var g=c(),f=h();(g-1)*f>=o?c(g-1):(f-1)*g>=o&&h(f-1)}else for(;u*l=o?h(y+1):c(v+1)}var m=a.w/u,b=a.h/l;if(t.condense&&(m=0,b=0),t.avoidOverlap)for(var x=0;x=u&&(S=0,k++)},I={},O=0;O(r=Wt(e,t,x[w],x[w+1],x[w+2],x[w+3])))return v(n,r),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(x=a.allpts,w=0;w+5(r=Ht(e,t,x[w],x[w+1],x[w+2],x[w+3],x[w+4],x[w+5])))return v(n,r),!0;m=m||i.source,b=b||i.target;var E=o.getArrowWidth(l,c),_=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(w=0;w<_.length;w++){var T=_[w],D=s.arrowShapes[n.pstyle(T.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(D.roughCollide(e,t,E,T.angle,{x:T.x,y:T.y},C,d)&&D.collide(e,t,E,T.angle,{x:T.x,y:T.y},C,d))return v(n),!0}h&&u.length>0&&(y(m),y(b))}function b(e,t,n){return Je(e,t,n)}function x(n,r){var i,a=n._private,o=g;i=r?r+"-":"",n.boundingBox();var s=a.labelBounds[r||"main"],l=n.pstyle(i+"label").value;if("yes"===n.pstyle("text-events").strValue&&l){var u=b(a.rscratch,"labelX",r),c=b(a.rscratch,"labelY",r),h=b(a.rscratch,"labelAngle",r),d=n.pstyle(i+"text-margin-x").pfValue,p=n.pstyle(i+"text-margin-y").pfValue,f=s.x1-o-d,y=s.x2+o-d,m=s.y1-o-p,x=s.y2+o-p;if(h){var w=Math.cos(h),E=Math.sin(h),_=function(e,t){return{x:(e-=u)*w-(t-=c)*E+u,y:e*E+t*w+c}},T=_(f,m),D=_(f,x),C=_(y,m),N=_(y,x),A=[T.x+d,T.y+p,C.x+d,C.y+p,N.x+d,N.y+p,D.x+d,D.y+p];if($t(e,t,A))return v(n),!0}else if(Vt(s,e,t))return v(n),!0}}n&&(l=l.interactive);for(var w=l.length-1;w>=0;w--){var E=l[w];E.isNode()?y(E)||x(E):m(E)||x(E)||x(E,"source")||x(E,"target")}return u},getAllInBox:function(e,t,n,r){for(var i,a,o=this.getCachedZSortedEles().interactive,s=[],l=Math.min(e,n),u=Math.max(e,n),c=Math.min(t,r),h=Math.max(t,r),d=Pt({x1:e=l,y1:t=c,x2:n=u,y2:r=h}),p=0;p4&&void 0!==arguments[4])||arguments[4];return 0===r||0===t.radius?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(function(e,t,n,r,i){var a,o;if(e!==fl?ml(t,e,vl):((o=vl).x=-1*(a=yl).x,o.y=-1*a.y,o.nx=-1*a.nx,o.ny=-1*a.ny,o.ang=a.ang>0?-(Math.PI-a.ang):Math.PI+a.ang),ml(t,n,yl),tl=vl.nx*yl.ny-vl.ny*yl.nx,nl=vl.nx*yl.nx-vl.ny*-yl.ny,al=Math.asin(Math.max(-1,Math.min(1,tl))),Math.abs(al)<1e-6)return Js=t.x,el=t.y,void(sl=ul=0);rl=1,il=!1,nl<0?al<0?al=Math.PI+al:(al=Math.PI-al,rl=-1,il=!0):al>0&&(rl=-1,il=!0),ul=void 0!==t.radius?t.radius:r,ol=al/2,cl=Math.min(vl.len/2,yl.len/2),i?(ll=Math.abs(Math.cos(ol)*ul/Math.sin(ol)))>cl?(ll=cl,sl=Math.abs(ll*Math.sin(ol)/Math.cos(ol))):sl=ul:(ll=Math.min(cl,ul),sl=Math.abs(ll*Math.sin(ol)/Math.cos(ol))),pl=t.x+yl.nx*ll,gl=t.y+yl.ny*ll,Js=pl-yl.ny*sl*rl,el=gl+yl.nx*sl*rl,hl=t.x+vl.nx*ll,dl=t.y+vl.ny*ll,fl=t}(e,t,n,r,i),{cx:Js,cy:el,radius:sl,startX:hl,startY:dl,stopX:pl,stopY:gl,startAngle:vl.ang+Math.PI/2*rl,endAngle:yl.ang-Math.PI/2*rl,counterClockwise:il})}var wl={};function El(e){var t=[];if(null!=e){for(var n=0;n0?Math.max(e-t,0):Math.min(e+t,0)},N=C(T,E),A=C(D,_),L=!1;"auto"===v?f=Math.abs(N)>Math.abs(A)?i:r:v===l||v===s?(f=r,L=!0):v!==a&&v!==o||(f=i,L=!0);var k,S=f===r,M=S?A:N,I=S?D:T,O=At(I),P=!1;L&&(m||x)||!(v===s&&I<0||v===l&&I>0||v===a&&I>0||v===o&&I<0)||(M=(O*=-1)*Math.abs(M),P=!0);var R=function(e){return Math.abs(e)=Math.abs(M)},B=R(k=m?(b<0?1+b:b)*M:(b<0?M:0)+b*O),F=R(Math.abs(M)-Math.abs(k));if(!B&&!F||P)if(S){var z=u.y1+k+(g?h/2*O:0),G=u.x1,Y=u.x2;n.segpts=[G,z,Y,z]}else{var V=u.x1+k+(g?c/2*O:0),X=u.y1,U=u.y2;n.segpts=[V,X,V,U]}else if(S){var j=Math.abs(I)<=h/2,q=Math.abs(T)<=d/2;if(j){var H=(u.x1+u.x2)/2,W=u.y1,$=u.y2;n.segpts=[H,W,H,$]}else if(q){var K=(u.y1+u.y2)/2,Z=u.x1,Q=u.x2;n.segpts=[Z,K,Q,K]}else n.segpts=[u.x1,u.y2]}else{var J=Math.abs(I)<=c/2,ee=Math.abs(D)<=p/2;if(J){var te=(u.y1+u.y2)/2,ne=u.x1,re=u.x2;n.segpts=[ne,te,re,te]}else if(ee){var ie=(u.x1+u.x2)/2,ae=u.y1,oe=u.y2;n.segpts=[ie,ae,ie,oe]}else n.segpts=[u.x2,u.y1]}if(n.isRound){var se=e.pstyle("taxi-radius").value,le="arc-radius"===e.pstyle("radius-type").value[0];n.radii=new Array(n.segpts.length/2).fill(se),n.isArcRadius=new Array(n.segpts.length/2).fill(le)}},wl.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if("bezier"===n.edgeType){var r=t.srcPos,i=t.tgtPos,a=t.srcW,o=t.srcH,s=t.tgtW,l=t.tgtH,u=t.srcShape,c=t.tgtShape,h=t.srcCornerRadius,d=t.tgtCornerRadius,p=t.srcRs,g=t.tgtRs,f=!T(n.startX)||!T(n.startY),v=!T(n.arrowStartX)||!T(n.arrowStartY),y=!T(n.endX)||!T(n.endY),m=!T(n.arrowEndX)||!T(n.arrowEndY),b=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,x=Lt({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=xd.poolIndex()){var p=h;h=d,d=p}var g=s.srcPos=h.position(),f=s.tgtPos=d.position(),v=s.srcW=h.outerWidth(),y=s.srcH=h.outerHeight(),m=s.tgtW=d.outerWidth(),b=s.tgtH=d.outerHeight(),x=s.srcShape=n.nodeShapes[t.getNodeShape(h)],w=s.tgtShape=n.nodeShapes[t.getNodeShape(d)],E=s.srcCornerRadius="auto"===h.pstyle("corner-radius").value?"auto":h.pstyle("corner-radius").pfValue,_=s.tgtCornerRadius="auto"===d.pstyle("corner-radius").value?"auto":d.pstyle("corner-radius").pfValue,D=s.tgtRs=d._private.rscratch,C=s.srcRs=h._private.rscratch;s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var N=0;N0){var q=u,H=kt(q,Dt(t)),W=kt(q,Dt(j)),$=H;W2&&kt(q,{x:j[2],y:j[3]})<$&&(t=[j[2],j[3]])}}var K=an(t,n,o.arrowShapes[h].spacing(e)+p),Z=an(t,n,o.arrowShapes[h].gap(e)+p);if(m.endX=Z[0],m.endY=Z[1],m.arrowEndX=K[0],m.arrowEndY=K[1],"inside-to-node"===L)t=[u.x,u.y];else if(A.units)t=this.manualEndptToPx(s,A);else if("outside-to-line"===L)t=m.srcIntn;else if("outside-to-node"===L||"outside-to-node-or-label"===L?a=r:"outside-to-line"!==L&&"outside-to-line-or-label"!==L||(a=[c.x,c.y]),t=o.nodeShapes[this.getNodeShape(s)].intersectLine(u.x,u.y,s.outerWidth(),s.outerHeight(),a[0],a[1],0,k,f),"outside-to-node-or-label"===L||"outside-to-line-or-label"===L){var Q=s._private.rscratch,J=Q.labelWidth,ee=Q.labelHeight,te=Q.labelX,ne=Q.labelY,re=J/2,ie=ee/2,ae=s.pstyle("text-valign").value;"top"===ae?ne-=ie:"bottom"===ae&&(ne+=ie);var oe=s.pstyle("text-halign").value;"left"===oe?te-=re:"right"===oe&&(te+=re);var se=rn(a[0],a[1],[te-re,ne-ie,te+re,ne-ie,te+re,ne+ie,te-re,ne+ie],u.x,u.y);if(se.length>0){var le=c,ue=kt(le,Dt(t)),ce=kt(le,Dt(se)),he=ue;ce2&&kt(le,{x:se[2],y:se[3]})=u||m){c={cp:f,segment:y};break}}if(c)break}var b=c.cp,x=c.segment,w=(u-d)/x.length,E=x.t1-x.t0,_=s?x.t0+E*w:x.t1-E*w;_=Ot(0,_,1),t=It(b.p0,b.p1,b.p2,_),i=function(e,t,n,r){var i=Ot(0,r-.001,1),a=Ot(0,r+.001,1),o=It(e,t,n,i),s=It(e,t,n,a);return Al(o,s)}(b.p0,b.p1,b.p2,_);break;case"straight":case"segments":case"haystack":for(var T,D,C,N,A=0,L=r.allpts.length,k=0;k+3=u));k+=2);var S=(u-D)/T;S=Ot(0,S,1),t=function(e,t,n,r){var i=t.x-e.x,a=t.y-e.y,o=Lt(e,t),s=i/o,l=a/o;return n=null==n?0:n,r=null!=r?r:n*o,{x:e.x+s*r,y:e.y+l*r}}(C,N,S),i=Al(C,N)}o("labelX",n,t.x),o("labelY",n,t.y),o("labelAutoAngle",n,i)}};u("source"),u("target"),this.applyLabelDimensions(e)}},Cl.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))},Cl.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),i=this.calculateLabelDimensions(e,r),a=e.pstyle("line-height").pfValue,o=e.pstyle("text-wrap").strValue,s=Je(n.rscratch,"labelWrapCachedLines",t)||[],l="wrap"!==o?1:Math.max(s.length,1),u=i.height/l,c=u*a,h=i.width,d=i.height+(l-1)*(a-1)*u;et(n.rstyle,"labelWidth",t,h),et(n.rscratch,"labelWidth",t,h),et(n.rstyle,"labelHeight",t,d),et(n.rscratch,"labelHeight",t,d),et(n.rscratch,"labelLineHeight",t,c)},Cl.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",i=e.pstyle(r+"label").strValue,a=e.pstyle("text-transform").value,o=function(e,r){return r?(et(n.rscratch,e,t,r),r):Je(n.rscratch,e,t)};if(!i)return"";"none"==a||("uppercase"==a?i=i.toUpperCase():"lowercase"==a&&(i=i.toLowerCase()));var s=e.pstyle("text-wrap").value;if("wrap"===s){var l=o("labelKey");if(null!=l&&o("labelWrapKey")===l)return o("labelWrapCachedText");for(var u=i.split("\n"),c=e.pstyle("text-max-width").pfValue,h="anywhere"===e.pstyle("text-overflow-wrap").value,p=[],g=/[\s\u200b]+|$/g,f=0;fc){var b,x="",w=0,E=d(v.matchAll(g));try{for(E.s();!(b=E.n()).done;){var _=b.value,T=_[0],D=v.substring(w,_.index);w=_.index+T.length;var C=0===x.length?D:x+D+T;this.calculateLabelDimensions(e,C).width<=c?x+=D+T:(x&&p.push(x),x=D+T)}}catch(e){E.e(e)}finally{E.f()}x.match(/^[\s\u200b]+$/)||p.push(x)}else p.push(v)}o("labelWrapCachedLines",p),i=o("labelWrapCachedText",p.join("\n")),o("labelWrapKey",l)}else if("ellipsis"===s){var N=e.pstyle("text-max-width").pfValue,A="",L=!1;if(this.calculateLabelDimensions(e,i).widthN);k++)A+=i[k],k===i.length-1&&(L=!0);return L||(A+="…"),A}return i},Cl.getLabelJustification=function(e){var t=e.pstyle("text-justification").strValue,n=e.pstyle("text-halign").strValue;if("auto"!==t)return t;if(!e.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Cl.calculateLabelDimensions=function(e,t){var n=this,r=n.cy.window().document,i=Me(t,e._private.labelDimsKey),a=n.labelDimCache||(n.labelDimCache=[]),o=a[i];if(null!=o)return o;var s=e.pstyle("font-style").strValue,l=e.pstyle("font-size").pfValue,u=e.pstyle("font-family").strValue,c=e.pstyle("font-weight").strValue,h=this.labelCalcCanvas,d=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=r.createElement("canvas"),d=this.labelCalcCanvasContext=h.getContext("2d");var p=h.style;p.position="absolute",p.left="-9999px",p.top="-9999px",p.zIndex="-1",p.visibility="hidden",p.pointerEvents="none"}d.font="".concat(s," ").concat(c," ").concat(l,"px ").concat(u);for(var g=0,f=0,v=t.split("\n"),y=0;y1&&void 0!==arguments[1])||arguments[1];if(t.merge(e),n)for(var r=0;r=e.desktopTapThreshold2}var N=i(t);v&&(e.hoverData.tapholdCancelled=!0),n=!0,r(f,["mousemove","vmousemove","tapdrag"],t,{x:c[0],y:c[1]});var A=function(){e.data.bgActivePosistion=void 0,e.hoverData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:c[0],y:c[1]}}),g[4]=1,e.hoverData.selecting=!0,e.redrawHint("select",!0),e.redraw()};if(3===e.hoverData.which){if(v){var L={originalEvent:t,type:"cxtdrag",position:{x:c[0],y:c[1]}};m?m.emit(L):o.emit(L),e.hoverData.cxtDragged=!0,e.hoverData.cxtOver&&f===e.hoverData.cxtOver||(e.hoverData.cxtOver&&e.hoverData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:c[0],y:c[1]}}),e.hoverData.cxtOver=f,f&&f.emit({originalEvent:t,type:"cxtdragover",position:{x:c[0],y:c[1]}}))}}else if(e.hoverData.dragging){if(n=!0,o.panningEnabled()&&o.userPanningEnabled()){var k;if(e.hoverData.justStartedPan){var S=e.hoverData.mdownPos;k={x:(c[0]-S[0])*s,y:(c[1]-S[1])*s},e.hoverData.justStartedPan=!1}else k={x:b[0]*s,y:b[1]*s};o.panBy(k),o.emit("dragpan"),e.hoverData.dragged=!0}c=e.projectIntoViewport(t.clientX,t.clientY)}else if(1!=g[4]||null!=m&&!m.pannable()){if(m&&m.pannable()&&m.active()&&m.unactivate(),m&&m.grabbed()||f==y||(y&&r(y,["mouseout","tapdragout"],t,{x:c[0],y:c[1]}),f&&r(f,["mouseover","tapdragover"],t,{x:c[0],y:c[1]}),e.hoverData.last=f),m)if(v){if(o.boxSelectionEnabled()&&N)m&&m.grabbed()&&(h(x),m.emit("freeon"),x.emit("free"),e.dragData.didDrag&&(m.emit("dragfreeon"),x.emit("dragfree"))),A();else if(m&&m.grabbed()&&e.nodeIsDraggable(m)){var M=!e.dragData.didDrag;M&&e.redrawHint("eles",!0),e.dragData.didDrag=!0,e.hoverData.draggingEles||u(x,{inDragLayer:!0});var I={x:0,y:0};if(T(b[0])&&T(b[1])&&(I.x+=b[0],I.y+=b[1],M)){var O=e.hoverData.dragDelta;O&&T(O[0])&&T(O[1])&&(I.x+=O[0],I.y+=O[1])}e.hoverData.draggingEles=!0,x.silentShift(I).emit("position drag"),e.redrawHint("drag",!0),e.redraw()}}else!function(){var t=e.hoverData.dragDelta=e.hoverData.dragDelta||[];0===t.length?(t.push(b[0]),t.push(b[1])):(t[0]+=b[0],t[1]+=b[1])}();n=!0}else v&&(e.hoverData.dragging||!o.boxSelectionEnabled()||!N&&o.panningEnabled()&&o.userPanningEnabled()?!e.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&a(m,e.hoverData.downs)&&(e.hoverData.dragging=!0,e.hoverData.justStartedPan=!0,g[4]=0,e.data.bgActivePosistion=Dt(d),e.redrawHint("select",!0),e.redraw()):A(),m&&m.pannable()&&m.active()&&m.unactivate());return g[2]=c[0],g[3]=c[1],n?(t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),!1):void 0}}),!1),e.registerBinding(t,"mouseup",(function(t){if((1!==e.hoverData.which||1===t.which||!e.hoverData.capture)&&e.hoverData.capture){e.hoverData.capture=!1;var a=e.cy,o=e.projectIntoViewport(t.clientX,t.clientY),s=e.selection,l=e.findNearestElement(o[0],o[1],!0,!1),u=e.dragData.possibleDragElements,c=e.hoverData.down,d=i(t);if(e.data.bgActivePosistion&&(e.redrawHint("select",!0),e.redraw()),e.hoverData.tapholdCancelled=!0,e.data.bgActivePosistion=void 0,c&&c.unactivate(),3===e.hoverData.which){var p={originalEvent:t,type:"cxttapend",position:{x:o[0],y:o[1]}};if(c?c.emit(p):a.emit(p),!e.hoverData.cxtDragged){var g={originalEvent:t,type:"cxttap",position:{x:o[0],y:o[1]}};c?c.emit(g):a.emit(g)}e.hoverData.cxtDragged=!1,e.hoverData.which=null}else if(1===e.hoverData.which){if(r(l,["mouseup","tapend","vmouseup"],t,{x:o[0],y:o[1]}),e.dragData.didDrag||e.hoverData.dragged||e.hoverData.selecting||e.hoverData.isOverThresholdDrag||(r(c,["click","tap","vclick"],t,{x:o[0],y:o[1]}),b=!1,t.timeStamp-x<=a.multiClickDebounceTime()?(m&&clearTimeout(m),b=!0,x=null,r(c,["dblclick","dbltap","vdblclick"],t,{x:o[0],y:o[1]})):(m=setTimeout((function(){b||r(c,["oneclick","onetap","voneclick"],t,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),x=t.timeStamp)),null!=c||e.dragData.didDrag||e.hoverData.selecting||e.hoverData.dragged||i(t)||(a.$(n).unselect(["tapunselect"]),u.length>0&&e.redrawHint("eles",!0),e.dragData.possibleDragElements=u=a.collection()),l!=c||e.dragData.didDrag||e.hoverData.selecting||null!=l&&l._private.selectable&&(e.hoverData.dragging||("additive"===a.selectionType()||d?l.selected()?l.unselect(["tapunselect"]):l.select(["tapselect"]):d||(a.$(n).unmerge(l).unselect(["tapunselect"]),l.select(["tapselect"]))),e.redrawHint("eles",!0)),e.hoverData.selecting){var f=a.collection(e.getAllInBox(s[0],s[1],s[2],s[3]));e.redrawHint("select",!0),f.length>0&&e.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:t,position:{x:o[0],y:o[1]}});"additive"===a.selectionType()||d||a.$(n).unmerge(f).unselect(),f.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),e.redraw()}if(e.hoverData.dragging&&(e.hoverData.dragging=!1,e.redrawHint("select",!0),e.redrawHint("eles",!0),e.redraw()),!s[4]){e.redrawHint("drag",!0),e.redrawHint("eles",!0);var v=c&&c.grabbed();h(u),v&&(c.emit("freeon"),u.emit("free"),e.dragData.didDrag&&(c.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,e.hoverData.down=null,e.hoverData.cxtStarted=!1,e.hoverData.draggingEles=!1,e.hoverData.selecting=!1,e.hoverData.isOverThresholdDrag=!1,e.dragData.didDrag=!1,e.hoverData.dragged=!1,e.hoverData.dragDelta=[],e.hoverData.mdownPos=null,e.hoverData.mdownGPos=null}}),!1);var E,_,D,C,N,A,L,k,S,M,I,O,P,R=function(t){if(!e.scrollingPage){var n=e.cy,r=n.zoom(),i=n.pan(),a=e.projectIntoViewport(t.clientX,t.clientY),o=[a[0]*r+i.x,a[1]*r+i.y];if(e.hoverData.draggingEles||e.hoverData.dragging||e.hoverData.cxtStarted||0!==e.selection[4])t.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;t.preventDefault(),e.data.wheelZooming=!0,clearTimeout(e.data.wheelTimeout),e.data.wheelTimeout=setTimeout((function(){e.data.wheelZooming=!1,e.redrawHint("eles",!0),e.redraw()}),150),s=null!=t.deltaY?t.deltaY/-250:null!=t.wheelDeltaY?t.wheelDeltaY/1e3:t.wheelDelta/1e3,s*=e.wheelSensitivity,1===t.deltaMode&&(s*=33);var l=n.zoom()*Math.pow(10,s);"gesturechange"===t.type&&(l=e.gestureStartZoom*t.scale),n.zoom({level:l,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===t.type?"pinchzoom":"scrollzoom")}}};e.registerBinding(e.container,"wheel",R,!0),e.registerBinding(t,"scroll",(function(t){e.scrollingPage=!0,clearTimeout(e.scrollingPageTimeout),e.scrollingPageTimeout=setTimeout((function(){e.scrollingPage=!1}),250)}),!0),e.registerBinding(e.container,"gesturestart",(function(t){e.gestureStartZoom=e.cy.zoom(),e.hasTouchStarted||t.preventDefault()}),!0),e.registerBinding(e.container,"gesturechange",(function(t){e.hasTouchStarted||R(t)}),!0),e.registerBinding(e.container,"mouseout",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),e.registerBinding(e.container,"mouseover",(function(t){var n=e.projectIntoViewport(t.clientX,t.clientY);e.cy.emit({originalEvent:t,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var B,F,z,G,Y,V,X,U=function(e,t,n,r){return Math.sqrt((n-e)*(n-e)+(r-t)*(r-t))},j=function(e,t,n,r){return(n-e)*(n-e)+(r-t)*(r-t)};if(e.registerBinding(e.container,"touchstart",B=function(t){if(e.hasTouchStarted=!0,w(t)){p(),e.touchData.capture=!0,e.data.bgActivePosistion=void 0;var n=e.cy,i=e.touchData.now,a=e.touchData.earlier;if(t.touches[0]){var o=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);i[0]=o[0],i[1]=o[1]}if(t.touches[1]&&(o=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),i[2]=o[0],i[3]=o[1]),t.touches[2]&&(o=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),i[4]=o[0],i[5]=o[1]),t.touches[1]){e.touchData.singleTouchMoved=!0,h(e.dragData.touchDragEles);var l=e.findContainerClientCoords();S=l[0],M=l[1],I=l[2],O=l[3],E=t.touches[0].clientX-S,_=t.touches[0].clientY-M,D=t.touches[1].clientX-S,C=t.touches[1].clientY-M,P=0<=E&&E<=I&&0<=D&&D<=I&&0<=_&&_<=O&&0<=C&&C<=O;var d=n.pan(),g=n.zoom();if(N=U(E,_,D,C),A=j(E,_,D,C),k=[((L=[(E+D)/2,(_+C)/2])[0]-d.x)/g,(L[1]-d.y)/g],A<4e4&&!t.touches[2]){var f=e.findNearestElement(i[0],i[1],!0,!0),v=e.findNearestElement(i[2],i[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=f):v&&v.isNode()?(v.activate().emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start=v):n.emit({originalEvent:t,type:"cxttapstart",position:{x:i[0],y:i[1]}}),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!0,e.touchData.cxtDragged=!1,e.data.bgActivePosistion=void 0,void e.redraw()}}if(t.touches[2])n.boxSelectionEnabled()&&t.preventDefault();else if(t.touches[1]);else if(t.touches[0]){var y=e.findNearestElements(i[0],i[1],!0,!0),m=y[0];if(null!=m&&(m.activate(),e.touchData.start=m,e.touchData.starts=y,e.nodeIsGrabbable(m))){var b=e.dragData.touchDragEles=n.collection(),x=null;e.redrawHint("eles",!0),e.redrawHint("drag",!0),m.selected()?(x=n.$((function(t){return t.selected()&&e.nodeIsGrabbable(t)})),u(x,{addToList:b})):c(m,{addToList:b}),s(m);var T=function(e){return{originalEvent:t,type:e,position:{x:i[0],y:i[1]}}};m.emit(T("grabon")),x?x.forEach((function(e){e.emit(T("grab"))})):m.emit(T("grab"))}r(m,["touchstart","tapstart","vmousedown"],t,{x:i[0],y:i[1]}),null==m&&(e.data.bgActivePosistion={x:o[0],y:o[1]},e.redrawHint("select",!0),e.redraw()),e.touchData.singleTouchMoved=!1,e.touchData.singleTouchStartTime=+new Date,clearTimeout(e.touchData.tapholdTimeout),e.touchData.tapholdTimeout=setTimeout((function(){!1!==e.touchData.singleTouchMoved||e.pinching||e.touchData.selecting||r(e.touchData.start,["taphold"],t,{x:i[0],y:i[1]})}),e.tapholdDuration)}if(t.touches.length>=1){for(var R=e.touchData.startPosition=[null,null,null,null,null,null],B=0;B=e.touchTapThreshold2}if(n&&e.touchData.cxt){t.preventDefault();var x=t.touches[0].clientX-S,L=t.touches[0].clientY-M,I=t.touches[1].clientX-S,O=t.touches[1].clientY-M,R=j(x,L,I,O);if(R/A>=2.25||R>=22500){e.touchData.cxt=!1,e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var B={originalEvent:t,type:"cxttapend",position:{x:s[0],y:s[1]}};e.touchData.start?(e.touchData.start.unactivate().emit(B),e.touchData.start=null):o.emit(B)}}if(n&&e.touchData.cxt){B={originalEvent:t,type:"cxtdrag",position:{x:s[0],y:s[1]}},e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.touchData.start?e.touchData.start.emit(B):o.emit(B),e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxtDragged=!0;var F=e.findNearestElement(s[0],s[1],!0,!0);e.touchData.cxtOver&&F===e.touchData.cxtOver||(e.touchData.cxtOver&&e.touchData.cxtOver.emit({originalEvent:t,type:"cxtdragout",position:{x:s[0],y:s[1]}}),e.touchData.cxtOver=F,F&&F.emit({originalEvent:t,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&t.touches[2]&&o.boxSelectionEnabled())t.preventDefault(),e.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,e.touchData.selecting||o.emit({originalEvent:t,type:"boxstart",position:{x:s[0],y:s[1]}}),e.touchData.selecting=!0,e.touchData.didSelect=!0,i[4]=1,i&&0!==i.length&&void 0!==i[0]?(i[2]=(s[0]+s[2]+s[4])/3,i[3]=(s[1]+s[3]+s[5])/3):(i[0]=(s[0]+s[2]+s[4])/3,i[1]=(s[1]+s[3]+s[5])/3,i[2]=(s[0]+s[2]+s[4])/3+1,i[3]=(s[1]+s[3]+s[5])/3+1),e.redrawHint("select",!0),e.redraw();else if(n&&t.touches[1]&&!e.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(t.preventDefault(),e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),ee=e.dragData.touchDragEles){e.redrawHint("drag",!0);for(var z=0;z0&&!e.hoverData.draggingEles&&!e.swipePanning&&null!=e.data.bgActivePosistion&&(e.data.bgActivePosistion=void 0,e.redrawHint("select",!0),e.redraw())}},!1),e.registerBinding(t,"touchcancel",z=function(t){var n=e.touchData.start;e.touchData.capture=!1,n&&n.unactivate()}),e.registerBinding(t,"touchend",G=function(t){var i=e.touchData.start;if(e.touchData.capture){0===t.touches.length&&(e.touchData.capture=!1),t.preventDefault();var a=e.selection;e.swipePanning=!1,e.hoverData.draggingEles=!1;var o,s=e.cy,l=s.zoom(),u=e.touchData.now,c=e.touchData.earlier;if(t.touches[0]){var d=e.projectIntoViewport(t.touches[0].clientX,t.touches[0].clientY);u[0]=d[0],u[1]=d[1]}if(t.touches[1]&&(d=e.projectIntoViewport(t.touches[1].clientX,t.touches[1].clientY),u[2]=d[0],u[3]=d[1]),t.touches[2]&&(d=e.projectIntoViewport(t.touches[2].clientX,t.touches[2].clientY),u[4]=d[0],u[5]=d[1]),i&&i.unactivate(),e.touchData.cxt){if(o={originalEvent:t,type:"cxttapend",position:{x:u[0],y:u[1]}},i?i.emit(o):s.emit(o),!e.touchData.cxtDragged){var p={originalEvent:t,type:"cxttap",position:{x:u[0],y:u[1]}};i?i.emit(p):s.emit(p)}return e.touchData.start&&(e.touchData.start._private.grabbed=!1),e.touchData.cxt=!1,e.touchData.start=null,void e.redraw()}if(!t.touches[2]&&s.boxSelectionEnabled()&&e.touchData.selecting){e.touchData.selecting=!1;var g=s.collection(e.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,e.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:t,position:{x:u[0],y:u[1]}}),g.emit("box").stdFilter((function(e){return e.selectable()&&!e.selected()})).select().emit("boxselect"),g.nonempty()&&e.redrawHint("eles",!0),e.redraw()}if(null!=i&&i.unactivate(),t.touches[2])e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);else if(t.touches[1]);else if(t.touches[0]);else if(!t.touches[0]){e.data.bgActivePosistion=void 0,e.redrawHint("select",!0);var f=e.dragData.touchDragEles;if(null!=i){var v=i._private.grabbed;h(f),e.redrawHint("drag",!0),e.redrawHint("eles",!0),v&&(i.emit("freeon"),f.emit("free"),e.dragData.didDrag&&(i.emit("dragfreeon"),f.emit("dragfree"))),r(i,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]}),i.unactivate(),e.touchData.start=null}else{var y=e.findNearestElement(u[0],u[1],!0,!0);r(y,["touchend","tapend","vmouseup","tapdragout"],t,{x:u[0],y:u[1]})}var m=e.touchData.startPosition[0]-u[0],b=m*m,x=e.touchData.startPosition[1]-u[1],w=(b+x*x)*l*l;e.touchData.singleTouchMoved||(i||s.$(":selected").unselect(["tapunselect"]),r(i,["tap","vclick"],t,{x:u[0],y:u[1]}),Y=!1,t.timeStamp-X<=s.multiClickDebounceTime()?(V&&clearTimeout(V),Y=!0,X=null,r(i,["dbltap","vdblclick"],t,{x:u[0],y:u[1]})):(V=setTimeout((function(){Y||r(i,["onetap","voneclick"],t,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),X=t.timeStamp)),null!=i&&!e.dragData.didDrag&&i._private.selectable&&w2){for(var p=[c[0],c[1]],g=Math.pow(p[0]-e,2)+Math.pow(p[1]-t,2),f=1;f0)return f[0]}return null},p=Object.keys(h),g=0;g0?u:Ut(i,a,e,t,n,r,o,s)},checkPoint:function(e,t,n,r,i,a,o,s){var l=2*(s="auto"===s?un(r,i):s);if(Kt(e,t,this.points,a,o,r,i-l,[0,-1],n))return!0;if(Kt(e,t,this.points,a,o,r-l,i,[0,-1],n))return!0;var u=r/2+2*n,c=i/2+2*n;return!!$t(e,t,[a-u,o-c,a-u,o,a+u,o,a+u,o-c])||!!Jt(e,t,l,l,a+r/2-s,o+i/2-s,n)||!!Jt(e,t,l,l,a-r/2+s,o+i/2-s,n)}}},registerNodeShapes:function(){var e=this.nodeShapes={},t=this;this.generateEllipse(),this.generatePolygon("triangle",on(3,0)),this.generateRoundPolygon("round-triangle",on(3,0)),this.generatePolygon("rectangle",on(4,0)),e.square=e.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",on(5,0)),this.generateRoundPolygon("round-pentagon",on(5,0)),this.generatePolygon("hexagon",on(6,0)),this.generateRoundPolygon("round-hexagon",on(6,0)),this.generatePolygon("heptagon",on(7,0)),this.generateRoundPolygon("round-heptagon",on(7,0)),this.generatePolygon("octagon",on(8,0)),this.generateRoundPolygon("round-octagon",on(8,0));var r=new Array(20),i=ln(5,0),a=ln(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s=e.deqFastCost*f)break}else if(i){if(p>=e.deqCost*l||p>=e.deqAvgCost*s)break}else if(g>=e.deqNoDrawCost*Gl)break;var v=e.deq(t,h,c);if(!(v.length>0))break;for(var y=0;y0&&(e.onDeqd(t,u),!i&&e.shouldRedraw(t,u,h,c)&&r())}),i(t))}}},Vl=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ge;a(this,e),this.idsByKey=new tt,this.keyForId=new tt,this.cachesByLvl=new tt,this.lvls=[],this.getKey=t,this.doesEleInvalidateKey=n}return s(e,[{key:"getIdsFor",value:function(e){null==e&&Xe("Can not get id list for null key");var t=this.idsByKey,n=this.idsByKey.get(e);return n||(n=new rt,t.set(e,n)),n}},{key:"addIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).add(t)}},{key:"deleteIdForKey",value:function(e,t){null!=e&&this.getIdsFor(e).delete(t)}},{key:"getNumberOfIdsForKey",value:function(e){return null==e?0:this.getIdsFor(e).size}},{key:"updateKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t),r=this.getKey(e);this.deleteIdForKey(n,t),this.addIdForKey(r,t),this.keyForId.set(t,r)}},{key:"deleteKeyMappingFor",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteIdForKey(n,t),this.keyForId.delete(t)}},{key:"keyHasChangedFor",value:function(e){var t=e.id();return this.keyForId.get(t)!==this.getKey(e)}},{key:"isInvalid",value:function(e){return this.keyHasChangedFor(e)||this.doesEleInvalidateKey(e)}},{key:"getCachesAt",value:function(e){var t=this.cachesByLvl,n=this.lvls,r=t.get(e);return r||(r=new tt,t.set(e,r),n.push(e)),r}},{key:"getCache",value:function(e,t){return this.getCachesAt(t).get(e)}},{key:"get",value:function(e,t){var n=this.getKey(e),r=this.getCache(n,t);return null!=r&&this.updateKeyMappingFor(e),r}},{key:"getForCachedKey",value:function(e,t){var n=this.keyForId.get(e.id());return this.getCache(n,t)}},{key:"hasCache",value:function(e,t){return this.getCachesAt(t).has(e)}},{key:"has",value:function(e,t){var n=this.getKey(e);return this.hasCache(n,t)}},{key:"setCache",value:function(e,t,n){n.key=e,this.getCachesAt(t).set(e,n)}},{key:"set",value:function(e,t,n){var r=this.getKey(e);this.setCache(r,t,n),this.updateKeyMappingFor(e)}},{key:"deleteCache",value:function(e,t){this.getCachesAt(t).delete(e)}},{key:"delete",value:function(e,t){var n=this.getKey(e);this.deleteCache(n,t)}},{key:"invalidateKey",value:function(e){var t=this;this.lvls.forEach((function(n){return t.deleteCache(e,n)}))}},{key:"invalidate",value:function(e){var t=e.id(),n=this.keyForId.get(t);this.deleteKeyMappingFor(e);var r=this.doesEleInvalidateKey(e);return r&&this.invalidateKey(n),r||0===this.getNumberOfIdsForKey(n)}}]),e}(),Xl={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Ul=Ke({getKey:null,doesEleInvalidateKey:Ge,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:ze,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),jl=function(e,t){var n=this;n.renderer=e,n.onDequeues=[];var r=Ul(t);U(n,r),n.lookup=new Vl(r.getKey,r.doesEleInvalidateKey),n.setupDequeueing()},ql=jl.prototype;ql.reasons=Xl,ql.getTextureQueue=function(e){var t=this;return t.eleImgCaches=t.eleImgCaches||{},t.eleImgCaches[e]=t.eleImgCaches[e]||[]},ql.getRetiredTextureQueue=function(e){var t=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return t[e]=t[e]||[]},ql.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new ut((function(e,t){return t.reqs-e.reqs}))},ql.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},ql.getElement=function(e,t,n,r,i){var a=this,o=this.renderer,s=o.cy.zoom(),l=this.lookup;if(!t||0===t.w||0===t.h||isNaN(t.w)||isNaN(t.h)||!e.visible()||e.removed())return null;if(!a.allowEdgeTxrCaching&&e.isEdge()||!a.allowParentTxrCaching&&e.isParent())return null;if(null==r&&(r=Math.ceil(Nt(s*n))),r<-4)r=-4;else if(s>=7.99||r>3)return null;var u=Math.pow(2,r),c=t.h*u,h=t.w*u,d=o.eleTextBiggerThanMin(e,u);if(!this.isVisible(e,d))return null;var p,g=l.get(e,r);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(p=c<=25?25:c<=50?50:50*Math.ceil(c/50),c>1024||h>1024)return null;var f=a.getTextureQueue(p),v=f[f.length-2],y=function(){return a.recycleTexture(p,h)||a.addTexture(p,h)};v||(v=f[f.length-1]),v||(v=y()),v.width-v.usedWidthr;N--)D=a.getElement(e,t,n,N,Xl.downscale);C()}else{var A;if(!x&&!w&&!E)for(var L=r-1;L>=-4;L--){var k=l.get(e,L);if(k){A=k;break}}if(b(A))return a.queueElement(e,r),A;v.context.translate(v.usedWidth,0),v.context.scale(u,u),this.drawElement(v.context,e,t,d,!1),v.context.scale(1/u,1/u),v.context.translate(-v.usedWidth,0)}return g={x:v.usedWidth,texture:v,level:r,scale:u,width:h,height:c,scaledLabelShown:d},v.usedWidth+=Math.ceil(h+8),v.eleCaches.push(g),l.set(e,r,g),a.checkTextureFullness(v),g},ql.invalidateElements=function(e){for(var t=0;t=.2*e.width&&this.retireTexture(e)},ql.checkTextureFullness=function(e){var t=this.getTextureQueue(e.height);e.usedWidth/e.width>.8&&e.fullnessChecks>=10?Ze(t,e):e.fullnessChecks++},ql.retireTexture=function(e){var t=e.height,n=this.getTextureQueue(t),r=this.lookup;Ze(n,e),e.retired=!0;for(var i=e.eleCaches,a=0;a=t)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,Qe(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),Ze(r,a),n.push(a),a}},ql.queueElement=function(e,t){var n=this.getElementQueue(),r=this.getElementKeyToQueue(),i=this.getKey(e),a=r[i];if(a)a.level=Math.max(a.level,t),a.eles.merge(e),a.reqs++,n.updateItem(a);else{var o={eles:e.spawn().merge(e),level:t,reqs:1,key:i};n.push(o),r[i]=o}},ql.dequeue=function(e){for(var t=this,n=t.getElementQueue(),r=t.getElementKeyToQueue(),i=[],a=t.lookup,o=0;o<1&&n.size()>0;o++){var s=n.pop(),l=s.key,u=s.eles[0],c=a.hasCache(u,s.level);if(r[l]=null,!c){i.push(s);var h=t.getBoundingBox(u);t.getElement(u,h,e,s.level,Xl.dequeue)}}return i},ql.removeFromQueue=function(e){var t=this.getElementQueue(),n=this.getElementKeyToQueue(),r=this.getKey(e),i=n[r];null!=i&&(1===i.eles.length?(i.reqs=Fe,t.updateItem(i),t.pop(),n[r]=null):i.eles.unmerge(e))},ql.onDequeue=function(e){this.onDequeues.push(e)},ql.offDequeue=function(e){Ze(this.onDequeues,e)},ql.setupDequeueing=Yl({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(e,t,n){return e.dequeue(t,n)},onDeqd:function(e,t){for(var n=0;n=3.99||n>2)return null;r.validateLayersElesOrdering(n,e);var o,s,l=r.layersByLevel,u=Math.pow(2,n),c=l[n]=l[n]||[];if(r.levelIsComplete(n,e))return c;!function(){var t=function(t){if(r.validateLayersElesOrdering(t,e),r.levelIsComplete(t,e))return s=l[t],!0},i=function(e){if(!s)for(var r=n+e;-4<=r&&r<=2&&!t(r);r+=e);};i(1),i(-1);for(var a=c.length-1;a>=0;a--){var o=c[a];o.invalid&&Ze(c,o)}}();var h=function(t){var i=(t=t||{}).after;if(function(){if(!o){o=Pt();for(var t=0;t16e6)return null;var a=r.makeLayer(o,n);if(null!=i){var s=c.indexOf(i)+1;c.splice(s,0,a)}else(void 0===t.insert||t.insert)&&c.unshift(a);return a};if(r.skipping&&!a)return null;for(var d=null,p=e.length/1,g=!a,f=0;f=p||!Xt(d.bb,v.boundingBox()))&&!(d=h({insert:!0,after:d})))return null;s||g?r.queueLayer(d,v):r.drawEleInLayer(d,v,n,t),d.eles.push(v),m[n]=d}}return s||(g?null:c)},Wl.getEleLevelForLayerLevel=function(e,t){return e},Wl.drawEleInLayer=function(e,t,n,r){var i=this.renderer,a=e.context,o=t.boundingBox();0!==o.w&&0!==o.h&&t.visible()&&(n=this.getEleLevelForLayerLevel(n,r),i.setImgSmoothing(a,!1),i.drawCachedElement(a,t,null,null,n,!0),i.setImgSmoothing(a,!0))},Wl.levelIsComplete=function(e,t){var n=this.layersByLevel[e];if(!n||0===n.length)return!1;for(var r=0,i=0;i0)return!1;if(a.invalid)return!1;r+=a.eles.length}return r===t.length},Wl.validateLayersElesOrdering=function(e,t){var n=this.layersByLevel[e];if(n)for(var r=0;r0){e=!0;break}}return e},Wl.invalidateElements=function(e){var t=this;0!==e.length&&(t.lastInvalidationTime=Te(),0!==e.length&&t.haveLayers()&&t.updateElementsInLayers(e,(function(e,n,r){t.invalidateLayer(e)})))},Wl.invalidateLayer=function(e){if(this.lastInvalidationTime=Te(),!e.invalid){var t=e.level,n=e.eles,r=this.layersByLevel[t];Ze(r,e),e.elesQueue=[],e.invalid=!0,e.replacement&&(e.replacement.invalid=!0);for(var i=0;i3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=t._private.rscratch;if((!a||t.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var l;n&&(l=n,e.translate(-l.x1,-l.y1));var u=a?t.pstyle("opacity").value:1,c=a?t.pstyle("line-opacity").value:1,h=t.pstyle("curve-style").value,d=t.pstyle("line-style").value,p=t.pstyle("width").pfValue,g=t.pstyle("line-cap").value,f=t.pstyle("line-outline-width").value,v=t.pstyle("line-outline-color").value,y=u*c,m=u*c,b=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;"straight-triangle"===h?(o.eleStrokeStyle(e,t,n),o.drawEdgeTrianglePath(t,e,s.allpts)):(e.lineWidth=p,e.lineCap=g,o.eleStrokeStyle(e,t,n),o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")},x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m;o.drawArrowheads(e,t,n)};if(e.lineJoin="round","yes"===t.pstyle("ghost").value){var w=t.pstyle("ghost-offset-x").pfValue,E=t.pstyle("ghost-offset-y").pfValue,_=t.pstyle("ghost-opacity").value,T=y*_;e.translate(w,E),b(T),x(T),e.translate(-w,-E)}else!function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y;e.lineWidth=p+f,e.lineCap=g,f>0?(o.colorStrokeStyle(e,v[0],v[1],v[2],n),"straight-triangle"===h?o.drawEdgeTrianglePath(t,e,s.allpts):(o.drawEdgePath(t,e,s.allpts,d),e.lineCap="butt")):e.lineCap="butt"}();i&&o.drawEdgeUnderlay(e,t),b(),x(),i&&o.drawEdgeOverlay(e,t),o.drawElementText(e,t,null,r),n&&e.translate(l.x1,l.y1)}}},du=function(e){if(!["overlay","underlay"].includes(e))throw new Error("Invalid state");return function(t,n){if(n.visible()){var r=n.pstyle("".concat(e,"-opacity")).value;if(0!==r){var i=this,a=i.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(e,"-padding")).pfValue,l=n.pstyle("".concat(e,"-color")).value;t.lineWidth=s,"self"!==o.edgeType||a?t.lineCap="round":t.lineCap="butt",i.colorStrokeStyle(t,l[0],l[1],l[2],r),i.drawEdgePath(n,t,o.allpts,"solid")}}}};hu.drawEdgeOverlay=du("overlay"),hu.drawEdgeUnderlay=du("underlay"),hu.drawEdgePath=function(e,t,n,r){var i,a=e._private.rscratch,o=t,s=!1,l=this.usePaths(),u=e.pstyle("line-dash-pattern").pfValue,c=e.pstyle("line-dash-offset").pfValue;if(l){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(i=t=a.pathCache,s=!0):(i=t=new Path2D,a.pathCacheKey=h,a.pathCache=i)}if(o.setLineDash)switch(r){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=c;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(t.beginPath&&t.beginPath(),t.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var p=2;p+35&&void 0!==arguments[5]?arguments[5]:5,o=arguments.length>6?arguments[6]:void 0;e.beginPath(),e.moveTo(t+a,n),e.lineTo(t+r-a,n),e.quadraticCurveTo(t+r,n,t+r,n+a),e.lineTo(t+r,n+i-a),e.quadraticCurveTo(t+r,n+i,t+r-a,n+i),e.lineTo(t+a,n+i),e.quadraticCurveTo(t,n+i,t,n+i-a),e.lineTo(t,n+a),e.quadraticCurveTo(t,n,t+a,n),e.closePath(),o?e.stroke():e.fill()}gu.eleTextBiggerThanMin=function(e,t){if(!t){var n=e.cy().zoom(),r=this.getPixelRatio(),i=Math.ceil(Nt(n*r));t=Math.pow(2,i)}return!(e.pstyle("font-size").pfValue*t5&&void 0!==arguments[5])||arguments[5],o=this;if(null==r){if(a&&!o.eleTextBiggerThanMin(t))return}else if(!1===r)return;if(t.isNode()){var s=t.pstyle("label");if(!s||!s.value)return;var l=o.getLabelJustification(t);e.textAlign=l,e.textBaseline="bottom"}else{var u=t.element()._private.rscratch.badLine,c=t.pstyle("label"),h=t.pstyle("source-label"),d=t.pstyle("target-label");if(u||(!c||!c.value)&&(!h||!h.value)&&(!d||!d.value))return;e.textAlign="center",e.textBaseline="bottom"}var p,g=!n;n&&(p=n,e.translate(-p.x1,-p.y1)),null==i?(o.drawText(e,t,null,g,a),t.isEdge()&&(o.drawText(e,t,"source",g,a),o.drawText(e,t,"target",g,a))):o.drawText(e,t,i,g,a),n&&e.translate(p.x1,p.y1)},gu.getFontCache=function(e){var t;this.fontCaches=this.fontCaches||[];for(var n=0;n2&&void 0!==arguments[2])||arguments[2],r=t.pstyle("font-style").strValue,i=t.pstyle("font-size").pfValue+"px",a=t.pstyle("font-family").strValue,o=t.pstyle("font-weight").strValue,s=n?t.effectiveOpacity()*t.pstyle("text-opacity").value:1,l=t.pstyle("text-outline-opacity").value*s,u=t.pstyle("color").value,c=t.pstyle("text-outline-color").value;e.font=r+" "+o+" "+i+" "+a,e.lineJoin="round",this.colorFillStyle(e,u[0],u[1],u[2],s),this.colorStrokeStyle(e,c[0],c[1],c[2],l)},gu.getTextAngle=function(e,t){var n=e._private.rscratch,r=t?t+"-":"",i=e.pstyle(r+"text-rotation"),a=Je(n,"labelAngle",t);return"autorotate"===i.strValue?e.isEdge()?a:0:"none"===i.strValue?0:i.pfValue},gu.drawText=function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=t._private.rscratch,o=i?t.effectiveOpacity():1;if(!i||0!==o&&0!==t.pstyle("text-opacity").value){"main"===n&&(n=null);var s,l,u=Je(a,"labelX",n),c=Je(a,"labelY",n),h=this.getLabelText(t,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(c)){this.setupTextStyle(e,t,i);var d,p=n?n+"-":"",g=Je(a,"labelWidth",n),f=Je(a,"labelHeight",n),v=t.pstyle(p+"text-margin-x").pfValue,y=t.pstyle(p+"text-margin-y").pfValue,m=t.isEdge(),b=t.pstyle("text-halign").value,x=t.pstyle("text-valign").value;switch(m&&(b="center",x="center"),u+=v,c+=y,0!==(d=r?this.getTextAngle(t,n):0)&&(s=u,l=c,e.translate(s,l),e.rotate(d),u=0,c=0),x){case"top":break;case"center":c+=f/2;break;case"bottom":c+=f}var w=t.pstyle("text-background-opacity").value,E=t.pstyle("text-border-opacity").value,_=t.pstyle("text-border-width").pfValue,T=t.pstyle("text-background-padding").pfValue,D=0===t.pstyle("text-background-shape").strValue.indexOf("round");if(w>0||_>0&&E>0){var C=u-T;switch(b){case"left":C-=g;break;case"center":C-=g/2}var N=c-f-T,A=g+2*T,L=f+2*T;if(w>0){var k=e.fillStyle,S=t.pstyle("text-background-color").value;e.fillStyle="rgba("+S[0]+","+S[1]+","+S[2]+","+w*o+")",D?fu(e,C,N,A,L,2):e.fillRect(C,N,A,L),e.fillStyle=k}if(_>0&&E>0){var M=e.strokeStyle,I=e.lineWidth,O=t.pstyle("text-border-color").value,P=t.pstyle("text-border-style").value;if(e.strokeStyle="rgba("+O[0]+","+O[1]+","+O[2]+","+E*o+")",e.lineWidth=_,e.setLineDash)switch(P){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"double":e.lineWidth=_/4,e.setLineDash([]);break;case"solid":e.setLineDash([])}if(D?fu(e,C,N,A,L,2,"stroke"):e.strokeRect(C,N,A,L),"double"===P){var R=_/2;D?fu(e,C+R,N+R,A-2*R,L-2*R,2,"stroke"):e.strokeRect(C+R,N+R,A-2*R,L-2*R)}e.setLineDash&&e.setLineDash([]),e.lineWidth=I,e.strokeStyle=M}}var B=2*t.pstyle("text-outline-width").pfValue;if(B>0&&(e.lineWidth=B),"wrap"===t.pstyle("text-wrap").value){var F=Je(a,"labelWrapCachedLines",n),z=Je(a,"labelLineHeight",n),G=g/2,Y=this.getLabelJustification(t);switch("auto"===Y||("left"===b?"left"===Y?u+=-g:"center"===Y&&(u+=-G):"center"===b?"left"===Y?u+=-G:"right"===Y&&(u+=G):"right"===b&&("center"===Y?u+=G:"right"===Y&&(u+=g))),x){case"top":case"center":case"bottom":c-=(F.length-1)*z}for(var V=0;V0&&e.strokeText(F[V],u,c),e.fillText(F[V],u,c),c+=z}else B>0&&e.strokeText(h,u,c),e.fillText(h,u,c);0!==d&&(e.rotate(-d),e.translate(-s,-l))}}};var vu={drawNode:function(e,t,n){var r,i,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=this,u=t._private,c=u.rscratch,h=t.position();if(T(h.x)&&T(h.y)&&(!s||t.visible())){var d,p,g=s?t.effectiveOpacity():1,f=l.usePaths(),v=!1,y=t.padding();r=t.width()+2*y,i=t.height()+2*y,n&&(p=n,e.translate(-p.x1,-p.y1));for(var m=t.pstyle("background-image").value,b=new Array(m.length),x=new Array(m.length),w=0,E=0;E0&&void 0!==arguments[0]?arguments[0]:A;l.eleFillStyle(e,t,n)},U=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R;l.colorStrokeStyle(e,L[0],L[1],L[2],t)},j=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G;l.colorStrokeStyle(e,F[0],F[1],F[2],t)},q=function(e,t,n,r){var i,a=l.nodePathCache=l.nodePathCache||[],o=Ie("polygon"===n?n+","+r.join(","):n,""+t,""+e,""+V),s=a[o],u=!1;return null!=s?(i=s,u=!0,c.pathCache=i):(i=new Path2D,a[o]=c.pathCache=i),{path:i,cacheHit:u}},H=t.pstyle("shape").strValue,W=t.pstyle("shape-polygon-points").pfValue;if(f){e.translate(h.x,h.y);var $=q(r,i,H,W);d=$.path,v=$.cacheHit}var K=function(){if(!v){var n=h;f&&(n={x:0,y:0}),l.nodeShapes[l.getNodeShape(t)].draw(d||e,n.x,n.y,r,i,V,c)}f?e.fill(d):e.fill()},Z=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=u.backgrounding,a=0,o=0;o0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;l.hasPie(t)&&(l.drawPie(e,t,a),n&&(f||l.nodeShapes[l.getNodeShape(t)].draw(e,h.x,h.y,r,i,V,c)))},J=function(){var t=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(l.colorFillStyle(e,n,n,n,t),f?e.fill(d):e.fill())},ee=function(){if(N>0){if(e.lineWidth=N,e.lineCap=M,e.lineJoin=S,e.setLineDash)switch(k){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash(O),e.lineDashOffset=P;break;case"solid":case"double":e.setLineDash([])}if("center"!==I){if(e.save(),e.lineWidth*=2,"inside"===I)f?e.clip(d):e.clip();else{var t=new Path2D;t.rect(-r/2-N,-i/2-N,r+2*N,i+2*N),t.addPath(d),e.clip(t,"evenodd")}f?e.stroke(d):e.stroke(),e.restore()}else f?e.stroke(d):e.stroke();if("double"===k){e.lineWidth=N/3;var n=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",f?e.stroke(d):e.stroke(),e.globalCompositeOperation=n}e.setLineDash&&e.setLineDash([])}},te=function(){if(B>0){if(e.lineWidth=B,e.lineCap="butt",e.setLineDash)switch(z){case"dotted":e.setLineDash([1,1]);break;case"dashed":e.setLineDash([4,2]);break;case"solid":case"double":e.setLineDash([])}var n=h;f&&(n={x:0,y:0});var a=l.getNodeShape(t),o=N;"inside"===I&&(o=0),"outside"===I&&(o*=2);var s,u=(r+o+(B+Y))/r,c=(i+o+(B+Y))/i,d=r*u,p=i*c,g=l.nodeShapes[a].points;if(f&&(s=q(d,p,a,g).path),"ellipse"===a)l.drawEllipsePath(s||e,n.x,n.y,d,p);else if(["round-diamond","round-heptagon","round-hexagon","round-octagon","round-pentagon","round-polygon","round-triangle","round-tag"].includes(a)){var v=0,y=0,m=0;"round-diamond"===a?v=1.4*(o+Y+B):"round-heptagon"===a?(v=1.075*(o+Y+B),m=-(o/2+Y+B)/35):"round-hexagon"===a?v=1.12*(o+Y+B):"round-pentagon"===a?(v=1.13*(o+Y+B),m=-(o/2+Y+B)/15):"round-tag"===a?(v=1.12*(o+Y+B),y=.07*(o/2+B+Y)):"round-triangle"===a&&(v=(o+Y+B)*(Math.PI/2),m=-(o+Y/2+B)/Math.PI),0!==v&&(d=r*(u=(r+v)/r),["round-hexagon","round-tag"].includes(a)||(p=i*(c=(i+v)/i)));for(var b=d/2,x=p/2,w=(V="auto"===V?cn(d,p):V)+(o+B+Y)/2,E=new Array(g.length/2),_=new Array(g.length/2),T=0;T0){if(r=r||n.position(),null==i||null==a){var h=n.padding();i=n.width()+2*h,a=n.height()+2*h}this.colorFillStyle(t,l[0],l[1],l[2],s),this.nodeShapes[u].draw(t,r.x,r.y,i+2*o,a+2*o,c),t.fill()}}}};vu.drawNodeOverlay=yu("overlay"),vu.drawNodeUnderlay=yu("underlay"),vu.hasPie=function(e){return(e=e[0])._private.hasPie},vu.drawPie=function(e,t,n,r){t=t[0],r=r||t.position();var i=t.cy().style(),a=t.pstyle("pie-size"),o=r.x,s=r.y,l=t.width(),u=t.height(),c=Math.min(l,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?c*=a.pfValue:void 0!==a.pfValue&&(c=a.pfValue/2);for(var d=1;d<=i.pieBackgroundN;d++){var p=t.pstyle("pie-"+d+"-background-size").value,g=t.pstyle("pie-"+d+"-background-color").value,f=t.pstyle("pie-"+d+"-background-opacity").value*n,v=p/100;v+h>1&&(v=1-h);var y=1.5*Math.PI+2*Math.PI*h,m=y+2*Math.PI*v;0===p||h>=1||h+v>1||(e.beginPath(),e.moveTo(o,s),e.arc(o,s,c,y,m),e.closePath(),this.colorFillStyle(e,g[0],g[1],g[2],f),e.fill(),h+=v)}};for(var mu={getPixelRatio:function(){var e=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var t=this.cy.window(),n=e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1;return(t.devicePixelRatio||1)/n},paintCache:function(e){for(var t,n=this.paintCaches=this.paintCaches||[],r=!0,i=0;io.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(c[o.NODE]=!0,c[o.SELECT_BOX]=!0);var m=l.style(),b=l.zoom(),x=void 0!==i?i:b,w=l.pan(),E={x:w.x,y:w.y},_={zoom:b,pan:{x:w.x,y:w.y}},T=o.prevViewport;void 0===T||_.zoom!==T.zoom||_.pan.x!==T.pan.x||_.pan.y!==T.pan.y||f&&!g||(o.motionBlurPxRatio=1),a&&(E=a),x*=s,E.x*=s,E.y*=s;var D=o.getCachedZSortedEles();function C(e,t,n,r,i){var a=e.globalCompositeOperation;e.globalCompositeOperation="destination-out",o.colorFillStyle(e,255,255,255,o.motionBlurTransparency),e.fillRect(t,n,r,i),e.globalCompositeOperation=a}function N(e,r){var s,l,c,h;o.clearingMotionBlur||e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&e!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=E,l=x,c=o.canvasWidth,h=o.canvasHeight):(s={x:w.x*p,y:w.y*p},l=b*p,c=o.canvasWidth*p,h=o.canvasHeight*p),e.setTransform(1,0,0,1,0,0),"motionBlur"===r?C(e,0,0,c,h):t||void 0!==r&&!r||e.clearRect(0,0,c,h),n||(e.translate(s.x,s.y),e.scale(l,l)),a&&e.translate(a.x,a.y),i&&e.scale(i,i)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=l.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var A=o.data.bufferContexts[o.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(_=o.textureCache.viewport={zoom:l.zoom(),pan:l.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}c[o.DRAG]=!1,c[o.NODE]=!1;var L=u.contexts[o.NODE],k=o.textureCache.texture;_=o.textureCache.viewport,L.setTransform(1,0,0,1,0,0),d?C(L,0,0,_.width,_.height):L.clearRect(0,0,_.width,_.height);var S=m.core("outside-texture-bg-color").value,M=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(L,S[0],S[1],S[2],M),L.fillRect(0,0,_.width,_.height),b=l.zoom(),N(L,!1),L.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),L.drawImage(k,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!t&&(o.textureCache=null);var I=l.extent(),O=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&O,R=[];if(R[o.NODE]=!c[o.NODE]&&d&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,R[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),R[o.DRAG]=!c[o.DRAG]&&d&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,R[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),c[o.NODE]||n||r||R[o.NODE]){var B=d&&!R[o.NODE]&&1!==p;N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.nondrag,s,I):o.drawLayeredElements(L,D.nondrag,s,I),o.debug&&o.drawDebugPoints(L,D.nondrag),n||d||(c[o.NODE]=!1)}if(!r&&(c[o.DRAG]||n||R[o.DRAG])&&(B=d&&!R[o.DRAG]&&1!==p,N(L=t||(B?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),d&&!B?"motionBlur":void 0),P?o.drawCachedNodes(L,D.drag,s,I):o.drawCachedElements(L,D.drag,s,I),o.debug&&o.drawDebugPoints(L,D.drag),n||d||(c[o.DRAG]=!1)),o.showFps||!r&&c[o.SELECT_BOX]&&!n){if(N(L=t||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){b=o.cy.zoom();var F=m.core("selection-box-border-width").value/b;L.lineWidth=F,L.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",L.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),F>0&&(L.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",L.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){b=o.cy.zoom();var z=u.bgActivePosistion;L.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",L.beginPath(),L.arc(z.x,z.y,m.core("active-bg-size").pfValue/b,0,2*Math.PI),L.fill()}var G=o.lastRedrawTime;if(o.showFps&&G){G=Math.round(G);var Y=Math.round(1e3/G);L.setTransform(1,0,0,1,0,0),L.fillStyle="rgba(255, 0, 0, 0.75)",L.strokeStyle="rgba(255, 0, 0, 0.75)",L.lineWidth=1,L.fillText("1 frame = "+G+" ms = "+Y+" fps",0,20),L.strokeRect(0,30,250,20),L.fillRect(0,30,250*Math.min(Y/60,1),20)}n||(c[o.SELECT_BOX]=!1)}if(d&&1!==p){var V=u.contexts[o.NODE],X=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],U=u.contexts[o.DRAG],j=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],q=function(e,t,n){e.setTransform(1,0,0,1,0,0),n||!y?e.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(e,0,0,o.canvasWidth,o.canvasHeight);var r=p;e.drawImage(t,0,0,o.canvasWidth*r,o.canvasHeight*r,0,0,o.canvasWidth,o.canvasHeight)};(c[o.NODE]||R[o.NODE])&&(q(V,X,R[o.NODE]),c[o.NODE]=!1),(c[o.DRAG]||R[o.DRAG])&&(q(U,j,R[o.DRAG]),c[o.DRAG]=!1)}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),d&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,c[o.NODE]=!0,c[o.DRAG]=!0,o.redraw()}),100)),t||l.emit("render")}},bu={drawPolygonPath:function(e,t,n,r,i,a){var o=r/2,s=i/2;e.beginPath&&e.beginPath(),e.moveTo(t+o*a[0],n+s*a[1]);for(var l=1;l0&&a>0){d.clearRect(0,0,i,a),d.globalCompositeOperation="source-over";var p=this.getCachedZSortedEles();if(e.full)d.translate(-n.x1*l,-n.y1*l),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(n.x1*l,n.y1*l);else{var g=t.pan(),f={x:g.x*l,y:g.y*l};l*=t.zoom(),d.translate(f.x,f.y),d.scale(l,l),this.drawElements(d,p),d.scale(1/l,1/l),d.translate(-f.x,-f.y)}e.bg&&(d.globalCompositeOperation="destination-over",d.fillStyle=e.bg,d.rect(0,0,i,a),d.fill())}return h},Cu.png=function(e){return Au(e,this.bufferCanvasImage(e),"image/png")},Cu.jpg=function(e){return Au(e,this.bufferCanvasImage(e),"image/jpeg")};var Lu=Su,ku=Su.prototype;function Su(e){var t=this,n=t.cy.window().document;t.data={canvases:new Array(ku.CANVAS_LAYERS),contexts:new Array(ku.CANVAS_LAYERS),canvasNeedsRedraw:new Array(ku.CANVAS_LAYERS),bufferCanvases:new Array(ku.BUFFER_COUNT),bufferContexts:new Array(ku.CANVAS_LAYERS)};var r="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";t.data.canvasContainer=n.createElement("div");var a=t.data.canvasContainer.style;t.data.canvasContainer.style[r]=i,a.position="relative",a.zIndex="0",a.overflow="hidden";var o=e.cy.container();o.appendChild(t.data.canvasContainer),o.style[r]=i;var s={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};g&&g.userAgent.match(/msie|trident|edge/i)&&(s["-ms-touch-action"]="none",s["touch-action"]="none");for(var l=0;l2&&E.push("'"+this.terminals_[b]+"'");D=c.showPosition?"Parse error on line "+(s+1)+":\n"+c.showPosition()+"\nExpecting "+E.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(D,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:p,expected:E})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+f);switch(y[0]){case 1:t.push(f),r.push(c.yytext),i.push(c.yylloc),t.push(y[1]),f=null,l=c.yyleng,o=c.yytext,s=c.yylineno,p=c.yylloc;break;case 2:if(x=this.productions_[y[1]][1],T.$=r[r.length-x],T._$={first_line:i[i.length-(x||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(x||1)].first_column,last_column:i[i.length-1].last_column},g&&(T._$.range=[i[i.length-(x||1)].range[0],i[i.length-1].range[1]]),void 0!==(m=this.performAction.apply(T,[o,l,s,h.yy,y[1],r,i].concat(u))))return m;x&&(t=t.slice(0,-1*x*2),r=r.slice(0,-1*x),i=i.slice(0,-1*x)),t.push(this.productions_[y[1]][0]),r.push(T.$),i.push(T._$),w=a[t[t.length-2]][t[t.length-1]],t.push(w);break;case 3:return!0}}return!0}},b=(e={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;at[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,n,r){switch(n){case 0:return e.getLogger().trace("Found comment",t.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:e.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return e.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:e.getLogger().trace("end icon"),this.popState();break;case 10:return e.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return e.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return e.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return e.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:e.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return e.getLogger().trace("description:",t.yytext),"NODE_DESCR";case 27:return this.popState(),e.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),e.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),e.getLogger().trace("node end ...",t.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),e.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),e.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return e.getLogger().trace("Long description:",t.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}},e);function x(){this.yy={}}return m.lexer=b,x.prototype=m,m.Parser=x,new x}());Ku.parser=Ku;const Zu=Ku;let Qu=[],Ju=0,ec={};const tc={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},nc={clear:()=>{Qu=[],Ju=0,ec={}},addNode:(e,t,n,i)=>{var a,o;r.l.info("addNode",e,t,n,i);const s=(0,r.c)();let l=(null==(a=s.mindmap)?void 0:a.padding)??r.B.mindmap.padding;switch(i){case tc.ROUNDED_RECT:case tc.RECT:case tc.HEXAGON:l*=2}const u={id:Ju++,nodeId:(0,r.d)(t,s),level:e,descr:(0,r.d)(n,s),type:i,children:[],width:(null==(o=s.mindmap)?void 0:o.maxNodeWidth)??r.B.mindmap.maxNodeWidth,padding:l},c=function(e){for(let t=Qu.length-1;t>=0;t--)if(Qu[t].levelQu.length>0?Qu[0]:null,nodeType:tc,getType:(e,t)=>{switch(r.l.debug("In get type",e,t),e){case"[":return tc.RECT;case"(":return")"===t?tc.ROUNDED_RECT:tc.CLOUD;case"((":return tc.CIRCLE;case")":return tc.CLOUD;case"))":return tc.BANG;case"{{":return tc.HEXAGON;default:return tc.DEFAULT}},setElementForId:(e,t)=>{ec[e]=t},decorateNode:e=>{if(!e)return;const t=(0,r.c)(),n=Qu[Qu.length-1];e.icon&&(n.icon=(0,r.d)(e.icon,t)),e.class&&(n.class=(0,r.d)(e.class,t))},type2Str:e=>{switch(e){case tc.DEFAULT:return"no-border";case tc.RECT:return"rect";case tc.ROUNDED_RECT:return"rounded-rect";case tc.CIRCLE:return"circle";case tc.CLOUD:return"cloud";case tc.BANG:return"bang";case tc.HEXAGON:return"hexgon";default:return"no-border"}},getLogger:()=>r.l,getElementById:e=>ec[e]},rc=nc;function ic(e,t,n,i,a){!function(e,t,n,i,a){const o=a.htmlLabels,s=i%11,l=t.append("g");n.section=s;let u="section-"+s;s<0&&(u+=" section-root"),l.attr("class",(n.class?n.class+" ":"")+"mindmap-node "+u);const c=l.append("g"),h=l.append("g"),d=n.descr.replace(/()/g,"\n");(0,qu.a)(h,d,{useHtmlLabels:o,width:n.width,classes:"mindmap-node-label"}),o||h.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const p=h.node().getBBox(),[g]=(0,r.D)(a.fontSize);if(n.height=p.height+1.1*g*.5+n.padding,n.width=p.width+2*n.padding,n.icon)if(n.type===e.nodeType.CIRCLE)n.height+=50,n.width+=50,l.append("foreignObject").attr("height","50px").attr("width",n.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+n.icon),h.attr("transform","translate("+n.width/2+", "+(n.height/2-1.5*n.padding)+")");else{n.width+=50;const e=n.height;n.height=Math.max(e,60);const t=Math.abs(n.height-e);l.append("foreignObject").attr("width","60px").attr("height",n.height).attr("style","text-align: center;margin-top:"+t/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+s+" "+n.icon),h.attr("transform","translate("+(25+n.width/2)+", "+(t/2+n.padding/2)+")")}else if(o){const e=(n.width-p.width)/2,t=(n.height-p.height)/2;h.attr("transform","translate("+e+", "+t+")")}else{const e=n.width/2,t=n.padding/2;h.attr("transform","translate("+e+", "+t+")")}switch(n.type){case e.nodeType.DEFAULT:!function(e,t,n,r){t.append("path").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("d",`M0 ${n.height-5} v${10-n.height} q0,-5 5,-5 h${n.width-10} q5,0 5,5 v${n.height-5} H0 Z`),t.append("line").attr("class","node-line-"+r).attr("x1",0).attr("y1",n.height).attr("x2",n.width).attr("y2",n.height)}(e,c,n,s);break;case e.nodeType.ROUNDED_RECT:!function(e,t,n){t.append("rect").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("height",n.height).attr("rx",n.padding).attr("ry",n.padding).attr("width",n.width)}(e,c,n);break;case e.nodeType.RECT:!function(e,t,n){t.append("rect").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("height",n.height).attr("width",n.width)}(e,c,n);break;case e.nodeType.CIRCLE:c.attr("transform","translate("+n.width/2+", "+ +n.height/2+")"),function(e,t,n){t.append("circle").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("r",n.width/2)}(e,c,n);break;case e.nodeType.CLOUD:!function(e,t,n){const r=n.width,i=n.height,a=.15*r,o=.25*r,s=.35*r,l=.2*r;t.append("path").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("d",`M0 0 a${a},${a} 0 0,1 ${.25*r},${-1*r*.1}\n a${s},${s} 1 0,1 ${.4*r},${-1*r*.1}\n a${o},${o} 1 0,1 ${.35*r},${1*r*.2}\n\n a${a},${a} 1 0,1 ${.15*r},${1*i*.35}\n a${l},${l} 1 0,1 ${-1*r*.15},${1*i*.65}\n\n a${o},${a} 1 0,1 ${-1*r*.25},${.15*r}\n a${s},${s} 1 0,1 ${-1*r*.5},0\n a${a},${a} 1 0,1 ${-1*r*.25},${-1*r*.15}\n\n a${a},${a} 1 0,1 ${-1*r*.1},${-1*i*.35}\n a${l},${l} 1 0,1 ${.1*r},${-1*i*.65}\n\n H0 V0 Z`)}(e,c,n);break;case e.nodeType.BANG:!function(e,t,n){const r=n.width,i=n.height,a=.15*r;t.append("path").attr("id","node-"+n.id).attr("class","node-bkg node-"+e.type2Str(n.type)).attr("d",`M0 0 a${a},${a} 1 0,0 ${.25*r},${-1*i*.1}\n a${a},${a} 1 0,0 ${.25*r},0\n a${a},${a} 1 0,0 ${.25*r},0\n a${a},${a} 1 0,0 ${.25*r},${1*i*.1}\n\n a${a},${a} 1 0,0 ${.15*r},${1*i*.33}\n a${.8*a},${.8*a} 1 0,0 0,${1*i*.34}\n a${a},${a} 1 0,0 ${-1*r*.15},${1*i*.33}\n\n a${a},${a} 1 0,0 ${-1*r*.25},${.15*i}\n a${a},${a} 1 0,0 ${-1*r*.25},0\n a${a},${a} 1 0,0 ${-1*r*.25},0\n a${a},${a} 1 0,0 ${-1*r*.25},${-1*i*.15}\n\n a${a},${a} 1 0,0 ${-1*r*.1},${-1*i*.33}\n a${.8*a},${.8*a} 1 0,0 0,${-1*i*.34}\n a${a},${a} 1 0,0 ${.1*r},${-1*i*.33}\n\n H0 V0 Z`)}(e,c,n);break;case e.nodeType.HEXAGON:!function(e,t,n){const r=n.height,i=r/4,a=n.width-n.padding+2*i;!function(e,t,n,r,i){e.insert("polygon",":first-child").attr("points",r.map((function(e){return e.x+","+e.y})).join(" ")).attr("transform","translate("+(i.width-t)/2+", "+n+")")}(t,a,r,[{x:i,y:0},{x:a-i,y:0},{x:a,y:-r/2},{x:a-i,y:-r},{x:i,y:-r},{x:0,y:-r/2}],n)}(0,c,n)}e.setElementForId(n.id,l),n.height}(e,t,n,i,a),n.children&&n.children.forEach(((n,r)=>{ic(e,t,n,i<0?r:i,a)}))}function ac(e,t,n,r){t.add({group:"nodes",data:{id:e.id.toString(),labelText:e.descr,height:e.height,width:e.width,level:r,nodeId:e.id,padding:e.padding,type:e.type},position:{x:e.x,y:e.y}}),e.children&&e.children.forEach((i=>{ac(i,t,n,r+1),t.add({group:"edges",data:{id:`${e.id}_${i.id}`,source:e.id,target:i.id,depth:r,section:i.section}})}))}function oc(e,t){return new Promise((n=>{const i=(0,ju.Ltv)("body").append("div").attr("id","cy").attr("style","display:none"),a=Xu({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});i.remove(),ac(e,a,t,0),a.nodes().forEach((function(e){e.layoutDimensions=()=>{const t=e.data();return{w:t.width,h:t.height}}})),a.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),a.ready((e=>{r.l.info("Ready",e),n(a)}))}))}Xu.use(Uu);const sc={draw:async(e,t,n,i)=>{var a,o;r.l.debug("Rendering mindmap diagram\n"+e);const s=i.db,l=s.getMindmap();if(!l)return;const u=(0,r.c)();u.htmlLabels=!1;const c=(0,r.A)(t),h=c.append("g");h.attr("class","mindmap-edges");const d=c.append("g");d.attr("class","mindmap-nodes"),ic(s,d,l,-1,u);const p=await oc(l,u);!function(e,t){t.edges().map(((t,n)=>{const i=t.data();if(t[0]._private.bodyBounds){const a=t[0]._private.rscratch;r.l.trace("Edge: ",n,i),e.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth)}}))}(h,p),function(e,t){t.nodes().map(((t,n)=>{const i=t.data();i.x=t.position().x,i.y=t.position().y,function(e,t){const n=e.getElementById(t.id),r=t.x||0,i=t.y||0;n.attr("transform","translate("+r+","+i+")")}(e,i);const a=e.getElementById(i.nodeId);r.l.info("Id:",n,"Position: (",t.position().x,", ",t.position().y,")",i),a.attr("transform",`translate(${t.position().x-i.width/2}, ${t.position().y-i.height/2})`),a.attr("attr",`apa-${n})`)}))}(s,p),(0,r.o)(void 0,c,(null==(a=u.mindmap)?void 0:a.padding)??r.B.mindmap.padding,(null==(o=u.mindmap)?void 0:o.useMaxWidth)??r.B.mindmap.useMaxWidth)}},lc={db:rc,renderer:sc,parser:Zu,styles:e=>`\n .edge {\n stroke-width: 3;\n }\n ${(e=>{let t="";for(let t=0;t{n.d(i,{diagram:()=>o});var s=n(59659),e=(n(92329),n(88641),n(84017),n(31998),function(){var t=function(t,i,n,s){for(n=n||{},s=t.length;s--;n[t[s]]=i);return n},i=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,i,n,s,e,r,h){switch(r.length,e){case 1:return s;case 4:break;case 6:s.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(i,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(i,[2,3]),t(i,[2,4]),t(i,[2,5]),t(i,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,i){if(!i.recoverable){var n=new Error(t);throw n.hash=i,n}this.trace(t)},parse:function(t){var i=[0],n=[],s=[null],e=[],r=this.table,h="",o=0,l=0,c=e.slice.call(arguments,1),a=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);a.setInput(t,y.yy),y.yy.lexer=a,y.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var p=a.yylloc;e.push(p);var f=a.options&&a.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,m,d,k,x,b,v,w,I={};;){if(_=i[i.length-1],this.defaultActions[_]?m=this.defaultActions[_]:(null==g&&(w=void 0,"number"!=typeof(w=n.pop()||a.lex()||1)&&(w instanceof Array&&(w=(n=w).pop()),w=this.symbols_[w]||w),g=w),m=r[_]&&r[_][g]),void 0===m||!m.length||!m[0]){var S;for(k in v=[],r[_])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");S=a.showPosition?"Parse error on line "+(o+1)+":\n"+a.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(S,{text:a.match,token:this.terminals_[g]||g,line:a.yylineno,loc:p,expected:v})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(m[0]){case 1:i.push(g),s.push(a.yytext),e.push(a.yylloc),i.push(m[1]),g=null,l=a.yyleng,h=a.yytext,o=a.yylineno,p=a.yylloc;break;case 2:if(x=this.productions_[m[1]][1],I.$=s[s.length-x],I._$={first_line:e[e.length-(x||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(x||1)].first_column,last_column:e[e.length-1].last_column},f&&(I._$.range=[e[e.length-(x||1)].range[0],e[e.length-1].range[1]]),void 0!==(d=this.performAction.apply(I,[h,l,o,y.yy,m[1],s,e].concat(c))))return d;x&&(i=i.slice(0,-1*x*2),s=s.slice(0,-1*x),e=e.slice(0,-1*x)),i.push(this.productions_[m[1]][0]),s.push(I.$),e.push(I._$),b=r[i[i.length-2]][i[i.length-1]],i.push(b);break;case 3:return!0}}return!0}},s={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var n,s,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in e)this[r]=e[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,n,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e=this._currentRules(),r=0;ri[0].length)){if(i=n,s=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,e[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,e[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,n,s){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function e(){this.yy={}}return n.lexer=s,e.prototype=n,n.Parser=e,new e}());e.parser=e;const r=!1;let h=r;const o={parser:e,db:{clear:()=>{h=r},setInfo:t=>{h=t},getInfo:()=>h},renderer:{draw:(t,i,n)=>{s.l.debug("rendering info diagram\n"+t);const e=(0,s.A)(i);(0,s.i)(e,100,400,!0),e.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)}}}}}]); \ No newline at end of file diff --git a/assets/chunk.3ce9f331691a57c9d621.js.br b/assets/chunk.3ce9f331691a57c9d621.js.br new file mode 100644 index 00000000..3a3b95da Binary files /dev/null and b/assets/chunk.3ce9f331691a57c9d621.js.br differ diff --git a/assets/chunk.3ce9f331691a57c9d621.js.gz b/assets/chunk.3ce9f331691a57c9d621.js.gz new file mode 100644 index 00000000..66ccf6d3 Binary files /dev/null and b/assets/chunk.3ce9f331691a57c9d621.js.gz differ diff --git a/assets/chunk.4247fe135a1a3e71b27e.js b/assets/chunk.4247fe135a1a3e71b27e.js new file mode 100644 index 00000000..f4c3d650 --- /dev/null +++ b/assets/chunk.4247fe135a1a3e71b27e.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[728],{32728:(t,e,a)=>{a.d(e,{diagram:()=>f});var i=a(91942),n=a(84017),d=a(72794),r=a(33104),s=a(59659);a(92329),a(88641),a(31998);const o={},c=(t,e,a)=>{const i=(0,s.c)().state.padding,n=2*(0,s.c)().state.padding,d=t.node().getBBox(),r=d.width,o=d.x,c=t.append("text").attr("x",0).attr("y",(0,s.c)().state.titleShift).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id),g=c.node().getBBox().width+n;let p,h=Math.max(g,r);h===r&&(h+=n);const l=t.node().getBBox();e.doc,p=o-i,g>r&&(p=(r-h)/2+i),Math.abs(o-l.x)r&&(p=o-(g-r)/2);const x=1-(0,s.c)().state.textHeight;return t.insert("rect",":first-child").attr("x",p).attr("y",x).attr("class",a?"alt-composit":"composit").attr("width",h).attr("height",l.height+(0,s.c)().state.textHeight+(0,s.c)().state.titleShift+1).attr("rx","0"),c.attr("x",p+i),g<=r&&c.attr("x",o+(h-n)/2-g/2+i),t.insert("rect",":first-child").attr("x",p).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",h).attr("height",3*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t.insert("rect",":first-child").attr("x",p).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",h).attr("height",l.height+3+2*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t},g=function(t,e){const a=e.id,i={id:a,label:e.id,width:0,height:0},n=t.append("g").attr("id",a).attr("class","stateGroup");"start"===e.type&&(t=>{t.append("circle").attr("class","start-state").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit)})(n),"end"===e.type&&(t=>{t.append("circle").attr("class","end-state-outer").attr("r",(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2)})(n),"fork"!==e.type&&"join"!==e.type||((t,e)=>{let a=(0,s.c)().state.forkWidth,i=(0,s.c)().state.forkHeight;if(e.parentId){let t=a;a=i,i=t}t.append("rect").style("stroke","black").style("fill","black").attr("width",a).attr("height",i).attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding)})(n,e),"note"===e.type&&((t,e)=>{e.attr("class","state-note");const a=e.append("rect").attr("x",0).attr("y",(0,s.c)().state.padding),i=e.append("g"),{textWidth:n,textHeight:d}=((t,e,a,i)=>{let n=0;const d=i.append("text");d.style("text-anchor","start"),d.attr("class","noteText");let r=t.replace(/\r\n/g,"
");r=r.replace(/\n/g,"
");const o=r.split(s.e.lineBreakRegex);let c=1.25*(0,s.c)().state.noteMargin;for(const t of o){const e=t.trim();if(e.length>0){const t=d.append("tspan");t.text(e),0===c&&(c+=t.node().getBBox().height),n+=c,t.attr("x",0+(0,s.c)().state.noteMargin),t.attr("y",0+n+1.25*(0,s.c)().state.noteMargin)}}return{textWidth:d.node().getBBox().width,textHeight:n}})(t,0,0,i);a.attr("height",d+2*(0,s.c)().state.noteMargin),a.attr("width",n+2*(0,s.c)().state.noteMargin)})(e.note.text,n),"divider"===e.type&&(t=>{t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,s.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,s.c)().state.textHeight).attr("y1",0).attr("y2",0)})(n),"default"===e.type&&0===e.descriptions.length&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+2*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id).node().getBBox();t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",a.width+2*(0,s.c)().state.padding).attr("height",a.height+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(n,e),"default"===e.type&&e.descriptions.length>0&&((t,e)=>{const a=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+1.3*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=a.height,n=t.append("text").attr("x",(0,s.c)().state.padding).attr("y",i+.4*(0,s.c)().state.padding+(0,s.c)().state.dividerMargin+(0,s.c)().state.textHeight).attr("class","state-description");let d=!0,r=!0;e.descriptions.forEach((function(t){d||(function(t,e,a){const i=t.append("tspan").attr("x",2*(0,s.c)().state.padding).text(e);a||i.attr("dy",(0,s.c)().state.textHeight)}(n,t,r),r=!1),d=!1}));const o=t.append("line").attr("x1",(0,s.c)().state.padding).attr("y1",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("y2",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("class","descr-divider"),c=n.node().getBBox(),g=Math.max(c.width,a.width);o.attr("x2",g+3*(0,s.c)().state.padding),t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",g+2*(0,s.c)().state.padding).attr("height",c.height+i+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(n,e);const d=n.node().getBBox();return i.width=d.width+2*(0,s.c)().state.padding,i.height=d.height+2*(0,s.c)().state.padding,r=i,o[a]=r,i;var r};let p,h=0;const l={},x=(t,e,a,o,u,f,y)=>{const w=new r.T({compound:!0,multigraph:!0});let b,B=!0;for(b=0;b{const e=t.parentElement;let a=0,i=0;e&&(e.parentElement&&(a=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",a-i-8)}))):s.l.debug("No Node "+t+": "+JSON.stringify(w.node(t)))}));let M=E.getBBox();w.edges().forEach((function(t){void 0!==t&&void 0!==w.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(w.edge(t))),function(t,e,a){e.points=e.points.filter((t=>!Number.isNaN(t.y)));const d=e.points,r=(0,n.n8j)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.qrM),o=t.append("path").attr("d",r(d)).attr("id","edge"+h).attr("class","transition");let c="";if((0,s.c)().state.arrowMarkerAbsolute&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),o.attr("marker-end","url("+c+"#"+function(t){switch(t){case i.d.relationType.AGGREGATION:return"aggregation";case i.d.relationType.EXTENSION:return"extension";case i.d.relationType.COMPOSITION:return"composition";case i.d.relationType.DEPENDENCY:return"dependency"}}(i.d.relationType.DEPENDENCY)+"End)"),void 0!==a.title){const i=t.append("g").attr("class","stateLabel"),{x:n,y:d}=s.u.calcLabelPosition(e.points),r=s.e.getRows(a.title);let o=0;const c=[];let g=0,p=0;for(let t=0;t<=r.length;t++){const e=i.append("text").attr("text-anchor","middle").text(r[t]).attr("x",n).attr("y",d+o),a=e.node().getBBox();if(g=Math.max(g,a.width),p=Math.min(p,a.x),s.l.info(a.x,n,d+o),0===o){const t=e.node().getBBox();o=t.height,s.l.info("Title height",o,d)}c.push(e)}let h=o*r.length;if(r.length>1){const t=(r.length-1)*o*.5;c.forEach(((e,a)=>e.attr("y",d+a*o-t))),h=o*r.length}const l=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",n-g/2-(0,s.c)().state.padding/2).attr("y",d-h/2-(0,s.c)().state.padding/2-3.5).attr("width",g+(0,s.c)().state.padding).attr("height",h+(0,s.c)().state.padding),s.l.info(l)}h++}(e,w.edge(t),w.edge(t).relation))})),M=E.getBBox();const S={id:a||"root",label:a||"root",width:0,height:0};return S.width=M.width+2*p.padding,S.height=M.height+2*p.padding,s.l.debug("Doc rendered",S,w),S},u={setConf:function(){},draw:function(t,e,a,i){p=(0,s.c)().state;const d=(0,s.c)().securityLevel;let r;"sandbox"===d&&(r=(0,n.Ltv)("#i"+e));const o="sandbox"===d?(0,n.Ltv)(r.nodes()[0].contentDocument.body):(0,n.Ltv)("body"),c="sandbox"===d?r.nodes()[0].contentDocument:document;s.l.debug("Rendering diagram "+t);const g=o.select(`[id='${e}']`);g.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z");const h=i.db.getRootDoc();x(h,g,void 0,!1,o,c,i);const l=p.padding,u=g.node().getBBox(),f=u.width+2*l,y=u.height+2*l,w=1.75*f;(0,s.i)(g,y,w,p.useMaxWidth),g.attr("viewBox",`${u.x-p.padding} ${u.y-p.padding} `+f+" "+y)}},f={parser:i.p,db:i.d,renderer:u,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}}}]); \ No newline at end of file diff --git a/assets/chunk.4247fe135a1a3e71b27e.js.br b/assets/chunk.4247fe135a1a3e71b27e.js.br new file mode 100644 index 00000000..00082819 Binary files /dev/null and b/assets/chunk.4247fe135a1a3e71b27e.js.br differ diff --git a/assets/chunk.4247fe135a1a3e71b27e.js.gz b/assets/chunk.4247fe135a1a3e71b27e.js.gz new file mode 100644 index 00000000..4812de3f Binary files /dev/null and b/assets/chunk.4247fe135a1a3e71b27e.js.gz differ diff --git a/assets/chunk.428aeba8da4e8ca2d8a8.js b/assets/chunk.428aeba8da4e8ca2d8a8.js new file mode 100644 index 00000000..b8800c4e --- /dev/null +++ b/assets/chunk.428aeba8da4e8ca2d8a8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[203],{6203:(t,e,n)=>{n.d(e,{diagram:()=>Q});var a=n(59659),i=n(84017),s=n(18278),r=n(88641),l=(n(92329),n(31998),function(){var t=function(t,e,n,a){for(n=n||{},a=t.length;a--;n[t[a]]=e);return n},e=[1,24],n=[1,25],a=[1,26],i=[1,27],s=[1,28],r=[1,63],l=[1,64],o=[1,65],h=[1,66],d=[1,67],u=[1,68],p=[1,69],y=[1,29],f=[1,30],b=[1,31],g=[1,32],x=[1,33],_=[1,34],m=[1,35],E=[1,36],A=[1,37],S=[1,38],C=[1,39],k=[1,40],O=[1,41],v=[1,42],T=[1,43],w=[1,44],R=[1,45],D=[1,46],N=[1,47],P=[1,48],M=[1,50],j=[1,51],B=[1,52],L=[1,53],Y=[1,54],I=[1,55],U=[1,56],F=[1,57],X=[1,58],z=[1,59],W=[1,60],Q=[14,42],$=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],q=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],V=[1,82],G=[1,83],H=[1,84],K=[1,85],J=[12,14,42],Z=[12,14,33,42],tt=[12,14,33,42,76,77,79,80],et=[12,33],nt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],at={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(t,e,n,a,i,s,r){var l=s.length-1;switch(i){case 3:a.setDirection("TB");break;case 4:a.setDirection("BT");break;case 5:a.setDirection("RL");break;case 6:a.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:a.setC4Type(s[l-3]);break;case 19:a.setTitle(s[l].substring(6)),this.$=s[l].substring(6);break;case 20:a.setAccDescription(s[l].substring(15)),this.$=s[l].substring(15);break;case 21:this.$=s[l].trim(),a.setTitle(this.$);break;case 22:case 23:this.$=s[l].trim(),a.setAccDescription(this.$);break;case 28:case 29:s[l].splice(2,0,"ENTERPRISE"),a.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 30:a.addPersonOrSystemBoundary(...s[l]),this.$=s[l];break;case 31:s[l].splice(2,0,"CONTAINER"),a.addContainerBoundary(...s[l]),this.$=s[l];break;case 32:a.addDeploymentNode("node",...s[l]),this.$=s[l];break;case 33:a.addDeploymentNode("nodeL",...s[l]),this.$=s[l];break;case 34:a.addDeploymentNode("nodeR",...s[l]),this.$=s[l];break;case 35:a.popBoundaryParseStack();break;case 39:a.addPersonOrSystem("person",...s[l]),this.$=s[l];break;case 40:a.addPersonOrSystem("external_person",...s[l]),this.$=s[l];break;case 41:a.addPersonOrSystem("system",...s[l]),this.$=s[l];break;case 42:a.addPersonOrSystem("system_db",...s[l]),this.$=s[l];break;case 43:a.addPersonOrSystem("system_queue",...s[l]),this.$=s[l];break;case 44:a.addPersonOrSystem("external_system",...s[l]),this.$=s[l];break;case 45:a.addPersonOrSystem("external_system_db",...s[l]),this.$=s[l];break;case 46:a.addPersonOrSystem("external_system_queue",...s[l]),this.$=s[l];break;case 47:a.addContainer("container",...s[l]),this.$=s[l];break;case 48:a.addContainer("container_db",...s[l]),this.$=s[l];break;case 49:a.addContainer("container_queue",...s[l]),this.$=s[l];break;case 50:a.addContainer("external_container",...s[l]),this.$=s[l];break;case 51:a.addContainer("external_container_db",...s[l]),this.$=s[l];break;case 52:a.addContainer("external_container_queue",...s[l]),this.$=s[l];break;case 53:a.addComponent("component",...s[l]),this.$=s[l];break;case 54:a.addComponent("component_db",...s[l]),this.$=s[l];break;case 55:a.addComponent("component_queue",...s[l]),this.$=s[l];break;case 56:a.addComponent("external_component",...s[l]),this.$=s[l];break;case 57:a.addComponent("external_component_db",...s[l]),this.$=s[l];break;case 58:a.addComponent("external_component_queue",...s[l]),this.$=s[l];break;case 60:a.addRel("rel",...s[l]),this.$=s[l];break;case 61:a.addRel("birel",...s[l]),this.$=s[l];break;case 62:a.addRel("rel_u",...s[l]),this.$=s[l];break;case 63:a.addRel("rel_d",...s[l]),this.$=s[l];break;case 64:a.addRel("rel_l",...s[l]),this.$=s[l];break;case 65:a.addRel("rel_r",...s[l]),this.$=s[l];break;case 66:a.addRel("rel_b",...s[l]),this.$=s[l];break;case 67:s[l].splice(0,1),a.addRel("rel",...s[l]),this.$=s[l];break;case 68:a.updateElStyle("update_el_style",...s[l]),this.$=s[l];break;case 69:a.updateRelStyle("update_rel_style",...s[l]),this.$=s[l];break;case 70:a.updateLayoutConfig("update_layout_config",...s[l]),this.$=s[l];break;case 71:this.$=[s[l]];break;case 72:s[l].unshift(s[l-1]),this.$=s[l];break;case 73:case 75:this.$=s[l].trim();break;case 74:let t={};t[s[l-1].trim()]=s[l].trim(),this.$=t;break;case 76:this.$=""}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:70,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:71,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:72,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{13:73,19:20,20:21,21:22,22:e,23:n,24:a,26:i,28:s,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{14:[1,74]},t(Q,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:l,37:o,38:h,39:d,40:u,41:p,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W}),t(Q,[2,14]),t($,[2,16],{12:[1,76]}),t(Q,[2,36],{12:[1,77]}),t(q,[2,19]),t(q,[2,20]),{25:[1,78]},{27:[1,79]},t(q,[2,23]),{35:80,75:81,76:V,77:G,79:H,80:K},{35:86,75:81,76:V,77:G,79:H,80:K},{35:87,75:81,76:V,77:G,79:H,80:K},{35:88,75:81,76:V,77:G,79:H,80:K},{35:89,75:81,76:V,77:G,79:H,80:K},{35:90,75:81,76:V,77:G,79:H,80:K},{35:91,75:81,76:V,77:G,79:H,80:K},{35:92,75:81,76:V,77:G,79:H,80:K},{35:93,75:81,76:V,77:G,79:H,80:K},{35:94,75:81,76:V,77:G,79:H,80:K},{35:95,75:81,76:V,77:G,79:H,80:K},{35:96,75:81,76:V,77:G,79:H,80:K},{35:97,75:81,76:V,77:G,79:H,80:K},{35:98,75:81,76:V,77:G,79:H,80:K},{35:99,75:81,76:V,77:G,79:H,80:K},{35:100,75:81,76:V,77:G,79:H,80:K},{35:101,75:81,76:V,77:G,79:H,80:K},{35:102,75:81,76:V,77:G,79:H,80:K},{35:103,75:81,76:V,77:G,79:H,80:K},{35:104,75:81,76:V,77:G,79:H,80:K},t(J,[2,59]),{35:105,75:81,76:V,77:G,79:H,80:K},{35:106,75:81,76:V,77:G,79:H,80:K},{35:107,75:81,76:V,77:G,79:H,80:K},{35:108,75:81,76:V,77:G,79:H,80:K},{35:109,75:81,76:V,77:G,79:H,80:K},{35:110,75:81,76:V,77:G,79:H,80:K},{35:111,75:81,76:V,77:G,79:H,80:K},{35:112,75:81,76:V,77:G,79:H,80:K},{35:113,75:81,76:V,77:G,79:H,80:K},{35:114,75:81,76:V,77:G,79:H,80:K},{35:115,75:81,76:V,77:G,79:H,80:K},{20:116,29:49,30:61,32:62,34:r,36:l,37:o,38:h,39:d,40:u,41:p,43:23,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W},{12:[1,118],33:[1,117]},{35:119,75:81,76:V,77:G,79:H,80:K},{35:120,75:81,76:V,77:G,79:H,80:K},{35:121,75:81,76:V,77:G,79:H,80:K},{35:122,75:81,76:V,77:G,79:H,80:K},{35:123,75:81,76:V,77:G,79:H,80:K},{35:124,75:81,76:V,77:G,79:H,80:K},{35:125,75:81,76:V,77:G,79:H,80:K},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(Q,[2,15]),t($,[2,17],{21:22,19:130,22:e,23:n,24:a,26:i,28:s}),t(Q,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:n,24:a,26:i,28:s,34:r,36:l,37:o,38:h,39:d,40:u,41:p,44:y,45:f,46:b,47:g,48:x,49:_,50:m,51:E,52:A,53:S,54:C,55:k,56:O,57:v,58:T,59:w,60:R,61:D,62:N,63:P,64:M,65:j,66:B,67:L,68:Y,69:I,70:U,71:F,72:X,73:z,74:W}),t(q,[2,21]),t(q,[2,22]),t(J,[2,39]),t(Z,[2,71],{75:81,35:132,76:V,77:G,79:H,80:K}),t(tt,[2,73]),{78:[1,133]},t(tt,[2,75]),t(tt,[2,76]),t(J,[2,40]),t(J,[2,41]),t(J,[2,42]),t(J,[2,43]),t(J,[2,44]),t(J,[2,45]),t(J,[2,46]),t(J,[2,47]),t(J,[2,48]),t(J,[2,49]),t(J,[2,50]),t(J,[2,51]),t(J,[2,52]),t(J,[2,53]),t(J,[2,54]),t(J,[2,55]),t(J,[2,56]),t(J,[2,57]),t(J,[2,58]),t(J,[2,60]),t(J,[2,61]),t(J,[2,62]),t(J,[2,63]),t(J,[2,64]),t(J,[2,65]),t(J,[2,66]),t(J,[2,67]),t(J,[2,68]),t(J,[2,69]),t(J,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(et,[2,28]),t(et,[2,29]),t(et,[2,30]),t(et,[2,31]),t(et,[2,32]),t(et,[2,33]),t(et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t($,[2,18]),t(Q,[2,38]),t(Z,[2,72]),t(tt,[2,74]),t(J,[2,24]),t(J,[2,35]),t(nt,[2,25]),t(nt,[2,26],{12:[1,138]}),t(nt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],a=[null],i=[],s=this.table,r="",l=0,o=0,c=i.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;i.push(p);var y=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,b,g,x,_,m,E,A,S,C={};;){if(b=e[e.length-1],this.defaultActions[b]?g=this.defaultActions[b]:(null==f&&(S=void 0,"number"!=typeof(S=n.pop()||h.lex()||1)&&(S instanceof Array&&(S=(n=S).pop()),S=this.symbols_[S]||S),f=S),g=s[b]&&s[b][f]),void 0===g||!g.length||!g[0]){var k;for(_ in A=[],s[b])this.terminals_[_]&&_>2&&A.push("'"+this.terminals_[_]+"'");k=h.showPosition?"Parse error on line "+(l+1)+":\n"+h.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(k,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:A})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+f);switch(g[0]){case 1:e.push(f),a.push(h.yytext),i.push(h.yylloc),e.push(g[1]),f=null,o=h.yyleng,r=h.yytext,l=h.yylineno,p=h.yylloc;break;case 2:if(m=this.productions_[g[1]][1],C.$=a[a.length-m],C._$={first_line:i[i.length-(m||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(m||1)].first_column,last_column:i[i.length-1].last_column},y&&(C._$.range=[i[i.length-(m||1)].range[0],i[i.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[r,o,l,d.yy,g[1],a,i].concat(c))))return x;m&&(e=e.slice(0,-1*m*2),a=a.slice(0,-1*m),i=i.slice(0,-1*m)),e.push(this.productions_[g[1]][0]),a.push(C.$),i.push(C._$),E=s[e[e.length-2]][e[e.length-1]],e.push(E);break;case 3:return!0}}return!0}},it={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===a.length?this.yylloc.first_column:0)+a[a.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,a,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var s in i)this[s]=i[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),s=0;se[0].length)){if(e=n,a=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[a]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,a){switch(n){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};function st(){this.yy={}}return at.lexer=it,st.prototype=at,at.Parser=st,new st}());l.parser=l;const o=l;let h=[],d=[""],u="global",p="",y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],f=[],b="",g=!1,x=4,_=2;var m;const E=function(t){return null==t?h:h.filter((e=>e.parentBoundary===t))},A=function(t){return null==t?y:y.filter((e=>e.parentBoundary===t))},S=function(){return g},C={addPersonOrSystem:function(t,e,n,a,i,s,r){if(null===e||null===n)return;let l={};const o=h.find((t=>t.alias===e));if(o&&e===o.alias?l=o:(l.alias=e,h.push(l)),l.label=null==n?{text:""}:{text:n},null==a)l.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]={text:e}}else l.descr={text:a};if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.sprite=i;if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=e}else l.tags=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=e}else l.link=r;l.typeC4Shape={text:t},l.parentBoundary=u,l.wrap=S()},addPersonOrSystemBoundary:function(t,e,n,a,i){if(null===t||null===e)return;let s={};const r=y.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),s.label=null==e?{text:""}:{text:e},null==n)s.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]={text:e}}else s.type={text:n};if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.tags=a;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=u,s.wrap=S(),p=u,u=t,d.push(p)},addContainer:function(t,e,n,a,i,s,r,l){if(null===e||null===n)return;let o={};const c=h.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,h.push(o)),o.label=null==n?{text:""}:{text:n},null==a)o.techn={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.techn={text:a};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=S(),o.typeC4Shape={text:t},o.parentBoundary=u},addContainerBoundary:function(t,e,n,a,i){if(null===t||null===e)return;let s={};const r=y.find((e=>e.alias===t));if(r&&t===r.alias?s=r:(s.alias=t,y.push(s)),s.label=null==e?{text:""}:{text:e},null==n)s.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];s[t]={text:e}}else s.type={text:n};if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.tags=a;if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.link=i;s.parentBoundary=u,s.wrap=S(),p=u,u=t,d.push(p)},addComponent:function(t,e,n,a,i,s,r,l){if(null===e||null===n)return;let o={};const c=h.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,h.push(o)),o.label=null==n?{text:""}:{text:n},null==a)o.techn={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.techn={text:a};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof s){let[t,e]=Object.entries(s)[0];o[t]=e}else o.sprite=s;if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.wrap=S(),o.typeC4Shape={text:t},o.parentBoundary=u},addDeploymentNode:function(t,e,n,a,i,s,r,l){if(null===e||null===n)return;let o={};const c=y.find((t=>t.alias===e));if(c&&e===c.alias?o=c:(o.alias=e,y.push(o)),o.label=null==n?{text:""}:{text:n},null==a)o.type={text:"node"};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];o[t]={text:e}}else o.type={text:a};if(null==i)o.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];o[t]={text:e}}else o.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];o[t]=e}else o.tags=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];o[t]=e}else o.link=l;o.nodeType=t,o.parentBoundary=u,o.wrap=S(),p=u,u=e,d.push(p)},popBoundaryParseStack:function(){u=p,d.pop(),p=d.pop(),d.push(p)},addRel:function(t,e,n,a,i,s,r,l,o){if(null==t||null==e||null==n||null==a)return;let c={};const h=f.find((t=>t.from===e&&t.to===n));if(h?c=h:f.push(c),c.type=t,c.from=e,c.to=n,c.label={text:a},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==s)c.descr={text:""};else if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]={text:e}}else c.descr={text:s};if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]=e}else c.sprite=r;if("object"==typeof l){let[t,e]=Object.entries(l)[0];c[t]=e}else c.tags=l;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.link=o;c.wrap=S()},updateElStyle:function(t,e,n,a,i,s,r,l,o,c,d){let u=h.find((t=>t.alias===e));if(void 0!==u||(u=y.find((t=>t.alias===e)),void 0!==u)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];u[t]=e}else u.bgColor=n;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]=e}else u.fontColor=a;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];u[t]=e}else u.borderColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.shadowing=s;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]=e}else u.shape=r;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];u[t]=e}else u.sprite=l;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.techn=o;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e}else u.legendText=c;if(null!=d)if("object"==typeof d){let[t,e]=Object.entries(d)[0];u[t]=e}else u.legendSprite=d}},updateRelStyle:function(t,e,n,a,i,s,r){const l=f.find((t=>t.from===e&&t.to===n));if(void 0!==l){if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];l[t]=e}else l.textColor=a;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];l[t]=e}else l.lineColor=i;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];l[t]=parseInt(e)}else l.offsetX=parseInt(s);if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];l[t]=parseInt(e)}else l.offsetY=parseInt(r)}},updateLayoutConfig:function(t,e,n){let a=x,i=_;if("object"==typeof e){const t=Object.values(e)[0];a=parseInt(t)}else a=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];i=parseInt(t)}else i=parseInt(n);a>=1&&(x=a),i>=1&&(_=i)},autoWrap:S,setWrap:function(t){g=t},getC4ShapeArray:E,getC4Shape:function(t){return h.find((e=>e.alias===t))},getC4ShapeKeys:function(t){return Object.keys(E(t))},getBoundaries:A,getBoundarys:A,getCurrentBoundaryParse:function(){return u},getParentBoundaryParse:function(){return p},getRels:function(){return f},getTitle:function(){return b},getC4Type:function(){return m},getC4ShapeInRow:function(){return x},getC4BoundaryInRow:function(){return _},setAccTitle:a.s,getAccTitle:a.g,getAccDescription:a.a,setAccDescription:a.b,getConfig:()=>(0,a.c)().c4,clear:function(){h=[],y=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],p="",u="global",d=[""],f=[],d=[""],b="",g=!1,x=4,_=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){let e=(0,a.d)(t,(0,a.c)());b=e},setC4Type:function(t){let e=(0,a.d)(t,(0,a.c)());m=e}},k=function(t,e){return(0,s.d)(t,e)},O=function(){function t(t,e,n,a,s,r,l){i(e.append("text").attr("x",n+s/2).attr("y",a+r/2+5).style("text-anchor","middle").text(t),l)}function e(t,e,n,s,r,l,o,c){const{fontSize:h,fontFamily:d,fontWeight:u}=c,p=t.split(a.e.lineBreakRegex);for(let t=0;t>"),e.typeC4Shape.text){case"person":case"external_person":!function(t,e,n,a,i,s){const l=t.append("image");l.attr("width",e),l.attr("height",n),l.attr("x",a),l.attr("y",i);let o=s.startsWith("data:image/png;base64")?s:(0,r.Jf)(s);l.attr("xlink:href",o)}(h,48,48,e.x+e.width/2-24,e.y+e.image.Y,c)}let f=n[e.typeC4Shape.text+"Font"]();return f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=o,O(n)(e.label.text,h,e.x,e.y+e.label.Y,e.width,e.height,{fill:o},f),f=n[e.typeC4Shape.text+"Font"](),f.fontColor=o,e.techn&&""!==(null==(a=e.techn)?void 0:a.text)?O(n)(e.techn.text,h,e.x,e.y+e.techn.Y,e.width,e.height,{fill:o,"font-style":"italic"},f):e.type&&""!==e.type.text&&O(n)(e.type.text,h,e.x,e.y+e.type.Y,e.width,e.height,{fill:o,"font-style":"italic"},f),e.descr&&""!==e.descr.text&&(f=n.personFont(),f.fontColor=o,O(n)(e.descr.text,h,e.x,e.y+e.descr.Y,e.width,e.height,{fill:o},f)),e.height};let T=0,w=0,R=4,D=2;l.yy=C;let N={};class P{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,M(t.db.getConfig())}setData(t,e,n,a){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=a}updateVal(t,e,n,a){void 0===t[e]?t[e]=n:t[e]=a(n,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,n=e+t.width,a=this.nextData.starty+2*t.margin,i=a+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>R)&&(e=this.nextData.startx+t.margin+N.nextLinePaddingX,a=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=i=a+t.height,this.nextData.cnt=1),t.x=e,t.y=a,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",a,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",i,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",a,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",i,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},M(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const M=function(t){(0,a.f)(N,t),t.fontFamily&&(N.personFontFamily=N.systemFontFamily=N.messageFontFamily=t.fontFamily),t.fontSize&&(N.personFontSize=N.systemFontSize=N.messageFontSize=t.fontSize),t.fontWeight&&(N.personFontWeight=N.systemFontWeight=N.messageFontWeight=t.fontWeight)},j=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),B=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function L(t,e,n,i,s){if(!e[t].width)if(n)e[t].text=(0,a.w)(e[t].text,s,i),e[t].textLines=e[t].text.split(a.e.lineBreakRegex).length,e[t].width=s,e[t].height=(0,a.j)(e[t].text,i);else{let n=e[t].text.split(a.e.lineBreakRegex);e[t].textLines=n.length;let s=0;e[t].height=0,e[t].width=0;for(const r of n)e[t].width=Math.max((0,a.h)(r,i),e[t].width),s=(0,a.j)(r,i),e[t].height=e[t].height+s}}const Y=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=N.c4ShapeMargin-35;let i=e.wrap&&N.wrap,s=B(N);s.fontSize=s.fontSize+2,s.fontWeight="bold",L("label",e,i,s,(0,a.h)(e.label.text,s)),function(t,e,n){const a=t.append("g");let i=e.bgColor?e.bgColor:"none",s=e.borderColor?e.borderColor:"#444444",r=e.fontColor?e.fontColor:"black",l={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(l={"stroke-width":1});let o={x:e.x,y:e.y,fill:i,stroke:s,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:l};k(a,o);let c=n.boundaryFont();c.fontWeight="bold",c.fontSize=c.fontSize+2,c.fontColor=r,O(n)(e.label.text,a,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},c),e.type&&""!==e.type.text&&(c=n.boundaryFont(),c.fontColor=r,O(n)(e.type.text,a,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},c)),e.descr&&""!==e.descr.text&&(c=n.boundaryFont(),c.fontSize=c.fontSize-2,c.fontColor=r,O(n)(e.descr.text,a,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},c))}(t,e,N)},I=function(t,e,n,i){let s=0;for(const r of i){s=0;const i=n[r];let l=j(N,i.typeC4Shape.text);switch(l.fontSize=l.fontSize-2,i.typeC4Shape.width=(0,a.h)("«"+i.typeC4Shape.text+"»",l),i.typeC4Shape.height=l.fontSize+2,i.typeC4Shape.Y=N.c4ShapePadding,s=i.typeC4Shape.Y+i.typeC4Shape.height-4,i.image={width:0,height:0,Y:0},i.typeC4Shape.text){case"person":case"external_person":i.image.width=48,i.image.height=48,i.image.Y=s,s=i.image.Y+i.image.height}i.sprite&&(i.image.width=48,i.image.height=48,i.image.Y=s,s=i.image.Y+i.image.height);let o=i.wrap&&N.wrap,c=N.width-2*N.c4ShapePadding,h=j(N,i.typeC4Shape.text);h.fontSize=h.fontSize+2,h.fontWeight="bold",L("label",i,o,h,c),i.label.Y=s+8,s=i.label.Y+i.label.height,i.type&&""!==i.type.text?(i.type.text="["+i.type.text+"]",L("type",i,o,j(N,i.typeC4Shape.text),c),i.type.Y=s+5,s=i.type.Y+i.type.height):i.techn&&""!==i.techn.text&&(i.techn.text="["+i.techn.text+"]",L("techn",i,o,j(N,i.techn.text),c),i.techn.Y=s+5,s=i.techn.Y+i.techn.height);let d=s,u=i.label.width;i.descr&&""!==i.descr.text&&(L("descr",i,o,j(N,i.typeC4Shape.text),c),i.descr.Y=s+20,s=i.descr.Y+i.descr.height,u=Math.max(i.label.width,i.descr.width),d=s-5*i.descr.textLines),u+=N.c4ShapePadding,i.width=Math.max(i.width||N.width,u,N.width),i.height=Math.max(i.height||N.height,d,N.height),i.margin=i.margin||N.c4ShapeMargin,t.insert(i),v(e,i,N)}t.bumpLastMargin(N.c4ShapeMargin)};class U{constructor(t,e){this.x=t,this.y=e}}let F=function(t,e){let n=t.x,a=t.y,i=e.x,s=e.y,r=n+t.width/2,l=a+t.height/2,o=Math.abs(n-i),c=Math.abs(a-s),h=c/o,d=t.height/t.width,u=null;return a==s&&ni?u=new U(n,l):n==i&&as&&(u=new U(r,a)),n>i&&a=h?new U(n,l+h*t.width/2):new U(r-o/c*t.height/2,a+t.height):n=h?new U(n+t.width,l+h*t.width/2):new U(r+o/c*t.height/2,a+t.height):ns?u=d>=h?new U(n+t.width,l-h*t.width/2):new U(r+t.height/2*o/c,a):n>i&&a>s&&(u=d>=h?new U(n,l-t.width/2*h):new U(r-t.height/2*o/c,a)),u},X=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let a=F(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:a,endPoint:F(e,n)}};function z(t,e,n,a,i){let s=new P(i);s.data.widthLimit=n.data.widthLimit/Math.min(D,a.length);for(let[r,l]of a.entries()){let a=0;l.image={width:0,height:0,Y:0},l.sprite&&(l.image.width=48,l.image.height=48,l.image.Y=a,a=l.image.Y+l.image.height);let o=l.wrap&&N.wrap,c=B(N);if(c.fontSize=c.fontSize+2,c.fontWeight="bold",L("label",l,o,c,s.data.widthLimit),l.label.Y=a+8,a=l.label.Y+l.label.height,l.type&&""!==l.type.text&&(l.type.text="["+l.type.text+"]",L("type",l,o,B(N),s.data.widthLimit),l.type.Y=a+5,a=l.type.Y+l.type.height),l.descr&&""!==l.descr.text){let t=B(N);t.fontSize=t.fontSize-2,L("descr",l,o,t,s.data.widthLimit),l.descr.Y=a+20,a=l.descr.Y+l.descr.height}if(0==r||r%D==0){let t=n.data.startx+N.diagramMarginX,e=n.data.stopy+N.diagramMarginY+a;s.setData(t,t,e,e)}else{let t=s.data.stopx!==s.data.startx?s.data.stopx+N.diagramMarginX:s.data.startx,e=s.data.starty;s.setData(t,t,e,e)}s.name=l.alias;let h=i.db.getC4ShapeArray(l.alias),d=i.db.getC4ShapeKeys(l.alias);d.length>0&&I(s,t,h,d),e=l.alias;let u=i.db.getBoundarys(e);u.length>0&&z(t,e,s,u,i),"global"!==l.alias&&Y(t,l,s),n.data.stopy=Math.max(s.data.stopy+N.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(s.data.stopx+N.c4ShapeMargin,n.data.stopx),T=Math.max(T,n.data.stopx),w=Math.max(w,n.data.stopy)}}const W={drawPersonOrSystemArray:I,drawBoundary:Y,setConf:M,draw:function(t,e,n,s){N=(0,a.c)().c4;const r=(0,a.c)().securityLevel;let l;"sandbox"===r&&(l=(0,i.Ltv)("#i"+e));const o="sandbox"===r?(0,i.Ltv)(l.nodes()[0].contentDocument.body):(0,i.Ltv)("body");let c=s.db;s.db.setWrap(N.wrap),R=c.getC4ShapeInRow(),D=c.getC4BoundaryInRow(),a.l.debug(`C:${JSON.stringify(N,null,2)}`);const h="sandbox"===r?o.select(`[id="${e}"]`):(0,i.Ltv)(`[id="${e}"]`);h.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"),function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")}(h),function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}(h);let d=new P(s);d.setData(N.diagramMarginX,N.diagramMarginX,N.diagramMarginY,N.diagramMarginY),d.data.widthLimit=screen.availWidth,T=N.diagramMarginX,w=N.diagramMarginY;const u=s.db.getTitle();z(h,"",d,s.db.getBoundarys(""),s),function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")}(h),function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")}(h),function(t){const e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")}(h),function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).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")}(h),function(t,e,n,i){let s=0;for(let t of e){s+=1;let e=t.wrap&&N.wrap,l={fontFamily:(r=N).messageFontFamily,fontSize:r.messageFontSize,fontWeight:r.messageFontWeight};"C4Dynamic"===i.db.getC4Type()&&(t.label.text=s+": "+t.label.text);let o=(0,a.h)(t.label.text,l);L("label",t,e,l,o),t.techn&&""!==t.techn.text&&(o=(0,a.h)(t.techn.text,l),L("techn",t,e,l,o)),t.descr&&""!==t.descr.text&&(o=(0,a.h)(t.descr.text,l),L("descr",t,e,l,o));let c=n(t.from),h=n(t.to),d=X(c,h);t.startPoint=d.startPoint,t.endPoint=d.endPoint}var r;((t,e,n)=>{const a=t.append("g");let i=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",s=t.lineColor?t.lineColor:"#444444",r=t.offsetX?parseInt(t.offsetX):0,l=t.offsetY?parseInt(t.offsetY):0,o="";if(0===i){let e=a.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",s),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)"),i=-1}else{let e=a.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",s).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url("+o+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+o+"#arrowend)")}let c=n.messageFont();O(n)(t.label.text,a,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+l,t.label.width,t.label.height,{fill:e},c),t.techn&&""!==t.techn.text&&(c=n.messageFont(),O(n)("["+t.techn.text+"]",a,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+r,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+n.messageFontSize+5+l,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},c))}})(t,e,N)}(h,s.db.getRels(),s.db.getC4Shape,s),d.data.stopx=T,d.data.stopy=w;const p=d.data;let y=p.stopy-p.starty+2*N.diagramMarginY;const f=p.stopx-p.startx+2*N.diagramMarginX;u&&h.append("text").text(u).attr("x",(p.stopx-p.startx)/2-4*N.diagramMarginX).attr("y",p.starty+N.diagramMarginY),(0,a.i)(h,y,f,N.useMaxWidth);const b=u?60:0;h.attr("viewBox",p.startx-N.diagramMarginX+" -"+(N.diagramMarginY+b)+" "+f+" "+(y+b)),a.l.debug("models:",p)}},Q={parser:o,db:C,renderer:W,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:({c4:t,wrap:e})=>{W.setConf(t),C.setWrap(e)}}},18278:(t,e,n)=>{n.d(e,{a:()=>r,b:()=>c,c:()=>o,d:()=>s,e:()=>d,f:()=>l,g:()=>h});var a=n(88641),i=n(59659);const s=(t,e)=>{const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),e.name&&n.attr("name",e.name),void 0!==e.rx&&n.attr("rx",e.rx),void 0!==e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)n.attr(t,e.attrs[t]);return void 0!==e.class&&n.attr("class",e.class),n},r=(t,e)=>{const n={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};s(t,n).lower()},l=(t,e)=>{const n=e.text.replace(i.J," "),a=t.append("text");a.attr("x",e.x),a.attr("y",e.y),a.attr("class","legend"),a.style("text-anchor",e.anchor),void 0!==e.class&&a.attr("class",e.class);const s=a.append("tspan");return s.attr("x",e.x+2*e.textMargin),s.text(n),a},o=(t,e,n,i)=>{const s=t.append("image");s.attr("x",e),s.attr("y",n);const r=(0,a.Jf)(i);s.attr("xlink:href",r)},c=(t,e,n,i)=>{const s=t.append("use");s.attr("x",e),s.attr("y",n);const r=(0,a.Jf)(i);s.attr("xlink:href",`#${r}`)},h=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),d=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}]); \ No newline at end of file diff --git a/assets/chunk.428aeba8da4e8ca2d8a8.js.br b/assets/chunk.428aeba8da4e8ca2d8a8.js.br new file mode 100644 index 00000000..6a5c357d Binary files /dev/null and b/assets/chunk.428aeba8da4e8ca2d8a8.js.br differ diff --git a/assets/chunk.428aeba8da4e8ca2d8a8.js.gz b/assets/chunk.428aeba8da4e8ca2d8a8.js.gz new file mode 100644 index 00000000..2278bb40 Binary files /dev/null and b/assets/chunk.428aeba8da4e8ca2d8a8.js.gz differ diff --git a/assets/chunk.46d13af50375b5b9a298.js b/assets/chunk.46d13af50375b5b9a298.js new file mode 100644 index 00000000..15c762de --- /dev/null +++ b/assets/chunk.46d13af50375b5b9a298.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[665],{44665:(e,t,s)=>{s.d(t,{diagram:()=>V});var o=s(91942),i=s(33104),a=s(84017),r=s(59659),n=s(99278);s(92329),s(88641),s(31998),s(72794),s(7160);const d="rect",c="rectWithTitle",l="statediagram",p=`${l}-state`,b="transition",g=`${b} note-edge`,h=`${l}-note`,u=`${l}-cluster`,y=`${l}-cluster-alt`,f="parent",w="note",x="----",$=`${x}${w}`,m=`${x}${f}`,T="fill:none",S="fill: #333",k="text",v="normal";let D={},A=0;function B(e="",t=0,s="",o=x){return`state-${e}${null!==s&&s.length>0?`${o}${s}`:""}-${t}`}const L=(e,t,s,i,a,n)=>{const l=s.id,b=null==(x=i[l])?"":x.classes?x.classes.join(" "):"";var x;if("root"!==l){let t=d;!0===s.start&&(t="start"),!1===s.start&&(t="end"),s.type!==o.D&&(t=s.type),D[l]||(D[l]={id:l,shape:t,description:r.e.sanitizeText(l,(0,r.c)()),classes:`${b} ${p}`});const i=D[l];s.description&&(Array.isArray(i.description)?(i.shape=c,i.description.push(s.description)):i.description.length>0?(i.shape=c,i.description===l?i.description=[s.description]:i.description=[i.description,s.description]):(i.shape=d,i.description=s.description),i.description=r.e.sanitizeTextOrArray(i.description,(0,r.c)())),1===i.description.length&&i.shape===c&&(i.shape=d),!i.type&&s.doc&&(r.l.info("Setting cluster for ",l,E(s)),i.type="group",i.dir=E(s),i.shape=s.type===o.a?"divider":"roundedWithTitle",i.classes=i.classes+" "+u+" "+(n?y:""));const a={labelStyle:"",shape:i.shape,labelText:i.description,classes:i.classes,style:"",id:l,dir:i.dir,domId:B(l,A),type:i.type,padding:15,centerLabel:!0};if(s.note){const t={labelStyle:"",shape:"note",labelText:s.note.text,classes:h,style:"",id:l+$+"-"+A,domId:B(l,A,w),type:i.type,padding:15},o={labelStyle:"",shape:"noteGroup",labelText:s.note.text,classes:i.classes,style:"",id:l+m,domId:B(l,A,f),type:"group",padding:0};A++;const r=l+m;e.setNode(r,o),e.setNode(t.id,t),e.setNode(l,a),e.setParent(l,r),e.setParent(t.id,r);let n=l,d=t.id;"left of"===s.note.position&&(n=t.id,d=l),e.setEdge(n,d,{arrowhead:"none",arrowType:"",style:T,labelStyle:"",classes:g,arrowheadStyle:S,labelpos:"c",labelType:k,thickness:v})}else e.setNode(l,a)}t&&"root"!==t.id&&(r.l.trace("Setting node ",l," to be child of its parent ",t.id),e.setParent(l,t.id)),s.doc&&(r.l.trace("Adding nodes children "),C(e,s,s.doc,i,a,!n))},C=(e,t,s,i,a,n)=>{r.l.trace("items",s),s.forEach((s=>{switch(s.stmt){case o.b:case o.D:L(e,t,s,i,a,n);break;case o.S:{L(e,t,s.state1,i,a,n),L(e,t,s.state2,i,a,n);const o={id:"edge"+A,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:T,labelStyle:"",label:r.e.sanitizeText(s.description,(0,r.c)()),arrowheadStyle:S,labelpos:"c",labelType:k,thickness:v,classes:b};e.setEdge(s.state1.id,s.state2.id,o,A),A++}}}))},E=(e,t=o.c)=>{let s=t;if(e.doc)for(let t=0;t{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,o.d.clear()}}}}]); \ No newline at end of file diff --git a/assets/chunk.46d13af50375b5b9a298.js.br b/assets/chunk.46d13af50375b5b9a298.js.br new file mode 100644 index 00000000..8518c0c2 Binary files /dev/null and b/assets/chunk.46d13af50375b5b9a298.js.br differ diff --git a/assets/chunk.46d13af50375b5b9a298.js.gz b/assets/chunk.46d13af50375b5b9a298.js.gz new file mode 100644 index 00000000..2e9da7bb Binary files /dev/null and b/assets/chunk.46d13af50375b5b9a298.js.gz differ diff --git a/assets/chunk.64798dd1b3de6d00c7a1.js b/assets/chunk.64798dd1b3de6d00c7a1.js new file mode 100644 index 00000000..6bab441e --- /dev/null +++ b/assets/chunk.64798dd1b3de6d00c7a1.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[273],{10273:(t,n,e)=>{e.d(n,{diagram:()=>R});var i=e(59659),s=e(84017);function r(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e>n||void 0===e&&n>=n)&&(e=n);else{let i=-1;for(let s of t)null!=(s=n(s,++i,t))&&(e>s||void 0===e&&s>=s)&&(e=s)}return e}function o(t){return t.target.depth}function c(t,n){return t.sourceLinks.length?t.depth:n-1}function l(t,n){let e=0;if(void 0===n)for(let n of t)(n=+n)&&(e+=n);else{let i=-1;for(let s of t)(s=+n(s,++i,t))&&(e+=s)}return e}function h(t,n){let e;if(void 0===n)for(const n of t)null!=n&&(e=n)&&(e=n);else{let i=-1;for(let s of t)null!=(s=n(s,++i,t))&&(e=s)&&(e=s)}return e}function a(t){return function(){return t}}function u(t,n){return y(t.source,n.source)||t.index-n.index}function f(t,n){return y(t.target,n.target)||t.index-n.index}function y(t,n){return t.y0-n.y0}function d(t){return t.value}function p(t){return t.index}function g(t){return t.nodes}function _(t){return t.links}function x(t,n){const e=t.get(n);if(!e)throw new Error("missing: "+n);return e}function k({nodes:t}){for(const n of t){let t=n.y0,e=t;for(const e of n.sourceLinks)e.y0=t+e.width/2,t+=e.width;for(const t of n.targetLinks)t.y1=e+t.width/2,e+=t.width}}var m=Math.PI,v=2*m,b=1e-6,w=v-b;function L(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function E(){return new L}L.prototype=E.prototype={constructor:L,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,e,i){this._+="Q"+ +t+","+ +n+","+(this._x1=+e)+","+(this._y1=+i)},bezierCurveTo:function(t,n,e,i,s,r){this._+="C"+ +t+","+ +n+","+ +e+","+ +i+","+(this._x1=+s)+","+(this._y1=+r)},arcTo:function(t,n,e,i,s){t=+t,n=+n,e=+e,i=+i,s=+s;var r=this._x1,o=this._y1,c=e-t,l=i-n,h=r-t,a=o-n,u=h*h+a*a;if(s<0)throw new Error("negative radius: "+s);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(u>b)if(Math.abs(a*c-l*h)>b&&s){var f=e-r,y=i-o,d=c*c+l*l,p=f*f+y*y,g=Math.sqrt(d),_=Math.sqrt(u),x=s*Math.tan((m-Math.acos((d+u-p)/(2*g*_)))/2),k=x/_,v=x/g;Math.abs(k-1)>b&&(this._+="L"+(t+k*h)+","+(n+k*a)),this._+="A"+s+","+s+",0,0,"+ +(a*f>h*y)+","+(this._x1=t+v*c)+","+(this._y1=n+v*l)}else this._+="L"+(this._x1=t)+","+(this._y1=n)},arc:function(t,n,e,i,s,r){t=+t,n=+n,r=!!r;var o=(e=+e)*Math.cos(i),c=e*Math.sin(i),l=t+o,h=n+c,a=1^r,u=r?i-s:s-i;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+l+","+h:(Math.abs(this._x1-l)>b||Math.abs(this._y1-h)>b)&&(this._+="L"+l+","+h),e&&(u<0&&(u=u%v+v),u>w?this._+="A"+e+","+e+",0,1,"+a+","+(t-o)+","+(n-c)+"A"+e+","+e+",0,1,"+a+","+(this._x1=l)+","+(this._y1=h):u>b&&(this._+="A"+e+","+e+",0,"+ +(u>=m)+","+a+","+(this._x1=t+e*Math.cos(s))+","+(this._y1=n+e*Math.sin(s))))},rect:function(t,n,e,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +e+"v"+ +i+"h"+-e+"Z"},toString:function(){return this._}};const A=E;var S=Array.prototype.slice;function M(t){return function(){return t}}function I(t){return t[0]}function T(t){return t[1]}function O(t){return t.source}function C(t){return t.target}function D(t,n,e,i,s){t.moveTo(n,e),t.bezierCurveTo(n=(n+i)/2,e,n,s,i,s)}function P(t){return[t.source.x1,t.y0]}function N(t){return[t.target.x0,t.y1]}function $(){return function(t){var n=O,e=C,i=I,s=T,r=null;function o(){var o,c=S.call(arguments),l=n.apply(this,c),h=e.apply(this,c);if(r||(r=o=A()),t(r,+i.apply(this,(c[0]=l,c)),+s.apply(this,c),+i.apply(this,(c[0]=h,c)),+s.apply(this,c)),o)return r=null,o+""||null}return o.source=function(t){return arguments.length?(n=t,o):n},o.target=function(t){return arguments.length?(e=t,o):e},o.x=function(t){return arguments.length?(i="function"==typeof t?t:M(+t),o):i},o.y=function(t){return arguments.length?(s="function"==typeof t?t:M(+t),o):s},o.context=function(t){return arguments.length?(r=null==t?null:t,o):r},o}(D).source(P).target(N)}e(92329),e(88641),e(31998);var j=function(){var t=function(t,n,e,i){for(e=e||{},i=t.length;i--;e[t[i]]=n);return e},n=[1,9],e=[1,10],i=[1,5,10,12],s={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(t,n,e,i,s,r,o){var c=r.length-1;switch(s){case 7:const t=i.findOrCreateNode(r[c-4].trim().replaceAll('""','"')),n=i.findOrCreateNode(r[c-2].trim().replaceAll('""','"')),e=parseFloat(r[c].trim());i.addLink(t,n,e);break;case 8:case 9:case 11:this.$=r[c];break;case 10:this.$=r[c-1]}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:e},{1:[2,6],7:11,10:[1,12]},t(e,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(i,[2,8]),t(i,[2,9]),{19:[1,16]},t(i,[2,11]),{1:[2,1]},{1:[2,5]},t(e,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:e},{15:18,16:7,17:8,18:n,20:e},{18:[1,19]},t(e,[2,3]),{12:[1,20]},t(i,[2,10]),{15:21,16:7,17:8,18:n,20:e},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(t,n){if(!n.recoverable){var e=new Error(t);throw e.hash=n,e}this.trace(t)},parse:function(t){var n=[0],e=[],i=[null],s=[],r=this.table,o="",c=0,l=0,h=s.slice.call(arguments,1),a=Object.create(this.lexer),u={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(u.yy[f]=this.yy[f]);a.setInput(t,u.yy),u.yy.lexer=a,u.yy.parser=this,void 0===a.yylloc&&(a.yylloc={});var y=a.yylloc;s.push(y);var d=a.options&&a.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,g,_,x,k,m,v,b,w,L={};;){if(g=n[n.length-1],this.defaultActions[g]?_=this.defaultActions[g]:(null==p&&(w=void 0,"number"!=typeof(w=e.pop()||a.lex()||1)&&(w instanceof Array&&(w=(e=w).pop()),w=this.symbols_[w]||w),p=w),_=r[g]&&r[g][p]),void 0===_||!_.length||!_[0]){var E;for(k in b=[],r[g])this.terminals_[k]&&k>2&&b.push("'"+this.terminals_[k]+"'");E=a.showPosition?"Parse error on line "+(c+1)+":\n"+a.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(E,{text:a.match,token:this.terminals_[p]||p,line:a.yylineno,loc:y,expected:b})}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+p);switch(_[0]){case 1:n.push(p),i.push(a.yytext),s.push(a.yylloc),n.push(_[1]),p=null,l=a.yyleng,o=a.yytext,c=a.yylineno,y=a.yylloc;break;case 2:if(m=this.productions_[_[1]][1],L.$=i[i.length-m],L._$={first_line:s[s.length-(m||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(m||1)].first_column,last_column:s[s.length-1].last_column},d&&(L._$.range=[s[s.length-(m||1)].range[0],s[s.length-1].range[1]]),void 0!==(x=this.performAction.apply(L,[o,l,c,u.yy,_[1],i,s].concat(h))))return x;m&&(n=n.slice(0,-1*m*2),i=i.slice(0,-1*m),s=s.slice(0,-1*m)),n.push(this.productions_[_[1]][0]),i.push(L.$),s.push(L._$),v=r[n[n.length-2]][n[n.length-1]],n.push(v);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,n){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,n)},setInput:function(t,n){return this.yy=n||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var n=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===i.length?this.yylloc.first_column:0)+i[i.length-e.length].length-e[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),n=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+n+"^"},test_match:function(t,n){var e,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,n,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,n,e,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;rn[0].length)){if(n=e,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,s[r])))return t;if(this._backtrack){n=!1;continue}return!1}if(!this.options.flex)break}return n?!1!==(t=this.test_match(n,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,n,e,i){switch(e){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},rules:[/^(?:sankey-beta\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};function o(){this.yy={}}return s.lexer=r,o.prototype=s,s.Parser=o,new o}();j.parser=j;const z=j;let U=[],F=[],W={};class q{constructor(t,n,e=0){this.source=t,this.target=n,this.value=e}}class G{constructor(t){this.ID=t}}const V={nodesMap:W,getConfig:()=>(0,i.c)().sankey,getNodes:()=>F,getLinks:()=>U,getGraph:()=>({nodes:F.map((t=>({id:t.ID}))),links:U.map((t=>({source:t.source.ID,target:t.target.ID,value:t.value})))}),addLink:(t,n,e)=>{U.push(new q(t,n,e))},findOrCreateNode:t=>(t=i.e.sanitizeText(t,(0,i.c)()),W[t]||(W[t]=new G(t),F.push(W[t])),W[t]),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,getDiagramTitle:i.t,setDiagramTitle:i.q,clear:()=>{U=[],F=[],W={},(0,i.v)()}},X=class t{static next(n){return new t(n+ ++t.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}};X.count=0;let K=X;const Q={left:function(t){return t.depth},right:function(t,n){return n-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?r(t.sourceLinks,o)-1:0},justify:c},Y={draw:function(t,n,e,o){const{securityLevel:m,sankey:v}=(0,i.c)(),b=i.K.sankey;let w;"sandbox"===m&&(w=(0,s.Ltv)("#i"+n));const L="sandbox"===m?(0,s.Ltv)(w.nodes()[0].contentDocument.body):(0,s.Ltv)("body"),E="sandbox"===m?L.select(`[id="${n}"]`):(0,s.Ltv)(`[id="${n}"]`),A=(null==v?void 0:v.width)??b.width,S=(null==v?void 0:v.height)??b.width,M=(null==v?void 0:v.useMaxWidth)??b.useMaxWidth,I=(null==v?void 0:v.nodeAlignment)??b.nodeAlignment,T=(null==v?void 0:v.prefix)??b.prefix,O=(null==v?void 0:v.suffix)??b.suffix,C=(null==v?void 0:v.showValues)??b.showValues,D=o.db.getGraph(),P=Q[I];(function(){let t,n,e,i=0,s=0,o=1,m=1,v=24,b=8,w=p,L=c,E=g,A=_,S=6;function M(){const c={nodes:E.apply(null,arguments),links:A.apply(null,arguments)};return function({nodes:t,links:n}){for(const[n,e]of t.entries())e.index=n,e.sourceLinks=[],e.targetLinks=[];const i=new Map(t.map(((n,e)=>[w(n,e,t),n])));for(const[t,e]of n.entries()){e.index=t;let{source:n,target:s}=e;"object"!=typeof n&&(n=e.source=x(i,n)),"object"!=typeof s&&(s=e.target=x(i,s)),n.sourceLinks.push(e),s.targetLinks.push(e)}if(null!=e)for(const{sourceLinks:n,targetLinks:i}of t)n.sort(e),i.sort(e)}(c),function({nodes:t}){for(const n of t)n.value=void 0===n.fixedValue?Math.max(l(n.sourceLinks,d),l(n.targetLinks,d)):n.fixedValue}(c),function({nodes:t}){const n=t.length;let e=new Set(t),i=new Set,s=0;for(;e.size;){for(const t of e){t.depth=s;for(const{target:n}of t.sourceLinks)i.add(n)}if(++s>n)throw new Error("circular link");e=i,i=new Set}}(c),function({nodes:t}){const n=t.length;let e=new Set(t),i=new Set,s=0;for(;e.size;){for(const t of e){t.height=s;for(const{source:n}of t.targetLinks)i.add(n)}if(++s>n)throw new Error("circular link");e=i,i=new Set}}(c),function(e){const c=function({nodes:t}){const e=h(t,(t=>t.depth))+1,s=(o-i-v)/(e-1),r=new Array(e);for(const n of t){const t=Math.max(0,Math.min(e-1,Math.floor(L.call(null,n,e))));n.layer=t,n.x0=i+t*s,n.x1=n.x0+v,r[t]?r[t].push(n):r[t]=[n]}if(n)for(const t of r)t.sort(n);return r}(e);t=Math.min(b,(m-s)/(h(c,(t=>t.length))-1)),function(n){const e=r(n,(n=>(m-s-(n.length-1)*t)/l(n,d)));for(const i of n){let n=s;for(const s of i){s.y0=n,s.y1=n+s.value*e,n=s.y1+t;for(const t of s.sourceLinks)t.width=t.value*e}n=(m-n+t)/(i.length+1);for(let t=0;t0))continue;let s=(n/i-t.y0)*e;t.y0+=s,t.y1+=s,P(t)}void 0===n&&r.sort(y),O(r,i)}}function T(t,e,i){for(let s=t.length-2;s>=0;--s){const r=t[s];for(const t of r){let n=0,i=0;for(const{target:e,value:s}of t.sourceLinks){let r=s*(e.layer-t.layer);n+=j(t,e)*r,i+=r}if(!(i>0))continue;let s=(n/i-t.y0)*e;t.y0+=s,t.y1+=s,P(t)}void 0===n&&r.sort(y),O(r,i)}}function O(n,e){const i=n.length>>1,r=n[i];D(n,r.y0-t,i-1,e),C(n,r.y1+t,i+1,e),D(n,m,n.length-1,e),C(n,s,0,e)}function C(n,e,i,s){for(;i1e-6&&(r.y0+=o,r.y1+=o),e=r.y1+t}}function D(n,e,i,s){for(;i>=0;--i){const r=n[i],o=(r.y1-e)*s;o>1e-6&&(r.y0-=o,r.y1-=o),e=r.y0-t}}function P({sourceLinks:t,targetLinks:n}){if(void 0===e){for(const{source:{sourceLinks:t}}of n)t.sort(f);for(const{target:{targetLinks:n}}of t)n.sort(u)}}function N(t){if(void 0===e)for(const{sourceLinks:n,targetLinks:e}of t)n.sort(f),e.sort(u)}function $(n,e){let i=n.y0-(n.sourceLinks.length-1)*t/2;for(const{target:s,width:r}of n.sourceLinks){if(s===e)break;i+=r+t}for(const{source:t,width:s}of e.targetLinks){if(t===n)break;i-=s}return i}function j(n,e){let i=e.y0-(e.targetLinks.length-1)*t/2;for(const{source:s,width:r}of e.targetLinks){if(s===n)break;i+=r+t}for(const{target:t,width:s}of n.sourceLinks){if(t===e)break;i-=s}return i}return M.update=function(t){return k(t),t},M.nodeId=function(t){return arguments.length?(w="function"==typeof t?t:a(t),M):w},M.nodeAlign=function(t){return arguments.length?(L="function"==typeof t?t:a(t),M):L},M.nodeSort=function(t){return arguments.length?(n=t,M):n},M.nodeWidth=function(t){return arguments.length?(v=+t,M):v},M.nodePadding=function(n){return arguments.length?(b=t=+n,M):b},M.nodes=function(t){return arguments.length?(E="function"==typeof t?t:a(t),M):E},M.links=function(t){return arguments.length?(A="function"==typeof t?t:a(t),M):A},M.linkSort=function(t){return arguments.length?(e=t,M):e},M.size=function(t){return arguments.length?(i=s=0,o=+t[0],m=+t[1],M):[o-i,m-s]},M.extent=function(t){return arguments.length?(i=+t[0][0],o=+t[1][0],s=+t[0][1],m=+t[1][1],M):[[i,s],[o,m]]},M.iterations=function(t){return arguments.length?(S=+t,M):S},M})().nodeId((t=>t.id)).nodeWidth(10).nodePadding(10+(C?15:0)).nodeAlign(P).extent([[0,0],[A,S]])(D);const N=(0,s.UMr)(s.zt);E.append("g").attr("class","nodes").selectAll(".node").data(D.nodes).join("g").attr("class","node").attr("id",(t=>(t.uid=K.next("node-")).id)).attr("transform",(function(t){return"translate("+t.x0+","+t.y0+")"})).attr("x",(t=>t.x0)).attr("y",(t=>t.y0)).append("rect").attr("height",(t=>t.y1-t.y0)).attr("width",(t=>t.x1-t.x0)).attr("fill",(t=>N(t.id))),E.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(D.nodes).join("text").attr("x",(t=>t.x0(t.y1+t.y0)/2)).attr("dy",(C?"0":"0.35")+"em").attr("text-anchor",(t=>t.x0C?`${t}\n${T}${Math.round(100*n)/100}${O}`:t));const j=E.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(D.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),z=(null==v?void 0:v.linkColor)||"gradient";if("gradient"===z){const t=j.append("linearGradient").attr("id",(t=>(t.uid=K.next("linearGradient-")).id)).attr("gradientUnits","userSpaceOnUse").attr("x1",(t=>t.source.x1)).attr("x2",(t=>t.target.x0));t.append("stop").attr("offset","0%").attr("stop-color",(t=>N(t.source.id))),t.append("stop").attr("offset","100%").attr("stop-color",(t=>N(t.target.id)))}let U;switch(z){case"gradient":U=t=>t.uid;break;case"source":U=t=>N(t.source.id);break;case"target":U=t=>N(t.target.id);break;default:U=z}j.append("path").attr("d",$()).attr("stroke",U).attr("stroke-width",(t=>Math.max(1,t.width))),(0,i.o)(void 0,E,0,M)}},B=z.parse.bind(z);z.parse=t=>B((t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim())(t));const R={parser:z,db:V,renderer:Y}}}]); \ No newline at end of file diff --git a/assets/chunk.64798dd1b3de6d00c7a1.js.br b/assets/chunk.64798dd1b3de6d00c7a1.js.br new file mode 100644 index 00000000..ea0ca6ef Binary files /dev/null and b/assets/chunk.64798dd1b3de6d00c7a1.js.br differ diff --git a/assets/chunk.64798dd1b3de6d00c7a1.js.gz b/assets/chunk.64798dd1b3de6d00c7a1.js.gz new file mode 100644 index 00000000..4d78c5bd Binary files /dev/null and b/assets/chunk.64798dd1b3de6d00c7a1.js.gz differ diff --git a/assets/chunk.6dd509fc6f8ea9d8133f.js b/assets/chunk.6dd509fc6f8ea9d8133f.js new file mode 100644 index 00000000..8c0cbfa2 --- /dev/null +++ b/assets/chunk.6dd509fc6f8ea9d8133f.js @@ -0,0 +1 @@ +(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[650],{19879:function(t){t.exports=function(){"use strict";return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var s=this.$utils(),r=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return s.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return s.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return s.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}}));return i.bind(this)(r)}}}()},78453:function(t){t.exports=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,i=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,r={},a=function(t){return(t=+t)+(t>68?1900:2e3)},o=function(t){return function(e){this[t]=+e}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],l=function(t){var e=r[t];return e&&(e.indexOf?e:e.s.concat(e.f))},d=function(t,e){var n,i=r.meridiem;if(i){for(var s=1;s<=24;s+=1)if(t.indexOf(i(s,0,e))>-1){n=s>12;break}}else n=t===(e?"pm":"PM");return n},u={A:[s,function(t){this.afternoon=d(t,!1)}],a:[s,function(t){this.afternoon=d(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,o("seconds")],ss:[i,o("seconds")],m:[i,o("minutes")],mm:[i,o("minutes")],H:[i,o("hours")],h:[i,o("hours")],HH:[i,o("hours")],hh:[i,o("hours")],D:[i,o("day")],DD:[n,o("day")],Do:[s,function(t){var e=r.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[i,o("month")],MM:[n,o("month")],MMM:[s,function(t){var e=l("months"),n=(l("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[s,function(t){var e=l("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,o("year")],YY:[n,function(t){this.year=a(t)}],YYYY:[/\d{4}/,o("year")],Z:c,ZZ:c};function h(n){var i,s;i=n,s=r&&r.formats;for(var a=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var r=i&&i.toUpperCase();return n||s[i]||t[i]||s[r].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),o=a.length,c=0;c-1)return new Date(("X"===e?1e3:1)*t);var i=h(e)(t),s=i.year,r=i.month,a=i.day,o=i.hours,c=i.minutes,l=i.seconds,d=i.milliseconds,u=i.zone,f=new Date,y=a||(s||r?1:f.getDate()),m=s||f.getFullYear(),k=0;s&&!r||(k=r>0?r-1:f.getMonth());var p=o||0,g=c||0,b=l||0,T=d||0;return u?new Date(Date.UTC(m,k,y,p,g,b,T+60*u.offset*1e3)):n?new Date(Date.UTC(m,k,y,p,g,b,T)):new Date(m,k,y,p,g,b,T)}catch(t){return new Date("")}}(e,o,i),this.init(),u&&!0!==u&&(this.$L=this.locale(u).$L),d&&e!=this.format(o)&&(this.$d=new Date("")),r={}}else if(o instanceof Array)for(var f=o.length,y=1;y<=f;y+=1){a[1]=o[y-1];var m=n.apply(this,a);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}y===f&&(this.$d=new Date(""))}else s.call(this,t)}}}()},60657:function(t){t.exports=function(){"use strict";var t="day";return function(e,n,i){var s=function(e){return e.add(4-e.isoWeekday(),t)},r=n.prototype;r.isoWeekYear=function(){return s(this).year()},r.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,r,a,o=s(this),c=(n=this.isoWeekYear(),a=4-(r=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),r.isoWeekday()>4&&(a+=7),r.add(a,t));return o.diff(c,"week")+1},r.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var a=r.startOf;r.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):a.bind(this)(t,e)}}}()},7650:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>q});var i=n(88641),s=n(92329),r=n(60657),a=n(78453),o=n(19879),c=n(59659),l=n(84017),d=(n(31998),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],n=[1,25],i=[1,26],s=[1,27],r=[1,28],a=[1,29],o=[1,30],c=[1,31],l=[1,9],d=[1,10],u=[1,11],h=[1,12],f=[1,13],y=[1,14],m=[1,15],k=[1,16],p=[1,18],g=[1,19],b=[1,20],T=[1,21],v=[1,22],x=[1,24],w=[1,32],_={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.setWeekday("monday");break;case 9:i.setWeekday("tuesday");break;case 10:i.setWeekday("wednesday");break;case 11:i.setWeekday("thursday");break;case 12:i.setWeekday("friday");break;case 13:i.setWeekday("saturday");break;case 14:i.setWeekday("sunday");break;case 15:i.setDateFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 16:i.enableInclusiveEndDates(),this.$=r[o].substr(18);break;case 17:i.TopAxis(),this.$=r[o].substr(8);break;case 18:i.setAxisFormat(r[o].substr(11)),this.$=r[o].substr(11);break;case 19:i.setTickInterval(r[o].substr(13)),this.$=r[o].substr(13);break;case 20:i.setExcludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 21:i.setIncludes(r[o].substr(9)),this.$=r[o].substr(9);break;case 22:i.setTodayMarker(r[o].substr(12)),this.$=r[o].substr(12);break;case 24:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 25:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 26:case 27:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 28:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 30:i.addTask(r[o-1],r[o]),this.$="task";break;case 31:this.$=r[o-1],i.setClickEvent(r[o-1],r[o],null);break;case 32:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],r[o]);break;case 33:this.$=r[o-2],i.setClickEvent(r[o-2],r[o-1],null),i.setLink(r[o-2],r[o]);break;case 34:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-2],r[o-1]),i.setLink(r[o-3],r[o]);break;case 35:this.$=r[o-2],i.setClickEvent(r[o-2],r[o],null),i.setLink(r[o-2],r[o-1]);break;case 36:this.$=r[o-3],i.setClickEvent(r[o-3],r[o-1],r[o]),i.setLink(r[o-3],r[o-2]);break;case 37:this.$=r[o-1],i.setLink(r[o-1],r[o]);break;case 38:case 44:this.$=r[o-1]+" "+r[o];break;case 39:case 40:case 42:this.$=r[o-2]+" "+r[o-1]+" "+r[o];break;case 41:case 43:this.$=r[o-3]+" "+r[o-2]+" "+r[o-1]+" "+r[o]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:i,14:s,15:r,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:T,33:v,34:23,35:x,37:w},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:33,11:17,12:n,13:i,14:s,15:r,16:a,17:o,18:c,19:l,20:d,21:u,22:h,23:f,24:y,25:m,26:k,27:p,28:g,30:b,32:T,33:v,34:23,35:x,37:w},t(e,[2,5]),t(e,[2,6]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),{29:[1,34]},{31:[1,35]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),{36:[1,36]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{38:[1,37],40:[1,38]},t(e,[2,4]),t(e,[2,25]),t(e,[2,26]),t(e,[2,30]),t(e,[2,31],{39:[1,39],40:[1,40]}),t(e,[2,37],{38:[1,41]}),t(e,[2,32],{40:[1,42]}),t(e,[2,33]),t(e,[2,35],{39:[1,43]}),t(e,[2,34]),t(e,[2,36])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),d=Object.create(this.lexer),u={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(u.yy[h]=this.yy[h]);d.setInput(t,u.yy),u.yy.lexer=d,u.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var f=d.yylloc;s.push(f);var y=d.options&&d.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,k,p,g,b,T,v,x,w,_={};;){if(k=e[e.length-1],this.defaultActions[k]?p=this.defaultActions[k]:(null==m&&(w=void 0,"number"!=typeof(w=n.pop()||d.lex()||1)&&(w instanceof Array&&(w=(n=w).pop()),w=this.symbols_[w]||w),m=w),p=r[k]&&r[k][m]),void 0===p||!p.length||!p[0]){var $;for(b in x=[],r[k])this.terminals_[b]&&b>2&&x.push("'"+this.terminals_[b]+"'");$=d.showPosition?"Parse error on line "+(o+1)+":\n"+d.showPosition()+"\nExpecting "+x.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==m?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError($,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:f,expected:x})}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+k+", token: "+m);switch(p[0]){case 1:e.push(m),i.push(d.yytext),s.push(d.yylloc),e.push(p[1]),m=null,c=d.yyleng,a=d.yytext,o=d.yylineno,f=d.yylloc;break;case 2:if(T=this.productions_[p[1]][1],_.$=i[i.length-T],_._$={first_line:s[s.length-(T||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(T||1)].first_column,last_column:s[s.length-1].last_column},y&&(_._$.range=[s[s.length-(T||1)].range[0],s[s.length-1].range[1]]),void 0!==(g=this.performAction.apply(_,[a,c,o,u.yy,p[1],i,s].concat(l))))return g;T&&(e=e.slice(0,-1*T*2),i=i.slice(0,-1*T),s=s.slice(0,-1*T)),e.push(this.productions_[p[1]][0]),i.push(_.$),s.push(_._$),v=r[e[e.length-2]][e[e.length-1]],e.push(v);break;case 3:return!0}}return!0}},$={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 15:case 18:case 21:case 24:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:break;case 11:return 10;case 14:this.begin("href");break;case 16:return 40;case 17:this.begin("callbackname");break;case 19:this.popState(),this.begin("callbackargs");break;case 20:return 38;case 22:return 39;case 23:this.begin("click");break;case 25:return 37;case 26:return 4;case 27:return 19;case 28:return 20;case 29:return 21;case 30:return 22;case 31:return 23;case 32:return 25;case 33:return 24;case 34:return 26;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return"date";case 43:return 27;case 44:return"accDescription";case 45:return 33;case 46:return 35;case 47:return 36;case 48:return":";case 49:return 6;case 50:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],inclusive:!0}}};function D(){this.yy={}}return _.lexer=$,D.prototype=_,_.Parser=D,new D}());d.parser=d;const u=d;s.extend(r),s.extend(a),s.extend(o);let h,f="",y="",m="",k=[],p=[],g={},b=[],T=[],v="",x="";const w=["active","done","crit","milestone"];let _=[],$=!1,D=!1,C="sunday",S=0;const E=function(t,e,n,i){return!i.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends"))||!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim())))},A=function(t,e,n,i){if(!n.length||t.manualEndTime)return;let r,a;r=t.startTime instanceof Date?s(t.startTime):s(t.startTime,e,!0),r=r.add(1,"d"),a=t.endTime instanceof Date?s(t.endTime):s(t.endTime,e,!0);const[o,c]=M(r,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c},M=function(t,e,n,i,s){let r=!1,a=null;for(;t<=e;)r||(a=e.toDate()),r=E(t,n,i,s),r&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,a]},Y=function(t,e,n){n=n.trim();const i=/^after\s+(?[\d\w- ]+)/.exec(n);if(null!==i){let t=null;for(const e of i.groups.ids.split(" ")){let n=N(e);void 0!==n&&(!t||n.endTime>t.endTime)&&(t=n)}if(t)return t.endTime;const e=new Date;return e.setHours(0,0,0,0),e}let r=s(n,e.trim(),!0);if(r.isValid())return r.toDate();{c.l.debug("Invalid date:"+n),c.l.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime())||t.getFullYear()<-1e4||t.getFullYear()>1e4)throw new Error("Invalid date:"+n);return t}},L=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},I=function(t,e,n,i=!1){n=n.trim();const r=/^until\s+(?[\d\w- ]+)/.exec(n);if(null!==r){let t=null;for(const e of r.groups.ids.split(" ")){let n=N(e);void 0!==n&&(!t||n.startTime(0,c.c)().gantt,clear:function(){b=[],T=[],v="",_=[],O=0,F=void 0,P=void 0,B=[],f="",y="",x="",h=void 0,m="",k=[],p=[],$=!1,D=!1,S=0,g={},(0,c.v)(),C="sunday"},setDateFormat:function(t){f=t},getDateFormat:function(){return f},enableInclusiveEndDates:function(){$=!0},endDatesAreInclusive:function(){return $},enableTopAxis:function(){D=!0},topAxisEnabled:function(){return D},setAxisFormat:function(t){y=t},getAxisFormat:function(){return y},setTickInterval:function(t){h=t},getTickInterval:function(){return h},setTodayMarker:function(t){m=t},getTodayMarker:function(){return m},setAccTitle:c.s,getAccTitle:c.g,setDiagramTitle:c.q,getDiagramTitle:c.t,setDisplayMode:function(t){x=t},getDisplayMode:function(){return x},setAccDescription:c.b,getAccDescription:c.a,addSection:function(t){v=t,b.push(t)},getSections:function(){return b},getTasks:function(){let t=G(),e=0;for(;!t&&e<10;)t=G(),e++;return T=B,T},addTask:function(t,e){const n={section:v,type:v,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),s={};R(i,s,w);for(let t=0;t{c.u.runFunc(e,...i)}))}(t,e,n)})),H(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,c.c)().securityLevel&&(n=(0,i.Jf)(e)),t.split(",").forEach((function(t){void 0!==N(t)&&(j(t,(()=>{window.open(n,"_self")})),g[t]=n)})),H(t,"clickable")},getLinks:function(){return g},bindFunctions:function(t){_.forEach((function(e){e(t)}))},parseDuration:L,isInvalidDate:E,setWeekday:function(t){C=t},getWeekday:function(){return C}};function R(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const s=new RegExp("^\\s*"+n+"\\s*$");t[0].match(s)&&(e[n]=!0,t.shift(1),i=!0)}))}const V={monday:l.ABi,tuesday:l.PGu,wednesday:l.GuW,thursday:l.Mol,friday:l.TUC,saturday:l.rGn,sunday:l.YPH},Z=(t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),s=0;for(const t of i)for(let i=0;i=n[i]){n[i]=t.endTime,t.order=i+e,i>s&&(s=i);break}return s};let X;const q={parser:u,db:U,renderer:{setConf:function(){c.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const r=(0,c.c)().gantt,a=(0,c.c)().securityLevel;let o;"sandbox"===a&&(o=(0,l.Ltv)("#i"+e));const d="sandbox"===a?(0,l.Ltv)(o.nodes()[0].contentDocument.body):(0,l.Ltv)("body"),u="sandbox"===a?o.nodes()[0].contentDocument:document,h=u.getElementById(e);X=h.parentElement.offsetWidth,void 0===X&&(X=1200),void 0!==r.useWidth&&(X=r.useWidth);const f=i.db.getTasks();let y=[];for(const t of f)y.push(t.type);y=function(t){const e={},n=[];for(let i=0,s=t.length;ie.type===t)).length}h.setAttribute("viewBox","0 0 "+X+" "+k);const p=d.select(`[id="${e}"]`),g=(0,l.w7C)().domain([(0,l.jkA)(f,(function(t){return t.startTime})),(0,l.T9B)(f,(function(t){return t.endTime}))]).rangeRound([0,X-r.leftPadding-r.rightPadding]);f.sort((function(t,e){const n=t.startTime,i=e.startTime;let s=0;return n>i?s=1:nf)&&(f=e);if(!h||!f)return;if(s(f).diff(s(h),"year")>5)return void c.l.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");const y=i.db.getDateFormat(),m=[];let k=null,b=s(h);for(;b.valueOf()<=f;)i.db.isInvalidDate(b,y,d,u)?k?k.end=b:k={start:b,end:b}:k&&(m.push(k),k=null),b=b.add(1,"d");p.append("g").selectAll("rect").data(m).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return g(t.start)+n})).attr("y",r.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return g(e)-g(t.start)})).attr("height",o-e-r.gridLineStartPadding).attr("transform-origin",(function(e,i){return(g(e.start)+n+.5*(g(e.end)-g(e.start))).toString()+"px "+(i*t+.5*o).toString()+"px"})).attr("class","exclude-range")}(d,h,f,0,a,t,i.db.getExcludes(),i.db.getIncludes()),function(t,e,n,s){let a=(0,l.l78)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,l.DCK)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const o=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==o){const t=o[1],e=o[2],n=i.db.getWeekday()||r.weekday;switch(e){case"millisecond":a.ticks(l.t6C.every(t));break;case"second":a.ticks(l.ucG.every(t));break;case"minute":a.ticks(l.wXd.every(t));break;case"hour":a.ticks(l.Agd.every(t));break;case"day":a.ticks(l.UAC.every(t));break;case"week":a.ticks(V[n].every(t));break;case"month":a.ticks(l.Ui6.every(t))}}if(p.append("g").attr("class","grid").attr("transform","translate("+t+", "+(s-50)+")").call(a).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||r.topAxis){let n=(0,l.tlR)(g).tickSize(-s+e+r.gridLineStartPadding).tickFormat((0,l.DCK)(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==o){const t=o[1],e=o[2],s=i.db.getWeekday()||r.weekday;switch(e){case"millisecond":n.ticks(l.t6C.every(t));break;case"second":n.ticks(l.ucG.every(t));break;case"minute":n.ticks(l.wXd.every(t));break;case"hour":n.ticks(l.Agd.every(t));break;case"day":n.ticks(l.UAC.every(t));break;case"week":n.ticks(V[s].every(t));break;case"month":n.ticks(l.Ui6.every(t))}}p.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(f,h,0,a),function(t,n,s,a,o,d,u){const h=[...new Set(t.map((t=>t.order)))].map((e=>t.find((t=>t.order===e))));p.append("g").selectAll("rect").data(h).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+s-2})).attr("width",(function(){return u-r.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of y.entries())if(t.type===n)return"section section"+e%r.numberSectionStyles;return"section section0"}));const f=p.append("g").selectAll("rect").data(t).enter(),m=i.db.getLinks();if(f.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))-.5*o:g(t.startTime)+a})).attr("y",(function(t,e){return t.order*n+s})).attr("width",(function(t){return t.milestone?o:g(t.renderEndTime||t.endTime)-g(t.startTime)})).attr("height",o).attr("transform-origin",(function(t,e){return e=t.order,(g(t.startTime)+a+.5*(g(t.endTime)-g(t.startTime))).toString()+"px "+(e*n+s+.5*o).toString()+"px"})).attr("class",(function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(const[e,i]of y.entries())t.type===i&&(n=e%r.numberSectionStyles);let i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),i+=n,i+=" "+e,"task"+i})),f.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",r.fontSize).attr("x",(function(t){let e=g(t.startTime),n=g(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(g(t.endTime)-g(t.startTime))-.5*o),t.milestone&&(n=e+o);const i=this.getBBox().width;return i>n-e?n+i+1.5*r.leftPadding>u?e+a-5:n+a+5:(n-e)/2+e+a})).attr("y",(function(t,e){return t.order*n+r.barHeight/2+(r.fontSize/2-2)+s})).attr("text-height",o).attr("class",(function(t){const e=g(t.startTime);let n=g(t.endTime);t.milestone&&(n=e+o);const i=this.getBBox().width;let s="";t.classes.length>0&&(s=t.classes.join(" "));let a=0;for(const[e,n]of y.entries())t.type===n&&(a=e%r.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+a:"activeText"+a),t.done?c=t.crit?c+" doneCritText"+a:c+" doneText"+a:t.crit&&(c=c+" critText"+a),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*r.leftPadding>u?s+" taskTextOutsideLeft taskTextOutside"+a+" "+c:s+" taskTextOutsideRight taskTextOutside"+a+" "+c+" width-"+i:s+" taskText taskText"+a+" "+c+" width-"+i})),"sandbox"===(0,c.c)().securityLevel){let t;t=(0,l.Ltv)("#i"+e);const n=t.nodes()[0].contentDocument;f.filter((function(t){return void 0!==m[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const s=e.parentNode;var r=n.createElement("a");r.setAttribute("xlink:href",m[t.id]),r.setAttribute("target","_top"),s.appendChild(r),r.appendChild(e),r.appendChild(i)}))}}(t,d,h,f,o,0,n),function(t,e){let n=0;const i=Object.keys(m).map((t=>[t,m[t]]));p.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(c.e.lineBreakRegex),n=-(e.length-1)/2,i=u.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=u.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=n,i.appendChild(e)}return i})).attr("x",10).attr("y",(function(s,r){if(!(r>0))return s[1]*t/2+e;for(let a=0;a`\n .mermaid-main-font {\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n }\n\n .grid .tick text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n }\n\n\n /* Special case clickable */\n\n .task.clickable {\n cursor: pointer;\n }\n\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.titleColor||t.textColor};\n font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);\n }\n`}}}]); \ No newline at end of file diff --git a/assets/chunk.6dd509fc6f8ea9d8133f.js.br b/assets/chunk.6dd509fc6f8ea9d8133f.js.br new file mode 100644 index 00000000..0e0ec886 Binary files /dev/null and b/assets/chunk.6dd509fc6f8ea9d8133f.js.br differ diff --git a/assets/chunk.6dd509fc6f8ea9d8133f.js.gz b/assets/chunk.6dd509fc6f8ea9d8133f.js.gz new file mode 100644 index 00000000..7d46180b Binary files /dev/null and b/assets/chunk.6dd509fc6f8ea9d8133f.js.gz differ diff --git a/assets/chunk.6fcc8c756e80accc0b23.js b/assets/chunk.6fcc8c756e80accc0b23.js new file mode 100644 index 00000000..741452d8 --- /dev/null +++ b/assets/chunk.6fcc8c756e80accc0b23.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[641],{97641:(t,e,n)=>{n.d(e,{diagram:()=>C});var i=n(59659),s=n(84017),r=n(40381),a=n(59409),o=n(88135),c=(n(92329),n(88641),n(31998),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,11,12,14,16,17,20,21],n=[1,9],i=[1,10],s=[1,11],r=[1,12],a=[1,13],o=[1,16],c=[1,17],l={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.getCommonDb().setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 9:this.$=r[o].trim(),i.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=r[o].trim(),i.getCommonDb().setAccDescription(this.$);break;case 12:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 15:i.addTask(r[o],0,""),this.$=r[o];break;case 16:i.addEvent(r[o].substr(2)),this.$=r[o]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:s,16:r,17:a,18:14,19:15,20:o,21:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:n,12:i,14:s,16:r,17:a,18:14,19:15,20:o,21:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,c=0,l=s.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var g=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,f,m,_,b,k,x,v,S,w={};;){if(f=e[e.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==y&&(S=void 0,"number"!=typeof(S=n.pop()||h.lex()||1)&&(S instanceof Array&&(S=(n=S).pop()),S=this.symbols_[S]||S),y=S),m=r[f]&&r[f][y]),void 0===m||!m.length||!m[0]){var $;for(b in v=[],r[f])this.terminals_[b]&&b>2&&v.push("'"+this.terminals_[b]+"'");$=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==y?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError($,{text:h.match,token:this.terminals_[y]||y,line:h.yylineno,loc:p,expected:v})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+y);switch(m[0]){case 1:e.push(y),i.push(h.yytext),s.push(h.yylloc),e.push(m[1]),y=null,c=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(k=this.productions_[m[1]][1],w.$=i[i.length-k],w._$={first_line:s[s.length-(k||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(k||1)].first_column,last_column:s[s.length-1].last_column},g&&(w._$.range=[s[s.length-(k||1)].range[0],s[s.length-1].range[1]]),void 0!==(_=this.performAction.apply(w,[a,c,o,d.yy,m[1],i,s].concat(l))))return _;k&&(e=e.slice(0,-1*k*2),i=i.slice(0,-1*k),s=s.slice(0,-1*k)),e.push(this.productions_[m[1]][0]),i.push(w.$),s.push(w._$),x=r[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},h={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};function d(){this.yy={}}return l.lexer=h,d.prototype=l,l.Parser=d,new d}());c.parser=c;const l=c;let h="",d=0;const u=[],p=[],g=[],y=()=>i.L,f=function(){u.length=0,p.length=0,h="",g.length=0,(0,i.v)()},m=function(t){h=t,u.push(t)},_=function(){return u},b=function(){let t=S(),e=0;for(;!t&&e<100;)t=S(),e++;return p.push(...g),p},k=function(t,e,n){const i={id:d++,section:h,type:h,task:t,score:e||0,events:n?[n]:[]};g.push(i)},x=function(t){g.find((t=>t.id===d-1)).events.push(t)},v=function(t){const e={section:h,type:h,description:t,task:t,classes:[]};p.push(e)},S=function(){let t=!0;for(const[e,n]of g.entries())g[e].processed,t=t&&n.processed;return t},w={clear:f,getCommonDb:y,addSection:m,getSections:_,getTasks:b,addTask:k,addTaskOrg:v,addEvent:x},$=Object.freeze(Object.defineProperty({__proto__:null,addEvent:x,addSection:m,addTask:k,addTaskOrg:v,clear:f,default:w,getCommonDb:y,getSections:_,getTasks:b},Symbol.toStringTag,{value:"Module"}));function E(t,e){t.each((function(){var t,n=(0,s.Ltv)(this),i=n.text().split(/(\s+|
)/).reverse(),r=[],a=n.attr("y"),o=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",a).attr("dy",o+"em");for(let s=0;se||"
"===t)&&(r.pop(),c.text(r.join(" ").trim()),r="
"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",a).attr("dy","1.1em").text(t))}))}const I=function(t,e,n,i){const s=n%12-1,r=t.append("g");e.section=s,r.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+s);const a=r.append("g"),o=r.append("g"),c=o.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(E,e.width).node().getBBox(),l=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*l*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,o.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)}(a,e,s),e},L=function(t,e,n){const i=t.append("g"),s=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(E,e.width).node().getBBox(),r=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),s.height+1.1*r*.5+e.padding},T=function(t,e,n,s,r,a,o,c,l,h,d){var u;for(const c of e){const e={descr:c.task,section:n,number:n,width:150,padding:20,maxHeight:a};i.l.debug("taskNode",e);const p=t.append("g").attr("class","taskWrapper"),g=I(p,e,n,o).height;if(i.l.debug("taskHeight after draw",g),p.attr("transform",`translate(${s}, ${r})`),a=Math.max(a,g),c.events){const e=t.append("g").attr("class","lineWrapper");let i=a;r+=100,i+=A(t,c.events,n,s,r,o),r-=100,e.append("line").attr("x1",s+95).attr("y1",r+a).attr("x2",s+95).attr("y2",r+a+(d?a:h)+l+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}s+=200,d&&!(null==(u=o.timeline)?void 0:u.disableMulticolor)&&n++}r-=10},A=function(t,e,n,s,r,a){let o=0;const c=r;r+=100;for(const c of e){const e={descr:c,section:n,number:n,width:150,padding:20,maxHeight:50};i.l.debug("eventNode",e);const l=t.append("g").attr("class","eventWrapper"),h=I(l,e,n,a).height;o+=h,l.attr("transform",`translate(${s}, ${r})`),r=r+10+h}return r=c,o},C={db:$,renderer:{setConf:()=>{},draw:function(t,e,n,r){var a,o;const c=(0,i.c)(),l=c.leftMargin??50;i.l.debug("timeline",r.db);const h=c.securityLevel;let d;"sandbox"===h&&(d=(0,s.Ltv)("#i"+e));const u=("sandbox"===h?(0,s.Ltv)(d.nodes()[0].contentDocument.body):(0,s.Ltv)("body")).select("#"+e);u.append("g");const p=r.db.getTasks(),g=r.db.getCommonDb().getDiagramTitle();i.l.debug("task",p),u.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");const y=r.db.getSections();i.l.debug("sections",y);let f=0,m=0,_=0,b=0,k=50+l,x=50;b=50;let v=0,S=!0;y.forEach((function(t){const e=L(u,{number:v,descr:t,section:v,width:150,padding:20,maxHeight:f},c);i.l.debug("sectionHeight before draw",e),f=Math.max(f,e+20)}));let w=0,$=0;i.l.debug("tasks.length",p.length);for(const[t,e]of p.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:m},s=L(u,n,c);i.l.debug("taskHeight before draw",s),m=Math.max(m,s+20),w=Math.max(w,e.events.length);let r=0;for(let t=0;t0?y.forEach((t=>{const e=p.filter((e=>e.section===t)),n={number:v,descr:t,section:v,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:f};i.l.debug("sectionNode",n);const s=u.append("g"),r=I(s,n,v,c);i.l.debug("sectionNode output",r),s.attr("transform",`translate(${k}, 50)`),x+=f+50,e.length>0&&T(u,e,v,k,x,m,c,0,$,f,!1),k+=200*Math.max(e.length,1),x=50,v++})):(S=!1,T(u,p,v,k,x,m,c,0,$,f,!0));const E=u.node().getBBox();i.l.debug("bounds",E),g&&u.append("text").text(g).attr("x",E.width/2-l).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),_=S?f+m+150:m+100,u.append("g").attr("class","lineWrapper").append("line").attr("x1",l).attr("y1",_).attr("x2",E.width+3*l).attr("y2",_).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.o)(void 0,u,(null==(a=c.timeline)?void 0:a.padding)??50,(null==(o=c.timeline)?void 0:o.useMaxWidth)??!1)}},parser:l,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e{r.d(e,{diagram:()=>M});var i=r(59659),a=r(33104),n=r(84017),s=r(72794);const o=[];for(let t=0;t<256;++t)o.push((t+256).toString(16).slice(1));const c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=function(t){if(!function(t){return"string"==typeof t&&c.test(t)}(t))throw TypeError("Invalid UUID");let e;const r=new Uint8Array(16);return r[0]=(e=parseInt(t.slice(0,8),16))>>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};function h(t,e,r,i){switch(t){case 0:return e&r^~e&i;case 1:case 3:return e^r^i;case 2:return e&r^e&i^r&i}}function d(t,e){return t<>>32-e}const y=function(){function t(t,e,r,i){var a;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r>>0;l=c,c=o,o=d(s,30)>>>0,s=a,a=n}r[0]=r[0]+a>>>0,r[1]=r[1]+s>>>0,r[2]=r[2]+o>>>0,r[3]=r[3]+c>>>0,r[4]=r[4]+l>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]}(n),n[6]=15&n[6]|80,n[8]=63&n[8]|128,r){i=i||0;for(let t=0;t<16;++t)r[i+t]=n[t];return r}return function(t,e=0){return o[t[e+0]]+o[t[e+1]]+o[t[e+2]]+o[t[e+3]]+"-"+o[t[e+4]]+o[t[e+5]]+"-"+o[t[e+6]]+o[t[e+7]]+"-"+o[t[e+8]]+o[t[e+9]]+"-"+o[t[e+10]]+o[t[e+11]]+o[t[e+12]]+o[t[e+13]]+o[t[e+14]]+o[t[e+15]]}(n)}try{t.name="v5"}catch(t){}return t.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",t.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",t}();r(92329),r(88641),r(31998);var u=function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[6,8,10,20,22,24,26,27,28],r=[1,10],i=[1,11],a=[1,12],n=[1,13],s=[1,14],o=[1,15],c=[1,21],l=[1,22],h=[1,23],d=[1,24],y=[1,25],u=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],p=[1,34],_=[27,28,46,47],f=[41,42,43,44,45],m=[17,34],E=[1,54],g=[1,53],O=[17,34,36,38],b={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(t,e,r,i,a,n,s){var o=n.length-1;switch(a){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=n[o];break;case 8:i.addEntity(n[o-4]),i.addEntity(n[o-2]),i.addRelationship(n[o-4],n[o],n[o-2],n[o-3]);break;case 9:i.addEntity(n[o-3]),i.addAttributes(n[o-3],n[o-1]);break;case 10:i.addEntity(n[o-2]);break;case 11:i.addEntity(n[o]);break;case 12:i.addEntity(n[o-6],n[o-4]),i.addAttributes(n[o-6],n[o-1]);break;case 13:i.addEntity(n[o-5],n[o-3]);break;case 14:i.addEntity(n[o-3],n[o-1]);break;case 15:case 16:this.$=n[o].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=n[o].trim(),i.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=n[o].replace(/"/g,"");break;case 21:case 29:this.$=[n[o]];break;case 22:n[o].push(n[o-1]),this.$=n[o];break;case 23:this.$={attributeType:n[o-1],attributeName:n[o]};break;case 24:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeKeyTypeList:n[o]};break;case 25:this.$={attributeType:n[o-2],attributeName:n[o-1],attributeComment:n[o]};break;case 26:this.$={attributeType:n[o-3],attributeName:n[o-2],attributeKeyTypeList:n[o-1],attributeComment:n[o]};break;case 30:n[o-2].push(n[o]),this.$=n[o-2];break;case 33:this.$={cardA:n[o],relType:n[o-1],cardB:n[o-2]};break;case 34:this.$=i.Cardinality.ZERO_OR_ONE;break;case 35:this.$=i.Cardinality.ZERO_OR_MORE;break;case 36:this.$=i.Cardinality.ONE_OR_MORE;break;case 37:this.$=i.Cardinality.ONLY_ONE;break;case 38:this.$=i.Cardinality.MD_PARENT;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:i,24:a,26:n,27:s,28:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:i,24:a,26:n,27:s,28:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:c,42:l,43:h,44:d,45:y}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(u,[2,19]),t(u,[2,20]),t(e,[2,4]),{11:29,27:s,28:o},{16:30,17:[1,31],29:32,30:33,34:p},{11:35,27:s,28:o},{40:36,46:[1,37],47:[1,38]},t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(_,[2,37]),t(_,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:p},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:c,42:l,43:h,44:d,45:y},t(f,[2,39]),t(f,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(m,[2,23],{32:50,33:51,35:52,37:E,38:g}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(m,[2,24],{33:56,36:[1,57],38:g}),t(m,[2,25]),t(O,[2,29]),t(m,[2,32]),t(O,[2,31]),{16:58,17:[1,59],29:32,30:33,34:p},t(m,[2,26]),{35:60,37:E},{17:[1,61]},t(e,[2,13]),t(O,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=[0],r=[],i=[null],a=[],n=this.table,s="",o=0,c=0,l=a.slice.call(arguments,1),h=Object.create(this.lexer),d={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(d.yy[y]=this.yy[y]);h.setInput(t,d.yy),d.yy.lexer=h,d.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;a.push(u);var p=h.options&&h.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,f,m,E,g,O,b,k,R,N={};;){if(f=e[e.length-1],this.defaultActions[f]?m=this.defaultActions[f]:(null==_&&(R=void 0,"number"!=typeof(R=r.pop()||h.lex()||1)&&(R instanceof Array&&(R=(r=R).pop()),R=this.symbols_[R]||R),_=R),m=n[f]&&n[f][_]),void 0===m||!m.length||!m[0]){var T;for(g in k=[],n[f])this.terminals_[g]&&g>2&&k.push("'"+this.terminals_[g]+"'");T=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(T,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:u,expected:k})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+_);switch(m[0]){case 1:e.push(_),i.push(h.yytext),a.push(h.yylloc),e.push(m[1]),_=null,c=h.yyleng,s=h.yytext,o=h.yylineno,u=h.yylloc;break;case 2:if(O=this.productions_[m[1]][1],N.$=i[i.length-O],N._$={first_line:a[a.length-(O||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(O||1)].first_column,last_column:a[a.length-1].last_column},p&&(N._$.range=[a[a.length-(O||1)].range[0],a[a.length-1].range[1]]),void 0!==(E=this.performAction.apply(N,[s,c,o,d.yy,m[1],i,a].concat(l))))return E;O&&(e=e.slice(0,-1*O*2),i=i.slice(0,-1*O),a=a.slice(0,-1*O)),e.push(this.productions_[m[1]][0]),i.push(N.$),a.push(N._$),b=n[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,i,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;ne[0].length)){if(e=r,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,r,i){switch(r){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}};function R(){this.yy={}}return b.lexer=k,R.prototype=b,b.Parser=R,new R}();u.parser=u;const p=u;let _={},f=[];const m=function(t,e=void 0){return void 0===_[t]?(_[t]={attributes:[],alias:e},i.l.info("Added new entity :",t)):_[t]&&!_[t].alias&&e&&(_[t].alias=e,i.l.info(`Add alias '${e}' to entity '${t}'`)),_[t]},E={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:()=>(0,i.c)().er,addEntity:m,addAttributes:function(t,e){let r,a=m(t);for(r=e.length-1;r>=0;r--)a.attributes.push(e[r]),i.l.debug("Added attribute ",e[r].attributeName)},getEntities:()=>_,addRelationship:function(t,e,r,a){let n={entityA:t,roleA:e,entityB:r,relSpec:a};f.push(n),i.l.debug("Added new relationship :",n)},getRelationships:()=>f,clear:function(){_={},f=[],(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.q,getDiagramTitle:i.t},g={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},O=g,b=/[^\dA-Za-z](\W)*/g;let k={},R=new Map;const N=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let T=0;const x="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function A(t=""){return t.length>0?`${t}-`:""}const M={parser:p,db:E,renderer:{setConf:function(t){const e=Object.keys(t);for(const r of e)k[r]=t[r]},draw:function(t,e,r,o){k=(0,i.c)().er,i.l.info("Drawing ER diagram");const c=(0,i.c)().securityLevel;let l;"sandbox"===c&&(l=(0,n.Ltv)("#i"+e));const h=("sandbox"===c?(0,n.Ltv)(l.nodes()[0].contentDocument.body):(0,n.Ltv)("body")).select(`[id='${e}']`);let d;(function(t,e){let r;t.append("defs").append("marker").attr("id",g.MD_PARENT_START).attr("refX",0).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",g.MD_PARENT_END).attr("refX",19).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",g.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",g.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",g.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),r=t.append("defs").append("marker").attr("id",g.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",g.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").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",g.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),r=t.append("defs").append("marker").attr("id",g.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),r=t.append("defs").append("marker").attr("id",g.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),r.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),r.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(h,k),d=new a.T({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:k.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const u=function(t,e,r){let a;return Object.keys(e).forEach((function(n){const s=function(t="",e=""){const r=t.replace(b,"");return`${A(e)}${A(r)}${y(t,x)}`}(n,"entity");R.set(n,s);const o=t.append("g").attr("id",s);a=void 0===a?s:a;const c="text-"+s,l=o.append("text").classed("er entityLabel",!0).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(e[n].alias??n),{width:h,height:d}=((t,e,r)=>{const a=k.entityPadding/3,n=k.entityPadding/3,s=.85*k.fontSize,o=e.node().getBBox(),c=[];let l=!1,h=!1,d=0,y=0,u=0,p=0,_=o.height+2*a,f=1;r.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(l=!0),void 0!==t.attributeComment&&(h=!0)})),r.forEach((r=>{const n=`${e.node().id}-attr-${f}`;let o=0;const m=(0,i.x)(r.attributeType),E=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(m),g=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeName),O={};O.tn=E,O.nn=g;const b=E.node().getBBox(),k=g.node().getBBox();if(d=Math.max(d,b.width),y=Math.max(y,k.width),o=Math.max(b.height,k.height),l){const e=void 0!==r.attributeKeyTypeList?r.attributeKeyTypeList.join(","):"",a=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(e);O.kn=a;const c=a.node().getBBox();u=Math.max(u,c.width),o=Math.max(o,c.height)}if(h){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${n}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",s+"px").text(r.attributeComment||"");O.cn=e;const a=e.node().getBBox();p=Math.max(p,a.width),o=Math.max(o,a.height)}O.height=o,c.push(O),_+=o+2*a,f+=1}));let m=4;l&&(m+=2),h&&(m+=2);const E=d+y+u+p,g={width:Math.max(k.minEntityWidth,Math.max(o.width+2*k.entityPadding,E+n*m)),height:r.length>0?_:Math.max(k.minEntityHeight,o.height+2*k.entityPadding)};if(r.length>0){const r=Math.max(0,(g.width-E-n*m)/(m/2));e.attr("transform","translate("+g.width/2+","+(a+o.height/2)+")");let i=o.height+2*a,s="attributeBoxOdd";c.forEach((e=>{const o=i+a+e.height/2;e.tn.attr("transform","translate("+n+","+o+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${s}`,!0).attr("x",0).attr("y",i).attr("width",d+2*n+r).attr("height",e.height+2*a),_=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(_+n)+","+o+")");const f=t.insert("rect","#"+e.nn.node().id).classed(`er ${s}`,!0).attr("x",_).attr("y",i).attr("width",y+2*n+r).attr("height",e.height+2*a);let m=parseFloat(f.attr("x"))+parseFloat(f.attr("width"));if(l){e.kn.attr("transform","translate("+(m+n)+","+o+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${s}`,!0).attr("x",m).attr("y",i).attr("width",u+2*n+r).attr("height",e.height+2*a);m=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}h&&(e.cn.attr("transform","translate("+(m+n)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${s}`,"true").attr("x",m).attr("y",i).attr("width",p+2*n+r).attr("height",e.height+2*a)),i+=e.height+2*a,s="attributeBoxOdd"===s?"attributeBoxEven":"attributeBoxOdd"}))}else g.height=Math.max(k.minEntityHeight,_),e.attr("transform","translate("+g.width/2+","+g.height/2+")");return g})(o,l,e[n].attributes),u=o.insert("rect","#"+c).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",h).attr("height",d).node().getBBox();r.setNode(s,{width:u.width,height:u.height,shape:"rect",id:s})})),a}(h,o.db.getEntities(),d),p=function(t,e){return t.forEach((function(t){e.setEdge(R.get(t.entityA),R.get(t.entityB),{relationship:t},N(t))})),t}(o.db.getRelationships(),d);var _,f;(0,s.Zp)(d),_=h,(f=d).nodes().forEach((function(t){void 0!==t&&void 0!==f.node(t)&&_.select("#"+t).attr("transform","translate("+(f.node(t).x-f.node(t).width/2)+","+(f.node(t).y-f.node(t).height/2)+" )")})),p.forEach((function(t){!function(t,e,r,a,s){T++;const o=r.edge(R.get(e.entityA),R.get(e.entityB),N(e)),c=(0,n.n8j)().x((function(t){return t.x})).y((function(t){return t.y})).curve(n.qrM),l=t.insert("path","#"+a).classed("er relationshipLine",!0).attr("d",c(o.points)).style("stroke",k.stroke).style("fill","none");e.relSpec.relType===s.db.Identification.NON_IDENTIFYING&&l.attr("stroke-dasharray","8,8");let h="";switch(k.arrowMarkerAbsolute&&(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,h=h.replace(/\(/g,"\\("),h=h.replace(/\)/g,"\\)")),e.relSpec.cardA){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-end","url("+h+"#"+O.ZERO_OR_ONE_END+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-end","url("+h+"#"+O.ZERO_OR_MORE_END+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-end","url("+h+"#"+O.ONE_OR_MORE_END+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-end","url("+h+"#"+O.ONLY_ONE_END+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-end","url("+h+"#"+O.MD_PARENT_END+")")}switch(e.relSpec.cardB){case s.db.Cardinality.ZERO_OR_ONE:l.attr("marker-start","url("+h+"#"+O.ZERO_OR_ONE_START+")");break;case s.db.Cardinality.ZERO_OR_MORE:l.attr("marker-start","url("+h+"#"+O.ZERO_OR_MORE_START+")");break;case s.db.Cardinality.ONE_OR_MORE:l.attr("marker-start","url("+h+"#"+O.ONE_OR_MORE_START+")");break;case s.db.Cardinality.ONLY_ONE:l.attr("marker-start","url("+h+"#"+O.ONLY_ONE_START+")");break;case s.db.Cardinality.MD_PARENT:l.attr("marker-start","url("+h+"#"+O.MD_PARENT_START+")")}const d=l.node().getTotalLength(),y=l.node().getPointAtLength(.5*d),u="rel"+T,p=t.append("text").classed("er relationshipLabel",!0).attr("id",u).attr("x",y.x).attr("y",y.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+u).classed("er relationshipLabelBox",!0).attr("x",y.x-p.width/2).attr("y",y.y-p.height/2).attr("width",p.width).attr("height",p.height)}(h,t,d,u,o)}));const m=k.diagramPadding;i.u.insertTitle(h,"entityTitleText",k.titleTopMargin,o.db.getDiagramTitle());const E=h.node().getBBox(),M=E.width+2*m,w=E.height+2*m;(0,i.i)(h,w,M,k.useMaxWidth),h.attr("viewBox",`${E.x-m} ${E.y-m} ${M} ${w}`)}},styles:t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`}}}]); \ No newline at end of file diff --git a/assets/chunk.821016c7274c8b6ee443.js.br b/assets/chunk.821016c7274c8b6ee443.js.br new file mode 100644 index 00000000..ab901777 Binary files /dev/null and b/assets/chunk.821016c7274c8b6ee443.js.br differ diff --git a/assets/chunk.821016c7274c8b6ee443.js.gz b/assets/chunk.821016c7274c8b6ee443.js.gz new file mode 100644 index 00000000..a1126777 Binary files /dev/null and b/assets/chunk.821016c7274c8b6ee443.js.gz differ diff --git a/assets/chunk.84323f09788757e7cd30.js b/assets/chunk.84323f09788757e7cd30.js new file mode 100644 index 00000000..cc5f73af --- /dev/null +++ b/assets/chunk.84323f09788757e7cd30.js @@ -0,0 +1 @@ +(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[318],{88950:n=>{n.exports=function n(t,e,i){function r(a,o){if(!e[a]){if(!t[a]){if(c)return c(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var s=e[a]={exports:{}};t[a][0].call(s.exports,(function(n){return r(t[a][1][n]||n)}),s,s.exports,n,t,e,i)}return e[a].exports}for(var c=void 0,a=0;a0&&void 0!==arguments[0]?arguments[0]:{},i=e.defaultLayoutOptions,c=void 0===i?{}:i,o=e.algorithms,u=void 0===o?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:o,s=e.workerFactory,h=e.workerUrl;if(r(this,n),this.defaultLayoutOptions=c,this.initialized=!1,void 0===h&&void 0===s)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var f=s;void 0!==h&&void 0===s&&(f=function(n){return new Worker(n)});var l=f(h);if("function"!=typeof l.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new a(l),this.worker.postMessage({cmd:"register",algorithms:u}).then((function(n){return t.initialized=!0})).catch(console.err)}return i(n,[{key:"layout",value:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=t.layoutOptions,i=void 0===e?this.defaultLayoutOptions:e,r=t.logging,c=void 0!==r&&r,a=t.measureExecutionTime,o=void 0!==a&&a;return n?this.worker.postMessage({cmd:"layout",graph:n,layoutOptions:i,options:{logging:c,measureExecutionTime:o}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}]),n}();e.default=c;var a=function(){function n(t){var e=this;if(r(this,n),void 0===t)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=t,this.worker.onmessage=function(n){setTimeout((function(){e.receive(e,n)}),0)}}return i(n,[{key:"postMessage",value:function(n){var t=this.id||0;this.id=t+1,n.id=t;var e=this;return new Promise((function(i,r){e.resolvers[t]=function(n,t){n?(e.convertGwtStyleError(n),r(n)):i(t)},e.worker.postMessage(n)}))}},{key:"receive",value:function(n,t){var e=t.data,i=n.resolvers[e.id];i&&(delete n.resolvers[e.id],e.error?i(e.error):i(null,e.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(n){if(n){var t=n.__java$exception;t&&(t.cause&&t.cause.backingJsObject&&(n.cause=t.cause.backingJsObject,this.convertGwtStyleError(n.cause)),delete n.__java$exception)}}}]),n}()},{}],2:[function(n,t,e){(function(n){(function(){"use strict";var i;function r(){}function c(){}function a(){}function o(){}function u(){}function s(){}function h(){}function f(){}function l(){}function b(){}function w(){}function d(){}function g(){}function p(){}function m(){}function v(){}function k(){}function y(){}function M(){}function T(){}function j(){}function E(){}function S(){}function P(){}function C(){}function I(){}function O(){}function A(){}function L(){}function N(){}function $(){}function D(){}function x(){}function R(){}function K(){}function F(){}function _(){}function B(){}function H(){}function U(){}function G(){}function q(){}function X(){}function z(){}function V(){}function W(){}function Q(){}function J(){}function Y(){}function Z(){}function nn(){}function tn(){}function en(){}function rn(){}function cn(){}function an(){}function on(){}function un(){}function sn(){}function hn(){}function fn(){}function ln(){}function bn(){}function wn(){}function dn(){}function gn(){}function pn(){}function mn(){}function vn(){}function kn(){}function yn(){}function Mn(){}function Tn(){}function jn(){}function En(){}function Sn(){}function Pn(){}function Cn(){}function In(){}function On(){}function An(){}function Ln(){}function Nn(){}function $n(){}function Dn(){}function xn(){}function Rn(){}function Kn(){}function Fn(){}function _n(){}function Bn(){}function Hn(){}function Un(){}function Gn(){}function qn(){}function Xn(){}function zn(){}function Vn(){}function Wn(){}function Qn(){}function Jn(){}function Yn(){}function Zn(){}function nt(){}function tt(){}function et(){}function it(){}function rt(){}function ct(){}function at(){}function ot(){}function ut(){}function st(){}function ht(){}function ft(){}function lt(){}function bt(){}function wt(){}function dt(){}function gt(){}function pt(){}function mt(){}function vt(){}function kt(){}function yt(){}function Mt(){}function Tt(){}function jt(){}function Et(){}function St(){}function Pt(){}function Ct(){}function It(){}function Ot(){}function At(){}function Lt(){}function Nt(){}function $t(){}function Dt(){}function xt(){}function Rt(){}function Kt(){}function Ft(){}function _t(){}function Bt(){}function Ht(){}function Ut(){}function Gt(){}function qt(){}function Xt(){}function zt(){}function Vt(){}function Wt(){}function Qt(){}function Jt(){}function Yt(){}function Zt(){}function ne(){}function te(){}function ee(){}function ie(){}function re(){}function ce(){}function ae(){}function oe(){}function ue(){}function se(){}function he(){}function fe(){}function le(){}function be(){}function we(){}function de(){}function ge(){}function pe(){}function me(){}function ve(){}function ke(){}function ye(){}function Me(){}function Te(){}function je(){}function Ee(){}function Se(){}function Pe(){}function Ce(){}function Ie(){}function Oe(){}function Ae(){}function Le(){}function Ne(){}function $e(){}function De(){}function xe(){}function Re(){}function Ke(){}function Fe(){}function _e(){}function Be(){}function He(){}function Ue(){}function Ge(){}function qe(){}function Xe(){}function ze(){}function Ve(){}function We(){}function Qe(){}function Je(){}function Ye(){}function Ze(){}function ni(){}function ti(){}function ei(){}function ii(){}function ri(){}function ci(){}function ai(){}function oi(){}function ui(){}function si(){}function hi(){}function fi(){}function li(){}function bi(){}function wi(){}function di(){}function gi(){}function pi(){}function mi(){}function vi(){}function ki(){}function yi(){}function Mi(){}function Ti(){}function ji(){}function Ei(){}function Si(){}function Pi(){}function Ci(){}function Ii(){}function Oi(){}function Ai(){}function Li(){}function Ni(){}function $i(){}function Di(){}function xi(){}function Ri(){}function Ki(){}function Fi(){}function _i(){}function Bi(){}function Hi(){}function Ui(){}function Gi(){}function qi(){}function Xi(){}function zi(){}function Vi(){}function Wi(){}function Qi(){}function Ji(){}function Yi(){}function Zi(){}function nr(){}function tr(){}function er(){}function ir(){}function rr(){}function cr(){}function ar(){}function or(){}function ur(){}function sr(){}function hr(){}function fr(){}function lr(){}function br(){}function wr(){}function dr(){}function gr(){}function pr(){}function mr(){}function vr(){}function kr(){}function yr(){}function Mr(){}function Tr(){}function jr(){}function Er(){}function Sr(){}function Pr(){}function Cr(){}function Ir(){}function Or(){}function Ar(){}function Lr(){}function Nr(){}function $r(){}function Dr(){}function xr(){}function Rr(){}function Kr(){}function Fr(){}function _r(){}function Br(){}function Hr(){}function Ur(){}function Gr(){}function qr(){}function Xr(){}function zr(){}function Vr(){}function Wr(){}function Qr(){}function Jr(){}function Yr(){}function Zr(){}function nc(){}function tc(){}function ec(){}function ic(){}function rc(){}function cc(){}function ac(){}function oc(){}function uc(){}function sc(){}function hc(){}function fc(){}function lc(){}function bc(){}function wc(){}function dc(){}function gc(){}function pc(){}function mc(){}function vc(){}function kc(){}function yc(){}function Mc(){}function Tc(){}function jc(){}function Ec(){}function Sc(){}function Pc(){}function Cc(){}function Ic(){}function Oc(){}function Ac(){}function Lc(){}function Nc(){}function $c(){}function Dc(){}function xc(){}function Rc(){}function Kc(){}function Fc(){}function _c(){}function Bc(){}function Hc(){}function Uc(){}function Gc(){}function qc(){}function Xc(){}function zc(){}function Vc(){}function Wc(){}function Qc(){}function Jc(){}function Yc(){}function Zc(){}function na(){}function ta(){}function ea(){}function ia(){}function ra(){}function ca(){}function aa(){}function oa(){}function ua(){}function sa(){}function ha(){}function fa(){}function la(){}function ba(){}function wa(){}function da(){}function ga(){}function pa(){}function ma(){}function va(){}function ka(){}function ya(){}function Ma(){}function Ta(){}function ja(){}function Ea(){}function Sa(){}function Pa(){}function Ca(){}function Ia(){}function Oa(){}function Aa(){}function La(){}function Na(){}function $a(){}function Da(){}function xa(){}function Ra(){}function Ka(){}function Fa(){}function _a(){}function Ba(){}function Ha(){}function Ua(){}function Ga(){}function qa(){}function Xa(){}function za(){}function Va(){}function Wa(){}function Qa(){}function Ja(){}function Ya(){}function Za(){}function no(){}function to(){}function eo(){}function io(){}function ro(){}function co(){}function ao(){}function oo(){}function uo(){}function so(){}function ho(){}function fo(){}function lo(){}function bo(){}function wo(){}function go(){}function po(){}function mo(){}function vo(){}function ko(){}function yo(){}function Mo(){}function To(){}function jo(){}function Eo(){}function So(){}function Po(){}function Co(){}function Io(){}function Oo(){}function Ao(){}function Lo(){}function No(){}function $o(){}function Do(){}function xo(){}function Ro(){}function Ko(){}function Fo(){}function _o(){}function Bo(){}function Ho(){}function Uo(){}function Go(){}function qo(){}function Xo(){}function zo(){}function Vo(){}function Wo(){}function Qo(){}function Jo(){}function Yo(){}function Zo(){}function nu(){}function tu(){}function eu(){}function iu(){}function ru(){}function cu(){}function au(){}function ou(){}function uu(){}function su(){}function hu(){}function fu(){}function lu(){}function bu(){}function wu(){}function du(){}function gu(){}function pu(){}function mu(){}function vu(){}function ku(){}function yu(){}function Mu(){}function Tu(){}function ju(){}function Eu(){}function Su(){}function Pu(){}function Cu(){}function Iu(){}function Ou(){}function Au(){}function Lu(){}function Nu(){}function $u(){}function Du(){}function xu(){}function Ru(){}function Ku(){}function Fu(){}function _u(){}function Bu(){}function Hu(){}function Uu(){}function Gu(){}function qu(){}function Xu(){}function zu(){}function Vu(){}function Wu(){}function Qu(){}function Ju(){}function Yu(){}function Zu(){}function ns(){}function ts(){}function es(){}function is(){}function rs(){}function cs(){}function as(){}function os(){}function us(){}function ss(){}function hs(){}function fs(){}function ls(){}function bs(){}function ws(){}function ds(){}function gs(){}function ps(){}function ms(){}function vs(){}function ks(){}function ys(){}function Ms(){}function Ts(){}function js(){}function Es(){}function Ss(){}function Ps(){}function Cs(){}function Is(){}function Os(){}function As(){}function Ls(){}function Ns(){}function $s(){}function Ds(){}function xs(){}function Rs(){}function Ks(){}function Fs(){}function _s(){}function Bs(){}function Hs(){}function Us(){}function Gs(){}function qs(){}function Xs(){}function zs(){}function Vs(){}function Ws(){}function Qs(){}function Js(){}function Ys(){}function Zs(){}function nh(){}function th(){}function eh(){}function ih(){}function rh(){}function ch(){}function ah(){}function oh(){}function uh(){}function sh(){}function hh(){}function fh(){}function lh(){}function bh(){}function wh(){}function dh(){}function gh(){}function ph(){}function mh(){}function vh(){}function kh(){}function yh(){}function Mh(){}function Th(){}function jh(){}function Eh(){}function Sh(){}function Ph(){}function Ch(){}function Ih(){}function Oh(){}function Ah(){}function Lh(){}function Nh(){}function $h(){}function Dh(){}function xh(){}function Rh(){}function Kh(){}function Fh(){}function _h(){}function Bh(){}function Hh(){}function Uh(){}function Gh(){}function qh(){}function Xh(){}function zh(){}function Vh(){}function Wh(){}function Qh(){}function Jh(){}function Yh(){}function Zh(){}function nf(){}function tf(){}function ef(){}function rf(){}function cf(){}function af(){}function of(){}function uf(){}function sf(){}function hf(){}function ff(){}function lf(){}function bf(){}function wf(){}function df(){}function gf(){}function pf(){}function mf(){}function vf(){}function kf(){}function yf(){}function Mf(){}function Tf(){}function jf(){}function Ef(){}function Sf(){}function Pf(){}function Cf(){}function If(){}function Of(){}function Af(){}function Lf(){}function Nf(){}function $f(){}function Df(){}function xf(){}function Rf(){Ik()}function Kf(){vE()}function Ff(){Zon()}function _f(){i7()}function Bf(){Vrn()}function Hf(){ufn()}function Uf(){Okn()}function Gf(){don()}function qf(){Ion()}function Xf(){kE()}function zf(){mR()}function Vf(){yE()}function Wf(){m6()}function Qf(){pY()}function Jf(){D3()}function Yf(){nz()}function Zf(){R3()}function nl(){fZ()}function tl(){YX()}function el(){P9()}function il(){F3()}function rl(){K3()}function cl(){eW()}function al(){_3()}function ol(){Nhn()}function ul(){TE()}function sl(){VEn()}function hl(){LEn()}function fl(){B3()}function ll(){k6()}function bl(){tz()}function wl(){von()}function dl(){iz()}function gl(){rkn()}function pl(){$wn()}function ml(){M2()}function vl(){Vnn()}function kl(){hyn()}function yl(){Lz()}function Ml(){y2()}function Tl(){Ivn()}function jl(){vfn()}function El(){Avn()}function Sl(){smn()}function Pl(){khn()}function Cl(){$mn()}function Il(){zcn()}function Ol(){eR()}function Al(){AZ()}function Ll(){yhn()}function Nl(){XEn()}function $l(){C9()}function Dl(){sin()}function xl(){y6()}function Rl(){rMn()}function Kl(){Ukn()}function Fl(n){TU(n)}function _l(n){this.a=n}function Bl(n){this.a=n}function Hl(n){this.a=n}function Ul(n){this.a=n}function Gl(n){this.a=n}function ql(n){this.a=n}function Xl(n){this.a=n}function zl(n){this.a=n}function Vl(n){this.a=n}function Wl(n){this.a=n}function Ql(n){this.a=n}function Jl(n){this.a=n}function Yl(n){this.a=n}function Zl(n){this.a=n}function nb(n){this.a=n}function tb(n){this.a=n}function eb(n){this.a=n}function ib(n){this.a=n}function rb(n){this.a=n}function cb(n){this.a=n}function ab(n){this.a=n}function ob(n){this.a=n}function ub(n){this.b=n}function sb(n){this.c=n}function hb(n){this.a=n}function fb(n){this.a=n}function lb(n){this.a=n}function bb(n){this.a=n}function wb(n){this.a=n}function db(n){this.a=n}function gb(n){this.a=n}function pb(n){this.a=n}function mb(n){this.a=n}function vb(n){this.a=n}function kb(n){this.a=n}function yb(n){this.a=n}function Mb(n){this.a=n}function Tb(n){this.a=n}function jb(n){this.a=n}function Eb(n){this.a=n}function Sb(n){this.a=n}function Pb(){this.a=[]}function Cb(n,t){n.a=t}function Ib(n,t){n.j=t}function Ob(n,t){n.c=t}function Ab(n,t){n.d=t}function Lb(n,t){n.k=t}function Nb(n,t){n.c=t}function $b(n,t){n.a=t}function Db(n,t){n.a=t}function xb(n,t){n.f=t}function Rb(n,t){n.a=t}function Kb(n,t){n.b=t}function Fb(n,t){n.d=t}function _b(n,t){n.i=t}function Bb(n,t){n.o=t}function Hb(n,t){n.e=t}function Ub(n,t){n.g=t}function Gb(n,t){n.e=t}function qb(n,t){n.f=t}function Xb(n,t){n.f=t}function zb(n,t){n.a=t}function Vb(n,t){n.b=t}function Wb(n,t){n.n=t}function Qb(n){n.b=n.a}function Jb(n){n.c=n.d.d}function Yb(n){this.a=n}function Zb(n){this.a=n}function nw(n){this.a=n}function tw(n){this.a=n}function ew(n){this.a=n}function iw(n){this.a=n}function rw(n){this.a=n}function cw(n){this.a=n}function aw(n){this.a=n}function ow(n){this.a=n}function uw(n){this.a=n}function sw(n){this.a=n}function hw(n){this.a=n}function fw(n){this.a=n}function lw(n){this.b=n}function bw(n){this.b=n}function ww(n){this.b=n}function dw(n){this.a=n}function gw(n){this.a=n}function pw(n){this.c=n}function mw(n){this.c=n}function vw(n){this.c=n}function kw(n){this.d=n}function yw(n){this.a=n}function Mw(n){this.a=n}function Tw(n){this.a=n}function jw(n){this.a=n}function Ew(n){this.a=n}function Sw(n){this.a=n}function Pw(n){this.a=n}function Cw(n){this.a=n}function Iw(n){this.a=n}function Ow(n){this.a=n}function Aw(n){this.a=n}function Lw(n){this.a=n}function Nw(n){this.a=n}function $w(n){this.a=n}function Dw(n){this.a=n}function xw(n){this.a=n}function Rw(n){this.a=n}function Kw(n){this.a=n}function Fw(n){this.a=n}function _w(n){this.a=n}function Bw(n){this.a=n}function Hw(n){this.a=n}function Uw(n){this.a=n}function Gw(n){this.a=n}function qw(n){this.a=n}function Xw(n){this.a=n}function zw(n){this.a=n}function Vw(n){this.a=n}function Ww(n){this.a=n}function Qw(n){this.a=n}function Jw(n){this.a=n}function Yw(n){this.a=n}function Zw(n){this.a=n}function nd(n){this.a=n}function td(n){this.a=n}function ed(n){this.a=n}function id(n){this.a=n}function rd(n){this.a=n}function cd(n){this.a=n}function ad(n){this.a=n}function od(n){this.a=n}function ud(n){this.a=n}function sd(n){this.a=n}function hd(n){this.a=n}function fd(n){this.a=n}function ld(n){this.a=n}function bd(n){this.a=n}function wd(n){this.a=n}function dd(n){this.e=n}function gd(n){this.a=n}function pd(n){this.a=n}function md(n){this.a=n}function vd(n){this.a=n}function kd(n){this.a=n}function yd(n){this.a=n}function Md(n){this.a=n}function Td(n){this.a=n}function jd(n){this.a=n}function Ed(n){this.a=n}function Sd(n){this.a=n}function Pd(n){this.a=n}function Cd(n){this.a=n}function Id(n){this.a=n}function Od(n){this.a=n}function Ad(n){this.a=n}function Ld(n){this.a=n}function Nd(n){this.a=n}function $d(n){this.a=n}function Dd(n){this.a=n}function xd(n){this.a=n}function Rd(n){this.a=n}function Kd(n){this.a=n}function Fd(n){this.a=n}function _d(n){this.a=n}function Bd(n){this.a=n}function Hd(n){this.a=n}function Ud(n){this.a=n}function Gd(n){this.a=n}function qd(n){this.a=n}function Xd(n){this.a=n}function zd(n){this.a=n}function Vd(n){this.a=n}function Wd(n){this.a=n}function Qd(n){this.a=n}function Jd(n){this.a=n}function Yd(n){this.a=n}function Zd(n){this.a=n}function ng(n){this.a=n}function tg(n){this.a=n}function eg(n){this.a=n}function ig(n){this.a=n}function rg(n){this.a=n}function cg(n){this.a=n}function ag(n){this.a=n}function og(n){this.a=n}function ug(n){this.a=n}function sg(n){this.a=n}function hg(n){this.a=n}function fg(n){this.a=n}function lg(n){this.a=n}function bg(n){this.a=n}function wg(n){this.a=n}function dg(n){this.a=n}function gg(n){this.c=n}function pg(n){this.b=n}function mg(n){this.a=n}function vg(n){this.a=n}function kg(n){this.a=n}function yg(n){this.a=n}function Mg(n){this.a=n}function Tg(n){this.a=n}function jg(n){this.a=n}function Eg(n){this.a=n}function Sg(n){this.a=n}function Pg(n){this.a=n}function Cg(n){this.a=n}function Ig(n){this.a=n}function Og(n){this.a=n}function Ag(n){this.a=n}function Lg(n){this.a=n}function Ng(n){this.a=n}function $g(n){this.a=n}function Dg(n){this.a=n}function xg(n){this.a=n}function Rg(n){this.a=n}function Kg(n){this.a=n}function Fg(n){this.a=n}function _g(n){this.a=n}function Bg(n){this.a=n}function Hg(n){this.a=n}function Ug(n){this.a=n}function Gg(n){this.a=n}function qg(n){this.a=n}function Xg(n){this.a=n}function zg(n){this.a=n}function Vg(n){this.a=n}function Wg(n){this.a=n}function Qg(n){this.a=n}function Jg(n){this.a=n}function Yg(n){this.a=n}function Zg(n){this.a=n}function np(n){this.a=n}function tp(n){this.a=n}function ep(n){this.a=n}function ip(n){this.a=n}function rp(n){this.a=n}function cp(n){this.a=n}function ap(n){this.a=n}function op(n){this.a=n}function up(n){this.a=n}function sp(n){this.a=n}function hp(n){this.a=n}function fp(n){this.a=n}function lp(n){this.a=n}function bp(n){this.a=n}function wp(n){this.a=n}function dp(n){this.a=n}function gp(n){this.a=n}function pp(n){this.a=n}function mp(n){this.a=n}function vp(n){this.a=n}function kp(n){this.f=n}function yp(n){this.a=n}function Mp(n){this.a=n}function Tp(n){this.a=n}function jp(n){this.a=n}function Ep(n){this.a=n}function Sp(n){this.a=n}function Pp(n){this.a=n}function Cp(n){this.a=n}function Ip(n){this.a=n}function Op(n){this.a=n}function Ap(n){this.a=n}function Lp(n){this.a=n}function Np(n){this.a=n}function $p(n){this.a=n}function Dp(n){this.a=n}function xp(n){this.a=n}function Rp(n){this.a=n}function Kp(n){this.a=n}function Fp(n){this.a=n}function _p(n){this.a=n}function Bp(n){this.a=n}function Hp(n){this.a=n}function Up(n){this.a=n}function Gp(n){this.a=n}function qp(n){this.a=n}function Xp(n){this.a=n}function zp(n){this.a=n}function Vp(n){this.a=n}function Wp(n){this.a=n}function Qp(n){this.a=n}function Jp(n){this.b=n}function Yp(n){this.a=n}function Zp(n){this.a=n}function nm(n){this.a=n}function tm(n){this.a=n}function em(n){this.a=n}function im(n){this.a=n}function rm(n){this.a=n}function cm(n){this.b=n}function am(n){this.a=n}function om(n){this.a=n}function um(n){this.a=n}function sm(n){this.a=n}function hm(n){this.c=n}function fm(n){this.e=n}function lm(n){this.a=n}function bm(n){this.a=n}function wm(n){this.a=n}function dm(n){this.d=n}function gm(n){this.a=n}function pm(n){this.a=n}function mm(n){this.a=n}function vm(n){this.e=n}function km(){this.a=0}function ym(){CB(this)}function Mm(){MA(this)}function Tm(){vU(this)}function jm(){}function Em(){this.c=Wbt}function Sm(n,t){n.b+=t}function Pm(n){return n.a}function Cm(n){return n.a}function Im(n){return n.a}function Om(n){return n.a}function Am(n){return n.a}function Lm(n){return n.e}function Nm(){return null}function $m(){return null}function Dm(n){n.b=new oM}function xm(n,t){n.b=t-n.b}function Rm(n,t){n.a=t-n.a}function Km(n,t){n.push(t)}function Fm(n,t){n.sort(t)}function _m(n,t){t.jd(n.a)}function Bm(n,t){n.e=t,t.b=n}function Hm(n){rR(),this.a=n}function Um(n){rR(),this.a=n}function Gm(n){rR(),this.a=n}function qm(n){AH(),this.a=n}function Xm(n){dq(),$Un.le(n)}function zm(){zm=E,new ym}function Vm(){PN.call(this)}function Wm(){PN.call(this)}function Qm(){Vm.call(this)}function Jm(){Vm.call(this)}function Ym(){Vm.call(this)}function Zm(){Vm.call(this)}function nv(){Vm.call(this)}function tv(){Vm.call(this)}function ev(){Vm.call(this)}function iv(){Vm.call(this)}function rv(){Vm.call(this)}function cv(){Vm.call(this)}function av(){Vm.call(this)}function ov(){this.a=this}function uv(){this.Bb|=256}function sv(){this.b=new pO}function hv(n,t){n.length=t}function fv(n,t){AL(n.a,t)}function lv(n,t){i5(n.e,t)}function bv(n){lwn(n.c,n.b)}function wv(n){this.a=function(n){var t;return(t=nfn(n))>34028234663852886e22?pCn:t<-34028234663852886e22?mCn:t}(n)}function dv(){this.a=new ym}function gv(){this.a=new ym}function pv(){this.a=new Hj}function mv(){this.a=new Mm}function vv(){this.a=new Mm}function kv(){this.a=new Mm}function yv(){this.a=new kn}function Mv(){this.a=new ZJ}function Tv(){this.a=new lt}function jv(){this.a=new QX}function Ev(){this.a=new JD}function Sv(){this.a=new Mm}function Pv(){this.a=new Mm}function Cv(){this.a=new Mm}function Iv(){this.a=new Mm}function Ov(){this.d=new Mm}function Av(){this.a=new oV}function Lv(){this.a=new dv}function Nv(){this.a=new ym}function $v(){this.b=new ym}function Dv(){this.b=new Mm}function xv(){this.e=new Mm}function Rv(){this.a=new ol}function Kv(){this.d=new Mm}function Fv(){Cq.call(this)}function _v(){Cq.call(this)}function Bv(){Mm.call(this)}function Hv(){Qm.call(this)}function Uv(){mv.call(this)}function Gv(){ax.call(this)}function qv(){Iv.call(this)}function Xv(){jm.call(this)}function zv(){Xv.call(this)}function Vv(){jm.call(this)}function Wv(){Vv.call(this)}function Qv(){kk.call(this)}function Jv(){kk.call(this)}function Yv(){kk.call(this)}function Zv(){Tk.call(this)}function nk(){ts.call(this)}function tk(){ts.call(this)}function ek(){Gj.call(this)}function ik(){Pk.call(this)}function rk(){Pk.call(this)}function ck(){ym.call(this)}function ak(){ym.call(this)}function ok(){ym.call(this)}function uk(){X3.call(this)}function sk(){dv.call(this)}function hk(){uv.call(this)}function fk(){qL.call(this)}function lk(){ym.call(this)}function bk(){qL.call(this)}function wk(){ym.call(this)}function dk(){ym.call(this)}function gk(){ps.call(this)}function pk(){gk.call(this)}function mk(){ps.call(this)}function vk(){$f.call(this)}function kk(){this.a=new dv}function yk(){this.a=new ym}function Mk(){this.a=new Mm}function Tk(){this.a=new ym}function jk(){this.a=new Gj}function Ek(){this.j=new Mm}function Sk(){this.a=new PT}function Pk(){this.a=new gs}function Ck(){this.a=new Do}function Ik(){Ik=E,uUn=new c}function Ok(){Ok=E,gUn=new Nk}function Ak(){Ak=E,pUn=new Lk}function Lk(){tb.call(this,"")}function Nk(){tb.call(this,"")}function $k(n){r2.call(this,n)}function Dk(n){r2.call(this,n)}function xk(n){Vl.call(this,n)}function Rk(n){kj.call(this,n)}function Kk(n){kj.call(this,n)}function Fk(n){Rk.call(this,n)}function _k(n){Rk.call(this,n)}function Bk(n){Rk.call(this,n)}function Hk(n){dQ.call(this,n)}function Uk(n){dQ.call(this,n)}function Gk(n){Kx.call(this,n)}function qk(n){jj.call(this,n)}function Xk(n){Pj.call(this,n)}function zk(n){Pj.call(this,n)}function Vk(n){Pj.call(this,n)}function Wk(n){afn.call(this,n)}function Qk(n){Wk.call(this,n)}function Jk(n){U_.call(this,n)}function Yk(n){Jk.call(this,n)}function Zk(){Sb.call(this,{})}function ny(){ny=E,HUn=new T}function ty(){ty=E,TUn=new gL}function ey(){ey=E,IUn=new r}function iy(){iy=E,NUn=new p}function ry(){ry=E,xUn=new k}function cy(n){nN(),this.a=n}function ay(n){v6(),this.a=n}function oy(n){l_(),this.f=n}function uy(n){l_(),this.f=n}function sy(n){tR(),this.a=n}function hy(n){n.b=null,n.c=0}function fy(n,t){n.a=t,function(n){var t,e,r;for(function(n){var t,e,r;for(e=new mw(n.a.a.b);e.a0&&((!cA(n.a.c)||!t.n.d)&&(!aA(n.a.c)||!t.n.b)&&(t.g.d-=i.Math.max(0,r/2-.5)),(!cA(n.a.c)||!t.n.a)&&(!aA(n.a.c)||!t.n.c)&&(t.g.a+=i.Math.max(0,r-1)))}(n),r=new Mm,e=new mw(n.a.a.b);e.a0&&((!cA(n.a.c)||!t.n.d)&&(!aA(n.a.c)||!t.n.b)&&(t.g.d+=i.Math.max(0,r/2-.5)),(!cA(n.a.c)||!t.n.a)&&(!aA(n.a.c)||!t.n.c)&&(t.g.a-=r-1))}(n)}(n)}function ly(n,t,e){n.a[t.g]=e}function by(n,t,e){!function(n,t,e){var i,r;for(dA(n,n.j+t,n.k+e),r=new XL((!n.a&&(n.a=new NL(Jft,n,5)),n.a));r.e!=r.i.gc();)fA(i=JR(Urn(r),377),i.a+t,i.b+e);wA(n,n.b+t,n.c+e)}(e,n,t)}function wy(n,t){!function(n,t){cA(n.f)?function(n,t){var e,i,r,c,a;for(c=n.g.a,a=n.g.b,i=new mw(n.d);i.a=n.length)return{done:!0};var i=n[e++];return{value:[i,t.get(i)],done:!1}}}},function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var n="__proto__",t=Object.create(null);return void 0===t[n]&&0==Object.getOwnPropertyNames(t).length&&(t[n]=42,42===t[n]&&0!=Object.getOwnPropertyNames(t).length)}()||(n.prototype.createObject=function(){return{}},n.prototype.get=function(n){return this.obj[":"+n]},n.prototype.set=function(n,t){this.obj[":"+n]=t},n.prototype[KCn]=function(n){delete this.obj[":"+n]},n.prototype.keys=function(){var n=[];for(var t in this.obj)58==t.charCodeAt(0)&&n.push(t.substring(1));return n}),n}()}()}function YM(){YM=E,Aft=function(){var n,t;rMn();try{if(t=JR(Dun((UE(),obt),tFn),2113))return t}catch(t){if(!sL(t=X5(t),103))throw Lm(t);n=t,hH((DA(),n))}return new rs}()}function ZM(){var n;ZM=E,Lft=hlt?JR(Adn((UE(),obt),tFn),2115):(n=JR(sL(rX((UE(),obt),tFn),569)?rX(obt,tFn):new Dwn,569),hlt=!0,function(n){n.q||(n.q=!0,n.p=h5(n,0),n.a=h5(n,1),X4(n.a,0),n.f=h5(n,2),X4(n.f,1),q4(n.f,2),n.n=h5(n,3),q4(n.n,3),q4(n.n,4),q4(n.n,5),q4(n.n,6),n.g=h5(n,4),X4(n.g,7),q4(n.g,8),n.c=h5(n,5),X4(n.c,7),X4(n.c,8),n.i=h5(n,6),X4(n.i,9),X4(n.i,10),X4(n.i,11),X4(n.i,12),q4(n.i,13),n.j=h5(n,7),X4(n.j,9),n.d=h5(n,8),X4(n.d,3),X4(n.d,4),X4(n.d,5),X4(n.d,6),q4(n.d,7),q4(n.d,8),q4(n.d,9),q4(n.d,10),n.b=h5(n,9),q4(n.b,0),q4(n.b,1),n.e=h5(n,10),q4(n.e,1),q4(n.e,2),q4(n.e,3),q4(n.e,4),X4(n.e,5),X4(n.e,6),X4(n.e,7),X4(n.e,8),X4(n.e,9),X4(n.e,10),q4(n.e,11),n.k=h5(n,11),q4(n.k,0),q4(n.k,1),n.o=f5(n,12),n.s=f5(n,13))}(n),function(n){var t,e,i,r,c,a,o;n.r||(n.r=!0,H4(n,"graph"),U4(n,"graph"),G4(n,tFn),B5(n.o,"T"),bZ(_q(n.a),n.p),bZ(_q(n.f),n.a),bZ(_q(n.n),n.f),bZ(_q(n.g),n.n),bZ(_q(n.c),n.n),bZ(_q(n.i),n.c),bZ(_q(n.j),n.c),bZ(_q(n.d),n.f),bZ(_q(n.e),n.a),AV(n.p,yzn,bOn,!0,!0,!1),o=i8(a=N9(n.p,n.p,"setProperty")),t=xG(n.o),e=new Em,bZ((!t.d&&(t.d=new NL(fbt,t,1)),t.d),e),nsn(e,i=RG(o)),$un(a,t,eFn),$un(a,t=RG(o),iFn),o=i8(a=N9(n.p,null,"getProperty")),t=xG(n.o),e=RG(o),bZ((!t.d&&(t.d=new NL(fbt,t,1)),t.d),e),$un(a,t,eFn),(c=Qsn(a,t=RG(o),null))&&c.oj(),a=N9(n.p,n.wb.e,"hasProperty"),t=xG(n.o),e=new Em,bZ((!t.d&&(t.d=new NL(fbt,t,1)),t.d),e),$un(a,t,eFn),fon(a=N9(n.p,n.p,"copyProperties"),n.p,rFn),a=N9(n.p,null,"getAllProperties"),t=xG(n.wb.P),e=xG(n.o),bZ((!t.d&&(t.d=new NL(fbt,t,1)),t.d),e),i=new Em,bZ((!e.d&&(e.d=new NL(fbt,e,1)),e.d),i),e=xG(n.wb.M),bZ((!t.d&&(t.d=new NL(fbt,t,1)),t.d),e),(r=Qsn(a,t,null))&&r.oj(),AV(n.a,Qft,SKn,!0,!1,!0),uon(JR(d2(uq(n.a),0),19),n.k,null,cFn,0,-1,Qft,!1,!1,!0,!0,!1,!1,!1),AV(n.f,Yft,CKn,!0,!1,!0),uon(JR(d2(uq(n.f),0),19),n.g,JR(d2(uq(n.g),0),19),"labels",0,-1,Yft,!1,!1,!0,!0,!1,!1,!1),s6(JR(d2(uq(n.f),1),35),n.wb._,aFn,null,0,1,Yft,!1,!1,!0,!1,!0,!1),AV(n.n,Zft,"ElkShape",!0,!1,!0),s6(JR(d2(uq(n.n),0),35),n.wb.t,oFn,CCn,1,1,Zft,!1,!1,!0,!1,!0,!1),s6(JR(d2(uq(n.n),1),35),n.wb.t,uFn,CCn,1,1,Zft,!1,!1,!0,!1,!0,!1),s6(JR(d2(uq(n.n),2),35),n.wb.t,"x",CCn,1,1,Zft,!1,!1,!0,!1,!0,!1),s6(JR(d2(uq(n.n),3),35),n.wb.t,"y",CCn,1,1,Zft,!1,!1,!0,!1,!0,!1),fon(a=N9(n.n,null,"setDimensions"),n.wb.t,uFn),fon(a,n.wb.t,oFn),fon(a=N9(n.n,null,"setLocation"),n.wb.t,"x"),fon(a,n.wb.t,"y"),AV(n.g,olt,$Kn,!1,!1,!0),uon(JR(d2(uq(n.g),0),19),n.f,JR(d2(uq(n.f),0),19),sFn,0,1,olt,!1,!1,!0,!1,!1,!1,!1),s6(JR(d2(uq(n.g),1),35),n.wb._,hFn,"",0,1,olt,!1,!1,!0,!1,!0,!1),AV(n.c,nlt,IKn,!0,!1,!0),uon(JR(d2(uq(n.c),0),19),n.d,JR(d2(uq(n.d),1),19),"outgoingEdges",0,-1,nlt,!1,!1,!0,!1,!0,!1,!1),uon(JR(d2(uq(n.c),1),19),n.d,JR(d2(uq(n.d),2),19),"incomingEdges",0,-1,nlt,!1,!1,!0,!1,!0,!1,!1),AV(n.i,ult,DKn,!1,!1,!0),uon(JR(d2(uq(n.i),0),19),n.j,JR(d2(uq(n.j),0),19),"ports",0,-1,ult,!1,!1,!0,!0,!1,!1,!1),uon(JR(d2(uq(n.i),1),19),n.i,JR(d2(uq(n.i),2),19),fFn,0,-1,ult,!1,!1,!0,!0,!1,!1,!1),uon(JR(d2(uq(n.i),2),19),n.i,JR(d2(uq(n.i),1),19),sFn,0,1,ult,!1,!1,!0,!1,!1,!1,!1),uon(JR(d2(uq(n.i),3),19),n.d,JR(d2(uq(n.d),0),19),"containedEdges",0,-1,ult,!1,!1,!0,!0,!1,!1,!1),s6(JR(d2(uq(n.i),4),35),n.wb.e,lFn,null,0,1,ult,!0,!0,!1,!1,!0,!0),AV(n.j,slt,xKn,!1,!1,!0),uon(JR(d2(uq(n.j),0),19),n.i,JR(d2(uq(n.i),0),19),sFn,0,1,slt,!1,!1,!0,!1,!1,!1,!1),AV(n.d,tlt,OKn,!1,!1,!0),uon(JR(d2(uq(n.d),0),19),n.i,JR(d2(uq(n.i),3),19),"containingNode",0,1,tlt,!1,!1,!0,!1,!1,!1,!1),uon(JR(d2(uq(n.d),1),19),n.c,JR(d2(uq(n.c),0),19),bFn,0,-1,tlt,!1,!1,!0,!1,!0,!1,!1),uon(JR(d2(uq(n.d),2),19),n.c,JR(d2(uq(n.c),1),19),wFn,0,-1,tlt,!1,!1,!0,!1,!0,!1,!1),uon(JR(d2(uq(n.d),3),19),n.e,JR(d2(uq(n.e),5),19),dFn,0,-1,tlt,!1,!1,!0,!0,!1,!1,!1),s6(JR(d2(uq(n.d),4),35),n.wb.e,"hyperedge",null,0,1,tlt,!0,!0,!1,!1,!0,!0),s6(JR(d2(uq(n.d),5),35),n.wb.e,lFn,null,0,1,tlt,!0,!0,!1,!1,!0,!0),s6(JR(d2(uq(n.d),6),35),n.wb.e,"selfloop",null,0,1,tlt,!0,!0,!1,!1,!0,!0),s6(JR(d2(uq(n.d),7),35),n.wb.e,"connected",null,0,1,tlt,!0,!0,!1,!1,!0,!0),AV(n.b,Jft,PKn,!1,!1,!0),s6(JR(d2(uq(n.b),0),35),n.wb.t,"x",CCn,1,1,Jft,!1,!1,!0,!1,!0,!1),s6(JR(d2(uq(n.b),1),35),n.wb.t,"y",CCn,1,1,Jft,!1,!1,!0,!1,!0,!1),fon(a=N9(n.b,null,"set"),n.wb.t,"x"),fon(a,n.wb.t,"y"),AV(n.e,elt,AKn,!1,!1,!0),s6(JR(d2(uq(n.e),0),35),n.wb.t,"startX",null,0,1,elt,!1,!1,!0,!1,!0,!1),s6(JR(d2(uq(n.e),1),35),n.wb.t,"startY",null,0,1,elt,!1,!1,!0,!1,!0,!1),s6(JR(d2(uq(n.e),2),35),n.wb.t,"endX",null,0,1,elt,!1,!1,!0,!1,!0,!1),s6(JR(d2(uq(n.e),3),35),n.wb.t,"endY",null,0,1,elt,!1,!1,!0,!1,!0,!1),uon(JR(d2(uq(n.e),4),19),n.b,null,gFn,0,-1,elt,!1,!1,!0,!0,!1,!1,!1),uon(JR(d2(uq(n.e),5),19),n.d,JR(d2(uq(n.d),3),19),sFn,0,1,elt,!1,!1,!0,!1,!1,!1,!1),uon(JR(d2(uq(n.e),6),19),n.c,null,pFn,0,1,elt,!1,!1,!0,!1,!0,!1,!1),uon(JR(d2(uq(n.e),7),19),n.c,null,mFn,0,1,elt,!1,!1,!0,!1,!0,!1,!1),uon(JR(d2(uq(n.e),8),19),n.e,JR(d2(uq(n.e),9),19),vFn,0,-1,elt,!1,!1,!0,!1,!0,!1,!1),uon(JR(d2(uq(n.e),9),19),n.e,JR(d2(uq(n.e),8),19),kFn,0,-1,elt,!1,!1,!0,!1,!0,!1,!1),s6(JR(d2(uq(n.e),10),35),n.wb._,aFn,null,0,1,elt,!1,!1,!0,!1,!0,!1),fon(a=N9(n.e,null,"setStartLocation"),n.wb.t,"x"),fon(a,n.wb.t,"y"),fon(a=N9(n.e,null,"setEndLocation"),n.wb.t,"x"),fon(a,n.wb.t,"y"),AV(n.k,kUn,"ElkPropertyToValueMapEntry",!1,!1,!1),t=xG(n.o),e=new Em,bZ((!t.d&&(t.d=new NL(fbt,t,1)),t.d),e),pwn(JR(d2(uq(n.k),0),35),t,"key",kUn,!1,!1,!0,!1),s6(JR(d2(uq(n.k),1),35),n.s,iFn,null,0,1,kUn,!1,!1,!0,!1,!0,!1),ZU(n.o,oat,"IProperty",!0),ZU(n.s,sUn,"PropertyValue",!0),N7(n,tFn))}(n),oon(n),az(obt,tFn,n),n)}function nT(){nT=E,Clt=k3()}function tT(){tT=E,gbt=function(){var n,t;rMn();try{if(t=JR(Dun((UE(),obt),IBn),2040))return t}catch(t){if(!sL(t=X5(t),103))throw Lm(t);n=t,hH((DA(),n))}return new _s}()}function eT(){eT=E,Awt=function(){var n,t;HZ();try{if(t=JR(Dun((UE(),obt),aHn),2122))return t}catch(t){if(!sL(t=X5(t),103))throw Lm(t);n=t,hH((DA(),n))}return new Nh}()}function iT(){var n;iT=E,Lwt=ddt?JR(Adn((UE(),obt),aHn),2044):(IO(Owt,new Xh),IO(odt,new rf),IO(udt,new df),IO(sdt,new Sf),IO(CGn,new Of),IO(uM(Ydt,1),new Af),IO(ZUn,new Lf),IO(eGn,new Nf),IO(CGn,new Dh),IO(CGn,new xh),IO(CGn,new Rh),IO(cGn,new Kh),IO(CGn,new Fh),IO(dUn,new _h),IO(dUn,new Bh),IO(CGn,new Hh),IO(aGn,new Gh),IO(CGn,new qh),IO(CGn,new zh),IO(CGn,new Vh),IO(CGn,new Wh),IO(CGn,new Qh),IO(uM(Ydt,1),new Jh),IO(CGn,new Yh),IO(CGn,new Zh),IO(dUn,new nf),IO(dUn,new tf),IO(CGn,new ef),IO(sGn,new cf),IO(CGn,new af),IO(dGn,new of),IO(CGn,new uf),IO(CGn,new sf),IO(CGn,new hf),IO(CGn,new ff),IO(dUn,new lf),IO(dUn,new bf),IO(CGn,new wf),IO(CGn,new gf),IO(CGn,new pf),IO(CGn,new mf),IO(CGn,new vf),IO(CGn,new kf),IO(pGn,new yf),IO(CGn,new Mf),IO(CGn,new Tf),IO(CGn,new jf),IO(pGn,new Ef),IO(dGn,new Pf),IO(CGn,new Cf),IO(sGn,new If),n=JR(sL(rX((UE(),obt),aHn),594)?rX(obt,aHn):new LU,594),ddt=!0,function(n){n.N||(n.N=!0,n.b=h5(n,0),q4(n.b,0),q4(n.b,1),q4(n.b,2),n.bb=h5(n,1),q4(n.bb,0),q4(n.bb,1),n.fb=h5(n,2),q4(n.fb,3),q4(n.fb,4),X4(n.fb,5),n.qb=h5(n,3),q4(n.qb,0),X4(n.qb,1),X4(n.qb,2),q4(n.qb,3),q4(n.qb,4),X4(n.qb,5),q4(n.qb,6),n.a=f5(n,4),n.c=f5(n,5),n.d=f5(n,6),n.e=f5(n,7),n.f=f5(n,8),n.g=f5(n,9),n.i=f5(n,10),n.j=f5(n,11),n.k=f5(n,12),n.n=f5(n,13),n.o=f5(n,14),n.p=f5(n,15),n.q=f5(n,16),n.s=f5(n,17),n.r=f5(n,18),n.t=f5(n,19),n.u=f5(n,20),n.v=f5(n,21),n.w=f5(n,22),n.B=f5(n,23),n.A=f5(n,24),n.C=f5(n,25),n.D=f5(n,26),n.F=f5(n,27),n.G=f5(n,28),n.H=f5(n,29),n.J=f5(n,30),n.I=f5(n,31),n.K=f5(n,32),n.M=f5(n,33),n.L=f5(n,34),n.P=f5(n,35),n.Q=f5(n,36),n.R=f5(n,37),n.S=f5(n,38),n.T=f5(n,39),n.U=f5(n,40),n.V=f5(n,41),n.X=f5(n,42),n.W=f5(n,43),n.Y=f5(n,44),n.Z=f5(n,45),n.$=f5(n,46),n._=f5(n,47),n.ab=f5(n,48),n.cb=f5(n,49),n.db=f5(n,50),n.eb=f5(n,51),n.gb=f5(n,52),n.hb=f5(n,53),n.ib=f5(n,54),n.jb=f5(n,55),n.kb=f5(n,56),n.lb=f5(n,57),n.mb=f5(n,58),n.nb=f5(n,59),n.ob=f5(n,60),n.pb=f5(n,61))}(n),function(n){var t;n.O||(n.O=!0,H4(n,"type"),U4(n,"ecore.xml.type"),G4(n,aHn),t=JR(Adn((UE(),obt),aHn),2044),bZ(_q(n.fb),n.b),AV(n.b,Owt,"AnyType",!1,!1,!0),s6(JR(d2(uq(n.b),0),35),n.wb.D,mBn,null,0,-1,Owt,!1,!1,!0,!1,!1,!1),s6(JR(d2(uq(n.b),1),35),n.wb.D,"any",null,0,-1,Owt,!0,!0,!0,!1,!1,!0),s6(JR(d2(uq(n.b),2),35),n.wb.D,"anyAttribute",null,0,-1,Owt,!1,!1,!0,!1,!1,!1),AV(n.bb,odt,fHn,!1,!1,!0),s6(JR(d2(uq(n.bb),0),35),n.gb,"data",null,0,1,odt,!1,!1,!0,!1,!0,!1),s6(JR(d2(uq(n.bb),1),35),n.gb,AFn,null,1,1,odt,!1,!1,!0,!1,!0,!1),AV(n.fb,udt,lHn,!1,!1,!0),s6(JR(d2(uq(n.fb),0),35),t.gb,"rawValue",null,0,1,udt,!0,!0,!0,!1,!0,!0),s6(JR(d2(uq(n.fb),1),35),t.a,iFn,null,0,1,udt,!0,!0,!0,!1,!0,!0),uon(JR(d2(uq(n.fb),2),19),n.wb.q,null,"instanceType",1,1,udt,!1,!1,!0,!1,!1,!1,!1),AV(n.qb,sdt,bHn,!1,!1,!0),s6(JR(d2(uq(n.qb),0),35),n.wb.D,mBn,null,0,-1,null,!1,!1,!0,!1,!1,!1),uon(JR(d2(uq(n.qb),1),19),n.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),uon(JR(d2(uq(n.qb),2),19),n.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),s6(JR(d2(uq(n.qb),3),35),n.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),s6(JR(d2(uq(n.qb),4),35),n.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),uon(JR(d2(uq(n.qb),5),19),n.bb,null,FHn,0,-2,null,!0,!0,!0,!0,!1,!1,!0),s6(JR(d2(uq(n.qb),6),35),n.gb,hFn,null,0,-2,null,!0,!0,!0,!1,!1,!0),ZU(n.a,sUn,"AnySimpleType",!0),ZU(n.c,CGn,"AnyURI",!0),ZU(n.d,uM(Ydt,1),"Base64Binary",!0),ZU(n.e,Qdt,"Boolean",!0),ZU(n.f,ZUn,"BooleanObject",!0),ZU(n.g,Ydt,"Byte",!0),ZU(n.i,eGn,"ByteObject",!0),ZU(n.j,CGn,"Date",!0),ZU(n.k,CGn,"DateTime",!0),ZU(n.n,DGn,"Decimal",!0),ZU(n.o,Zdt,"Double",!0),ZU(n.p,cGn,"DoubleObject",!0),ZU(n.q,CGn,"Duration",!0),ZU(n.s,dUn,"ENTITIES",!0),ZU(n.r,dUn,"ENTITIESBase",!0),ZU(n.t,CGn,vHn,!0),ZU(n.u,ngt,"Float",!0),ZU(n.v,aGn,"FloatObject",!0),ZU(n.w,CGn,"GDay",!0),ZU(n.B,CGn,"GMonth",!0),ZU(n.A,CGn,"GMonthDay",!0),ZU(n.C,CGn,"GYear",!0),ZU(n.D,CGn,"GYearMonth",!0),ZU(n.F,uM(Ydt,1),"HexBinary",!0),ZU(n.G,CGn,"ID",!0),ZU(n.H,CGn,"IDREF",!0),ZU(n.J,dUn,"IDREFS",!0),ZU(n.I,dUn,"IDREFSBase",!0),ZU(n.K,Wdt,"Int",!0),ZU(n.M,_Gn,"Integer",!0),ZU(n.L,sGn,"IntObject",!0),ZU(n.P,CGn,"Language",!0),ZU(n.Q,Jdt,"Long",!0),ZU(n.R,dGn,"LongObject",!0),ZU(n.S,CGn,"Name",!0),ZU(n.T,CGn,kHn,!0),ZU(n.U,_Gn,"NegativeInteger",!0),ZU(n.V,CGn,OHn,!0),ZU(n.X,dUn,"NMTOKENS",!0),ZU(n.W,dUn,"NMTOKENSBase",!0),ZU(n.Y,_Gn,"NonNegativeInteger",!0),ZU(n.Z,_Gn,"NonPositiveInteger",!0),ZU(n.$,CGn,"NormalizedString",!0),ZU(n._,CGn,"NOTATION",!0),ZU(n.ab,CGn,"PositiveInteger",!0),ZU(n.cb,CGn,"QName",!0),ZU(n.db,tgt,"Short",!0),ZU(n.eb,pGn,"ShortObject",!0),ZU(n.gb,CGn,TPn,!0),ZU(n.hb,CGn,"Time",!0),ZU(n.ib,CGn,"Token",!0),ZU(n.jb,tgt,"UnsignedByte",!0),ZU(n.kb,pGn,"UnsignedByteObject",!0),ZU(n.lb,Jdt,"UnsignedInt",!0),ZU(n.mb,dGn,"UnsignedIntObject",!0),ZU(n.nb,_Gn,"UnsignedLong",!0),ZU(n.ob,Wdt,"UnsignedShort",!0),ZU(n.pb,sGn,"UnsignedShortObject",!0),N7(n,aHn),function(n){_dn(n.a,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"anySimpleType"])),_dn(n.b,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"anyType",kBn,mBn])),_dn(JR(d2(uq(n.b),0),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,ZBn,DFn,":mixed"])),_dn(JR(d2(uq(n.b),1),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,ZBn,cHn,oHn,DFn,":1",gHn,"lax"])),_dn(JR(d2(uq(n.b),2),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,JBn,cHn,oHn,DFn,":2",gHn,"lax"])),_dn(n.c,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"anyURI",rHn,nHn])),_dn(n.d,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"base64Binary",rHn,nHn])),_dn(n.e,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,hSn,rHn,nHn])),_dn(n.f,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"boolean:Object",LBn,hSn])),_dn(n.g,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,aBn])),_dn(n.i,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"byte:Object",LBn,aBn])),_dn(n.j,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"date",rHn,nHn])),_dn(n.k,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"dateTime",rHn,nHn])),_dn(n.n,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"decimal",rHn,nHn])),_dn(n.o,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,uBn,rHn,nHn])),_dn(n.p,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"double:Object",LBn,uBn])),_dn(n.q,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"duration",rHn,nHn])),_dn(n.s,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"ENTITIES",LBn,pHn,mHn,"1"])),_dn(n.r,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,pHn,tHn,vHn])),_dn(n.t,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,vHn,LBn,kHn])),_dn(n.u,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,sBn,rHn,nHn])),_dn(n.v,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"float:Object",LBn,sBn])),_dn(n.w,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"gDay",rHn,nHn])),_dn(n.B,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"gMonth",rHn,nHn])),_dn(n.A,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"gMonthDay",rHn,nHn])),_dn(n.C,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"gYear",rHn,nHn])),_dn(n.D,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"gYearMonth",rHn,nHn])),_dn(n.F,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"hexBinary",rHn,nHn])),_dn(n.G,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"ID",LBn,kHn])),_dn(n.H,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"IDREF",LBn,kHn])),_dn(n.J,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"IDREFS",LBn,yHn,mHn,"1"])),_dn(n.I,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,yHn,tHn,"IDREF"])),_dn(n.K,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,hBn])),_dn(n.M,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,MHn])),_dn(n.L,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"int:Object",LBn,hBn])),_dn(n.P,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"language",LBn,THn,jHn,EHn])),_dn(n.Q,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,fBn])),_dn(n.R,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"long:Object",LBn,fBn])),_dn(n.S,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"Name",LBn,THn,jHn,SHn])),_dn(n.T,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,kHn,LBn,"Name",jHn,PHn])),_dn(n.U,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"negativeInteger",LBn,CHn,IHn,"-1"])),_dn(n.V,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,OHn,LBn,THn,jHn,"\\c+"])),_dn(n.X,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"NMTOKENS",LBn,AHn,mHn,"1"])),_dn(n.W,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,AHn,tHn,OHn])),_dn(n.Y,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,LHn,LBn,MHn,NHn,"0"])),_dn(n.Z,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,CHn,LBn,MHn,IHn,"0"])),_dn(n.$,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,$Hn,LBn,lSn,rHn,"replace"])),_dn(n._,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"NOTATION",rHn,nHn])),_dn(n.ab,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"positiveInteger",LBn,LHn,NHn,"1"])),_dn(n.bb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"processingInstruction_._type",kBn,"empty"])),_dn(JR(d2(uq(n.bb),0),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,QBn,DFn,"data"])),_dn(JR(d2(uq(n.bb),1),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,QBn,DFn,AFn])),_dn(n.cb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"QName",rHn,nHn])),_dn(n.db,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,lBn])),_dn(n.eb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"short:Object",LBn,lBn])),_dn(n.fb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"simpleAnyType",kBn,WBn])),_dn(JR(d2(uq(n.fb),0),35),vBn,a8(uM(CGn,1),HSn,2,6,[DFn,":3",kBn,WBn])),_dn(JR(d2(uq(n.fb),1),35),vBn,a8(uM(CGn,1),HSn,2,6,[DFn,":4",kBn,WBn])),_dn(JR(d2(uq(n.fb),2),19),vBn,a8(uM(CGn,1),HSn,2,6,[DFn,":5",kBn,WBn])),_dn(n.gb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,lSn,rHn,"preserve"])),_dn(n.hb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"time",rHn,nHn])),_dn(n.ib,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,THn,LBn,$Hn,rHn,nHn])),_dn(n.jb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,DHn,IHn,"255",NHn,"0"])),_dn(n.kb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"unsignedByte:Object",LBn,DHn])),_dn(n.lb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,xHn,IHn,"4294967295",NHn,"0"])),_dn(n.mb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"unsignedInt:Object",LBn,xHn])),_dn(n.nb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"unsignedLong",LBn,LHn,IHn,RHn,NHn,"0"])),_dn(n.ob,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,KHn,IHn,"65535",NHn,"0"])),_dn(n.pb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"unsignedShort:Object",LBn,KHn])),_dn(n.qb,vBn,a8(uM(CGn,1),HSn,2,6,[DFn,"",kBn,mBn])),_dn(JR(d2(uq(n.qb),0),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,ZBn,DFn,":mixed"])),_dn(JR(d2(uq(n.qb),1),19),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,QBn,DFn,"xmlns:prefix"])),_dn(JR(d2(uq(n.qb),2),19),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,QBn,DFn,"xsi:schemaLocation"])),_dn(JR(d2(uq(n.qb),3),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,YBn,DFn,"cDATA",eHn,iHn])),_dn(JR(d2(uq(n.qb),4),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,YBn,DFn,"comment",eHn,iHn])),_dn(JR(d2(uq(n.qb),5),19),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,YBn,DFn,FHn,eHn,iHn])),_dn(JR(d2(uq(n.qb),6),35),vBn,a8(uM(CGn,1),HSn,2,6,[kBn,YBn,DFn,hFn,eHn,iHn]))}(n))}(n),DU((KE(),dbt),n,new $h),oon(n),az(obt,aHn,n),n)}function rT(n){return n.e&&n.e()}function cT(n){return n.l|n.m<<22}function aT(n,t){return n.c._b(t)}function oT(n,t){return lnn(n.b,t)}function uT(n){return n?n.d:null}function sT(n){return W$(n),n.o}function hT(n,t){return n.a+=t,n}function fT(n,t){return n.a+=t,n}function lT(n,t){return n.a+=t,n}function bT(n,t){return n.a+=t,n}function wT(n,t){for(;n.Bd(t););}function dT(n){this.a=new Bj(n)}function gT(){throw Lm(new ev)}function pT(){throw Lm(new ev)}function mT(){throw Lm(new ev)}function vT(){throw Lm(new ev)}function kT(){throw Lm(new ev)}function yT(){throw Lm(new ev)}function MT(n){this.a=new H_(n)}function TT(){this.a=new $gn(Jtt)}function jT(){this.b=new $gn(z7n)}function ET(){this.a=new $gn(hit)}function ST(){this.b=new $gn(Urt)}function PT(){this.b=new $gn(Urt)}function CT(n){this.a=0,this.b=n}function IT(n){Ijn(),function(n,t){var e,i,r,c,a,o,u,s;if(e=0,a=0,c=t.length,o=null,s=new Zy,a1?CV(t.a[0],t.a[1]):CV(t.a[0],0),zV(t.e>0?e:v1(e))))}(n,new kA(u));for(n.d=s.a.length,r=0;r0}(JR(n,27))?RN(i,(Nrn(),rat))||RN(i,cat):RN(i,(Nrn(),rat));if(sL(n,326))return RN(i,(Nrn(),eat));if(sL(n,193))return RN(i,(Nrn(),aat));if(sL(n,366))return RN(i,(Nrn(),iat))}return!0}(n,t)}function $T(n,t,e){n.splice(t,e)}function DT(n,t){for(;n.Re(t););}function xT(n){n.c?hmn(n):fmn(n)}function RT(){throw Lm(new ev)}function KT(){throw Lm(new ev)}function FT(){throw Lm(new ev)}function _T(){throw Lm(new ev)}function BT(){throw Lm(new ev)}function HT(){throw Lm(new ev)}function UT(){throw Lm(new ev)}function GT(){throw Lm(new ev)}function qT(){throw Lm(new ev)}function XT(){throw Lm(new ev)}function zT(n){this.a=new VT(n)}function VT(n){!function(n,t,e){var i;n.b=t,n.a=e,i=512&~n.a?new $f:new vk,n.c=function(n,t,e){var i,r,c;if(n.e=e,n.d=0,n.b=0,n.f=1,n.i=t,!(16&~n.e)&&(n.i=function(n){var t,e,i,r,c;for(i=n.length,t=new Jy,c=0;ct&&t0)){if(c=-1,32==rG(f.c,0)){if(l=h[0],u0(t,h),h[0]>l)continue}else if(xq(t,f.c,h[0])){h[0]+=f.c.length;continue}return 0}if(c<0&&f.a&&(c=s,a=h[0],r=0),c>=0){if(u=f.b,s==c&&0==(u-=r++))return 0;if(!Gjn(t,h,f,u,o)){s=c-1,h[0]=a;continue}}else if(c=-1,!Gjn(t,h,f,0,o))return 0}return function(n,t){var e,r,c,a,o,u;if(0==n.e&&n.p>0&&(n.p=-(n.p-1)),n.p>vPn&&ZW(t,n.p-UPn),o=t.q.getDate(),CX(t,1),n.k>=0&&function(n,t){var e;e=n.q.getHours(),n.q.setMonth(t),xyn(n,e)}(t,n.k),n.c>=0?CX(t,n.c):n.k>=0?(r=35-new H8(t.q.getFullYear()-UPn,t.q.getMonth(),35).q.getDate(),CX(t,i.Math.min(r,o))):CX(t,o),n.f<0&&(n.f=t.q.getHours()),n.b>0&&n.f<12&&(n.f+=12),function(n,t){n.q.setHours(t),xyn(n,t)}(t,24==n.f&&n.g?0:n.f),n.j>=0&&function(n,t){var e;e=n.q.getHours()+(t/60|0),n.q.setMinutes(t),xyn(n,e)}(t,n.j),n.n>=0&&function(n,t){var e;e=n.q.getHours()+(t/3600|0),n.q.setSeconds(t),xyn(n,e)}(t,n.n),n.i>=0&&OO(t,Atn(Ltn(Tun(p5(t.q.getTime()),IPn),IPn),n.i)),n.a&&(ZW(c=new Cj,c.q.getFullYear()-UPn-80),nS(p5(t.q.getTime()),p5(c.q.getTime()))&&ZW(t,c.q.getFullYear()-UPn+100)),n.d>=0)if(-1==n.c)(e=(7+n.d-t.q.getDay())%7)>3&&(e-=7),u=t.q.getMonth(),CX(t,t.q.getDate()+e),t.q.getMonth()!=u&&CX(t,t.q.getDate()+(e>0?-7:7));else if(t.q.getDay()!=n.d)return!1;return n.o>vPn&&(a=t.q.getTimezoneOffset(),OO(t,Atn(p5(t.q.getTime()),60*(n.o-a)*IPn))),!0}(o,e)?h[0]:0}(n,t,c=new H8((r=new Cj).q.getFullYear()-UPn,r.q.getMonth(),r.q.getDate())))||e0}function nS(n,t){return G7(n,t)<0}function tS(n,t){return zF(n.a,t)}function eS(n,t){qX.call(this,n,t)}function iS(n){LH(),Kx.call(this,n)}function rS(n,t){e_(n,n.length,t)}function cS(n,t){eH(n,n.length,t)}function aS(n,t){return n.a.get(t)}function oS(n,t){return MB(n.e,t)}function uS(n){return TU(n),!1}function sS(n){this.a=JR(PH(n),229)}function hS(n){Kz.call(this,n,21)}function fS(n,t){mj.call(this,n,t)}function lS(n,t){mj.call(this,n,t)}function bS(n,t){this.b=n,this.a=t}function wS(n,t){this.d=n,this.e=t}function dS(n,t){this.a=n,this.b=t}function gS(n,t){this.a=n,this.b=t}function pS(n,t){this.a=n,this.b=t}function mS(n,t){this.a=n,this.b=t}function vS(n,t){this.a=n,this.b=t}function kS(n,t){this.b=n,this.a=t}function yS(n,t){this.b=n,this.a=t}function MS(n,t){mj.call(this,n,t)}function TS(n,t){mj.call(this,n,t)}function jS(n,t){mj.call(this,n,t)}function ES(n,t){mj.call(this,n,t)}function SS(n,t){mj.call(this,n,t)}function PS(n,t){mj.call(this,n,t)}function CS(n,t){mj.call(this,n,t)}function IS(n,t){this.b=n,this.a=t}function OS(n,t){mj.call(this,n,t)}function AS(n,t){this.b=n,this.a=t}function LS(n,t){mj.call(this,n,t)}function NS(n,t){this.b=n,this.a=t}function $S(n,t){mj.call(this,n,t)}function DS(n,t){mj.call(this,n,t)}function xS(n,t){mj.call(this,n,t)}function RS(n,t,e){n.splice(t,0,e)}function KS(n,t){mj.call(this,n,t)}function FS(n,t){mj.call(this,n,t)}function _S(n,t){mj.call(this,n,t)}function BS(n,t){mj.call(this,n,t)}function HS(n,t){mj.call(this,n,t)}function US(n,t){mj.call(this,n,t)}function GS(n,t){this.a=n,this.b=t}function qS(n,t){this.a=n,this.b=t}function XS(n,t){this.a=n,this.b=t}function zS(n,t){this.a=n,this.b=t}function VS(n,t){this.a=n,this.b=t}function WS(n,t){this.a=n,this.b=t}function QS(n,t){this.b=n,this.a=t}function JS(n,t){this.b=n,this.a=t}function YS(n,t){this.b=n,this.a=t}function ZS(n,t){this.c=n,this.d=t}function nP(n,t){this.e=n,this.d=t}function tP(n,t){this.a=n,this.b=t}function eP(n,t){this.a=n,this.b=t}function iP(n,t){this.a=n,this.b=t}function rP(n,t){this.b=n,this.a=t}function cP(n,t){this.b=t,this.c=n}function aP(n,t){mj.call(this,n,t)}function oP(n,t){mj.call(this,n,t)}function uP(n,t){mj.call(this,n,t)}function sP(n,t){mj.call(this,n,t)}function hP(n,t){mj.call(this,n,t)}function fP(n,t){mj.call(this,n,t)}function lP(n,t){mj.call(this,n,t)}function bP(n,t){mj.call(this,n,t)}function wP(n,t){mj.call(this,n,t)}function dP(n,t){mj.call(this,n,t)}function gP(n,t){mj.call(this,n,t)}function pP(n,t){mj.call(this,n,t)}function mP(n,t){mj.call(this,n,t)}function vP(n,t){mj.call(this,n,t)}function kP(n,t){mj.call(this,n,t)}function yP(n,t){mj.call(this,n,t)}function MP(n,t){mj.call(this,n,t)}function TP(n,t){mj.call(this,n,t)}function jP(n,t){mj.call(this,n,t)}function EP(n,t){mj.call(this,n,t)}function SP(n,t){mj.call(this,n,t)}function PP(n,t){mj.call(this,n,t)}function CP(n,t){mj.call(this,n,t)}function IP(n,t){mj.call(this,n,t)}function OP(n,t){mj.call(this,n,t)}function AP(n,t){mj.call(this,n,t)}function LP(n,t){mj.call(this,n,t)}function NP(n,t){mj.call(this,n,t)}function $P(n,t){mj.call(this,n,t)}function DP(n,t){mj.call(this,n,t)}function xP(n,t){mj.call(this,n,t)}function RP(n,t){mj.call(this,n,t)}function KP(n,t){mj.call(this,n,t)}function FP(n,t){this.b=n,this.a=t}function _P(n,t){mj.call(this,n,t)}function BP(n,t){this.a=n,this.b=t}function HP(n,t){this.a=n,this.b=t}function UP(n,t){this.a=n,this.b=t}function GP(n,t){mj.call(this,n,t)}function qP(n,t){mj.call(this,n,t)}function XP(n,t){this.a=n,this.b=t}function zP(n){return J$(n.a),n.b}function VP(n){return function(n,t){var e,i,r;for(e=new mw(n.a.a);e.a=0}function WI(n,t){return 0!=G7(n,t)}function QI(n,t){return function(n,t){for(PH(t);n.Ob();)if(!D5(JR(n.Pb(),10)))return!1;return!0}(n.Kc(),t)}function JI(n,t){return n.Rd().Xb(t)}function YI(n){return ten(n),n.d.gc()}function ZI(n){return aF(null==n),n}function nO(n,t){return n.a+=""+t,n}function tO(n,t){return n.a+=""+t,n}function eO(n,t){return n.a+=""+t,n}function iO(n,t){return n.a+=""+t,n}function rO(n,t){return n.a+=""+t,n}function cO(n,t){return n.a+=""+t,n}function aO(n){return""+(TU(n),n)}function oO(n){CB(this),S6(this,n)}function uO(){ZX(),h_.call(this)}function sO(n,t){B_.call(this,n,t)}function hO(n,t){B_.call(this,n,t)}function fO(n,t){B_.call(this,n,t)}function lO(n,t){vQ(n,t,n.c.b,n.c)}function bO(n,t){vQ(n,t,n.a,n.a.a)}function wO(n){return xz(n,0),null}function dO(){this.b=0,this.a=!1}function gO(){this.b=0,this.a=!1}function pO(){this.b=new Bj(U0(12))}function mO(){mO=E,czn=w7(Orn())}function vO(){vO=E,$Jn=w7(Lgn())}function kO(){kO=E,ont=w7(X6())}function yO(){yO=E,zm(),DUn=new ym}function MO(n){return n.a=0,n.b=0,n}function TO(n,t){return n.a=t.g+1,n}function jO(n,t){jx.call(this,n,t)}function EO(n,t){ND.call(this,n,t)}function SO(n,t){FI.call(this,n,t)}function PO(n,t){qN.call(this,n,t)}function CO(n,t){E5.call(this,n,t)}function IO(n,t){GE(),DU(Dlt,n,t)}function OO(n,t){n.q.setTime(zV(t))}function AO(n,t){return UI(n)===UI(t)}function LO(n,t){return n.a.a.a.cc(t)}function NO(n,t){return Gq(n.a,0,t)}function $O(n){return function(n){return rq(),_X(Mhn(n))==_X(Ehn(n))}(JR(n,74))}function DO(n){return lX((TU(n),n))}function xO(n){return XA(n.l,n.m,n.h)}function RO(n,t){return GA(n.a,t.a)}function KO(n,t){return n.indexOf(t)}function FO(n,t){return n==t?0:n?1:-1}function _O(n){return n<10?"0"+n:""+n}function BO(n){return typeof n===fSn}function HO(n,t){return GA(n.g,t.g)}function UO(n){return k1(n.b.b,n,0)}function GO(){CF.call(this,0,0,0,0)}function qO(){jw.call(this,new mQ)}function XO(n,t){RZ(n,0,n.length,t)}function zO(n,t){return AL(n.a,t),t}function VO(n,t){return n5(n.a,t),n}function WO(n){this.a=WP(),this.b=n}function QO(n){this.a=WP(),this.b=n}function JO(n){this.a=n.a,this.b=n.b}function YO(n){this.a=n,Rf.call(this)}function ZO(n){this.a=n,Rf.call(this)}function nA(){kG.call(this,0,0,0,0)}function tA(n){return n5(new OU,n)}function eA(n){return zU(JR(n,123))}function iA(n){return n.vh()&&n.wh()}function rA(n){return n!=iht&&n!=rht}function cA(n){return n==Xut||n==zut}function aA(n){return n==Wut||n==qut}function oA(n){return n==u8n||n==o8n}function uA(n,t){return new E5(t,n)}function sA(n){return function(n,t){return PH(n),PH(t),new bj(n,t)}(n.b.Kc(),n.a)}function hA(n,t){Y9(n,t),W2(n,n.D)}function fA(n,t,e){q2(n,t),x2(n,e)}function lA(n,t,e){F2(n,t),K2(n,e)}function bA(n,t,e){_2(n,t),B2(n,e)}function wA(n,t,e){R2(n,t),U2(n,e)}function dA(n,t,e){H2(n,t),G2(n,e)}function gA(n,t,e){aD.call(this,n,t,e)}function pA(n){EI.call(this,n,!0)}function mA(){fS.call(this,"Tail",3)}function vA(){fS.call(this,"Head",1)}function kA(n){bvn(),C6.call(this,n)}function yA(n){CF.call(this,n,n,n,n)}function MA(n){n.c=tZ(sUn,kSn,1,0,5,1)}function TA(n){return n.b&&hMn(n),n.a}function jA(n){return n.b&&hMn(n),n.c}function EA(n,t){ND.call(this,n.b,t)}function SA(n,t,e){FH(n.c[t.g],t.g,e)}function PA(n,t,e){return FH(n,t,e),e}function CA(n){n2(n.Sf(),new Zw(n))}function IA(n){return null!=n?F4(n):0}function OA(n){WEn(),vm.call(this,n)}function AA(n){this.a=n,UR.call(this,n)}function LA(){LA=E,i.Math.log(2)}function NA(){NA=E,BE(),Zbt=Gft}function $A(){$A=E,b7n=new Wtn(dst)}function DA(){DA=E,new xA,new Mm}function xA(){new ym,new ym,new ym}function RA(n){this.a=n,Sj.call(this,n)}function KA(n){this.a=n,Sj.call(this,n)}function FA(n,t){AH(),this.a=n,this.b=t}function _A(n,t){YF(n.c,n.c.length,t)}function BA(n){return n.at?1:0}function qA(n,t){return G7(n,t)>0?n:t}function XA(n,t,e){return{l:n,m:t,h:e}}function zA(n,t){null!=n.a&&OI(t,n.a)}function VA(n,t,e){return kin(t,e,n.c)}function WA(n,t,e){return function(n,t,e){var i,r,c,a,o,u,s,h;for(u=new Mm,o=new mw(t.a);o.a0),c=JR(s.a.Xb(s.c=--s.b),18);c!=i&&s.b>0;)n.a[c.p]=!0,n.a[i.p]=!0,J$(s.b>0),c=JR(s.a.Xb(s.c=--s.b),18);s.b>0&&oU(s)}}(n,t,e),e}function QA(n){Iq.call(this),this.b=n}function JA(n){QD.call(this),this.a=n}function YA(){fS.call(this,"Range",2)}function ZA(n){this.b=n,this.a=new Mm}function nL(n){this.b=new tt,this.a=n}function tL(n){n.a=new R,n.c=new R}function eL(n){n.a=new ym,n.d=new ym}function iL(n){fz(n,null),lz(n,null)}function rL(n,t){return function(n,t,e){var i,r,c,a,o,u,s,h,f;for(!e&&(e=function(n){var t;return(t=new y).a=n,t.b=function(n){var t;return 0==n?"Etc/GMT":(n<0?(n=-n,t="Etc/GMT-"):t="Etc/GMT+",t+e0(n))}(n),t.c=tZ(CGn,HSn,2,2,6,1),t.c[0]=Q4(n),t.c[1]=Q4(n),t}(t.q.getTimezoneOffset())),r=6e4*(t.q.getTimezoneOffset()-e.a),u=o=new hD(Atn(p5(t.q.getTime()),r)),o.q.getTimezoneOffset()!=t.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,u=new hD(Atn(p5(t.q.getTime()),r))),h=new Zy,s=n.a.length,c=0;c=97&&i<=122||i>=65&&i<=90){for(a=c+1;a=s)throw Lm(new Cy("Missing trailing '"));a+11)throw Lm(new Cy(sHn));for(h=ipn(n.e.Dh(),t),i=JR(n.g,124),a=0;a1||e>1)return 2;return t+e==1?2:0}(t)}function PL(n,t){return null!=n.a.Bc(t)}function CL(n,t){return n.a*t.a+n.b*t.b}function IL(n,t,e){n.a=1502^t,n.b=e^BCn}function OL(n,t){return n.a*=t,n.b*=t,n}function AL(n,t){return Km(n.c,t),!0}function LL(n,t,e){return FH(n.g,t,e),e}function NL(n,t,e){yK.call(this,n,t,e)}function $L(n,t,e){NL.call(this,n,t,e)}function DL(n,t,e){MK.call(this,n,t,e)}function xL(n,t,e){MK.call(this,n,t,e)}function RL(n,t,e){DL.call(this,n,t,e)}function KL(n,t,e){NL.call(this,n,t,e)}function FL(n,t,e){$L.call(this,n,t,e)}function _L(n,t,e){yK.call(this,n,t,e)}function BL(n,t,e){yK.call(this,n,t,e)}function HL(n,t,e){_L.call(this,n,t,e)}function UL(n){n.j=tZ(mGn,HSn,319,0,0,1)}function GL(){this.a=tZ(sUn,kSn,1,8,5,1)}function qL(){this.Bb|=256,this.Bb|=512}function XL(n){this.i=n,this.f=this.i.j}function zL(n){this.c=n,this.a=this.c.a}function VL(n,t){this.a=n,Sj.call(this,t)}function WL(n,t){return function(n,t,e){try{!function(n,t,e){if(PH(t),e.Ob())for(cO(t,bU(e.Pb()));e.Ob();)cO(t,n.a),cO(t,bU(e.Pb()))}(n,t,e)}catch(n){throw sL(n=X5(n),606)?Lm(new EJ(n)):Lm(n)}return t}(n,new Yy,t).a}function QL(n){if(!n)throw Lm(new Zm)}function JL(n){if(!n)throw Lm(new nv)}function YL(){(YL=E)(),sqn=new _}function ZL(){ZL=E,zE(),ywt=new Kl}function nN(){nN=E,iqn=new cy(null)}function tN(n){Fq(n,RFn),lgn(n,function(n){var t,e,i,r,c;switch(Fq(n,RFn),(!n.b&&(n.b=new yx(nlt,n,4,7)),n.b).i+(!n.c&&(n.c=new yx(nlt,n,5,8)),n.c).i){case 0:throw Lm(new Cy("The edge must have at least one source or target."));case 1:return 0==(!n.b&&(n.b=new yx(nlt,n,4,7)),n.b).i?_X(Bsn(JR(d2((!n.c&&(n.c=new yx(nlt,n,5,8)),n.c),0),84))):_X(Bsn(JR(d2((!n.b&&(n.b=new yx(nlt,n,4,7)),n.b),0),84)))}if(1==(!n.b&&(n.b=new yx(nlt,n,4,7)),n.b).i&&1==(!n.c&&(n.c=new yx(nlt,n,5,8)),n.c).i){if(r=Bsn(JR(d2((!n.b&&(n.b=new yx(nlt,n,4,7)),n.b),0),84)),c=Bsn(JR(d2((!n.c&&(n.c=new yx(nlt,n,5,8)),n.c),0),84)),_X(r)==_X(c))return _X(r);if(r==_X(c))return r;if(c==_X(r))return c}for(t=Bsn(JR(MJ(i=EB(f3(a8(uM(bUn,1),kSn,20,0,[(!n.b&&(n.b=new yx(nlt,n,4,7)),n.b),(!n.c&&(n.c=new yx(nlt,n,5,8)),n.c)])))),84));Bwn(i);)if((e=Bsn(JR(MJ(i),84)))!=t&&!Z0(e,t))if(_X(e)==_X(t))t=_X(e);else if(!(t=xdn(t,e)))return null;return t}(n))}function eN(n){n.a=JR(s5(n.b.a,4),129)}function iN(n){n.a=JR(s5(n.b.a,4),129)}function rN(n){n.b.Qb(),--n.d.f.d,qF(n.d)}function cN(n){this.a=n,sb.call(this,n.d)}function aN(n,t){this.a=n,aM.call(this,t)}function oN(n,t){this.a=n,aM.call(this,t)}function uN(n,t){this.a=n,aM.call(this,t)}function sN(n,t){this.a=t,aM.call(this,n)}function hN(n,t){this.a=t,dQ.call(this,n)}function fN(n,t){this.a=n,dQ.call(this,t)}function lN(n,t){this.a=t,Pj.call(this,n)}function bN(n,t){this.a=t,Pj.call(this,n)}function wN(n,t){return PH(t),new lN(n,t)}function dN(n,t){return new uln(n.a,n.b,t)}function gN(n,t,e){return n.indexOf(t,e)}function pN(n,t){return n.lastIndexOf(t)}function mN(n){return null==n?jSn:Qtn(n)}function vN(n){iw.call(this,(TU(n),n))}function kN(n){iw.call(this,(TU(n),n))}function yN(n){tb.call(this,JR(PH(n),34))}function MN(n){tb.call(this,JR(PH(n),34))}function TN(n){jw.call(this,new sZ(n))}function jN(n){ww.call(this,n),this.a=n}function EN(n){bw.call(this,n),this.a=n}function SN(n){iM.call(this,n),this.a=n}function PN(){UL(this),_G(this),this.je()}function CN(n){this.a=n,lw.call(this,n)}function IN(n){return J$(null!=n.a),n.a}function ON(n,t){return AL(t.a,n.a),n.a}function AN(n,t){return AL(t.b,n.a),n.a}function LN(n,t){return AL(t.a,n.a),n.a}function NN(n,t,e){return t5(n,t,t,e),n}function $N(n,t){return++n.b,AL(n.a,t)}function DN(n,t){return++n.b,g1(n.a,t)}function xN(n,t){return JR(RJ(n.b,t),15)}function RN(n,t){return!!t&&n.b[t.g]==t}function KN(n){return BA(n.a)||BA(n.b)}function FN(n){return n.$H||(n.$H=++$qn)}function _N(n,t,e){return FW(n,t,e,n.c)}function BN(){ME(),this.b=new Vd(this)}function HN(){HN=E,ozn=new ND(YIn,0)}function UN(){UN=E,WUn=!1,QUn=!0}function GN(n){var t;t=n.a,n.a=n.b,n.b=t}function qN(n,t){qE(),this.a=n,this.b=t}function XN(n,t){XE(),this.b=n,this.c=t}function zN(n,t){l_(),this.f=t,this.d=n}function VN(n,t){_J(t,n),this.d=n,this.c=t}function WN(n,t){irn.call(this,n,t,null)}function QN(n,t,e,i){q_.call(this,n,t,e,i)}function JN(n){this.d=n,XL.call(this,n)}function YN(n){this.c=n,XL.call(this,n)}function ZN(n){this.c=n,JN.call(this,n)}function n$(n){return A3(n,fPn),new dY(n)}function t$(n){return dq(),parseInt(n)||-1}function e$(n,t,e){return gN(n,Zsn(t),e)}function i$(n,t){return new $x(n,n.gc(),t)}function r$(n,t,e){n.fd(t).Rb(e)}function c$(n,t,e){JR(N1(n,t),21).Fc(e)}function a$(n){sL(n,158)&&JR(n,158).pi()}function o$(n){eK.call(this,n,null,null)}function u$(n){zj(),this.b=n,this.a=!0}function s$(n){Vj(),this.b=n,this.a=!0}function h$(n){return J$(0!=n.b),n.a.a.c}function f$(n){return J$(0!=n.b),n.c.b.c}function l$(n,t){return t5(n,t,t+1,""),n}function b$(n,t){return!!n.q&&MB(n.q,t)}function w$(n){return n.b=JR(HG(n.a),44)}function d$(n){return null!=n.f?n.f:""+n.g}function g$(n,t){return JR(t0(n.a,t),34)}function p$(n){n.d=new o$(n),n.e=new ym}function m$(){this.a=new Zq,this.b=new Zq}function v$(n){this.c=n,this.a=1,this.b=1}function k$(n){kEn(),Dm(this),this.Ff(n)}function y$(n,t,e){return n.a+=t,n.b+=e,n}function M$(n,t,e){return n.a*=t,n.b*=e,n}function T$(n,t){return n.a=t.a,n.b=t.b,n}function j$(n){return n.a=-n.a,n.b=-n.b,n}function E$(n,t,e){return n.a-=t,n.b-=e,n}function S$(n){Gj.call(this),C3(this,n)}function P$(){mj.call(this,"GROW_TREE",0)}function C$(){mj.call(this,"POLYOMINO",0)}function I$(n,t,e){TZ.call(this,n,t,e,2)}function O$(n,t){qE(),qN.call(this,n,t)}function A$(n,t){XE(),XN.call(this,n,t)}function L$(n,t){XE(),A$.call(this,n,t)}function N$(n,t){XE(),XN.call(this,n,t)}function $$(n){this.c=n,_2(n,0),B2(n,0)}function D$(n,t){NA(),_F.call(this,n,t)}function x$(n,t){NA(),D$.call(this,n,t)}function R$(n,t){NA(),D$.call(this,n,t)}function K$(n,t){NA(),_F.call(this,n,t)}function F$(n,t){NA(),R$.call(this,n,t)}function _$(n,t){NA(),K$.call(this,n,t)}function B$(n,t){NA(),_F.call(this,n,t)}function H$(n,t,e){return xMn(I1(n,t),e)}function U$(n,t){return X7(n.e,JR(t,54))}function G$(n){return null==n?null:function(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,w,d;if(Zkn(),null==n)return null;if(0==(f=8*n.length))return"";for(l=f/24|0,c=null,c=tZ(Vdt,CPn,28,4*(0!=(o=f%24)?l+1:l),15,1),s=0,h=0,t=0,e=0,i=0,a=0,r=0,u=0;u>24,s=(3&t)<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,w=-128&e?(e>>4^240)<<24>>24:e>>4<<24>>24,d=-128&(i=n[r++])?(i>>6^252)<<24>>24:i>>6<<24>>24,c[a++]=fdt[b],c[a++]=fdt[w|s<<4],c[a++]=fdt[h<<2|d],c[a++]=fdt[63&i];return 8==o?(s=(3&(t=n[r]))<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,c[a++]=fdt[b],c[a++]=fdt[s<<4],c[a++]=61,c[a++]=61):16==o&&(t=n[r],h=(15&(e=n[r+1]))<<24>>24,s=(3&t)<<24>>24,b=-128&t?(t>>2^192)<<24>>24:t>>2<<24>>24,w=-128&e?(e>>4^240)<<24>>24:e>>4<<24>>24,c[a++]=fdt[b],c[a++]=fdt[w|s<<4],c[a++]=fdt[h<<2],c[a++]=61),Ain(c,0,c.length)}(n)}function q$(n){return null==n?null:function(n){var t,e,i,r;if(dmn(),null==n)return null;for(i=n.length,t=tZ(Vdt,CPn,28,2*i,15,1),e=0;e>4],t[2*e+1]=bdt[15&r];return Ain(t,0,t.length)}(n)}function X$(n){return aF(null==n||qI(n)),n}function z$(n){return aF(null==n||XI(n)),n}function V$(n){return aF(null==n||GI(n)),n}function W$(n){null==n.o&&function(n){if(n.ze()){var t=n.c;return t.Ae()?n.o="["+t.n:t.ze()?n.o="["+t.xe():n.o="[L"+t.xe()+";",n.b=t.we()+"[]",void(n.k=t.ye()+"[]")}var e=n.j,i=n.d;i=i.split("/"),n.o=jin(".",[e,jin("$",i)]),n.b=jin(".",[e,jin(".",i)]),n.k=i[i.length-1]}(n)}function Q$(n){if(!n)throw Lm(new Zm)}function J$(n){if(!n)throw Lm(new cv)}function Y$(n){if(!n)throw Lm(new nv)}function Z$(n){if(!n)throw Lm(new iv)}function nD(){nD=E,Nlt=new ik,new rk}function tD(){tD=E,Btt=new Jp("root")}function eD(){X3.call(this),this.Bb|=MCn}function iD(n,t){this.d=n,Jb(this),this.b=t}function rD(n,t){oZ.call(this,n),this.a=t}function cD(n,t){oZ.call(this,n),this.a=t}function aD(n,t,e){hY.call(this,n,t,e,null)}function oD(n,t,e){hY.call(this,n,t,e,null)}function uD(n,t){this.c=n,uj.call(this,n,t)}function sD(n,t){this.a=n,uD.call(this,n,t)}function hD(n){this.q=new i.Date(zV(n))}function fD(n){return n>8?0:n+1}function lD(n,t){Pqn||AL(n.a,t)}function bD(n,t){return JR(t0(n.b,t),143)}function wD(n,t){return JR(t0(n.c,t),233)}function dD(n){return JR(bF(n.a,n.b),294)}function gD(n){return new DC(n.c,n.d+n.a)}function pD(n){return TU(n),n?1231:1237}function mD(n){return ez(),oA(JR(n,203))}function vD(){vD=E,azn=ptn((hin(),Xht))}function kD(n,t){t.a?function(n,t){var e,i,r;if(!$B(n.a,t.b))throw Lm(new Iy("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=n.a.a.ec().Kc();i.Ob();)if(e=JR(i.Pb(),68),k8(t.b,e))KM(n.b.a,t.b,e),r=!0;else if(r)break}(n,t):PL(n.a,t.b)}function yD(n,t,e){++n.j,n.tj(),eZ(n,t,e)}function MD(n,t,e){++n.j,n.qj(t,n.Zi(t,e))}function TD(n,t,e){n.fd(t).Rb(e)}function jD(n,t,e){return lkn(n,t,6,e)}function ED(n,t,e){return lkn(n,t,3,e)}function SD(n,t,e){return lkn(n,t,9,e)}function PD(n,t){return Fq(t,GIn),n.f=t,n}function CD(n,t){return(t&wSn)%n.d.length}function ID(n,t,e){return lMn(n.c,n.b,t,e)}function OD(n,t){this.c=n,a2.call(this,t)}function AD(n,t){this.a=n,cm.call(this,t)}function LD(n,t){this.a=n,cm.call(this,t)}function ND(n,t){Jp.call(this,n),this.a=t}function $D(n,t){hm.call(this,n),this.a=t}function DD(n,t){hm.call(this,n),this.a=t}function xD(n){Len.call(this,0,0),this.f=n}function RD(n,t,e){return n.a+=Ain(t,0,e),n}function KD(n){return!n.a&&(n.a=new M),n.a}function FD(n,t){var e;return e=n.e,n.e=t,e}function _D(n,t){var e;return e=t,!!n.Fe(e)}function BD(n,t){n.a.bd(n.b,t),++n.b,n.c=-1}function HD(n){n.b?HD(n.b):n.f.c.zc(n.e,n.d)}function UD(n){CB(n.e),n.d.b=n.d,n.d.a=n.d}function GD(n,t,e){return RB(n,JR(t,22),e)}function qD(n,t){return sM(new Array(t),n)}function XD(n){return String.fromCharCode(n)}function zD(n,t){n[KCn].call(n,t)}function VD(n,t,e,i){CF.call(this,n,t,e,i)}function WD(){ax.call(this),this.a=new zM}function QD(){this.n=new zM,this.o=new zM}function JD(){this.b=new zM,this.c=new Mm}function YD(){this.a=new Mm,this.b=new Mm}function ZD(){this.a=new lt,this.b=new sv}function nx(){this.b=new mQ,this.a=new mQ}function tx(){this.b=new dv,this.a=new dv}function ex(){this.b=new ym,this.a=new ym}function ix(){this.b=new jT,this.a=new Ma}function rx(){this.a=new ul,this.b=new oc}function cx(){this.a=new Mm,this.d=new Mm}function ax(){this.n=new Vv,this.i=new nA}function ox(n){this.a=(A3(n,fPn),new dY(n))}function ux(n){this.a=(A3(n,fPn),new dY(n))}function sx(n,t){return null==DU(n.a,t,"")}function hx(n,t){return n.a+=t.a,n.b+=t.b,n}function fx(n,t){return n.a-=t.a,n.b-=t.b,n}function lx(n,t,e){return lkn(n,t,11,e)}function bx(n,t,e,i){aB.call(this,n,t,e,i)}function wx(n,t,e,i){aB.call(this,n,t,e,i)}function dx(n,t,e,i){wx.call(this,n,t,e,i)}function gx(n,t,e,i){sB.call(this,n,t,e,i)}function px(n,t,e,i){sB.call(this,n,t,e,i)}function mx(n,t,e,i){sB.call(this,n,t,e,i)}function vx(n,t,e,i){px.call(this,n,t,e,i)}function kx(n,t,e,i){px.call(this,n,t,e,i)}function yx(n,t,e,i){mx.call(this,n,t,e,i)}function Mx(n,t,e,i){kx.call(this,n,t,e,i)}function Tx(n,t,e,i){dB.call(this,n,t,e,i)}function jx(n,t){jy.call(this,x_n+n+HFn+t)}function Ex(n,t){return n.jk().wi().ri(n,t)}function Sx(n,t){return n.jk().wi().ti(n,t)}function Px(n,t){return TU(n),UI(n)===UI(t)}function Cx(n,t){return TU(n),UI(n)===UI(t)}function Ix(n,t){return n.b.Bd(new mS(n,t))}function Ox(n,t,e){return n.lastIndexOf(t,e)}function Ax(n){return n.c?k1(n.c.a,n,0):-1}function Lx(n){return n==Zst||n==tht||n==nht}function Nx(n,t){this.c=n,HB.call(this,n,t)}function $x(n,t,e){this.a=n,VN.call(this,t,e)}function Dx(n){this.c=n,fO.call(this,zSn,0)}function xx(n,t,e){this.c=t,this.b=e,this.a=n}function Rx(n){yR(),this.d=n,this.a=new GL}function Kx(n){rR(),this.a=(eq(),new iM(n))}function Fx(n,t){YR.call(this,n,n.length,t)}function _x(n,t){return sL(t,15)&&kmn(n.c,t)}function Bx(n,t,e){return JR(n.c,71).Xk(t,e)}function Hx(n,t,e){return function(n,t,e){return t.Al(n.e,n.c,e)}(n,JR(t,343),e)}function Ux(n,t,e){return function(n,t,e){var i,r,c;return i=t.Lk(),c=t.md(),r=i.Jk()?Dq(n,4,i,c,null,Byn(n,i,c,sL(i,102)&&!!(JR(i,19).Bb&MCn)),!0):Dq(n,i.tk()?2:1,i,c,i.ik(),-1,!0),e?e.nj(r):e=r,e}(n,JR(t,343),e)}function Gx(n,t){return null==t?null:wnn(n.b,t)}function qx(n){return XI(n)?(TU(n),n):n.ue()}function Xx(n){return!isNaN(n)&&!isFinite(n)}function zx(n){tL(this),UG(this),z4(this,n)}function Vx(n){MA(this),rK(this.c,0,n.Pc())}function Wx(n,t,e){this.a=n,this.b=t,this.c=e}function Qx(n,t,e){this.a=n,this.b=t,this.c=e}function Jx(n,t,e){this.d=n,this.b=e,this.a=t}function Yx(n){this.a=n,qj(),p5(Date.now())}function Zx(n){oU(n.a),iZ(n.c,n.b),n.b=null}function nR(){nR=E,tqn=new K,eqn=new F}function tR(){tR=E,Olt=tZ(sUn,kSn,1,0,5,1)}function eR(){eR=E,Bbt=tZ(sUn,kSn,1,0,5,1)}function iR(){iR=E,Hbt=tZ(sUn,kSn,1,0,5,1)}function rR(){rR=E,new Hm((eq(),eq(),BGn))}function cR(n,t){if(!n)throw Lm(new Cy(t))}function aR(n){if(!n)throw Lm(new Iy(MSn))}function oR(n,t){if(n!=t)throw Lm(new iv)}function uR(n,t,e){this.a=n,this.b=t,this.c=e}function sR(n,t,e){this.a=n,this.b=t,this.c=e}function hR(n,t,e){this.a=n,this.b=t,this.c=e}function fR(n,t,e){this.b=n,this.a=t,this.c=e}function lR(n,t,e){this.b=n,this.c=t,this.a=e}function bR(n,t,e){this.a=n,this.b=t,this.c=e}function wR(n,t,e){this.e=t,this.b=n,this.d=e}function dR(n,t,e){this.b=n,this.a=t,this.c=e}function gR(n){var t;return(t=new yn).e=n,t}function pR(n){var t;return(t=new Ov).b=n,t}function mR(){mR=E,PQn=new $e,CQn=new De}function vR(){vR=E,qJn=new ui,GJn=new si}function kR(){kR=E,YJn=new mr,ZJn=new vr}function yR(){yR=E,$jn(),B9n=Dht,H9n=dht}function MR(){MR=E,fft=new YK,lft=new fB}function TR(n){return!n.e&&(n.e=new Mm),n.e}function jR(n,t){this.c=n,this.a=t,this.b=t-n}function ER(n,t,e){this.a=n,this.b=t,this.c=e}function SR(n,t,e){this.a=n,this.b=t,this.c=e}function PR(n,t,e){this.a=n,this.b=t,this.c=e}function CR(n,t,e){this.a=n,this.b=t,this.c=e}function IR(n,t,e){this.a=n,this.b=t,this.c=e}function OR(n,t,e){this.a=n,this.b=t,this.c=e}function AR(n,t,e){this.e=n,this.a=t,this.c=e}function LR(n,t,e){NA(),tX.call(this,n,t,e)}function NR(n,t,e){NA(),iU.call(this,n,t,e)}function $R(n,t,e){NA(),iU.call(this,n,t,e)}function DR(n,t,e){NA(),iU.call(this,n,t,e)}function xR(n,t,e){NA(),NR.call(this,n,t,e)}function RR(n,t,e){NA(),NR.call(this,n,t,e)}function KR(n,t,e){NA(),RR.call(this,n,t,e)}function FR(n,t,e){NA(),$R.call(this,n,t,e)}function _R(n,t,e){NA(),DR.call(this,n,t,e)}function BR(n){CF.call(this,n.d,n.c,n.a,n.b)}function HR(n){CF.call(this,n.d,n.c,n.a,n.b)}function UR(n){this.d=n,Jb(this),this.b=function(n){return sL(n,15)?JR(n,15).ed():n.Kc()}(n.d)}function GR(n,t){return PH(n),PH(t),new ej(n,t)}function qR(n,t){return PH(n),PH(t),new AK(n,t)}function XR(n){return J$(0!=n.b),c2(n,n.a.a)}function zR(n){return J$(0!=n.b),c2(n,n.c.b)}function VR(n){var t;return n0(t=new Mm,n),t}function WR(n){var t;return K4(t=new pv,n),t}function QR(n){var t;return K4(t=new Gj,n),t}function JR(n,t){return aF(null==n||hcn(n,t)),n}function YR(n,t,e){__.call(this,t,e),this.a=n}function ZR(n,t){this.c=n,this.b=t,this.a=!1}function nK(){this.a=";,;",this.b="",this.c=""}function tK(n,t,e){this.b=n,sO.call(this,t,e)}function eK(n,t,e){this.c=n,wS.call(this,t,e)}function iK(n,t,e){ZS.call(this,n,t),this.b=e}function rK(n,t,e){ewn(e,0,n,t,e.length,!1)}function cK(n,t,e,i,r){n.b=t,n.c=e,n.d=i,n.a=r}function aK(n,t,e,i,r){n.d=t,n.c=e,n.a=i,n.b=r}function oK(n,t){if(!n)throw Lm(new Cy(t))}function uK(n,t){if(!n)throw Lm(new Iy(t))}function sK(n,t){if(!n)throw Lm(new Ey(t))}function hK(n,t){return t&&sU(n,t.d)?t:null}function fK(n){return a5(function(n){return XA(~n.l&aCn,~n.m&aCn,~n.h&oCn)}(BO(n)?v5(n):n))}function lK(n){return new DC(n.c+n.b,n.d+n.a)}function bK(n){return null!=n&&!ren(n,Wlt,Qlt)}function wK(n,t){return(Inn(n)<<4|Inn(t))&OPn}function dK(n,t,e,i,r){n.c=t,n.d=e,n.b=i,n.a=r}function gK(n){var t,e;t=n.b,e=n.c,n.b=e,n.c=t}function pK(n){var t,e;e=n.d,t=n.a,n.d=t,n.a=e}function mK(n,t){return n.g=t<0?-1:t,n}function vK(n,t){return function(n){var t;(t=i.Math.sqrt(n.a*n.a+n.b*n.b))>0&&(n.a/=t,n.b/=t)}(n),n.a*=t,n.b*=t,n}function kK(n,t,e){i2.call(this,t,e),this.d=n}function yK(n,t,e){_I.call(this,n,t),this.c=e}function MK(n,t,e){_I.call(this,n,t),this.c=e}function TK(n){iR(),ps.call(this),this.ci(n)}function jK(){lY(),cU.call(this,(UE(),obt))}function EK(n){return WEn(),new FF(0,n)}function SK(){SK=E,eq(),Twt=new dw(oHn)}function PK(){PK=E,new kcn((Ak(),pUn),(Ok(),gUn))}function CK(){CK=E,oGn=tZ(sGn,HSn,17,256,0,1)}function IK(){this.b=my(z$(Hrn((Okn(),DVn))))}function OK(n){this.b=n,this.a=S_(this.b.a).Od()}function AK(n,t){this.b=n,this.a=t,Rf.call(this)}function LK(n,t){this.a=n,this.b=t,Rf.call(this)}function NK(n,t,e){this.a=n,SO.call(this,t,e)}function $K(n,t,e){this.a=n,SO.call(this,t,e)}function DK(n,t,e){R0(n,t,new CH(e))}function xK(n,t,e){var i;return i=n[t],n[t]=e,i}function RK(n){return xZ(n.slice(),n)}function KK(n){var t;return t=n.n,n.a.b+t.d+t.a}function FK(n){var t;return t=n.n,n.e.b+t.d+t.a}function _K(n){var t;return t=n.n,n.e.a+t.b+t.c}function BK(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function HK(n,t){return vQ(n,t,n.c.b,n.c),!0}function UK(n,t){return run(n,new ZS(t.a,t.b))}function GK(n){return n.b.c.length-n.e.c.length}function qK(n){return n.e.c.length-n.g.c.length}function XK(n){return n.e.c.length+n.g.c.length}function zK(n){return 0==n||isNaN(n)?n:n<0?-1:1}function VK(n,t,e){!function(n,t,e,i,r){var c,a,o,u,s,h,f,l,b,w,d,g;null==(w=RH(n.e,i))&&(s=JR(w=new Zk,190),u=new CH(t+"_s"+r),R0(s,TFn,u)),XH(e,b=JR(w,190)),hq(g=new Zk,"x",i.j),hq(g,"y",i.k),R0(b,SFn,g),hq(f=new Zk,"x",i.b),hq(f,"y",i.c),R0(b,"endPoint",f),!WT((!i.a&&(i.a=new NL(Jft,i,5)),i.a))&&(c=new Rp(h=new Pb),QQ((!i.a&&(i.a=new NL(Jft,i,5)),i.a),c),R0(b,gFn,h)),!!Dcn(i)&&ahn(n.a,b,mFn,oln(n,Dcn(i))),!!xcn(i)&&ahn(n.a,b,pFn,oln(n,xcn(i))),!(0==(!i.e&&(i.e=new yx(elt,i,10,9)),i.e).i)&&(a=new MI(n,l=new Pb),QQ((!i.e&&(i.e=new yx(elt,i,10,9)),i.e),a),R0(b,kFn,l)),0!=(!i.g&&(i.g=new yx(elt,i,9,10)),i.g).i&&(o=new TI(n,d=new Pb),QQ((!i.g&&(i.g=new yx(elt,i,9,10)),i.g),o),R0(b,vFn,d))}(n.a,n.b,n.c,JR(t,166),e)}function WK(n,t,e,i){Din.call(this,n,t,e,i,0,0)}function QK(n){iR(),TK.call(this,n),this.a=-1}function JK(n,t){__.call(this,t,1040),this.a=n}function YK(){nI.call(this,"COUNT_CHILDREN",0)}function ZK(n,t){KI.call(this,n,t),this.a=this}function nF(n,t){var e;return(e=SH(n,t)).i=2,e}function tF(n,t){return++n.j,n.Cj(t)}function eF(n,t,e){return n.a=-1,c$(n,t.g,e),n}function iF(n){return y2(),tZ(ant,HDn,40,n,0,1)}function rF(n){return n.e.Rd().gc()*n.c.Rd().gc()}function cF(n,t,e){return new xx(function(n){return 0>=n?new Qj:function(n){return 0>n?new Qj:new cD(null,new rJ(n+1,n))}(n-1)}(n)._e(),e,t)}function aF(n){if(!n)throw Lm(new Py(null))}function oF(n){if(n.c.e!=n.a)throw Lm(new iv)}function uF(n){if(n.e.c!=n.b)throw Lm(new iv)}function sF(n){for(PH(n);n.Ob();)n.Pb(),n.Qb()}function hF(n){AH(),this.a=(eq(),new dw(PH(n)))}function fF(n){this.c=n,this.b=this.c.d.vc().Kc()}function lF(n,t){return n.a+=Ain(t,0,t.length),n}function bF(n,t){return xz(t,n.c.length),n.c[t]}function wF(n,t){return xz(t,n.a.length),n.a[t]}function dF(n,t,e,i,r,c){return Run(n,t,e,i,r,0,c)}function gF(n,t){return function(n,t){return Jin(Atn(Jin(n.a).a,t.a))}(JR(n,168),JR(t,168))}function pF(){pF=E,hGn=tZ(dGn,HSn,168,256,0,1)}function mF(){mF=E,gGn=tZ(pGn,HSn,191,256,0,1)}function vF(){vF=E,nGn=tZ(eGn,HSn,222,256,0,1)}function kF(){kF=E,iGn=tZ(rGn,HSn,180,128,0,1)}function yF(){cK(this,!1,!1,!1,!1)}function MF(n){jw.call(this,new mQ),z4(this,n)}function TF(n){this.a=new Bj(n.gc()),z4(this,n)}function jF(n){this.c=n,this.a=new Uj(this.c.a)}function EF(n){this.a=n,this.c=new ym,function(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i>>t,r=n.m>>t|e<<22-t,i=n.l>>t|n.m<<22-t):t<44?(c=0,r=e>>>t-22,i=n.m>>t-22|n.h<<44-t):(c=0,r=0,i=e>>>t-44),XA(i&aCn,r&aCn,c&oCn)}(BO(n)?v5(n):n,t))}function x_(n,t){return function(n,t){return UN(),n==t?0:n?1:-1}((TU(n),n),(TU(t),t))}function R_(n,t){return wtn((TU(n),n),(TU(t),t))}function K_(n){this.b=new dY(11),this.a=(tq(),n)}function F_(n){this.a=(b_(),yUn),this.d=JR(PH(n),51)}function __(n,t){this.c=0,this.d=n,this.b=64|t|USn}function B_(n,t){this.e=n,this.d=64&t?t|USn:t}function H_(n){this.b=null,this.a=(tq(),n||qGn)}function U_(n){UL(this),this.g=n,_G(this),this.je()}function G_(n){WE(),this.a=0,this.b=n-1,this.c=1}function q_(n,t,e,i){this.a=n,hY.call(this,n,t,e,i)}function X_(n){n.d||(n.d=n.b.Kc(),n.c=n.b.gc())}function z_(n,t){if(n<0||n>=t)throw Lm(new Hv)}function V_(n,t){return Mnn(n,(TU(t),new Aw(t)))}function W_(n,t){return Mnn(n,(TU(t),new Lw(t)))}function Q_(n,t,e){return function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m;if(i=t,u=e,n.b&&i.j==($jn(),Dht)&&u.j==($jn(),Dht)&&(m=i,i=u,u=m),MB(n.a,i)){if(Rj(JR(RH(n.a,i),49),u))return 1}else DU(n.a,i,new dv);if(MB(n.a,u)){if(Rj(JR(RH(n.a,u),49),i))return-1}else DU(n.a,u,new dv);if(MB(n.d,i)){if(Rj(JR(RH(n.d,i),49),u))return-1}else DU(n.d,i,new dv);if(MB(n.d,u)){if(Rj(JR(RH(n.a,u),49),i))return 1}else DU(n.d,u,new dv);if(i.j!=u.j)return-1==(p=function(n,t){return GA(n.g,t.g)}(i.j,u.j))?mvn(n,u,i):mvn(n,i,u),p;if(0!=i.e.c.length&&0!=u.e.c.length){if(n.b&&0!=(p=p7(i,u)))return-1==p?mvn(n,u,i):1==p&&mvn(n,i,u),p;if((c=JR(bF(i.e,0),18).c.i)==(h=JR(bF(u.e,0),18).c.i))return(r=JR(ghn(JR(bF(i.e,0),18),(qEn(),J1n)),17).a)>(s=JR(ghn(JR(bF(u.e,0),18),J1n),17).a)?mvn(n,i,u):mvn(n,u,i),rs?1:0;for(d=0,g=(w=n.c).length;d(s=JR(ghn(l,J1n),17).a)?mvn(n,i,u):mvn(n,u,i),rs?1:0):n.b&&0!=(p=p7(i,u))?(-1==p?mvn(n,u,i):1==p&&mvn(n,i,u),p):(a=0,f=0,b$(JR(bF(i.g,0),18),J1n)&&(a=JR(ghn(JR(bF(i.g,0),18),J1n),17).a),b$(JR(bF(u.g,0),18),J1n)&&(f=JR(ghn(JR(bF(i.g,0),18),J1n),17).a),o&&o==l?py(X$(ghn(JR(bF(i.g,0),18),f0n)))&&!py(X$(ghn(JR(bF(u.g,0),18),f0n)))?(mvn(n,i,u),1):!py(X$(ghn(JR(bF(i.g,0),18),f0n)))&&py(X$(ghn(JR(bF(u.g,0),18),f0n)))?(mvn(n,u,i),-1):(a>f?mvn(n,i,u):mvn(n,u,i),af?1:0):(n.f&&(n.f._b(o)&&(a=JR(n.f.xc(o),17).a),n.f._b(l)&&(f=JR(n.f.xc(l),17).a)),a>f?mvn(n,i,u):mvn(n,u,i),af?1:0))):0!=i.e.c.length&&0!=u.g.c.length?(mvn(n,i,u),1):0!=i.g.c.length&&0!=u.e.c.length?(mvn(n,u,i),-1):b$(i,(qEn(),J1n))&&b$(u,J1n)?((r=JR(ghn(i,J1n),17).a)>(s=JR(ghn(u,J1n),17).a)?mvn(n,i,u):mvn(n,u,i),rs?1:0):(mvn(n,u,i),-1)}(n,JR(t,12),JR(e,12))}function J_(n){return T6(),0!=JR(n,12).g.c.length}function Y_(n){return T6(),0!=JR(n,12).e.c.length}function Z_(n,t){t.Ug("General 'Rotator",1),function(n){var t,e,r,c,a,o,u,s,h,f,l,b,w;for(l=my(z$(fdn(n,(vfn(),Bet)))),py(X$(fdn(n,Fet)))&&(f=JR(fdn(n,(tD(),Btt)),27),a=JR(d2(WU(JR(d2((!f.e&&(f.e=new yx(tlt,f,7,4)),f.e),(!f.e&&(f.e=new yx(tlt,f,7,4)),f.e).i-1),74)),0),27),r=JR(d2(WU(JR(d2((!f.e&&(f.e=new yx(tlt,f,7,4)),f.e),0),74)),0),27),o=new DC(a.i+a.g/2,a.j+a.f/2),c=new DC(r.i+r.g/2,r.j+r.f/2),(e=l)<=0&&(e+=axn),(b=i.Math.acos((o.a*c.a+o.b*c.b)/(i.Math.sqrt(o.a*o.a+o.b*o.b)*i.Math.sqrt(c.a*c.a+c.b*c.b))))<=0&&(b+=axn),(t=i.Math.atan2(o.b,o.a))<=0&&(t+=axn),l=$Dn-(t-e+b/2)),s=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));s.e!=s.i.gc();)w=(h=new DC((u=JR(Urn(s),27)).i+u.g/2,u.j+u.f/2)).a*i.Math.cos(l)-h.b*i.Math.sin(l),h.b=h.a*i.Math.sin(l)+h.b*i.Math.cos(l),h.a=w,bA(u,h.a-u.g/2,h.b-u.f/2)}(n)}function nB(n,t,e){return Jpn(),L6(n,t)&&L6(n,e)}function tB(n){return lbn(),!n.Hc(sht)&&!n.Hc(fht)}function eB(n){return n.e?cY(n.e):null}function iB(n){return BO(n)?""+n:mmn(n)}function rB(n){var t;for(t=n;t.f;)t=t.f;return t}function cB(n,t,e,i){var r;(r=n.i).i=t,r.a=e,r.b=i}function aB(n,t,e,i){NL.call(this,n,t,e),this.b=i}function oB(n,t,e,i,r){jZ.call(this,n,t,e,i,r,-1)}function uB(n,t,e,i,r){EZ.call(this,n,t,e,i,r,-1)}function sB(n,t,e,i){yK.call(this,n,t,e),this.b=i}function hB(n){EI.call(this,n,!1),this.a=!1}function fB(){nI.call(this,"LOOKAHEAD_LAYOUT",1)}function lB(n){this.b=n,JN.call(this,n),eN(this)}function bB(n){this.b=n,ZN.call(this,n),iN(this)}function wB(n,t,e){this.a=n,bx.call(this,t,e,5,6)}function dB(n,t,e,i){this.b=n,NL.call(this,t,e,i)}function gB(n,t){this.b=n,sb.call(this,n.b),this.a=t}function pB(n){this.a=gcn(n.a),this.b=new Vx(n.b)}function mB(n,t){AH(),yj.call(this,n,cnn(new Ky(t)))}function vB(n,t){return WEn(),new eU(n,t,0)}function kB(n,t){return WEn(),new eU(6,n,t)}function yB(n,t){for(TU(t);n.Ob();)t.Cd(n.Pb())}function MB(n,t){return GI(t)?vq(n,t):!!WF(n.f,t)}function TB(n,t){return t.Vh()?X7(n.b,JR(t,54)):t}function jB(n,t){return Cx(n.substr(0,t.length),t)}function EB(n){return new F_(new sN(n.a.length,n.a))}function SB(n){return new DC(n.c+n.b/2,n.d+n.a/2)}function PB(n){return typeof n===sSn||typeof n===bSn}function CB(n){n.f=new WO(n),n.i=new QO(n),++n.g}function IB(n){if(!n)throw Lm(new cv);return n.d}function OB(n){var t;return J$(null!=(t=X8(n))),t}function AB(n){var t;return J$(null!=(t=function(n){var t;return null==(t=n.a[n.c-1&n.a.length-1])?null:(n.c=n.c-1&n.a.length-1,FH(n.a,n.c,null),t)}(n))),t}function LB(n,t){var e;return _J(t,e=n.a.gc()),e-t}function NB(n,t){return null==n.a.zc(t,n)}function $B(n,t){return null==n.a.zc(t,(UN(),WUn))}function DB(n){return new PF(null,function(n,t){return function(n,t){if(0>n||n>t)throw Lm(new tM("fromIndex: 0, toIndex: "+n+qCn+t))}(t,n.length),new JK(n,t)}(n,n.length))}function xB(n,t,e){return AMn(n,JR(t,42),JR(e,176))}function RB(n,t,e){return M4(n.a,t),xK(n.b,t.g,e)}function KB(n,t,e,i){J9(t,e,n.length),function(n,t,e,i){var r;for(r=t;r0?1:0}function WB(n,t){kL(n,sL(t,160)?t:JR(t,2036).Rl())}function QB(n,t){if(null==n)throw Lm(new Ay(t))}function JB(n,t){return!!t&&z4(n,t)}function YB(n){return 0==n.e?n:new _B(-n.e,n.d,n.a)}function ZB(n,t){vQ(n.d,t,n.b.b,n.b),++n.a,n.c=null}function nH(n,t){return n.c?nH(n.c,t):AL(n.b,t),n}function tH(n,t,e){var i;return i=i0(n,t),oQ(n,t,e),i}function eH(n,t,e){var i;for(i=0;i0?(Prn(n,e,0),e.a+=String.fromCharCode(i),Prn(n,e,r=Zin(t,c)),c+=r-1):39==i?c+1=n.g}function FH(n,t,e){return function(n){if(!n)throw Lm(new Jm)}(null==e||function(n,t){var e;switch(s0(n)){case 6:return GI(t);case 7:return XI(t);case 8:return qI(t);case 3:return Array.isArray(t)&&!((e=s0(t))>=14&&e<=16);case 11:return null!=t&&typeof t===bSn;case 12:return null!=t&&(typeof t===sSn||typeof t==bSn);case 0:return hcn(t,n.__elementTypeId$);case 2:return PB(t)&&!(t.Tm===j);case 1:return PB(t)&&!(t.Tm===j)||hcn(t,n.__elementTypeId$);default:return!0}}(n,e)),n[t]=e}function _H(n,t){return Rz(t,n.length+1),n.substr(t)}function BH(n,t){for(TU(t);n.c0;)n=n<<1|(n<0?1:0);return n}function UU(n,t){var e;return e=new GH(n),Km(t.c,e),e}function GU(n,t){n.u.Hc((lbn(),sht))&&function(n,t){var e,r,c,a;for(e=(a=JR(XU(n.b,t),127)).a,c=JR(JR(RJ(n.r,t),21),87).Kc();c.Ob();)(r=JR(c.Pb(),117)).c&&(e.a=i.Math.max(e.a,_K(r.c)));if(e.a>0)switch(t.g){case 2:a.n.c=n.s;break;case 4:a.n.b=n.s}}(n,t),function(n,t){var e;n.C&&((e=JR(XU(n.b,t),127).n).d=n.C.d,e.a=n.C.a)}(n,t)}function qU(n,t){return UI(n)===UI(t)||null!=n&&Enn(n,t)}function XU(n,t){return zF(n.a,t)?n.b[JR(t,22).g]:null}function zU(n){return!n.n&&(n.n=new aB(olt,n,1,7)),n.n}function VU(n){return!n.c&&(n.c=new aB(slt,n,9,9)),n.c}function WU(n){return!n.c&&(n.c=new yx(nlt,n,5,8)),n.c}function QU(n){return n.j.c.length=0,lG(n.c),function(n){hv(n.j.c,0),n.a=-1}(n.a),n}function JU(n){return n.e==uHn&&function(n,t){n.e=t}(n,function(n,t){var e,i;return(e=t.qi(n.a))&&null!=(i=V$(Yen((!e.b&&(e.b=new I$((JEn(),Rbt),swt,e)),e.b),DFn)))?i:t.xe()}(n.g,n.b)),n.e}function YU(n){return n.f==uHn&&function(n,t){n.f=t}(n,function(n,t){var e,i;return(e=t.qi(n.a))?(i=V$(Yen((!e.b&&(e.b=new I$((JEn(),Rbt),swt,e)),e.b),eHn)),Cx(iHn,i)?C_(n,h2(t.qk())):i):null}(n.g,n.b)),n.f}function ZU(n,t,e,i){return l5(n,t,e,!1),Lnn(n,i),n}function nG(n,t){this.b=n,HB.call(this,n,t),eN(this)}function tG(n,t){this.b=n,Nx.call(this,n,t),iN(this)}function eG(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function iG(n,t){this.b=n,this.c=t,this.a=new Uj(this.b)}function rG(n,t){return Rz(t,n.length),n.charCodeAt(t)}function cG(n,t){jtn(n,my(Y2(t,"x")),my(Y2(t,"y")))}function aG(n,t){jtn(n,my(Y2(t,"x")),my(Y2(t,"y")))}function oG(n,t){return vtn(n),new PF(n,new r1(t,n.a))}function uG(n,t){return vtn(n),new PF(n,new VJ(t,n.a))}function sG(n,t){return vtn(n),new rD(n,new XJ(t,n.a))}function hG(n,t){return vtn(n),new cD(n,new zJ(t,n.a))}function fG(n,t,e){e.a?B2(n,t.b-n.f/2):_2(n,t.a-n.g/2)}function lG(n){var t;for(t=n.Kc();t.Ob();)t.Pb(),t.Qb()}function bG(n){var t;return!(t=n.b)&&(n.b=t=new Ql(n)),t}function wG(n){return function(n){var t;return sL(t=ghn(n,(qEn(),Y1n)),167)?jen(JR(t,167)):null}(n)||null}function dG(n,t){var e,i;return(e=n/t)>(i=lX(e))&&++i,i}function gG(n,t,e){(function(n,t){var e,i,r,c;for(function(n){var t;for(t=0;t0&&fun(this)}function qG(n,t){this.a=n,iD.call(this,n,JR(n.d,15).fd(t))}function XG(n,t){return n.b=t.b,n.c=t.c,n.d=t.d,n.a=t.a,n}function zG(n,t,e,i){this.b=n,this.c=i,fO.call(this,t,e)}function VG(n){return n.f||(n.f=new uj(n,n.c))}function WG(n,t){return fnn(n.j,t.s,t.c)+fnn(t.e,n.s,n.c)}function QG(n,t){n.e&&!n.e.a&&(Sm(n.e,t),QG(n.e,t))}function JG(n,t){n.d&&!n.d.a&&(Sm(n.d,t),JG(n.d,t))}function YG(){Qhn(this,new Rl),this.wb=(NH(),pbt),tT()}function ZG(n){this.b=new Mm,J5(this.b,this.b),this.a=n}function nq(n,t){new Gj,this.a=new ek,this.b=n,this.c=t}function tq(){tq=E,qGn=new N,XGn=new N,zGn=new $}function eq(){eq=E,BGn=new C,HGn=new O,UGn=new A}function iq(){iq=E,Kqn=new dn,_qn=new s_,Fqn=new gn}function rq(){rq=E,nVn=new Mm,Zzn=new ym,Yzn=new Mm}function cq(n,t){if(null==n)throw Lm(new Ay(t));return n}function aq(n){return!n.a&&(n.a=new aB(ult,n,10,11)),n.a}function oq(n){return!n.q&&(n.q=new aB(lbt,n,11,10)),n.q}function uq(n){return!n.s&&(n.s=new aB(ebt,n,21,17)),n.s}function sq(n){return PH(n),ran(new F_(wN(n.a.Kc(),new h)))}function hq(n,t,e){R0(n,t,new Eb(qx(e)))}function fq(n,t,e,i,r,c){EZ.call(this,n,t,e,i,r,c?-2:-1)}function lq(n,t,e,i){_I.call(this,t,e),this.b=n,this.a=i}function bq(n,t){Fk.call(this,new H_(n)),this.a=n,this.b=t}function wq(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function dq(){var n,t;dq=E,t=!(Error.stackTraceLimit>0?(i.Error.stackTraceLimit=Error.stackTraceLimit=64,1):"stack"in new Error),n=new v,$Un=t?new m:n}function gq(n){return eq(),sL(n,59)?new cM(n):new jN(n)}function pq(n){return sL(n,16)?new TF(JR(n,16)):function(n){var t;return n0(t=new dv,n),t}(n.Kc())}function mq(n){return n&&n.hashCode?n.hashCode():FN(n)}function vq(n,t){return null==t?!!WF(n.f,null):function(n,t){return!(void 0===n.a.get(t))}(n.i,t)}function kq(n,t){var e;return(e=vL(n.a,t))&&(t.d=null),e}function yq(n,t,e){return!!n.f&&n.f.ef(t,e)}function Mq(n,t,e,i){FH(n.c[t.g],e.g,i),FH(n.c[e.g],t.g,i)}function Tq(n,t,e,i){FH(n.c[t.g],t.g,e),FH(n.b[t.g],t.g,i)}function jq(n,t){this.g=n,this.d=a8(uM(fQn,1),JAn,10,0,[t])}function Eq(n){this.c=n,this.b=new MT(JR(PH(new pn),50))}function Sq(n){this.c=n,this.b=new MT(JR(PH(new jt),50))}function Pq(n){this.b=n,this.a=new MT(JR(PH(new nt),50))}function Cq(){this.b=new dv,this.d=new Gj,this.e=new Uv}function Iq(){this.c=new zM,this.d=new zM,this.e=new zM}function Oq(){this.a=new ek,this.b=(A3(3,fPn),new dY(3))}function Aq(n,t){this.e=n,this.a=sUn,this.b=Qmn(t),this.c=t}function Lq(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function Nq(n,t,e,i,r,c){this.a=n,q3.call(this,t,e,i,r,c)}function $q(n,t,e,i,r,c){this.a=n,q3.call(this,t,e,i,r,c)}function Dq(n,t,e,i,r,c,a){return new bQ(n.e,t,e,i,r,c,a)}function xq(n,t,e){return e>=0&&Cx(n.substr(e,t.length),t)}function Rq(n,t){return sL(t,149)&&Cx(n.b,JR(t,149).Pg())}function Kq(n,t){var e;return jQ(e=n.b.Qc(t),n.b.gc()),e}function Fq(n,t){if(null==n)throw Lm(new Ay(t));return n}function _q(n){return n.u||(fJ(n),n.u=new AD(n,n)),n.u}function Bq(n){this.a=(eq(),sL(n,59)?new cM(n):new jN(n))}function Hq(n){return JR(s5(n,16),29)||n.ii()}function Uq(n,t){var e;return e=sT(n.Rm),null==t?e:e+": "+t}function Gq(n,t,e){return aZ(t,e,n.length),n.substr(t,e-t)}function qq(n,t){ax.call(this),p2(this),this.a=n,this.c=t}function Xq(n){Wy(),i.setTimeout((function(){throw n}),0)}function zq(n,t,e,i){return e>=0?n.Uh(t,e,i):n.Ch(null,e,i)}function Vq(n){return 0==n.b.b?n.a.sf():XR(n.b)}function Wq(n){return UI(n.a)===UI((y6(),qbt))&&function(n){var t,e,i,r,c,a,o,u,s,h;for(t=new ys,e=new ys,s=Cx(mBn,(r=vkn(n.b,vBn))?V$(Yen((!r.b&&(r.b=new I$((JEn(),Rbt),swt,r)),r.b),kBn)):null),u=0;u0&&n.b>0&&(n.g=IF(n.c,n.b,n.a))}function Jq(n,t){n.c=t,n.c>0&&n.b>0&&(n.g=IF(n.c,n.b,n.a))}function Yq(n,t){(function(n,t){n.a=t})(this,new DC(n.a,n.b)),function(n,t){n.b=t}(this,QR(t))}function Zq(){_k.call(this,new Bj(U0(12))),QL(!0),this.a=2}function nX(n,t,e){WEn(),vm.call(this,n),this.b=t,this.a=e}function tX(n,t,e){NA(),fm.call(this,t),this.a=n,this.b=e}function eX(n){var t;t=n.c.d.b,n.b=t,n.a=n.c.d,t.a=n.c.d.b=n}function iX(n){return 0==n.b?null:(J$(0!=n.b),c2(n,n.a.a))}function rX(n,t){return null==t?HI(WF(n.f,null)):aS(n.i,t)}function cX(n,t,e,i,r){return new jfn(n,(_Z(),bqn),t,e,i,r)}function aX(n,t){return aQ(t),function(n,t,e){var r;return r=n.length,ewn(n,0,t,0,i.Math.min(e,r),!0),t}(n,tZ(Wdt,GPn,28,t,15,1),t)}function oX(n,t){return cq(n,"set1"),cq(t,"set2"),new Mj(n,t)}function uX(n,t){var e;return WTn(n,t,e=new B),e.d}function sX(n,t,e,i){var r;r=new WD,t.a[e.g]=r,RB(n.b,i,r)}function hX(n,t){return hx(j$(function(n,t){return fx(cL(JR(RH(n.g,t),8)),aL(JR(RH(n.f,t),470).b))}(n.f,t)),n.f.d)}function fX(n){(function(n){var t;for(t=new mw(qan(n));t.a>16!=3?null:JR(n.Cb,27)}function vX(n){return n.Db>>16!=9?null:JR(n.Cb,27)}function kX(n){return n.Db>>16!=6?null:JR(n.Cb,74)}function yX(){yX=E,R7n=new cC(HIn,0),K7n=new cC(UIn,1)}function MX(){MX=E,c7n=new GP(UIn,0),r7n=new GP(HIn,1)}function TX(){TX=E,u7n=new qP(nOn,0),s7n=new qP("UP",1)}function jX(){jX=E,EUn=w7((ty(),a8(uM(SUn,1),lPn,549,0,[TUn])))}function EX(n){var t;return G8(t=new dT(U0(n.length)),n),t}function SX(n,t){return n.b+=t.b,n.c+=t.c,n.d+=t.d,n.a+=t.a,n}function PX(n,t){if(null==t)throw Lm(new tv);return function(n,t){var e,i=n.a;t=String(t),i.hasOwnProperty(t)&&(e=i[t]);var r=(K8(),UUn)[typeof e];return r?r(e):C7(typeof e)}(n,t)}function CX(n,t){var e;e=n.q.getHours(),n.q.setDate(t),xyn(n,e)}function IX(n,t,e){var i;(i=n.Ih(t))>=0?n.bi(i,e):egn(n,t,e)}function OX(n,t){var e;return(e=n.Ih(t))>=0?n.Wh(e):Lbn(n,t)}function AX(n,t){var e;for(PH(t),e=n.a;e;e=e.c)t.Yd(e.g,e.i)}function LX(n,t,e){var i;i=Y8(n,t,e),n.b=new $4(i.c.length)}function NX(n,t,e){JX(),n&&DU(Plt,n,t),n&&DU(Slt,n,e)}function $X(n,t){return i.Math.abs(n)>16!=7?null:JR(n.Cb,241)}function KX(n){return n.Db>>16!=6?null:JR(n.Cb,241)}function FX(n){return n.Db>>16!=7?null:JR(n.Cb,167)}function _X(n){return n.Db>>16!=11?null:JR(n.Cb,27)}function BX(n){return n.Db>>16!=17?null:JR(n.Cb,29)}function HX(n){return n.Db>>16!=3?null:JR(n.Cb,155)}function UX(n){return vtn(n),oG(n,new qw(new dv))}function GX(n,t){var e=n.a=n.a||[];return e[t]||(e[t]=n.ve(t))}function qX(n,t){UL(this),this.f=t,this.g=n,_G(this),this.je()}function XX(n,t){this.a=n,this.c=cL(this.a),this.b=new Lq(t)}function zX(n,t,e){this.a=t,this.c=n,this.b=(PH(e),new Vx(e))}function VX(n,t,e){this.a=t,this.c=n,this.b=(PH(e),new Vx(e))}function WX(n){this.a=n,this.b=tZ(U9n,HSn,2043,n.e.length,0,2)}function QX(){this.a=new qO,this.e=new dv,this.g=0,this.i=0}function JX(){var n,t;JX=E,Plt=new ym,Slt=new ym,n=JGn,t=new fs,n&&DU(Slt,n,t)}function YX(){YX=E,m9n=m_(new OU,(phn(),yWn),(zEn(),jJn))}function ZX(){ZX=E,v9n=m_(new OU,(phn(),yWn),(zEn(),jJn))}function nz(){nz=E,y9n=m_(new OU,(phn(),yWn),(zEn(),jJn))}function tz(){tz=E,W9n=eF(new OU,(phn(),yWn),(zEn(),QQn))}function ez(){ez=E,n7n=eF(new OU,(phn(),yWn),(zEn(),QQn))}function iz(){iz=E,i7n=eF(new OU,(phn(),yWn),(zEn(),QQn))}function rz(){rz=E,l7n=eF(new OU,(phn(),yWn),(zEn(),QQn))}function cz(n,t,e,i,r,c){return new D1(n.e,t,n.Lj(),e,i,r,c)}function az(n,t,e){return null==t?Pln(n.f,null,e):ktn(n.i,t,e)}function oz(n,t){n.c&&g1(n.c.g,n),n.c=t,n.c&&AL(n.c.g,n)}function uz(n,t){n.c&&g1(n.c.a,n),n.c=t,n.c&&AL(n.c.a,n)}function sz(n,t){n.i&&g1(n.i.j,n),n.i=t,n.i&&AL(n.i.j,n)}function hz(n,t){n.d&&g1(n.d.e,n),n.d=t,n.d&&AL(n.d.e,n)}function fz(n,t){n.a&&g1(n.a.k,n),n.a=t,n.a&&AL(n.a.k,n)}function lz(n,t){n.b&&g1(n.b.f,n),n.b=t,n.b&&AL(n.b.f,n)}function bz(n,t){(function(n,t,e){JR(t.b,68),n2(t.a,new PR(n,e,t))})(n,n.b,n.c),JR(n.b.b,68),t&&JR(t.b,68).b}function wz(n,t){sL(n.Cb,184)&&(JR(n.Cb,184).tb=null),H4(n,t)}function dz(n,t){sL(n.Cb,90)&&Gln(fJ(JR(n.Cb,90)),4),H4(n,t)}function gz(n){var t;return tT(),f2(t=new Em,n),t}function pz(n){var t;return tT(),f2(t=new Em,n),t}function mz(n){for(var t;;)if(t=n.Pb(),!n.Ob())return t}function vz(n,t,e){return AL(n.a,(KU(),Ycn(t,e),new pj(t,e))),n}function kz(n,t){return VE(),J1(t)?new ZK(t,n):new KI(t,n)}function yz(n){return bvn(),G7(n,0)>=0?tin(n):YB(tin(v1(n)))}function Mz(n,t){var e;return(e=JR(wnn(VG(n.a),t),16))?e.gc():0}function Tz(n,t,e){var i;Pnn(t,e,n.c.length),i=e-t,$T(n.c,t,i)}function jz(n,t,e){Pnn(t,e,n.gc()),this.c=n,this.a=t,this.b=e-t}function Ez(n){this.c=new Gj,this.b=n.b,this.d=n.c,this.a=n.a}function Sz(n){this.a=i.Math.cos(n),this.b=i.Math.sin(n)}function Pz(n,t,e,i){this.c=n,this.d=i,fz(this,t),lz(this,e)}function Cz(n,t){Kk.call(this,new Bj(U0(n))),A3(t,BSn),this.a=t}function Iz(n,t,e){return new jfn(n,(_Z(),lqn),null,!1,t,e)}function Oz(n,t,e){return new jfn(n,(_Z(),wqn),t,e,null,!1)}function Az(n){return Z8(a8(uM(Mat,1),HSn,8,0,[n.i.n,n.n,n.a]))}function Lz(){Lz=E,Rtt=m_(new OU,(kon(),U7n),(Lvn(),Q7n))}function Nz(){Nz=E,$tt=new hC("DFS",0),Ntt=new hC("BFS",1)}function $z(n,t,e){var i;(i=new ia).b=t,i.a=e,++t.b,AL(n.d,i)}function Dz(n,t){if(n<0||n>t)throw Lm(new jy(cIn+n+aIn+t))}function xz(n,t){if(n<0||n>=t)throw Lm(new jy(cIn+n+aIn+t))}function Rz(n,t){if(n<0||n>=t)throw Lm(new nM(cIn+n+aIn+t))}function Kz(n,t){this.b=(TU(n),n),this.a=t&vCn?t:64|t|USn}function Fz(n){return vtn(n),tq(),tq(),V0(n,XGn)}function _z(n){return PH(n),sL(n,16)?new Vx(JR(n,16)):VR(n.Kc())}function Bz(n,t){return n&&n.equals?n.equals(t):UI(n)===UI(t)}function Hz(n,t){return a5(function(n,t){return XA(n.l&t.l,n.m&t.m,n.h&t.h)}(BO(n)?v5(n):n,BO(t)?v5(t):t))}function Uz(n,t){return a5(function(n,t){return XA(n.l|t.l,n.m|t.m,n.h|t.h)}(BO(n)?v5(n):n,BO(t)?v5(t):t))}function Gz(n,t){return a5(function(n,t){return XA(n.l^t.l,n.m^t.m,n.h^t.h)}(BO(n)?v5(n):n,BO(t)?v5(t):t))}function qz(n,t){var e,i;return i=LB(n,t),e=n.a.fd(i),new vj(n,e)}function Xz(n){return J$(n.a0&&0==n.a[--n.d];);0==n.a[n.d++]&&(n.e=0)}function FV(n){return J$(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function _V(n,t){var e;n.e=new Ck,_A(e=Kpn(t),n.c),amn(n,e,0)}function BV(n,t,e,i){var r;(r=new gu).a=t,r.b=e,r.c=i,HK(n.a,r)}function HV(n,t,e,i){var r;(r=new gu).a=t,r.b=e,r.c=i,HK(n.b,r)}function UV(n,t,e){if(n<0||te)throw Lm(new jy(function(n,t,e){return n<0||n>e?Nln(n,e,"start index"):t<0||t>e?Nln(t,e,"end index"):Vmn("end index (%s) must not be less than start index (%s)",a8(uM(sUn,1),kSn,1,5,[ann(t),ann(n)]))}(n,t,e)))}function GV(n,t){if(n<0||n>=t)throw Lm(new jy(function(n,t){if(n<0)return Vmn(vSn,a8(uM(sUn,1),kSn,1,5,["index",ann(n)]));if(t<0)throw Lm(new Cy(ySn+t));return Vmn("%s (%s) must be less than size (%s)",a8(uM(sUn,1),kSn,1,5,["index",ann(n),ann(t)]))}(n,t)));return n}function qV(n){return ME(),sL(n.g,10)?JR(n.g,10):null}function XV(n){return!bG(n).dc()&&(function(n,t){PH(t),bG(n).Jc(new b)}(n,new w),!0)}function zV(n){var t;return BO(n)?-0==(t=n)?0:t:function(n){return Yon(n,(Q1(),VUn))<0?-function(n){return n.l+n.m*sCn+n.h*hCn}(P8(n)):n.l+n.m*sCn+n.h*hCn}(n)}function VV(n,t){return!!sL(t,44)&&yan(n.a,JR(t,44))}function WV(n,t){return!!sL(t,44)&&yan(n.a,JR(t,44))}function QV(n,t){return!!sL(t,44)&&yan(n.a,JR(t,44))}function JV(n){var t;return pU(n),t=new D,DT(n.a,new Hw(t)),t}function YV(){var n,t;return n=new Em,AL(fwt,t=n),t}function ZV(n){var t;return pU(n),t=new x,DT(n.a,new Uw(t)),t}function nW(n){a6.call(this,n,(_Z(),fqn),null,!1,null,!1)}function tW(){tW=E,$zn=w7((lE(),a8(uM(tVn,1),lPn,489,0,[Lzn])))}function eW(){eW=E,C9n=RU(ann(1),ann(4)),P9n=RU(ann(1),ann(2))}function iW(n){return new dY((A3(n,wPn),H0(Atn(Atn(5,n),n/10|0))))}function rW(n){return JR(Trn(n,tZ(EQn,YAn,12,n.c.length,0,1)),2042)}function cW(n,t){(function(n,t){var e,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;if(v=0,0==t.f.a)for(p=new mw(n);p.a2e3&&(KUn=n,FUn=i.setTimeout(JT,10)),0==RUn++&&(function(n){var t,e;if(n.a){e=null;do{t=n.a,n.a=null,e=Ffn(t,e)}while(n.a);n.a=e}}((iy(),NUn)),!0)}();try{return function(n,t,e){return n.apply(t,e)}(n,t,e)}finally{!function(n){n&&function(n){var t,e;if(n.b){e=null;do{t=n.b,n.b=null,e=Ffn(t,e)}while(n.b);n.b=e}}((iy(),NUn)),--RUn,n&&-1!=FUn&&(function(n){i.clearTimeout(n)}(FUn),FUn=-1)}(r)}}function sW(n,t){var e,i;return i=null,(e=PX(n,t))&&(i=e.pe()),i}function hW(n,t){var e,i;return i=null,(e=PX(n,t))&&(i=e.se()),i}function fW(n,t){var e,i;return i=null,(e=i0(n,t))&&(i=e.se()),i}function lW(n,t){var e,i;return i=null,(e=PX(n,t))&&(i=Vfn(e)),i}function bW(n,t,e){this.d=new wg(this),this.e=n,this.i=t,this.f=e}function wW(n,t,e,i){this.e=null,this.c=n,this.d=t,this.a=e,this.b=i}function dW(n,t,e,i){eL(this),this.c=n,this.e=t,this.f=e,this.b=i}function gW(n,t,e,i){this.d=n,this.n=t,this.g=e,this.o=i,this.p=-1}function pW(n,t,e,i){return sL(e,59)?new QN(n,t,e,i):new q_(n,t,e,i)}function mW(n){return sL(n,16)?JR(n,16).dc():!n.Kc().Ob()}function vW(n){if(n.e.g!=n.b)throw Lm(new iv);return!!n.c&&n.d>0}function kW(n){return J$(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function yW(n,t){TU(t),FH(n.a,n.c,t),n.c=n.c+1&n.a.length-1,Zan(n)}function MW(n,t){TU(t),n.b=n.b-1&n.a.length-1,FH(n.a,n.b,t),Zan(n)}function TW(n){var t;t=n.Gh(),this.a=sL(t,71)?JR(t,71).Ii():t.Kc()}function jW(n){return new Kz(function(n,t){var e,i;for(eq(),i=new Mm,e=0;e0&&ayn(n.g,0,t,0,n.i),t}function KW(n,t){var e;for(e=n.j.c.length;en.c));a++)r.a>=n.s&&(c<0&&(c=a),o=a);return u=(n.s+n.c)/2,c>=0&&(u=function(n){return(n.c+n.a)/2}((xz(i=function(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,w;if(c=e,e=e&&(i=t,c=(u=(o.c+o.a)/2)-e,o.c<=u-e&&ZF(n,i++,new jR(o.c,c)),(a=u+e)<=o.a&&(r=new jR(a,o.a),Dz(i,n.c.length),RS(n.c,i,r)))}(t,i,e)),u}(r,e,i))),function(n,t,e){var i,r,c,a;for(c=t.q,a=t.r,new Pz((mY(),C7n),t,c,1),new Pz(C7n,c,a,1),r=new mw(e);r.a"+nV(n.d):"e_"+FN(n)}function QQ(n,t){var e,i;for(TU(t),i=n.Kc();i.Ob();)e=i.Pb(),t.Cd(e)}function JQ(n,t){var e;for(e=t;e;)y$(n,-e.i,-e.j),e=_X(e);return n}function YQ(n,t){var e,i;for(e=t,i=0;e>0;)i+=n.a[e],e-=e&-e;return i}function ZQ(n,t,e){var i;return xz(t,n.c.length),i=n.c[t],n.c[t]=e,i}function nJ(n,t,e){n.a.c.length=0,function(n,t,e){var r,c,a,o,u,s,h,f,l;n.c=0,n.b=0,r=2*t.c.a.c.length+1;n:for(h=e.Kc();h.Ob();){if(l=0,o=(s=JR(h.Pb(),12)).j==($jn(),ght)||s.j==Nht){if(!(f=JR(ghn(s,(qEn(),a0n)),10)))continue;l+=Pmn(n,r,s,f)}else{for(u=new mw(s.g);u.a0?(n.f[s.p]=l/(s.e.c.length+s.g.c.length),n.c=i.Math.min(n.c,n.f[s.p]),n.b=i.Math.max(n.b,n.f[s.p])):o&&(n.f[s.p]=l)}}(n,t,e),0==n.a.c.length||function(n,t){var e,i,r,c,a,o,u,s,h,f;for(s=n.e[t.c.p][t.p]+1,u=t.c.a.c.length+1,o=new mw(n.a);o.a0?Tpn(n,t):min(n,-t)}function jJ(n,t){return 0==t||0==n.e?n:t>0?min(n,t):Tpn(n,-t)}function EJ(n){eS.call(this,null==n?jSn:Qtn(n),sL(n,82)?JR(n,82):null)}function SJ(n){var t;return n.c||sL(t=n.r,90)&&(n.c=JR(t,29)),n.c}function PJ(n){var t;return y5(t=new Oq,n),A8(t,(LEn(),o6n),null),t}function CJ(n){var t,e;return t=n.c.i,e=n.d.i,t.k==(Yhn(),aQn)&&e.k==aQn}function IJ(n){return XA(n&aCn,n>>22&aCn,n<0?oCn:0)}function OJ(n,t){var e,i;(e=JR(function(n,t){PH(n);try{return n.Bc(t)}catch(n){if(sL(n=X5(n),212)||sL(n,169))return null;throw Lm(n)}}(n.c,t),16))&&(i=e.gc(),e.$b(),n.d-=i)}function AJ(n,t,e){var i;return(i=n.Ih(t))>=0?n.Lh(i,e,!0):Gbn(n,t,e)}function LJ(n,t){n._i(n.i+1),LL(n,n.i,n.Zi(n.i,t)),n.Mi(n.i++,t),n.Ni()}function NJ(n){var t,e;++n.j,t=n.g,e=n.i,n.g=null,n.i=0,n.Oi(e,t),n.Ni()}function $J(n,t,e){var i;S6(i=new bL(n.a),n.a.a),Pln(i.f,t,e),n.a.a=i}function DJ(n,t,e,i){var r;for(r=0;rt)throw Lm(new jy(Nln(n,t,"index")));return n}function BJ(n,t){var e;return xz(t,n.c.length),e=n.c[t],$T(n.c,t,1),e}function HJ(n,t){var e,i;return TU(n),e=n,TU(t),e==(i=t)?0:en.d[r.p]&&(e+=YQ(n.b,i)*JR(a.b,17).a,MW(n.a,ann(i)));for(;!By(n.a);)a0(n.b,JR(OB(n.a),17).a)}return e}(n,e)}function rY(n){var t;return 0==(t=n.b).b?null:JR(Yrn(t,0),65).b}function cY(n){return n.a?n.e?cY(n.e):null:n}function aY(n){var t;return n.a||sL(t=n.r,156)&&(n.a=JR(t,156)),n.a}function oY(n,t){return!!MB(n.a,t)&&(qJ(n.a,t),!0)}function uY(n,t,e){return GV(t,n.e.Rd().gc()),GV(e,n.c.Rd().gc()),n.a[t][e]}function sY(n,t,e){this.a=n,this.b=t,this.c=e,AL(n.t,this),AL(t.i,this)}function hY(n,t,e,i){this.f=n,this.e=t,this.d=e,this.b=i,this.c=i?i.d:null}function fY(){this.b=new Gj,this.a=new Gj,this.b=new Gj,this.a=new Gj}function lY(){var n,t;lY=E,tT(),t=new uv,pwt=t,n=new uk,mwt=n}function bY(n){var t;for(pU(n),t=0;n.a.Bd(new hn);)t=Atn(t,1);return t}function wY(n,t){return TU(t),n.c=0,"Initial capacity must not be negative")}function gY(){gY=E,vat=new Jp("org.eclipse.elk.labels.labelManager")}function pY(){pY=E,RJn=new ND("separateLayerConnections",(o8(),BJn))}function mY(){mY=E,I7n=new rC("REGULAR",0),C7n=new rC("CRITICAL",1)}function vY(){vY=E,Wrt=new EC("FIXED",0),Vrt=new EC("CENTER_NODE",1)}function kY(){kY=E,HYn=new sP("QUADRATIC",0),UYn=new sP("SCANLINE",1)}function yY(){yY=E,QYn=w7(($3(),a8(uM(nZn,1),lPn,322,0,[zYn,XYn,VYn])))}function MY(){MY=E,tZn=w7((m3(),a8(uM(oZn,1),lPn,351,0,[JYn,ZYn,YYn])))}function TY(){TY=E,MYn=w7((g4(),a8(uM(AYn,1),lPn,372,0,[kYn,vYn,mYn])))}function jY(){jY=E,pZn=w7((R8(),a8(uM(jZn,1),lPn,460,0,[wZn,bZn,dZn])))}function EY(){EY=E,u1n=w7((I5(),a8(uM(l1n,1),lPn,299,0,[c1n,a1n,r1n])))}function SY(){SY=E,b1n=w7((V1(),a8(uM(g1n,1),lPn,311,0,[h1n,f1n,s1n])))}function PY(){PY=E,a8n=w7((Y7(),a8(uM(f8n,1),lPn,390,0,[e8n,i8n,r8n])))}function CY(){CY=E,J8n=w7((B6(),a8(uM(t9n,1),lPn,387,0,[z8n,V8n,W8n])))}function IY(){IY=E,e9n=w7((E9(),a8(uM(a9n,1),lPn,349,0,[n9n,Y8n,Z8n])))}function OY(){OY=E,X8n=w7((v3(),a8(uM(Q8n,1),lPn,463,0,[G8n,H8n,U8n])))}function AY(){AY=E,o9n=w7((a7(),a8(uM(f9n,1),lPn,350,0,[i9n,r9n,c9n])))}function LY(){LY=E,l9n=w7((p3(),a8(uM(g9n,1),lPn,352,0,[h9n,u9n,s9n])))}function NY(){NY=E,p9n=w7((h8(),a8(uM(O9n,1),lPn,388,0,[w9n,d9n,b9n])))}function $Y(){$Y=E,lnt=w7((S9(),a8(uM(Att,1),lPn,392,0,[hnt,snt,unt])))}function DY(){DY=E,oet=w7((c7(),a8(uM(Wet,1),lPn,393,0,[iet,ret,cet])))}function xY(){xY=E,tit=w7((_6(),a8(uM(cit,1),lPn,300,0,[Yet,Zet,Jet])))}function RY(){RY=E,ait=w7((fin(),a8(uM(hit,1),lPn,445,0,[eit,iit,rit])))}function KY(){KY=E,fit=w7((Ecn(),a8(uM(Sit,1),lPn,456,0,[oit,sit,uit])))}function FY(){FY=E,Pit=w7((Rtn(),a8(uM(drt,1),lPn,394,0,[jit,Eit,Tit])))}function _Y(){_Y=E,jrt=w7((b1(),a8(uM(Prt,1),lPn,439,0,[krt,Mrt,yrt])))}function BY(){BY=E,K9n=w7((g3(),a8(uM(F9n,1),lPn,464,0,[$9n,D9n,x9n])))}function HY(){HY=E,IXn=w7((BZ(),a8(uM(OXn,1),lPn,471,0,[EXn,jXn,SXn])))}function UY(){UY=E,MXn=w7((v2(),a8(uM(TXn,1),lPn,237,0,[mXn,vXn,kXn])))}function GY(){GY=E,DXn=w7((z1(),a8(uM(rzn,1),lPn,472,0,[NXn,LXn,AXn])))}function qY(){qY=E,Oqn=w7((o7(),a8(uM(Aqn,1),lPn,108,0,[Mqn,Tqn,jqn])))}function XY(){XY=E,bWn=w7((X1(),a8(uM(MWn,1),lPn,391,0,[hWn,sWn,fWn])))}function zY(){zY=E,Cst=w7((nnn(),a8(uM(Nst,1),lPn,346,0,[Est,jst,Sst])))}function VY(){VY=E,Brt=w7((znn(),a8(uM(Urt,1),lPn,444,0,[Rrt,Krt,Frt])))}function WY(){WY=E,est=w7((k2(),a8(uM(ost,1),lPn,278,0,[Yut,Zut,nst])))}function QY(){QY=E,hft=w7((Z7(),a8(uM(bft,1),lPn,280,0,[oft,aft,uft])))}function JY(n,t){return!n.o&&(n.o=new TZ((gEn(),Bft),klt,n,0)),Ben(n.o,t)}function YY(n){var t,e,i,r;r=n.d,t=n.a,e=n.b,i=n.c,n.d=e,n.a=i,n.b=r,n.c=t}function ZY(n){return!n.g&&(n.g=new ds),!n.g.c&&(n.g.c=new em(n)),n.g.c}function nZ(n,t,e,i){var r;return function(n,t,e,i,r){var c,a;if(c=Atn(Hz(t[0],PCn),Hz(i[0],PCn)),n[0]=y_(c),c=$_(c,32),e>=r){for(a=1;ae||t=0?n.Lh(e,!0,!0):Gbn(n,t,!0)}function IZ(n){for(;!n.a;)if(!Ix(n.c,new Gw(n)))return!1;return!0}function OZ(n){return PH(n),sL(n,204)?JR(n,204):new ob(n)}function AZ(){var n,t,e,i;AZ=E,Qct=new hu,Yct=new fu,XEn(),n=out,t=Qct,e=_ot,i=Yct,KU(),Jct=new Qk(a8(uM(kUn,1),nPn,44,0,[(Ycn(n,t),new pj(n,t)),(Ycn(e,i),new pj(e,i))]))}function LZ(){LZ=E,Ztt=new bC("LEAF_NUMBER",0),net=new bC("NODE_SIZE",1)}function NZ(n){n.a=tZ(Wdt,GPn,28,n.b+1,15,1),n.c=tZ(Wdt,GPn,28,n.b,15,1),n.d=0}function $Z(n,t){if(null==n.g||t>=n.i)throw Lm(new jO(t,n.i));return n.g[t]}function DZ(n,t,e){if(m9(n,e),null!=e&&!n.fk(e))throw Lm(new Jm);return e}function xZ(n,t){return 10!=s0(t)&&a8(s7(t),t.Sm,t.__elementTypeId$,s0(t),n),n}function RZ(n,t,e,i){tq(),i=i||qGn,$ln(n.slice(t,e),n,t,e,-t,i)}function KZ(n,t,e,i,r){return t<0?Gbn(n,e,i):JR(e,69).wk().yk(n,n.hi(),t,i,r)}function FZ(){FZ=E,gqn=w7((_Z(),a8(uM(pqn,1),lPn,304,0,[fqn,lqn,bqn,wqn])))}function _Z(){_Z=E,fqn=new fS("All",0),lqn=new vA,bqn=new YA,wqn=new mA}function BZ(){BZ=E,EXn=new SS(HIn,0),jXn=new SS(FIn,1),SXn=new SS(UIn,2)}function HZ(){HZ=E,rMn(),rdt=pCn,idt=mCn,adt=new aw(pCn),cdt=new aw(mCn)}function UZ(){UZ=E,bzn=w7((C5(),a8(uM(mzn,1),lPn,417,0,[fzn,uzn,szn,hzn])))}function GZ(){GZ=E,Azn=w7((icn(),a8(uM(Nzn,1),lPn,406,0,[Pzn,Szn,Czn,Izn])))}function qZ(){qZ=E,vzn=w7((rcn(),a8(uM(kzn,1),lPn,332,0,[dzn,wzn,gzn,pzn])))}function XZ(){XZ=E,JWn=w7((Yin(),a8(uM(nQn,1),lPn,389,0,[WWn,zWn,XWn,VWn])))}function zZ(){zZ=E,KWn=w7((s8(),a8(uM(QWn,1),lPn,416,0,[NWn,xWn,$Wn,DWn])))}function VZ(){VZ=E,aYn=w7((u8(),a8(uM(lYn,1),lPn,421,0,[tYn,eYn,iYn,rYn])))}function WZ(){WZ=E,UJn=w7((o8(),a8(uM(nYn,1),lPn,371,0,[BJn,FJn,_Jn,KJn])))}function QZ(){QZ=E,l8n=w7((jcn(),a8(uM(m8n,1),lPn,203,0,[s8n,h8n,u8n,o8n])))}function JZ(){JZ=E,R8n=w7(($in(),a8(uM(_8n,1),lPn,284,0,[N8n,L8n,$8n,D8n])))}function YZ(){YZ=E,PZn=new pP(_An,0),SZn=new pP("IMPROVE_STRAIGHTNESS",1)}function ZZ(n,t){var e,i;return i=t/n.c.Rd().gc()|0,e=t%n.c.Rd().gc(),uY(n,i,e)}function n1(n){var t;if(n.nl())for(t=n.i-1;t>=0;--t)d2(n,t);return RW(n)}function t1(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[0];)e=t;return e}function e1(n){var t,e;if(!n.b)return null;for(e=n.b;t=e.a[1];)e=t;return e}function i1(n,t){if(t.a)throw Lm(new Jk(lIn));NB(n.a,t),t.a=n,!n.j&&(n.j=t)}function r1(n,t){fO.call(this,t.zd(),-16449&t.yd()),TU(n),this.a=n,this.c=t}function c1(){c1=E,Qet=w7((jan(),a8(uM(nit,1),lPn,354,0,[Vet,Xet,zet,qet])))}function a1(){a1=E,Ltt=w7((r7(),a8(uM(Dtt,1),lPn,353,0,[Ott,Ctt,Itt,Ptt])))}function o1(){o1=E,X7n=w7((kon(),a8(uM(z7n,1),lPn,405,0,[B7n,H7n,U7n,G7n])))}function u1(){u1=E,ust=w7((xtn(),a8(uM(dst,1),lPn,223,0,[ast,rst,ist,cst])))}function s1(){s1=E,$st=w7((yon(),a8(uM(Gst,1),lPn,291,0,[Lst,Ist,Ost,Ast])))}function h1(){h1=E,Vht=w7((hin(),a8(uM(rft,1),lPn,386,0,[qht,Xht,Ght,Uht])))}function f1(){f1=E,kft=w7((Men(),a8(uM(yft,1),lPn,320,0,[mft,dft,pft,gft])))}function l1(){l1=E,Pft=w7((j9(),a8(uM(Oft,1),lPn,415,0,[Tft,jft,Mft,Eft])))}function b1(){b1=E,krt=new yC(fxn,0),Mrt=new yC(dDn,1),yrt=new yC(_An,2)}function w1(n,t,e,i,r){return TU(n),TU(t),TU(e),TU(i),TU(r),new BB(n,t,i)}function d1(n,t){var e;return(e=JR(qJ(n.e,t),400))?(BK(e),e.e):null}function g1(n,t){var e;return-1!=(e=k1(n,t,0))&&(BJ(n,e),!0)}function p1(n,t,e){var i;return pU(n),(i=new un).a=t,n.a.Nb(new kS(i,e)),i.a}function m1(n){var t;if(!s4(n))throw Lm(new cv);return n.e=1,t=n.d,n.d=null,t}function v1(n){var t;return BO(n)&&(t=0-n,!isNaN(t))?t:a5(P8(n))}function k1(n,t,e){for(;e=0?dcn(n,e,!0,!0):Gbn(n,t,!0)}function U1(n){var t;return null==(t=e3(s5(n,32)))&&(qin(n),t=e3(s5(n,32))),t}function G1(n){var t;return n.Oh()||(t=DH(n.Dh())-n.ji(),n.$h().Mk(t)),n.zh()}function q1(n,t){Tzn=new et,Ozn=t,JR((Mzn=n).b,68),cZ(Mzn,Tzn,null),YMn(Mzn)}function X1(){X1=E,hWn=new DS("XY",0),sWn=new DS("X",1),fWn=new DS("Y",2)}function z1(){z1=E,NXn=new PS("TOP",0),LXn=new PS(FIn,1),AXn=new PS(qIn,2)}function V1(){V1=E,h1n=new MP(_An,0),f1n=new MP("TOP",1),s1n=new MP(qIn,2)}function W1(){W1=E,K8n=new AP("INPUT_ORDER",0),F8n=new AP("PORT_DEGREE",1)}function Q1(){Q1=E,qUn=XA(aCn,aCn,524287),XUn=XA(0,0,uCn),zUn=IJ(1),IJ(2),VUn=IJ(0)}function J1(n){var t;return n.d!=n.r&&(t=zon(n),n.e=!!t&&t.lk()==iBn,n.d=t),n.e}function Y1(n,t,e){var i;return i=n.g[t],LL(n,t,n.Zi(t,e)),n.Ri(t,e,i),n.Ni(),i}function Z1(n,t){var e;return(e=n.dd(t))>=0&&(n.gd(e),!0)}function n0(n,t){var e;for(PH(n),PH(t),e=!1;t.Ob();)e|=n.Fc(t.Pb());return e}function t0(n,t){var e;return(e=JR(RH(n.e,t),400))?(yL(n,e),e.e):null}function e0(n){var t,e;return t=n/60|0,0==(e=n%60)?""+t:t+":"+e}function i0(n,t){var e=n.a[t],i=(K8(),UUn)[typeof e];return i?i(e):C7(typeof e)}function r0(n,t){return vtn(n),new PF(n,new Dx(new VJ(t,n.a)))}function c0(n){var t;return null!=(t=0==n.b.c.length?null:bF(n.b,0))&&P4(n,0),t}function a0(n,t){var e;for(++n.d,++n.c[t],e=t+1;e=0;)++t[0]}function s0(n){return null==n.__elementTypeCategory$?10:n.__elementTypeCategory$}function h0(n,t){return t==(nR(),nR(),eqn)?n.toLocaleLowerCase():n.toLowerCase()}function f0(n){if(!n.e)throw Lm(new cv);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function l0(n){if(!n.c)throw Lm(new cv);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function b0(n){var t;for(++n.a,t=n.c.a.length;n.an.a[i]&&(i=e);return i}function d0(n){var t;return!!(t=JR(ghn(n,(qEn(),k1n)),313))&&t.a==n}function g0(n){var t;return!!(t=JR(ghn(n,(qEn(),k1n)),313))&&t.i==n}function p0(){p0=E,TWn=w7((phn(),a8(uM(SWn,1),lPn,367,0,[pWn,mWn,vWn,kWn,yWn])))}function m0(){m0=E,bYn=w7((asn(),a8(uM(yYn,1),lPn,375,0,[uYn,hYn,fYn,sYn,oYn])))}function v0(){v0=E,uZn=w7((Nin(),a8(uM(fZn,1),lPn,348,0,[iZn,eZn,cZn,aZn,rZn])))}function k0(){k0=E,v8n=w7((ecn(),a8(uM(O8n,1),lPn,323,0,[p8n,w8n,d8n,b8n,g8n])))}function y0(){y0=E,C0n=w7((yen(),a8(uM(n8n,1),lPn,171,0,[S0n,M0n,T0n,j0n,E0n])))}function M0(){M0=E,Ytt=w7((Isn(),a8(uM(tet,1),lPn,368,0,[Wtt,Xtt,Qtt,ztt,Vtt])))}function T0(){T0=E,xrt=w7((ygn(),a8(uM(_rt,1),lPn,373,0,[Art,Ort,Nrt,Lrt,$rt])))}function j0(){j0=E,rct=w7((dfn(),a8(uM(_ct,1),lPn,324,0,[Yrt,Zrt,ect,nct,tct])))}function E0(){E0=E,Jut=w7((Xnn(),a8(uM(tst,1),lPn,88,0,[Vut,zut,Xut,qut,Wut])))}function S0(){S0=E,uat=w7((Nrn(),a8(uM(pat,1),lPn,170,0,[cat,rat,eat,aat,iat])))}function P0(){P0=E,Yst=w7((Frn(),a8(uM(cht,1),lPn,256,0,[Vst,Qst,Xst,zst,Wst])))}function C0(){C0=E,Rht=w7(($jn(),a8(uM(zht,1),HAn,64,0,[$ht,ght,dht,Nht,Dht])))}function I0(){I0=E,Xqn=new TS("BY_SIZE",0),zqn=new TS("BY_SIZE_AND_SHAPE",1)}function O0(){O0=E,hVn=new $S("EADES",0),fVn=new $S("FRUCHTERMAN_REINGOLD",1)}function A0(){A0=E,sZn=new wP("READING_DIRECTION",0),hZn=new wP("ROTATION",1)}function L0(){L0=E,BWn=new Pt,HWn=new At,FWn=new Lt,_Wn=new Ot,UWn=new Nt}function N0(n){this.b=new Mm,this.a=new Mm,this.c=new Mm,this.d=new Mm,this.e=n}function $0(n){this.g=n,this.f=new Mm,this.a=i.Math.min(this.g.c.c,this.g.d.c)}function D0(n,t,e){ax.call(this),p2(this),this.a=n,this.c=e,this.b=t.d,this.f=t.e}function x0(n,t,e){var i;for(i=new mw(e);i.a=0&&t0?wSn:G7(n,vPn)<0?vPn:y_(n)}function U0(n){return n<3?(A3(n,uPn),n+1):n=-.01&&n.a<=VIn&&(n.a=0),n.b>=-.01&&n.b<=VIn&&(n.b=0),n}function J0(n){var t,e;for(Jpn(),e=FDn,t=0;te&&(e=n[t]);return e}function Y0(n,t){var e;if(!(e=_gn(n.Dh(),t)))throw Lm(new Cy(FKn+t+HKn));return e}function Z0(n,t){var e;for(e=n;_X(e);)if((e=_X(e))==t)return!0;return!1}function n2(n,t){var e,i,r,c;for(TU(t),r=0,c=(i=n.c).length;r>16!=6?null:JR(Own(n),241)}(n))&&!t.Vh()&&(n.w=t),t)}function f2(n,t){var e,i;i=n.a,e=function(n,t,e){var i,r;return r=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&(i=new oB(n,1,5,r,n.a),e?ssn(e,i):e=i),e}(n,t,null),i!=t&&!n.e&&(e=njn(n,t,e)),e&&e.oj()}function l2(n,t,e){var i,r;i=t;do{r=my(n.p[i.p])+e,n.p[i.p]=r,i=n.a[i.p]}while(i!=t)}function b2(n,t,e){var i=function(){return n.apply(i,arguments)};return t.apply(i,e),i}function w2(n){var t;return null==n?null:function(n,t){var e,i,r,c,a;if(null==n)return null;for(a=tZ(Vdt,CPn,28,2*t,15,1),i=0,r=0;i>4&15,c=15&n[i],a[r++]=Xft[e],a[r++]=Xft[c];return Ain(a,0,a.length)}(t=JR(n,195),t.length)}function d2(n,t){if(null==n.g||t>=n.i)throw Lm(new jO(t,n.i));return n.Wi(t,n.g[t])}function g2(n){return vtn(n),uK(!0,"n may not be negative"),new PF(n,new z3(n.a))}function p2(n){n.b=(BZ(),jXn),n.f=(z1(),LXn),n.d=(A3(2,fPn),new dY(2)),n.e=new zM}function m2(n){this.b=(PH(n),new Vx(n)),this.a=new Mm,this.d=new Mm,this.e=new zM}function v2(){v2=E,mXn=new ES("BEGIN",0),vXn=new ES(FIn,1),kXn=new ES("END",2)}function k2(){k2=E,Yut=new BC(FIn,0),Zut=new BC("HEAD",1),nst=new BC("TAIL",2)}function y2(){y2=E,Ktt=Uin(Uin(Uin(RE(new OU,(kon(),H7n)),(Lvn(),cnt)),Y7n),ent)}function M2(){M2=E,_tt=Uin(Uin(Uin(RE(new OU,(kon(),G7n)),(Lvn(),nnt)),W7n),Z7n)}function T2(){T2=E,BYn=w7((iln(),a8(uM(GYn,1),lPn,232,0,[xYn,KYn,DYn,RYn,FYn,$Yn])))}function j2(){j2=E,EZn=w7((efn(),a8(uM(CZn,1),lPn,283,0,[vZn,mZn,yZn,kZn,TZn,MZn])))}function E2(){E2=E,RZn=w7((Aun(),a8(uM(GZn,1),lPn,281,0,[NZn,LZn,DZn,AZn,$Zn,OZn])))}function S2(){S2=E,qZn=w7((qhn(),a8(uM(e1n,1),lPn,282,0,[HZn,FZn,UZn,BZn,_Zn,KZn])))}function P2(){P2=E,lQn=w7((Yhn(),a8(uM(bQn,1),lPn,273,0,[sQn,uQn,aQn,hQn,oQn,cQn])))}function C2(){C2=E,Oat=w7((Scn(),a8(uM(Wat,1),lPn,255,0,[Tat,Sat,Pat,Cat,jat,Eat])))}function I2(){I2=E,Qat=w7((Yun(),a8(uM(Qut,1),lPn,298,0,[Vat,zat,Xat,Gat,Uat,qat])))}function O2(){O2=E,gst=w7((thn(),a8(uM(Pst,1),lPn,321,0,[bst,fst,wst,sst,lst,hst])))}function A2(){A2=E,aht=w7((ksn(),a8(uM(bht,1),lPn,101,0,[rht,iht,eht,Zst,tht,nht])))}function L2(){L2=E,wht=w7((lbn(),a8(uM(xht,1),lPn,279,0,[fht,sht,hht,uht,oht,lht])))}function N2(){N2=E,CXn=(v2(),a8(uM(TXn,1),lPn,237,0,[mXn,vXn,kXn])).length,PXn=CXn}function $2(n,t){return function(n){return n?n.i:null}(r6(n,t,y_(Ltn(cPn,HU(y_(Ltn(null==t?0:F4(t),aPn)),15)))))}function D2(n,t){return LA(),y3(mPn),i.Math.abs(n-t)<=mPn||n==t||isNaN(n)&&isNaN(t)}function x2(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,1,e,n.b))}function R2(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,3,e,n.b))}function K2(n,t){var e;e=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,3,e,n.f))}function F2(n,t){var e;e=n.g,n.g=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,4,e,n.g))}function _2(n,t){var e;e=n.i,n.i=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,5,e,n.i))}function B2(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,6,e,n.j))}function H2(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,1,e,n.j))}function U2(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,4,e,n.c))}function G2(n,t){var e;e=n.k,n.k=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,2,e,n.k))}function q2(n,t){var e;e=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&i5(n,new fQ(n,0,e,n.a))}function X2(n,t){var e;e=n.s,n.s=t,4&n.Db&&!(1&n.Db)&&i5(n,new lQ(n,4,e,n.s))}function z2(n,t){var e;e=n.t,n.t=t,4&n.Db&&!(1&n.Db)&&i5(n,new lQ(n,5,e,n.t))}function V2(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&i5(n,new lQ(n,2,e,n.d))}function W2(n,t){var e;e=n.F,n.F=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,5,e,t))}function Q2(n,t){var e;return(e=JR(RH((GE(),Dlt),n),57))?e.gk(t):tZ(sUn,kSn,1,t,5,1)}function J2(n,t){var e,i;return YM(),i=new cs,!!t&&Dgn(i,t),t4(e=i,n),e}function Y2(n,t){var e;return t in n.a&&(e=PX(n,t).re())?e.a:null}function Z2(n,t,e){if(m9(n,e),!n.kl()&&null!=e&&!n.fk(e))throw Lm(new Jm);return e}function n3(n,t){return n.n=t,n.n?(n.f=new Mm,n.e=new Mm):(n.f=null,n.e=null),n}function t3(n,t){if(n){t.n=n;var e=function(n){if(n.Ae())return null;var t=n.n;return rSn[t]}(t);e?e.Rm=t:rSn[n]=[t]}}function e3(n){var t;return aF(null==n||Array.isArray(n)&&!((t=s0(n))>=14&&t<=16)),n}function i3(n,t){var e;return TU(t),oK(!!(e=n[":"+t]),"Enum constant undefined: "+t),e}function r3(n,t,e,i,r,c){var a;return t3(e,a=SH(n,t)),a.i=r?8:0,a.f=i,a.e=r,a.g=c,a}function c3(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=e}function a3(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=e}function o3(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=e}function u3(n,t,e,i,r){this.d=t,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=e}function s3(n,t,e,i,r){this.d=t,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=e}function h3(n,t){var e,i,r,c;for(r=0,c=(i=t).length;r=0))throw Lm(new Cy("tolerance ("+n+") must be >= 0"));return n}function M3(n,t){var e;return sL(t,44)?n.c.Mc(t):(e=Ben(n,t),Kin(n,t),e)}function T3(n,t,e){return k7(n,t),H4(n,e),X2(n,0),z2(n,1),Nnn(n,!0),Onn(n,!0),n}function j3(n,t){var e;if(e=n.gc(),t<0||t>e)throw Lm(new jx(t,e));return new Nx(n,t)}function E3(n,t){n.b=i.Math.max(n.b,t.d),n.e+=t.r+(0==n.a.c.length?0:n.c),AL(n.a,t)}function S3(n){Y$(n.c>=0),function(n,t){var e,i,r;return i=n.a.length-1,e=t-n.b&i,r=n.c-t&i,Z$(e<(n.c-n.b&i)),e>=r?(function(n,t){var e,i;for(e=n.a.length-1,n.c=n.c-1&e;t!=n.c;)i=t+1&e,FH(n.a,t,n.a[i]),t=i;FH(n.a,n.c,null)}(n,t),-1):(function(n,t){var e,i;for(e=n.a.length-1;t!=n.b;)i=t-1&e,FH(n.a,t,n.a[i]),t=i;FH(n.a,n.b,null),n.b=n.b+1&e}(n,t),1)}(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function P3(n){var t;for(t=n.c.Cc().Kc();t.Ob();)JR(t.Pb(),16).$b();n.c.$b(),n.d=0}function C3(n,t){var e,i,r;for(i=0,r=(e=t).length;i0&&n.c0&&0!=n.g&&V3(n.i,t/n.r*n.i.d))}function W3(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,1,e,n.c))}function Q3(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,4,e,n.c))}function J3(n,t){var e;e=n.k,n.k=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,2,e,n.k))}function Y3(n,t){var e;e=n.D,n.D=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,2,e,n.D))}function Z3(n,t){var e;e=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,8,e,n.f))}function n4(n,t){var e;e=n.i,n.i=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,7,e,n.i))}function t4(n,t){var e;e=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,8,e,n.a))}function e4(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,0,e,n.b))}function i4(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,0,e,n.b))}function r4(n,t){var e;e=n.c,n.c=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,1,e,n.c))}function c4(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,1,e,n.d))}function a4(n,t){return Epn(n.e,t)?(VE(),J1(t)?new ZK(t,n):new KI(t,n)):new DI(t,n)}function o4(n,t){var e,i;return e=n.c,(i=t.e[n.p])>0?JR(bF(e.a,i-1),10):null}function u4(n){var t;return(n=i.Math.max(n,2))>(t=C8(n))?(t<<=1)>0?t:hPn:t}function s4(n){switch(JL(3!=n.e),n.e){case 2:return!1;case 0:return!0}return function(n){return n.e=3,n.d=n.Yb(),2!=n.e&&(n.e=0,!0)}(n)}function h4(n,t){var e;return!!sL(t,8)&&(e=JR(t,8),n.a==e.a&&n.b==e.b)}function f4(n,t){var e,i;for(i=t.vc().Kc();i.Ob();)vun(n,(e=JR(i.Pb(),44)).ld(),e.md())}function l4(n,t){var e;e=n.d,n.d=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,11,e,n.d))}function b4(n,t){var e;e=n.j,n.j=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,13,e,n.j))}function w4(n,t){var e;e=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,21,e,n.b))}function d4(n,t){t.Ug("Hierarchical port constraint processing",1),function(n){var t;Lx(JR(ghn(n,(LEn(),q6n)),101))&&(Wbn((xz(0,(t=n.b).c.length),JR(t.c[0],30))),Wbn(JR(bF(t,t.c.length-1),30)))}(n),function(n){var t,e,i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P;if((M=JR(ghn(n,(LEn(),q6n)),101))!=(ksn(),iht)&&M!=rht){for(s=new dY((A3((b=(w=n.b).c.length)+2,wPn),H0(Atn(Atn(5,b+2),(b+2)/10|0)))),d=new dY((A3(b+2,wPn),H0(Atn(Atn(5,b+2),(b+2)/10|0)))),AL(s,new ym),AL(s,new ym),AL(d,new Mm),AL(d,new Mm),y=new Mm,t=0;t>5,i=31&t,Hz(D_(n.n[e][r],y_(N_(i,1))),3)}function S4(n,t,e){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?1:0:(!n.c&&(n.c=yz(p5(n.f))),n.c).e}function Y4(n,t){t?null==n.B&&(n.B=n.D,n.D=null):null!=n.B&&(n.D=n.B,n.B=null)}function Z4(n,t){return LA(),y3(VIn),i.Math.abs(0-t)<=VIn||0==t||isNaN(0)&&isNaN(t)?0:n/t}function n6(n,t){return my(z$(IN(Mnn(uG(new PF(null,new Kz(n.c.b,16)),new sg(n)),t))))}function t6(n,t){return my(z$(IN(Mnn(uG(new PF(null,new Kz(n.c.b,16)),new ug(n)),t))))}function e6(n,t){t.Ug("General Compactor",1),function(n){switch(n.g){case 1:return new jo;case 2:return new m$;default:throw Lm(new Cy(dxn+(null!=n.f?n.f:""+n.g)))}}(JR(fdn(n,(vfn(),Pet)),393)).Cg(n)}function i6(n,t,e){var i,r;for(r=$rn(n,0);r.b!=r.d.c;)(i=JR(kW(r),8)).a+=t,i.b+=e;return n}function r6(n,t,e){var i;for(i=n.b[e&n.f];i;i=i.b)if(e==i.a&&fU(t,i.g))return i;return null}function c6(n,t,e){var i;for(i=n.c[e&n.f];i;i=i.d)if(e==i.f&&fU(t,i.i))return i;return null}function a6(n,t,e,i,r,c){var a;this.c=n,dan(n,a=new Mm,t,n.b,e,i,r,c),this.a=new NV(a,0)}function o6(){this.c=new CT(0),this.b=new CT($Dn),this.d=new CT(NDn),this.a=new CT(DOn)}function u6(n,t,e,i,r,c,a){mj.call(this,n,t),this.d=e,this.e=i,this.c=r,this.b=c,this.a=KJ(a)}function s6(n,t,e,i,r,c,a,o,u,s,h,f,l){return Lln(n,t,e,i,r,c,a,o,u,s,h,f,l),Stn(n,!1),n}function h6(n){return n.b.c.i.k==(Yhn(),aQn)?JR(ghn(n.b.c.i,(qEn(),Y1n)),12):n.b.c}function f6(n){return n.b.d.i.k==(Yhn(),aQn)?JR(ghn(n.b.d.i,(qEn(),Y1n)),12):n.b.d}function l6(n){var t;return zI((t=ZV(n)).a,0)?(Vj(),Vj(),cqn):(Vj(),new s$(t.b))}function b6(n){var t;return zI((t=JV(n)).a,0)?(zj(),zj(),rqn):(zj(),new u$(t.b))}function w6(n){var t;return zI((t=JV(n)).a,0)?(zj(),zj(),rqn):(zj(),new u$(t.c))}function d6(n){switch(n.g){case 2:return $jn(),Dht;case 4:return $jn(),dht;default:return n}}function g6(n){switch(n.g){case 1:return $jn(),Nht;case 3:return $jn(),ght;default:return n}}function p6(n){switch(n.g){case 0:return new Wo;case 1:return new Qo;default:return null}}function m6(){m6=E,xJn=new ND("edgelabelcenterednessanalysis.includelabel",(UN(),WUn))}function v6(){v6=E,N9n=Uin(TO(eF(eF(new OU,(phn(),vWn),(zEn(),wJn)),kWn,rJn),yWn),bJn)}function k6(){k6=E,_9n=Uin(TO(eF(eF(new OU,(phn(),vWn),(zEn(),wJn)),kWn,rJn),yWn),bJn)}function y6(){y6=E,Ubt=new sk,qbt=a8(uM(ebt,1),wBn,179,0,[]),Gbt=a8(uM(lbt,1),dBn,62,0,[])}function M6(){M6=E,jQn=new BS("TO_INTERNAL_LTR",0),TQn=new BS("TO_INPUT_DIRECTION",1)}function T6(){T6=E,pQn=new Bt,dQn=new Ht,gQn=new Ut,wQn=new Gt,mQn=new qt,vQn=new Xt}function j6(n,t,e){e.Ug("DFS Treeifying phase",1),function(n,t){var e,i,r;for(r=t.b.b,n.a=new Gj,n.b=tZ(Wdt,GPn,28,r,15,1),e=0,i=$rn(t.b,0);i.b!=i.d.c;)JR(kW(i),40).g=e++}(n,t),function(n,t){var e,i,r,c,a;for(a=JR(ghn(t,(hyn(),gtt)),433),c=$rn(t.b,0);c.b!=c.d.c;)if(r=JR(kW(c),40),0==n.b[r.g]){switch(a.g){case 0:Ucn(n,r);break;case 1:ndn(n,r)}n.b[r.g]=2}for(i=$rn(n.a,0);i.b!=i.d.c;)Ten((e=JR(kW(i),65)).b.d,e,!0),Ten(e.c.b,e,!0);A8(t,(Ojn(),$nt),n.a)}(n,t),n.a=null,n.b=null,e.Vg()}function E6(n,t){return UN(),GI(n)?HJ(n,V$(t)):XI(n)?R_(n,z$(t)):qI(n)?x_(n,X$(t)):n.Fd(t)}function S6(n,t){var e,i;for(TU(t),i=t.vc().Kc();i.Ob();)e=JR(i.Pb(),44),n.zc(e.ld(),e.md())}function P6(n){var t;if(-2==n.b){if(0==n.e)t=-1;else for(t=0;0==n.a[t];t++);n.b=t}return n.b}function C6(n){if(TU(n),0==n.length)throw Lm(new eM("Zero length BigInteger"));!function(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g;for(u=b=t.length,Rz(0,t.length),45==t.charCodeAt(0)?(f=-1,l=1,--b):(f=1,l=0),r=b/(c=(gMn(),RGn)[10])|0,0!=(g=b%c)&&++r,o=tZ(Wdt,GPn,28,r,15,1),e=xGn[8],a=0,w=l+(0==g?c:g),d=l;d0&&(this.g=this.aj(this.i+(this.i/8|0)+1),n.Qc(this.g))}function O6(n,t,e){this.g=n,this.d=t,this.e=e,this.a=new Mm,function(n){var t,e,i,r;for(r=dnn(n.d,n.e).Kc();r.Ob();)for(i=JR(r.Pb(),12),e=new mw(n.e==($jn(),Dht)?i.e:i.g);e.ar&&t.ac&&t.b(r=n.a.length)?e=r:Rz(t,e+1),n.a=Gq(n.a,0,t)+""+i+_H(n.a,e)}function e5(n,t){n.a=Atn(n.a,1),n.c=i.Math.min(n.c,t),n.b=i.Math.max(n.b,t),n.d=Atn(n.d,t)}function i5(n,t){var e,i,r;if(null!=(e=n.th())&&n.wh())for(i=0,r=e.length;i0||h.j==Dht&&h.e.c.length-h.g.c.length<0)){t=!1;break}for(r=new mw(h.g);r.a1||n.Ob())return++n.a,n.g=0,t=n.i,n.Ob(),t;throw Lm(new cv)}function d5(n){switch(n.a.g){case 1:return new JP;case 3:return new Jan;default:return new gl}}function g5(n,t){switch(t){case 1:return!!n.n&&0!=n.n.i;case 2:return null!=n.k}return EV(n,t)}function p5(n){return lCn=0x8000000000000000?(Q1(),qUn):(i=!1,n<0&&(i=!0,n=-n),e=0,n>=hCn&&(n-=(e=lX(n/hCn))*hCn),t=0,n>=sCn&&(n-=(t=lX(n/sCn))*sCn),r=XA(lX(n),t,e),i&&i9(r),r)}(n))}function m5(n){var t;return n<128?(kF(),!(t=iGn[n])&&(t=iGn[n]=new cw(n)),t):new cw(n)}function v5(n){var t,e,i;return e=0,(i=n)<0&&(i+=hCn,e=oCn),t=lX(i/sCn),XA(lX(i-t*sCn),t,e)}function k5(n){var t,e,i;for(i=0,e=new Uj(n.a);e.a>22),r=n.h-t.h+(i>>22),XA(e&aCn,i&aCn,r&oCn)}function X5(n){var t;return sL(n,82)?n:((t=n&&n.__java$exception)||Xm(t=new E7(n)),t)}function z5(n){if(sL(n,193))return JR(n,123);if(n)return null;throw Lm(new Ay(xFn))}function V5(n){return!!n.a.Ob()||n.a==n.e&&(n.a=new hZ(n.f.f),n.a.Ob())}function W5(n,t){if(null==t)return!1;for(;n.a!=n.b;)if(Enn(t,x7(n)))return!0;return!1}function Q5(n,t){return!(!n||!t||n==t)&&Tin(n.d.c,t.d.c+t.d.b)&&Tin(t.d.c,n.d.c+n.d.b)}function J5(n,t){var e;return 0!=(e=t.Pc()).length&&(rK(n.c,n.c.length,e),!0)}function Y5(n){var t,e;for(t=new Gj,e=$rn(n.d,0);e.b!=e.d.c;)HK(t,JR(kW(e),65).c);return t}function Z5(n,t){var e;for(e=new mw(n.b);e.a(i=n.gc()))throw Lm(new jx(t,i));return n.Si()&&(e=xX(n,e)),n.Ei(t,e)}function S8(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)gan(n,c,a)||tvn(n,c,a,!0,!1)}function P8(n){var t,e;return XA(t=1+~n.l&aCn,e=~n.m+(0==t?1:0)&aCn,~n.h+(0==t&&0==e?1:0)&oCn)}function C8(n){var t;if(n<0)return vPn;if(0==n)return 0;for(t=hPn;!(t&n);t>>=1);return t}function I8(n,t,e){return!(n>=128)&&WI(n<64?Hz(N_(1,n),e):Hz(N_(1,n-64),t),0)}function O8(n,t,e){return null==e?(!n.q&&(n.q=new ym),qJ(n.q,t)):(!n.q&&(n.q=new ym),DU(n.q,t,e)),n}function A8(n,t,e){return null==e?(!n.q&&(n.q=new ym),qJ(n.q,t)):(!n.q&&(n.q=new ym),DU(n.q,t,e)),n}function L8(n){var t,e;return y5(e=new YJ,n),A8(e,(m4(),UVn),n),function(n,t,e){var r,c,a,o,u;for(r=0,a=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));a.e!=a.i.gc();)o="",0==(!(c=JR(Urn(a),27)).n&&(c.n=new aB(olt,c,1,7)),c.n).i||(o=JR(d2((!c.n&&(c.n=new aB(olt,c,1,7)),c.n),0),135).a),y5(u=new QA(o),c),A8(u,(m4(),UVn),c),u.a=r++,u.d.a=c.i+c.g/2,u.d.b=c.j+c.f/2,u.e.a=i.Math.max(c.g,1),u.e.b=i.Math.max(c.f,1),AL(t.e,u),Pln(e.f,c,u),JR(fdn(c,(Okn(),SVn)),101),ksn()}(n,e,t=new ym),function(n,t,e){var r,c,a,o,u,s,f,l;for(s=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));s.e!=s.i.gc();)for(c=new F_(wN(Jdn(u=JR(Urn(s),27)).a.Kc(),new h));Bwn(c);){if(!(r=JR(MJ(c),74)).b&&(r.b=new yx(nlt,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new yx(nlt,r,5,8)),r.c.i<=1)))throw Lm(new $y("Graph must not contain hyperedges."));if(!Pwn(r)&&u!=Bsn(JR(d2((!r.c&&(r.c=new yx(nlt,r,5,8)),r.c),0),84)))for(y5(f=new YD,r),A8(f,(m4(),UVn),r),Ob(f,JR(HI(WF(e.f,u)),153)),Ab(f,JR(RH(e,Bsn(JR(d2((!r.c&&(r.c=new yx(nlt,r,5,8)),r.c),0),84))),153)),AL(t.c,f),o=new XL((!r.n&&(r.n=new aB(olt,r,1,7)),r.n));o.e!=o.i.gc();)y5(l=new XW(f,(a=JR(Urn(o),135)).a),a),A8(l,UVn,a),l.e.a=i.Math.max(a.g,1),l.e.b=i.Math.max(a.f,1),tMn(l),AL(t.d,l)}}(n,e,t),e}function N8(n){var t,e;return t=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,e=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,t||e}function $8(n,t){var e,i,r;for(e=!1,i=n.a[t].length,r=0;r=0,"Negative initial capacity"),oK(t>=0,"Non-positive load factor"),CB(this)}function G8(n,t){var e,i,r,c,a;for(eq(),a=!1,r=0,c=(i=t).length;r1||t>=0&&n.b<3)}function i9(n){var t,e,i;t=1+~n.l&aCn,e=~n.m+(0==t?1:0)&aCn,i=~n.h+(0==t&&0==e?1:0)&oCn,n.l=t,n.m=e,n.h=i}function r9(n){var t,e,i;for(eq(),i=1,e=n.Kc();e.Ob();)i=31*i+(null!=(t=e.Pb())?F4(t):0),i|=0;return i}function c9(n,t,e,i,r){var c;return c=Xwn(n,t),e&&i9(c),r&&(n=function(n,t){var e,i,r;return t<=22?(e=n.l&(1<=n.b.c.length||(D9(n,2*t+1),(e=2*t+2)=0&&n[i]===t[i];i--);return i<0?0:nS(Hz(n[i],PCn),Hz(t[i],PCn))?-1:1}function R9(n,t,e){var i,r;this.g=n,this.c=t,this.a=this,this.d=this,r=u4(e),i=tZ(CUn,oPn,227,r,0,1),this.b=i}function K9(n,t,e,i,r){var c,a;for(a=e;a<=r;a++)for(c=t;c<=i;c++)if(gan(n,c,a))return!0;return!1}function F9(n,t,e){var i,r,c,a;for(TU(e),a=!1,c=n.fd(t),r=e.Kc();r.Ob();)i=r.Pb(),c.Rb(i),a=!0;return a}function _9(n,t){var e,i;return i=JR(s5(n.a,4),129),e=tZ(Alt,R_n,424,t,0,1),null!=i&&ayn(i,0,e,0,i.length),e}function B9(n,t){var e;return e=new Cmn(!!(256&n.f),n.i,n.a,n.d,!!(16&n.f),n.j,n.g,t),null!=n.e||(e.c=n),e}function H9(n,t,e){var i,r;for(r=e.Kc();r.Ob();)if(i=JR(r.Pb(),44),n.Be(t,i.md()))return!0;return!1}function U9(n,t,e){return n.d[t.p][e.p]||(function(n,t,e){if(n.e)switch(n.b){case 1:!function(n,t,e){n.i=0,n.e=0,t!=e&&a9(n,t,e)}(n.c,t,e);break;case 0:!function(n,t,e){n.i=0,n.e=0,t!=e&&o9(n,t,e)}(n.c,t,e)}else UW(n.c,t,e);n.a[t.p][e.p]=n.c.i,n.a[e.p][t.p]=n.c.e}(n,t,e),n.d[t.p][e.p]=!0,n.d[e.p][t.p]=!0),n.a[t.p][e.p]}function G9(n,t){return!(!n||n==t||!b$(t,(qEn(),B1n)))&&JR(ghn(t,(qEn(),B1n)),10)!=n}function q9(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.$l()}}function X9(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n._l()}}function z9(n){qX.call(this,"The given string does not match the expected format for individual spacings.",n)}function V9(n,t,e){var i,r;for(i=new Gj,r=$rn(e,0);r.b!=r.d.c;)HK(i,new JO(JR(kW(r),8)));F9(n,t,i)}function W9(n,t){var e;return e=Atn(n,t),nS(Gz(n,t),0)|VI(Gz(n,e),0)?e:Atn(zSn,Gz(D_(e,63),1))}function Q9(n){var t;if((t=n.a.c.length)>0)return z_(t-1,n.a.c.length),BJ(n.a,t-1);throw Lm(new rv)}function J9(n,t,e){if(n>t)throw Lm(new Cy(eIn+n+iIn+t));if(n<0||t>e)throw Lm(new tM(eIn+n+rIn+t+qCn+e))}function Y9(n,t){null==n.D&&null!=n.B&&(n.D=n.B,n.B=null),Y3(n,null==t?null:(TU(t),t)),n.C&&n.hl(null)}function Z9(n,t){var e,i;if(0!=(i=n.c[t]))for(n.c[t]=0,n.d-=i,e=t+1;eLDn?n-e>LDn:e-n>LDn)}function O7(n,t){var e;for(e=0;er&&(qun(t.q,r),i=e!=t.q.d)),i}function L7(n,t){var e,r,c,a,o;return a=t.i,o=t.j,r=a-(e=n.f).i,c=o-e.j,i.Math.sqrt(r*r+c*c)}function N7(n,t){var e;return(e=Vin(n))||(!Vft&&(Vft=new Ps),KMn(),bZ((e=new dm(vdn(t))).El(),n)),e}function $7(n,t){var e,i;return(e=JR(n.c.Bc(t),16))?((i=n.hc()).Gc(e),n.d-=e.gc(),e.$b(),n.mc(i)):n.jc()}function D7(n,t,e,i){var r,c;n.a=t,c=i?0:1,n.f=(r=new Ofn(n.c,n.a,e,c),new Amn(e,n.a,r,n.e,n.b,n.c==(g3(),D9n)))}function x7(n){var t;return J$(n.a!=n.b),t=n.d.a[n.a],Z$(n.b==n.d.c&&null!=t),n.c=n.a,n.a=n.a+1&n.d.a.length-1,t}function R7(n){var t;if(0!=n.c)return n.c;for(t=0;t=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}function X7(n,t){var e,i,r,c;return(c=Rln((i=t,(r=n?Vin(n):null)&&r.Gl(),i)))==t&&(e=Vin(n))&&e.Gl(),c}function z7(n,t,e){var i,r;return r=n.f,n.f=t,4&n.Db&&!(1&n.Db)&&(i=new oB(n,1,0,r,t),e?e.nj(i):e=i),e}function V7(n,t,e){var i,r;return r=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&(i=new oB(n,1,3,r,t),e?e.nj(i):e=i),e}function W7(n,t,e){var i,r;return r=n.a,n.a=t,4&n.Db&&!(1&n.Db)&&(i=new oB(n,1,1,r,t),e?e.nj(i):e=i),e}function Q7(n){var t,e,i,r;if(null!=n)for(e=0;e-129&&n<128?(CK(),!(e=oGn[t=n+128])&&(e=oGn[t]=new Yb(n)),e):new Yb(n)}function onn(n){var t,e;return n>-129&&n<128?(mF(),!(e=gGn[t=n+128])&&(e=gGn[t]=new nw(n)),e):new nw(n)}function unn(n,t){n.a.c.length>0&&A9(JR(bF(n.a,n.a.c.length-1),579),t)||AL(n.a,new cJ(t))}function snn(n){var t;return(t=new Yy).a+="VerticalSegment ",iO(t,n.e),t.a+=" ",rO(t,WL(new qy,new mw(n.k))),t.a}function hnn(n,t){var e,i;for(e=0,i=$tn(n,t).Kc();i.Ob();)e+=null!=ghn(JR(i.Pb(),12),(qEn(),a0n))?1:0;return e}function fnn(n,t,e){var i,r,c;for(i=0,c=$rn(n,0);c.b!=c.d.c&&!((r=my(z$(kW(c))))>e);)r>=t&&++i;return i}function lnn(n,t){PH(n);try{return n._b(t)}catch(n){if(sL(n=X5(n),212)||sL(n,169))return!1;throw Lm(n)}}function bnn(n,t){PH(n);try{return n.Hc(t)}catch(n){if(sL(n=X5(n),212)||sL(n,169))return!1;throw Lm(n)}}function wnn(n,t){PH(n);try{return n.xc(t)}catch(n){if(sL(n=X5(n),212)||sL(n,169))return null;throw Lm(n)}}function dnn(n,t){switch(t.g){case 2:case 1:return $tn(n,t);case 3:case 4:return hen($tn(n,t))}return eq(),eq(),BGn}function gnn(n){var t;return 64&n.Db?Pdn(n):((t=new vN(Pdn(n))).a+=" (name: ",tO(t,n.zb),t.a+=")",t.a)}function pnn(n){var t;return(t=JR(t0(n.c.c,""),233))||(t=new Ez(IM(CM(new du,""),"Other")),Irn(n.c.c,"",t)),t}function mnn(n,t,e){var i,r;return r=n.sb,n.sb=t,4&n.Db&&!(1&n.Db)&&(i=new oB(n,1,4,r,t),e?e.nj(i):e=i),e}function vnn(n,t,e){var i,r;return r=n.r,n.r=t,4&n.Db&&!(1&n.Db)&&(i=new oB(n,1,8,r,n.r),e?e.nj(i):e=i),e}function knn(n,t){var e,i;return!(i=(e=JR(t,691)).el())&&e.fl(i=sL(t,90)?new xI(n,JR(t,29)):new kV(n,JR(t,156))),i}function ynn(n,t,e){var i;n._i(n.i+1),i=n.Zi(t,e),t!=n.i&&ayn(n.g,t,n.g,t+1,n.i-t),FH(n.g,t,i),++n.i,n.Mi(t,e),n.Ni()}function Mnn(n,t){var e;return e=new un,n.a.Bd(e)?(nN(),new cy(TU(p1(n,e.a,t)))):(pU(n),nN(),nN(),iqn)}function Tnn(n,t){var e;0!=n.c.length&&(XO(e=JR(Trn(n,tZ(fQn,JAn,10,n.c.length,0,1)),199),new Oe),Hbn(e,t))}function jnn(n,t){var e;0!=n.c.length&&(XO(e=JR(Trn(n,tZ(fQn,JAn,10,n.c.length,0,1)),199),new Ae),Hbn(e,t))}function Enn(n,t){return GI(n)?Cx(n,t):XI(n)?Px(n,t):qI(n)?(TU(n),UI(n)===UI(t)):A_(n)?n.Fb(t):XF(n)?AO(n,t):Bz(n,t)}function Snn(n,t,e){if(t<0)cbn(n,e);else{if(!e.rk())throw Lm(new Cy(FKn+e.xe()+_Kn));JR(e,69).wk().Ek(n,n.hi(),t)}}function Pnn(n,t,e){if(n<0||t>e)throw Lm(new jy(eIn+n+rIn+t+", size: "+e));if(n>t)throw Lm(new Cy(eIn+n+iIn+t))}function Cnn(n){var t;return 64&n.Db?Pdn(n):((t=new vN(Pdn(n))).a+=" (source: ",tO(t,n.d),t.a+=")",t.a)}function Inn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function Onn(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,2,e,t))}function Ann(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,8,e,t))}function Lnn(n,t){var e;e=!!(256&n.Bb),t?n.Bb|=256:n.Bb&=-257,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,8,e,t))}function Nnn(n,t){var e;e=!!(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,3,e,t))}function $nn(n,t){var e;e=!!(512&n.Bb),t?n.Bb|=512:n.Bb&=-513,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,9,e,t))}function Dnn(n,t){var e;return-1==n.b&&n.a&&(e=n.a.pk(),n.b=e?n.c.Hh(n.a.Lj(),e):Pen(n.c.Dh(),n.a)),n.c.yh(n.b,t)}function xnn(n,t){var e,i;for(i=new XL(n);i.e!=i.i.gc();)if(e=JR(Urn(i),29),UI(t)===UI(e))return!0;return!1}function Rnn(n){var t;return n.k==(Yhn(),aQn)&&((t=JR(ghn(n,(qEn(),N1n)),64))==($jn(),ght)||t==Nht)}function Knn(n){var t;return zI((t=JV(n)).a,0)?(zj(),zj(),rqn):(zj(),new u$(ZE(t.a,0)?UJ(t)/zV(t.a):0))}function Fnn(n,t){this.e=t,this.a=K5(n),this.a<54?this.f=zV(n):this.c=(bvn(),G7(n,0)>=0?tin(n):YB(tin(v1(n))))}function _nn(n,t,e,i,r,c){this.e=new Mm,this.f=(v3(),G8n),AL(this.e,n),this.d=t,this.a=e,this.b=i,this.f=r,this.c=c}function Bnn(n){return n=((n=((n-=n>>1&1431655765)>>2&858993459)+(858993459&n))>>4)+n&252645135,63&(n+=n>>8)+(n>>16)}function Hnn(n,t){var e,i;for(i=new XL(n);i.e!=i.i.gc();)if(e=JR(Urn(i),142),UI(t)===UI(e))return!0;return!1}function Unn(n,t,e){var i,r;return(r=Adn(n.b,t))&&(i=JR(xMn(I1(n,r),""),29))?ydn(n,i,t,e):null}function Gnn(n,t){var e;if(sL(e=_gn(n,t),331))return JR(e,35);throw Lm(new Cy(FKn+t+"' is not a valid attribute"))}function qnn(n,t,e){var i;if(t>(i=n.gc()))throw Lm(new jx(t,i));if(n.Si()&&n.Hc(e))throw Lm(new Cy(_Fn));n.Gi(t,e)}function Xnn(){Xnn=E,Vut=new _C(zIn,0),zut=new _C(UIn,1),Xut=new _C(HIn,2),qut=new _C(nOn,3),Wut=new _C("UP",4)}function znn(){znn=E,Rrt=new jC("P1_STRUCTURE",0),Krt=new jC("P2_PROCESSING_ORDER",1),Frt=new jC("P3_EXECUTION",2)}function Vnn(){Vnn=E,Ftt=Uin(Uin(RE(Uin(Uin(RE(eF(new OU,(kon(),H7n),(Lvn(),cnt)),U7n),tnt),int),G7n),J7n),rnt)}function Wnn(n){switch(JR(ghn(n,(qEn(),_1n)),311).g){case 1:A8(n,_1n,(V1(),s1n));break;case 2:A8(n,_1n,(V1(),f1n))}}function Qnn(n){switch(n.g){case 2:return zut;case 1:return Xut;case 4:return qut;case 3:return Wut;default:return Vut}}function Jnn(n,t){switch(n.b.g){case 0:case 1:return t;case 2:case 3:return new kG(t.d,0,t.a,t.b);default:return null}}function Ynn(n){switch(n.g){case 1:return Dht;case 2:return ght;case 3:return dht;case 4:return Nht;default:return $ht}}function Znn(n){switch(n.g){case 1:return Nht;case 2:return Dht;case 3:return ght;case 4:return dht;default:return $ht}}function ntn(n){switch(n.g){case 1:return dht;case 2:return Nht;case 3:return Dht;case 4:return ght;default:return $ht}}function ttn(n,t,e,i){switch(t){case 1:return!n.n&&(n.n=new aB(olt,n,1,7)),n.n;case 2:return n.k}return aon(n,t,e,i)}function etn(n,t,e){var i,r;return n.Pj()?(r=n.Qj(),i=xbn(n,t,e),n.Jj(n.Ij(7,ann(e),i,t,r)),i):xbn(n,t,e)}function itn(n,t){var e,i,r;null==n.d?(++n.e,--n.f):(r=t.ld(),function(n,t,e){++n.e,--n.f,JR(n.d[t].gd(e),136).md()}(n,i=((e=t.Bi())&wSn)%n.d.length,Odn(n,i,e,r)))}function rtn(n,t){var e;e=!!(n.Bb&sPn),t?n.Bb|=sPn:n.Bb&=-1025,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,10,e,t))}function ctn(n,t){var e;e=!!(n.Bb&vCn),t?n.Bb|=vCn:n.Bb&=-4097,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,12,e,t))}function atn(n,t){var e;e=!!(n.Bb&rBn),t?n.Bb|=rBn:n.Bb&=-8193,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,15,e,t))}function otn(n,t){var e;e=!!(n.Bb&cBn),t?n.Bb|=cBn:n.Bb&=-2049,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,11,e,t))}function utn(n){var t;n.g&&(Ppn((t=n.c.kg()?n.f:n.a).a,n.o,!0),Ppn(t.a,n.o,!1),A8(n.o,(LEn(),q6n),(ksn(),Zst)))}function stn(n){var t;if(!n.a)throw Lm(new Iy("Cannot offset an unassigned cut."));t=n.c-n.b,n.b+=t,JG(n,t),QG(n,t)}function htn(n){var t,e;for(e=Mdn(h2(n)).Kc();e.Ob();)if(vkn(n,t=V$(e.Pb())))return kQ((HE(),Zlt),t);return null}function ftn(n){var t,e;for(e=n.p.a.ec().Kc();e.Ob();)if((t=JR(e.Pb(),218)).f&&n.b[t.c]<-1e-10)return t;return null}function ltn(n){var t,e,i;for(t=new Mm,i=new mw(n.b);i.at?1:n==t?0==n?wtn(1/n,1/t):0:isNaN(n)?isNaN(t)?0:1:-1}function dtn(n,t,e){var i;if(n.c)fhn(n.c,t,e);else for(i=new mw(n.b);i.a=1?zut:qut:t}function vtn(n){if(n.c)vtn(n.c);else if(n.d)throw Lm(new Iy("Stream already terminated, can't be modified or used"))}function ktn(n,t,e){var i;return i=n.a.get(t),n.a.set(t,void 0===e?null:e),void 0===i?(++n.c,++n.b.g):++n.d,i}function ytn(n,t,e){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=JR(r.Pb(),10),G5(e,JR(bF(t,i.p),16)))return i;return null}function Mtn(n,t,e){var i;return i=0,t&&(aA(n.a)?i+=t.f.a/2:i+=t.f.b/2),e&&(aA(n.a)?i+=e.f.a/2:i+=e.f.b/2),i}function Ttn(n,t,e){var r;!(r=e)&&(r=mK(new jk,0)),r.Ug(NAn,2),Mcn(n.b,t,r.eh(1)),function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;for(QQ(u=function(n){var t,e,i,r,c;for(t=new GL,e=new GL,MW(t,n),MW(e,n);e.b!=e.c;)for(c=new mw(JR(OB(e),36).a);c.aQOn,S=i.Math.abs(b.b-d.b)>QOn,(!e&&E&&S||e&&(E||S))&&HK(p.a,y)),z4(p.a,r),0==r.b?b=y:(J$(0!=r.b),b=JR(r.c.b.c,8)),x5(w,l,g),f6(c)==j&&(dU(j.i)!=c.a&&tln(g=new zM,dU(j.i),v),A8(p,k0n,g)),sfn(w,p,v),f.a.zc(w,f);oz(p,M),hz(p,j)}for(h=f.a.ec().Kc();h.Ob();)oz(s=JR(h.Pb(),18),null),hz(s,null);t.Vg()}(t,r.eh(1)),r.Vg()}function jtn(n,t,e){var i;return YM(),q2(i=new ns,t),x2(i,e),n&&bZ((!n.a&&(n.a=new NL(Jft,n,5)),n.a),i),i}function Etn(n){var t;return 64&n.Db?Pdn(n):((t=new vN(Pdn(n))).a+=" (identifier: ",tO(t,n.k),t.a+=")",t.a)}function Stn(n,t){var e;e=!!(n.Bb&qKn),t?n.Bb|=qKn:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,18,e,t))}function Ptn(n,t){var e;e=!!(n.Bb&qKn),t?n.Bb|=qKn:n.Bb&=-32769,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,18,e,t))}function Ctn(n,t){var e;e=!!(n.Bb&USn),t?n.Bb|=USn:n.Bb&=-16385,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,16,e,t))}function Itn(n,t){var e;e=!!(n.Bb&MCn),t?n.Bb|=MCn:n.Bb&=-65537,4&n.Db&&!(1&n.Db)&&i5(n,new wJ(n,1,20,e,t))}function Otn(n){var t;return t=tZ(Vdt,CPn,28,2,15,1),n-=MCn,t[0]=(n>>10)+TCn&OPn,t[1]=56320+(1023&n)&OPn,Ain(t,0,t.length)}function Atn(n,t){var e;return BO(n)&&BO(t)&&lCn<(e=n+t)&&e>22),r=n.h+t.h+(i>>22),XA(e&aCn,i&aCn,r&oCn)}(BO(n)?v5(n):n,BO(t)?v5(t):t))}function Ltn(n,t){var e;return BO(n)&&BO(t)&&lCn<(e=n*t)&&e>13|(15&n.m)<<9,r=n.m>>4&8191,c=n.m>>17|(255&n.h)<<5,a=(1048320&n.h)>>8,g=i*(o=8191&t.l),p=r*o,m=c*o,v=a*o,0!=(u=t.l>>13|(15&t.m)<<9)&&(g+=e*u,p+=i*u,m+=r*u,v+=c*u),0!=(s=t.m>>4&8191)&&(p+=e*s,m+=i*s,v+=r*s),0!=(h=t.m>>17|(255&t.h)<<5)&&(m+=e*h,v+=i*h),0!=(f=(1048320&t.h)>>8)&&(v+=e*f),b=((d=e*o)>>22)+(g>>9)+((262143&p)<<4)+((31&m)<<17),w=(p>>18)+(m>>5)+((4095&v)<<8),w+=(b+=(l=(d&aCn)+((511&g)<<13))>>22)>>22,XA(l&=aCn,b&=aCn,w&=oCn)}(BO(n)?v5(n):n,BO(t)?v5(t):t))}function Ntn(n,t){var e;return BO(n)&&BO(t)&&lCn<(e=n-t)&&et?1:FO(isNaN(n),isNaN(t))}function xtn(){xtn=E,ast=new HC(zIn,0),rst=new HC("POLYLINE",1),ist=new HC("ORTHOGONAL",2),cst=new HC("SPLINES",3)}function Rtn(){Rtn=E,jit=new vC("ASPECT_RATIO_DRIVEN",0),Eit=new vC("MAX_SCALE_DRIVEN",1),Tit=new vC("AREA_DRIVEN",2)}function Ktn(n){var t,e;for(t=new Mm,e=new mw(n.j);e.at){FV(e);break}}ZB(e,t)}function ztn(n,t,e){e.Ug("Straight Line Edge Routing",1),e.dh(t,oxn),PMn(n,JR(fdn(t,(tD(),Btt)),27)),e.dh(t,sxn)}function Vtn(n,t){0==n.n.c.length&&AL(n.n,new gX(n.s,n.t,n.i)),AL(n.b,t),fan(JR(bF(n.n,n.n.c.length-1),209),t),byn(n,t)}function Wtn(n){var t;this.a=new Wx(t=JR(n.e&&n.e(),9),JR(qD(t,t.length),9),0),this.b=tZ(sUn,kSn,1,this.a.a.length,5,1)}function Qtn(n){return Array.isArray(n)&&n.Tm===j?sT(s7(n))+"@"+(F4(n)>>>0).toString(16):n.toString()}function Jtn(n,t){switch(t.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function Ytn(n,t,e,i){switch(t){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return ttn(n,t,e,i)}function Ztn(n,t){if(t==n.d)return n.e;if(t==n.e)return n.d;throw Lm(new Cy("Node "+t+" not part of edge "+n))}function nen(n,t,e,i){if(t<0)egn(n,e,i);else{if(!e.rk())throw Lm(new Cy(FKn+e.xe()+_Kn));JR(e,69).wk().Ck(n,n.hi(),t,i)}}function ten(n){var t;if(n.b){if(ten(n.b),n.b.d!=n.c)throw Lm(new iv)}else n.d.dc()&&(t=JR(n.f.c.xc(n.e),16))&&(n.d=t)}function een(n){var t,e,i;for(this.a=new qO,i=new mw(n);i.a=c)return t.c+e;return t.c+t.b.gc()}function ren(n,t,e){var i,r;for(i=0,r=n.length;i0&&(i+=r,++e);return e>1&&(i+=n.d*(e-1)),i}function uen(n){var t,e,i;for((i=new Qy).a+="[",t=0,e=n.gc();t=0&&n.a[e]===t[e];e--);return e<0}(n,e.a))}function len(n){switch($jn(),n.g){case 4:return ght;case 1:return dht;case 3:return Nht;case 2:return Dht;default:return $ht}}function ben(n){var t,e;for(e=my(z$(n.a.of((XEn(),Put)))),t=new mw(n.a.Sf());t.a=0;r--)if(Cx(n[r].d,t)||Cx(n[r].d,e)){n.length>=r+1&&n.splice(0,r+1);break}return n}($Un.me(n)))),t=0,e=n.j.length;tu.d&&(f=u.d+u.a+h));e.c.d=f,t.a.zc(e,t),s=i.Math.max(s,e.c.d+e.c.a)}return s}(n),Yj(new PF(null,new Kz(n.d,16)),new ed(n)),t}function Oen(n){$en(),this.c=KJ(a8(uM(Zct,1),kSn,845,0,[H5n])),this.b=new ym,this.a=n,DU(this.b,U5n,1),n2(G5n,new dp(this))}function Aen(n,t,e){N2(),Gv.call(this),this.a=dF(yXn,[HSn,BIn],[603,217],0,[CXn,PXn],2),this.c=new nA,this.g=n,this.f=t,this.d=e}function Len(n,t){this.n=dF(Jdt,[HSn,kCn],[376,28],14,[t,lX(i.Math.ceil(n/32))],2),this.o=n,this.p=t,this.j=n-1>>1,this.k=t-1>>1}function Nen(n){var t,e;t=n.d==(iln(),DYn),e=csn(n),A8(n.a,(LEn(),o4n),t&&!e||!t&&e?(Scn(),Pat):(Scn(),Sat))}function $en(){$en=E,jE(),LEn(),U5n=v5n,G5n=KJ(a8(uM(oat,1),bDn,149,0,[u5n,s5n,f5n,l5n,d5n,g5n,p5n,m5n,y5n,T5n,h5n,b5n,k5n]))}function Den(n,t){var e,i;if((i=new Ow(n.a.ad(t,!0))).a.gc()<=1)throw Lm(new tv);return(e=i.a.ec().Kc()).Pb(),JR(e.Pb(),40)}function xen(n,t){return n.i>0&&(t.lengthn.i&&FH(t,n.i,null),t}function Ren(n){var t;return 64&n.Db?gnn(n):((t=new vN(gnn(n))).a+=" (instanceClassName: ",tO(t,n.D),t.a+=")",t.a)}function Ken(n){var t,e,i,r;for(r=0,e=0,i=n.length;e0&&(n._j(),-1!=Odn(n,((e=null==t?0:F4(t))&wSn)%n.d.length,e,t))}function Hen(n,t){var e,r;n.a=Atn(n.a,1),n.c=i.Math.min(n.c,t),n.b=i.Math.max(n.b,t),n.d+=t,e=t-n.f,r=n.e+e,n.f=r-n.e-e,n.e=r}function Uen(n,t){switch(t){case 3:return void K2(n,0);case 4:return void F2(n,0);case 5:return void _2(n,0);case 6:return void B2(n,0)}tnn(n,t)}function Gen(n,t){switch(t.g){case 1:return qR(n.j,(T6(),dQn));case 2:return qR(n.j,(T6(),pQn));default:return eq(),eq(),BGn}}function qen(n){var t;switch(AH(),(t=n.Pc()).length){case 0:return mUn;case 1:return new hF(PH(t[0]));default:return new Bq(function(n){var t,e;for(t=0,e=n.length;t0&&(n._j(),e=qbn(n,((i=null==t?0:F4(t))&wSn)%n.d.length,i,t))?e.md():null}function Zen(n,t,e){var i,r,c;return n.Pj()?(i=n.i,c=n.Qj(),ynn(n,i,t),r=n.Ij(3,null,t,i,c),e?e.nj(r):e=r):ynn(n,n.i,t),e}function nin(n){var t;return vD(),t=new JO(JR(n.e.of((XEn(),Kot)),8)),n.B.Hc((Yvn(),Jht))&&(t.a<=0&&(t.a=20),t.b<=0&&(t.b=20)),t}function tin(n){var t,e;return bvn(),e=y_(n),0!=(t=y_(D_(n,32)))?new Vz(e,t):e>10||e<0?new sQ(1,e):AGn[e]}function ein(n,t){var e;return BO(n)&&BO(t)&&lCn<(e=n%t)&&e=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function win(n,t,e){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.Ne(t,c.d),e&&0==i)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function din(n,t,e,i){var r,c,a;return r=!1,function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;return l=n.c[t],b=n.c[e],!((w=JR(ghn(l,(qEn(),H1n)),15))&&0!=w.gc()&&w.Hc(b)||(d=l.k!=(Yhn(),uQn)&&b.k!=uQn,m=(g=JR(ghn(l,B1n),10))!=(p=JR(ghn(b,B1n),10)),v=!!g&&g!=l||!!p&&p!=b,k=san(l,($jn(),ght)),y=san(b,Nht),v|=san(l,Nht)||san(b,ght),d&&(v&&m||k||y))||l.k==(Yhn(),hQn)&&b.k==sQn||b.k==(Yhn(),hQn)&&l.k==sQn)&&(h=n.c[t],c=n.c[e],r=gun(n.e,h,c,($jn(),Dht)),u=gun(n.i,h,c,dht),function(n,t,e){n.d=0,n.b=0,t.k==(Yhn(),hQn)&&e.k==hQn&&JR(ghn(t,(qEn(),Y1n)),10)==JR(ghn(e,Y1n),10)&&(y1(t).j==($jn(),ght)?Rdn(n,t,e):Rdn(n,e,t)),t.k==hQn&&e.k==uQn?y1(t).j==($jn(),ght)?n.d=1:n.b=1:e.k==hQn&&t.k==uQn&&(y1(e).j==($jn(),ght)?n.b=1:n.d=1),function(n,t,e){t.k==(Yhn(),sQn)&&e.k==uQn&&(n.d=hnn(t,($jn(),Nht)),n.b=hnn(t,ght)),e.k==sQn&&t.k==uQn&&(n.d=hnn(e,($jn(),ght)),n.b=hnn(e,Nht))}(n,t,e)}(n.f,h,c),s=U9(n.b,h,c)+JR(r.a,17).a+JR(u.a,17).a+n.f.d,o=U9(n.b,c,h)+JR(r.b,17).a+JR(u.b,17).a+n.f.b,n.a&&(f=JR(ghn(h,Y1n),12),a=JR(ghn(c,Y1n),12),s+=JR((i=mon(n.g,f,a)).a,17).a,o+=JR(i.b,17).a),s>o)}(n.f,e,i)&&(function(n,t,e){var i,r;hhn(n.e,t,e,($jn(),Dht)),hhn(n.i,t,e,dht),n.a&&(r=JR(ghn(t,(qEn(),Y1n)),12),i=JR(ghn(e,Y1n),12),rV(n.g,r,i))}(n.f,n.a[t][e],n.a[t][i]),a=(c=n.a[t])[i],c[i]=c[e],c[e]=a,r=!0),r}function gin(n,t,e){var i,r,c;for(r=JR(RH(n.b,e),183),i=0,c=new mw(t.j);c.a>5,t&=31,r=n.d+e+(0==t?0:1),function(n,t,e,i){var r,c,a;if(0==i)ayn(t,0,n,e,n.length-e);else for(a=32-i,n[n.length-1]=0,c=n.length-1;c>e;c--)n[c]|=t[c-e-1]>>>a,n[c-1]=t[c-e-1]<t?1:FO(isNaN(n),isNaN(t)))>0}function Min(n,t){return LA(),LA(),y3(mPn),(i.Math.abs(n-t)<=mPn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:FO(isNaN(n),isNaN(t)))<0}function Tin(n,t){return LA(),LA(),y3(mPn),(i.Math.abs(n-t)<=mPn||n==t||isNaN(n)&&isNaN(t)?0:nt?1:FO(isNaN(n),isNaN(t)))<=0}function jin(n,t){for(var e=0;!t[e]||""==t[e];)e++;for(var i=t[e++];e0&&this.b>0&&(this.g=IF(this.c,this.b,this.a))}function xin(n){if(!(TFn in n.a))throw Lm(new Dy("Every element must have an id."));return mbn(PX(n,TFn))}function Rin(n){var t,e;for(e=Kfn(n),t=null;2==n.c;)NEn(n),t||(WEn(),WEn(),WMn(t=new OA(2),e),e=t),e.Jm(Kfn(n));return e}function Kin(n,t){var e,i;return n._j(),(e=qbn(n,((i=null==t?0:F4(t))&wSn)%n.d.length,i,t))?(M3(n,e),e.md()):null}function Fin(n,t){return n.e>t.e?1:n.et.d?n.e:n.d=48&&n<48+i.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function Bin(n,t){if(t.c==n)return t.d;if(t.d==n)return t.c;throw Lm(new Cy("Input edge is not connected to the input port."))}function Hin(n){switch(typeof n){case lSn:return v9(n);case fSn:return DO(n);case hSn:return pD(n);default:return null==n?0:FN(n)}}function Uin(n,t){if(n.a<0)throw Lm(new Iy("Did not call before(...) or after(...) before calling add(...)."));return c$(n,n.a,t),n}function Gin(n){return JX(),sL(n,162)?JR(RH(Slt,JGn),295).Rg(n):MB(Slt,s7(n))?JR(RH(Slt,s7(n)),295).Rg(n):null}function qin(n){var t;return 32&n.Db||0!=(t=DH(JR(s5(n,16),29)||n.ii())-DH(n.ii()))&&Xin(n,32,tZ(sUn,kSn,1,t,5,1)),n}function Xin(n,t,e){var i;n.Db&t?null==e?function(n,t){var e,i,r,c,a,o,u;if(1==(i=Bnn(254&n.Db)))n.Eb=null;else if(c=e3(n.Eb),2==i)r=Lan(n,t),n.Eb=c[0==r?1:0];else{for(a=tZ(sUn,kSn,1,i-1,5,1),e=2,o=0,u=0;e<=128;e<<=1)e==t?++o:n.Db&e&&(a[u++]=c[o++]);n.Eb=a}n.Db&=~t}(n,t):-1==(i=Lan(n,t))?n.Eb=e:FH(e3(n.Eb),i,e):null!=e&&function(n,t,e){var i,r,c,a,o,u;if(0==(r=Bnn(254&n.Db)))n.Eb=e;else{if(1==r)a=tZ(sUn,kSn,1,2,5,1),0==Lan(n,t)?(a[0]=e,a[1]=n.Eb):(a[0]=n.Eb,a[1]=e);else for(a=tZ(sUn,kSn,1,r+1,5,1),c=e3(n.Eb),i=2,o=0,u=0;i<=128;i<<=1)i==t?a[u++]=e:n.Db&i&&(a[u++]=c[o++]);n.Eb=a}n.Db|=t}(n,t,e)}function zin(n,t,e,i){var r;0!=t.c.length&&(r=function(n,t){var e,i,r,c,a;for(e=new Mm,r=r0(new PF(null,new Kz(n,16)),new wa),c=r0(new PF(null,new Kz(n,16)),new da),a=function(n){var t;return pU(n),t=tZ(Zdt,jCn,28,0,15,1),DT(n.a,new Bw(t)),t}(function(n){return vtn(n),new rD(n,new tK(n,n.a.e,4|n.a.d))}(sG(function(n){var t,e,i,r,c,a,o,u;for(t=336,e=0,r=new ox(n.length),o=0,u=(a=n).length;o=2*t&&AL(e,new jR(a[i-1]+t,a[i]-t));return e}(e,i),Yj(V0(new PF(null,new Kz(function(n){var t,e,i,r,c,a,o;for(c=new qO,e=new mw(n);e.a2&&o.e.b+o.j.b<=2&&(r=o,i=a),c.a.zc(r,c),r.q=i);return c}(t),1)),new ba),new yG(n,e,r,i)))}function Vin(n){var t,e,i;if(!(i=n.Jh()))for(t=0,e=n.Ph();e;e=e.Ph()){if(++t>ECn)return e.Qh();if((i=e.Jh())||e==n)break}return i}function Win(n,t){var e;return UI(t)===UI(n)||!!sL(t,21)&&(e=JR(t,21)).gc()==n.gc()&&n.Ic(e)}function Qin(n,t){return TU(n),null!=t&&(!!Cx(n,t)||n.length==t.length&&Cx(n.toLowerCase(),t.toLowerCase()))}function Jin(n){var t,e;return G7(n,-129)>0&&G7(n,128)<0?(pF(),t=y_(n)+128,!(e=hGn[t])&&(e=hGn[t]=new Zb(n)),e):new Zb(n)}function Yin(){Yin=E,WWn=new FS(_An,0),zWn=new FS("INSIDE_PORT_SIDE_GROUPS",1),XWn=new FS("GROUP_MODEL_ORDER",2),VWn=new FS(BAn,3)}function Zin(n,t){var e,i;for(Rz(t,n.length),e=n.charCodeAt(t),i=t+1;iT&&(d.c=T-d.b),AL(o.d,new o_(d,Jnn(o,d))),v=t==ght?i.Math.max(v,g.b+h.b.Mf().b):i.Math.min(v,g.b));for(v+=t==ght?n.t:-n.t,(k=Ien((o.e=v,o)))>0&&(JR(XU(n.b,t),127).a.b=k),f=b.Kc();f.Ob();)!(h=JR(f.Pb(),117)).c||h.c.d.c.length<=0||((d=h.c.i).c-=h.e.a,d.d-=h.e.b)}else Sjn(n,t)}(n,t):Sjn(n,t):n.u.Hc(fht)&&(e?function(n,t){var e,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m;if((f=JR(JR(RJ(n.r,t),21),87)).gc()<=2||t==($jn(),dht)||t==($jn(),Dht))Zjn(n,t);else{for(g=n.u.Hc((lbn(),lht)),e=t==($jn(),ght)?(C5(),fzn):(C5(),uzn),m=t==ght?(z1(),AXn):(z1(),NXn),r=pM(pR(e),n.s),p=t==ght?pCn:mCn,h=f.Kc();h.Ob();)!(u=JR(h.Pb(),117)).c||u.c.d.c.length<=0||(d=u.b.Mf(),w=u.e,(b=(l=u.c).i).b=(a=l.n,l.e.a+a.b+a.c),b.a=(o=l.n,l.e.b+o.d+o.a),g?(b.c=w.a-(c=l.n,l.e.a+c.b+c.c)-n.s,g=!1):b.c=w.a+d.a+n.s,Fq(m,GIn),l.f=m,wZ(l,(BZ(),SXn)),AL(r.d,new o_(b,Jnn(r,b))),p=t==ght?i.Math.min(p,w.b):i.Math.max(p,w.b+u.b.Mf().b));for(p+=t==ght?-n.t:n.t,Ien((r.e=p,r)),s=f.Kc();s.Ob();)!(u=JR(s.Pb(),117)).c||u.c.d.c.length<=0||((b=u.c.i).c-=u.e.a,b.d-=u.e.b)}}(n,t):Zjn(n,t))}function drn(n){var t;UI(fdn(n,(XEn(),kot)))===UI((nnn(),Est))&&(_X(n)?(t=JR(fdn(_X(n),kot),346),ocn(n,kot,t)):ocn(n,kot,Sst))}function grn(n,t,e){return new kG(i.Math.min(n.a,t.a)-e/2,i.Math.min(n.b,t.b)-e/2,i.Math.abs(n.a-t.a)+e,i.Math.abs(n.b-t.b)+e)}function prn(n){var t;this.d=new Mm,this.j=new zM,this.g=new zM,t=n.g.b,this.f=JR(ghn(dU(t),(LEn(),D4n)),88),this.e=my(z$(Xrn(t,d5n)))}function mrn(n){this.d=new Mm,this.e=new mQ,this.c=tZ(Wdt,GPn,28,($jn(),a8(uM(zht,1),HAn,64,0,[$ht,ght,dht,Nht,Dht])).length,15,1),this.b=n}function vrn(n,t,e){var i;switch(i=e[n.g][t],n.g){case 1:case 3:return new DC(0,i);case 2:case 4:return new DC(i,0);default:return null}}function krn(n,t,e){var i;i=JR(Vq(t.f),205);try{i.rf(n,e),yU(t.f,i)}catch(n){throw sL(n=X5(n),103),Lm(n)}}function yrn(n,t,e){var i,r,c,a;return i=null,(c=ITn(k3(),t))&&(r=null,null!=(a=pTn(c,e))&&(r=n.qf(c,a)),i=r),i}function Mrn(n,t,e,i){var r;if(t>=(r=n.length))return r;for(t=t>0?t:0;ti&&FH(t,i,null),t}function jrn(n,t){var e,i;for(i=n.a.length,t.lengthi&&FH(t,i,null),t}function Ern(n,t){var e,i;++n.j,null!=t&&function(n,t){var e,i,r;if(UI(n)===UI(t))return!0;if(null==n||null==t)return!1;if(n.length!=t.length)return!1;for(e=0;e>24}return e}(vMn(n,!0))))throw Lm(new xy("Invalid hexBinary value: '"+n+"'"));return t}function Prn(n,t,e){var i;t.a.length>0&&(AL(n.b,new ZR(t.a,e)),0<(i=t.a.length)?t.a=Gq(t.a,0,0):0>i&&(t.a+=mL(tZ(Vdt,CPn,28,-i,15,1))))}function Crn(n,t,e){var i;if(!e[t.d])for(e[t.d]=!0,i=new mw(h7(t));i.a=n.b>>1)for(i=n.c,e=n.b;e>t;--e)i=i.b;else for(i=n.a.a,e=0;e=0?n.Wh(r):Lbn(n,i):e<0?Lbn(n,i):JR(i,69).wk().Bk(n,n.hi(),e)}function Brn(n){var t,e;for(!n.o&&(n.o=new TZ((gEn(),Bft),klt,n,0)),t=(e=n.o).c.Kc();t.e!=t.i.gc();)JR(t.Yj(),44).md();return ZY(e)}function Hrn(n){var t;if(sL(n.a,4)){if(null==(t=Gin(n.a)))throw Lm(new Iy(xRn+n.b+"'. "+LRn+(W$(Ilt),Ilt.k)+NRn));return t}return n.a}function Urn(n){var t;try{return t=n.i.Xb(n.e),n.Xj(),n.g=n.e++,t}catch(t){throw sL(t=X5(t),77)?(n.Xj(),Lm(new cv)):Lm(t)}}function Grn(n){var t;try{return t=n.c.Vi(n.e),n.Xj(),n.g=n.e++,t}catch(t){throw sL(t=X5(t),77)?(n.Xj(),Lm(new cv)):Lm(t)}}function qrn(n){var t,e,i,r;for(r=0,e=0,i=n.length;e=64&&t<128&&(r=Uz(r,N_(1,t-64)));return r}function Xrn(n,t){var e,i;return i=null,b$(n,(XEn(),Eut))&&(e=JR(ghn(n,Eut),96)).pf(t)&&(i=e.of(t)),null==i&&dU(n)&&(i=ghn(dU(n),t)),i}function zrn(n,t){var e;return e=JR(ghn(n,(LEn(),o6n)),75),hL(t,ZWn)?e?UG(e):(e=new ek,A8(n,o6n,e)):e&&A8(n,o6n,null),e}function Vrn(){Vrn=E,XEn(),Jzn=yut,qzn=pot,_zn=not,Xzn=Got,Zon(),Wzn=Zqn,Vzn=Jqn,Qzn=tXn,zzn=Qqn,i7(),Hzn=xzn,Bzn=Dzn,Uzn=Kzn,Gzn=Fzn}function Wrn(n){switch(gE(),this.c=new Mm,this.d=n,n.g){case 0:case 2:this.a=xU(GWn),this.b=pCn;break;case 3:case 1:this.a=GWn,this.b=mCn}}function Qrn(n,t,e){var i;if(n.c)_2(n.c,n.c.i+t),B2(n.c,n.c.j+e);else for(i=new mw(n.b);i.a>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24}return QT(a=c[h++])&&QT(o=c[h++])?(t=hdt[a],e=hdt[o],u=c[h++],s=c[h++],-1==hdt[u]||-1==hdt[s]?61==u&&61==s?15&e?null:(ayn(f,0,g=tZ(Ydt,ZKn,28,3*b+1,15,1),0,3*b),g[l]=(t<<2|e>>4)<<24>>24,g):61!=u&&61==s?3&(i=hdt[u])?null:(ayn(f,0,g=tZ(Ydt,ZKn,28,3*b+2,15,1),0,3*b),g[l++]=(t<<2|e>>4)<<24>>24,g[l]=((15&e)<<4|i>>2&15)<<24>>24,g):null:(i=hdt[u],r=hdt[s],f[l++]=(t<<2|e>>4)<<24>>24,f[l++]=((15&e)<<4|i>>2&15)<<24>>24,f[l++]=(i<<6|r)<<24>>24,f)):null}(vMn(n,!0))))throw Lm(new xy("Invalid base64Binary value: '"+n+"'"));return t}function Yrn(n,t){var e;e=n.fd(t);try{return e.Pb()}catch(n){throw sL(n=X5(n),112)?Lm(new jy("Can't get element "+t)):Lm(n)}}function Zrn(n,t){var e,i,r;for(e=n.o,r=JR(JR(RJ(n.r,t),21),87).Kc();r.Ob();)(i=JR(r.Pb(),117)).e.a=non(i,e.a),i.e.b=e.b*my(z$(i.b.of(ozn)))}function ncn(n){var t;return(t=new Yy).a+="n",n.k!=(Yhn(),sQn)&&rO(rO((t.a+="(",t),d$(n.k).toLowerCase()),")"),rO((t.a+="_",t),ton(n)),t.a}function tcn(n,t){var e;switch(e=JR(XU(n.b,t),127).n,t.g){case 1:n.t>=0&&(e.d=n.t);break;case 3:n.t>=0&&(e.a=n.t)}n.C&&(e.b=n.C.b,e.c=n.C.c)}function ecn(){ecn=E,p8n=new CP(dDn,0),w8n=new CP(OLn,1),d8n=new CP("LINEAR_SEGMENTS",2),b8n=new CP("BRANDES_KOEPF",3),g8n=new CP(wDn,4)}function icn(){icn=E,Pzn=new LS(eOn,0),Szn=new LS(iOn,1),Czn=new LS(rOn,2),Izn=new LS(cOn,3),Pzn.a=!1,Szn.a=!0,Czn.a=!1,Izn.a=!0}function rcn(){rcn=E,dzn=new OS(eOn,0),wzn=new OS(iOn,1),gzn=new OS(rOn,2),pzn=new OS(cOn,3),dzn.a=!1,wzn.a=!0,gzn.a=!1,pzn.a=!0}function ccn(n,t,e,i){var r;return e>=0?n.Sh(t,e,i):(n.Ph()&&(i=(r=n.Fh())>=0?n.Ah(i):n.Ph().Th(n,-1-r,null,i)),n.Ch(t,e,i))}function acn(n,t){switch(t){case 7:return!n.e&&(n.e=new yx(tlt,n,7,4)),void ZMn(n.e);case 8:return!n.d&&(n.d=new yx(tlt,n,8,5)),void ZMn(n.d)}Uen(n,t)}function ocn(n,t,e){return null==e?(!n.o&&(n.o=new TZ((gEn(),Bft),klt,n,0)),Kin(n.o,t)):(!n.o&&(n.o=new TZ((gEn(),Bft),klt,n,0)),vun(n.o,t,e)),n}function ucn(n,t){var e,i,r,c;for(eq(),e=n,c=t,sL(n,21)&&!sL(t,21)&&(e=t,c=n),r=e.Kc();r.Ob();)if(i=r.Pb(),c.Hc(i))return!1;return!0}function scn(n,t,e,i){if(t.ae.b)return!0}return!1}function hcn(n,t){return GI(n)?!!uSn[t]:n.Sm?!!n.Sm[t]:XI(n)?!!oSn[t]:!!qI(n)&&!!aSn[t]}function fcn(n,t){var e,r,c;for(c=n,r=new F_(wN(Ftn(t).a.Kc(),new h));Bwn(r);)(e=JR(MJ(r),18)).c.i.c&&(c=i.Math.max(c,e.c.i.c.p));return c}function lcn(n){var t,e,i;if(e=0,0==(i=Kpn(n)).c.length)return 1;for(t=new mw(i);t.a=0?n.Lh(a,e,!0):Gbn(n,c,e):JR(c,69).wk().yk(n,n.hi(),r,e,i)}function gcn(n){var t,e;if(null==n)return null;for(e=tZ(fQn,HSn,199,n.length,0,2),t=0;t=0)return i;if(n.ol())for(e=0;e=(r=n.gc()))throw Lm(new jx(t,r));if(n.Si()&&(i=n.dd(e))>=0&&i!=t)throw Lm(new Cy(_Fn));return n.Xi(t,e)}function kcn(n,t){if(this.a=JR(PH(n),253),this.b=JR(PH(t),253),n.Ed(t)>0||n==(Ok(),gUn)||t==(Ak(),pUn))throw Lm(new Cy("Invalid range: "+VW(n,t)))}function ycn(n){var t,e;for(this.b=new Mm,this.c=n,this.a=!1,e=new mw(n.a);e.a0)for(i=new Vx(JR(RJ(n.a,c),21)),eq(),_A(i,new bd(t)),r=new NV(c.b,0);r.b0),(t&-t)==t)return lX(t*ngn(n,31)*4.656612873077393e-10);do{i=(e=ngn(n,31))%t}while(e-i+(t-1)<0);return lX(i)}function Ocn(n,t,e,i){var r,c;for(r=t;r1&&(r=function(n,t){var e,i,r;for(e=LN(new Mv,n),r=new mw(t);r.a(u=null==n.d?0:n.d.length)){for(h=n.d,n.d=tZ(jlt,F_n,66,2*u+4,0,1),c=0;c102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function Ycn(n,t){if(null==n)throw Lm(new Ay("null key in entry: null="+t));if(null==t)throw Lm(new Ay("null value in entry: "+n+"=null"))}function Zcn(n,t){var e;return e=a8(uM(Zdt,1),jCn,28,15,[d7(n.a[0],t),d7(n.a[1],t),d7(n.a[2],t)]),n.d&&(e[0]=i.Math.max(e[0],e[2]),e[2]=e[0]),e}function nan(n,t){var e;return e=a8(uM(Zdt,1),jCn,28,15,[g7(n.a[0],t),g7(n.a[1],t),g7(n.a[2],t)]),n.d&&(e[0]=i.Math.max(e[0],e[2]),e[2]=e[0]),e}function tan(n,t,e){Lx(JR(ghn(t,(LEn(),q6n)),101))||(nJ(n,t,gfn(t,e)),nJ(n,t,gfn(t,($jn(),Nht))),nJ(n,t,gfn(t,ght)),eq(),_A(t.j,new bg(n)))}function ean(n){var t,e;for(n.c||function(n){var t,e,r,c,a,o;if(c=new NV(n.e,0),r=new NV(n.a,0),n.d)for(e=0;eIDn;){for(a=t,o=0;i.Math.abs(t-a)0),c.a.Xb(c.c=--c.b),uyn(n,n.b-o,a,r,c),J$(c.b0),r.a.Xb(r.c=--r.b)}if(!n.d)for(e=0;e=0){for(u=null,o=new NV(h.a,s+1);o.b0&&s[r]&&(d=VA(n.b,s[r],c)),g=i.Math.max(g,c.c.c.b+d);for(a=new mw(f.e);a.ay)?(s=2,o=wSn):0==s?(s=1,o=T):(s=0,o=T):(b=T>=o||o-T0?(f=JR(bF(l.c.a,a-1),10),j=VA(n.b,l,f),g=l.n.b-l.d.d-(f.n.b+f.o.b+f.d.a+j)):g=l.n.b-l.d.d,s=i.Math.min(g,s),ac&&FH(t,c,null),t}function yan(n,t){var e,i,r;return e=t.ld(),r=t.md(),i=n.xc(e),!(!(UI(r)===UI(i)||null!=r&&Enn(r,i))||null==i&&!n._b(e))}function Man(n,t,e,i){var r,c;this.a=t,this.c=i,function(n,t){n.b=t}(this,new DC(-(r=n.a).c,-r.d)),hx(this.b,e),c=i/2,t.a?E$(this.b,0,c):E$(this.b,c,0),AL(n.c,this)}function Tan(n,t,e,i){var r;this.c=n,this.d=t,vQ(r=new Gj,e,r.c.b,r.c),this.a=r,this.b=JR(ghn(i,(hyn(),Znt)),88),this.e=my(z$(ghn(i,mtt))),HEn(this)}function jan(){jan=E,Vet=new dC(_An,0),Xet=new dC(NLn,1),zet=new dC("EDGE_LENGTH_BY_POSITION",2),qet=new dC("CROSSING_MINIMIZATION_BY_POSITION",3)}function Ean(n,t){var e,i;if(e=JR($2(n.g,t),27))return e;if(i=JR($2(n.j,t),123))return i;throw Lm(new Dy("Referenced shape does not exist: "+t))}function San(n,t){var e;if(sL(t,253)){e=JR(t,253);try{return 0==n.Ed(e)}catch(n){if(sL(n=X5(n),212))return!1;throw Lm(n)}}return!1}function Pan(n,t){if(n.c==t)return n.d;if(n.d==t)return n.c;throw Lm(new Cy("Node 'one' must be either source or target of edge 'edge'."))}function Can(n,t){if(n.c.i==t)return n.d.i;if(n.d.i==t)return n.c.i;throw Lm(new Cy("Node "+t+" is neither source nor target of edge "+n))}function Ian(n,t){var e;switch(t.g){case 2:case 4:e=n.a,n.c.d.n.b0&&(u+=r),s[h]=a,a+=o*(u+i)}function Aan(n){var t,e,i;for(i=n.f,n.n=tZ(Zdt,jCn,28,i,15,1),n.d=tZ(Zdt,jCn,28,i,15,1),t=0;t0?n.c:0),++c;n.b=r,n.d=a}function Fan(n,t){var e;return e=a8(uM(Zdt,1),jCn,28,15,[Ccn(n,(v2(),mXn),t),Ccn(n,vXn,t),Ccn(n,kXn,t)]),n.f&&(e[0]=i.Math.max(e[0],e[2]),e[2]=e[0]),e}function _an(n,t,e){try{tvn(n,t+n.j,e+n.k,!1,!0)}catch(n){throw sL(n=X5(n),77)?Lm(new jy(n.g+fOn+t+mSn+e+").")):Lm(n)}}function Ban(n,t,e){try{tvn(n,t+n.j,e+n.k,!0,!1)}catch(n){throw sL(n=X5(n),77)?Lm(new jy(n.g+fOn+t+mSn+e+").")):Lm(n)}}function Han(n){var t;b$(n,(LEn(),y6n))&&((t=JR(ghn(n,y6n),21)).Hc((ldn(),xst))?(t.Mc(xst),t.Fc(Kst)):t.Hc(Kst)&&(t.Mc(Kst),t.Fc(xst)))}function Uan(n){var t;b$(n,(LEn(),y6n))&&((t=JR(ghn(n,y6n),21)).Hc((ldn(),Ust))?(t.Mc(Ust),t.Fc(Bst)):t.Hc(Bst)&&(t.Mc(Bst),t.Fc(Ust)))}function Gan(n,t,e,i){var r,c,a;return null==n.a&&function(n,t){var e,i,r,c;for(c=t.b.j,n.a=tZ(Wdt,GPn,28,c.c.length,15,1),r=0,i=0;i0&&(c.b+=t),c}function Van(n,t){var e,r,c;for(c=new zM,r=n.Kc();r.Ob();)svn(e=JR(r.Pb(),36),0,c.b),c.b+=e.f.b+t,c.a=i.Math.max(c.a,e.f.a);return c.a>0&&(c.a+=t),c}function Wan(n){var t,e,r;for(r=wSn,e=new mw(n.a);e.a>16==6?n.Cb.Th(n,5,alt,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||n.ii(),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Zan(n){var t,e,r;n.b==n.c&&(r=n.a.length,e=C8(i.Math.max(8,r))<<1,0!=n.b?(S4(n,t=qD(n.a,e),r),n.a=t,n.b=0):hv(n.a,e),n.c=r)}function non(n,t){var e;return(e=n.b).pf((XEn(),iut))?e.ag()==($jn(),Dht)?-e.Mf().a-my(z$(e.of(iut))):t+my(z$(e.of(iut))):e.ag()==($jn(),Dht)?-e.Mf().a:t}function ton(n){var t;return 0!=n.b.c.length&&JR(bF(n.b,0),72).a?JR(bF(n.b,0),72).a:null!=(t=wG(n))?t:""+(n.c?k1(n.c.a,n,0):-1)}function eon(n){var t;return 0!=n.f.c.length&&JR(bF(n.f,0),72).a?JR(bF(n.f,0),72).a:null!=(t=wG(n))?t:""+(n.i?k1(n.i.j,n,0):-1)}function ion(n,t){var e,i;if(t<0||t>=n.gc())return null;for(e=t;e0?n.c:0),c=i.Math.max(c,t.d),++r;n.e=a,n.b=c}function aon(n,t,e,i){return 0==t?i?(!n.o&&(n.o=new TZ((gEn(),Bft),klt,n,0)),n.o):(!n.o&&(n.o=new TZ((gEn(),Bft),klt,n,0)),ZY(n.o)):dcn(n,t,e,i)}function oon(n){var t,e;if(n.rb)for(t=0,e=n.rb.i;t>22))>>22)<0||(n.l=e&aCn,n.m=i&aCn,n.h=r&oCn,0)))}function hon(n,t,e,i,r,c,a){var o,u;return!(t.Te()&&(u=n.a.Ne(e,i),u<0||!r&&0==u)||t.Ue()&&(o=n.a.Ne(e,c),o>0||!a&&0==o))}function fon(n,t,e){var i,r;return k7(r=new bk,t),H4(r,e),bZ((!n.c&&(n.c=new aB(bbt,n,12,10)),n.c),r),X2(i=r,0),z2(i,1),Nnn(i,!0),Onn(i,!0),i}function lon(n,t){var e,i;if(t>=n.i)throw Lm(new jO(t,n.i));return++n.j,e=n.g[t],(i=n.i-t-1)>0&&ayn(n.g,t+1,n.g,t,i),FH(n.g,--n.i,null),n.Qi(t,e),n.Ni(),e}function bon(n,t){var e;return n.Db>>16==17?n.Cb.Th(n,21,cbt,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||n.ii(),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function won(n){var t,e,i,r,c;for(r=wSn,c=null,i=new mw(n.d);i.ae.a.c.length))throw Lm(new Cy("index must be >= 0 and <= layer node count"));n.c&&g1(n.c.a,n),n.c=e,e&&ZF(e.a,t,n)}function jon(n,t){var e,i,r;for(i=new F_(wN(Ktn(n).a.Kc(),new h));Bwn(i);)return e=JR(MJ(i),18),new Bl(PH((r=JR(t.Kb(e),10)).n.b+r.o.b/2));return Ik(),Ik(),uUn}function Eon(n,t){this.c=new ym,this.a=n,this.b=t,this.d=JR(ghn(n,(qEn(),w0n)),312),UI(ghn(n,(LEn(),M6n)))===UI((YZ(),SZn))?this.e=new _v:this.e=new Fv}function Son(n,t){var e,i;return i=null,n.pf((XEn(),Eut))&&(e=JR(n.of(Eut),96)).pf(t)&&(i=e.of(t)),null==i&&n.Tf()&&(i=n.Tf().of(t)),null==i&&(i=Hrn(t)),i}function Pon(n,t){var e,i;e=n.fd(t);try{return i=e.Pb(),e.Qb(),i}catch(n){throw sL(n=X5(n),112)?Lm(new jy("Can't remove element "+t)):Lm(n)}}function Con(n,t){var e,i,r;for(TU(t),Q$(t!=n),r=n.b.c.length,i=t.Kc();i.Ob();)e=i.Pb(),AL(n.b,TU(e));return r!=n.b.c.length&&(D9(n,0),!0)}function Ion(){Ion=E,XEn(),tWn=Eot,new EA(lot,(UN(),!0)),rWn=Dot,cWn=Kot,aWn=_ot,iWn=Not,oWn=Uot,uWn=uut,don(),nWn=WVn,YVn=XVn,ZVn=VVn,eWn=QVn,JVn=qVn}function Oon(n,t,e,i){var r,c,a;for(uz(t,JR(i.Xb(0),30)),a=i.kd(1,i.gc()),c=JR(e.Kb(t),20).Kc();c.Ob();)Oon(n,(r=JR(c.Pb(),18)).c.i==t?r.d.i:r.c.i,e,a)}function Aon(n){var t;return t=new ym,b$(n,(qEn(),v0n))?JR(ghn(n,v0n),85):(Yj(oG(new PF(null,new Kz(n.j,16)),new tr),new Gd(t)),A8(n,v0n,t),t)}function Lon(n,t){var e,r,c,a,o;for(r=0,c=0,e=0,o=new mw(n);o.a0?t:0),++e;return new DC(r,c)}function Non(n,t){var e;return n.Db>>16==6?n.Cb.Th(n,6,tlt,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(gEn(),xft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function $on(n,t){var e;return n.Db>>16==7?n.Cb.Th(n,1,Yft,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(gEn(),Kft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Don(n,t){var e;return n.Db>>16==9?n.Cb.Th(n,9,ult,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(gEn(),_ft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function xon(n,t){var e;return n.Db>>16==5?n.Cb.Th(n,9,sbt,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(JEn(),Ebt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Ron(n,t){var e;return n.Db>>16==7?n.Cb.Th(n,6,alt,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(JEn(),$bt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Kon(n,t){var e;return n.Db>>16==3?n.Cb.Th(n,0,ilt,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(JEn(),mbt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Fon(){this.a=new ss,this.g=new _cn,this.j=new _cn,this.b=new ym,this.d=new _cn,this.i=new _cn,this.k=new ym,this.c=new ym,this.e=new ym,this.f=new ym}function _on(n,t,e){var i,r,c;for(e<0&&(e=0),c=n.i,r=e;rECn)return Bon(n,i);if(i==n)return!0}}return!1}function Hon(n,t){var e,r,c;for(g1(n.a,t),n.e-=t.r+(0==n.a.c.length?0:n.c),c=uxn,r=new mw(n.a);r.a>16==3?n.Cb.Th(n,12,ult,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(gEn(),Dft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Gon(n,t){var e;return n.Db>>16==11?n.Cb.Th(n,10,ult,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(gEn(),Fft),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function qon(n,t){var e;return n.Db>>16==10?n.Cb.Th(n,11,cbt,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(JEn(),Lbt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function Xon(n,t){var e;return n.Db>>16==10?n.Cb.Th(n,12,lbt,t):(e=Rcn(JR(F0(JR(s5(n,16),29)||(JEn(),Dbt),n.Db>>16),19)),n.Cb.Th(n,e.n,e.f,t))}function zon(n){var t;return 1&n.Bb||!n.r||!n.r.Vh()||(t=JR(n.r,54),n.r=JR(X7(n,t),142),n.r!=t&&4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,9,8,t,n.r))),n.r}function Von(n,t,e){var r;return r=a8(uM(Zdt,1),jCn,28,15,[ihn(n,(v2(),mXn),t,e),ihn(n,vXn,t,e),ihn(n,kXn,t,e)]),n.f&&(r[0]=i.Math.max(r[0],r[2]),r[2]=r[0]),r}function Won(n,t){var e,i,r;if(0!=(r=function(n,t){var e,i,r;for(r=new dY(t.gc()),i=t.Kc();i.Ob();)(e=JR(i.Pb(),293)).c==e.f?_fn(n,e,e.c):$fn(n,e)||Km(r.c,e);return r}(n,t)).c.length)for(_A(r,new ti),e=r.c.length,i=0;i>19)!=(o=t.h>>19)?o-a:(i=n.h)!=(c=t.h)?i-c:(e=n.m)!=(r=t.m)?e-r:n.l-t.l}function Zon(){Zon=E,jmn(),tXn=new EO(IIn,eXn=sXn),I0(),Zqn=new EO(OIn,nXn=zqn),Drn(),Jqn=new EO(AIn,Yqn=Uqn),Qqn=new EO(LIn,(UN(),!0))}function nun(n,t,e){var i,r;i=t*e,sL(n.g,154)?(r=IW(n)).f.d?r.f.a||(n.d.a+=i+VIn):(n.d.d-=i+VIn,n.d.a+=i+VIn):sL(n.g,10)&&(n.d.d-=i,n.d.a+=2*i)}function tun(n,t,e){var r,c,a,o,u;for(c=n[e.g],u=new mw(t.d);u.a0?n.b:0),++e;t.b=r,t.e=c}function iun(n){var t,e,i;if(i=n.b,Kj(n.i,i.length)){for(e=2*i.length,n.b=tZ(MUn,oPn,303,e,0,1),n.c=tZ(MUn,oPn,303,e,0,1),n.f=e-1,n.i=0,t=n.a;t;t=t.c)tbn(n,t,t);++n.g}}function run(n,t){return n.b.a=i.Math.min(n.b.a,t.c),n.b.b=i.Math.min(n.b.b,t.d),n.a.a=i.Math.max(n.a.a,t.c),n.a.b=i.Math.max(n.a.b,t.d),Km(n.c,t),!0}function cun(n,t,e){var i;(i=t.c.i).k==(Yhn(),uQn)?(A8(n,(qEn(),z1n),JR(ghn(i,z1n),12)),A8(n,V1n,JR(ghn(i,V1n),12))):(A8(n,(qEn(),z1n),t.c),A8(n,V1n,e.d))}function aun(n,t,e){var r,c,a,o,u,s;return Jpn(),o=t/2,a=e/2,u=1,s=1,(r=i.Math.abs(n.a))>o&&(u=o/r),(c=i.Math.abs(n.b))>a&&(s=a/c),OL(n,i.Math.min(u,s)),n}function oun(){Cj.call(this),this.e=-1,this.a=!1,this.p=vPn,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=vPn}function uun(){uun=E,wWn=m_(eF(eF(eF(new OU,(phn(),kWn),(zEn(),tJn)),kWn,cJn),yWn,lJn),yWn,UQn),gWn=eF(eF(new OU,kWn,NQn),kWn,GQn),dWn=m_(new OU,yWn,XQn)}function sun(n,t){var e,i,r,c;for(c=new ym,t.e=null,t.f=null,i=new mw(t.i);i.a0)try{i=ckn(t,vPn,wSn)}catch(n){throw sL(n=X5(n),130)?Lm(new j1(n)):Lm(n)}return!n.a&&(n.a=new wm(n)),i<(e=n.a).i&&i>=0?JR(d2(e,i),58):null}(n,0==(r=t.c.length)?"":(xz(0,t.c.length),V$(t.c[0]))),i=1;i0&&(r=qbn(n,(c&wSn)%n.d.length,c,t))?r.nd(e):(i=n.ck(c,t,e),n.c.Fc(i),null)}function kun(n,t){var e,i,r,c;switch(knn(n,t).Kl()){case 3:case 2:for(r=0,c=(e=fMn(t)).i;r=0?t:-t;i>0;)i%2==0?(e*=e,i=i/2|0):(r*=e,i-=1);return t<0?1/r:r}(n,n)/q7(2.718281828459045,n))}function Mun(n,t){var e;if(n.Yi()&&null!=t){for(e=0;e0&&(n.b+=2,n.a+=r):(n.b+=1,n.a+=i.Math.min(r,c))}function Cun(n){var t;t=JR(ghn(JR(Yrn(n.b,0),40),(hyn(),ftt)),107),A8(n,(Ojn(),wnt),new DC(0,0)),Wvn(new fY,n,t.b+t.c-my(z$(ghn(n,ynt))),t.d+t.a-my(z$(ghn(n,Tnt))))}function Iun(n,t){var e;if(e=!1,GI(t)&&(e=!0,XH(n,new CH(V$(t)))),e||sL(t,242)&&(e=!0,XH(n,new Eb(qx(JR(t,242))))),!e)throw Lm(new Sy(MFn))}function Oun(n){var t,e;switch(JR(ghn(dU(n),(LEn(),a6n)),429).g){case 0:return t=n.n,e=n.o,new DC(t.a+e.a/2,t.b+e.b/2);case 1:return new JO(n.n);default:return null}}function Aun(){Aun=E,NZn=new mP(_An,0),LZn=new mP("LEFTUP",1),DZn=new mP("RIGHTUP",2),AZn=new mP("LEFTDOWN",3),$Zn=new mP("RIGHTDOWN",4),OZn=new mP("BALANCED",5)}function Lun(n,t,e){switch(t){case 1:return!n.n&&(n.n=new aB(olt,n,1,7)),ZMn(n.n),!n.n&&(n.n=new aB(olt,n,1,7)),void oH(n.n,JR(e,16));case 2:return void J3(n,V$(e))}d9(n,t,e)}function Nun(n,t,e){switch(t){case 3:return void K2(n,my(z$(e)));case 4:return void F2(n,my(z$(e)));case 5:return void _2(n,my(z$(e)));case 6:return void B2(n,my(z$(e)))}Lun(n,t,e)}function $un(n,t,e){var i,r;(i=Qsn(r=new bk,t,null))&&i.oj(),H4(r,e),bZ((!n.c&&(n.c=new aB(bbt,n,12,10)),n.c),r),X2(r,0),z2(r,1),Nnn(r,!0),Onn(r,!0)}function Dun(n,t){var e,i;return sL(e=aS(n.i,t),241)?((i=JR(e,241)).zi(),i.wi()):sL(e,507)?i=JR(e,2037).b:null}function xun(n,t,e,i){var r,c;return PH(t),PH(e),$1(!!(c=JR(Gx(n.d,t),17)),"Row %s not in %s",t,n.e),$1(!!(r=JR(Gx(n.b,e),17)),"Column %s not in %s",e,n.c),c8(n,c.a,r.a,i)}function Run(n,t,e,i,r,c,a){var o,u,s,h,f;if(f=Dan(o=(s=c==a-1)?i:0,h=r[c]),10!=i&&a8(uM(n,a-c),t[c],e[c],o,f),!s)for(++c,u=0;u1||-1==o?(c=JR(u,15),r.Wb(function(n,t){var e,i,r;for(i=new dY(t.gc()),e=t.Kc();e.Ob();)(r=Zvn(n,JR(e.Pb(),58)))&&Km(i.c,r);return i}(n,c))):r.Wb(Zvn(n,JR(u,58))))}function Wun(n,t){var e,i,r;for(r=new ow(new tw(n.b).a.vc().Kc());r.a.Ob();)if(e=JR(r.a.Pb(),44),i=JR(e.ld(),34),RO(t,JR(i,17))<0)return!1;return!0}function Qun(n,t){var e,i,r;for(r=new ow(new tw(n.b).a.vc().Kc());r.a.Ob();)if(e=JR(r.a.Pb(),44),i=JR(e.ld(),34),RO(t,JR(i,17))>0)return!1;return!0}function Jun(n){switch(JR(ghn(n.b,(LEn(),q4n)),387).g){case 1:Yj(uG(r0(new PF(null,new Kz(n.d,16)),new Vr),new Wr),new Qr);break;case 2:!function(n){var t,e,i,r,c,a,o;for(i=0,o=0,a=new mw(n.d);a.a=n.f)break;Km(c.c,e)}return c}function usn(n,t){var e,i,r;for(i=new mw(t.a);i.a0&&gon(this,this.c-1,($jn(),dht)),this.c0&&n[0].length>0&&(this.c=py(X$(ghn(dU(n[0][0]),(qEn(),U1n))))),this.a=tZ(A9n,HSn,2117,n.length,0,2),this.b=tZ(R9n,HSn,2118,n.length,0,2),this.d=new P7}function msn(n){return 0!=n.c.length&&((xz(0,n.c.length),JR(n.c[0],18)).c.i.k==(Yhn(),uQn)||uJ(uG(new PF(null,new Kz(n,16)),new xc),new Rc))}function vsn(n,t){var e,r,c,a,o,u;for(o=Kpn(t),c=t.f,u=t.g,a=i.Math.sqrt(c*c+u*u),r=0,e=new mw(o);e.a=0?(e=Tun(n,fCn),i=ein(n,fCn)):(e=Tun(t=D_(n,1),5e8),i=Atn(N_(i=ein(t,5e8),1),Hz(n,1))),Uz(N_(i,32),Hz(e,PCn))}function Lsn(n,t,e){var i;switch(J$(0!=t.b),i=JR(c2(t,t.a.a),8),e.g){case 0:i.b=0;break;case 2:i.b=n.f;break;case 3:i.a=0;break;default:i.a=n.g}return ZB($rn(t,0),i),t}function Nsn(n,t,e,i){var r,c,a,o,u;switch(u=n.b,o=vrn(a=(c=t.d).j,u.d[a.g],e),r=hx(cL(c.n),c.a),c.j.g){case 1:case 3:o.a+=r.a;break;case 2:case 4:o.b+=r.b}vQ(i,o,i.c.b,i.c)}function $sn(n,t,e){var i,r,c,a;for(a=k1(n.e,t,0),(c=new xv).b=e,i=new NV(n.e,a);i.b=0;t--)uqn[t]=i,i*=.5;for(e=1,n=24;n>=0;n--)oqn[n]=e,e*=.5}function xsn(n){var t,e;if(py(X$(fdn(n,(LEn(),i6n)))))for(e=new F_(wN(Jdn(n).a.Kc(),new h));Bwn(e);)if(Dbn(t=JR(MJ(e),74))&&py(X$(fdn(t,r6n))))return!0;return!1}function Rsn(n,t){var e,i,r;NB(n.f,t)&&(t.b=n,i=t.c,-1!=k1(n.j,i,0)||AL(n.j,i),r=t.d,-1!=k1(n.j,r,0)||AL(n.j,r),0!=(e=t.a.b).c.length&&(!n.i&&(n.i=new prn(n)),function(n,t){var e,i;for(i=new mw(t);i.a0&&ayn(n.g,t,n.g,t+i,o),a=e.Kc(),n.i+=i,r=0;r=MCn?(t=TCn+(n-MCn>>10&1023)&OPn,e=56320+(n-MCn&1023)&OPn,String.fromCharCode(t)+""+String.fromCharCode(e)):String.fromCharCode(n&OPn)}function nhn(n,t,e,i,r){var c,a,o;for(c=_pn(n,t,e,i,r),o=!1;!c;)jdn(n,r,!0),o=!0,c=_pn(n,t,e,i,r);o&&jdn(n,r,!1),0!=(a=w8(r)).c.length&&(n.d&&n.d.Gg(a),nhn(n,r,e,i,a))}function thn(){thn=E,bst=new UC(_An,0),fst=new UC("DIRECTED",1),wst=new UC("UNDIRECTED",2),sst=new UC("ASSOCIATION",3),lst=new UC("GENERALIZATION",4),hst=new UC("DEPENDENCY",5)}function ehn(n,t){var e,i;for(TU(t),i=n.b.c.length,AL(n.b,t);i>0;){if(e=i,i=(i-1)/2|0,n.a.Ne(bF(n.b,i),t)<=0)return ZQ(n.b,e,t),!0;ZQ(n.b,e,bF(n.b,i))}return ZQ(n.b,i,t),!0}function ihn(n,t,e,r){var c,a;if(c=0,e)c=g7(n.a[e.g][t.g],r);else for(a=0;a=a)}function chn(n){switch(n.g){case 0:return new Uo;case 1:return new qo;default:throw Lm(new Cy("No implementation is available for the width approximator "+(null!=n.f?n.f:""+n.g)))}}function ahn(n,t,e,i){var r;if(r=!1,GI(i)&&(r=!0,DK(t,e,V$(i))),r||qI(i)&&(r=!0,ahn(n,t,e,i)),r||sL(i,242)&&(r=!0,hq(t,e,JR(i,242))),!r)throw Lm(new Sy(MFn))}function ohn(n,t){var e,i,r,c;if(TU(t),(c=n.a.gc())=IPn?"error":"warn",n.a),n.b&&Bgn(t,e,n.b,"Exception: ",!0))}function ghn(n,t){var e,i;return!n.q&&(n.q=new ym),null!=(i=RH(n.q,t))?i:(sL(e=t.Sg(),4)&&(null==e?(!n.q&&(n.q=new ym),qJ(n.q,t)):(!n.q&&(n.q=new ym),DU(n.q,t,e))),e)}function phn(){phn=E,pWn=new xS("P1_CYCLE_BREAKING",0),mWn=new xS("P2_LAYERING",1),vWn=new xS("P3_NODE_ORDERING",2),kWn=new xS("P4_NODE_PLACEMENT",3),yWn=new xS("P5_EDGE_ROUTING",4)}function mhn(n,t){var e;if(L0(),n.c==t.c){if(n.b==t.b||function(n,t){return s8(),n==NWn&&t==xWn||n==xWn&&t==NWn||n==DWn&&t==$Wn||n==$Wn&&t==DWn}(n.b,t.b)){if(e=function(n){return n==NWn||n==xWn}(n.b)?1:-1,n.a&&!t.a)return e;if(!n.a&&t.a)return-e}return GA(n.b.g,t.b.g)}return wtn(n.c,t.c)}function vhn(n,t){var e,i;if(Ihn(n,t))return!0;for(i=new mw(t);i.a=(r=n.Ej())||t<0)throw Lm(new jy(BFn+t+HFn+r));if(e>=r||e<0)throw Lm(new jy(UFn+e+HFn+r));return t!=e?(c=n.Cj(e),n.qj(t,c),i=c):i=n.xj(e),i}function Phn(n){var t,e,i;if(i=n,n)for(t=0,e=n.Eh();e;e=e.Eh()){if(++t>ECn)return Phn(e);if(i=e,e==n)throw Lm(new Iy("There is a cycle in the containment hierarchy of "+n))}return i}function Chn(n){var t,e,i;for(i=new j5(mSn,"[","]"),e=n.Kc();e.Ob();)GJ(i,UI(t=e.Pb())===UI(n)?"(this Collection)":null==t?jSn:Qtn(t));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Ihn(n,t){var e,i;if(i=!1,t.gc()<2)return!1;for(e=0;e1&&(n.j.b+=n.e)):(n.j.a+=e.a,n.j.b=i.Math.max(n.j.b,e.b),n.d.c.length>1&&(n.j.a+=n.e))}function Nhn(){Nhn=E,dYn=a8(uM(zht,1),HAn,64,0,[($jn(),ght),dht,Nht]),wYn=a8(uM(zht,1),HAn,64,0,[dht,Nht,Dht]),gYn=a8(uM(zht,1),HAn,64,0,[Nht,Dht,ght]),pYn=a8(uM(zht,1),HAn,64,0,[Dht,ght,dht])}function $hn(n,t,e,i){var r,c,a,o,u;if(c=n.c.d,a=n.d.d,c.j!=a.j)for(u=n.b,r=c.j,o=null;r!=a.j;)o=0==t?ntn(r):Ynn(r),HK(i,hx(vrn(r,u.d[r.g],e),vrn(o,u.d[o.g],e))),r=o}function Dhn(n,t,e,i){var r,c,a,o,u;return o=JR((a=mon(n.a,t,e)).a,17).a,c=JR(a.b,17).a,i&&(u=JR(ghn(t,(qEn(),a0n)),10),r=JR(ghn(e,a0n),10),u&&r&&(UW(n.b,u,r),o+=n.b.i,c+=n.b.e)),o>c}function xhn(n){var t,e,i,r,c,a,o,u;for(this.a=gcn(n),this.b=new Mm,i=0,r=(e=n).length;i0&&(n.a[U.p]=Y++)}for(rn=0,$=0,R=(A=e).length;$0;){for(J$(z.b>0),X=0,u=new mw((U=JR(z.a.Xb(z.c=--z.b),12)).e);u.a0&&(U.j==($jn(),ght)?(n.a[U.p]=rn,++rn):(n.a[U.p]=rn+K+_,++_))}rn+=_}for(q=new ym,d=new qO,L=0,D=(I=t).length;Lh.b&&(h.b=V)):U.i.c==J&&(Vh.c&&(h.c=V));for(RZ(g,0,g.length,null),en=tZ(Wdt,GPn,28,g.length,15,1),r=tZ(Wdt,GPn,28,rn+1,15,1),m=0;m0;)j%2>0&&(c+=on[j+1]),++on[j=(j-1)/2|0];for(S=tZ(z9n,kSn,374,2*g.length,0,1),y=0;ydD(n.d).c?(n.i+=n.g.c,cin(n.d)):dD(n.d).c>dD(n.g).c?(n.e+=n.d.c,cin(n.g)):(n.i+=NF(n.g),n.e+=NF(n.d),cin(n.g),cin(n.d))}function Bhn(n,t,e,r){n.a.d=i.Math.min(t,e),n.a.a=i.Math.max(t,r)-n.a.d,tu&&(s=u/r),(c=i.Math.abs(t.b-n.b))>a&&(h=a/c),o=i.Math.min(s,h),n.a+=o*(t.a-n.a),n.b+=o*(t.b-n.b)}function zhn(n,t,e,i,r){var c,a;for(a=!1,c=JR(bF(e.b,0),27);Nyn(n,t,c,i,r)&&(a=!0,Gun(e,c),0!=e.b.c.length);)c=JR(bF(e.b,0),27);return 0==e.b.c.length&&Hon(e.j,e),a&&Kan(t.q),a}function Vhn(n,t){var e,i,r,c;if(Jpn(),t.b<2)return!1;for(i=e=JR(kW(c=$rn(t,0)),8);c.b!=c.d.c;){if(Tgn(n,i,r=JR(kW(c),8)))return!0;i=r}return!!Tgn(n,i,e)}function Whn(n,t,e,i){return 0==e?(!n.o&&(n.o=new TZ((gEn(),Bft),klt,n,0)),Bx(n.o,t,i)):JR(F0(JR(s5(n,16),29)||n.ii(),e),69).wk().Ak(n,qin(n),e-DH(n.ii()),t,i)}function Qhn(n,t){var e;t!=n.sb?(e=null,n.sb&&(e=JR(n.sb,54).Th(n,1,rlt,e)),t&&(e=JR(t,54).Rh(n,1,rlt,e)),(e=mnn(n,t,e))&&e.oj()):4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,4,t,t))}function Jhn(n,t){var e,i;i=JR(ghn(t,(LEn(),q6n)),101),A8(t,(qEn(),i0n),i),(e=t.e)&&(Yj(new PF(null,new Kz(e.a,16)),new fd(n)),Yj(r0(new PF(null,new Kz(e.b,16)),new dt),new ld(n)))}function Yhn(){Yhn=E,sQn=new _S("NORMAL",0),uQn=new _S("LONG_EDGE",1),aQn=new _S("EXTERNAL_PORT",2),hQn=new _S("NORTH_SOUTH_PORT",3),oQn=new _S("LABEL",4),cQn=new _S("BREAKING_POINT",5)}function Zhn(n,t){var e,i,r;return(t&=63)<22?(e=n.l<>22-t,r=n.h<>22-t):t<44?(e=0,i=n.l<>44-t):(e=0,i=0,r=n.l<n)throw Lm(new Cy("k must be smaller than n"));return 0==t||t==n?1:0==n?0:yun(n)/(yun(t)*yun(n-t))}function rfn(n,t){var e,i,r,c;for(e=new pA(n);null!=e.g||e.c?null==e.g||0!=e.i&&JR(e.g[e.i-1],51).Ob():DX(e);)if(sL(c=JR(qdn(e),58),167))for(i=JR(c,167),r=0;r0&&pvn(n,e,t),r):function(n,t,e){var i,r,c;return i=n.c[t.c.p][t.p],r=n.c[e.c.p][e.p],null!=i.a&&null!=r.a?((c=R_(i.a,r.a))<0?pvn(n,t,e):c>0&&pvn(n,e,t),c):null!=i.a?(pvn(n,t,e),-1):null!=r.a?(pvn(n,e,t),1):0}(n,t,e)}function vfn(){vfn=E,XEn(),xet=but,Uet=Out,Iet=Dot,Oet=Kot,Aet=_ot,Cet=Not,Let=Uot,Det=uut,Ivn(),Set=set,Pet=het,Ket=pet,Bet=ket,Fet=met,_et=vet,Net=bet,$et=det,Ret=get,Het=yet,Get=Tet,Eet=uet}function kfn(n,t){var e,i,r,c,a;if(n.e<=t)return n.g;if(function(n,t,e){var i;return(i=sMn(n,t,!1)).b<=t&&i.a<=e}(n,n.g,t))return n.g;for(c=n.r,i=n.g,a=n.r,r=(c-i)/2+i;i+11&&(n.e.b+=n.a)):(n.e.a+=e.a,n.e.b=i.Math.max(n.e.b,e.b),n.d.c.length>1&&(n.e.a+=n.a))}function Sfn(n){var t,e,i,r;switch(t=(r=n.i).b,i=r.j,e=r.g,r.a.g){case 0:e.a=(n.g.b.o.a-i.a)/2;break;case 1:e.a=t.d.n.a+t.d.a.a;break;case 2:e.a=t.d.n.a+t.d.a.a-i.a;break;case 3:e.b=t.d.n.b+t.d.a.b}}function Pfn(n,t,e,i,r){if(ii&&(n.a=i),n.br&&(n.b=r),n}function Cfn(n){if(sL(n,143))return function(n){var t,e,i,r,c;return c=Usn(n),null!=n.a&&DK(c,"category",n.a),!WT(new tw(n.d))&&(R0(c,"knownOptions",i=new Pb),t=new qp(i),QQ(new tw(n.d),t)),!WT(n.g)&&(R0(c,"supportedFeatures",r=new Pb),e=new Xp(r),QQ(n.g,e)),c}(JR(n,143));if(sL(n,233))return function(n){var t,e,i;return i=Usn(n),!WT(n.c)&&(R0(i,"knownLayouters",e=new Pb),t=new zp(e),QQ(n.c,t)),i}(JR(n,233));if(sL(n,23))return function(n){var t,e,i;return i=Usn(n),null!=n.e&&DK(i,$Fn,n.e),!!n.k&&DK(i,"type",d$(n.k)),!WT(n.j)&&(e=new Pb,R0(i,wFn,e),t=new Vp(e),QQ(n.j,t)),i}(JR(n,23));throw Lm(new Cy(EFn+Chn(new Ky(a8(uM(sUn,1),kSn,1,5,[n])))))}function Ifn(n,t,e,i){var r,c;if(t.k==(Yhn(),uQn))for(c=new F_(wN(Ftn(t).a.Kc(),new h));Bwn(c);)if((r=JR(MJ(c),18)).c.i.k==uQn&&n.c.a[r.c.i.c.p]==i&&n.c.a[t.c.p]==e)return!0;return!1}function Ofn(n,t,e,i){var r;this.b=i,this.e=n==(g3(),D9n),r=t[e],this.d=dF(Qdt,[HSn,xIn],[183,28],16,[r.length,r.length],2),this.a=dF(Wdt,[HSn,GPn],[53,28],15,[r.length,r.length],2),this.c=new gsn(t,e)}function Afn(n){var t,e,i;for(n.k=new Cz(($jn(),a8(uM(zht,1),HAn,64,0,[$ht,ght,dht,Nht,Dht])).length,n.j.c.length),i=new mw(n.j);i.a=e)return _fn(n,t,i.p),!0;return!1}function Dfn(n,t,e,i){var r,c,a,o,u,s;for(a=e.length,c=0,r=-1,s=h0((Rz(t,n.length+1),n.substr(t)),(nR(),tqn)),o=0;oc&&jB(s,h0(e[o],tqn))&&(r=o,c=u);return r>=0&&(i[0]=t+c),r}function xfn(n){var t;return 64&n.Db?cfn(n):(t=new kN($Kn),!n.a||rO(rO((t.a+=' "',t),n.a),'"'),rO(bT(rO(bT(rO(bT(rO(bT((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function Rfn(n,t,e){var i,r,c,a,o;for(o=ipn(n.e.Dh(),t),r=JR(n.g,124),i=0,a=0;a0&&Hfn(n,c,e));t.p=0}function Ufn(n){var t;this.c=new Gj,this.f=n.e,this.e=n.d,this.i=n.g,this.d=n.c,this.b=n.b,this.k=n.j,this.a=n.a,n.i?this.j=n.i:this.j=new Wx(t=JR(rT(pat),9),JR(qD(t,t.length),9),0),this.g=n.f}function Gfn(n,t,e){var i,r,c;if(!(e<=t+2))for(r=(e-t)/2|0,i=0;i=0?n.ki(r):cbn(n,i)}else Snn(n,e,i)}function Vfn(n){var t,e;if(e=null,t=!1,sL(n,211)&&(t=!0,e=JR(n,211).a),t||sL(n,263)&&(t=!0,e=""+JR(n,263).a),t||sL(n,493)&&(t=!0,e=""+JR(n,493).a),!t)throw Lm(new Sy(MFn));return e}function Wfn(n,t,e){var i,r,c,a,o,u;for(u=ipn(n.e.Dh(),t),i=0,o=n.i,r=JR(n.g,124),a=0;a=n.d.b.c.length&&((t=new GH(n.d)).p=i.p-1,AL(n.d.b,t),(e=new GH(n.d)).p=i.p,AL(n.d.b,e)),uz(i,JR(bF(n.d.b,i.p),30))}function cln(n,t,e){var i,r,c;if(!n.b[t.g]){for(n.b[t.g]=!0,!(i=e)&&(i=new fY),HK(i.b,t),c=n.a[t.g].Kc();c.Ob();)(r=JR(c.Pb(),65)).b!=t&&cln(n,r.b,i),r.c!=t&&cln(n,r.c,i),HK(i.a,r);return i}return null}function aln(n,t){var e;return 0!=n.c.length&&(e=Wen((xz(0,n.c.length),JR(n.c[0],18)).c.i),ez(),e==(jcn(),u8n)||e==o8n||uJ(uG(new PF(null,new Kz(n,16)),new Kc),new Ag(t)))}function oln(n,t){if(sL(t,207))return function(n,t){return L3(yH(n.g),t)}(n,JR(t,27));if(sL(t,193))return function(n,t){return L3(yH(n.j),t)}(n,JR(t,123));if(sL(t,452))return function(n,t){return L3(yH(n.d),t)}(n,JR(t,166));throw Lm(new Cy(EFn+Chn(new Ky(a8(uM(sUn,1),kSn,1,5,[t])))))}function uln(n,t,e){var i,r;if(this.f=n,_J(e,r=(i=JR(RH(n.b,t),260))?i.a:0),e>=(r/2|0))for(this.e=i?i.c:null,this.d=r;e++0;)l0(this);this.b=t,this.a=null}function sln(n,t){var e,i;t.a?function(n,t){var e;if(!$B(n.b,t.b))throw Lm(new Iy("Invalid hitboxes for scanline constraint calculation."));(Q5(t.b,JR(function(n,t){return n.a.Yc(t)}(n.b,t.b),60))||Q5(t.b,JR(function(n,t){return n.a.Xc(t)}(n.b,t.b),60)))&&(qj(),String.fromCharCode(10)),n.a[t.b.f]=JR(nE(n.b,t.b),60),(e=JR(Zj(n.b,t.b),60))&&(n.a[e.f]=t.b)}(n,t):(!!(e=JR(nE(n.b,t.b),60))&&e==n.a[t.b.f]&&!!e.a&&e.a!=t.b.a&&e.c.Fc(t.b),!!(i=JR(Zj(n.b,t.b),60))&&n.a[i.f]==t.b&&!!i.a&&i.a!=t.b.a&&t.b.c.Fc(i),PL(n.b,t.b))}function hln(n,t){var e,i;if(e=JR(XU(n.b,t),127),JR(JR(RJ(n.r,t),21),87).dc())return e.n.b=0,void(e.n.c=0);e.n.b=n.C.b,e.n.c=n.C.c,n.A.Hc((hin(),Xht))&&Hmn(n,t),i=function(n,t){var e,i,r;for(r=0,i=JR(JR(RJ(n.r,t),21),87).Kc();i.Ob();)r+=(e=JR(i.Pb(),117)).d.b+e.b.Mf().a+e.d.c,i.Ob()&&(r+=n.w);return r}(n,t),cmn(n,t)==(Frn(),Vst)&&(i+=2*n.w),e.a.a=i}function fln(n,t){var e,i;if(e=JR(XU(n.b,t),127),JR(JR(RJ(n.r,t),21),87).dc())return e.n.d=0,void(e.n.a=0);e.n.d=n.C.d,e.n.a=n.C.a,n.A.Hc((hin(),Xht))&&Umn(n,t),i=function(n,t){var e,i,r;for(r=0,i=JR(JR(RJ(n.r,t),21),87).Kc();i.Ob();)r+=(e=JR(i.Pb(),117)).d.d+e.b.Mf().b+e.d.a,i.Ob()&&(r+=n.w);return r}(n,t),cmn(n,t)==(Frn(),Vst)&&(i+=2*n.w),e.a.b=i}function lln(n,t){var e,i,r,c;for(c=new Mm,i=new mw(t);i.ai&&(Rz(t-1,n.length),n.charCodeAt(t-1)<=32);)--t;return i>0||te.a&&(i.Hc((Yun(),Uat))?r=(t.a-e.a)/2:i.Hc(qat)&&(r=t.a-e.a)),t.b>e.b&&(i.Hc((Yun(),zat))?c=(t.b-e.b)/2:i.Hc(Xat)&&(c=t.b-e.b)),fhn(n,r,c)}function Lln(n,t,e,i,r,c,a,o,u,s,h,f,l){sL(n.Cb,90)&&Gln(fJ(JR(n.Cb,90)),4),H4(n,e),n.f=a,ctn(n,o),otn(n,u),rtn(n,s),atn(n,h),Nnn(n,f),Ctn(n,l),Onn(n,!0),X2(n,r),n.Zk(c),k7(n,t),null!=i&&(n.i=null,b4(n,i))}function Nln(n,t,e){if(n<0)return Vmn(vSn,a8(uM(sUn,1),kSn,1,5,[e,ann(n)]));if(t<0)throw Lm(new Cy(ySn+t));return Vmn("%s (%s) must not be greater than size (%s)",a8(uM(sUn,1),kSn,1,5,[e,ann(n),ann(t)]))}function $ln(n,t,e,i,r,c){var a,o,u;if(i-e<7)!function(n,t,e,i){var r,c,a;for(r=t+1;rt&&i.Ne(n[c-1],n[c])>0;--c)a=n[c],FH(n,c,n[c-1]),FH(n,c-1,a)}(t,e,i,c);else if($ln(t,n,o=e+r,u=o+((a=i+r)-o>>1),-r,c),$ln(t,n,u,a,-r,c),c.Ne(n[u-1],n[u])<=0)for(;e=i||t=0?n.bi(c,e):egn(n,r,e)}else nen(n,i,r,e)}function xln(n){var t,e;if(n.f){for(;n.n>0;){if(sL(e=(t=JR(n.k.Xb(n.n-1),76)).Lk(),102)&&JR(e,19).Bb&qKn&&(!n.e||e.pk()!=Qft||0!=e.Lj())&&null!=t.md())return!0;--n.n}return!1}return n.n>0}function Rln(n){var t,e,i,r,c;if(e=JR(n,54)._h())try{if(i=null,(t=Adn((UE(),obt),bkn(null==(c=e).e?c:(!c.c&&(c.c=new Cmn(!!(256&c.f),c.i,c.a,c.d,!!(16&c.f),c.j,c.g,null)),c.c))))&&(r=t.ai())&&(i=r.Fl(function(n){return TU(n),n}(e.e))),i&&i!=n)return Rln(i)}catch(c){if(!sL(c=X5(c),63))throw Lm(c)}return n}function Kln(n,t,e){var i,r;e.Ug("Remove overlaps",1),e.dh(t,oxn),i=JR(fdn(t,(tD(),Btt)),27),n.f=i,n.a=Acn(JR(fdn(t,(vfn(),Het)),300)),Ub(n,(TU(r=z$(fdn(t,(XEn(),Out)))),r)),ojn(n,t,Kpn(i),e),e.dh(t,sxn)}function Fln(n){if(!n)return ny(),HUn;var t=n.valueOf?n.valueOf():n;if(t!==n){var e=UUn[typeof t];return e?e(t):C7(typeof t)}return n instanceof Array||n instanceof i.Array?new Tb(n):new Sb(n)}function _ln(n,t,e){var r,c,a;switch(a=n.o,(c=(r=JR(XU(n.p,e),252)).i).b=ybn(r),c.a=kbn(r),c.b=i.Math.max(c.b,a.a),c.b>a.a&&!t&&(c.b=a.a),c.c=-(c.b-a.a)/2,e.g){case 1:c.d=-c.a;break;case 3:c.d=a.b}fyn(r),gyn(r)}function Bln(n,t,e){var r,c,a;switch(a=n.o,(c=(r=JR(XU(n.p,e),252)).i).b=ybn(r),c.a=kbn(r),c.a=i.Math.max(c.a,a.b),c.a>a.b&&!t&&(c.a=a.b),c.d=-(c.a-a.b)/2,e.g){case 4:c.c=-c.b;break;case 2:c.c=a.a}fyn(r),gyn(r)}function Hln(n,t){var e,i,r,c;if(Jpn(),t.b<2)return!1;for(i=e=JR(kW(c=$rn(t,0)),8);c.b!=c.d.c;){if(r=JR(kW(c),8),!L6(n,i)||!L6(n,r))return!1;i=r}return!(!L6(n,i)||!L6(n,e))}function Uln(n,t){var e,i,r,c,a;return e=Y2(a=n,"x"),function(n,t){_2(n,null==t||Xx((TU(t),t))||isNaN((TU(t),t))?0:(TU(t),t))}(new Lp(t).a,e),i=Y2(a,"y"),function(n,t){B2(n,null==t||Xx((TU(t),t))||isNaN((TU(t),t))?0:(TU(t),t))}(new Np(t).a,i),r=Y2(a,uFn),function(n,t){F2(n,null==t||Xx((TU(t),t))||isNaN((TU(t),t))?0:(TU(t),t))}(new $p(t).a,r),c=Y2(a,oFn),function(n,t){K2(n,null==t||Xx((TU(t),t))||isNaN((TU(t),t))?0:(TU(t),t))}(new Dp(t).a,c),c}function Gln(n,t){Fmn(n,t),1&n.b&&(n.a.a=null),2&n.b&&(n.a.f=null),4&n.b&&(n.a.g=null,n.a.i=null),16&n.b&&(n.a.d=null,n.a.e=null),8&n.b&&(n.a.b=null),32&n.b&&(n.a.j=null,n.a.c=null)}function qln(n){var t,e,i,r,c;if(null==n)return jSn;for(c=new j5(mSn,"[","]"),i=0,r=(e=n).length;i(xz(c+1,t.c.length),JR(t.c[c+1],17)).a-i&&++o,AL(r,(xz(c+o,t.c.length),JR(t.c[c+o],17))),a+=(xz(c+o,t.c.length),JR(t.c[c+o],17)).a-i,++e;e=0?n.Lh(e,!0,!0):Gbn(n,r,!0),160),JR(i,220).Zl(t)}function abn(n){var t,e;return n>-0x800000000000&&n<0x800000000000?0==n?0:((t=n<0)&&(n=-n),e=lX(i.Math.floor(i.Math.log(n)/.6931471805599453)),(!t||n!=i.Math.pow(2,e))&&++e,e):K5(p5(n))}function obn(n,t,e){e.Ug("Eades radial",1),e.dh(t,sxn),n.d=JR(fdn(t,(tD(),Btt)),27),n.c=my(z$(fdn(t,(vfn(),Ret)))),n.e=Acn(JR(fdn(t,Het),300)),n.a=function(n){switch(n.g){case 0:return new Lo;case 1:return new No;default:throw Lm(new Cy(dxn+(null!=n.f?n.f:""+n.g)))}}(JR(fdn(t,Get),434)),n.b=function(n){switch(n.g){case 1:return new So;case 2:return new Po;case 3:return new Eo;case 0:return null;default:throw Lm(new Cy(dxn+(null!=n.f?n.f:""+n.g)))}}(JR(fdn(t,Net),354)),function(n){var t,e,i,r,c;if(i=0,r=xOn,n.b)for(t=0;t<360;t++)e=.017453292519943295*t,Xvn(n,n.d,0,0,axn,e),(c=n.b.Dg(n.d))=(c=a.gc()))a.$b();else for(r=a.Kc(),i=0;i0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}else a=hM(b6(sG(oG(DB(n.a),new jn),new En)));return a>0?a+n.n.d+n.n.a:0}function ybn(n){var t,e,i,r,c,a;if(a=0,0==n.b)a=hM(b6(sG(oG(DB(n.a),new Mn),new Tn)));else{for(t=0,r=0,c=(i=nan(n,!0)).length;r0&&(a+=e,++t);t>1&&(a+=n.c*(t-1))}return a>0?a+n.n.b+n.n.c:0}function Mbn(n){var t,e;if(2!=n.c.length)throw Lm(new Iy("Order only allowed for two paths."));xz(0,n.c.length),t=JR(n.c[0],18),xz(1,n.c.length),e=JR(n.c[1],18),t.d.i!=e.c.i&&(n.c.length=0,Km(n.c,e),Km(n.c,t))}function Tbn(n,t,e){var i;for(lA(e,t.g,t.f),bA(e,t.i,t.j),i=0;i<(!t.a&&(t.a=new aB(ult,t,10,11)),t.a).i;i++)Tbn(n,JR(d2((!t.a&&(t.a=new aB(ult,t,10,11)),t.a),i),27),JR(d2((!e.a&&(e.a=new aB(ult,e,10,11)),e.a),i),27))}function jbn(n){var t,e;return(e=new Yy).a+="e_",null!=(t=function(n){return 0!=n.b.c.length&&JR(bF(n.b,0),72).a?JR(bF(n.b,0),72).a:wG(n)}(n))&&(e.a+=""+t),n.c&&n.d&&(rO((e.a+=" ",e),eon(n.c)),rO(iO((e.a+="[",e),n.c.i),"]"),rO((e.a+=zAn,e),eon(n.d)),rO(iO((e.a+="[",e),n.d.i),"]")),e.a}function Ebn(n){switch(n.g){case 0:return new yl;case 1:return new Ml;case 2:return new vl;case 3:return new ml;default:throw Lm(new Cy("No implementation is available for the layout phase "+(null!=n.f?n.f:""+n.g)))}}function Sbn(n,t,e,r,c){var a;switch(a=0,c.g){case 1:a=i.Math.max(0,t.b+n.b-(e.b+r));break;case 3:a=i.Math.max(0,-n.b-r);break;case 2:a=i.Math.max(0,-n.a-r);break;case 4:a=i.Math.max(0,t.a+n.a-(e.a+r))}return a}function Pbn(n){var t,e;switch(n.b){case-1:return!0;case 0:return(e=n.t)>1||-1==e||(t=zon(n))&&(VE(),t.lk()==iBn)?(n.b=-1,!0):(n.b=1,!1);default:return!1}}function Cbn(n,t){var e,i,r,c;if(NEn(n),0!=n.c||123!=n.a)throw Lm(new Ry(tSn((DA(),o_n))));if(c=112==t,i=n.d,(e=e$(n.i,125,i))<0)throw Lm(new Ry(tSn((DA(),u_n))));return r=Gq(n.i,i,e),n.d=e+1,dZ(r,c,!(512&~n.e))}function Ibn(n){var t,e,i,r,c,a,o;if((i=n.a.c.length)>0)for(a=n.c.d,r=OL(fx(new DC((o=n.d.d).a,o.b),a),1/(i+1)),c=new DC(a.a,a.b),e=new mw(n.a);e.a=0&&i=0?n.Lh(e,!0,!0):Gbn(n,r,!0),160),JR(i,220).Wl(t);throw Lm(new Cy(FKn+t.xe()+HKn))}function Nbn(n,t){var e,i,r;if(r=0,(i=t[0])>=n.length)return-1;for(Rz(i,n.length),e=n.charCodeAt(i);e>=48&&e<=57&&(r=10*r+(e-48),!(++i>=n.length));)Rz(i,n.length),e=n.charCodeAt(i);return i>t[0]?t[0]=i:r=-1,r}function $bn(n,t,e){var i,r,c,a;c=n.c,a=n.d,r=(Z8(a8(uM(Mat,1),HSn,8,0,[c.i.n,c.n,c.a])).b+Z8(a8(uM(Mat,1),HSn,8,0,[a.i.n,a.n,a.a])).b)/2,i=c.j==($jn(),dht)?new DC(t+c.i.c.c.a+e,r):new DC(t-e,r),r$(n.a,0,i)}function Dbn(n){var t,e,i;for(t=null,e=EB(f3(a8(uM(bUn,1),kSn,20,0,[(!n.b&&(n.b=new yx(nlt,n,4,7)),n.b),(!n.c&&(n.c=new yx(nlt,n,5,8)),n.c)])));Bwn(e);)if(i=Bsn(JR(MJ(e),84)),t){if(t!=i)return!1}else t=i;return!0}function xbn(n,t,e){var i;if(++n.j,t>=n.i)throw Lm(new jy(BFn+t+HFn+n.i));if(e>=n.i)throw Lm(new jy(UFn+e+HFn+n.i));return i=n.g[e],t!=e&&(t>16)>>16&16),e+=t=(n>>=t)-256>>16&8,e+=t=(n<<=t)-vCn>>16&4,(e+=t=(n<<=t)-USn>>16&2)+2-(t=(i=(n<<=t)>>14)&~(i>>1)))}function Fbn(n){var t,e,i,r;for(rq(),nVn=new Mm,Zzn=new ym,Yzn=new Mm,!n.a&&(n.a=new aB(ult,n,10,11)),function(n){var t,e,i,r,c,a,o,u,s,f;for(t=new ym,a=new XL(n);a.e!=a.i.gc();){for(c=JR(Urn(a),27),e=new dv,DU(Zzn,c,e),f=new at,i=JR(MQ(new PF(null,new fH(new F_(wN(Qdn(c).a.Kc(),new h)))),JF(f,MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[(o7(),Tqn)])))),85),d3(e,JR(i.xc((UN(),!0)),16),new ot),r=JR(MQ(oG(JR(i.xc(!1),15).Lc(),new ut),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[Tqn]))),15).Kc();r.Ob();)(s=Thn(JR(r.Pb(),74)))&&((o=JR(HI(WF(t.f,s)),21))||(o=jpn(s),Pln(t.f,s,o)),z4(e,o));for(i=JR(MQ(new PF(null,new fH(new F_(wN(Jdn(c).a.Kc(),new h)))),JF(f,MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[Tqn])))),85),d3(e,JR(i.xc(!0),16),new st),u=JR(MQ(oG(JR(i.xc(!1),15).Lc(),new ht),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[Tqn]))),15).Kc();u.Ob();)(s=jhn(JR(u.Pb(),74)))&&((o=JR(HI(WF(t.f,s)),21))||(o=jpn(s),Pln(t.f,s,o)),z4(e,o))}}(t=n.a),r=new XL(t);r.e!=r.i.gc();)i=JR(Urn(r),27),-1==k1(nVn,i,0)&&(e=new Mm,AL(Yzn,e),frn(i,e));return Yzn}function _bn(n,t){var e,i,r;for(r=new Mm,i=$rn(t.a,0);i.b!=i.d.c;)(e=JR(kW(i),65)).c.g==n.g&&UI(ghn(e.b,(hyn(),Ett)))!==UI(ghn(e.c,Ett))&&!uJ(new PF(null,new Kz(r,16)),new Ug(e))&&Km(r.c,e);return _A(r,new ja),r}function Bbn(n,t,e){var i,r,c,a;return sL(t,153)&&sL(e,153)?(c=JR(t,153),a=JR(e,153),n.a[c.a][a.a]+n.a[a.a][c.a]):sL(t,250)&&sL(e,250)&&(i=JR(t,250),r=JR(e,250),i.a==r.a)?JR(ghn(r.a,(Okn(),CVn)),17).a:0}function Hbn(n,t){var e,r,c,a,o,u,s,h;for(h=my(z$(ghn(t,(LEn(),T5n)))),s=n[0].n.a+n[0].o.a+n[0].d.c+h,u=1;u0?1:FO(isNaN(r),isNaN(0)))>=0^(y3(jDn),(i.Math.abs(u)<=jDn||0==u||isNaN(u)&&isNaN(0)?0:u<0?-1:u>0?1:FO(isNaN(u),isNaN(0)))>=0)?i.Math.max(u,r):(y3(jDn),(i.Math.abs(r)<=jDn||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:FO(isNaN(r),isNaN(0)))>0?i.Math.sqrt(u*u+r*r):-i.Math.sqrt(u*u+r*r))}(a=r.b,o=c.b))>=0?e:(u=uU(fx(new DC(o.c+o.b/2,o.d+o.a/2),new DC(a.c+a.b/2,a.d+a.a/2))),-(Akn(a,o)-1)*u)}function Gbn(n,t,e){var i,r,c;if(c=lTn((nln(),dwt),n.Dh(),t))return VE(),JR(c,69).xk()||(c=Yz(O1(dwt,c))),r=JR((i=n.Ih(c))>=0?n.Lh(i,!0,!0):Gbn(n,c,!0),160),JR(r,220).Sl(t,e);throw Lm(new Cy(FKn+t.xe()+HKn))}function qbn(n,t,e,i){var r,c,a,o,u;if(r=n.d[t])if(c=r.g,u=r.i,null!=i){for(o=0;o>5),15,1))[e]=1<1;t>>=1)1&t&&(i=BW(i,e)),e=1==e.d?BW(e,e):new crn(dkn(e.a,e.d,tZ(Wdt,GPn,28,e.d<<1,15,1)));return BW(i,e)}(n,t)}function zbn(n){var t,e,i;for(dE(),this.b=IWn,this.c=(Xnn(),Vut),this.f=(wE(),EWn),this.a=n,mM(this,new Tt),Agn(this),i=new mw(n.b);i.a=null.Um()?(qdn(n),Jbn(n)):t.Ob()}function Ybn(n){if(this.a=n,n.c.i.k==(Yhn(),aQn))this.c=n.c,this.d=JR(ghn(n.c.i,(qEn(),N1n)),64);else{if(n.d.i.k!=aQn)throw Lm(new Cy("Edge "+n+" is not an external edge."));this.c=n.d,this.d=JR(ghn(n.d.i,(qEn(),N1n)),64)}}function Zbn(n,t){var e,i,r;r=n.b,n.b=t,4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,3,r,n.b)),t?t!=n&&(H4(n,t.zb),V2(n,t.d),Q3(n,null==(e=null==(i=t.c)?t.zb:i)||Cx(e,t.zb)?null:e)):(H4(n,null),V2(n,0),Q3(n,null))}function nwn(n,t){var e;this.e=(AH(),PH(n),AH(),qen(n)),this.c=(PH(t),qen(t)),QL(this.e.Rd().dc()==this.c.Rd().dc()),this.d=Utn(this.e),this.b=Utn(this.c),e=dF(sUn,[HSn,kSn],[5,1],5,[this.e.Rd().gc(),this.c.Rd().gc()],2),this.a=e,function(n){var t,e,i,r;for(i=0,r=(e=n.a).length;i0?len(e):Znn(len(e)),ocn(t,Q6n,r)}function swn(n,t){var e,i,r,c,a;for(a=n.j,t.a!=t.b&&_A(a,new Yr),r=a.c.length/2|0,i=0;i=0;)i=e[c],a.am(i.Lk())&&bZ(r,i);!eEn(n,r)&&iA(n.e)&&lv(n,t.Jk()?Dq(n,6,t,(eq(),BGn),null,-1,!1):Dq(n,t.tk()?2:1,t,null,null,-1,!1))}function bwn(n,t){var e,i,r,c;return n.a==(qhn(),HZn)||(r=t.a.c,e=t.a.c+t.a.b,!(t.j&&(c=(i=t.A).c.c.a-i.o.a/2,r-(i.n.a+i.o.a)>c)||t.q&&(c=(i=t.C).c.c.a-i.o.a/2,i.n.a-e>c)))}function wwn(n){var t,e,i,r,c,a;for(rz(),e=new mQ,i=new mw(n.e.b);i.a1?n.e*=my(n.a):n.f/=my(n.a),function(n){var t,e;for(t=n.b.a.a.ec().Kc();t.Ob();)e=new Bdn(JR(t.Pb(),567),n.e,n.f),AL(n.g,e)}(n),nrn(n),function(n){var t,e,r,c,a,o,u,s,h,f;for(e=function(n){var t,e,r,c,a,o,u,s,h,f;for(e=n.o,t=n.p,o=wSn,c=vPn,u=wSn,a=vPn,h=0;h=0?n.Ah(null):n.Ph().Th(n,-1-t,null,null),n.Bh(JR(r,54),e),i&&i.oj(),n.vh()&&n.wh()&&e>-1&&i5(n,new oB(n,9,e,c,r)),r):c}function Awn(n,t){var e,i,r,c,a;for(c=n.b.Ce(t),i=null==(e=n.a.get(c))?tZ(sUn,kSn,1,0,5,1):e,a=0;a>5)>=n.d)return n.e<0;if(e=n.a[r],t=1<<(31&t),n.e<0){if(r<(i=P6(n)))return!1;e=i==r?-e:~e}return!!(e&t)}function Fwn(n,t){var e,i,r,c,a,o,u;if(c=t.e)for(e=Own(c),i=JR(n.g,689),a=0;a>16)),15).dd(c))>t,c=n.m>>t|e<<22-t,r=n.l>>t|n.m<<22-t):t<44?(a=i?oCn:0,c=e>>t-22,r=n.m>>t-22|e<<44-t):(a=i?oCn:0,c=i?aCn:0,r=e>>t-44),XA(r&aCn,c&aCn,a&oCn)}function zwn(n){var t,e,r,c,a,o;for(this.c=new Mm,this.d=n,r=pCn,c=pCn,t=mCn,e=mCn,o=$rn(n,0);o.b!=o.d.c;)a=JR(kW(o),8),r=i.Math.min(r,a.a),c=i.Math.min(c,a.b),t=i.Math.max(t,a.a),e=i.Math.max(e,a.b);this.a=new kG(r,c,t-r,e-c)}function Vwn(n,t){var e,i,r,c;for(i=new mw(n.b);i.a0&&sL(t,44)&&(n.a._j(),c=null==(u=(s=JR(t,44)).ld())?0:F4(u),a=CD(n.a,c),e=n.a.d[a]))for(i=JR(e.g,379),h=e.i,o=0;o=2)for(t=z$((e=c.Kc()).Pb());e.Ob();)a=t,t=z$(e.Pb()),r=i.Math.min(r,(TU(t),t-(TU(a),a)));return r}function rdn(n,t){var e,i,r;for(r=new Mm,i=$rn(t.a,0);i.b!=i.d.c;)(e=JR(kW(i),65)).b.g==n.g&&!Cx(e.b.c,RDn)&&UI(ghn(e.b,(hyn(),Ett)))!==UI(ghn(e.c,Ett))&&!uJ(new PF(null,new Kz(r,16)),new Gg(e))&&Km(r.c,e);return _A(r,new Ca),r}function cdn(n,t){var e,i,r;if(UI(t)===UI(PH(n)))return!0;if(!sL(t,15))return!1;if(i=JR(t,15),(r=n.gc())!=i.gc())return!1;if(sL(i,59)){for(e=0;et.a&&(i.Hc((Yun(),Uat))?n.c.a+=(e.a-t.a)/2:i.Hc(qat)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((Yun(),zat))?n.c.b+=(e.b-t.b)/2:i.Hc(Xat)&&(n.c.b+=e.b-t.b)),JR(ghn(n,(qEn(),x1n)),21).Hc((zpn(),WZn))&&(e.a>t.a||e.b>t.b))for(o=new mw(n.a);o.a0&&(r=e),a=new mw(n.f.e);a.a0&&c0):c<0&&-c0)}function pdn(n,t,e,i){var r,c,a,o,u,s;for(r=(t-n.d)/n.c.c.length,c=0,n.a+=e,n.d=t,s=new mw(n.c);s.a=0&&Cx(n.substr(o,2),"//")?(aZ(o+=2,u=Mrn(n,o,Wlt,Qlt),n.length),i=n.substr(o,u-o),o=u):null==f||o!=n.length&&(Rz(o,n.length),47==n.charCodeAt(o))||(a=!1,-1==(u=gN(n,Zsn(35),o))&&(u=n.length),aZ(o,u,n.length),i=n.substr(o,u-o),o=u);if(!e&&o0&&58==rG(h,h.length-1)&&(r=h,o=u)),o0&&(Rz(0,e.length),47!=e.charCodeAt(0))))throw Lm(new Cy("invalid opaquePart: "+e));if(n&&(null==t||!Aj(Klt,t.toLowerCase()))&&null!=e&&ren(e,Wlt,Qlt))throw Lm(new Cy(H_n+e));if(n&&null!=t&&Aj(Klt,t.toLowerCase())&&!function(n){if(null!=n&&n.length>0&&33==rG(n,n.length-1))try{return null==vdn(Gq(n,0,n.length-1)).e}catch(n){if(!sL(n=X5(n),33))throw Lm(n)}return!1}(e))throw Lm(new Cy(H_n+e));if(!function(n){var t;return null==n||(t=n.length)>0&&(Rz(t-1,n.length),58==n.charCodeAt(t-1))&&!ren(n,Wlt,Qlt)}(i))throw Lm(new Cy("invalid device: "+i));if(!function(n){var t,e;if(null==n)return!1;for(t=0,e=n.length;t=0;t-=2)for(e=0;e<=t;e+=2)(n.b[e]>n.b[e+2]||n.b[e]===n.b[e+2]&&n.b[e+1]>n.b[e+3])&&(i=n.b[e+2],n.b[e+2]=n.b[e],n.b[e]=i,i=n.b[e+3],n.b[e+3]=n.b[e+1],n.b[e+1]=i);n.c=!0}}function Sdn(n,t){var e,i,r,c,a,o,u,s,h;for(s=-1,h=0,o=0,u=(a=n).length;o0&&++h;++s}return h}function Pdn(n){var t;return(t=new kN(sT(n.Rm))).a+="@",rO(t,(F4(n)>>>0).toString(16)),n.Vh()?(t.a+=" (eProxyURI: ",iO(t,n._h()),n.Kh()&&(t.a+=" eClass: ",iO(t,n.Kh())),t.a+=")"):n.Kh()&&(t.a+=" (eClass: ",iO(t,n.Kh()),t.a+=")"),t.a}function Cdn(n){var t,e,i;if(n.e)throw Lm(new Iy((W$(Gqn),wIn+Gqn.k+dIn)));for(n.d==(Xnn(),Vut)&&hjn(n,Xut),e=new mw(n.a.a);e.a=0)return r;for(c=1,a=new mw(t.j);a.a=0)return r;for(c=1,a=new mw(t.j);a.a0&&t.Ne((xz(r-1,n.c.length),JR(n.c[r-1],10)),c)>0;)ZQ(n,r,(xz(r-1,n.c.length),JR(n.c[r-1],10))),--r;xz(r,n.c.length),n.c[r]=c}e.a=new ym,e.b=new ym}function Ddn(n,t,e){var i;if(2==(n.c-n.b&n.a.length-1))t==($jn(),ght)||t==dht?(z0(JR(X8(n),15),(yon(),Ist)),z0(JR(X8(n),15),Ost)):(z0(JR(X8(n),15),(yon(),Ost)),z0(JR(X8(n),15),Ist));else for(i=new eG(n);i.a!=i.b;)z0(JR(x7(i),15),e)}function xdn(n,t){var e,i,r,c,a,o;for(a=new NV(i=VR(new Qp(n)),i.c.length),o=new NV(r=VR(new Qp(t)),r.c.length),c=null;a.b>0&&o.b>0&&(J$(a.b>0),e=JR(a.a.Xb(a.c=--a.b),27),J$(o.b>0),e==JR(o.a.Xb(o.c=--o.b),27));)c=e;return c}function Rdn(n,t,e){var i,r,c,a;iV(n,t)>iV(n,e)?(i=$tn(e,($jn(),dht)),n.d=i.dc()?0:XK(JR(i.Xb(0),12)),a=$tn(t,Dht),n.b=a.dc()?0:XK(JR(a.Xb(0),12))):(r=$tn(e,($jn(),Dht)),n.d=r.dc()?0:XK(JR(r.Xb(0),12)),c=$tn(t,dht),n.b=c.dc()?0:XK(JR(c.Xb(0),12)))}function Kdn(n,t){var e,i,r,c;for(e=n.o.a,c=JR(JR(RJ(n.r,t),21),87).Kc();c.Ob();)(r=JR(c.Pb(),117)).e.a=e*my(z$(r.b.of(ozn))),r.e.b=(i=r.b).pf((XEn(),iut))?i.ag()==($jn(),ght)?-i.Mf().b-my(z$(i.of(iut))):my(z$(i.of(iut))):i.ag()==($jn(),ght)?-i.Mf().b:0}function Fdn(n){var t,e,i,r,c,a,o,u;t=!0,r=null,c=null;n:for(u=new mw(n.a);u.a>1,n.k=e-1>>1}(this,this.d,this.c),function(n){var t,e,i,r,c,a,o;for(e=jA(n.e),c=OL(E$(cL(TA(n.e)),n.d*n.a,n.c*n.b),-.5),t=e.a-c.a,r=e.b-c.b,o=0;o0&&fTn(this,c)}function Hdn(n,t,e,i,r,c){var a,o,u;if(!r[t.a]){for(r[t.a]=!0,!(a=i)&&(a=new YJ),AL(a.e,t),u=c[t.a].Kc();u.Ob();)(o=JR(u.Pb(),290)).d!=e&&o.c!=e&&(o.c!=t&&Hdn(n,o.c,t,a,r,c),o.d!=t&&Hdn(n,o.d,t,a,r,c),AL(a.c,o),J5(a.d,o.b));return a}return null}function Udn(n){var t,e,i;for(t=0,e=new mw(n.e);e.a=2}function Gdn(n,t,e){var i,r,c;for(c=new mw(n.t);c.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&HK(t,i.b));for(r=new mw(n.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&HK(e,i.a))}function qdn(n){var t,e,i;if(null==n.g&&(n.d=n.bj(n.f),bZ(n,n.d),n.c))return n.f;if(i=(t=JR(n.g[n.i-1],51)).Pb(),n.e=t,(e=n.bj(i)).Ob())n.d=e,bZ(n,e);else for(n.d=null;!t.Ob()&&(FH(n.g,--n.i,null),0!=n.i);)t=JR(n.g[n.i-1],51);return i}function Xdn(n,t,e,r){var c,a,o;for(Lb(c=new Bcn(n),(Yhn(),oQn)),A8(c,(qEn(),Y1n),t),A8(c,h0n,r),A8(c,(LEn(),q6n),(ksn(),nht)),A8(c,z1n,t.c),A8(c,V1n,t.d),Npn(t,c),o=i.Math.floor(e/2),a=new mw(c.j);a.a=2147483648&&(r-=4294967296),r)}function tgn(n,t,e){var i,r,c,a,o,u,s;for(c=new Mm,function(n,t,e,i){var r,c,a,o,u,s,h;for(o=-1,h=new mw(n);h.a0&&w.a<=0){u.c.length=0,Km(u.c,w);break}(b=w.i-w.d)>=o&&(b>o&&(u.c.length=0,o=b),Km(u.c,w))}0!=u.c.length&&(a=JR(bF(u,Icn(r,u.c.length)),118),v.a.Bc(a),a.g=h++,cyn(a,t,e,i),u.c.length=0)}for(g=n.c.length+1,l=new mw(n);l.ai.b.g&&Km(c.c,i);return c}function egn(n,t,e){var i,r,c;if(!(c=lTn((nln(),dwt),n.Dh(),t)))throw Lm(new Cy(FKn+t.xe()+_Kn));if(VE(),!JR(c,69).xk()&&!(c=Yz(O1(dwt,c))))throw Lm(new Cy(FKn+t.xe()+_Kn));r=JR((i=n.Ih(c))>=0?n.Lh(i,!0,!0):Gbn(n,c,!0),160),JR(r,220).Xl(t,e)}function ign(n,t){var e,i,r,c;if(t){for(c=!(r=sL(n.Cb,90)||sL(n.Cb,102))&&sL(n.Cb,331),e=new XL((!t.a&&(t.a=new BF(t,fbt,t)),t.a));e.e!=e.i.gc();)if(i=Gkn(JR(Urn(e),89)),r?sL(i,90):c?sL(i,156):i)return i;return r?(JEn(),Abt):(JEn(),Cbt)}return null}function rgn(n,t){var e,r,c;for(t.Ug("Resize child graph to fit parent.",1),r=new mw(n.b);r.at.a&&(i.Hc((Yun(),Uat))?n.c.a+=(e.a-t.a)/2:i.Hc(qat)&&(n.c.a+=e.a-t.a)),e.b>t.b&&(i.Hc((Yun(),zat))?n.c.b+=(e.b-t.b)/2:i.Hc(Xat)&&(n.c.b+=e.b-t.b)),JR(ghn(n,(qEn(),x1n)),21).Hc((zpn(),WZn))&&(e.a>t.a||e.b>t.b))for(a=new mw(n.a);a.a0),c.a.Xb(c.c=--c.b),BD(c,r),J$(c.b0);e++);if(e>0&&e0);t++);return t>0&&e>16!=6&&t){if(Bon(n,t))throw Lm(new Cy(WKn+dwn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Non(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=ccn(t,n,6,i)),(i=jD(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,6,t,t))}function lgn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(Bon(n,t))throw Lm(new Cy(WKn+TMn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Uon(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=ccn(t,n,12,i)),(i=ED(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,3,t,t))}function bgn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=9&&t){if(Bon(n,t))throw Lm(new Cy(WKn+rvn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Don(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=ccn(t,n,9,i)),(i=SD(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,9,t,t))}function wgn(n){var t,e,i,r,c;if(i=zon(n),null==(c=n.j)&&i)return n.Jk()?null:i.ik();if(sL(i,156)){if((e=i.jk())&&(r=e.wi())!=n.i){if((t=JR(i,156)).nk())try{n.g=r.ti(t,c)}catch(t){if(!sL(t=X5(t),82))throw Lm(t);n.g=null}n.i=r}return n.g}return null}function dgn(n){var t;return AL(t=new Mm,new vS(new DC(n.c,n.d),new DC(n.c+n.b,n.d))),AL(t,new vS(new DC(n.c,n.d),new DC(n.c,n.d+n.a))),AL(t,new vS(new DC(n.c+n.b,n.d+n.a),new DC(n.c+n.b,n.d))),AL(t,new vS(new DC(n.c+n.b,n.d+n.a),new DC(n.c,n.d+n.a))),t}function ggn(n){var t,e;if(null==n)return jSn;try{return Qtn(n)}catch(i){if(sL(i=X5(i),103))return t=i,e=sT(s7(n))+"@"+(qj(),(Hin(n)>>>0).toString(16)),brn(F5(),(Wj(),"Exception during lenientFormat for "+e),t),"<"+e+" threw "+sT(t.Rm)+">";throw Lm(i)}}function pgn(n,t,e){var i,r;for(r=t.a.ec().Kc();r.Ob();)i=JR(r.Pb(),74),!JR(RH(n.b,i),272)&&(_X(Mhn(i))==_X(Ehn(i))?rpn(n,i,e):Mhn(i)==_X(Ehn(i))?null==RH(n.c,i)&&null!=RH(n.b,Ehn(i))&&VTn(n,i,e,!1):null==RH(n.d,i)&&null!=RH(n.b,Mhn(i))&&VTn(n,i,e,!0))}function mgn(n,t){var e,i,r,c,a,o,u;for(r=n.Kc();r.Ob();)for(i=JR(r.Pb(),10),sz(o=new ffn,i),Yln(o,($jn(),dht)),A8(o,(qEn(),c0n),(UN(),!0)),a=t.Kc();a.Ob();)c=JR(a.Pb(),10),sz(u=new ffn,c),Yln(u,Dht),A8(u,c0n,!0),A8(e=new Oq,c0n,!0),oz(e,o),hz(e,u)}function vgn(n,t,e,i){var r,c,a,o;r=gin(n,t,e),c=gin(n,e,t),a=JR(RH(n.c,t),118),o=JR(RH(n.c,e),118),r>16!=11&&t){if(Bon(n,t))throw Lm(new Cy(WKn+ivn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Gon(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=ccn(t,n,10,i)),(i=lx(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,11,t,t))}function Tgn(n,t,e){return Jpn(),(!L6(n,t)||!L6(n,e))&&(ujn(new DC(n.c,n.d),new DC(n.c+n.b,n.d),t,e)||ujn(new DC(n.c+n.b,n.d),new DC(n.c+n.b,n.d+n.a),t,e)||ujn(new DC(n.c+n.b,n.d+n.a),new DC(n.c,n.d+n.a),t,e)||ujn(new DC(n.c,n.d+n.a),new DC(n.c,n.d),t,e))}function jgn(n,t){var e,i,r,c;if(!n.dc())for(e=0,i=n.gc();e>16!=7&&t){if(Bon(n,t))throw Lm(new Cy(WKn+xfn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?$on(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=JR(t,54).Rh(n,1,Yft,i)),(i=v_(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,7,t,t))}function xgn(n,t){var e,i;if(t!=n.Cb||n.Db>>16!=3&&t){if(Bon(n,t))throw Lm(new Cy(WKn+Cnn(n)));i=null,n.Cb&&(i=(e=n.Db>>16)>=0?Kon(n,i):n.Cb.Th(n,-1-e,null,i)),t&&(i=JR(t,54).Rh(n,0,ilt,i)),(i=k_(n,t,i))&&i.oj()}else 4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,3,t,t))}function Rgn(n,t){var e,i,r,c,a,o,u,s,h;return Ypn(),t.d>n.d&&(o=n,n=t,t=o),t.d<63?function(n,t){var e,i,r,c,a,o,u,s,h;return c=(e=n.d)+(i=t.d),a=n.e!=t.e?-1:1,2==c?(h=y_(u=Ltn(Hz(n.a[0],PCn),Hz(t.a[0],PCn))),0==(s=y_(D_(u,32)))?new sQ(a,h):new _B(a,2,a8(uM(Wdt,1),GPn,28,15,[h,s]))):(J7(n.a,e,t.a,i,r=tZ(Wdt,GPn,28,c,15,1)),KV(o=new _B(a,c,r)),o)}(n,t):(s=TJ(n,a=(-2&n.d)<<4),h=TJ(t,a),i=pMn(n,jJ(s,a)),r=pMn(t,jJ(h,a)),u=Rgn(s,h),e=Rgn(i,r),c=jJ(c=sTn(sTn(c=Rgn(pMn(s,i),pMn(r,h)),u),e),a),sTn(sTn(u=jJ(u,a<<1),c),e))}function Kgn(){Kgn=E,Y5n=new EP(wDn,0),W5n=new EP("LONGEST_PATH",1),Q5n=new EP("LONGEST_PATH_SOURCE",2),X5n=new EP("COFFMAN_GRAHAM",3),V5n=new EP(OLn,4),Z5n=new EP("STRETCH_WIDTH",5),J5n=new EP("MIN_WIDTH",6),q5n=new EP("BF_MODEL_ORDER",7),z5n=new EP("DF_MODEL_ORDER",8)}function Fgn(n,t,e){var i,r,c,a,o;for(a=dnn(n,e),o=tZ(fQn,JAn,10,t.length,0,1),i=0,c=a.Kc();c.Ob();)py(X$(ghn(r=JR(c.Pb(),12),(qEn(),F1n))))&&(o[i++]=JR(ghn(r,a0n),10));if(i=0;r+=e?1:-1)c|=t.c.lg(o,r,e,i&&!py(X$(ghn(t.j,(qEn(),D1n))))&&!py(X$(ghn(t.j,(qEn(),l0n))))),c|=t.q.ug(o,r,e),c|=_mn(n,o[r],e,i);return NB(n.c,t),c}function Ugn(n,t,e){var i,r,c,a,o,u,s,h;for(s=0,h=(u=rW(n.j)).length;s1&&(n.a=!0),a_(JR(e.b,68),hx(cL(JR(t.b,68).c),OL(fx(cL(JR(e.b,68).a),JR(t.b,68).a),r))),bz(n,t),Xgn(n,e)}function zgn(n){var t,e,i,r,c,a;for(r=new mw(n.a.a);r.a0&&c>0?t++:i>0?e++:c>0?r++:e++}eq(),_A(n.j,new bi)}function Wgn(n,t){var e,i,r,c,a,o,u,s,h;for(o=t.j,a=t.g,u=JR(bF(o,o.c.length-1),113),xz(0,o.c.length),s=Gan(n,a,u,h=JR(o.c[0],113)),c=1;cs&&(u=e,h=r,s=i);t.a=h,t.c=u}function Qgn(n){if(!n.a.d||!n.a.e)throw Lm(new Iy((W$(gXn),gXn.k+" must have a source and target "+(W$(pXn),pXn.k+" specified."))));if(n.a.d==n.a.e)throw Lm(new Iy("Network simplex does not support self-loops: "+n.a+" "+n.a.d+" "+n.a.e));return $N(n.a.d.g,n.a),$N(n.a.e.b,n.a),n.a}function Jgn(n,t,e){var i,r,c,a,o,u;if(i=0,0!=t.b&&0!=e.b){c=$rn(t,0),a=$rn(e,0),o=my(z$(kW(c))),u=my(z$(kW(a))),r=!0;do{if(o>u-n.b&&ou-n.a&&o0&&(c+=(a=JR(bF(this.b,0),176)).o,r+=a.p),c*=2,r*=2,t>1?c=lX(i.Math.ceil(c*t)):r=lX(i.Math.ceil(r/t)),this.a=new Len(c,r)}function ppn(n,t,e,r,c,a){var o,u,s,h,f,l,b,w,d,g;for(h=r,t.j&&t.o?(d=(b=JR(RH(n.f,t.A),60)).d.c+b.d.b,--h):d=t.a.c+t.a.b,f=c,e.q&&e.o?(s=(b=JR(RH(n.f,e.C),60)).d.c,++f):s=e.a.c,w=d+(u=(s-d)/i.Math.max(2,f-h)),l=h;l=0;a+=r?1:-1){for(o=t[a],u=i==($jn(),dht)?r?$tn(o,i):hen($tn(o,i)):r?hen($tn(o,i)):$tn(o,i),c&&(n.c[o.p]=u.gc()),f=u.Kc();f.Ob();)h=JR(f.Pb(),12),n.d[h.p]=s++;J5(e,u)}}function kpn(n,t,e){var i,r,c,a,o,u,s,h;for(c=my(z$(n.b.Kc().Pb())),s=my(z$(function(n){var t;if(n){if((t=n).dc())throw Lm(new cv);return t.Xb(t.gc()-1)}return mz(n.Kc())}(t.b))),i=OL(cL(n.a),s-e),r=OL(cL(t.a),e-c),OL(h=hx(i,r),1/(s-c)),this.a=h,this.b=new Mm,o=!0,(a=n.b.Kc()).Pb();a.Ob();)u=my(z$(a.Pb())),o&&u-e>IDn&&(this.b.Fc(e),o=!1),this.b.Fc(u);o&&this.b.Fc(e)}function ypn(n){var t,e,r,c;if(function(n,t){var e,r,c,a,o,u,s;for(c=tZ(Wdt,GPn,28,n.e.a.c.length,15,1),o=new mw(n.e.a);o.a0){for(_y(n.c);Hwn(n,JR(Xz(new mw(n.e.a)),125))>5,t&=31,i>=n.d)return n.e<0?(bvn(),IGn):(bvn(),$Gn);if(c=n.d-i,function(n,t,e,i,r){var c,a,o;for(c=!0,a=0;a>>r|e[a+i+1]<>>r,++a}}(r=tZ(Wdt,GPn,28,c+1,15,1),c,n.a,i,t),n.e<0){for(e=0;e0&&n.a[e]<<32-t){for(e=0;e=0)&&(!(e=lTn((nln(),dwt),r,t))||((i=e.Ik())>1||-1==i)&&3!=EU(O1(dwt,e))))}function Spn(n,t,e,i){var r,c,a,o,u;return o=Bsn(JR(d2((!t.b&&(t.b=new yx(nlt,t,4,7)),t.b),0),84)),u=Bsn(JR(d2((!t.c&&(t.c=new yx(nlt,t,5,8)),t.c),0),84)),_X(o)==_X(u)||Z0(u,o)?null:(a=mX(t))==e?i:(c=JR(RH(n.a,a),10))&&(r=c.e)?r:null}function Ppn(n,t,e){var i,r,c,a,o;if((c=n[function(n,t){return n?t-1:0}(e,n.length)])[r=kM(e,c.length)].k==(Yhn(),aQn))for(o=t.j,i=0;i>24}(n));break;case 2:n.g=m5(function(n){if(2!=n.p)throw Lm(new nv);return y_(n.f)&OPn}(n));break;case 3:n.g=function(n){if(3!=n.p)throw Lm(new nv);return n.e}(n);break;case 4:n.g=new aw(function(n){if(4!=n.p)throw Lm(new nv);return n.e}(n));break;case 6:n.g=Jin(function(n){if(6!=n.p)throw Lm(new nv);return n.f}(n));break;case 5:n.g=ann(function(n){if(5!=n.p)throw Lm(new nv);return y_(n.f)}(n));break;case 7:n.g=onn(function(n){if(7!=n.p)throw Lm(new nv);return y_(n.f)<<16>>16}(n))}return n.g}function Opn(n){if(null==n.n)switch(n.p){case 0:n.n=function(n){if(0!=n.p)throw Lm(new nv);return WI(n.k,0)}(n)?(UN(),QUn):(UN(),WUn);break;case 1:n.n=K1(function(n){if(1!=n.p)throw Lm(new nv);return y_(n.k)<<24>>24}(n));break;case 2:n.n=m5(function(n){if(2!=n.p)throw Lm(new nv);return y_(n.k)&OPn}(n));break;case 3:n.n=function(n){if(3!=n.p)throw Lm(new nv);return n.j}(n);break;case 4:n.n=new aw(function(n){if(4!=n.p)throw Lm(new nv);return n.j}(n));break;case 6:n.n=Jin(function(n){if(6!=n.p)throw Lm(new nv);return n.k}(n));break;case 5:n.n=ann(function(n){if(5!=n.p)throw Lm(new nv);return y_(n.k)}(n));break;case 7:n.n=onn(function(n){if(7!=n.p)throw Lm(new nv);return y_(n.k)<<16>>16}(n))}return n.n}function Apn(n,t,e,i){var r,c,a,o,u;if(VE(),o=JR(t,69).xk(),Epn(n.e,t)){if(t.Si()&&pyn(n,t,i,sL(t,102)&&!!(JR(t,19).Bb&MCn)))throw Lm(new Cy(_Fn))}else for(u=ipn(n.e.Dh(),t),r=JR(n.g,124),a=0;a0&&(e[0]+=n.d,o-=e[0]),e[2]>0&&(e[2]+=n.d,o-=e[2]),a=i.Math.max(0,o),e[1]=i.Math.max(e[1],o),DJ(n,vXn,c.c+r.b+e[0]-(e[1]-o)/2,e),t==vXn&&(n.c.b=a,n.c.c=c.c+r.b+(a-o)/2)}function xpn(){this.c=tZ(Zdt,jCn,28,($jn(),a8(uM(zht,1),HAn,64,0,[$ht,ght,dht,Nht,Dht])).length,15,1),this.b=tZ(Zdt,jCn,28,a8(uM(zht,1),HAn,64,0,[$ht,ght,dht,Nht,Dht]).length,15,1),this.a=tZ(Zdt,jCn,28,a8(uM(zht,1),HAn,64,0,[$ht,ght,dht,Nht,Dht]).length,15,1),rS(this.c,pCn),rS(this.b,mCn),rS(this.a,mCn)}function Rpn(n,t,e){var i,r,c,a;if(t<=e?(r=t,c=e):(r=e,c=t),i=0,null==n.b)n.b=tZ(Wdt,GPn,28,2,15,1),n.b[0]=r,n.b[1]=c,n.c=!0;else{if(i=n.b.length,n.b[i-1]+1==r)return void(n.b[i-1]=c);a=tZ(Wdt,GPn,28,i+2,15,1),ayn(n.b,0,a,0,i),n.b=a,n.b[i-1]>=r&&(n.c=!1,n.a=!1),n.b[i++]=r,n.b[i]=c,n.c||Edn(n)}}function Kpn(n){var t,e,i,r,c;for(r=new Mm,t=new TF((!n.a&&(n.a=new aB(ult,n,10,11)),n.a)),i=new F_(wN(Jdn(n).a.Kc(),new h));Bwn(i);)sL(d2((!(e=JR(MJ(i),74)).b&&(e.b=new yx(nlt,e,4,7)),e.b),0),193)||(c=Bsn(JR(d2((!e.c&&(e.c=new yx(nlt,e,5,8)),e.c),0),84)),t.a._b(c)||Km(r.c,c));return r}function Fpn(n,t){var e,r,c,a,o,u,s;for(e=mCn,Yhn(),u=sQn,c=new mw(t.a);c.a1;)Xpn(r,r.i-1);return i}function Upn(n,t){var e,i,r,c,a,o;for(e=new GL,r=new mw(n.b);r.an.d[a.p]&&(e+=YQ(n.b,c),MW(n.a,ann(c)));for(;!By(n.a);)a0(n.b,JR(OB(n.a),17).a)}return e}function qpn(n,t,e){var i,r,c,a;for(c=(!t.a&&(t.a=new aB(ult,t,10,11)),t.a).i,r=new XL((!t.a&&(t.a=new aB(ult,t,10,11)),t.a));r.e!=r.i.gc();)0==(!(i=JR(Urn(r),27)).a&&(i.a=new aB(ult,i,10,11)),i.a).i||(c+=qpn(n,i,!1));if(e)for(a=_X(t);a;)c+=(!a.a&&(a.a=new aB(ult,a,10,11)),a.a).i,a=_X(a);return c}function Xpn(n,t){var e,i,r,c;return n.Pj()?(i=null,r=n.Qj(),n.Tj()&&(i=n.Vj(n.$i(t),null)),e=n.Ij(4,c=lon(n,t),null,t,r),n.Mj()&&null!=c?(i=n.Oj(c,i))?(i.nj(e),i.oj()):n.Jj(e):i?(i.nj(e),i.oj()):n.Jj(e),c):(c=lon(n,t),n.Mj()&&null!=c&&(i=n.Oj(c,null))&&i.oj(),c)}function zpn(){zpn=E,zZn=new kP("COMMENTS",0),WZn=new kP("EXTERNAL_PORTS",1),QZn=new kP("HYPEREDGES",2),JZn=new kP("HYPERNODES",3),YZn=new kP("NON_FREE_PORTS",4),ZZn=new kP("NORTH_SOUTH_PORTS",5),t1n=new kP($Ln,6),XZn=new kP("CENTER_LABELS",7),VZn=new kP("END_LABELS",8),n1n=new kP("PARTITIONS",9)}function Vpn(n,t){var e,r,c;_X(n)&&(c=JR(ghn(t,(LEn(),I6n)),181),UI(fdn(n,q6n))===UI((ksn(),rht))&&ocn(n,q6n,iht),_E(),r=vjn(new oy(_X(n)),new zN(_X(n)?new oy(_X(n)):null,n),!1,!0),M4(c,(hin(),Uht)),(e=JR(ghn(t,A6n),8)).a=i.Math.max(r.a,e.a),e.b=i.Math.max(r.b,e.b))}function Wpn(){Wpn=E,jYn=new EG(eOn,0,($jn(),ght),ght),PYn=new EG(rOn,1,Nht,Nht),TYn=new EG(iOn,2,dht,dht),OYn=new EG(cOn,3,Dht,Dht),SYn=new EG("NORTH_WEST_CORNER",4,Dht,ght),EYn=new EG("NORTH_EAST_CORNER",5,ght,dht),IYn=new EG("SOUTH_WEST_CORNER",6,Nht,Dht),CYn=new EG("SOUTH_EAST_CORNER",7,dht,Nht)}function Qpn(n){var t,e,i,r,c;for(r=new dv,t=new TF((!n.a&&(n.a=new aB(ult,n,10,11)),n.a)),i=new F_(wN(Jdn(n).a.Kc(),new h));Bwn(i);)sL(d2((!(e=JR(MJ(i),74)).b&&(e.b=new yx(nlt,e,4,7)),e.b),0),193)||(c=Bsn(JR(d2((!e.c&&(e.c=new yx(nlt,e,5,8)),e.c),0),84)),t.a._b(c)||r.a.zc(c,r));return r}function Jpn(){Jpn=E,kat=a8(uM(Jdt,1),kCn,28,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),i.Math.pow(2,-65)}function Ypn(){var n,t;for(Ypn=E,KGn=tZ(_Gn,HSn,92,32,0,1),FGn=tZ(_Gn,HSn,92,32,0,1),n=1,t=0;t<=18;t++)KGn[t]=(bvn(),G7(n,0)>=0?tin(n):YB(tin(v1(n)))),FGn[t]=VI(N_(n,t),0)?tin(N_(n,t)):YB(tin(v1(N_(n,t)))),n=Ltn(n,5);for(;t=h&&(s=r);s&&(f=i.Math.max(f,s.a.o.a)),f>b&&(l=h,b=f)}return l}function rmn(n,t,e){var i,r,c,a,o;if(!mW(t)){for((o=e.eh((sL(t,16)?JR(t,16).gc():JW(t.Kc()))/n.a|0)).Ug(UDn,1),a=new za,c=null,r=t.Kc();r.Ob();)i=JR(r.Pb(),40),a=f3(a8(uM(bUn,1),kSn,20,0,[a,new qg(i)])),c&&(A8(c,(Ojn(),Dnt),i),A8(i,Ent,c),rY(i)==rY(c)&&(A8(c,xnt,i),A8(i,Snt,c))),c=i;o.Vg(),rmn(n,a,e)}}function cmn(n,t){var e;switch(e=null,t.g){case 1:n.e.pf((XEn(),Zot))&&(e=JR(n.e.of(Zot),256));break;case 3:n.e.pf((XEn(),nut))&&(e=JR(n.e.of(nut),256));break;case 2:n.e.pf((XEn(),Yot))&&(e=JR(n.e.of(Yot),256));break;case 4:n.e.pf((XEn(),tut))&&(e=JR(n.e.of(tut),256))}return!e&&(e=JR(n.e.of((XEn(),Qot)),256)),e}function amn(n,t,e){var r,c,a,o,u,s;for(c=e,a=0,u=new mw(t);u.a$xn?_A(s,n.b):r<=$xn&&r>Dxn?_A(s,n.d):r<=Dxn&&r>xxn?_A(s,n.c):r<=xxn&&_A(s,n.a),a=amn(n,s,a);return c}function omn(n,t,e,i){var r,c,a,o,u;for(r=(i.c+i.a)/2,UG(t.j),HK(t.j,r),UG(e.e),HK(e.e,r),u=new VM,a=new mw(n.f);a.a1&&(i=new DC(r,e.b),HK(t.a,i)),C3(t.a,a8(uM(Mat,1),HSn,8,0,[f,h]))}function bmn(n,t,e){var i,r;for(t=48;e--)ldt[e]=e-48<<24>>24;for(i=70;i>=65;i--)ldt[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)ldt[r]=r-97+10<<24>>24;for(c=0;c<10;c++)bdt[c]=48+c&OPn;for(n=10;n<=15;n++)bdt[n]=65+n-10&OPn}function gmn(n){var t,e,i,r,c;if(!n.c){if(c=new ks,null==(t=Ubt).a.zc(n,t)){for(i=new XL(cQ(n));i.e!=i.i.gc();)sL(r=Gkn(e=JR(Urn(i),89)),90)&&oH(c,gmn(JR(r,29))),bZ(c,e);t.a.Bc(n),t.a.gc()}(function(n){var t,e,i,r;for(e=JR(n.g,689),i=n.i-1;i>=0;--i)for(t=e[i],r=0;r>19)return"-"+mmn(P8(n));for(e=n,i="";0!=e.l||0!=e.m||0!=e.h;){if(e=uTn(e,IJ(fCn),!0),t=""+cT(GUn),0!=e.l||0!=e.m||0!=e.h)for(r=9-t.length;r>0;r--)t="0"+t;i=t+i}return i}function vmn(n,t,e,r){var c,a,o,u;if(JW((mR(),new F_(wN(Ktn(t).a.Kc(),new h))))>=n.a)return-1;if(!jsn(t,e))return-1;if(mW(JR(r.Kb(t),20)))return 1;for(c=0,o=JR(r.Kb(t),20).Kc();o.Ob();){if(-1==(u=vmn(n,(a=JR(o.Pb(),18)).c.i==t?a.d.i:a.c.i,e,r)))return-1;if((c=i.Math.max(c,u))>n.c-1)return-1}return c+1}function kmn(n,t){var e,i,r,c,a,o;if(UI(t)===UI(n))return!0;if(!sL(t,15))return!1;if(i=JR(t,15),o=n.gc(),i.gc()!=o)return!1;if(a=i.Kc(),n.Yi()){for(e=0;e0)if(n._j(),null!=t){for(c=0;c0&&(n.a=o+(l-1)*r,t.c.b+=n.a,t.f.b+=n.a),0!=b.a.gc()&&(l=_Tn(new lH(1,r),t,b,w,t.f.b+o-t.c.b))>0&&(t.f.b+=o+(l-1)*r)}(n,t,r),function(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j;for(v=new Mm,f=new mw(n.b);f.a>24;case 97:case 98:case 99:case 100:case 101:case 102:return n-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return n-65+10<<24>>24;default:throw Lm(new eM("Invalid hexadecimal"))}}function jmn(){jmn=E,fXn=new jS("SPIRAL",0),aXn=new jS("LINE_BY_LINE",1),oXn=new jS("MANHATTAN",2),cXn=new jS("JITTER",3),sXn=new jS("QUADRANTS_LINE_BY_LINE",4),hXn=new jS("QUADRANTS_MANHATTAN",5),uXn=new jS("QUADRANTS_JITTER",6),rXn=new jS("COMBINE_LINE_BY_LINE_MANHATTAN",7),iXn=new jS("COMBINE_JITTER_MANHATTAN",8)}function Emn(n,t,e,i){var r,c,a,o,u,s;for(u=Eun(n,e),s=Eun(t,e),r=!1;u&&s&&(i||ron(u,s,e));)a=Eun(u,e),o=Eun(s,e),S1(t),S1(n),c=u.c,gTn(u,!1),gTn(s,!1),e?(Ton(t,s.p,c),t.p=s.p,Ton(n,u.p+1,c),n.p=u.p):(Ton(n,u.p,c),n.p=u.p,Ton(t,s.p+1,c),t.p=s.p),uz(u,null),uz(s,null),u=a,s=o,r=!0;return r}function Smn(n){switch(n.g){case 0:return new al;case 1:return new rl;case 3:return new CE;case 4:return new Sc;case 5:return new tx;case 6:return new cl;case 2:return new il;case 7:return new Jf;case 8:return new Zf;default:throw Lm(new Cy("No implementation is available for the layerer "+(null!=n.f?n.f:""+n.g)))}}function Pmn(n,t,e,i){var r,c,a,o,u;for(r=!1,c=!1,o=new mw(i.j);o.a=t.length)throw Lm(new jy("Greedy SwitchDecider: Free layer not in graph."));this.c=t[n],this.e=new Rx(i),O4(this.e,this.c,($jn(),Dht)),this.i=new Rx(i),O4(this.i,this.c,dht),this.f=new EF(this.c),this.a=!c&&r.i&&!r.s&&this.c[0].k==(Yhn(),aQn),this.a&&function(n,t,e){var i,r,c,a,o,u,s;o=(c=n.d.p).e,u=c.r,n.g=new Rx(u),i=(a=n.d.o.c.p)>0?o[a-1]:tZ(fQn,JAn,10,0,0,1),r=o[a],s=ar.d.d+r.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))),i.b!=i.d.c&&(t=e);f&&(c=JR(RH(n.f,a.d.i),60),t.bc.d.d+c.d.a?f.f.d=!0:(f.f.d=!0,f.f.a=!0))}for(o=new F_(wN(Ftn(b).a.Kc(),new h));Bwn(o);)0!=(a=JR(MJ(o),18)).a.b&&(t=JR(f$(a.a),8),a.d.j==($jn(),ght)&&((g=new Vyn(t,new DC(t.a,r.d.d),r,a)).f.a=!0,g.a=a.d,Km(d.c,g)),a.d.j==Nht&&((g=new Vyn(t,new DC(t.a,r.d.d+r.d.a),r,a)).f.d=!0,g.a=a.d,Km(d.c,g)))}return d}(n);break;case 3:r=new Mm,Yj(oG(uG(r0(r0(new PF(null,new Kz(n.d.b,16)),new Or),new Ar),new Lr),new pr),new eg(r)),e=r;break;default:throw Lm(new Iy("Compaction not supported for "+t+" edges."))}(function(n,t){var e,r,c,a,o,u,s;if(0!=t.c.length){for(eq(),YF(t.c,t.c.length,null),r=JR(Xz(c=new mw(t)),154);c.a0&&t0?c.a?e>(o=c.b.Mf().a)&&(r=(e-o)/2,c.d.b=r,c.d.c=r):c.d.c=n.s+e:tB(n.u)&&((i=zsn(c.b)).c<0&&(c.d.b=-i.c),i.c+i.b>c.b.Mf().a&&(c.d.c=i.c+i.b-c.b.Mf().a))}(n,t),c=null,s=null,u){for(s=c=JR((a=o.Kc()).Pb(),117);a.Ob();)s=JR(a.Pb(),117);c.d.b=0,s.d.c=0,f&&!c.a&&(c.d.c=0)}l&&(function(n){var t,e,r,c,a;for(t=0,e=0,a=n.Kc();a.Ob();)r=JR(a.Pb(),117),t=i.Math.max(t,r.d.b),e=i.Math.max(e,r.d.c);for(c=n.Kc();c.Ob();)(r=JR(c.Pb(),117)).d.b=t,r.d.c=e}(o),u&&(c.d.b=0,s.d.c=0))}function Umn(n,t){var e,r,c,a,o,u,s,h,f,l;if(o=JR(JR(RJ(n.r,t),21),87),u=n.u.Hc((lbn(),fht)),e=n.u.Hc(uht),r=n.u.Hc(oht),s=n.u.Hc(lht),l=n.B.Hc((Yvn(),ift)),h=!e&&!r&&(s||2==o.gc()),function(n,t){var e,r,c,a,o,u,s;for(u=JR(JR(RJ(n.r,t),21),87).Kc();u.Ob();)(r=(o=JR(u.Pb(),117)).c?FK(o.c):0)>0?o.a?r>(s=o.b.Mf().b)&&(n.v||1==o.c.d.c.length?(a=(r-s)/2,o.d.d=a,o.d.a=a):(e=(JR(bF(o.c.d,0),187).Mf().b-s)/2,o.d.d=i.Math.max(0,e),o.d.a=r-e-s)):o.d.a=n.t+r:tB(n.u)&&((c=zsn(o.b)).d<0&&(o.d.d=-c.d),c.d+c.a>o.b.Mf().b&&(o.d.a=c.d+c.a-o.b.Mf().b))}(n,t),f=null,c=null,u){for(c=f=JR((a=o.Kc()).Pb(),117);a.Ob();)c=JR(a.Pb(),117);f.d.d=0,c.d.a=0,h&&!f.a&&(f.d.a=0)}l&&(function(n){var t,e,r,c,a;for(e=0,t=0,a=n.Kc();a.Ob();)r=JR(a.Pb(),117),e=i.Math.max(e,r.d.d),t=i.Math.max(t,r.d.a);for(c=n.Kc();c.Ob();)(r=JR(c.Pb(),117)).d.d=e,r.d.a=t}(o),u&&(f.d.d=0,c.d.a=0))}function Gmn(n,t,e){var i,r,c,a,o;if(i=t.k,t.p>=0)return!1;if(t.p=e.b,AL(e.e,t),i==(Yhn(),uQn)||i==hQn)for(r=new mw(t.j);r.an.d[o.p]&&(e+=YQ(n.b,c),MW(n.a,ann(c))):++a;for(e+=n.b.d*a;!By(n.a);)a0(n.b,JR(OB(n.a),17).a)}return e}function Qmn(n){var t,e,i,r,c,a;return c=0,(t=zon(n)).kk()&&(c|=4),n.Bb&rBn&&(c|=2),sL(n,102)?(r=Rcn(e=JR(n,19)),e.Bb&qKn&&(c|=32),r&&(DH(BX(r)),c|=8,((a=r.t)>1||-1==a)&&(c|=16),r.Bb&qKn&&(c|=64)),e.Bb&MCn&&(c|=cBn),c|=sPn):sL(t,469)?c|=512:(i=t.kk())&&1&i.i&&(c|=256),512&n.Bb&&(c|=128),c}function Jmn(n){var t,e,i,r,c,a,o,u,s,h,f,l;for(f=-1,l=0,s=0,h=(u=n).length;s0&&++l;++f}return l}function Ymn(n){var t,e,i,r,c,a,o;for(o=new ym,i=new mw(n.a.b);i.a=n.o)throw Lm(new Hv);a=t>>5,c=N_(1,y_(N_(31&t,1))),n.n[e][a]=r?Uz(n.n[e][a],c):Hz(n.n[e][a],fK(c)),c=N_(c,1),n.n[e][a]=i?Uz(n.n[e][a],c):Hz(n.n[e][a],fK(c))}catch(i){throw sL(i=X5(i),333)?Lm(new jy(uOn+n.o+"*"+n.p+sOn+t+mSn+e+hOn)):Lm(i)}}function evn(n,t,e,r){var c,a;t&&(c=my(z$(ghn(t,(Ojn(),Nnt))))+r,a=e+my(z$(ghn(t,Pnt)))/2,A8(t,Knt,ann(y_(p5(i.Math.round(c))))),A8(t,Fnt,ann(y_(p5(i.Math.round(a))))),0==t.d.b||evn(n,JR(fL(new Xg($rn(new qg(t).a.d,0))),40),e+my(z$(ghn(t,Pnt)))+n.b,r+my(z$(ghn(t,Ont)))),null!=ghn(t,xnt)&&evn(n,JR(ghn(t,xnt),40),e,r))}function ivn(n){var t,e,i;return 64&n.Db?cfn(n):(t=new kN(DKn),(e=n.k)?rO(rO((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new aB(olt,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new aB(olt,n,1,7)),JR(d2(n.n,0),135)).a)||rO(rO((t.a+=' "',t),i),'"'))),rO(bT(rO(bT(rO(bT(rO(bT((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function rvn(n){var t,e,i;return 64&n.Db?cfn(n):(t=new kN(xKn),(e=n.k)?rO(rO((t.a+=' "',t),e),'"'):(!n.n&&(n.n=new aB(olt,n,1,7)),n.n.i>0&&(!(i=(!n.n&&(n.n=new aB(olt,n,1,7)),JR(d2(n.n,0),135)).a)||rO(rO((t.a+=' "',t),i),'"'))),rO(bT(rO(bT(rO(bT(rO(bT((t.a+=" (",t),n.i),","),n.j)," | "),n.g),","),n.f),")"),t.a)}function cvn(n,t){var e,i,r,c,a,o;if(null==t||0==t.length)return null;if(!(r=JR(rX(n.a,t),143))){for(i=new sw(new uw(n.b).a.vc().Kc());i.a.Ob();)if(c=JR(i.a.Pb(),44),a=(e=JR(c.md(),143)).c,o=t.length,Cx(a.substr(a.length-o,o),t)&&(t.length==a.length||46==rG(a,a.length-t.length-1))){if(r)return null;r=e}r&&az(n.a,t,r)}return r}function avn(n){var t,e,i;b$(n,(LEn(),y6n))&&((i=JR(ghn(n,y6n),21)).dc()||(e=new Wx(t=JR(rT(Jst),9),JR(qD(t,t.length),9),0),i.Hc((ldn(),Fst))?M4(e,Fst):M4(e,_st),i.Hc(Rst)||M4(e,Rst),i.Hc(xst)?M4(e,Ust):i.Hc(Dst)?M4(e,Hst):i.Hc(Kst)&&M4(e,Bst),i.Hc(Ust)?M4(e,xst):i.Hc(Hst)?M4(e,Dst):i.Hc(Bst)&&M4(e,Kst),A8(n,y6n,e)))}function ovn(n){var t,e,i,r,c,a,o;for(r=JR(ghn(n,(qEn(),B1n)),10),xz(0,(i=n.j).c.length),e=JR(i.c[0],12),a=new mw(r.j);a.ar.p?(Yln(c,Nht),c.d&&(o=c.o.b,t=c.a.b,c.a.b=o-t)):c.j==Nht&&r.p>n.p&&(Yln(c,ght),c.d&&(o=c.o.b,t=c.a.b,c.a.b=-(o-t)));break}return r}function uvn(n,t,e,i,r){var c,a,o,u,s,h,f;if(!(sL(t,207)||sL(t,366)||sL(t,193)))throw Lm(new Cy("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return a=n.a/2,u=t.i+i-a,h=t.j+r-a,s=u+t.g+n.a,f=h+t.f+n.a,HK(c=new ek,new DC(u,h)),HK(c,new DC(u,f)),HK(c,new DC(s,f)),HK(c,new DC(s,h)),y5(o=new zwn(c),t),e&&DU(n.b,t,o),o}function svn(n,t,e){var i,r,c,a,o,u,s,h;for(c=new DC(t,e),s=new mw(n.a);s.a1)for(o=P+1;ou.b.e.b*(1-g)+u.c.e.b*g));b++);if(y.gc()>0){if(C=0==u.a.b?cL(u.b.e):JR(f$(u.a),8),m=hx(cL(JR(y.Xb(y.gc()-1),40).e),JR(y.Xb(y.gc()-1),40).f),f=hx(cL(JR(y.Xb(0),40).e),JR(y.Xb(0),40).f),b>=y.gc()-1&&C.b>m.b&&u.c.e.b>m.b)continue;if(b<=0&&C.bu.b.e.a*(1-g)+u.c.e.a*g));b++);if(y.gc()>0){if(C=0==u.a.b?cL(u.b.e):JR(f$(u.a),8),m=hx(cL(JR(y.Xb(y.gc()-1),40).e),JR(y.Xb(y.gc()-1),40).f),f=hx(cL(JR(y.Xb(0),40).e),JR(y.Xb(0),40).f),b>=y.gc()-1&&C.a>m.a&&u.c.e.a>m.a)continue;if(b<=0&&C.a=my(z$(ghn(n,(Ojn(),Mnt))))&&++E):(l.f&&l.d.e.a<=my(z$(ghn(n,(Ojn(),ynt))))&&++j,l.g&&l.c.e.a+l.c.f.a>=my(z$(ghn(n,(Ojn(),knt))))&&++E)}else 0==v?pbn(u):v<0&&(++T[P],++d[I],j=JR((S=KEn(u,t,n,new uI(ann(j),ann(E)),e,i,new uI(ann(d[I]),ann(T[P])))).a,17).a,E=JR(S.b,17).a)}(n,u,a,o),function(n,t,e,r){var c,a,o,u,s,h,f,l,b,w,d;for(l=$rn(n.b,0);l.b!=l.d.c;)if(!Cx((f=JR(kW(l),40)).c,RDn))for(a=JR(MQ(new PF(null,new Kz(_bn(f,n),16)),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[(o7(),Tqn)]))),15),t==(Xnn(),Xut)||t==zut?a.jd(new oo):a.jd(new uo),d=a.gc(),c=0;c0&&(u=JR(f$(JR(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=JR(f$(JR(a.Xb(c),65).a),8).b,w=f.e.b+f.f.b/2,r>0&&i.Math.abs(s-w)/(i.Math.abs(u-b)/40)>50&&lO(JR(a.Xb(c),65).a,new DC(f.e.a+f.f.a+r/5.3,w>s?f.e.b+f.f.b*o-r/2:f.e.b+f.f.b*o+r/2))),lO(JR(a.Xb(c),65).a,new DC(f.e.a+f.f.a,f.e.b+f.f.b*o))):t==zut?(h=my(z$(ghn(f,(Ojn(),Int)))),f.e.a-r>h?lO(JR(a.Xb(c),65).a,new DC(h-e,f.e.b+f.f.b*o)):JR(a.Xb(c),65).a.b>0&&(u=JR(f$(JR(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=JR(f$(JR(a.Xb(c),65).a),8).b,w=f.e.b+f.f.b/2,r>0&&i.Math.abs(s-w)/(i.Math.abs(u-b)/40)>50&&lO(JR(a.Xb(c),65).a,new DC(f.e.a-r/5.3,w>s?f.e.b+f.f.b*o-r/2:f.e.b+f.f.b*o+r/2))),lO(JR(a.Xb(c),65).a,new DC(f.e.a,f.e.b+f.f.b*o))):t==Wut?(h=my(z$(ghn(f,(Ojn(),Cnt)))),f.e.b+f.f.b+r0&&(u=JR(f$(JR(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=JR(f$(JR(a.Xb(c),65).a),8).b,w=f.e.b+f.f.b/2,r>0&&i.Math.abs(u-b)/(i.Math.abs(s-w)/40)>50&&lO(JR(a.Xb(c),65).a,new DC(b>u?f.e.a+f.f.a*o-r/2:f.e.a+f.f.a*o+r/2,f.e.b+r/5.3+f.f.b))),lO(JR(a.Xb(c),65).a,new DC(f.e.a+f.f.a*o,f.e.b+f.f.b))):(h=my(z$(ghn(f,(Ojn(),Int)))),f9(JR(a.Xb(c),65),n)?lO(JR(a.Xb(c),65).a,new DC(f.e.a+f.f.a*o,JR(f$(JR(a.Xb(c),65).a),8).b)):f.e.b-r>h?lO(JR(a.Xb(c),65).a,new DC(f.e.a+f.f.a*o,h-e)):JR(a.Xb(c),65).a.b>0&&(u=JR(f$(JR(a.Xb(c),65).a),8).a,b=f.e.a+f.f.a/2,s=JR(f$(JR(a.Xb(c),65).a),8).b,w=f.e.b+f.f.b/2,r>0&&i.Math.abs(u-b)/(i.Math.abs(s-w)/40)>50&&lO(JR(a.Xb(c),65).a,new DC(b>u?f.e.a+f.f.a*o-r/2:f.e.a+f.f.a*o+r/2,f.e.b-r/5.3))),lO(JR(a.Xb(c),65).a,new DC(f.e.a+f.f.a*o,f.e.b)))}(n,u,a,o),r=$rn(n.a,0);r.b!=r.d.c;)(e=JR(kW(r),65)).a.b<2&&pbn(e);t.Vg()}function Mvn(n){switch(n.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return JR(Opn(n),17).a==n.o;case 1:case 2:if(-2==n.o)return!1;switch(n.p){case 0:case 1:case 2:case 6:case 5:case 7:return zI(n.k,n.f);case 3:case 4:return n.j==n.e;default:return null==n.n?null==n.g:Enn(n.n,n.g)}default:return!1}}function Tvn(n,t){var e,r,c;switch(t.Ug("Breaking Point Insertion",1),r=new qwn(n),JR(ghn(n,(LEn(),D5n)),351).g){case 2:c=new kc;break;case 0:c=new hc;break;default:c=new yc}if(e=c.og(n,r),py(X$(ghn(n,R5n)))&&(e=function(n,t){var e,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y;for(b=new Mm,c=new Mm,g=null,o=t.Kc();o.Ob();)a=new pg(JR(o.Pb(),17).a),Km(c.c,a),g&&(a.d=g,g.e=a),g=a;for(k=function(n){var t,e,i,r,c,a,o,u,s;for(s=tZ(Wdt,GPn,28,n.b.c.length+1,15,1),u=new dv,i=0,c=new mw(n.b);c.a1&&(i=new DC(r,e.b),HK(t.a,i)),C3(t.a,a8(uM(Mat,1),HSn,8,0,[f,h]))}function Cvn(){Cvn=E,C8n=new IP(_An,0),T8n=new IP("NIKOLOV",1),S8n=new IP("NIKOLOV_PIXEL",2),j8n=new IP("NIKOLOV_IMPROVED",3),E8n=new IP("NIKOLOV_IMPROVED_PIXEL",4),k8n=new IP("DUMMYNODE_PERCENTAGE",5),P8n=new IP("NODECOUNT_PERCENTAGE",6),I8n=new IP("NO_BOUNDARY",7),y8n=new IP("MODEL_ORDER_LEFT_TO_RIGHT",8),M8n=new IP("MODEL_ORDER_RIGHT_TO_LEFT",9)}function Ivn(){Ivn=E,uet=new EO(pxn,(UN(),!1)),det=new EO(mxn,ann(0)),get=new EO(vxn,0),pet=new EO(kxn,!1),c7(),het=new EO(yxn,fet=iet),ann(0),set=new EO(Mxn,ann(1)),_6(),yet=new EO(Txn,Met=Yet),LZ(),Tet=new EO(jxn,jet=net),jan(),bet=new EO(Exn,wet=Vet),ket=new EO(Sxn,0),met=new EO(Pxn,!1),vet=new EO(Cxn,!1)}function Ovn(n,t,e){var i,r,c,a,o,u;if(t){if(e<=-1){if(sL(i=F0(t.Dh(),-1-e),102))return JR(i,19);for(o=0,u=(a=JR(t.Mh(i),160)).gc();o=40)&&function(n){var t,e,i,r,c,a,o;for(n.o=new GL,i=new Gj,a=new mw(n.e.a);a.a0,o=Ztn(t,c),DN(e?o.b:o.g,t),1==h7(o).c.length&&vQ(i,o,i.c.b,i.c),r=new uI(c,t),MW(n.o,r),g1(n.e.a,c))}(n),function(n){var t,e,i,r,c,a,o,u,s,h;for(s=n.e.a.c.length,c=new mw(n.e.a);c.a0&&HK(n.f,c)):(n.c[a]-=s+1,n.c[a]<=0&&n.a[a]>0&&HK(n.e,c))))}function Wvn(n,t,e,i){var r,c,a,o,u,s,h;for(fx(u=new DC(e,i),JR(ghn(t,(Ojn(),wnt)),8)),h=$rn(t.b,0);h.b!=h.d.c;)hx((s=JR(kW(h),40)).e,u),HK(n.b,s);for(o=JR(MQ(UX(new PF(null,new Kz(t.a,16))),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[(o7(),Tqn)]))),15).Kc();o.Ob();){for(c=$rn((a=JR(o.Pb(),65)).a,0);c.b!=c.d.c;)(r=JR(kW(c),8)).a+=u.a,r.b+=u.b;HK(n.a,a)}}function Qvn(n,t){var e,i,r,c;if(0<(sL(n,16)?JR(n,16).gc():JW(n.Kc()))){if(1<(r=t)){for(--r,c=new Ea,i=n.Kc();i.Ob();)e=JR(i.Pb(),40),c=f3(a8(uM(bUn,1),kSn,20,0,[c,new qg(e)]));return Qvn(c,r)}if(r<0){for(c=new Sa,i=n.Kc();i.Ob();)e=JR(i.Pb(),40),c=f3(a8(uM(bUn,1),kSn,20,0,[c,new qg(e)]));if(0<(sL(c,16)?JR(c,16).gc():JW(c.Kc())))return Qvn(c,r)}}return JR(fL(n.Kc()),40)}function Jvn(n,t,e){var i,r,c,a;for(e.Ug("Processor order nodes",2),n.b=my(z$(ghn(t,(hyn(),vtt)))),n.a=JR(ghn(t,Znt),88),n.a==(Xnn(),Vut)&&(n.a=qut,A8(t,Znt,n.a)),r=new Gj,a=$rn(t.b,0);a.b!=a.d.c;)py(X$(ghn(c=JR(kW(a),40),(Ojn(),Rnt))))&&vQ(r,c,r.c.b,r.c);J$(0!=r.b),_Mn(n,i=JR(r.a.a.c,40)),e.fh(1),evn(n,i,0-my(z$(ghn(i,(Ojn(),Pnt))))/2,0),e.fh(1),e.Vg()}function Yvn(){Yvn=E,Jht=new YC("DEFAULT_MINIMUM_SIZE",0),Zht=new YC("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),Qht=new YC("COMPUTE_PADDING",2),nft=new YC("OUTSIDE_NODE_LABELS_OVERHANG",3),tft=new YC("PORTS_OVERHANG",4),ift=new YC("UNIFORM_PORT_SPACING",5),eft=new YC("SPACE_EFFICIENT_PORT_LABELS",6),Yht=new YC("FORCE_TABULAR_NODE_LABELS",7),Wht=new YC("ASYMMETRICAL",8)}function Zvn(n,t){var e,i,r,c,a,o,u,s;if(t){if(e=(c=t.Dh())?h2(c).wi().si(c):null){for(Irn(n,t,e),u=0,s=(null==(r=t.Dh()).i&&dyn(r),r.i).length;u=0&&u0&&(Rz(0,n.length),45==n.charCodeAt(0)||(Rz(0,n.length),43==n.charCodeAt(0)))?1:0;ie)throw Lm(new eM(gCn+n+'"'));return a}function akn(n){switch(n){case 100:return ZEn(UHn,!0);case 68:return ZEn(UHn,!1);case 119:return ZEn(GHn,!0);case 87:return ZEn(GHn,!1);case 115:return ZEn(qHn,!0);case 83:return ZEn(qHn,!1);case 99:return ZEn(XHn,!0);case 67:return ZEn(XHn,!1);case 105:return ZEn(zHn,!0);case 73:return ZEn(zHn,!1);default:throw Lm(new Jk(HHn+n.toString(16)))}}function okn(n,t,e,i,r){e&&(!i||(n.c-n.b&n.a.length-1)>1)&&1==t&&JR(n.a[n.b],10).k==(Yhn(),oQn)?Wyn(JR(n.a[n.b],10),(yon(),Ist)):i&&(!e||(n.c-n.b&n.a.length-1)>1)&&1==t&&JR(n.a[n.c-1&n.a.length-1],10).k==(Yhn(),oQn)?Wyn(JR(n.a[n.c-1&n.a.length-1],10),(yon(),Ost)):2==(n.c-n.b&n.a.length-1)?(Wyn(JR(X8(n),10),(yon(),Ist)),Wyn(JR(X8(n),10),Ost)):function(n,t){var e,i,r,c,a,o,u,s,h;for(u=n$(n.c-n.b&n.a.length-1),s=null,h=null,c=new eG(n);c.a!=c.b;)r=JR(x7(c),10),e=(o=JR(ghn(r,(qEn(),z1n)),12))?o.i:null,i=(a=JR(ghn(r,V1n),12))?a.i:null,s==e&&h==i||(Mwn(u,t),s=e,h=i),Km(u.c,r);Mwn(u,t)}(n,r),iQ(n)}function ukn(n,t,e){var i,r,c,a;if(t[0]>=n.length)return e.o=0,!0;switch(rG(n,t[0])){case 43:r=1;break;case 45:r=-1;break;default:return e.o=0,!0}if(++t[0],c=t[0],0==(a=Nbn(n,t))&&t[0]==c)return!1;if(t[0]1)for(i=new mw(r);i.a0&&(t.Cd(e),e.i&&utn(e))}(r=upn(n,t),(a=JR(Yrn(r,0),219)).c.kg()?a.c.eg()?new kg(n):new yg(n):new vg(n)),function(n){var t,e,i;for(i=new mw(n.b);i.a=0&&o!=e&&(c=new oB(n,1,o,a,null),i?i.nj(c):i=c),e>=0&&(c=new oB(n,1,e,o==e?a:null,t),i?i.nj(c):i=c)),i}function bkn(n){var t,e,i;if(null==n.b){if(i=new Qy,null!=n.i&&(tO(i,n.i),i.a+=":"),256&n.f){for(256&n.f&&null!=n.a&&(function(n){return null!=n&&Aj(Klt,n.toLowerCase())}(n.i)||(i.a+="//"),tO(i,n.a)),null!=n.d&&(i.a+="/",tO(i,n.d)),16&n.f&&(i.a+="/"),t=0,e=n.j.length;t>>31;0!=i&&(n[e]=i)}(e,e,t<<1),i=0,r=0,a=0;rs)&&(u+o+sMn(i,s,!1).a<=t.b&&(SZ(e,c-e.s),e.c=!0,SZ(i,c-e.s),Lcn(i,e.s,e.t+e.d+o),i.k=!0,A6(e.q,i),h=!0,r&&(E3(t,i),i.j=t,n.c.length>a&&(Hon((xz(a,n.c.length),JR(n.c[a],186)),i),0==(xz(a,n.c.length),JR(n.c[a],186)).a.c.length&&BJ(n,a)))),h)}function mkn(n,t,e){var i,r,c,a,o;if(0==t.p){for(t.p=1,(r=e)||(r=new uI(new Mm,new Wx(i=JR(rT(zht),9),JR(qD(i,i.length),9),0))),JR(r.a,15).Fc(t),t.k==(Yhn(),aQn)&&JR(r.b,21).Fc(JR(ghn(t,(qEn(),N1n)),64)),a=new mw(t.j);a.a0)if(r=JR(n.Ab.g,2033),null==t){for(c=0;ce.s&&u=0&&s>=0&&ua)return $jn(),dht;break;case 4:case 3:if(h<0)return $jn(),ght;if(h+e>c)return $jn(),Nht}return(u=(s+o/2)/a)+(i=(h+e/2)/c)<=1&&u-i<=0?($jn(),Dht):u+i>=1&&u-i>=0?($jn(),dht):i<.5?($jn(),ght):($jn(),Nht)}function Ckn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b;for(e=!1,u=my(z$(ghn(t,(LEn(),v5n)))),l=mPn*u,r=new mw(t.b);r.aa.n.b-a.d.d+h.a+l&&(b=s.g+h.g,h.a=(h.g*h.a+s.g*s.a)/b,h.g=b,s.f=h,e=!0)),c=a,s=h;return e}function Ikn(n,t,e,i,r,c,a){var o,u,s,h,f;for(f=new nA,u=t.Kc();u.Ob();)for(h=new mw(JR(u.Pb(),853).Rf());h.an.b/2+t.b/2||(c=i.Math.abs(n.d+n.a/2-(t.d+t.a/2)))>n.a/2+t.a/2?1:0==e&&0==c?0:0==e?a/c+1:0==c?r/e+1:i.Math.min(r/e,a/c)+1}function Lkn(n,t){var e,i,r,c,a,o,u;for(c=0,o=0,u=0,r=new mw(n.f.e);r.a0&&n.d!=(X1(),fWn)&&(o+=a*(i.d.a+n.a[t.a][i.a]*(t.d.a-i.d.a)/e)),e>0&&n.d!=(X1(),sWn)&&(u+=a*(i.d.b+n.a[t.a][i.a]*(t.d.b-i.d.b)/e)));switch(n.d.g){case 1:return new DC(o/c,t.d.b);case 2:return new DC(t.d.a,u/c);default:return new DC(o/c,u/c)}}function Nkn(n){var t,e,i,r,c;for(AL(c=new dY((!n.a&&(n.a=new NL(Jft,n,5)),n.a).i+2),new DC(n.j,n.k)),Yj(new PF(null,(!n.a&&(n.a=new NL(Jft,n,5)),new Kz(n.a,16))),new pp(c)),AL(c,new DC(n.b,n.c)),t=1;t0&&(T8(u,!1,(Xnn(),Xut)),T8(u,!0,zut)),n2(t.g,new iP(n,e)),DU(n.g,t,e)}function xkn(){var n;for(xkn=E,fGn=a8(uM(Wdt,1),GPn,28,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),lGn=tZ(Wdt,GPn,28,37,15,1),bGn=a8(uM(Wdt,1),GPn,28,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),wGn=tZ(Jdt,kCn,28,37,14,1),n=2;n<=36;n++)lGn[n]=lX(i.Math.pow(n,fGn[n])),wGn[n]=Tun(zSn,lGn[n])}function Rkn(n){var t;if(1!=(!n.a&&(n.a=new aB(elt,n,6,6)),n.a).i)throw Lm(new Cy(MKn+(!n.a&&(n.a=new aB(elt,n,6,6)),n.a).i));return t=new ek,z5(JR(d2((!n.b&&(n.b=new yx(nlt,n,4,7)),n.b),0),84))&&z4(t,PEn(n,z5(JR(d2((!n.b&&(n.b=new yx(nlt,n,4,7)),n.b),0),84)),!1)),z5(JR(d2((!n.c&&(n.c=new yx(nlt,n,5,8)),n.c),0),84))&&z4(t,PEn(n,z5(JR(d2((!n.c&&(n.c=new yx(nlt,n,5,8)),n.c),0),84)),!0)),t}function Kkn(n,t){var e,i,r;for(r=!1,i=new F_(wN((t.d?n.a.c==(MX(),c7n)?Ftn(t.b):_tn(t.b):n.a.c==(MX(),r7n)?Ftn(t.b):_tn(t.b)).a.Kc(),new h));Bwn(i);)if(e=JR(MJ(i),18),(py(n.a.f[n.a.g[t.b.p].p])||sJ(e)||e.c.i.c!=e.d.i.c)&&!py(n.a.n[n.a.g[t.b.p].p])&&!py(n.a.n[n.a.g[t.b.p].p])&&(r=!0,Rj(n.b,n.a.g[Can(e,t.b).p])))return t.c=!0,t.a=e,t;return t.c=r,t.a=null,t}function Fkn(n,t,e){var i,r,c,a,o,u,s;if(0==(i=e.gc()))return!1;if(n.Pj())if(u=n.Qj(),Sen(n,t,e),a=1==i?n.Ij(3,null,e.Kc().Pb(),t,u):n.Ij(5,null,e,t,u),n.Mj()){for(o=i<100?null:new UM(i),c=t+i,r=t;r0){for(o=0;o>16==-15&&n.Cb.Yh()&&E1(new jZ(n.Cb,9,13,e,n.c,mcn(C1(JR(n.Cb,62)),n))):sL(n.Cb,90)&&n.Db>>16==-23&&n.Cb.Yh()&&(sL(t=n.c,90)||(JEn(),t=Abt),sL(e,90)||(JEn(),e=Abt),E1(new jZ(n.Cb,9,10,e,t,mcn(cQ(JR(n.Cb,29)),n)))))),n.c}function qkn(n,t,e){var i,r,c,a,o,u,s,h;for(e.Ug("Hyperedge merging",1),function(n,t){var e,i,r,c;for((c=JR(MQ(r0(r0(new PF(null,new Kz(t.b,16)),new Re),new Ke),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[(o7(),Tqn)]))),15)).Jc(new Fe),e=0,r=c.Kc();r.Ob();)-1==(i=JR(r.Pb(),12)).p&&edn(n,i,e++)}(n,t),o=new NV(t.b,0);o.b0&&(b.d+=f.n.d,b.d+=f.d),b.a>0&&(b.a+=f.n.a,b.a+=f.d),b.b>0&&(b.b+=f.n.b,b.b+=f.d),b.c>0&&(b.c+=f.n.c,b.c+=f.d),b}((_X(n)&&(_E(),new oy(_X(n))),_E(),new zN(_X(n)?new oy(_X(n)):null,n)),zut),a=JR(ghn(r,$6n),107),SX(e=r.d,a),SX(e,c),r}function Qkn(n,t){var e,r,c,a;return r=i.Math.abs(SB(n.b).a-SB(t.b).a),a=i.Math.abs(SB(n.b).b-SB(t.b).b),e=1,c=1,r>n.b.b/2+t.b.b/2&&(e=1-i.Math.min(i.Math.abs(n.b.c-(t.b.c+t.b.b)),i.Math.abs(n.b.c+n.b.b-t.b.c))/r),a>n.b.a/2+t.b.a/2&&(c=1-i.Math.min(i.Math.abs(n.b.d-(t.b.d+t.b.a)),i.Math.abs(n.b.d+n.b.a-t.b.d))/a),(1-i.Math.min(e,c))*i.Math.sqrt(r*r+a*a)}function Jkn(n){var t,e,r;for(yjn(n,n.e,n.f,(yX(),R7n),!0,n.c,n.i),yjn(n,n.e,n.f,R7n,!1,n.c,n.i),yjn(n,n.e,n.f,K7n,!0,n.c,n.i),yjn(n,n.e,n.f,K7n,!1,n.c,n.i),function(n,t,e,i,r){var c,a,o,u,s,h,f;for(a=new mw(t);a.a=w&&(m>w&&(b.c.length=0,w=m),Km(b.c,a));0!=b.c.length&&(l=JR(bF(b,Icn(t,b.c.length)),131),P.a.Bc(l),l.s=d++,Gdn(l,E,M),b.c.length=0)}for(k=n.c.length+1,o=new mw(n);o.aS.s&&(oU(e),g1(S.i,i),i.c>0&&(i.a=S,AL(S.t,i),i.b=T,AL(T.i,i)))})(n.i,JR(ghn(n.d,(qEn(),s0n)),234)),function(n){var t,e,r,c,a,o,u,s,h;for(s=new Gj,o=new Gj,c=new mw(n);c.a-1){for(r=$rn(o,0);r.b!=r.d.c;)(e=JR(kW(r),131)).v=a;for(;0!=o.b;)for(t=new mw((e=JR(Pon(o,0),131)).i);t.a=65;e--)hdt[e]=e-65<<24>>24;for(i=122;i>=97;i--)hdt[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)hdt[r]=r-48+52<<24>>24;for(hdt[43]=62,hdt[47]=63,c=0;c<=25;c++)fdt[c]=65+c&OPn;for(a=26,u=0;a<=51;++a,u++)fdt[a]=97+u&OPn;for(n=52,o=0;n<=61;++n,o++)fdt[n]=48+o&OPn;fdt[62]=43,fdt[63]=47}function nyn(n,t){var e,r,c,a,o,u;return(c=J4(n))==(u=J4(t))?n.e==t.e&&n.a<54&&t.a<54?n.ft.f?1:0:(r=n.e-t.e,(e=(n.d>0?n.d:i.Math.floor((n.a-1)*SCn)+1)-(t.d>0?t.d:i.Math.floor((t.a-1)*SCn)+1))>r+1?c:e0&&(o=BW(o,Xyn(r))),Fin(a,o))):cc)return $jn(),dht;break;case 4:case 3:if(u<0)return $jn(),ght;if(u+n.f>r)return $jn(),Nht}return(a=(o+n.g/2)/c)+(e=(u+n.f/2)/r)<=1&&a-e<=0?($jn(),Dht):a+e>=1&&a-e>=0?($jn(),dht):e<.5?($jn(),ght):($jn(),Nht)}function iyn(n){var t,e,i,r,c,a;if(WEn(),4!=n.e&&5!=n.e)throw Lm(new Cy("Token#complementRanges(): must be RANGE: "+n.e));for(Edn(c=n),GMn(c),i=c.b.length+2,0==c.b[0]&&(i-=2),(e=c.b[c.b.length-1])==BHn&&(i-=2),(r=new Qz(4)).b=tZ(Wdt,GPn,28,i,15,1),a=0,c.b[0]>0&&(r.b[a++]=0,r.b[a++]=c.b[0]-1),t=1;t0&&(Fb(u,u.d-r.d),r.c==(mY(),C7n)&&Rb(u,u.a-r.d),u.d<=0&&u.i>0&&vQ(t,u,t.c.b,t.c));for(c=new mw(n.f);c.a0&&(_b(o,o.i-r.d),r.c==(mY(),C7n)&&Kb(o,o.b-r.d),o.i<=0&&o.d>0&&vQ(e,o,e.c.b,e.c))}function ayn(n,t,e,i,r){var c,a,o,u,s,h,f;if(qj(),QB(n,"src"),QB(e,"dest"),f=s7(n),u=s7(e),sK(!!(4&f.i),"srcType is not an array"),sK(!!(4&u.i),"destType is not an array"),h=f.c,a=u.c,sK(1&h.i?h==a:!(1&a.i),"Array types don't match"),function(n,t,e,i,r){var c,a;if(a=n.length,c=e.length,t<0||i<0||r<0||t+r>a||i+r>c)throw Lm(new Qm)}(n,t,e,i,r),1&h.i||f==u)ewn(n,t,e,i,r,!0);else if(s=e3(n),c=e3(e),UI(n)===UI(e)&&ti;)FH(c,o,s[--t]);else for(o=i+r;iw&&(a&&(lO(M,b),lO(j,ann(h.b-1))),I=e.b,O+=b+t,b=0,f=i.Math.max(f,e.b+e.c+C)),_2(u,I),B2(u,O),f=i.Math.max(f,I+C+e.c),b=i.Math.max(b,l),I+=C+t;if(f=i.Math.max(f,r),(P=O+b+e.a)2*c?(h=new m2(f),s=DF(a)/$F(a),u=uEn(h,t,new Vv,e,i,r,s),hx(MO(h.e),u),f.c.length=0,c=0,Km(f.c,h),Km(f.c,a),c=DF(h)*$F(h)+DF(a)*$F(a)):(Km(f.c,a),c+=DF(a)*$F(a));return f}(o,t,f.a,f.b,(s=r,TU(c),s));break;case 1:w=function(n,t,e,i,r){var c,a,o,u,s,h,f,l,b;for(eq(),_A(n,new Bu),a=QR(n),b=new Mm,l=new Mm,o=null,u=0;0!=a.b;)c=JR(0==a.b?null:(J$(0!=a.b),c2(a,a.a.a)),163),!o||DF(o)*$F(o)/21&&(u>DF(o)*$F(o)/2||0==a.b)&&(f=new m2(l),h=DF(o)/$F(o),s=uEn(f,t,new Vv,e,i,r,h),hx(MO(f.e),s),o=f,Km(b.c,f),u=0,l.c.length=0));return J5(b,l),b}(o,t,f.a,f.b,(h=r,TU(c),h));break;default:w=function(n,t,e,i,r){var c,a,o,u,s,h,f,l,b;for(o=tZ(Zdt,jCn,28,n.c.length,15,1),Con(l=new K_(new Hu),n),s=0,b=new Mm;0!=l.b.c.length;)if(a=JR(0==l.b.c.length?null:bF(l.b,0),163),s>1&&DF(a)*$F(a)/2>o[0]){for(c=0;co[c];)++c;f=new m2(new jz(b,0,c+1)),h=DF(a)/$F(a),u=uEn(f,t,new Vv,e,i,r,h),hx(MO(f.e),u),uK(ehn(l,f),OCn),Con(l,new jz(b,c+1,b.c.length)),b.c.length=0,s=0,e_(o,o.length,0)}else null!=(0==l.b.c.length?null:bF(l.b,0))&&P4(l,0),s>0&&(o[s]=o[s-1]),o[s]+=DF(a)*$F(a),++s,Km(b.c,a);return b}(o,t,f.a,f.b,(u=r,TU(c),u))}Fjn(n,(b=uEn(new m2(w),t,e,f.a,f.b,r,(TU(c),c))).a,b.b,!1,!0)}(n,c,a,e),t.Vg()}function uyn(n,t,e,i,r){var c,a,o,u,s,h,f,l,b;for(f=function(n,t){var e,i,r;for(r=new NV(n.e,0),e=0;r.bIDn)return e;i>-1e-6&&++e}return e}(n,e),o=0;o0),i.a.Xb(i.c=--i.b),h>f+o&&oU(i);for(c=new mw(l);c.a0),i.a.Xb(i.c=--i.b)}}function syn(n,t){var e,i,r,c,a,o,u,s;for(e=new RegExp(t,"g"),u=tZ(CGn,HSn,2,0,6,1),i=0,s=n,c=null;;){if(null==(o=e.exec(s))||""==s){u[i]=s;break}a=o.index,u[i]=(aZ(0,a,s.length),s.substr(0,a)),s=Gq(s,a+o[0].length,s.length),e.lastIndex=0,c==s&&(u[i]=(aZ(0,1,s.length),s.substr(0,1)),Rz(1,s.length+1),s=s.substr(1)),c=s,++i}if(n.length>0){for(r=u.length;r>0&&""==u[r-1];)--r;r0&&(l-=r[0]+n.c,r[0]+=n.c),r[2]>0&&(l-=r[2]+n.c),r[1]=i.Math.max(r[1],l),n_(n.a[1],e.c+t.b+r[0]-(r[1]-l)/2,r[1]);for(u=0,h=(a=n.a).length;ua&&(a=r,s.c.length=0),r==a&&AL(s,new uI(e.c.i,e)));eq(),_A(s,n.c),ZF(n.b,o.p,s)}}(l,n),l.f=n$(l.d),function(n,t){var e,i,r,c,a,o,u,s;for(c=new mw(t.b);c.aa&&(a=r,s.c.length=0),r==a&&AL(s,new uI(e.d.i,e)));eq(),_A(s,n.c),ZF(n.f,o.p,s)}}(l,n),l}function byn(n,t){var e,r,c;for(c=JR(bF(n.n,n.n.c.length-1),209).d,n.p=i.Math.min(n.p,t.g),n.r=i.Math.max(n.r,c),n.g=i.Math.max(n.g,t.g+(1==n.b.c.length?0:n.i)),n.o=i.Math.min(n.o,t.f),n.e+=t.f+(1==n.b.c.length?0:n.i),n.f=i.Math.max(n.f,t.f),r=n.n.c.length>0?(n.n.c.length-1)*n.i:0,e=new mw(n.n);e.a1)for(i=$rn(r,0);i.b!=i.d.c;)for(c=0,o=new mw((e=JR(kW(i),235)).e);o.a0&&(t[0]+=n.c,l-=t[0]),t[2]>0&&(l-=t[2]+n.c),t[1]=i.Math.max(t[1],l),t_(n.a[1],r.d+e.d+t[0]-(t[1]-l)/2,t[1]);else for(w=r.d+e.d,b=r.a-e.d-e.a,s=0,f=(o=n.a).length;s0||0==Dtn(c.b.d,n.b.d+n.b.a)&&r.b<0||0==Dtn(c.b.d+c.b.a,n.b.d)&&r.b>0){u=0;break}}else u=i.Math.min(u,Jln(n,c,r));u=i.Math.min(u,myn(n,a,u,r))}return u}function vyn(n,t){var e,i,r,c,a,o;if(n.b<2)throw Lm(new Cy("The vector chain must contain at least a source and a target point."));for(J$(0!=n.b),dA(t,(i=JR(n.a.a.c,8)).a,i.b),o=new JN((!t.a&&(t.a=new NL(Jft,t,5)),t.a)),c=$rn(n,1);c.a=0&&c!=e)throw Lm(new Cy(_Fn));for(r=0,u=0;umy(EL(a.g,a.d[0]).a)?(J$(u.b>0),u.a.Xb(u.c=--u.b),BD(u,a),r=!0):o.e&&o.e.gc()>0&&(c=(!o.e&&(o.e=new Mm),o.e).Mc(t),s=(!o.e&&(o.e=new Mm),o.e).Mc(e),(c||s)&&((!o.e&&(o.e=new Mm),o.e).Fc(a),++a.c));r||Km(i.c,a)}function Tyn(n,t,e){var i,r,c,a,o,u,s,h,f,l;return h=n.a.i+n.a.g/2,f=n.a.i+n.a.g/2,a=new DC(t.i+t.g/2,t.j+t.f/2),(u=JR(fdn(t,(XEn(),but)),8)).a=u.a+h,u.b=u.b+f,r=(a.b-u.b)/(a.a-u.a),i=a.b-r*a.a,o=new DC(e.i+e.g/2,e.j+e.f/2),(s=JR(fdn(e,but),8)).a=s.a+h,s.b=s.b+f,c=(o.b-s.b)/(o.a-s.a),l=(i-(o.b-c*o.a))/(c-r),!(u.a>>0).toString(16),t.length-2,t.length):n>=MCn?"\\v"+Gq(t="0"+(n>>>0).toString(16),t.length-6,t.length):""+String.fromCharCode(n&OPn)}return e}function Oyn(n){var t,e,i;if(rA(JR(ghn(n,(LEn(),q6n)),101)))for(e=new mw(n.j);e.a=t.o&&e.f<=t.f||.5*t.a<=e.f&&1.5*t.a>=e.f){if((c=JR(bF(t.n,t.n.c.length-1),209)).e+c.d+e.g+r<=i&&(JR(bF(t.n,t.n.c.length-1),209).f-n.f+e.f<=n.b||1==n.a.c.length))return Vtn(t,e),!0;if(t.s+e.g<=i&&(t.t+t.d+e.f+r<=n.b||1==n.a.c.length))return AL(t.b,e),a=JR(bF(t.n,t.n.c.length-1),209),AL(t.n,new gX(t.s,a.f+a.a+t.i,t.i)),fan(JR(bF(t.n,t.n.c.length-1),209),e),byn(t,e),!0}return!1}function $yn(n,t,e){var i,r,c,a;return n.Pj()?(r=null,c=n.Qj(),i=n.Ij(1,a=Y1(n,t,e),e,t,c),n.Mj()&&!(n.Yi()&&null!=a?Enn(a,e):UI(a)===UI(e))?(null!=a&&(r=n.Oj(a,r)),r=n.Nj(e,r),n.Tj()&&(r=n.Wj(a,e,r)),r?(r.nj(i),r.oj()):n.Jj(i)):(n.Tj()&&(r=n.Wj(a,e,r)),r?(r.nj(i),r.oj()):n.Jj(i)),a):(a=Y1(n,t,e),n.Mj()&&!(n.Yi()&&null!=a?Enn(a,e):UI(a)===UI(e))&&(r=null,null!=a&&(r=n.Oj(a,null)),(r=n.Nj(e,r))&&r.oj()),a)}function Dyn(n,t){var e,i,r,c;if(t.Ug("Path-Like Graph Wrapping",1),0!=n.b.c.length)if(null==(r=new qwn(n)).i&&(r.i=t6(r,new pc)),e=my(r.i)*r.f/(null==r.i&&(r.i=t6(r,new pc)),my(r.i)),r.b>e)t.Vg();else{switch(JR(ghn(n,(LEn(),D5n)),351).g){case 2:c=new kc;break;case 0:c=new hc;break;default:c=new yc}if(i=c.og(n,r),!c.pg())switch(JR(ghn(n,B5n),352).g){case 2:i=Zln(r,i);break;case 1:i=osn(r,i)}(function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;if(!e.dc()){for(a=0,h=0,l=JR((i=e.Kc()).Pb(),17).a;a0&&(u=o/60|0,s=o%60,r=n.q.getDate(),n.q.getHours()+u>=24&&++r,c=new i.Date(n.q.getFullYear(),n.q.getMonth(),r,t+u,n.q.getMinutes()+s,n.q.getSeconds(),n.q.getMilliseconds()),n.q.setTime(c.getTime()))),a=n.q.getTime(),n.q.setTime(a+36e5),n.q.getHours()!=t&&n.q.setTime(a)}function Ryn(n,t){var e,i,r,c;if(function(n,t){IL(n,y_(Hz($_(t,24),GCn)),y_(Hz(t,GCn)))}(n.d,n.e),n.c.a.$b(),0!=my(z$(ghn(t.j,(LEn(),d4n))))||0!=my(z$(ghn(t.j,d4n))))for(e=xOn,UI(ghn(t.j,k4n))!==UI(($in(),N8n))&&A8(t.j,(qEn(),D1n),(UN(),!0)),c=JR(ghn(t.j,j5n),17).a,r=0;r=g&&n.e[s.p]>w*n.b||v>=e*g)&&(Km(l.c,u),u=new Mm,z4(o,a),a.a.$b(),h-=f,b=i.Math.max(b,h*n.b+d),h+=v,m=v,v=0,f=0,d=0);return new uI(b,l)}function _yn(n){var t,e,i,r,c;if(!n.d){if(c=new js,null==(t=Ubt).a.zc(n,t)){for(e=new XL(_q(n));e.e!=e.i.gc();)oH(c,_yn(JR(Urn(e),29)));t.a.Bc(n),t.a.gc()}for(r=c.i,!n.q&&(n.q=new aB(lbt,n,11,10)),i=new XL(n.q);i.e!=i.i.gc();++r)JR(Urn(i),411);oH(c,(!n.q&&(n.q=new aB(lbt,n,11,10)),n.q)),n7(c),n.d=new SO((JR(d2(uq((NH(),pbt).o),9),19),c.i),c.g),n.e=JR(c.g,688),null==n.e&&(n.e=Gbt),fJ(n).b&=-17}return n.d}function Byn(n,t,e,i){var r,c,a,o,u,s;if(s=ipn(n.e.Dh(),t),u=0,r=JR(n.g,124),VE(),JR(t,69).xk()){for(a=0;a1||-1==w)if(f=JR(d,71),l=JR(h,71),f.dc())l.$b();else for(a=!!Rcn(t),c=0,o=n.a?f.Kc():f.Ii();o.Ob();)s=JR(o.Pb(),58),(r=JR(t0(n,s),58))?(a?-1==(u=l.dd(r))?l.Gi(c,r):c!=u&&l.Ui(c,r):l.Gi(c,r),++c):n.b&&!a&&(l.Gi(c,s),++c);else null==d?h.Wb(null):null==(r=t0(n,d))?n.b&&!Rcn(t)&&h.Wb(d):h.Wb(r)}function Uyn(n,t){var e,r,c,a,o,u,s,f;for(e=new Ne,c=new F_(wN(Ftn(t).a.Kc(),new h));Bwn(c);)if(!sJ(r=JR(MJ(c),18))&&jsn(u=r.c.i,CQn)){if(-1==(f=vmn(n,u,CQn,PQn)))continue;e.b=i.Math.max(e.b,f),!e.a&&(e.a=new Mm),AL(e.a,u)}for(o=new F_(wN(_tn(t).a.Kc(),new h));Bwn(o);)if(!sJ(a=JR(MJ(o),18))&&jsn(s=a.d.i,PQn)){if(-1==(f=vmn(n,s,PQn,CQn)))continue;e.d=i.Math.max(e.d,f),!e.c&&(e.c=new Mm),AL(e.c,s)}return e}function Gyn(n,t,e,i){var r,c,a,o,u,s,h;if(e.d.i!=t.i){for(Lb(r=new Bcn(n),(Yhn(),uQn)),A8(r,(qEn(),Y1n),e),A8(r,(LEn(),q6n),(ksn(),nht)),Km(i.c,r),sz(a=new ffn,r),Yln(a,($jn(),Dht)),sz(o=new ffn,r),Yln(o,dht),h=e.d,hz(e,a),y5(c=new Oq,e),A8(c,o6n,null),oz(c,o),hz(c,h),s=new NV(e.b,0);s.b1e6)throw Lm(new Ty("power of ten too big"));if(n<=wSn)return jJ(Xbn(KGn[1],t),t);for(r=i=Xbn(KGn[1],wSn),e=p5(n-wSn),t=lX(n%wSn);G7(e,wSn)>0;)r=BW(r,i),e=Ntn(e,wSn);for(r=jJ(r=BW(r,Xbn(KGn[1],t)),wSn),e=p5(n-wSn);G7(e,wSn)>0;)r=jJ(r,wSn),e=Ntn(e,wSn);return jJ(r,t)}function zyn(n){var t,e,i,r,c,a,o,u;for(a=new mw(n.a);a.as&&i>s)){r=!1,e._g()&&e.bh("bk node placement breaks on "+o+" which should have been after "+h);break}h=o,s=my(t.p[o.p])+my(t.d[o.p])+o.o.b+o.d.a}if(!r)break}return e._g()&&e.bh(t+" is feasible: "+r),r}function Jyn(n,t,e,i){var r,c,a,o,u,s,h;if(Lb(c=new Bcn(n),(Yhn(),hQn)),A8(c,(LEn(),q6n),(ksn(),nht)),r=0,t){for(A8(a=new ffn,(qEn(),Y1n),t),A8(c,Y1n,t.i),Yln(a,($jn(),Dht)),sz(a,c),s=0,h=(u=xV(t.e)).length;s=0&&!gan(n,h,f);)--f;r[h]=f}for(b=0;b=0&&!gan(n,o,w);)--o;c[w]=o}for(u=0;ut[l]&&li[u]&&tvn(n,u,l,!1,!0)}function tMn(n){var t,e,i,r,c,a,o,u;e=py(X$(ghn(n,(Okn(),dVn)))),c=n.a.c.d,o=n.a.d.d,e?(a=OL(fx(new DC(o.a,o.b),c),.5),u=OL(cL(n.e),.5),t=fx(hx(new DC(c.a,c.b),a),u),T$(n.d,t)):(r=my(z$(ghn(n.a,NVn))),i=n.d,c.a>=o.a?c.b>=o.b?(i.a=o.a+(c.a-o.a)/2+r,i.b=o.b+(c.b-o.b)/2-r-n.e.b):(i.a=o.a+(c.a-o.a)/2+r,i.b=c.b+(o.b-c.b)/2+r):c.b>=o.b?(i.a=c.a+(o.a-c.a)/2+r,i.b=o.b+(c.b-o.b)/2+r):(i.a=c.a+(o.a-c.a)/2+r,i.b=c.b+(o.b-c.b)/2-r-n.e.b))}function eMn(n){var t,e,i,r,c,a;if(!n.f){if(a=new Ms,c=new Ms,null==(t=Ubt).a.zc(n,t)){for(r=new XL(_q(n));r.e!=r.i.gc();)oH(a,eMn(JR(Urn(r),29)));t.a.Bc(n),t.a.gc()}for(!n.s&&(n.s=new aB(ebt,n,21,17)),i=new XL(n.s);i.e!=i.i.gc();)sL(e=JR(Urn(i),179),102)&&bZ(c,JR(e,19));n7(c),n.r=new NK(n,(JR(d2(uq((NH(),pbt).o),6),19),c.i),c.g),oH(a,n.r),n7(a),n.f=new SO((JR(d2(uq(pbt.o),5),19),a.i),a.g),fJ(n).b&=-3}return n.f}function iMn(n){DE(n,new Fsn(EM(yM(jM(TM(new bu,IOn),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ct))),HV(n,IOn,OOn,Hrn(Jzn)),HV(n,IOn,AOn,Hrn(qzn)),HV(n,IOn,LOn,Hrn(_zn)),HV(n,IOn,NOn,Hrn(Xzn)),HV(n,IOn,OIn,Hrn(Wzn)),HV(n,IOn,AIn,Hrn(Vzn)),HV(n,IOn,IIn,Hrn(Qzn)),HV(n,IOn,LIn,Hrn(zzn)),HV(n,IOn,jOn,Hrn(Hzn)),HV(n,IOn,EOn,Hrn(Bzn)),HV(n,IOn,SOn,Hrn(Uzn)),HV(n,IOn,POn,Hrn(Gzn))}function rMn(){rMn=E,Xft=a8(uM(Vdt,1),CPn,28,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),zft=new RegExp("[ \t\n\r\f]+");try{qft=a8(uM(Ybt,1),kSn,2114,0,[new om((yO(),Ven("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",KD((ry(),ry(),xUn))))),new om(Ven("yyyy-MM-dd'T'HH:mm:ss'.'SSS",KD(xUn))),new om(Ven("yyyy-MM-dd'T'HH:mm:ss",KD(xUn))),new om(Ven("yyyy-MM-dd'T'HH:mm",KD(xUn))),new om(Ven("yyyy-MM-dd",KD(xUn)))])}catch(n){if(!sL(n=X5(n),82))throw Lm(n)}}function cMn(n,t){var e,i,r;if(i=0!=ngn(n.d,1),0==lvn(n,t)&&py(X$(ghn(t.j,(qEn(),D1n)))))return 0;!py(X$(ghn(t.j,(qEn(),D1n))))&&!py(X$(ghn(t.j,l0n)))||UI(ghn(t.j,(LEn(),k4n)))===UI(($in(),N8n))?t.c.mg(t.e,i):i=py(X$(ghn(t.j,D1n))),Hgn(n,t,i,!0),py(X$(ghn(t.j,l0n)))&&A8(t.j,l0n,(UN(),!1)),py(X$(ghn(t.j,D1n)))&&(A8(t.j,D1n,(UN(),!1)),A8(t.j,l0n,!0)),e=lvn(n,t);do{if(B4(n),0==e)return 0;r=e,Hgn(n,t,i=!i,!1),e=lvn(n,t)}while(r>e);return r}function aMn(n,t){var e,i,r;if(i=0!=ngn(n.d,1),0==Tln(n,t)&&py(X$(ghn(t.j,(qEn(),D1n)))))return 0;!py(X$(ghn(t.j,(qEn(),D1n))))&&!py(X$(ghn(t.j,l0n)))||UI(ghn(t.j,(LEn(),k4n)))===UI(($in(),N8n))?t.c.mg(t.e,i):i=py(X$(ghn(t.j,D1n))),Hgn(n,t,i,!0),py(X$(ghn(t.j,l0n)))&&A8(t.j,l0n,(UN(),!1)),py(X$(ghn(t.j,D1n)))&&(A8(t.j,D1n,(UN(),!1)),A8(t.j,l0n,!0)),e=Tln(n,t);do{if(B4(n),0==e)return 0;r=e,Hgn(n,t,i=!i,!1),e=Tln(n,t)}while(r>e);return r}function oMn(n,t,e,r){var c,a,o,u,s,h,f,l,b;return h=(s=fx(new DC(e.a,e.b),n)).a*t.b-s.b*t.a,f=t.a*r.b-t.b*r.a,l=(s.a*r.b-s.b*r.a)/f,b=h/f,0==f?0==h?(a=mZ(n,c=hx(new DC(e.a,e.b),OL(new DC(r.a,r.b),.5))),o=mZ(hx(new DC(n.a,n.b),t),c),u=.5*i.Math.sqrt(r.a*r.a+r.b*r.b),a=0&&l<=1&&b>=0&&b<=1?hx(new DC(n.a,n.b),OL(new DC(t.a,t.b),l)):null}function uMn(n){var t,e,r,c,a,o,u,s,h,f;for(s=new ow(new tw(wwn(n)).a.vc().Kc());s.a.Ob();){for(r=JR(s.a.Pb(),44),h=0,f=0,h=(u=JR(r.ld(),10)).d.d,f=u.o.b+u.d.a,n.d[u.p]=0,t=u;(c=n.a[t.p])!=u;)e=srn(t,c),0,o=n.c==(MX(),r7n)?e.d.n.b+e.d.a.b-e.c.n.b-e.c.a.b:e.c.n.b+e.c.a.b-e.d.n.b-e.d.a.b,a=my(n.d[t.p])+o,n.d[c.p]=a,h=i.Math.max(h,c.d.d-a),f=i.Math.max(f,a+c.o.b+c.d.a),t=c;t=u;do{n.d[t.p]=my(n.d[t.p])+h,t=n.a[t.p]}while(t!=u);n.b[u.p]=h+f}}function sMn(n,t,e){var r,c,a,o,u,s,h,f,l,b;for(a=0,o=n.t,c=0,r=0,s=0,b=0,l=0,e&&(n.n.c.length=0,AL(n.n,new gX(n.s,n.t,n.i))),u=0,f=new mw(n.b);f.a0?n.i:0)>t&&s>0&&(a=0,o+=s+n.i,c=i.Math.max(c,b),r+=s+n.i,s=0,b=0,e&&(++l,AL(n.n,new gX(n.s,o,n.i))),u=0),b+=h.g+(u>0?n.i:0),s=i.Math.max(s,h.f),e&&fan(JR(bF(n.n,l),209),h),a+=h.g+(u>0?n.i:0),++u;return c=i.Math.max(c,b),r+=s,e&&(n.r=c,n.d=r,con(n.j)),new kG(n.s,n.t,c,r)}function hMn(n){var t,e,r,c,a,o,u,s,h,f,l;for(n.b=!1,f=pCn,u=mCn,l=pCn,s=mCn,e=n.e.a.ec().Kc();e.Ob();)for(r=(t=JR(e.Pb(),272)).a,f=i.Math.min(f,r.c),u=i.Math.max(u,r.c+r.b),l=i.Math.min(l,r.d),s=i.Math.max(s,r.d+r.a),a=new mw(t.c);a.ao?1:-1:x9(n.a,t.a,c)))f=-u,h=a==u?FJ(t.a,o,n.a,c):nZ(t.a,o,n.a,c);else if(f=a,a==u){if(0==r)return bvn(),$Gn;h=FJ(n.a,c,t.a,o)}else h=nZ(n.a,c,t.a,o);return KV(s=new _B(f,h.length,h)),s}function mMn(n,t){var e,i,r;if(r=Wkn(t),!t.c&&(t.c=new aB(slt,t,9,9)),Yj(new PF(null,(!t.c&&(t.c=new aB(slt,t,9,9)),new Kz(t.c,16))),new kd(r)),function(n,t){var e,i,r,c,a,o,u,s,h,f,l;for(a=py(X$(fdn(n,(LEn(),i6n)))),l=JR(fdn(n,V6n),21),u=!1,s=!1,f=new XL((!n.c&&(n.c=new aB(slt,n,9,9)),n.c));!(f.e==f.i.gc()||u&&s);){for(c=JR(Urn(f),123),o=0,r=EB(f3(a8(uM(bUn,1),kSn,20,0,[(!c.d&&(c.d=new yx(tlt,c,8,5)),c.d),(!c.e&&(c.e=new yx(tlt,c,7,4)),c.e)])));Bwn(r)&&(i=JR(MJ(r),74),h=a&&Dbn(i)&&py(X$(fdn(i,r6n))),e=eTn((!i.b&&(i.b=new yx(nlt,i,4,7)),i.b),c)?n==_X(Bsn(JR(d2((!i.c&&(i.c=new yx(nlt,i,5,8)),i.c),0),84))):n==_X(Bsn(JR(d2((!i.b&&(i.b=new yx(nlt,i,4,7)),i.b),0),84))),!((h||e)&&++o>1)););(o>0||l.Hc((lbn(),sht))&&(!c.n&&(c.n=new aB(olt,c,1,7)),c.n).i>0)&&(u=!0),o>1&&(s=!0)}u&&t.Fc((zpn(),WZn)),s&&t.Fc((zpn(),QZn))}(t,i=JR(ghn(r,(qEn(),x1n)),21)),i.Hc((zpn(),WZn)))for(e=new XL((!t.c&&(t.c=new aB(slt,t,9,9)),t.c));e.e!=e.i.gc();)Tjn(n,t,r,JR(Urn(e),123));return 0!=JR(fdn(t,(LEn(),I6n)),181).gc()&&Vpn(t,r),py(X$(ghn(r,x6n)))&&i.Fc(n1n),b$(r,c5n)&&dy(new Oen(my(z$(ghn(r,c5n)))),r),UI(fdn(t,Y4n))===UI((nnn(),jst))?function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E;for(a=new Gj,v=JR(ghn(e,(LEn(),D4n)),88),d=0,z4(a,(!t.a&&(t.a=new aB(ult,t,10,11)),t.a));0!=a.b;)(UI(fdn(s=_X(h=JR(0==a.b?null:(J$(0!=a.b),c2(a,a.a.a)),27)),k4n))!==UI(($in(),N8n))||UI(fdn(s,N4n))===UI((Nin(),aZn))||UI(fdn(s,N4n))===UI((Nin(),rZn))||py(X$(fdn(s,M4n)))||UI(fdn(s,w4n))!==UI((Yin(),WWn))||UI(fdn(s,d6n))===UI((Cvn(),y8n))||UI(fdn(s,d6n))===UI((Cvn(),M8n))||UI(fdn(s,g6n))===UI((Kgn(),q5n))||UI(fdn(s,g6n))===UI((Kgn(),z5n)))&&!py(X$(fdn(h,m4n)))&&ocn(h,(qEn(),J1n),ann(d++)),!py(X$(fdn(h,N6n)))&&(l=0!=(!h.a&&(h.a=new aB(ult,h,10,11)),h.a).i,w=xsn(h),b=UI(fdn(h,Y4n))===UI((nnn(),jst)),p=null,(E=!JY(h,(XEn(),Jat))||yJ(V$(fdn(h,Jat))))&&b&&(l||w)&&(A8(p=Wkn(h),D4n,v),b$(p,c5n)&&dy(new Oen(my(z$(ghn(p,c5n)))),p),0!=JR(fdn(h,I6n),181).gc()&&(f=p,Yj(new PF(null,(!h.c&&(h.c=new aB(slt,h,9,9)),new Kz(h.c,16))),new yd(f)),Vpn(h,p))),k=e,(y=JR(RH(n.a,_X(h)),10))&&(k=y.e),g=oEn(n,h,k),p&&(g.e=p,p.e=g,z4(a,(!h.a&&(h.a=new aB(ult,h,10,11)),h.a))));for(d=0,vQ(a,t,a.c.b,a.c);0!=a.b;){for(u=new XL((!(c=JR(0==a.b?null:(J$(0!=a.b),c2(a,a.a.a)),27)).b&&(c.b=new aB(tlt,c,12,3)),c.b));u.e!=u.i.gc();)fvn(o=JR(Urn(u),74)),(UI(fdn(t,k4n))!==UI(($in(),N8n))||UI(fdn(t,N4n))===UI((Nin(),aZn))||UI(fdn(t,N4n))===UI((Nin(),rZn))||py(X$(fdn(t,M4n)))||UI(fdn(t,w4n))!==UI((Yin(),WWn))||UI(fdn(t,d6n))===UI((Cvn(),y8n))||UI(fdn(t,d6n))===UI((Cvn(),M8n))||UI(fdn(t,g6n))===UI((Kgn(),q5n))||UI(fdn(t,g6n))===UI((Kgn(),z5n)))&&ocn(o,(qEn(),J1n),ann(d++)),T=Bsn(JR(d2((!o.b&&(o.b=new yx(nlt,o,4,7)),o.b),0),84)),j=Bsn(JR(d2((!o.c&&(o.c=new yx(nlt,o,5,8)),o.c),0),84)),py(X$(fdn(o,N6n)))||py(X$(fdn(T,N6n)))||py(X$(fdn(j,N6n)))||(m=c,Dbn(o)&&py(X$(fdn(T,i6n)))&&py(X$(fdn(o,r6n)))||Z0(j,T)?m=T:Z0(T,j)&&(m=j),k=e,(y=JR(RH(n.a,m),10))&&(k=y.e),A8(GEn(n,o,m,k),(qEn(),T1n),Spn(n,o,t,e)));if(b=UI(fdn(c,Y4n))===UI((nnn(),jst)))for(r=new XL((!c.a&&(c.a=new aB(ult,c,10,11)),c.a));r.e!=r.i.gc();)E=!JY(i=JR(Urn(r),27),(XEn(),Jat))||yJ(V$(fdn(i,Jat))),M=UI(fdn(i,Y4n))===UI(jst),E&&M&&vQ(a,i,a.c.b,a.c)}}(n,t,r):function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g;for(l=0,r=new XL((!t.a&&(t.a=new aB(ult,t,10,11)),t.a));r.e!=r.i.gc();)py(X$(fdn(i=JR(Urn(r),27),(LEn(),N6n))))||(UI(fdn(h=_X(i),k4n))===UI(($in(),N8n))&&UI(fdn(h,N4n))!==UI((Nin(),aZn))&&UI(fdn(h,N4n))!==UI((Nin(),rZn))&&!py(X$(fdn(h,M4n)))&&UI(fdn(h,w4n))===UI((Yin(),WWn))&&UI(fdn(h,d6n))!==UI((Cvn(),y8n))&&UI(fdn(h,d6n))!==UI((Cvn(),M8n))&&UI(fdn(h,g6n))!==UI((Kgn(),q5n))&&UI(fdn(h,g6n))!==UI((Kgn(),z5n))||py(X$(fdn(i,m4n)))||(ocn(i,(qEn(),J1n),ann(l)),++l),oEn(n,i,e));for(l=0,s=new XL((!t.b&&(t.b=new aB(tlt,t,12,3)),t.b));s.e!=s.i.gc();)o=JR(Urn(s),74),(UI(fdn(t,(LEn(),k4n)))!==UI(($in(),N8n))||UI(fdn(t,N4n))===UI((Nin(),aZn))||UI(fdn(t,N4n))===UI((Nin(),rZn))||py(X$(fdn(t,M4n)))||UI(fdn(t,w4n))!==UI((Yin(),WWn))||UI(fdn(t,d6n))===UI((Cvn(),y8n))||UI(fdn(t,d6n))===UI((Cvn(),M8n))||UI(fdn(t,g6n))===UI((Kgn(),q5n))||UI(fdn(t,g6n))===UI((Kgn(),z5n)))&&(ocn(o,(qEn(),J1n),ann(l)),++l),d=Mhn(o),g=Ehn(o),f=py(X$(fdn(d,i6n))),w=!py(X$(fdn(o,N6n))),b=f&&Dbn(o)&&py(X$(fdn(o,r6n))),c=_X(d)==t&&_X(d)==_X(g),a=(_X(d)==t&&g==t)^(_X(g)==t&&d==t),w&&!b&&(a||c)&&GEn(n,o,t,e);if(_X(t))for(u=new XL(KG(_X(t)));u.e!=u.i.gc();)(d=Mhn(o=JR(Urn(u),74)))==t&&Dbn(o)&&(b=py(X$(fdn(d,(LEn(),i6n))))&&py(X$(fdn(o,r6n))))&&GEn(n,o,t,e)}(n,t,r),r}function vMn(n,t){var e,i,r,c,a,o,u;if(null==n)return null;if(0==(c=n.length))return"";for(u=tZ(Vdt,CPn,28,c,15,1),aZ(0,c,n.length),aZ(0,c,u.length),iH(n,0,c,u,0),e=null,o=t,r=0,a=0;r0?Gq(e.a,0,c-1):"":(aZ(0,c-1,n.length),n.substr(0,c-1)):e?e.a:n}function kMn(n,t){var e,i,r,c,a;if(a=JR(t,138),Edn(n),Edn(a),null!=a.b){if(n.c=!0,null==n.b)return n.b=tZ(Wdt,GPn,28,a.b.length,15,1),void ayn(a.b,0,n.b,0,a.b.length);for(c=tZ(Wdt,GPn,28,n.b.length+a.b.length,15,1),e=0,i=0,r=0;e=n.b.length?(c[r++]=a.b[i++],c[r++]=a.b[i++]):i>=a.b.length?(c[r++]=n.b[e++],c[r++]=n.b[e++]):a.b[i]0?n.i:0)),++t;for(gtn(n.n,s),n.d=e,n.r=r,n.g=0,n.f=0,n.e=0,n.o=pCn,n.p=pCn,a=new mw(n.b);a.a0&&(!(r=(!n.n&&(n.n=new aB(olt,n,1,7)),JR(d2(n.n,0),135)).a)||rO(rO((t.a+=' "',t),r),'"'))),!n.b&&(n.b=new yx(nlt,n,4,7)),e=!(n.b.i<=1&&(!n.c&&(n.c=new yx(nlt,n,5,8)),n.c.i<=1)),t.a+=e?" [":" ",rO(t,WL(new qy,new XL(n.b))),e&&(t.a+="]"),t.a+=zAn,e&&(t.a+="["),rO(t,WL(new qy,new XL(n.c))),e&&(t.a+="]"),t.a)}function jMn(n,t,e){var r,c,a,o,u,s,h;return i.Math.abs(t.s-t.c)h?new Pz((mY(),I7n),e,t,s-h):s>0&&h>0&&(new Pz((mY(),I7n),t,e,0),new Pz(I7n,e,t,0))),a)}function EMn(n,t,e,i){var r,c,a,o,u,s;if(c=mtn(i),!py(X$(ghn(i,(LEn(),m6n))))&&!py(X$(ghn(n,e6n)))||rA(JR(ghn(n,q6n),101)))switch(sz(o=new ffn,n),t?((s=o.n).a=t.a-n.n.a,s.b=t.b-n.n.b,Pfn(s,0,0,n.o.a,n.o.b),Yln(o,Pkn(o,c))):(r=len(c),Yln(o,e==(v3(),U8n)?r:Znn(r))),a=JR(ghn(i,(qEn(),x1n)),21),u=o.j,c.g){case 2:case 1:(u==($jn(),ght)||u==Nht)&&a.Fc((zpn(),ZZn));break;case 4:case 3:(u==($jn(),dht)||u==Dht)&&a.Fc((zpn(),ZZn))}else r=len(c),o=ykn(n,e,e==(v3(),U8n)?r:Znn(r));return o}function SMn(n,t){var e,r,c,a,o;for(o=new J6(new ew(n.f.b).a);o.b;){if(c=JR((a=v4(o)).ld(),602),1==t){if(c.Af()!=(Xnn(),Wut)&&c.Af()!=qut)continue}else if(c.Af()!=(Xnn(),Xut)&&c.Af()!=zut)continue;switch(r=JR(JR(a.md(),42).b,86),e=JR(JR(a.md(),42).a,194).c,c.Af().g){case 2:r.g.c=n.e.a,r.g.b=i.Math.max(1,r.g.b+e);break;case 1:r.g.c=r.g.c+e,r.g.b=i.Math.max(1,r.g.b-e);break;case 4:r.g.d=n.e.b,r.g.a=i.Math.max(1,r.g.a+e);break;case 3:r.g.d=r.g.d+e,r.g.a=i.Math.max(1,r.g.a-e)}}}function PMn(n,t){var e,i,r,c,a,o,u,s,f,l,b;for(i=new F_(wN(Jdn(t).a.Kc(),new h));Bwn(i);)sL(d2((!(e=JR(MJ(i),74)).b&&(e.b=new yx(nlt,e,4,7)),e.b),0),193)||(u=Bsn(JR(d2((!e.c&&(e.c=new yx(nlt,e,5,8)),e.c),0),84)),Pwn(e)||(a=t.i+t.g/2,o=t.j+t.f/2,f=u.i+u.g/2,l=u.j+u.f/2,(b=new zM).a=f-a,b.b=l-o,aun(c=new DC(b.a,b.b),t.g,t.f),b.a-=c.a,b.b-=c.b,a=f-b.a,o=l-b.b,aun(s=new DC(b.a,b.b),u.g,u.f),b.a-=s.a,b.b-=s.b,f=a+b.a,l=o+b.b,H2(r=Hpn(e,!0,!0),a),G2(r,o),R2(r,f),U2(r,l),PMn(n,u)))}function CMn(n){DE(n,new Fsn(EM(yM(jM(TM(new bu,hRn),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Yo))),HV(n,hRn,fRn,Hrn(gct)),HV(n,hRn,lRn,Hrn(bct)),HV(n,hRn,bRn,Hrn(lct)),HV(n,hRn,wRn,Hrn(hct)),HV(n,hRn,dRn,Hrn(fct)),HV(n,hRn,NOn,sct),HV(n,hRn,eAn,8),HV(n,hRn,gRn,Hrn(dct)),HV(n,hRn,pRn,Hrn(cct)),HV(n,hRn,mRn,Hrn(act)),HV(n,hRn,_$n,(UN(),!1))}function IMn(n,t,e){var i,r,c,a,o,u,s,h;return i=n.a.o==(TX(),s7n)?pCn:mCn,!(o=Kkn(n,new ZP(t,e))).a&&o.c?(HK(n.d,o),i):o.a?(r=o.a.c,u=o.a.d,e?(s=n.a.c==(MX(),c7n)?u:r,c=n.a.c==c7n?r:u,a=n.a.g[c.i.p],h=my(n.a.p[a.p])+my(n.a.d[c.i.p])+c.n.b+c.a.b-my(n.a.d[s.i.p])-s.n.b-s.a.b):(s=n.a.c==(MX(),r7n)?u:r,c=n.a.c==r7n?r:u,h=my(n.a.p[n.a.g[c.i.p].p])+my(n.a.d[c.i.p])+c.n.b+c.a.b-my(n.a.d[s.i.p])-s.n.b-s.a.b),n.a.n[n.a.g[r.i.p].p]=(UN(),!0),n.a.n[n.a.g[u.i.p].p]=!0,h):i}function OMn(n,t,e){var i,r,c,a,o,u,s;if(Epn(n.e,t))VE(),lwn((o=JR(t,69).xk()?new ZK(t,n):new KI(t,n)).c,o.b),uL(o,JR(e,16));else{for(s=ipn(n.e.Dh(),t),i=JR(n.g,124),c=0;c"}null!=u&&(t.a+=""+u)}else n.e?null!=(o=n.e.zb)&&(t.a+=""+o):(t.a+="?",n.b?(t.a+=" super ",$Mn(n.b,t)):n.f&&(t.a+=" extends ",$Mn(n.f,t)))}function DMn(n){var t,e,i,r,c;if(n.k!=(Yhn(),sQn))return!1;if(n.j.c.length<=1)return!1;if(JR(ghn(n,(LEn(),q6n)),101)==(ksn(),nht))return!1;if(jcn(),(i=(n.q?n.q:(eq(),eq(),HGn))._b(S6n)?JR(ghn(n,S6n),203):JR(ghn(dU(n),P6n),203))==s8n)return!1;if(i!=u8n&&i!=o8n){if(r=my(z$(Qen(n,T5n))),!(t=JR(ghn(n,M5n),140))&&(t=new VD(r,r,r,r)),c=$tn(n,($jn(),Dht)),t.d+t.a+(c.gc()-1)*r>n.o.b)return!1;if(e=$tn(n,dht),t.d+t.a+(e.gc()-1)*r>n.o.b)return!1}return!0}function xMn(n,t){var e,i,r,c,a,o,u,s,h,f;if(h=null,n.d&&(h=JR(rX(n.d,t),142)),!h){if(f=(c=n.a.vi()).i,!n.d||Fj(n.d)!=f){for(u=new ym,n.d&&S6(u,n.d),o=s=u.f.c+u.i.c;ot||py(X$(fdn(o,(smn(),Wit)))))&&(r=0,c+=s.b+e,Km(h.c,s),E3(s=new aV(c,e),i=new p9(0,s.f,s,e)),r=0),0==i.b.c.length||!py(X$(fdn(_X(o),(smn(),irt))))&&(o.f>=i.o&&o.f<=i.f||.5*i.a<=o.f&&1.5*i.a>=o.f)?Vtn(i,o):(E3(s,a=new p9(i.s+i.r+e,s.f,s,e)),Vtn(a,o)),r=o.i+o.g;return Km(h.c,s),h}function GMn(n){var t,e,i,r;if(!(null==n.b||n.b.length<=2||n.a)){for(t=0,r=0;r=n.b[r+1])r+=2;else{if(!(e0&&G7(r,-6)>=0){if(G7(r,0)>=0){for(c=e+y_(r),o=h-1;o>=c;o--)f[o+1]=f[o];return f[++c]=46,u&&(f[--e]=45),Ain(f,e,h-e+1)}for(a=2;nS(a,Atn(v1(r),1));a++)f[--e]=48;return f[--e]=46,f[--e]=48,u&&(f[--e]=45),Ain(f,e,h-e)}return w=e+1,i=h,l=new Zy,u&&(l.a+="-"),i-w>=1?(ZH(l,f[e]),l.a+=".",l.a+=Ain(f,e+1,h-e-1)):l.a+=Ain(f,e,h-e),l.a+="E",G7(r,0)>0&&(l.a+="+"),l.a+=""+iB(r),l.a}(p5(n.f),lX(n.e)),n.g):(r=EEn((!n.c&&(n.c=yz(p5(n.f))),n.c),0),0==n.e?r:(t=(!n.c&&(n.c=yz(p5(n.f))),n.c).e<0?2:1,e=r.length,i=-n.e+e-t,(c=new Yy).a+=""+r,n.e>0&&i>=-6?i>=0?NN(c,e-lX(n.e),String.fromCharCode(46)):(t5(c,t-1,t-1,"0."),NN(c,t+1,Ain(yGn,0,-lX(i)-1))):(e-t>=1&&(NN(c,t,String.fromCharCode(46)),++e),NN(c,e,String.fromCharCode(69)),i>0&&NN(c,++e,String.fromCharCode(43)),NN(c,++e,""+iB(p5(i)))),n.g=c.a,n.g))}function VMn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w;for(w=new ym,c=n.a.ec().Kc();c.Ob();)DU(w,i=JR(c.Pb(),177),e.af(i));for(PH(n),_A(a=n?new Vx(n):VR(n.a.ec().Kc()),new Jw(w)),o=EQ(a),u=new ZA(t),Pln((b=new ym).f,t,u);0!=o.a.gc();){for(s=null,h=null,f=null,r=o.a.ec().Kc();r.Ob();)if(i=JR(r.Pb(),177),my(z$(HI(WF(w.f,i))))<=pCn){if(MB(b,i.a)&&!MB(b,i.b)){h=i.b,f=i.a,s=i;break}if(MB(b,i.b)&&!MB(b,i.a)){h=i.a,f=i.b,s=i;break}}if(!s)break;l=new ZA(h),AL(JR(HI(WF(b.f,f)),225).a,l),Pln(b.f,h,l),o.a.Bc(s)}return u}function WMn(n,t){var e,i,r,c,a;if(t)if(!n.a&&(n.a=new mv),2!=n.e)if(1!=t.e)0!=(a=n.a.a.c.length)?0!=(c=JR(hU(n.a,a-1),122)).e&&10!=c.e||0!=t.e&&10!=t.e?fv(n.a,t):(0==t.e||t.Mm().length,0==c.e?(e=new Jy,(i=c.Km())>=MCn?tO(e,Otn(i)):YH(e,i&OPn),c=new nX(10,null,0),function(n,t,e){z_(e,n.a.c.length),ZQ(n.a,e,t)}(n.a,c,a-1)):(c.Mm().length,tO(e=new Jy,c.Mm())),0==t.e?(i=t.Km())>=MCn?tO(e,Otn(i)):YH(e,i&OPn):tO(e,t.Mm()),JR(c,530).b=e.a):fv(n.a,t);else for(r=0;r0&&T8(u,!0,(Xnn(),zut)),a.k==(Yhn(),aQn)&&vU(u),DU(n.f,a,t)):((s=(i=JR(sq(Ktn(a)),18)).c.i)==a&&(s=i.d.i),f=new uI(s,fx(cL(a.n),s.n)),DU(n.b,a,f))}(a),Nmn(a),a.a)),n.b),1===JR(ghn(t,l4n),431).g?lM(r,new R4(n.a)):lM(r,(iq(),Fqn)),c.g){case 1:Cdn(r);break;case 2:Cdn(hjn(r,(Xnn(),zut)));break;case 3:Cdn(bM(hjn(Cdn(r),(Xnn(),zut)),new gr));break;case 4:Cdn(bM(hjn(Cdn(r),(Xnn(),zut)),new Wd(a)));break;case 5:Cdn(function(n,t){return n.b=t,n}(r,JJn))}hjn(r,(Xnn(),Xut)),r.e=!0,function(n){var t,e,r,c;for(Yj(oG(new PF(null,new Kz(n.a.b,16)),new kr),new yr),function(n){var t,e,i,r,c;for(i=new J6(new ew(n.b).a);i.b;)t=JR((e=v4(i)).ld(),10),c=JR(JR(e.md(),42).a,10),r=JR(JR(e.md(),42).b,8),hx(MO(t.n),hx(cL(c.n),r))}(n),Yj(oG(new PF(null,new Kz(n.a.b,16)),new Mr),new Tr),n.c==(xtn(),cst)&&(Yj(oG(r0(new PF(null,new Kz(new tw(n.f),1)),new jr),new Er),new Zd(n)),Yj(oG(uG(r0(r0(new PF(null,new Kz(n.d.b,16)),new Sr),new Pr),new Cr),new Ir),new tg(n))),c=new DC(pCn,pCn),t=new DC(mCn,mCn),r=new mw(n.a.b);r.a1&&(s=h.Hg(s,n.a,u));return 1==s.c.length?JR(bF(s,s.c.length-1),238):2==s.c.length?function(n,t,e,r){var c,a,o,u,s,h,f,l,b,w,d,g,p;return a=n.f,f=t.f,o=a==(ygn(),Ort)||a==Lrt,u=a==Art||a==Ort,l=f==Art||f==Ort,!o||f!=Ort&&f!=Lrt?a!=Art&&a!=Nrt||f!=Art&&f!=Nrt?u&&l?(a==Art?(h=n,s=t):(h=t,s=n),b=e.j+e.f,w=h.e+r.f,d=i.Math.max(b,w)-i.Math.min(e.j,h.e),c=(h.d+r.g-e.i)*d,g=e.i+e.g,p=s.d+r.g,c<=(i.Math.max(g,p)-i.Math.min(e.i,s.d))*(s.e+r.f-e.j)?n.f==Art?n:t:n.f==Ort?n:t):n:n.f==Nrt?n:t:n.f==Lrt?n:t}((xz(0,s.c.length),JR(s.c[0],238)),(xz(1,s.c.length),JR(s.c[1],238)),o,a):null}function YMn(n){var t,e,r,c,a,o;for(n2(n.a,new Zn),e=new mw(n.a);e.a=i.Math.abs(r.b)?(r.b=0,a.d+a.a>o.d&&a.do.c&&a.c0){if(t=new FI(n.i,n.g),c=(e=n.i)<100?null:new UM(e),n.Tj())for(i=0;i0){for(o=n.g,s=n.i,NJ(n),c=s<100?null:new UM(s),i=0;i4){if(!n.fk(t))return!1;if(n.al()){if(o=(e=(i=JR(t,54)).Eh())==n.e&&(n.ml()?i.yh(i.Fh(),n.il())==n.jl():-1-i.Fh()==n.Lj()),n.nl()&&!o&&!e&&i.Jh())for(r=0;r0)if(t=new I6(n.pj()),c=(e=h)<100?null:new UM(e),yD(n,e,t.g),r=1==e?n.Ij(4,d2(t,0),null,0,u):n.Ij(6,t,null,-1,u),n.Mj()){for(i=new XL(t);i.e!=i.i.gc();)c=n.Oj(Urn(i),c);c?(c.nj(r),c.oj()):n.Jj(r)}else c?(c.nj(r),c.oj()):n.Jj(r);else yD(n,n.Ej(),n.Fj()),n.Jj(n.Ij(6,(eq(),BGn),null,-1,u));else if(n.Mj())if((h=n.Ej())>0){for(o=n.Fj(),s=h,yD(n,h,o),c=s<100?null:new UM(s),i=0;i.5?p-=2*a*(w-.5):w<.5&&(p+=2*c*(.5-w)),p<(r=o.d.b)&&(p=r),d=o.d.c,p>g.a-d-h&&(p=g.a-d-h),o.n.a=t+p}}function oTn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w;if(n.e&&n.c.c>19&&(t=P8(t),u=!u),a=function(n){var t,e,i;return(e=n.l)&e-1||(i=n.m)&i-1||(t=n.h)&t-1||0==t&&0==i&&0==e?-1:0==t&&0==i&&0!=e?O3(e):0==t&&0!=i&&0==e?O3(i)+22:0!=t&&0==i&&0==e?O3(t)+44:-1}(t),c=!1,r=!1,i=!1,n.h==uCn&&0==n.m&&0==n.l){if(r=!0,c=!0,-1!=a)return o=Xwn(n,a),u&&i9(o),e&&(GUn=XA(0,0,0)),o;n=xO((Q1(),qUn)),i=!0,u=!u}else n.h>>19&&(c=!0,n=P8(n),i=!0,u=!u);return-1!=a?c9(n,a,u,c,e):Yon(n,t)<0?(e&&(GUn=c?P8(n):XA(n.l,n.m,n.h)),XA(0,0,0)):function(n,t,e,i,r,c){var a,o,u,s,h,f;for(a=Zhn(t,u=z8(t)-z8(n)),o=XA(0,0,0);u>=0&&(!son(n,a)||(u<22?o.l|=1<>>1,a.m=s>>>1|(1&h)<<21,a.l=f>>>1|(1&s)<<21,--u;return e&&i9(o),c&&(i?(GUn=P8(n),r&&(GUn=q5(GUn,(Q1(),zUn)))):GUn=XA(n.l,n.m,n.h)),o}(i?n:XA(n.l,n.m,n.h),t,u,c,r,e)}function sTn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w;if(a=n.e,u=t.e,0==a)return t;if(0==u)return n;if((c=n.d)+(o=t.d)==2)return e=Hz(n.a[0],PCn),i=Hz(t.a[0],PCn),a==u?(w=y_(h=Atn(e,i)),0==(b=y_(D_(h,32)))?new sQ(a,w):new _B(a,2,a8(uM(Wdt,1),GPn,28,15,[w,b]))):(bvn(),VI(a<0?Ntn(i,e):Ntn(e,i),0)?tin(a<0?Ntn(i,e):Ntn(e,i)):YB(tin(v1(a<0?Ntn(i,e):Ntn(e,i)))));if(a==u)l=a,f=c>=o?nZ(n.a,c,t.a,o):nZ(t.a,o,n.a,c);else{if(0==(r=c!=o?c>o?1:-1:x9(n.a,t.a,c)))return bvn(),$Gn;1==r?(l=a,f=FJ(n.a,c,t.a,o)):(l=u,f=FJ(t.a,o,n.a,c))}return KV(s=new _B(l,f.length,f)),s}function hTn(n,t){var e,i,r,c,a,o,u;if(!(n.g>t.f||t.g>n.f)){for(e=0,i=0,a=n.w.a.ec().Kc();a.Ob();)r=JR(a.Pb(),12),I7(Z8(a8(uM(Mat,1),HSn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++e;for(o=n.r.a.ec().Kc();o.Ob();)r=JR(o.Pb(),12),I7(Z8(a8(uM(Mat,1),HSn,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--e;for(u=t.w.a.ec().Kc();u.Ob();)r=JR(u.Pb(),12),I7(Z8(a8(uM(Mat,1),HSn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&++i;for(c=t.r.a.ec().Kc();c.Ob();)r=JR(c.Pb(),12),I7(Z8(a8(uM(Mat,1),HSn,8,0,[r.i.n,r.n,r.a])).b,n.g,n.f)&&--i;e=0)return e;switch(EU(O1(n,e))){case 2:if(Cx("",knn(n,e.qk()).xe())){if(u=kdn(n,t,o=YU(O1(n,e)),JU(O1(n,e))))return u;for(a=0,s=(r=Nvn(n,t)).gc();a1,h=new JJ(b.b);BA(h.a)||BA(h.b);)l=(s=JR(BA(h.a)?Xz(h.a):Xz(h.b),18)).c==b?s.d:s.c,i.Math.abs(Z8(a8(uM(Mat,1),HSn,8,0,[l.i.n,l.n,l.a])).b-o.b)>1&&bpn(n,s,o,a,b)}}function wTn(){wTn=E,Nwt=(iT(),Lwt).b,xwt=JR(d2(uq(Lwt.b),0),35),$wt=JR(d2(uq(Lwt.b),1),35),Dwt=JR(d2(uq(Lwt.b),2),35),Xwt=Lwt.bb,JR(d2(uq(Lwt.bb),0),35),JR(d2(uq(Lwt.bb),1),35),Vwt=Lwt.fb,Wwt=JR(d2(uq(Lwt.fb),0),35),JR(d2(uq(Lwt.fb),1),35),JR(d2(uq(Lwt.fb),2),19),Jwt=Lwt.qb,ndt=JR(d2(uq(Lwt.qb),0),35),JR(d2(uq(Lwt.qb),1),19),JR(d2(uq(Lwt.qb),2),19),Ywt=JR(d2(uq(Lwt.qb),3),35),Zwt=JR(d2(uq(Lwt.qb),4),35),edt=JR(d2(uq(Lwt.qb),6),35),tdt=JR(d2(uq(Lwt.qb),5),19),Rwt=Lwt.j,Kwt=Lwt.k,Fwt=Lwt.q,_wt=Lwt.w,Bwt=Lwt.B,Hwt=Lwt.A,Uwt=Lwt.C,Gwt=Lwt.D,qwt=Lwt._,zwt=Lwt.cb,Qwt=Lwt.hb}function dTn(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;for(f=my(z$(ghn(n,(LEn(),l5n)))),r=my(z$(ghn(n,A5n))),A8(b=new Qu,l5n,f+r),m=(h=t).d,g=h.c.i,v=h.d.i,p=UO(g.c),k=UO(v.c),c=new Mm,l=p;l<=k;l++)Lb(u=new Bcn(n),(Yhn(),uQn)),A8(u,(qEn(),Y1n),h),A8(u,q6n,(ksn(),nht)),A8(u,w5n,b),w=JR(bF(n.b,l),30),l==p?Ton(u,w.a.c.length-e,w):uz(u,w),(y=my(z$(ghn(h,W4n))))<0&&A8(h,W4n,y=0),u.o.b=y,d=i.Math.floor(y/2),Yln(o=new ffn,($jn(),Dht)),sz(o,u),o.n.b=d,Yln(s=new ffn,dht),sz(s,u),s.n.b=d,hz(h,o),y5(a=new Oq,h),A8(a,o6n,null),oz(a,s),hz(a,m),cun(u,h,a),Km(c.c,a),h=a;return c}function gTn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g;for(o=JR(gfn(n,($jn(),Dht)).Kc().Pb(),12).e,f=JR(gfn(n,dht).Kc().Pb(),12).g,a=o.c.length,g=Az(JR(bF(n.j,0),12));a-- >0;){for(xz(0,o.c.length),b=JR(o.c[0],18),xz(0,f.c.length),r=k1((i=JR(f.c[0],18)).d.e,i,0),oW(b,i.d,r),oz(i,null),hz(i,null),l=b.a,t&&HK(l,new JO(g)),e=$rn(i.a,0);e.b!=e.d.c;)HK(l,new JO(JR(kW(e),8)));for(d=b.b,h=new mw(i.b);h.a-2;default:return!1}switch(t=n.Rj(),n.p){case 0:return null!=t&&py(X$(t))!=WI(n.k,0);case 1:return null!=t&&JR(t,222).a!=y_(n.k)<<24>>24;case 2:return null!=t&&JR(t,180).a!=(y_(n.k)&OPn);case 6:return null!=t&&WI(JR(t,168).a,n.k);case 5:return null!=t&&JR(t,17).a!=y_(n.k);case 7:return null!=t&&JR(t,191).a!=y_(n.k)<<16>>16;case 3:return null!=t&&my(z$(t))!=n.j;case 4:return null!=t&&JR(t,161).a!=n.j;default:return null==t?null!=n.n:!Enn(t,n.n)}}function vTn(n,t,e){var i,r,c,a;return n.ol()&&n.nl()&&UI(a=TB(n,JR(e,58)))!==UI(e)?(n.xj(t),n.Dj(t,DZ(n,0,a)),n.al()&&(r=JR(e,54),c=n.ml()?n.kl()?r.Th(n.b,Rcn(JR(F0(Hq(n.b),n.Lj()),19)).n,JR(F0(Hq(n.b),n.Lj()).Hk(),29).kk(),null):r.Th(n.b,Pen(r.Dh(),Rcn(JR(F0(Hq(n.b),n.Lj()),19))),null,null):r.Th(n.b,-1-n.Lj(),null,null),!JR(a,54).Ph()&&(i=JR(a,54),c=n.ml()?n.kl()?i.Rh(n.b,Rcn(JR(F0(Hq(n.b),n.Lj()),19)).n,JR(F0(Hq(n.b),n.Lj()).Hk(),29).kk(),c):i.Rh(n.b,Pen(i.Dh(),Rcn(JR(F0(Hq(n.b),n.Lj()),19))),null,c):i.Rh(n.b,-1-n.Lj(),null,c)),c&&c.oj()),iA(n.b)&&n.Jj(n.Ij(9,e,a,t,!1)),a):e}function kTn(n){var t,e,i,r,c,a,o,u,s,h;for(i=new Mm,a=new mw(n.e.a);a.a0&&(o=i.Math.max(o,Z4(n.C.b+r.d.b,c))),f=r,l=c,b=a;n.C&&n.C.c>0&&(w=b+n.C.c,h&&(w+=f.d.c),o=i.Math.max(o,(LA(),y3(VIn),i.Math.abs(l-1)<=VIn||1==l||isNaN(l)&&isNaN(1)?0:w/(1-l)))),e.n.b=0,e.a.a=o}function MTn(n,t){var e,r,c,a,o,u,s,h,f,l,b,w;if(e=JR(XU(n.b,t),127),(s=JR(JR(RJ(n.r,t),21),87)).dc())return e.n.d=0,void(e.n.a=0);for(h=n.u.Hc((lbn(),sht)),o=0,n.A.Hc((hin(),Xht))&&Umn(n,t),u=s.Kc(),f=null,b=0,l=0;u.Ob();)a=my(z$((r=JR(u.Pb(),117)).b.of((HN(),ozn)))),c=r.b.Mf().b,f?(w=l+f.d.a+n.w+r.d.d,o=i.Math.max(o,(LA(),y3(VIn),i.Math.abs(b-a)<=VIn||b==a||isNaN(b)&&isNaN(a)?0:w/(a-b)))):n.C&&n.C.d>0&&(o=i.Math.max(o,Z4(n.C.d+r.d.d,a))),f=r,b=a,l=c;n.C&&n.C.a>0&&(w=l+n.C.a,h&&(w+=f.d.a),o=i.Math.max(o,(LA(),y3(VIn),i.Math.abs(b-1)<=VIn||1==b||isNaN(b)&&isNaN(1)?0:w/(1-b)))),e.n.d=0,e.a.b=o}function TTn(n,t,e,i,r,c,a,o){var u,s,h,f,l,b,w,d;if(b=!1,u=Cgn(e.q,t.f+t.b-e.q.f),l=i.f>t.b&&o,h=sMn(i,d=r-(e.q.e+u-a),!1).a,l&&h>i.f)return!1;if(l){for(f=0,w=new mw(t.d);w.a=(xz(c,n.c.length),JR(n.c[c],186)).e,!(!l&&h>t.b&&!s)&&((s||l||h<=t.b)&&(s&&h>t.b?(e.d=h,SZ(e,kfn(e,h))):(qun(e.q,u),e.c=!0),SZ(i,r-(e.s+e.r)),Lcn(i,e.q.e+e.q.d,t.f),E3(t,i),n.c.length>c&&(Hon((xz(c,n.c.length),JR(n.c[c],186)),i),0==(xz(c,n.c.length),JR(n.c[c],186)).a.c.length&&BJ(n,c)),b=!0),b))}function jTn(n,t,e){var i,r,c,a,o,u;for(this.g=n,o=t.d.length,u=e.d.length,this.d=tZ(fQn,JAn,10,o+u,0,1),a=0;a0?u2(this,this.f/this.a):null!=EL(t.g,t.d[0]).a&&null!=EL(e.g,e.d[0]).a?u2(this,(my(EL(t.g,t.d[0]).a)+my(EL(e.g,e.d[0]).a))/2):null!=EL(t.g,t.d[0]).a?u2(this,EL(t.g,t.d[0]).a):null!=EL(e.g,e.d[0]).a&&u2(this,EL(e.g,e.d[0]).a)}function ETn(n,t){var e,i,r,c,a,o,u,s,h;for(n.a=new qH(function(n){var t,e;return e=(t=JR(n.e&&n.e(),9)).slice(),new Wx(t,JR(xZ(e,t),9),t.length)}(tst)),i=new mw(t.a);i.a=1&&(g-a>0&&f>=0?(u.n.a+=d,u.n.b+=c*a):g-a<0&&h>=0&&(u.n.a+=d*g,u.n.b+=c));n.o.a=t.a,n.o.b=t.b,A8(n,(LEn(),I6n),(hin(),new Wx(i=JR(rT(rft),9),JR(qD(i,i.length),9),0)))}function CTn(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g,p;if(e.Ug("Network simplex layering",1),n.b=t,p=4*JR(ghn(t,(LEn(),j5n)),17).a,(g=n.b.a).c.length<1)e.Vg();else{for(d=null,c=$rn(a=function(n,t){var e,i,r,c,a;for(null==n.c||n.c.length1)for(d=tZ(Wdt,GPn,28,n.b.b.c.length,15,1),f=0,h=new mw(n.b.b);h.a=e}(this.k)}function ATn(n){var t,e,r,c,a,o,u;for(t=0,a=new mw(n.b.a);a.amCn||t.o==u7n&&h=o&&r<=u)o<=r&&c<=u?(e[h++]=r,e[h++]=c,i+=2):o<=r?(e[h++]=r,e[h++]=u,n.b[i]=u+1,a+=2):c<=u?(e[h++]=o,e[h++]=c,i+=2):(e[h++]=o,e[h++]=u,n.b[i]=u+1);else{if(!(umPn)&&u<10);mM(n.c,new yt),ATn(n),function(n){fjn(n,(Xnn(),Xut)),n.d=!0}(n.c),function(n){var t,e,r,c,a,o,u,s;for(a=new mw(n.a.b);a.a=2){for(a=JR(kW(u=$rn(e,0)),8),o=JR(kW(u),8);o.a=n.j?(++n.j,AL(n.b,ann(1)),AL(n.c,s)):(i=n.d[t.p][1],ZQ(n.b,u,ann(JR(bF(n.b,u),17).a+1-i)),ZQ(n.c,u,my(z$(bF(n.c,u)))+s-i*n.f)),(n.r==(Cvn(),T8n)&&(JR(bF(n.b,u),17).a>n.k||JR(bF(n.b,u-1),17).a>n.k)||n.r==S8n&&(my(z$(bF(n.c,u)))>n.n||my(z$(bF(n.c,u-1)))>n.n))&&(o=!1),c=new F_(wN(Ftn(t).a.Kc(),new h));Bwn(c);)a=JR(MJ(c),18).c.i,n.g[a.p]==u&&(r+=JR((f=KTn(n,a)).a,17).a,o=o&&py(X$(f.b)));return n.g[t.p]=u,new uI(ann(r+=n.d[t.p][0]),(UN(),!!o))}function FTn(n,t){var e,i;my(z$(ghn(t,(LEn(),s5n))))<2&&A8(t,s5n,2),JR(ghn(t,D4n),88)==(Xnn(),Vut)&&A8(t,D4n,mtn(t)),0==(e=JR(ghn(t,i5n),17)).a?A8(t,(qEn(),s0n),new ken):A8(t,(qEn(),s0n),new SQ(e.a)),null==X$(ghn(t,j6n))&&A8(t,j6n,(UN(),UI(ghn(t,H4n))===UI((xtn(),ist)))),Yj(new PF(null,new Kz(t.a,16)),new fd(n)),Yj(r0(new PF(null,new Kz(t.b,16)),new dt),new ld(n)),i=new STn(t),A8(t,(qEn(),w0n),i),QU(n.a),UB(n.a,(phn(),pWn),JR(ghn(t,N4n),188)),UB(n.a,mWn,JR(ghn(t,g6n),188)),UB(n.a,vWn,JR(ghn(t,L4n),188)),UB(n.a,kWn,JR(ghn(t,C6n),188)),UB(n.a,yWn,function(n){var t;return $A(),tS(b7n,n)||((t=new ca).a=n,GD(b7n,n,t)),JR(XU(b7n,n),645)}(JR(ghn(t,H4n),223))),VO(n.a,function(n){var t,e,i;switch(e=JR(ghn(n,(qEn(),x1n)),21),t=tA(wWn),JR(ghn(n,(LEn(),Y4n)),346)==(nnn(),jst)&&n5(t,dWn),py(X$(ghn(n,Q4n)))?eF(t,(phn(),pWn),(zEn(),TJn)):eF(t,(phn(),vWn),(zEn(),TJn)),null!=ghn(n,(gY(),vat))&&n5(t,gWn),(py(X$(ghn(n,c6n)))||py(X$(ghn(n,J4n))))&&m_(t,(phn(),yWn),(zEn(),RQn)),JR(ghn(n,D4n),88).g){case 2:case 3:case 4:m_(eF(t,(phn(),pWn),(zEn(),FQn)),yWn,KQn)}switch(e.Hc((zpn(),zZn))&&m_(eF(eF(t,(phn(),pWn),(zEn(),xQn)),kWn,$Qn),yWn,DQn),UI(ghn(n,d6n))!==UI((Cvn(),C8n))&&eF(t,(phn(),vWn),(zEn(),dJn)),e.Hc(n1n)&&(eF(t,(phn(),pWn),(zEn(),yJn)),eF(t,mWn,vJn),eF(t,vWn,kJn)),UI(ghn(n,b4n))!==UI((qhn(),HZn))&&UI(ghn(n,H4n))!==UI((xtn(),rst))&&m_(t,(phn(),yWn),(zEn(),YQn)),py(X$(ghn(n,n6n)))&&eF(t,(phn(),vWn),(zEn(),JQn)),py(X$(ghn(n,A4n)))&&eF(t,(phn(),vWn),(zEn(),IJn)),function(n){var t,e,i,r;return UI(ghn(n,(LEn(),Y4n)))===UI((nnn(),jst))?!n.e&&UI(ghn(n,j4n))!==UI((I5(),r1n)):(i=JR(ghn(n,E4n),299),r=py(X$(ghn(n,A4n)))||UI(ghn(n,L4n))===UI(($3(),XYn)),t=JR(ghn(n,T4n),17).a,e=n.a.c.length,!r&&i!=(I5(),r1n)&&(0==t||t>e))}(n)&&(i=(UI(ghn(n,Y4n))===UI(jst)?JR(ghn(n,j4n),299):JR(ghn(n,E4n),299))==(I5(),c1n)?(zEn(),mJn):(zEn(),LJn),eF(t,(phn(),kWn),i)),JR(ghn(n,F5n),388).g){case 1:eF(t,(phn(),kWn),(zEn(),OJn));break;case 2:m_(eF(eF(t,(phn(),vWn),(zEn(),OQn)),kWn,AQn),yWn,LQn)}return UI(ghn(n,k4n))!==UI(($in(),N8n))&&eF(t,(phn(),vWn),(zEn(),AJn)),t}(t)),A8(t,u0n,oTn(n.a,t))}function _Tn(n,t,e,r,c){var a,o,u,s,h,f,l,b,w,d,g,p,m;for(l=new ym,o=new Mm,jln(n,e,n.d.Ag(),o,l),jln(n,r,n.d.Bg(),o,l),n.b=.2*(g=idn(r0(new PF(null,new Kz(o,16)),new pa)),p=idn(r0(new PF(null,new Kz(o,16)),new ma)),i.Math.min(g,p)),a=0,u=0;u=2&&(m=tgn(o,!0,b),!n.e&&(n.e=new _g(n)),zin(n.e,m,o,n.b)),Esn(o,b),function(n){var t,e,r,c,a,o,u,s,h;for(s=new Mm,o=new Mm,a=new mw(n);a.a-1){for(c=new mw(o);c.a0||(Bb(u,i.Math.min(u.o,r.o-1)),_b(u,u.i-1),0==u.i&&Km(o.c,u))}}(o),w=-1,f=new mw(o);f.a0&&0==e.c&&(!t&&(t=new Mm),Km(t.c,e));if(t)for(;0!=t.c.length;){if((e=JR(BJ(t,0),239)).b&&e.b.c.length>0)for(!e.b&&(e.b=new Mm),c=new mw(e.b);c.ak1(n,e,0))return new uI(r,e)}else if(my(EL(r.g,r.d[0]).a)>my(EL(e.g,e.d[0]).a))return new uI(r,e);for(o=(!e.e&&(e.e=new Mm),e.e).Kc();o.Ob();)!(a=JR(o.Pb(),239)).b&&(a.b=new Mm),Dz(0,(u=a.b).c.length),RS(u.c,0,e),a.c==u.c.length&&Km(t.c,a)}return null}function zTn(n,t){var e,i,r,c,a,o,u,s,h;if(5!=t.e){if(null!=(s=t).b&&null!=n.b){for(Edn(n),GMn(n),Edn(s),GMn(s),e=tZ(Wdt,GPn,28,n.b.length+s.b.length,15,1),h=0,i=0,a=0;i=o&&r<=u)o<=r&&c<=u?i+=2:o<=r?(n.b[i]=u+1,a+=2):c<=u?(e[h++]=r,e[h++]=o-1,i+=2):(e[h++]=r,e[h++]=o-1,n.b[i]=u+1,a+=2);else{if(!(u2?(J5(s=new Mm,new jz(w,1,w.b)),y5(d=new zwn(IEn(s,g+n.a)),t),Km(e.c,d)):d=JR(RH(n.b,r?Mhn(t):Ehn(t)),272),o=Mhn(t),r&&(o=Ehn(t)),a=function(n,t){var e,r,c;return c=xOn,icn(),r=Pzn,c=i.Math.abs(n.b),(e=i.Math.abs(t.f-n.b))0?1:0;c.a[r]!=e;)c=c.a[r],r=n.a.Ne(e.d,c.d)>0?1:0;c.a[r]=i,i.b=e.b,i.a[0]=e.a[0],i.a[1]=e.a[1],e.a[0]=null,e.a[1]=null}(n,u,a,h=new uZ(f.d,f.e)),l==a&&(l=h)),l.a[l.a[1]==f?1:0]=f.a[f.a[0]?0:1],--n.c),n.b=u.a[1],n.b&&(n.b.b=!1),e.b}function QTn(n,t,e){var r,c,a,o,u,s,h,f,l,b;if(e)for(r=-1,f=new NV(t,0);f.b=14&&o<=16?sL(i,183)?GJ(e,Vln(JR(i,183))):sL(i,195)?GJ(e,ysn(JR(i,195))):sL(i,201)?GJ(e,ofn(JR(i,201))):sL(i,2111)?GJ(e,Msn(JR(i,2111))):sL(i,53)?GJ(e,zln(JR(i,53))):sL(i,376)?GJ(e,wbn(JR(i,376))):sL(i,846)?GJ(e,Xln(JR(i,846))):sL(i,109)&&GJ(e,qln(JR(i,109))):t.a._b(i)?(e.a?rO(e.a,e.b):e.a=new kN(e.d),eO(e.a,"[...]")):GJ(e,JTn(e3(i),new TF(t))):GJ(e,null==i?jSn:Qtn(i));return e.a?0==e.e.length?e.a.a:e.a.a+""+e.e:e.c}function YTn(n,t){var e,i,r,c;c=n.F,null==t?(n.F=null,Y9(n,null)):(n.F=(TU(t),t),-1!=(i=KO(t,Zsn(60)))?(aZ(0,i,t.length),r=t.substr(0,i),-1==KO(t,Zsn(46))&&!Cx(r,hSn)&&!Cx(r,aBn)&&!Cx(r,oBn)&&!Cx(r,uBn)&&!Cx(r,sBn)&&!Cx(r,hBn)&&!Cx(r,fBn)&&!Cx(r,lBn)&&(r=bBn),-1!=(e=pN(t,Zsn(62)))&&(r+=""+(Rz(e+1,t.length+1),t.substr(e+1))),Y9(n,r)):(r=t,-1==KO(t,Zsn(46))&&(-1!=(i=KO(t,Zsn(91)))&&(aZ(0,i,t.length),r=t.substr(0,i)),Cx(r,hSn)||Cx(r,aBn)||Cx(r,oBn)||Cx(r,uBn)||Cx(r,sBn)||Cx(r,hBn)||Cx(r,fBn)||Cx(r,lBn)?r=t:(r=bBn,-1!=i&&(r+=""+(Rz(i,t.length+1),t.substr(i))))),Y9(n,r),r==t&&(n.F=n.D))),4&n.Db&&!(1&n.Db)&&i5(n,new oB(n,1,5,c,t))}function ZTn(n,t){var e,i,r,c,a,o,u,s;if(Rz(o=t.length-1,t.length),93==(a=t.charCodeAt(o))){if((c=KO(t,Zsn(91)))>=0)return r=function(n,t){var e;if(sL(e=_gn(n.Dh(),t),102))return JR(e,19);throw Lm(new Cy(FKn+t+"' is not a valid reference"))}(n,(aZ(1,c,t.length),t.substr(1,c-1))),aZ(c+1,o,t.length),function(n,t,e){var i,r,c,a,o,u,s,h,f,l;for(u=new Mm,f=t.length,a=V8(e),s=0;s=0?n.Lh(s,!1,!0):Gbn(n,e,!1),61).Kc();c.Ob();){for(r=JR(c.Pb(),58),h=0;h=0){i=JR(AJ(n,Y0(n,(aZ(1,e,t.length),t.substr(1,e-1))),!1),61),u=0;try{u=ckn((Rz(e+1,t.length+1),t.substr(e+1)),vPn,wSn)}catch(n){throw sL(n=X5(n),130)?Lm(new j1(n)):Lm(n)}if(u>16==-10?e=JR(n.Cb,292).Yk(t,e):n.Db>>16==-15&&(!t&&(JEn(),t=Cbt),!o&&(JEn(),o=Cbt),n.Cb.Yh()&&(a=new D1(n.Cb,1,13,o,t,mcn(C1(JR(n.Cb,62)),n),!1),e?e.nj(a):e=a));else if(sL(n.Cb,90))n.Db>>16==-23&&(sL(t,90)||(JEn(),t=Abt),sL(o,90)||(JEn(),o=Abt),n.Cb.Yh()&&(a=new D1(n.Cb,1,10,o,t,mcn(cQ(JR(n.Cb,29)),n),!1),e?e.nj(a):e=a));else if(sL(n.Cb,457))for(!(c=JR(n.Cb,850)).b&&(c.b=new lm(new wk)),r=new bm(new J6(new ew(c.b.a).a));r.a.b;)e=njn(i=JR(v4(r.a).ld(),89),ign(i,c),e);return e}function tjn(n){var t,e,r,c,a,o,u,s,h,f,l,b;if((b=JR(fdn(n,(XEn(),Dot)),21)).dc())return null;if(u=0,o=0,b.Hc((hin(),qht))){for(f=JR(fdn(n,rut),101),r=2,e=2,c=2,a=2,t=_X(n)?JR(fdn(_X(n),hot),88):JR(fdn(n,hot),88),h=new XL((!n.c&&(n.c=new aB(slt,n,9,9)),n.c));h.e!=h.i.gc();)if(s=JR(Urn(h),123),(l=JR(fdn(s,fut),64))==($jn(),$ht)&&(l=eyn(s,t),ocn(s,fut,l)),f==(ksn(),nht))switch(l.g){case 1:r=i.Math.max(r,s.i+s.g);break;case 2:e=i.Math.max(e,s.j+s.f);break;case 3:c=i.Math.max(c,s.i+s.g);break;case 4:a=i.Math.max(a,s.j+s.f)}else switch(l.g){case 1:r+=s.g+2;break;case 2:e+=s.f+2;break;case 3:c+=s.g+2;break;case 4:a+=s.f+2}u=i.Math.max(r,c),o=i.Math.max(e,a)}return Fjn(n,u,o,!0,!0)}function ejn(n,t,e,r,c){var a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;for(v=JR(MQ(V0(oG(new PF(null,new Kz(t.d,16)),new ag(e)),new og(e)),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[(o7(),Tqn)]))),15),l=wSn,f=vPn,s=new mw(t.b.j);s.a0)?s&&(h=d.p,a?++h:--h,f=!(Tgn(i=v8(JR(bF(d.c.a,h),10)),k,e[0])||nB(i,k,e[0]))):f=!0),l=!1,(v=t.D.i)&&v.c&&o.e&&(a&&v.p>0||!a&&v.pa?1:FO(isNaN(0),isNaN(a)))<0&&(y3(jDn),(i.Math.abs(a-1)<=jDn||1==a||isNaN(a)&&isNaN(1)?0:a<1?-1:a>1?1:FO(isNaN(a),isNaN(1)))<0)&&(y3(jDn),(i.Math.abs(0-o)<=jDn||0==o||isNaN(0)&&isNaN(o)?0:0o?1:FO(isNaN(0),isNaN(o)))<0)&&(y3(jDn),(i.Math.abs(o-1)<=jDn||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:FO(isNaN(o),isNaN(1)))<0))}function sjn(n,t,e){var r;if(e.Ug("StretchWidth layering",1),0!=t.a.c.length){for(n.c=t,n.t=0,n.u=0,n.i=pCn,n.g=mCn,n.d=my(z$(ghn(t,(LEn(),s5n)))),function(n){var t,e,i;for(i=n.c.a,n.p=(PH(i),new Vx(i)),e=new mw(i);e.a0&&(t.a+=mSn),ljn(JR(Urn(a),167),t);for(t.a+=zAn,o=new JN((!i.c&&(i.c=new yx(nlt,i,5,8)),i.c));o.e!=o.i.gc();)o.e>0&&(t.a+=mSn),ljn(JR(Urn(o),167),t);t.a+=")"}}}function bjn(n,t,e){var r,c,a,o,u,s,f,l;switch(e.Ug("Node promotion heuristic",1),n.i=t,n.r=JR(ghn(t,(LEn(),d6n)),243),n.r!=(Cvn(),y8n)&&n.r!=M8n?function(n){var t,e,r,c,a,o,u,s,f,l,b,w,d,g,p;for(n.o=my(z$(ghn(n.i,(LEn(),v5n)))),n.f=my(z$(ghn(n.i,b5n))),n.j=n.i.b.c.length,u=n.j-1,w=0,n.k=0,n.n=0,n.b=KJ(tZ(sGn,HSn,17,n.j,0,1)),n.c=KJ(tZ(cGn,HSn,345,n.j,7,1)),o=new mw(n.i.b);o.a0&&AL(n.q,l),AL(n.p,l);d=s+(t-=r),f+=t*n.f,ZQ(n.b,u,ann(d)),ZQ(n.c,u,f),n.k=i.Math.max(n.k,d),n.n=i.Math.max(n.n,f),n.e+=t,t+=p}}(n):function(n){var t,e,i,r,c,a,o;for(n.a=new nx,o=0,r=0,i=new mw(n.i.b);i.an.k&&(n.r=T8n,FMn(n,a));break;case 4:for(n.r=I8n,FMn(n,a),f=0,c=new mw(n.c);c.an.n&&(n.r=S8n,FMn(n,a));break;case 6:FMn(n,new Bd(lX(i.Math.ceil(n.g.length*l/100))));break;case 5:FMn(n,new Hd(lX(i.Math.ceil(n.e*l/100))));break;case 8:REn(n,!0);break;case 9:REn(n,!1)}n.r!=y8n&&n.r!=M8n?function(n,t){var e,i,r,c,a,o;for(r=new Mm,e=0;e<=n.j;e++)(i=new GH(t)).p=n.j-e,Km(r.c,i);for(o=new mw(n.p);o.a0&&(n.c[t.c.p][t.p].d+=ngn(n.i,24)*HCn*.07000000029802322-.03500000014901161,n.c[t.c.p][t.p].a=n.c[t.c.p][t.p].d/n.c[t.c.p][t.p].b)}}function pjn(n,t){var e,i,r,c,a,o,u,s,h;return s="",0==t.length?n.ne(PPn,EPn,-1,-1):(Cx((h=kln(t)).substr(0,3),"at ")&&(Rz(3,h.length+1),h=h.substr(3)),-1==(a=(h=h.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(a=h.indexOf("@"))?(s=h,h=""):(s=kln((Rz(a+1,h.length+1),h.substr(a+1))),h=kln((aZ(0,a,h.length),h.substr(0,a)))):(aZ(a+1,e=h.indexOf(")",a),h.length),s=h.substr(a+1,e-(a+1)),h=kln((aZ(0,a,h.length),h.substr(0,a)))),-1!=(a=KO(h,Zsn(46)))&&(Rz(a+1,h.length+1),h=h.substr(a+1)),(0==h.length||Cx(h,"Anonymous function"))&&(h=EPn),o=pN(s,Zsn(58)),r=Ox(s,Zsn(58),o-1),u=-1,i=-1,c=PPn,-1!=o&&-1!=r&&(aZ(0,r,s.length),c=s.substr(0,r),u=t$((aZ(r+1,o,s.length),s.substr(r+1,o-(r+1)))),i=t$((Rz(o+1,s.length+1),s.substr(o+1)))),n.ne(c,h,u,i))}function mjn(n,t,e,r,c){var a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T;for(T=0,w=0,l=new mw(t.e);l.a=h&&M>=p&&(b+=d.n.b+g.n.b+g.a.b-y,++u));if(e)for(o=new mw(v.e);o.a=h&&M>=p&&(b+=d.n.b+g.n.b+g.a.b-y,++u))}u>0&&(T+=b/u,++w)}w>0?(t.a=c*T/w,t.g=w):(t.a=0,t.g=0)}function vjn(n,t,e,r){var c,a,o,u,s;return function(n,t){var e,i,r,c;for(e=!t||!n.u.Hc((lbn(),sht)),c=0,r=new mw(n.e.Xf());r.ar.d,r.d=i.Math.max(r.d,t),u&&e&&(r.d=i.Math.max(r.d,r.a),r.a=r.d+c);break;case 3:e=t>r.a,r.a=i.Math.max(r.a,t),u&&e&&(r.a=i.Math.max(r.a,r.d),r.d=r.a+c);break;case 2:e=t>r.c,r.c=i.Math.max(r.c,t),u&&e&&(r.c=i.Math.max(r.b,r.c),r.b=r.c+c);break;case 4:e=t>r.b,r.b=i.Math.max(r.b,t),u&&e&&(r.b=i.Math.max(r.b,r.c),r.c=r.b+c)}}}(u),function(n){switch(n.q.g){case 5:wun(n,($jn(),ght)),wun(n,Nht);break;case 4:yTn(n,($jn(),ght)),yTn(n,Nht);break;default:hln(n,($jn(),ght)),hln(n,Nht)}}(u),function(n){switch(n.q.g){case 5:dun(n,($jn(),dht)),dun(n,Dht);break;case 4:MTn(n,($jn(),dht)),MTn(n,Dht);break;default:fln(n,($jn(),dht)),fln(n,Dht)}}(u),function(n){var t,e,i,r,c,a,o;if(!n.A.dc()){if(n.A.Hc((hin(),qht))&&(JR(XU(n.b,($jn(),ght)),127).k=!0,JR(XU(n.b,Nht),127).k=!0,t=n.q!=(ksn(),tht)&&n.q!=nht,Ib(JR(XU(n.b,dht),127),t),Ib(JR(XU(n.b,Dht),127),t),Ib(n.g,t),n.A.Hc(Xht)&&(JR(XU(n.b,ght),127).j=!0,JR(XU(n.b,Nht),127).j=!0,JR(XU(n.b,dht),127).k=!0,JR(XU(n.b,Dht),127).k=!0,n.g.k=!0)),n.A.Hc(Ght))for(n.a.j=!0,n.a.k=!0,n.g.j=!0,n.g.k=!0,o=n.B.Hc((Yvn(),nft)),c=0,a=(r=Orn()).length;c1)for(QQ(v,new nC(n,b=new nTn(w,v,r))),Km(o.c,b),f=v.a.ec().Kc();f.Ob();)g1(a,JR(f.Pb(),42).b);if(u.a.gc()>1)for(QQ(u,new tC(n,b=new nTn(w,u,r))),Km(o.c,b),f=u.a.ec().Kc();f.Ob();)g1(a,JR(f.Pb(),42).b)}}function Mjn(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m;if(g=n.n,p=n.o,b=n.d,l=my(z$(Qen(n,(LEn(),a5n)))),t){for(f=l*(t.gc()-1),w=0,s=t.Kc();s.Ob();)f+=(o=JR(s.Pb(),10)).o.a,w=i.Math.max(w,o.o.b);for(m=g.a-(f-p.a)/2,a=g.b-b.d+w,c=r=p.a/(t.gc()+1),u=t.Kc();u.Ob();)(o=JR(u.Pb(),10)).n.a=m,o.n.b=a-o.o.b,m+=o.o.a+l,(h=ugn(o)).n.a=o.o.a/2-h.a.a,h.n.b=o.o.b,(d=JR(ghn(o,(qEn(),y1n)),12)).e.c.length+d.g.c.length==1&&(d.n.a=c-d.a.a,d.n.b=0,sz(d,n)),c+=r}if(e){for(f=l*(e.gc()-1),w=0,s=e.Kc();s.Ob();)f+=(o=JR(s.Pb(),10)).o.a,w=i.Math.max(w,o.o.b);for(m=g.a-(f-p.a)/2,a=g.b+p.b+b.a-w,c=r=p.a/(e.gc()+1),u=e.Kc();u.Ob();)(o=JR(u.Pb(),10)).n.a=m,o.n.b=a,m+=o.o.a+l,(h=ugn(o)).n.a=o.o.a/2-h.a.a,h.n.b=0,(d=JR(ghn(o,(qEn(),y1n)),12)).e.c.length+d.g.c.length==1&&(d.n.a=c-d.a.a,d.n.b=p.b,sz(d,n)),c+=r}}function Tjn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,w,d;for(u=new DC(i.i+i.g/2,i.j+i.f/2),l=qMn(i),b=JR(fdn(t,(LEn(),q6n)),101),d=JR(fdn(i,Q6n),64),PI(Brn(i),G6n)||(w=0==i.i&&0==i.j?0:function(n,t){var e;if(!vX(n))throw Lm(new Iy(yKn));switch(e=vX(n),t.g){case 1:return-(n.j+n.f);case 2:return n.i-e.g;case 3:return n.j-e.f;case 4:return-(n.i+n.g)}return 0}(i,d),ocn(i,G6n,w)),A8(r=aEn(i,b,d,l,new DC(t.g,t.f),u,new DC(i.g,i.f),JR(ghn(e,D4n),88),e),(qEn(),Y1n),i),function(n,t){n.c=t}(c=JR(bF(r.j,0),12),function(n){var t,e,i,r,c;for(c=vX(n),r=new XL((!n.e&&(n.e=new yx(tlt,n,7,4)),n.e));r.e!=r.i.gc();)if(i=JR(Urn(r),74),!Z0(Bsn(JR(d2((!i.c&&(i.c=new yx(nlt,i,5,8)),i.c),0),84)),c))return!0;for(e=new XL((!n.d&&(n.d=new yx(tlt,n,8,5)),n.d));e.e!=e.i.gc();)if(t=JR(Urn(e),74),!Z0(Bsn(JR(d2((!t.b&&(t.b=new yx(nlt,t,4,7)),t.b),0),84)),c))return!0;return!1}(i)),A8(r,V6n,(lbn(),ptn(fht))),h=JR(fdn(t,V6n),181).Hc(sht),o=new XL((!i.n&&(i.n=new aB(olt,i,1,7)),i.n));o.e!=o.i.gc();)if(!py(X$(fdn(a=JR(Urn(o),135),N6n)))&&a.a&&(f=K7(a),AL(c.f,f),!h))switch(s=0,tB(JR(fdn(t,V6n),21))&&(s=Sbn(new DC(a.i,a.j),new DC(a.g,a.f),new DC(i.g,i.f),0,d)),d.g){case 2:case 4:f.o.a=s;break;case 1:case 3:f.o.b=s}A8(r,p5n,z$(fdn(_X(t),p5n))),A8(r,m5n,z$(fdn(_X(t),m5n))),A8(r,d5n,z$(fdn(_X(t),d5n))),AL(e.a,r),DU(n.a,i,r)}function jjn(n,t,e,i,r,c){var a,o,u,s,h,f;for(y5(s=new ffn,t),Yln(s,JR(fdn(t,(LEn(),Q6n)),64)),A8(s,(qEn(),Y1n),t),sz(s,e),(f=s.o).a=t.g,f.b=t.f,(h=s.n).a=t.i,h.b=t.j,DU(n.a,t,s),(a=uJ(uG(r0(new PF(null,(!t.e&&(t.e=new yx(tlt,t,7,4)),new Kz(t.e,16))),new Wt),new zt),new Md(t)))||(a=uJ(uG(r0(new PF(null,(!t.d&&(t.d=new yx(tlt,t,8,5)),new Kz(t.d,16))),new Qt),new Vt),new Td(t))),a||(a=uJ(new PF(null,(!t.e&&(t.e=new yx(tlt,t,7,4)),new Kz(t.e,16))),new Jt)),A8(s,F1n,(UN(),!!a)),function(n,t,e,i){var r,c,a,o,u,s;if((o=n.j)==($jn(),$ht)&&t!=(ksn(),iht)&&t!=(ksn(),rht)&&(Yln(n,o=Pkn(n,e)),!(n.q?n.q:(eq(),eq(),HGn))._b((LEn(),G6n))&&o!=$ht&&(0!=n.n.a||0!=n.n.b)&&A8(n,G6n,function(n,t){var e;switch(e=n.i,t.g){case 1:return-(n.n.b+n.o.b);case 2:return n.n.a-e.o.a;case 3:return n.n.b-e.o.b;case 4:return-(n.n.a+n.o.a)}return 0}(n,o))),t==(ksn(),tht)){switch(s=0,o.g){case 1:case 3:(c=n.i.o.a)>0&&(s=n.n.a/c);break;case 2:case 4:(r=n.i.o.b)>0&&(s=n.n.b/r)}A8(n,(qEn(),o0n),s)}if(u=n.o,a=n.a,i)a.a=i.a,a.b=i.b,n.d=!0;else if(t!=iht&&t!=rht&&o!=$ht)switch(o.g){case 1:a.a=u.a/2;break;case 2:a.a=u.a,a.b=u.b/2;break;case 3:a.a=u.a/2,a.b=u.b;break;case 4:a.b=u.b/2}else a.a=u.a/2,a.b=u.b/2}(s,c,r,JR(fdn(t,U6n),8)),u=new XL((!t.n&&(t.n=new aB(olt,t,1,7)),t.n));u.e!=u.i.gc();)!py(X$(fdn(o=JR(Urn(u),135),N6n)))&&o.a&&AL(s.f,K7(o));switch(r.g){case 2:case 1:(s.j==($jn(),ght)||s.j==Nht)&&i.Fc((zpn(),ZZn));break;case 4:case 3:(s.j==($jn(),dht)||s.j==Dht)&&i.Fc((zpn(),ZZn))}return s}function Ejn(n,t){var e,i,r,c,a,o,u;if(SK(),this.a=new bL(this),this.b=n,this.c=t,this.f=GB(O1((nln(),dwt),t)),this.f.dc())if((o=kun(dwt,n))==t)for(this.e=!0,this.d=new Mm,this.f=new us,this.f.Fc(aHn),JR(xMn(I1(dwt,h2(n)),""),29)==n&&this.f.Fc(C_(dwt,h2(n))),r=$vn(dwt,n).Kc();r.Ob();)switch(i=JR(r.Pb(),179),EU(O1(dwt,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(GB(O1(dwt,i)))}else if(VE(),JR(t,69).xk())for(this.e=!0,this.f=null,this.d=new Mm,a=0,u=(null==n.i&&dyn(n),n.i).length;a=0&&a0&&(JR(XU(n.b,t),127).a.b=e)}function Pjn(n){var t;if(this.r=function(n,t){return new bq(JR(PH(n),50),JR(PH(t),50))}(new Sn,new Pn),this.b=new Wtn(JR(PH(zht),297)),this.p=new Wtn(JR(PH(zht),297)),this.i=new Wtn(JR(PH(lzn),297)),this.e=n,this.o=new JO(n.Mf()),this.D=py(X$(n.of((XEn(),Rut)))),this.F=n.Yf()||py(X$(n.of(Tot))),this.A=JR(n.of(Dot),21),this.B=JR(n.of(_ot),21),this.q=JR(n.of(rut),101),this.u=JR(n.of(uut),21),!function(n){return lbn(),!(k5(oX(i_(sht,a8(uM(xht,1),lPn,279,0,[fht])),n))>1||k5(oX(i_(uht,a8(uM(xht,1),lPn,279,0,[oht,lht])),n))>1)}(this.u))throw Lm(new Ny("Invalid port label placement: "+this.u));if(this.v=py(X$(n.of(hut))),this.j=JR(n.of(Not),21),!function(n){return ldn(),!(k5(oX(i_(Fst,a8(uM(Jst,1),lPn,95,0,[_st])),n))>1||k5(oX(i_(xst,a8(uM(Jst,1),lPn,95,0,[Dst,Kst])),n))>1||k5(oX(i_(Ust,a8(uM(Jst,1),lPn,95,0,[Hst,Bst])),n))>1)}(this.j))throw Lm(new Ny("Invalid node label placement: "+this.j));this.n=JR(Son(n,Aot),107),this.k=my(z$(Son(n,Put))),this.d=my(z$(Son(n,Sut))),this.w=my(z$(Son(n,$ut))),this.s=my(z$(Son(n,Cut))),this.t=my(z$(Son(n,Iut))),this.C=JR(Son(n,Lut),140),this.c=2*this.d,t=!this.B.Hc((Yvn(),Wht)),this.f=new arn(0,t,0),this.g=new arn(1,t,0),ly(this.f,(v2(),vXn),this.g)}function Cjn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w;switch(h=new ek,n.a.g){case 3:l=JR(ghn(t.e,(qEn(),p0n)),15),b=JR(ghn(t.j,p0n),15),w=JR(ghn(t.f,p0n),15),e=JR(ghn(t.e,d0n),15),i=JR(ghn(t.j,d0n),15),r=JR(ghn(t.f,d0n),15),J5(a=new Mm,l),b.Jc(new gc),J5(a,hen(b)),J5(a,w),J5(c=new Mm,e),J5(c,hen(i)),J5(c,r),A8(t.f,p0n,a),A8(t.f,d0n,c),A8(t.f,m0n,t.f),A8(t.e,p0n,null),A8(t.e,d0n,null),A8(t.j,p0n,null),A8(t.j,d0n,null);break;case 1:z4(h,t.e.a),HK(h,t.i.n),z4(h,hen(t.j.a)),HK(h,t.a.n),z4(h,t.f.a);break;default:z4(h,t.e.a),z4(h,hen(t.j.a)),z4(h,t.f.a)}UG(t.f.a),z4(t.f.a,h),oz(t.f,t.e.c),o=JR(ghn(t.e,(LEn(),o6n)),75),s=JR(ghn(t.j,o6n),75),u=JR(ghn(t.f,o6n),75),(o||s||u)&&(JB(f=new ek,u),JB(f,s),JB(f,o),A8(t.f,o6n,f)),oz(t.j,null),hz(t.j,null),oz(t.e,null),hz(t.e,null),uz(t.a,null),uz(t.i,null),t.g&&Cjn(n,t.g)}function Ijn(){var n,t,e;for(Ijn=E,new Fnn(1,0),new Fnn(10,0),new Fnn(0,0),kGn=tZ(DGn,HSn,247,11,0,1),yGn=tZ(Vdt,CPn,28,100,15,1),MGn=a8(uM(Zdt,1),jCn,28,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),TGn=tZ(Wdt,GPn,28,MGn.length,15,1),jGn=a8(uM(Zdt,1),jCn,28,15,[1,10,100,IPn,1e4,ECn,1e6,1e7,1e8,fCn,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),EGn=tZ(Wdt,GPn,28,jGn.length,15,1),SGn=tZ(DGn,HSn,247,11,0,1),n=0;n0&&(Rz(0,t.length),64!=(o=t.charCodeAt(0)))){if(37==o&&(u=!1,0!=(h=t.lastIndexOf("%"))&&(h==f-1||(Rz(h+1,t.length),u=46==t.charCodeAt(h+1))))){if(aZ(1,h,t.length),m=Cx("%",a=t.substr(1,h-1))?null:Hjn(a),i=0,u)try{i=ckn((Rz(h+2,t.length+1),t.substr(h+2)),vPn,wSn)}catch(n){throw sL(n=X5(n),130)?Lm(new j1(n)):Lm(n)}for(d=k4(n.Gh());d.Ob();)if(sL(b=w5(d),519)&&(p=(r=JR(b,598)).d,(null==m?null==p:Cx(m,p))&&0==i--))return r;return null}if(l=-1==(s=t.lastIndexOf("."))?t:(aZ(0,s,t.length),t.substr(0,s)),e=0,-1!=s)try{e=ckn((Rz(s+1,t.length+1),t.substr(s+1)),vPn,wSn)}catch(n){if(!sL(n=X5(n),130))throw Lm(n);l=t}for(l=Cx("%",l)?null:Hjn(l),w=k4(n.Gh());w.Ob();)if(sL(b=w5(w),197)&&(g=(c=JR(b,197)).xe(),(null==l?null==g:Cx(l,g))&&0==e--))return c;return null}return ZTn(n,t)}function Fjn(n,t,e,r,c){var a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T;if(p=new DC(n.g,n.f),(g=mln(n)).a=i.Math.max(g.a,t),g.b=i.Math.max(g.b,e),T=g.a/p.a,f=g.b/p.b,y=g.a-p.a,s=g.b-p.b,r)for(o=_X(n)?JR(fdn(_X(n),(XEn(),hot)),88):JR(fdn(n,(XEn(),hot)),88),u=UI(fdn(n,(XEn(),rut)))===UI((ksn(),nht)),v=new XL((!n.c&&(n.c=new aB(slt,n,9,9)),n.c));v.e!=v.i.gc();)switch(m=JR(Urn(v),123),(k=JR(fdn(m,fut),64))==($jn(),$ht)&&(k=eyn(m,o),ocn(m,fut,k)),k.g){case 1:u||_2(m,m.i*T);break;case 2:_2(m,m.i+y),u||B2(m,m.j*f);break;case 3:u||_2(m,m.i*T),B2(m,m.j+s);break;case 4:u||B2(m,m.j*f)}if(lA(n,g.a,g.b),c)for(b=new XL((!n.n&&(n.n=new aB(olt,n,1,7)),n.n));b.e!=b.i.gc();)w=(l=JR(Urn(b),135)).i+l.g/2,d=l.j+l.f/2,(M=w/p.a)+(h=d/p.b)>=1&&(M-h>0&&d>=0?(_2(l,l.i+y),B2(l,l.j+s*h)):M-h<0&&w>=0&&(_2(l,l.i+y*M),B2(l,l.j+s)));return ocn(n,(XEn(),Dot),(hin(),new Wx(a=JR(rT(rft),9),JR(qD(a,a.length),9),0))),new DC(T,f)}function _jn(n){DE(n,new Fsn(MM(EM(yM(jM(TM(new bu,Axn),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Oo),Axn))),HV(n,Axn,uDn,Hrn(xet)),HV(n,Axn,eAn,Hrn(Uet)),HV(n,Axn,lAn,Hrn(Iet)),HV(n,Axn,AAn,Hrn(Oet)),HV(n,Axn,fAn,Hrn(Aet)),HV(n,Axn,bAn,Hrn(Cet)),HV(n,Axn,sAn,Hrn(Let)),HV(n,Axn,wAn,Hrn(Det)),HV(n,Axn,Mxn,Hrn(Set)),HV(n,Axn,yxn,Hrn(Pet)),HV(n,Axn,kxn,Hrn(Ket)),HV(n,Axn,Sxn,Hrn(Bet)),HV(n,Axn,Pxn,Hrn(Fet)),HV(n,Axn,Cxn,Hrn(_et)),HV(n,Axn,Exn,Hrn(Net)),HV(n,Axn,mxn,Hrn($et)),HV(n,Axn,vxn,Hrn(Ret)),HV(n,Axn,Txn,Hrn(Het)),HV(n,Axn,jxn,Hrn(Get)),HV(n,Axn,pxn,Hrn(Eet))}function Bjn(n){var t,e,i,r,c,a,o,u,s,h,f;if(null==n)throw Lm(new eM(jSn));if(s=n,u=!1,(c=n.length)>0&&(Rz(0,n.length),45!=(t=n.charCodeAt(0))&&43!=t||(Rz(1,n.length+1),n=n.substr(1),--c,u=45==t)),0==c)throw Lm(new eM(gCn+s+'"'));for(;n.length>0&&(Rz(0,n.length),48==n.charCodeAt(0));)Rz(1,n.length+1),n=n.substr(1),--c;if(c>(xkn(),bGn)[10])throw Lm(new eM(gCn+s+'"'));for(r=0;r0&&(f=-parseInt((aZ(0,i,n.length),n.substr(0,i)),10),Rz(i,n.length+1),n=n.substr(i),c-=i,e=!1);c>=a;){if(i=parseInt((aZ(0,a,n.length),n.substr(0,a)),10),Rz(a,n.length+1),n=n.substr(a),c-=a,e)e=!1;else{if(G7(f,o)<0)throw Lm(new eM(gCn+s+'"'));f=Ltn(f,h)}f=Ntn(f,i)}if(G7(f,0)>0)throw Lm(new eM(gCn+s+'"'));if(!u&&G7(f=v1(f),0)<0)throw Lm(new eM(gCn+s+'"'));return f}function Hjn(n){var t,e,i,r,c,a,o,u;if(KMn(),null==n)return null;if((r=KO(n,Zsn(37)))<0)return n;for(u=new kN((aZ(0,r,n.length),n.substr(0,r))),t=tZ(Ydt,ZKn,28,4,15,1),o=0,i=0,a=n.length;rr+2&&I8((Rz(r+1,n.length),n.charCodeAt(r+1)),qlt,Xlt)&&I8((Rz(r+2,n.length),n.charCodeAt(r+2)),qlt,Xlt))if(e=wK((Rz(r+1,n.length),n.charCodeAt(r+1)),(Rz(r+2,n.length),n.charCodeAt(r+2))),r+=2,i>0?128==(192&e)?t[o++]=e<<24>>24:i=0:e>=128&&(192==(224&e)?(t[o++]=e<<24>>24,i=2):224==(240&e)?(t[o++]=e<<24>>24,i=3):240==(248&e)&&(t[o++]=e<<24>>24,i=4)),i>0){if(o==i){switch(o){case 2:ZH(u,((31&t[0])<<6|63&t[1])&OPn);break;case 3:ZH(u,((15&t[0])<<12|(63&t[1])<<6|63&t[2])&OPn)}o=0,i=0}}else{for(c=0;c=2){if(0==(!n.a&&(n.a=new aB(elt,n,6,6)),n.a).i)YM(),e=new is,bZ((!n.a&&(n.a=new aB(elt,n,6,6)),n.a),e);else if((!n.a&&(n.a=new aB(elt,n,6,6)),n.a).i>1)for(l=new JN((!n.a&&(n.a=new aB(elt,n,6,6)),n.a));l.e!=l.i.gc();)Kun(l);vyn(t,JR(d2((!n.a&&(n.a=new aB(elt,n,6,6)),n.a),0),166))}if(f)for(r=new XL((!n.a&&(n.a=new aB(elt,n,6,6)),n.a));r.e!=r.i.gc();)for(s=new XL((!(e=JR(Urn(r),166)).a&&(e.a=new NL(Jft,e,5)),e.a));s.e!=s.i.gc();)u=JR(Urn(s),377),o.a=i.Math.max(o.a,u.a),o.b=i.Math.max(o.b,u.b);for(a=new XL((!n.n&&(n.n=new aB(olt,n,1,7)),n.n));a.e!=a.i.gc();)c=JR(Urn(a),135),(h=JR(fdn(c,Tst),8))&&bA(c,h.a,h.b),f&&(o.a=i.Math.max(o.a,c.i+c.g),o.b=i.Math.max(o.b,c.j+c.f));return o}function Gjn(n,t,e,i,r){var c,a,o;if(u0(n,t),a=t[0],c=rG(e.c,0),o=-1,e9(e))if(i>0){if(a+i>n.length)return!1;o=Nbn((aZ(0,a+i,n.length),n.substr(0,a+i)),t)}else o=Nbn(n,t);switch(c){case 71:return o=Dfn(n,a,a8(uM(CGn,1),HSn,2,6,[qPn,XPn]),t),r.e=o,!0;case 77:case 76:return function(n,t,e,i,r){return i<0?((i=Dfn(n,r,a8(uM(CGn,1),HSn,2,6,[APn,LPn,NPn,$Pn,DPn,xPn,RPn,KPn,FPn,_Pn,BPn,HPn]),t))<0&&(i=Dfn(n,r,a8(uM(CGn,1),HSn,2,6,["Jan","Feb","Mar","Apr",DPn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),t)),!(i<0||(e.k=i,0))):i>0&&(e.k=i-1,!0)}(n,t,r,o,a);case 69:case 99:return function(n,t,e,i){var r;return(r=Dfn(n,e,a8(uM(CGn,1),HSn,2,6,[zPn,VPn,WPn,QPn,JPn,YPn,ZPn]),t))<0&&(r=Dfn(n,e,a8(uM(CGn,1),HSn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),t)),!(r<0||(i.d=r,0))}(n,t,a,r);case 97:return o=Dfn(n,a,a8(uM(CGn,1),HSn,2,6,["AM","PM"]),t),r.b=o,!0;case 121:return function(n,t,e,i,r,c){var a,o,u;if(o=32,i<0){if(t[0]>=n.length)return!1;if(43!=(o=rG(n,t[0]))&&45!=o)return!1;if(++t[0],(i=Nbn(n,t))<0)return!1;45==o&&(i=-i)}return 32==o&&t[0]-e==2&&2==r.b&&(a=(u=(new Cj).q.getFullYear()-UPn+UPn-80)%100,c.a=i==a,i+=100*(u/100|0)+(i3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}(o,a,t[0],r);case 104:12==o&&(o=0);case 75:case 72:return!(o<0||(r.f=o,r.g=!1,0));case 107:return!(o<0||(r.f=o,r.g=!0,0));case 109:return!(o<0||(r.j=o,0));case 115:return!(o<0||(r.n=o,0));case 90:if(a=0&&Cx(n.substr(t,3),"GMT")||t>=0&&Cx(n.substr(t,3),"UTC")?(e[0]=t+3,ukn(n,e,i)):ukn(n,e,i)}(n,a,t,r);default:return!1}}function qjn(n,t,e){var i,r,c,a,o;switch(i=t.i,c=n.i.o,r=n.i.d,o=n.n,a=Z8(a8(uM(Mat,1),HSn,8,0,[o,n.a])),n.j.g){case 1:PD(t,(z1(),AXn)),i.d=-r.d-e-i.a,JR(JR(bF(t.d,0),187).of((qEn(),G1n)),291)==(yon(),Ist)?(wZ(t,(BZ(),SXn)),i.c=a.a-my(z$(ghn(n,Q1n)))-e-i.b):(wZ(t,(BZ(),EXn)),i.c=a.a+my(z$(ghn(n,Q1n)))+e);break;case 2:wZ(t,(BZ(),EXn)),i.c=c.a+r.c+e,JR(JR(bF(t.d,0),187).of((qEn(),G1n)),291)==(yon(),Ist)?(PD(t,(z1(),AXn)),i.d=a.b-my(z$(ghn(n,Q1n)))-e-i.a):(PD(t,(z1(),NXn)),i.d=a.b+my(z$(ghn(n,Q1n)))+e);break;case 3:PD(t,(z1(),NXn)),i.d=c.b+r.a+e,JR(JR(bF(t.d,0),187).of((qEn(),G1n)),291)==(yon(),Ist)?(wZ(t,(BZ(),SXn)),i.c=a.a-my(z$(ghn(n,Q1n)))-e-i.b):(wZ(t,(BZ(),EXn)),i.c=a.a+my(z$(ghn(n,Q1n)))+e);break;case 4:wZ(t,(BZ(),SXn)),i.c=-r.b-e-i.b,JR(JR(bF(t.d,0),187).of((qEn(),G1n)),291)==(yon(),Ist)?(PD(t,(z1(),AXn)),i.d=a.b-my(z$(ghn(n,Q1n)))-e-i.a):(PD(t,(z1(),NXn)),i.d=a.b+my(z$(ghn(n,Q1n)))+e)}}function Xjn(n){var t,e,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;if(1==n.gc())return JR(n.Xb(0),235);if(n.gc()<=0)return new YJ;for(c=n.Kc();c.Ob();){for(e=JR(c.Pb(),235),d=0,f=wSn,l=wSn,s=vPn,h=vPn,w=new mw(e.e);w.au&&(k=0,y+=o+m,o=0),zvn(g,e,k,y),t=i.Math.max(t,k+p.a),o=i.Math.max(o,p.b),k+=p.a+m;return g}function zjn(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;for(o=new mw(n.a.b);o.a0)if(r=f.gc(),s=lX(i.Math.floor((r+1)/2))-1,c=lX(i.Math.ceil((r+1)/2))-1,t.o==s7n)for(h=c;h>=s;h--)t.a[k.p]==k&&(d=JR(f.Xb(h),42),w=JR(d.a,10),!Rj(e,d.b)&&b>n.b.e[w.p]&&(t.a[w.p]=k,t.g[k.p]=t.g[w.p],t.a[k.p]=t.g[k.p],t.f[t.g[k.p].p]=(UN(),!!(py(t.f[t.g[k.p].p])&k.k==(Yhn(),uQn))),b=n.b.e[w.p]));else for(h=s;h<=c;h++)t.a[k.p]==k&&(p=JR(f.Xb(h),42),g=JR(p.a,10),!Rj(e,p.b)&&b0&&(c=JR(bF(p.c.a,T-1),10),o=n.i[c.p],E=i.Math.ceil(VA(n.n,c,p)),a=M.a.e-p.d.d-(o.a.e+c.o.b+c.d.a)-E),h=pCn,T0&&j.a.e.e-j.a.a-(j.b.e.e-j.b.a)<0,d=k.a.e.e-k.a.a-(k.b.e.e-k.b.a)<0&&j.a.e.e-j.a.a-(j.b.e.e-j.b.a)>0,w=k.a.e.e+k.b.aj.b.e.e+j.a.a,y=0,!g&&!d&&(b?a+l>0?y=l:h-r>0&&(y=r):w&&(a+u>0?y=u:h-v>0&&(y=v))),M.a.e+=y,M.b&&(M.d.e+=y),1)))}function Wjn(n,t,e){var r,c,a,o,u,s,h,f,l,b;if(r=new kG(t.Lf().a,t.Lf().b,t.Mf().a,t.Mf().b),c=new nA,n.c)for(o=new mw(t.Rf());o.as&&(i.a+=mL(tZ(Vdt,CPn,28,-s,15,1))),i.a+="Is",KO(u,Zsn(32))>=0)for(r=0;r=2&&(i=JR(r.Kc().Pb(),117),e=n.u.Hc((lbn(),uht)),c=n.u.Hc(lht),!i.a&&!e&&(2==r.gc()||c))}(n,t),e=n.u.Hc((lbn(),oht)),u=s.Kc();u.Ob();)if((o=JR(u.Pb(),117)).c&&!(o.c.d.c.length<=0)){switch(l=o.b.Mf(),(f=(h=o.c).i).b=(c=h.n,h.e.a+c.b+c.c),f.a=(r=h.n,h.e.b+r.d+r.a),t.g){case 1:o.a?(f.c=(l.a-f.b)/2,wZ(h,(BZ(),jXn))):a||e?(f.c=-f.b-n.s,wZ(h,(BZ(),SXn))):(f.c=l.a+n.s,wZ(h,(BZ(),EXn))),f.d=-f.a-n.t,PD(h,(z1(),AXn));break;case 3:o.a?(f.c=(l.a-f.b)/2,wZ(h,(BZ(),jXn))):a||e?(f.c=-f.b-n.s,wZ(h,(BZ(),SXn))):(f.c=l.a+n.s,wZ(h,(BZ(),EXn))),f.d=l.b+n.t,PD(h,(z1(),NXn));break;case 2:o.a?(i=n.v?f.a:JR(bF(h.d,0),187).Mf().b,f.d=(l.b-i)/2,PD(h,(z1(),LXn))):a||e?(f.d=-f.a-n.t,PD(h,(z1(),AXn))):(f.d=l.b+n.t,PD(h,(z1(),NXn))),f.c=l.a+n.s,wZ(h,(BZ(),EXn));break;case 4:o.a?(i=n.v?f.a:JR(bF(h.d,0),187).Mf().b,f.d=(l.b-i)/2,PD(h,(z1(),LXn))):a||e?(f.d=-f.a-n.t,PD(h,(z1(),AXn))):(f.d=l.b+n.t,PD(h,(z1(),NXn))),f.c=-f.b-n.s,wZ(h,(BZ(),SXn))}a=!1}}function nEn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p;if(l=!1,f=!1,rA(JR(ghn(i,(LEn(),q6n)),101))){a=!1,o=!1;n:for(w=new mw(i.j);w.a=i.o.b/2}p?(g=JR(ghn(i,(qEn(),y0n)),15))?l?c=g:(r=JR(ghn(i,v1n),15))?c=g.gc()<=r.gc()?g:r:(c=new Mm,A8(i,v1n,c)):(c=new Mm,A8(i,y0n,c)):(r=JR(ghn(i,(qEn(),v1n)),15))?f?c=r:(g=JR(ghn(i,y0n),15))?c=r.gc()<=g.gc()?r:g:(c=new Mm,A8(i,y0n,c)):(c=new Mm,A8(i,v1n,c)),c.Fc(n),A8(n,(qEn(),y1n),e),t.d==e?(hz(t,null),e.e.c.length+e.g.c.length==0&&sz(e,null),function(n){var t,e;(t=JR(ghn(n,(qEn(),a0n)),10))&&(g1((e=t.c).a,t),0==e.a.c.length&&g1(dU(t).b,e))}(e)):(oz(t,null),e.e.c.length+e.g.c.length==0&&sz(e,null)),UG(t.a)}function tEn(n,t,e){var r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C,I,O,A,L;for(e.Ug("MinWidth layering",1),d=t.b,E=t.a,L=JR(ghn(t,(LEn(),l6n)),17).a,u=JR(ghn(t,b6n),17).a,n.b=my(z$(ghn(t,s5n))),n.d=pCn,M=new mw(E);M.a0){for(l=h<100?null:new UM(h),w=new I6(t).g,g=tZ(Wdt,GPn,28,h,15,1),i=0,v=new a2(h),r=0;r=0;)if(null!=b?Enn(b,w[u]):UI(b)===UI(w[u])){g.length<=i&&ayn(g,0,g=tZ(Wdt,GPn,28,2*g.length,15,1),0,i),g[i++]=r,bZ(v,w[u]);break n}if(UI(b)===UI(o))break}}if(s=v,w=v.g,h=i,i>g.length&&ayn(g,0,g=tZ(Wdt,GPn,28,i,15,1),0,i),i>0){for(m=!0,c=0;c=0;)lon(n,g[a]);if(i!=h){for(r=h;--r>=i;)lon(s,r);ayn(g,0,g=tZ(Wdt,GPn,28,i,15,1),0,i)}t=s}}}else for(t=function(n,t){var e,i,r;if(t.dc())return nD(),nD(),Nlt;for(e=new OD(n,t.gc()),r=new XL(n);r.e!=r.i.gc();)i=Urn(r),t.Hc(i)&&bZ(e,i);return e}(n,t),r=n.i;--r>=0;)t.Hc(n.g[r])&&(lon(n,r),m=!0);if(m){if(null!=g){for(f=1==(e=t.gc())?cz(n,4,t.Kc().Pb(),null,g[0],d):cz(n,6,t,g,g[0],d),l=e<100?null:new UM(e),r=t.Kc();r.Ob();)l=Hx(n,JR(b=r.Pb(),76),l);l?(l.nj(f),l.oj()):i5(n.e,f)}else{for(l=function(n){return n<100?null:new UM(n)}(t.gc()),r=t.Kc();r.Ob();)l=Hx(n,JR(b=r.Pb(),76),l);l&&l.oj()}return!0}return!1}function iEn(n,t){var e,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k;for((e=new ycn(t)).a||function(n){var t,e,r,c,a;switch(c=JR(bF(n.a,0),10),t=new Bcn(n),AL(n.a,t),t.o.a=i.Math.max(1,c.o.a),t.o.b=i.Math.max(1,c.o.b),t.n.a=c.n.a,t.n.b=c.n.b,JR(ghn(c,(qEn(),N1n)),64).g){case 4:t.n.a+=2;break;case 1:t.n.b+=2;break;case 2:t.n.a-=2;break;case 3:t.n.b-=2}sz(r=new ffn,t),oz(e=new Oq,a=JR(bF(c.j,0),12)),hz(e,r),hx(MO(r.n),a.n),hx(MO(r.a),a.a)}(t),f=function(n){var t,e,i,r,c,a,o;for(o=new aJ,a=new mw(n.a);a.a=o.b.c)&&(o.b=t),(!o.c||t.c<=o.c.c)&&(o.d=o.c,o.c=t),(!o.e||t.d>=o.e.d)&&(o.e=t),(!o.f||t.d<=o.f.d)&&(o.f=t);return i=new Wrn((s8(),NWn)),OV(n,HWn,new Ky(a8(uM(LWn,1),kSn,382,0,[i]))),a=new Wrn(xWn),OV(n,BWn,new Ky(a8(uM(LWn,1),kSn,382,0,[a]))),r=new Wrn($Wn),OV(n,_Wn,new Ky(a8(uM(LWn,1),kSn,382,0,[r]))),c=new Wrn(DWn),OV(n,FWn,new Ky(a8(uM(LWn,1),kSn,382,0,[c]))),ogn(i.c,NWn),ogn(r.c,$Wn),ogn(c.c,DWn),ogn(a.c,xWn),o.a.c.length=0,J5(o.a,i.c),J5(o.a,hen(r.c)),J5(o.a,c.c),J5(o.a,hen(a.c)),o}(f)),e}function rEn(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d;if(null==e.p[t.p]){u=!0,e.p[t.p]=0,o=t,d=e.o==(TX(),u7n)?mCn:pCn;do{c=n.b.e[o.p],a=o.c.a.c.length,e.o==u7n&&c>0||e.o==s7n&&c1&&(o=i.Math.min(o,i.Math.abs(JR(Yrn(u.a,1),8).b-f.b)))));else for(d=new mw(t.j);d.ac&&(a=b.a-c,o=wSn,r.c.length=0,c=b.a),b.a>=c&&(Km(r.c,u),u.a.b>1&&(o=i.Math.min(o,i.Math.abs(JR(Yrn(u.a,u.a.b-2),8).b-b.b)))));if(0!=r.c.length&&a>t.o.a/2&&o>t.o.b/2){for(sz(w=new ffn,t),Yln(w,($jn(),ght)),w.n.a=t.o.a/2,sz(g=new ffn,t),Yln(g,Nht),g.n.a=t.o.a/2,g.n.b=t.o.b,s=new mw(r);s.a=h.b?oz(u,g):oz(u,w)):(h=JR(zR(u.a),8),(0==u.a.b?Az(u.c):JR(f$(u.a),8)).b>=h.b?hz(u,g):hz(u,w)),(l=JR(ghn(u,(LEn(),o6n)),75))&&Ten(l,h,!0);t.n.a=c-t.o.a/2}}function aEn(n,t,e,i,r,c,a,o,u){var s,h,f,l,b,w,d;switch(b=e,Lb(h=new Bcn(u),(Yhn(),aQn)),A8(h,(qEn(),$1n),a),A8(h,(LEn(),q6n),(ksn(),nht)),d=my(z$(n.of(G6n))),A8(h,G6n,d),sz(f=new ffn,h),t!=iht&&t!=rht||(b=i>=0?len(o):Znn(len(o)),n.qf(Q6n,b)),s=new zM,l=!1,n.pf(U6n)?(T$(s,JR(n.of(U6n),8)),l=!0):function(n,t,e){n.a=t,n.b=e}(s,a.a/2,a.b/2),b.g){case 4:A8(h,h6n,(yen(),T0n)),A8(h,P1n,(R8(),dZn)),h.o.b=a.b,d<0&&(h.o.a=-d),Yln(f,($jn(),dht)),l||(s.a=a.a),s.a-=a.a;break;case 2:A8(h,h6n,(yen(),E0n)),A8(h,P1n,(R8(),bZn)),h.o.b=a.b,d<0&&(h.o.a=-d),Yln(f,($jn(),Dht)),l||(s.a=0);break;case 1:A8(h,_1n,(V1(),f1n)),h.o.a=a.a,d<0&&(h.o.b=-d),Yln(f,($jn(),Nht)),l||(s.b=a.b),s.b-=a.b;break;case 3:A8(h,_1n,(V1(),s1n)),h.o.a=a.a,d<0&&(h.o.b=-d),Yln(f,($jn(),ght)),l||(s.b=0)}if(T$(f.n,s),A8(h,U6n,s),t==Zst||t==tht||t==nht){if(w=0,t==Zst&&n.pf(X6n))switch(b.g){case 1:case 2:w=JR(n.of(X6n),17).a;break;case 3:case 4:w=-JR(n.of(X6n),17).a}else switch(b.g){case 4:case 2:w=c.b,t==tht&&(w/=r.b);break;case 1:case 3:w=c.a,t==tht&&(w/=r.a)}A8(h,o0n,w)}return A8(h,N1n,b),h}function oEn(n,t,e){var i,r,c,a,o,u,s,h,f,l;for(y5(h=new Bcn(e),t),A8(h,(qEn(),Y1n),t),h.o.a=t.g,h.o.b=t.f,h.n.a=t.i,h.n.b=t.j,AL(e.a,h),DU(n.a,t,h),(0!=(!t.a&&(t.a=new aB(ult,t,10,11)),t.a).i||py(X$(fdn(t,(LEn(),i6n)))))&&A8(h,M1n,(UN(),!0)),s=JR(ghn(e,x1n),21),(f=JR(ghn(h,(LEn(),q6n)),101))==(ksn(),rht)?A8(h,q6n,iht):f!=iht&&s.Fc((zpn(),YZn)),l=0,i=JR(ghn(e,D4n),88),u=new XL((!t.c&&(t.c=new aB(slt,t,9,9)),t.c));u.e!=u.i.gc();)o=JR(Urn(u),123),(UI(fdn(r=_X(t),k4n))!==UI(($in(),N8n))||UI(fdn(r,N4n))===UI((Nin(),aZn))||UI(fdn(r,N4n))===UI((Nin(),rZn))||py(X$(fdn(r,M4n)))||UI(fdn(r,w4n))!==UI((Yin(),WWn))||UI(fdn(r,d6n))===UI((Cvn(),y8n))||UI(fdn(r,d6n))===UI((Cvn(),M8n))||UI(fdn(r,g6n))===UI((Kgn(),q5n))||UI(fdn(r,g6n))===UI((Kgn(),z5n)))&&!py(X$(fdn(t,m4n)))&&ocn(o,J1n,ann(l++)),py(X$(fdn(o,N6n)))||jjn(n,o,h,s,i,f);for(a=new XL((!t.n&&(t.n=new aB(olt,t,1,7)),t.n));a.e!=a.i.gc();)!py(X$(fdn(c=JR(Urn(a),135),N6n)))&&c.a&&AL(h.b,K7(c));return py(X$(ghn(h,h4n)))&&s.Fc((zpn(),zZn)),py(X$(ghn(h,e6n)))&&(s.Fc((zpn(),JZn)),s.Fc(QZn),A8(h,q6n,iht)),h}function uEn(n,t,e,r,c,a,o){var u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C,I,O,A;for(g=0,P=0,h=new mw(n.b);h.ag&&(a&&(lO(T,w),lO(E,ann(f.b-1)),AL(n.d,d),u.c.length=0),O=e.b,A+=w+t,w=0,l=i.Math.max(l,e.b+e.c+I)),Km(u.c,s),Qrn(s,O,A),l=i.Math.max(l,O+I+e.c),w=i.Math.max(w,b),O+=I+t,d=s;if(J5(n.a,u),AL(n.d,JR(bF(u,u.c.length-1),163)),l=i.Math.max(l,r),(C=A+w+e.a)0,g=v.g.c.length>0,s&&g?Km(l.c,v):s?Km(w.c,v):g&&Km(m.c,v);for(b=new mw(w);b.av.nh()-h.b&&(b=v.nh()-h.b),w>v.oh()-h.d&&(w=v.oh()-h.d),f=s.c.c.length?nQ((Yhn(),sQn),uQn):nQ((Yhn(),uQn),uQn),h*=2,c=e.a.g,e.a.g=i.Math.max(c,c+(h-c)),a=e.b.g,e.b.g=i.Math.max(a,a+(h-a)),r=t}else Mbn(o),DMn((xz(0,o.c.length),JR(o.c[0],18)).d.i)||AL(n.o,o)}(n),a.Vg()),Ncn(n.f),c=JR(ghn(t,j5n),17).a*n.f.a.c.length,qvn(wM(dM(gR(n.f),c),!1),e.eh(1)),0!=n.d.a.gc()){for((a=e.eh(1)).Ug("Flexible Where Space Processing",1),o=JR(IN(W_(uG(new PF(null,new Kz(n.f.a,16)),new Bc),new $c)),17).a,u=JR(IN(V_(uG(new PF(null,new Kz(n.f.a,16)),new Hc),new Dc)),17).a-o,s=LN(new Mv,n.f),f=LN(new Mv,n.f),Qgn(uE(oE(aE(sE(new yv,2e4),u),s),f)),Yj(oG(oG(DB(n.i),new Uc),new Gc),new vG(o,s,u,f)),r=n.d.a.ec().Kc();r.Ob();)JR(r.Pb(),218).g=1;qvn(wM(dM(gR(n.f),c),!1),a.eh(1)),a.Vg()}py(X$(ghn(t,j6n)))&&((a=e.eh(1)).Ug("Straight Edges Post-Processing",1),function(n){var t,e,i;for(z4(e=new Gj,n.o),i=new Uv;0!=e.b;)Vjn(n,t=JR(0==e.b?null:(J$(0!=e.b),c2(e,e.a.a)),515),!0)&&AL(i.a,t);for(;0!=i.a.c.length;)Vjn(n,t=JR(Q9(i),515),!1)}(n),a.Vg()),function(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,w,d;for(e=new mw(n.e.b);e.as&&(l=0,b+=u+t,u=0),svn(a,l,b),e=i.Math.max(e,l+h.a),u=i.Math.max(u,h.b),l+=h.a+t;return new DC(e+t,b+u+t)}(xN(n,($jn(),yht)),t),d=zan(xN(n,Mht),t),y=zan(xN(n,Oht),t),E=Van(xN(n,Lht),t),b=Van(xN(n,pht),t),v=zan(xN(n,Iht),t),g=zan(xN(n,Tht),t),T=zan(xN(n,Aht),t),M=zan(xN(n,mht),t),S=Van(xN(n,kht),t),m=zan(xN(n,Pht),t),k=zan(xN(n,Sht),t),j=zan(xN(n,vht),t),P=Van(xN(n,Cht),t),w=Van(xN(n,jht),t),p=zan(xN(n,Eht),t),e=J0(a8(uM(Zdt,1),jCn,28,15,[v.a,E.a,T.a,P.a])),r=J0(a8(uM(Zdt,1),jCn,28,15,[d.a,l.a,y.a,p.a])),c=m.a,a=J0(a8(uM(Zdt,1),jCn,28,15,[g.a,b.a,M.a,w.a])),h=J0(a8(uM(Zdt,1),jCn,28,15,[v.b,d.b,g.b,k.b])),s=J0(a8(uM(Zdt,1),jCn,28,15,[E.b,l.b,b.b,p.b])),f=S.b,u=J0(a8(uM(Zdt,1),jCn,28,15,[T.b,y.b,M.b,j.b])),kZ(xN(n,yht),e+c,h+f),kZ(xN(n,Eht),e+c,h+f),kZ(xN(n,Mht),e+c,0),kZ(xN(n,Oht),e+c,h+f+s),kZ(xN(n,Lht),0,h+f),kZ(xN(n,pht),e+c+r,h+f),kZ(xN(n,Tht),e+c+r,0),kZ(xN(n,Aht),0,h+f+s),kZ(xN(n,mht),e+c+r,h+f+s),kZ(xN(n,kht),0,h),kZ(xN(n,Pht),e,0),kZ(xN(n,vht),0,h+f+s),kZ(xN(n,jht),e+c+r,0),(o=new zM).a=J0(a8(uM(Zdt,1),jCn,28,15,[e+r+c+a,S.a,k.a,j.a])),o.b=J0(a8(uM(Zdt,1),jCn,28,15,[h+s+f+u,m.b,P.b,w.b])),o}function dEn(n){var t,e,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T;for(d=new DC(pCn,pCn),t=new DC(mCn,mCn),y=new mw(n);y.a=48&&t<=57))throw Lm(new Ry(tSn((DA(),P_n))));for(i=t-48;r=48&&t<=57;)if((i=10*i+t-48)<0)throw Lm(new Ry(tSn((DA(),A_n))));if(e=i,44==t){if(r>=n.j)throw Lm(new Ry(tSn((DA(),I_n))));if((t=rG(n.i,r++))>=48&&t<=57){for(e=t-48;r=48&&t<=57;)if((e=10*e+t-48)<0)throw Lm(new Ry(tSn((DA(),A_n))));if(i>e)throw Lm(new Ry(tSn((DA(),O_n))))}else e=-1}if(125!=t)throw Lm(new Ry(tSn((DA(),C_n))));n.bm(r)?(WEn(),WEn(),c=new hQ(9,c),n.d=r+1):(WEn(),WEn(),c=new hQ(3,c),n.d=r),c.Om(i),c.Nm(e),NEn(n)}}return c}function mEn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v;if(MB(n.a,t)){if(Rj(JR(RH(n.a,t),49),e))return 1}else DU(n.a,t,new dv);if(MB(n.a,e)){if(Rj(JR(RH(n.a,e),49),t))return-1}else DU(n.a,e,new dv);if(MB(n.e,t)){if(Rj(JR(RH(n.e,t),49),e))return-1}else DU(n.e,t,new dv);if(MB(n.e,e)){if(Rj(JR(RH(n.a,e),49),t))return 1}else DU(n.e,e,new dv);if(n.c==($in(),$8n)||!b$(t,(qEn(),J1n))||!b$(e,(qEn(),J1n))){for(f=null,s=new mw(t.j);s.a(a=Uun(n,e))?gvn(n,t,e):gvn(n,e,t),ra?1:0}return(i=JR(ghn(t,(qEn(),J1n)),17).a)>(c=JR(ghn(e,J1n),17).a)?gvn(n,t,e):gvn(n,e,t),ic?1:0}function vEn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g;if(null==e)return null;if(n.a!=t.jk())throw Lm(new Cy(QKn+t.xe()+JKn));if(sL(t,469)){if(!(d=function(n,t){var e,i,r;if(null==t){for(!n.a&&(n.a=new aB(hbt,n,9,5)),i=new XL(n.a);i.e!=i.i.gc();)if(null==(null==(r=(e=JR(Urn(i),694)).c)?e.zb:r))return e}else for(!n.a&&(n.a=new aB(hbt,n,9,5)),i=new XL(n.a);i.e!=i.i.gc();)if(Cx(t,null==(r=(e=JR(Urn(i),694)).c)?e.zb:r))return e;return null}(JR(t,685),e)))throw Lm(new Cy(YKn+e+"' is not a valid enumerator of '"+t.xe()+"'"));return d}switch(knn((nln(),dwt),t).Nl()){case 2:e=vMn(e,!1);break;case 3:e=vMn(e,!0)}if(i=knn(dwt,t).Jl())return i.jk().wi().ti(i,e);if(f=knn(dwt,t).Ll()){for(d=new Mm,s=0,h=(u=$9(e)).length;s1)for(b=new JN((!n.a&&(n.a=new aB(elt,n,6,6)),n.a));b.e!=b.i.gc();)Kun(b);for(d=C,C>k+v?d=k+v:Cy+w?g=y+w:Ik-v&&dy-w&&gC+P?T=C+P:kI+M?j=I+M:yC-P&&TI-M&&je&&(f=e-1),(l=N+ngn(t,24)*HCn*h-h/2)<0?l=1:l>r&&(l=r-1),YM(),q2(c=new ns,f),x2(c,l),bZ((!o.a&&(o.a=new NL(Jft,o,5)),o.a),c)}function jEn(n){DE(n,new Fsn(EM(yM(jM(TM(new bu,tRn),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new _o))),HV(n,tRn,LOn,1.3),HV(n,tRn,hAn,(UN(),!1)),HV(n,tRn,NOn,art),HV(n,tRn,eAn,15),HV(n,tRn,Z$n,Hrn(Git)),HV(n,tRn,lAn,Hrn(Jit)),HV(n,tRn,AAn,Hrn(Zit)),HV(n,tRn,fAn,Hrn(nrt)),HV(n,tRn,bAn,Hrn(Qit)),HV(n,tRn,sAn,Hrn(trt)),HV(n,tRn,wAn,Hrn(ort)),HV(n,tRn,Xxn,Hrn(lrt)),HV(n,tRn,zxn,Hrn(frt)),HV(n,tRn,qxn,Hrn(wrt)),HV(n,tRn,Gxn,Hrn(brt)),HV(n,tRn,Vxn,Hrn(rrt)),HV(n,tRn,Wxn,Hrn(irt)),HV(n,tRn,Qxn,Hrn(ert)),HV(n,tRn,Jxn,Hrn(hrt)),HV(n,tRn,aAn,Hrn(zit)),HV(n,tRn,fDn,Hrn(Vit)),HV(n,tRn,Hxn,Hrn(Xit)),HV(n,tRn,Bxn,Hrn(qit)),HV(n,tRn,Uxn,Hrn(Wit)),HV(n,tRn,_xn,Hrn(srt))}function EEn(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C;if(gMn(),j=n.e,w=n.d,r=n.a,0==j)switch(t){case 0:return"0";case 1:return CCn;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(M=new Yy).a+=t<0?"0E+":"0E",M.a+=-t,M.a}if(k=tZ(Vdt,CPn,28,1+(v=10*w+1+7),15,1),e=v,1==w)if((o=r[0])<0){C=Hz(o,PCn);do{d=C,C=Tun(C,10),k[--e]=48+y_(Ntn(d,Ltn(C,10)))&OPn}while(0!=G7(C,0))}else{C=o;do{d=C,C=C/10|0,k[--e]=d-10*C+48&OPn}while(0!=C)}else{ayn(r,0,S=tZ(Wdt,GPn,28,w,15,1),0,P=w);n:for(;;){for(T=0,s=P-1;s>=0;s--)p=Asn(Atn(N_(T,32),Hz(S[s],PCn))),S[s]=y_(p),T=y_($_(p,32));m=y_(T),g=e;do{k[--e]=48+m%10&OPn}while(0!=(m=m/10|0)&&0!=e);for(i=9-g+e,u=0;u0;u++)k[--e]=48;for(f=P-1;0==S[f];f--)if(0==f)break n;P=f+1}for(;48==k[e];)++e}if(b=j<0,a=v-e-t-1,0==t)return b&&(k[--e]=45),Ain(k,e,v-e);if(t>0&&a>=-6){if(a>=0){for(h=e+a,l=v-1;l>=h;l--)k[l+1]=k[l];return k[++h]=46,b&&(k[--e]=45),Ain(k,e,v-e+1)}for(f=2;f<1-a;f++)k[--e]=48;return k[--e]=46,k[--e]=48,b&&(k[--e]=45),Ain(k,e,v-e)}return E=e+1,c=v,y=new Zy,b&&(y.a+="-"),c-E>=1?(ZH(y,k[e]),y.a+=".",y.a+=Ain(k,e+1,v-e-1)):y.a+=Ain(k,e,v-e),y.a+="E",a>0&&(y.a+="+"),y.a+=""+a,y.a}function SEn(n,t){var e,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y;switch(n.c=t,n.g=new ym,_E(),ben(new nd(new oy(n.c))),m=V$(fdn(n.c,(khn(),hct))),o=JR(fdn(n.c,lct),324),k=JR(fdn(n.c,bct),437),c=JR(fdn(n.c,cct),490),v=JR(fdn(n.c,fct),438),n.j=my(z$(fdn(n.c,wct))),a=n.a,o.g){case 0:a=n.a;break;case 1:a=n.b;break;case 2:a=n.i;break;case 3:a=n.e;break;case 4:a=n.f;break;default:throw Lm(new Cy(oRn+(null!=o.f?o.f:""+o.g)))}if(n.d=new wX(a,k,c),A8(n.d,(H6(),jzn),X$(fdn(n.c,oct))),n.d.c=py(X$(fdn(n.c,act))),0==aq(n.c).i)return n.d;for(h=new XL(aq(n.c));h.e!=h.i.gc();){for(l=(s=JR(Urn(h),27)).g/2,f=s.f/2,y=new DC(s.i+l,s.j+f);MB(n.g,y);)y$(y,(i.Math.random()-.5)*QOn,(i.Math.random()-.5)*QOn);w=JR(fdn(s,(XEn(),Iot)),140),d=new XX(y,new kG(y.a-l-n.j/2-w.b,y.b-f-n.j/2-w.d,s.g+n.j+(w.b+w.c),s.f+n.j+(w.d+w.a))),AL(n.d.i,d),DU(n.g,y,new uI(d,s))}switch(v.g){case 0:if(null==m)n.d.d=JR(bF(n.d.i,0),68);else for(p=new mw(n.d.i);p.a1&&vQ(f,m,f.c.b,f.c),W0(c)));m=v}return f}function CEn(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S;for(e.Ug(exn,1),S=JR(MQ(oG(new PF(null,new Kz(t,16)),new wo),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[(o7(),Tqn)]))),15),h=JR(MQ(oG(new PF(null,new Kz(t,16)),new tp(t)),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[Tqn]))),15),w=JR(MQ(oG(new PF(null,new Kz(t,16)),new np(t)),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[Tqn]))),15),d=tZ(ant,HDn,40,t.gc(),0,1),a=0;a=0&&E=0&&!d[b]){d[b]=r,h.gd(o),--o;break}if((b=E-l)=0&&!d[b]){d[b]=r,h.gd(o),--o;break}}for(w.jd(new go),u=d.length-1;u>=0;u--)d[u]||w.dc()||(d[u]=JR(w.Xb(0),40),w.gd(0));for(s=0;s=0;u--)HK(e,(xz(u,a.c.length),JR(a.c[u],8)));return e}function OEn(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k;for(v=my(z$(fdn(t,(Kmn(),Mit)))),b=my(z$(fdn(t,kit))),l=my(z$(fdn(t,pit))),L4((!t.a&&(t.a=new aB(ult,t,10,11)),t.a)),p=UMn((!t.a&&(t.a=new aB(ult,t,10,11)),t.a),v,n.b),g=0;gl&&Hon((xz(l,t.c.length),JR(t.c[l],186)),h),h=null;t.c.length>l&&0==(xz(l,t.c.length),JR(t.c[l],186)).a.c.length;)g1(t,(xz(l,t.c.length),t.c[l]));if(!h){--a;continue}if(!py(X$(JR(bF(h.b,0),27).of((smn(),Wit))))&&pkn(t,w,c,h,g,e,l,i)){d=!0;continue}if(g){if(b=w.b,f=h.f,!py(X$(JR(bF(h.b,0),27).of(Wit)))&&TTn(t,w,c,h,e,l,i,r)){if(d=!0,b=n.j)return n.a=-1,void(n.c=1);if(t=rG(n.i,n.d++),n.a=t,1!=n.b){switch(t){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,n.d>=n.j)break;if(63!=rG(n.i,n.d))break;if(++n.d>=n.j)throw Lm(new Ry(tSn((DA(),JFn))));switch(t=rG(n.i,n.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(n.d>=n.j)throw Lm(new Ry(tSn((DA(),JFn))));if(61==(t=rG(n.i,n.d++)))i=16;else{if(33!=t)throw Lm(new Ry(tSn((DA(),YFn))));i=17}break;case 35:for(;n.d=n.j)throw Lm(new Ry(tSn((DA(),QFn))));n.a=rG(n.i,n.d++);break;default:i=0}n.c=i}else{switch(t){case 92:if(i=10,n.d>=n.j)throw Lm(new Ry(tSn((DA(),QFn))));n.a=rG(n.i,n.d++);break;case 45:!(512&~n.e)&&n.dn.a.c.length-1;)AL(n.a,new uI(xOn,FDn));i=JR(ghn(r,Ett),17).a,e==(Xnn(),Xut)||e==zut?(r.e.amy(z$(JR(bF(n.a,i),42).b))&&Vb(JR(bF(n.a,i),42),r.e.a+r.f.a)):(r.e.bmy(z$(JR(bF(n.a,i),42).b))&&Vb(JR(bF(n.a,i),42),r.e.b+r.f.b))}}(n,t,r),function(n,t){var e,i,r,c,a,o,u,s,h,f,l;for(h=(r=JR(ghn(n,(hyn(),Znt)),88))==(Xnn(),Xut)||r==zut?qut:zut,e=JR(MQ(oG(new PF(null,new Kz(n.b,16)),new $a),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[(o7(),Tqn)]))),15),(u=JR(MQ(uG(e.Oc(),new Qg(t)),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[Tqn]))),15)).Gc(JR(MQ(uG(e.Oc(),new Jg(t)),MZ(new V,new z,new en,a8(uM(Aqn,1),lPn,108,0,[Tqn]))),16)),u.jd(new Yg(h)),l=new MT(new Zg(r)),i=new ym,o=u.Kc();o.Ob();)a=JR(o.Pb(),240),s=JR(a.a,40),py(X$(a.c))?(l.a.zc(s,(UN(),WUn)),new Ow(l.a.Zc(s,!1)).a.gc()>0&&DU(i,s,JR(new Ow(l.a.Zc(s,!1)).a.Vc(),40)),new Ow(l.a.ad(s,!0)).a.gc()>1&&DU(i,Den(l,s),s)):(new Ow(l.a.Zc(s,!1)).a.gc()>0&&UI(c=JR(new Ow(l.a.Zc(s,!1)).a.Vc(),40))===UI(HI(WF(i.f,s)))&&JR(ghn(s,(Ojn(),dnt)),15).Fc(c),new Ow(l.a.ad(s,!0)).a.gc()>1&&(f=Den(l,s),UI(HI(WF(i.f,f)))===UI(s)&&JR(ghn(f,(Ojn(),dnt)),15).Fc(s)),l.a.Bc(s))}(t,b/2/2),A4(w=t.b,new zg(r)),s=$rn(w,0);s.b!=s.d.c;)if(!py(X$(ghn(u=JR(kW(s),40),(Ojn(),Rnt))))){if(i=xmn(u,r),d=Pyn(u,t),f=0,l=0,i)switch(g=i.e,r.g){case 2:f=g.a-b-u.f.a,d.e.a-b-u.f.af&&(f=d.e.a+d.f.a+b),l=f+u.f.a;break;case 4:f=g.b-b-u.f.b,d.e.b-b-u.f.bf&&(f=d.e.b+d.f.b+b),l=f+u.f.b}else if(d)switch(r.g){case 2:l=(f=d.e.a-b-u.f.a)+u.f.a;break;case 1:l=(f=d.e.a+d.f.a+b)+u.f.a;break;case 4:l=(f=d.e.b-b-u.f.b)+u.f.b;break;case 3:l=(f=d.e.b+d.f.b+b)+u.f.b}UI(ghn(t,ett))===UI((S9(),unt))?(c=f,a=l,null!=(o=w9(oG(new PF(null,new Kz(n.a,16)),new iC(c,a)))).a?r==(Xnn(),Xut)||r==zut?u.e.a=f:u.e.b=f:null!=(o=r==(Xnn(),Xut)||r==Wut?w9(oG(g2(new PF(null,new Kz(n.a,16))),new Vg(c))):w9(oG(g2(new PF(null,new Kz(n.a,16))),new Wg(c)))).a&&(r==Xut||r==zut?u.e.a=my(z$((J$(null!=o.a),JR(o.a,42)).a)):u.e.b=my(z$((J$(null!=o.a),JR(o.a,42)).a))),null!=o.a&&(h=k1(n.a,(J$(null!=o.a),o.a),0))>0&&h!=JR(ghn(u,Ett),17).a&&(A8(u,gnt,(UN(),!0)),A8(u,Ett,ann(h)))):r==(Xnn(),Xut)||r==zut?u.e.a=f:u.e.b=f}e.Vg()}}function DEn(n){var t,e,i,r,c,a,o,u;for(n.b=1,NEn(n),t=null,0==n.c&&94==n.a?(NEn(n),WEn(),WEn(),Rpn(t=new Qz(4),0,BHn),a=new Qz(4)):(WEn(),WEn(),a=new Qz(4)),r=!0;1!=(u=n.c);){if(0==u&&93==n.a&&!r){t&&(zTn(t,a),a=t);break}if(e=n.a,i=!1,10==u)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:kMn(a,akn(e)),i=!0;break;case 105:case 73:case 99:case 67:kMn(a,akn(e)),(e=-1)<0&&(i=!0);break;case 112:case 80:if(!(o=Cbn(n,e)))throw Lm(new Ry(tSn((DA(),h_n))));kMn(a,o),i=!0;break;default:e=pmn(n)}else if(24==u&&!r){if(t&&(zTn(t,a),a=t),zTn(a,DEn(n)),0!=n.c||93!=n.a)throw Lm(new Ry(tSn((DA(),w_n))));break}if(NEn(n),!i){if(0==u){if(91==e)throw Lm(new Ry(tSn((DA(),d_n))));if(93==e)throw Lm(new Ry(tSn((DA(),g_n))));if(45==e&&!r&&93!=n.a)throw Lm(new Ry(tSn((DA(),p_n))))}if(0!=n.c||45!=n.a||45==e&&r)Rpn(a,e,e);else{if(NEn(n),1==(u=n.c))throw Lm(new Ry(tSn((DA(),l_n))));if(0==u&&93==n.a)Rpn(a,e,e),Rpn(a,45,45);else{if(0==u&&93==n.a||24==u)throw Lm(new Ry(tSn((DA(),p_n))));if(c=n.a,0==u){if(91==c)throw Lm(new Ry(tSn((DA(),d_n))));if(93==c)throw Lm(new Ry(tSn((DA(),g_n))));if(45==c)throw Lm(new Ry(tSn((DA(),p_n))))}else 10==u&&(c=pmn(n));if(NEn(n),e>c)throw Lm(new Ry(tSn((DA(),k_n))));Rpn(a,e,c)}}}r=!1}if(1==n.c)throw Lm(new Ry(tSn((DA(),l_n))));return Edn(a),GMn(a),n.b=0,NEn(n),a}function xEn(n,t,e){var i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M;if(e.Ug("Coffman-Graham Layering",1),0!=t.a.c.length){for(M=JR(ghn(t,(LEn(),u6n)),17).a,u=0,a=0,b=new mw(t.a);b.a=M||!vin(m,i))&&(i=UU(t,f)),uz(m,i),c=new F_(wN(Ftn(m).a.Kc(),new h));Bwn(c);)r=JR(MJ(c),18),n.a[r.p]||(g=r.c.i,--n.e[g.p],0==n.e[g.p]&&uK(ehn(w,g),OCn));for(s=f.c.length-1;s>=0;--s)AL(t.b,(xz(s,f.c.length),JR(f.c[s],30)));t.a.c.length=0,e.Vg()}else e.Vg()}function REn(n,t){var e,i,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k;k=!1;do{for(k=!1,c=t?new tw(n.a.b).a.gc()-2:1;t?c>=0:cJR(ghn(g,J1n),17).a)&&(v=!1);if(v){for(o=t?c+1:c-1,a=!1,m=!0,i=!1,s=$rn(CW(n.a,ann(o)),0);s.b!=s.d.c;)b$(u=JR(kW(s),10),J1n)?u.p!=f.p&&(a|=t?JR(ghn(u,J1n),17).aJR(ghn(f,J1n),17).a,m=!1):!a&&m&&u.k==(Yhn(),oQn)&&(i=!0,(l=t?JR(MJ(new F_(wN(Ftn(u).a.Kc(),new h))),18).c.i:JR(MJ(new F_(wN(_tn(u).a.Kc(),new h))),18).d.i)==f&&(e=t?JR(MJ(new F_(wN(_tn(u).a.Kc(),new h))),18).d.i:JR(MJ(new F_(wN(Ftn(u).a.Kc(),new h))),18).c.i,(t?JR(g$(n.a,e),17).a-JR(g$(n.a,l),17).a:JR(g$(n.a,l),17).a-JR(g$(n.a,e),17).a)<=2&&(m=!1)));if(i&&m&&(e=t?JR(MJ(new F_(wN(_tn(f).a.Kc(),new h))),18).d.i:JR(MJ(new F_(wN(Ftn(f).a.Kc(),new h))),18).c.i,(t?JR(g$(n.a,e),17).a-JR(g$(n.a,f),17).a:JR(g$(n.a,f),17).a-JR(g$(n.a,e),17).a)<=2&&e.k==(Yhn(),sQn)&&(m=!1)),a||m){for(d=sgn(n,f,t);0!=d.a.gc();)w=JR(d.a.ec().Kc().Pb(),10),d.a.Bc(w),z4(d,sgn(n,w,t));--b,k=!0}}}}while(k)}function KEn(n,t,e,i,r,c,a){var o,u,s,h,f,l,b,w;return l=JR(i.a,17).a,b=JR(i.b,17).a,f=n.b,w=n.c,o=0,h=0,t==(Xnn(),Xut)||t==zut?(h=zP(Knn(sG(uG(new PF(null,new Kz(e.b,16)),new mo),new Ya))),f.e.b+f.f.b/2>h?(s=++b,o=my(z$(IN(V_(uG(new PF(null,new Kz(e.b,16)),new OC(r,s)),new Za))))):(u=++l,o=my(z$(IN(W_(uG(new PF(null,new Kz(e.b,16)),new AC(r,u)),new no)))))):(h=zP(Knn(sG(uG(new PF(null,new Kz(e.b,16)),new ro),new Ja))),f.e.a+f.f.a/2>h?(s=++b,o=my(z$(IN(V_(uG(new PF(null,new Kz(e.b,16)),new CC(r,s)),new to))))):(u=++l,o=my(z$(IN(W_(uG(new PF(null,new Kz(e.b,16)),new IC(r,u)),new eo)))))),t==Xut?(lO(n.a,new DC(my(z$(ghn(f,(Ojn(),Int))))-r,o)),lO(n.a,new DC(w.e.a+w.f.a+r+c,o)),lO(n.a,new DC(w.e.a+w.f.a+r+c,w.e.b+w.f.b/2)),lO(n.a,new DC(w.e.a+w.f.a,w.e.b+w.f.b/2))):t==zut?(lO(n.a,new DC(my(z$(ghn(f,(Ojn(),Cnt))))+r,f.e.b+f.f.b/2)),lO(n.a,new DC(f.e.a+f.f.a+r,o)),lO(n.a,new DC(w.e.a-r-c,o)),lO(n.a,new DC(w.e.a-r-c,w.e.b+w.f.b/2)),lO(n.a,new DC(w.e.a,w.e.b+w.f.b/2))):t==Wut?(lO(n.a,new DC(o,my(z$(ghn(f,(Ojn(),Int))))-r)),lO(n.a,new DC(o,w.e.b+w.f.b+r+c)),lO(n.a,new DC(w.e.a+w.f.a/2,w.e.b+w.f.b+r+c)),lO(n.a,new DC(w.e.a+w.f.a/2,w.e.b+w.f.b+r))):(0==n.a.b||(JR(f$(n.a),8).b=my(z$(ghn(f,(Ojn(),Cnt))))+r*JR(a.b,17).a),lO(n.a,new DC(o,my(z$(ghn(f,(Ojn(),Cnt))))+r*JR(a.b,17).a)),lO(n.a,new DC(o,w.e.b-r*JR(a.a,17).a-c))),new uI(ann(l),ann(b))}function FEn(){FEn=E,kEn(),Rbn(YWn=new Zq,($jn(),Mht),yht),Rbn(YWn,Lht,yht),Rbn(YWn,Tht,yht),Rbn(YWn,Iht,yht),Rbn(YWn,Cht,yht),Rbn(YWn,Sht,yht),Rbn(YWn,Iht,Mht),Rbn(YWn,yht,pht),Rbn(YWn,Mht,pht),Rbn(YWn,Lht,pht),Rbn(YWn,Tht,pht),Rbn(YWn,Pht,pht),Rbn(YWn,Iht,pht),Rbn(YWn,Cht,pht),Rbn(YWn,Sht,pht),Rbn(YWn,kht,pht),Rbn(YWn,yht,Oht),Rbn(YWn,Mht,Oht),Rbn(YWn,pht,Oht),Rbn(YWn,Lht,Oht),Rbn(YWn,Tht,Oht),Rbn(YWn,Pht,Oht),Rbn(YWn,Iht,Oht),Rbn(YWn,kht,Oht),Rbn(YWn,Aht,Oht),Rbn(YWn,Cht,Oht),Rbn(YWn,jht,Oht),Rbn(YWn,Sht,Oht),Rbn(YWn,Mht,Lht),Rbn(YWn,Tht,Lht),Rbn(YWn,Iht,Lht),Rbn(YWn,Sht,Lht),Rbn(YWn,Mht,Tht),Rbn(YWn,Lht,Tht),Rbn(YWn,Iht,Tht),Rbn(YWn,Tht,Tht),Rbn(YWn,Cht,Tht),Rbn(YWn,yht,mht),Rbn(YWn,Mht,mht),Rbn(YWn,pht,mht),Rbn(YWn,Oht,mht),Rbn(YWn,Lht,mht),Rbn(YWn,Tht,mht),Rbn(YWn,Pht,mht),Rbn(YWn,Iht,mht),Rbn(YWn,Aht,mht),Rbn(YWn,kht,mht),Rbn(YWn,Sht,mht),Rbn(YWn,Cht,mht),Rbn(YWn,Eht,mht),Rbn(YWn,yht,Aht),Rbn(YWn,Mht,Aht),Rbn(YWn,pht,Aht),Rbn(YWn,Lht,Aht),Rbn(YWn,Tht,Aht),Rbn(YWn,Pht,Aht),Rbn(YWn,Iht,Aht),Rbn(YWn,kht,Aht),Rbn(YWn,Sht,Aht),Rbn(YWn,jht,Aht),Rbn(YWn,Eht,Aht),Rbn(YWn,Mht,kht),Rbn(YWn,Lht,kht),Rbn(YWn,Tht,kht),Rbn(YWn,Iht,kht),Rbn(YWn,Aht,kht),Rbn(YWn,Sht,kht),Rbn(YWn,Cht,kht),Rbn(YWn,yht,vht),Rbn(YWn,Mht,vht),Rbn(YWn,pht,vht),Rbn(YWn,Lht,vht),Rbn(YWn,Tht,vht),Rbn(YWn,Pht,vht),Rbn(YWn,Iht,vht),Rbn(YWn,kht,vht),Rbn(YWn,Sht,vht),Rbn(YWn,Mht,Cht),Rbn(YWn,pht,Cht),Rbn(YWn,Oht,Cht),Rbn(YWn,Tht,Cht),Rbn(YWn,yht,jht),Rbn(YWn,Mht,jht),Rbn(YWn,Oht,jht),Rbn(YWn,Lht,jht),Rbn(YWn,Tht,jht),Rbn(YWn,Pht,jht),Rbn(YWn,Iht,jht),Rbn(YWn,Iht,Eht),Rbn(YWn,Tht,Eht),Rbn(YWn,kht,yht),Rbn(YWn,kht,Lht),Rbn(YWn,kht,pht),Rbn(YWn,Pht,yht),Rbn(YWn,Pht,Mht),Rbn(YWn,Pht,Oht)}function _En(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M;switch(e.Ug("Brandes & Koepf node placement",1),n.a=t,n.c=lyn(t),r=JR(ghn(t,(LEn(),T6n)),281),w=py(X$(ghn(t,j6n))),n.d=r==(Aun(),NZn)&&!w||r==OZn,function(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v;if(!((d=t.b.c.length)<3)){for(b=tZ(Wdt,GPn,28,d,15,1),f=0,h=new mw(t.b);h.aa)&&NB(n.b,JR(g.b,18));++o}c=a}}}(n,t),y=null,M=null,p=null,m=null,A3(4,fPn),g=new dY(4),JR(ghn(t,T6n),281).g){case 3:p=new Hvn(t,n.c.d,(TX(),u7n),(MX(),r7n)),Km(g.c,p);break;case 1:m=new Hvn(t,n.c.d,(TX(),s7n),(MX(),r7n)),Km(g.c,m);break;case 4:y=new Hvn(t,n.c.d,(TX(),u7n),(MX(),c7n)),Km(g.c,y);break;case 2:M=new Hvn(t,n.c.d,(TX(),s7n),(MX(),c7n)),Km(g.c,M);break;default:p=new Hvn(t,n.c.d,(TX(),u7n),(MX(),r7n)),m=new Hvn(t,n.c.d,s7n,r7n),y=new Hvn(t,n.c.d,u7n,c7n),M=new Hvn(t,n.c.d,s7n,c7n),Km(g.c,y),Km(g.c,M),Km(g.c,p),Km(g.c,m)}for(c=new XP(t,n.c),u=new mw(g);u.aT[s]&&(d=s),f=new mw(n.a.b);f.amdn(a))&&(l=a);for(!l&&(xz(0,g.c.length),l=JR(g.c[0],185)),d=new mw(t.b);d.a=-1900?1:0,rO(n,e>=4?a8(uM(CGn,1),HSn,2,6,[qPn,XPn])[o]:a8(uM(CGn,1),HSn,2,6,["BC","AD"])[o]);break;case 121:!function(n,t,e){var i;switch((i=e.q.getFullYear()-UPn+UPn)<0&&(i=-i),t){case 1:n.a+=i;break;case 2:x1(n,i%100,2);break;default:x1(n,i,t)}}(n,e,r);break;case 77:!function(n,t,e){var i;switch(i=e.q.getMonth(),t){case 5:rO(n,a8(uM(CGn,1),HSn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:rO(n,a8(uM(CGn,1),HSn,2,6,[APn,LPn,NPn,$Pn,DPn,xPn,RPn,KPn,FPn,_Pn,BPn,HPn])[i]);break;case 3:rO(n,a8(uM(CGn,1),HSn,2,6,["Jan","Feb","Mar","Apr",DPn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:x1(n,i+1,t)}}(n,e,r);break;case 107:x1(n,0==(u=c.q.getHours())?24:u,e);break;case 83:!function(n,t,e){var r,c;G7(r=p5(e.q.getTime()),0)<0?(c=IPn-y_(ein(v1(r),IPn)))==IPn&&(c=0):c=y_(ein(r,IPn)),1==t?ZH(n,48+(c=i.Math.min((c+50)/100|0,9))&OPn):2==t?x1(n,c=i.Math.min((c+5)/10|0,99),2):(x1(n,c,3),t>3&&x1(n,0,t-3))}(n,e,c);break;case 69:s=r.q.getDay(),rO(n,5==e?a8(uM(CGn,1),HSn,2,6,["S","M","T","W","T","F","S"])[s]:4==e?a8(uM(CGn,1),HSn,2,6,[zPn,VPn,WPn,QPn,JPn,YPn,ZPn])[s]:a8(uM(CGn,1),HSn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[s]);break;case 97:c.q.getHours()>=12&&c.q.getHours()<24?rO(n,a8(uM(CGn,1),HSn,2,6,["AM","PM"])[1]):rO(n,a8(uM(CGn,1),HSn,2,6,["AM","PM"])[0]);break;case 104:x1(n,0==(h=c.q.getHours()%12)?12:h,e);break;case 75:x1(n,c.q.getHours()%12,e);break;case 72:x1(n,c.q.getHours(),e);break;case 99:f=r.q.getDay(),5==e?rO(n,a8(uM(CGn,1),HSn,2,6,["S","M","T","W","T","F","S"])[f]):4==e?rO(n,a8(uM(CGn,1),HSn,2,6,[zPn,VPn,WPn,QPn,JPn,YPn,ZPn])[f]):3==e?rO(n,a8(uM(CGn,1),HSn,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[f]):x1(n,f,1);break;case 76:l=r.q.getMonth(),5==e?rO(n,a8(uM(CGn,1),HSn,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[l]):4==e?rO(n,a8(uM(CGn,1),HSn,2,6,[APn,LPn,NPn,$Pn,DPn,xPn,RPn,KPn,FPn,_Pn,BPn,HPn])[l]):3==e?rO(n,a8(uM(CGn,1),HSn,2,6,["Jan","Feb","Mar","Apr",DPn,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[l]):x1(n,l+1,e);break;case 81:b=r.q.getMonth()/3|0,rO(n,e<4?a8(uM(CGn,1),HSn,2,6,["Q1","Q2","Q3","Q4"])[b]:a8(uM(CGn,1),HSn,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[b]);break;case 100:x1(n,r.q.getDate(),e);break;case 109:x1(n,c.q.getMinutes(),e);break;case 115:x1(n,c.q.getSeconds(),e);break;case 122:rO(n,e<4?a.c[0]:a.c[1]);break;case 118:rO(n,a.b);break;case 90:rO(n,e<3?function(n){var t,e;return e=-n.a,t=a8(uM(Vdt,1),CPn,28,15,[43,48,48,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&OPn,t[2]=t[2]+(e/60|0)%10&OPn,t[3]=t[3]+(e%60/10|0)&OPn,t[4]=t[4]+e%10&OPn,Ain(t,0,t.length)}(a):3==e?function(n){var t,e;return e=-n.a,t=a8(uM(Vdt,1),CPn,28,15,[43,48,48,58,48,48]),e<0&&(t[0]=45,e=-e),t[1]=t[1]+((e/60|0)/10|0)&OPn,t[2]=t[2]+(e/60|0)%10&OPn,t[4]=t[4]+(e%60/10|0)&OPn,t[5]=t[5]+e%10&OPn,Ain(t,0,t.length)}(a):function(n){var t;return t=a8(uM(Vdt,1),CPn,28,15,[71,77,84,45,48,48,58,48,48]),n<=0&&(t[3]=43,n=-n),t[4]=t[4]+((n/60|0)/10|0)&OPn,t[5]=t[5]+(n/60|0)%10&OPn,t[7]=t[7]+(n%60/10|0)&OPn,t[8]=t[8]+n%10&OPn,Ain(t,0,t.length)}(a.a));break;default:return!1}return!0}function GEn(n,t,e,i){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C;if(fvn(t),u=JR(d2((!t.b&&(t.b=new yx(nlt,t,4,7)),t.b),0),84),h=JR(d2((!t.c&&(t.c=new yx(nlt,t,5,8)),t.c),0),84),o=Bsn(u),s=Bsn(h),a=0==(!t.a&&(t.a=new aB(elt,t,6,6)),t.a).i?null:JR(d2((!t.a&&(t.a=new aB(elt,t,6,6)),t.a),0),166),M=JR(RH(n.a,o),10),S=JR(RH(n.a,s),10),T=null,P=null,sL(u,193)&&(sL(y=JR(RH(n.a,u),305),12)?T=JR(y,12):sL(y,10)&&(M=JR(y,10),T=JR(bF(M.j,0),12))),sL(h,193)&&(sL(E=JR(RH(n.a,h),305),12)?P=JR(E,12):sL(E,10)&&(S=JR(E,10),P=JR(bF(S.j,0),12))),!M||!S)throw Lm(new $y("The source or the target of edge "+t+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(y5(d=new Oq,t),A8(d,(qEn(),Y1n),t),A8(d,(LEn(),o6n),null),b=JR(ghn(i,x1n),21),M==S&&b.Fc((zpn(),t1n)),T||(v3(),k=U8n,j=null,a&&rA(JR(ghn(M,q6n),101))&&(WW(j=new DC(a.j,a.k),mX(t)),JQ(j,e),Z0(s,o)&&(k=H8n,hx(j,M.n))),T=EMn(M,j,k,i)),P||(v3(),k=H8n,C=null,a&&rA(JR(ghn(S,q6n),101))&&(WW(C=new DC(a.b,a.c),mX(t)),JQ(C,e)),P=EMn(S,C,k,dU(S))),oz(d,T),hz(d,P),(T.e.c.length>1||T.g.c.length>1||P.e.c.length>1||P.g.c.length>1)&&b.Fc((zpn(),QZn)),l=new XL((!t.n&&(t.n=new aB(olt,t,1,7)),t.n));l.e!=l.i.gc();)if(!py(X$(fdn(f=JR(Urn(l),135),N6n)))&&f.a)switch(g=K7(f),AL(d.b,g),JR(ghn(g,_4n),278).g){case 1:case 2:b.Fc((zpn(),VZn));break;case 0:b.Fc((zpn(),XZn)),A8(g,_4n,(k2(),Yut))}if(c=JR(ghn(i,L4n),322),p=JR(ghn(i,C6n),323),r=c==($3(),XYn)||p==(ecn(),w8n),a&&0!=(!a.a&&(a.a=new NL(Jft,a,5)),a.a).i&&r){for(m=Mfn(a),w=new ek,v=$rn(m,0);v.b!=v.d.c;)HK(w,new JO(JR(kW(v),8)));A8(d,Z1n,w)}return d}function qEn(){var n,t;qEn=E,Y1n=new Jp(kAn),T1n=new Jp("coordinateOrigin"),u0n=new Jp("processors"),M1n=new ND("compoundNode",(UN(),!1)),F1n=new ND("insideConnections",!1),Z1n=new Jp("originalBendpoints"),n0n=new Jp("originalDummyNodePosition"),t0n=new Jp("originalLabelEdge"),h0n=new Jp("representedLabels"),C1n=new Jp("endLabels"),I1n=new Jp("endLabel.origin"),G1n=new ND("labelSide",(yon(),Lst)),Q1n=new ND("maxEdgeThickness",0),f0n=new ND("reversed",!1),s0n=new Jp(yAn),z1n=new ND("longEdgeSource",null),V1n=new ND("longEdgeTarget",null),X1n=new ND("longEdgeHasLabelDummies",!1),q1n=new ND("longEdgeBeforeLabelDummy",!1),P1n=new ND("edgeConstraint",(R8(),wZn)),B1n=new Jp("inLayerLayoutUnit"),_1n=new ND("inLayerConstraint",(V1(),h1n)),H1n=new ND("inLayerSuccessorConstraint",new Mm),U1n=new ND("inLayerSuccessorConstraintBetweenNonDummies",!1),a0n=new Jp("portDummy"),j1n=new ND("crossingHint",ann(0)),x1n=new ND("graphProperties",new Wx(t=JR(rT(o1n),9),JR(qD(t,t.length),9),0)),N1n=new ND("externalPortSide",($jn(),$ht)),$1n=new ND("externalPortSize",new zM),A1n=new Jp("externalPortReplacedDummies"),L1n=new Jp("externalPortReplacedDummy"),O1n=new ND("externalPortConnections",new Wx(n=JR(rT(zht),9),JR(qD(n,n.length),9),0)),o0n=new ND(YIn,0),m1n=new Jp("barycenterAssociates"),y0n=new Jp("TopSideComments"),v1n=new Jp("BottomSideComments"),y1n=new Jp("CommentConnectionPort"),K1n=new ND("inputCollect",!1),r0n=new ND("outputCollect",!1),S1n=new ND("cyclic",!1),E1n=new Jp("crossHierarchyMap"),k0n=new Jp("targetOffset"),new ND("splineLabelSize",new zM),w0n=new Jp("spacings"),c0n=new ND("partitionConstraint",!1),k1n=new Jp("breakingPoint.info"),m0n=new Jp("splines.survivingEdge"),p0n=new Jp("splines.route.start"),d0n=new Jp("splines.edgeChain"),i0n=new Jp("originalPortConstraints"),b0n=new Jp("selfLoopHolder"),g0n=new Jp("splines.nsPortY"),J1n=new Jp("modelOrder"),W1n=new Jp("longEdgeTargetNode"),D1n=new ND(DLn,!1),l0n=new ND(DLn,!1),R1n=new Jp("layerConstraints.hiddenNodes"),e0n=new Jp("layerConstraints.opposidePort"),v0n=new Jp("targetNode.modelOrder")}function XEn(){var n,t;XEn=E,Jat=new Jp(URn),gut=new Jp(GRn),Scn(),Yat=new EO(B$n,Zat=Tat),new km,not=new EO(LOn,null),tot=new Jp(qRn),Yun(),uot=i_(Vat,a8(uM(Qut,1),lPn,298,0,[Gat])),oot=new EO(Z$n,uot),sot=new EO(_$n,(UN(),!1)),Xnn(),hot=new EO(G$n,fot=Vut),xtn(),dot=new EO(b$n,got=ast),vot=new EO(BRn,!1),nnn(),kot=new EO(u$n,yot=Est),qot=new yA(12),Got=new EO(NOn,qot),Eot=new EO(aAn,!1),Sot=new EO(fDn,!1),Uot=new EO(sAn,!1),ksn(),rut=new EO(oAn,cut=rht),but=new Jp(uDn),wut=new Jp(tAn),dut=new Jp(rAn),mut=new Jp(cAn),Cot=new ek,Pot=new EO(nDn,Cot),aot=new EO(iDn,!1),Mot=new EO(rDn,!1),new Jp(XRn),Oot=new Xv,Iot=new EO(sDn,Oot),Hot=new EO(K$n,!1),new km,put=new EO(zRn,1),cot=new Jp(VRn),rot=new Jp(WRn),Rut=new EO(dAn,!1),new EO(QRn,!0),ann(0),new EO(JRn,ann(100)),new EO(YRn,!1),ann(0),new EO(ZRn,ann(4e3)),ann(0),new EO(nKn,ann(400)),new EO(tKn,!1),new EO(eKn,!1),new EO(iKn,!0),new EO(rKn,!1),Men(),eot=new EO(HRn,iot=mft),vut=new EO(S$n,10),kut=new EO(P$n,10),yut=new EO(OOn,20),Mut=new EO(C$n,10),Tut=new EO(iAn,2),jut=new EO(I$n,10),Sut=new EO(O$n,0),Put=new EO(N$n,5),Cut=new EO(A$n,1),Iut=new EO(L$n,1),Out=new EO(eAn,20),Aut=new EO($$n,10),$ut=new EO(D$n,10),Eut=new Jp(x$n),Nut=new GO,Lut=new EO(hDn,Nut),Vot=new Jp(oDn),Xot=new EO(aDn,zot=!1),Lot=new yA(5),Aot=new EO(q$n,Lot),ldn(),t=JR(rT(Jst),9),$ot=new Wx(t,JR(qD(t,t.length),9),0),Not=new EO(bAn,$ot),Frn(),Qot=new EO(V$n,Jot=Vst),Zot=new Jp(W$n),nut=new Jp(Q$n),tut=new Jp(J$n),Yot=new Jp(Y$n),n=JR(rT(rft),9),xot=new Wx(n,JR(qD(n,n.length),9),0),Dot=new EO(lAn,xot),Bot=ptn((Yvn(),Jht)),_ot=new EO(fAn,Bot),Fot=new DC(0,0),Kot=new EO(AAn,Fot),Rot=new EO(hAn,!1),k2(),bot=new EO(tDn,wot=Yut),lot=new EO(uAn,!1),new Jp(cKn),ann(1),new EO(aKn,null),eut=new Jp(cDn),aut=new Jp(eDn),$jn(),fut=new EO(F$n,lut=$ht),iut=new Jp(R$n),lbn(),sut=ptn(fht),uut=new EO(wAn,sut),out=new EO(X$n,!1),hut=new EO(z$n,!0),new km,But=new EO(gAn,1),Uut=new EO(oKn,null),xut=new EO(pAn,150),Dut=new EO(mAn,1.414),Kut=new EO(vAn,null),Fut=new EO(uKn,1),Tot=new EO(H$n,!1),jot=new EO(U$n,!1),pot=new EO(AOn,1),thn(),new EO(sKn,mot=bst),Wot=!0,Z7(),Hut=aft,Gut=aft,_ut=aft}function zEn(){zEn=E,FQn=new HS("DIRECTION_PREPROCESSOR",0),xQn=new HS("COMMENT_PREPROCESSOR",1),_Qn=new HS("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),eJn=new HS("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),yJn=new HS("PARTITION_PREPROCESSOR",4),aJn=new HS("LABEL_DUMMY_INSERTER",5),PJn=new HS("SELF_LOOP_PREPROCESSOR",6),fJn=new HS("LAYER_CONSTRAINT_PREPROCESSOR",7),vJn=new HS("PARTITION_MIDPROCESSOR",8),JQn=new HS("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),dJn=new HS("NODE_PROMOTION",10),hJn=new HS("LAYER_CONSTRAINT_POSTPROCESSOR",11),kJn=new HS("PARTITION_POSTPROCESSOR",12),zQn=new HS("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),IJn=new HS("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),OQn=new HS("BREAKING_POINT_INSERTER",15),wJn=new HS("LONG_EDGE_SPLITTER",16),TJn=new HS("PORT_SIDE_PROCESSOR",17),iJn=new HS("INVERTED_PORT_PROCESSOR",18),MJn=new HS("PORT_LIST_SORTER",19),AJn=new HS("SORT_BY_INPUT_ORDER_OF_MODEL",20),pJn=new HS("NORTH_SOUTH_PORT_PREPROCESSOR",21),AQn=new HS("BREAKING_POINT_PROCESSOR",22),mJn=new HS(lLn,23),LJn=new HS(bLn,24),EJn=new HS("SELF_LOOP_PORT_RESTORER",25),OJn=new HS("SINGLE_EDGE_GRAPH_WRAPPER",26),rJn=new HS("IN_LAYER_CONSTRAINT_PROCESSOR",27),GQn=new HS("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),cJn=new HS("LABEL_AND_NODE_SIZE_PROCESSOR",29),tJn=new HS("INNERMOST_NODE_MARGIN_CALCULATOR",30),CJn=new HS("SELF_LOOP_ROUTER",31),$Qn=new HS("COMMENT_NODE_MARGIN_CALCULATOR",32),HQn=new HS("END_LABEL_PREPROCESSOR",33),uJn=new HS("LABEL_DUMMY_SWITCHER",34),NQn=new HS("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),sJn=new HS("LABEL_SIDE_SELECTOR",36),ZQn=new HS("HYPEREDGE_DUMMY_MERGER",37),VQn=new HS("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),lJn=new HS("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),QQn=new HS("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),RQn=new HS("CONSTRAINTS_POSTPROCESSOR",41),DQn=new HS("COMMENT_POSTPROCESSOR",42),nJn=new HS("HYPERNODE_PROCESSOR",43),WQn=new HS("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),bJn=new HS("LONG_EDGE_JOINER",45),SJn=new HS("SELF_LOOP_POSTPROCESSOR",46),LQn=new HS("BREAKING_POINT_REMOVER",47),gJn=new HS("NORTH_SOUTH_PORT_POSTPROCESSOR",48),YQn=new HS("HORIZONTAL_COMPACTOR",49),oJn=new HS("LABEL_DUMMY_REMOVER",50),qQn=new HS("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),UQn=new HS("END_LABEL_SORTER",52),jJn=new HS("REVERSED_EDGE_RESTORER",53),BQn=new HS("END_LABEL_POSTPROCESSOR",54),XQn=new HS("HIERARCHICAL_NODE_RESIZER",55),KQn=new HS("DIRECTION_POSTPROCESSOR",56)}function VEn(){VEn=E,A0(),l2n=new EO(xLn,b2n=sZn),O2n=new EO(RLn,(UN(),!1)),OW(),D2n=new EO(KLn,x2n=w1n),n3n=new EO(FLn,!1),t3n=new EO(_Ln,!0),I0n=new EO(BLn,!1),W1(),k3n=new EO(HLn,y3n=K8n),ann(1),I3n=new EO(ULn,ann(7)),O3n=new EO(GLn,!1),A2n=new EO(qLn,!1),Nin(),h2n=new EO(XLn,f2n=iZn),Kgn(),Y2n=new EO(zLn,Z2n=Y5n),yen(),H2n=new EO(VLn,U2n=S0n),ann(-1),B2n=new EO(WLn,null),ann(-1),G2n=new EO(QLn,ann(-1)),ann(-1),q2n=new EO(JLn,ann(4)),ann(-1),z2n=new EO(YLn,ann(2)),Cvn(),Q2n=new EO(ZLn,J2n=C8n),ann(0),W2n=new EO(nNn,ann(0)),F2n=new EO(tNn,ann(wSn)),$3(),u2n=new EO(eNn,s2n=zYn),q0n=new EO(iNn,!1),n2n=new EO(rNn,.1),a2n=new EO(cNn,!1),e2n=new EO(aNn,null),i2n=new EO(oNn,null),ann(-1),r2n=new EO(uNn,null),ann(-1),c2n=new EO(sNn,ann(-1)),ann(0),X0n=new EO(hNn,ann(40)),I5(),J0n=new EO(fNn,Y0n=a1n),z0n=new EO(lNn,V0n=r1n),ecn(),m3n=new EO(bNn,v3n=b8n),u3n=new Jp(wNn),YZ(),e3n=new EO(dNn,i3n=SZn),Aun(),c3n=new EO(gNn,a3n=NZn),new km,f3n=new EO(pNn,.3),b3n=new Jp(mNn),jcn(),w3n=new EO(vNn,d3n=s8n),B6(),k2n=new EO(kNn,y2n=V8n),E9(),M2n=new EO(yNn,T2n=n9n),a7(),j2n=new EO(MNn,E2n=c9n),P2n=new EO(TNn,.2),m2n=new EO(jNn,2),E3n=new EO(ENn,null),P3n=new EO(SNn,10),S3n=new EO(PNn,10),C3n=new EO(CNn,20),ann(0),M3n=new EO(INn,ann(0)),ann(0),T3n=new EO(ONn,ann(0)),ann(0),j3n=new EO(ANn,ann(0)),O0n=new EO(LNn,!1),qhn(),N0n=new EO(NNn,$0n=HZn),kY(),A0n=new EO($Nn,L0n=UYn),N2n=new EO(DNn,!1),ann(0),L2n=new EO(xNn,ann(16)),ann(0),$2n=new EO(RNn,ann(5)),h8(),Y3n=new EO(KNn,Z3n=w9n),A3n=new EO(FNn,10),$3n=new EO(_Nn,1),m3(),H3n=new EO(BNn,U3n=ZYn),R3n=new Jp(HNn),_3n=ann(1),ann(0),F3n=new EO(UNn,_3n),p3(),i4n=new EO(GNn,r4n=u9n),n4n=new Jp(qNn),V3n=new EO(XNn,!0),X3n=new EO(zNn,2),Q3n=new EO(VNn,!0),efn(),g2n=new EO(WNn,p2n=MZn),iln(),w2n=new EO(QNn,d2n=xYn),$in(),U0n=new EO(JNn,G0n=N8n),H0n=new EO(YNn,!1),B0n=new EO(ZNn,!1),Yin(),D0n=new EO(n$n,x0n=WWn),Y7(),F0n=new EO(t$n,_0n=e8n),R0n=new EO(e$n,0),K0n=new EO(i$n,0),K2n=cZn,R2n=XYn,X2n=J5n,V2n=J5n,_2n=X5n,nnn(),t2n=jst,o2n=zYn,Z0n=zYn,W0n=zYn,Q0n=jst,s3n=g8n,h3n=b8n,r3n=b8n,o3n=b8n,l3n=d8n,p3n=g8n,g3n=g8n,xtn(),S2n=cst,C2n=cst,I2n=c9n,v2n=rst,L3n=d9n,N3n=b9n,D3n=d9n,x3n=b9n,G3n=d9n,q3n=b9n,K3n=YYn,B3n=ZYn,c4n=d9n,a4n=b9n,t4n=d9n,e4n=b9n,W3n=b9n,z3n=b9n,J3n=b9n}function WEn(){WEn=E,Edt=new vm(7),Sdt=new FF(8,94),new FF(8,64),Pdt=new FF(8,36),Ndt=new FF(8,65),$dt=new FF(8,122),Ddt=new FF(8,90),Kdt=new FF(8,98),Adt=new FF(8,66),xdt=new FF(8,60),Fdt=new FF(8,62),jdt=new vm(11),Rpn(Tdt=new Qz(4),48,57),Rpn(Rdt=new Qz(4),48,57),Rpn(Rdt,65,90),Rpn(Rdt,95,95),Rpn(Rdt,97,122),Rpn(Ldt=new Qz(4),9,9),Rpn(Ldt,10,10),Rpn(Ldt,12,12),Rpn(Ldt,13,13),Rpn(Ldt,32,32),Cdt=iyn(Tdt),Odt=iyn(Rdt),Idt=iyn(Ldt),vdt=new ym,kdt=new ym,ydt=a8(uM(CGn,1),HSn,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),mdt=a8(uM(CGn,1),HSn,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",QHn,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),Mdt=a8(uM(Wdt,1),GPn,28,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function QEn(){QEn=E,tzn=new u6("OUT_T_L",0,(BZ(),EXn),(z1(),AXn),(v2(),mXn),mXn,a8(uM(wUn,1),kSn,21,0,[i_((ldn(),_st),a8(uM(Jst,1),lPn,95,0,[Ust,xst]))])),nzn=new u6("OUT_T_C",1,jXn,AXn,mXn,vXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[Ust,Dst])),i_(_st,a8(uM(Jst,1),lPn,95,0,[Ust,Dst,Rst]))])),ezn=new u6("OUT_T_R",2,SXn,AXn,mXn,kXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[Ust,Kst]))])),XXn=new u6("OUT_B_L",3,EXn,NXn,kXn,mXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[Bst,xst]))])),qXn=new u6("OUT_B_C",4,jXn,NXn,kXn,vXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[Bst,Dst])),i_(_st,a8(uM(Jst,1),lPn,95,0,[Bst,Dst,Rst]))])),zXn=new u6("OUT_B_R",5,SXn,NXn,kXn,kXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[Bst,Kst]))])),QXn=new u6("OUT_L_T",6,SXn,NXn,mXn,mXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[xst,Ust,Rst]))])),WXn=new u6("OUT_L_C",7,SXn,LXn,vXn,mXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[xst,Hst])),i_(_st,a8(uM(Jst,1),lPn,95,0,[xst,Hst,Rst]))])),VXn=new u6("OUT_L_B",8,SXn,AXn,kXn,mXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[xst,Bst,Rst]))])),ZXn=new u6("OUT_R_T",9,EXn,NXn,mXn,kXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[Kst,Ust,Rst]))])),YXn=new u6("OUT_R_C",10,EXn,LXn,vXn,kXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[Kst,Hst])),i_(_st,a8(uM(Jst,1),lPn,95,0,[Kst,Hst,Rst]))])),JXn=new u6("OUT_R_B",11,EXn,AXn,kXn,kXn,a8(uM(wUn,1),kSn,21,0,[i_(_st,a8(uM(Jst,1),lPn,95,0,[Kst,Bst,Rst]))])),UXn=new u6("IN_T_L",12,EXn,NXn,mXn,mXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Ust,xst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Ust,xst,Rst]))])),HXn=new u6("IN_T_C",13,jXn,NXn,mXn,vXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Ust,Dst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Ust,Dst,Rst]))])),GXn=new u6("IN_T_R",14,SXn,NXn,mXn,kXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Ust,Kst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Ust,Kst,Rst]))])),_Xn=new u6("IN_C_L",15,EXn,LXn,vXn,mXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Hst,xst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Hst,xst,Rst]))])),FXn=new u6("IN_C_C",16,jXn,LXn,vXn,vXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Hst,Dst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Hst,Dst,Rst]))])),BXn=new u6("IN_C_R",17,SXn,LXn,vXn,kXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Hst,Kst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Hst,Kst,Rst]))])),RXn=new u6("IN_B_L",18,EXn,AXn,kXn,mXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Bst,xst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Bst,xst,Rst]))])),xXn=new u6("IN_B_C",19,jXn,AXn,kXn,vXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Bst,Dst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Bst,Dst,Rst]))])),KXn=new u6("IN_B_R",20,SXn,AXn,kXn,kXn,a8(uM(wUn,1),kSn,21,0,[i_(Fst,a8(uM(Jst,1),lPn,95,0,[Bst,Kst])),i_(Fst,a8(uM(Jst,1),lPn,95,0,[Bst,Kst,Rst]))])),izn=new u6(zIn,21,null,null,null,null,a8(uM(wUn,1),kSn,21,0,[]))}function JEn(){JEn=E,vbt=(NH(),pbt).b,JR(d2(uq(pbt.b),0),35),JR(d2(uq(pbt.b),1),19),mbt=pbt.a,JR(d2(uq(pbt.a),0),35),JR(d2(uq(pbt.a),1),19),JR(d2(uq(pbt.a),2),19),JR(d2(uq(pbt.a),3),19),JR(d2(uq(pbt.a),4),19),kbt=pbt.o,JR(d2(uq(pbt.o),0),35),JR(d2(uq(pbt.o),1),35),Mbt=JR(d2(uq(pbt.o),2),19),JR(d2(uq(pbt.o),3),19),JR(d2(uq(pbt.o),4),19),JR(d2(uq(pbt.o),5),19),JR(d2(uq(pbt.o),6),19),JR(d2(uq(pbt.o),7),19),JR(d2(uq(pbt.o),8),19),JR(d2(uq(pbt.o),9),19),JR(d2(uq(pbt.o),10),19),JR(d2(uq(pbt.o),11),19),JR(d2(uq(pbt.o),12),19),JR(d2(uq(pbt.o),13),19),JR(d2(uq(pbt.o),14),19),JR(d2(uq(pbt.o),15),19),JR(d2(oq(pbt.o),0),62),JR(d2(oq(pbt.o),1),62),JR(d2(oq(pbt.o),2),62),JR(d2(oq(pbt.o),3),62),JR(d2(oq(pbt.o),4),62),JR(d2(oq(pbt.o),5),62),JR(d2(oq(pbt.o),6),62),JR(d2(oq(pbt.o),7),62),JR(d2(oq(pbt.o),8),62),JR(d2(oq(pbt.o),9),62),ybt=pbt.p,JR(d2(uq(pbt.p),0),35),JR(d2(uq(pbt.p),1),35),JR(d2(uq(pbt.p),2),35),JR(d2(uq(pbt.p),3),35),JR(d2(uq(pbt.p),4),19),JR(d2(uq(pbt.p),5),19),JR(d2(oq(pbt.p),0),62),JR(d2(oq(pbt.p),1),62),Tbt=pbt.q,JR(d2(uq(pbt.q),0),35),jbt=pbt.v,JR(d2(uq(pbt.v),0),19),JR(d2(oq(pbt.v),0),62),JR(d2(oq(pbt.v),1),62),JR(d2(oq(pbt.v),2),62),Ebt=pbt.w,JR(d2(uq(pbt.w),0),35),JR(d2(uq(pbt.w),1),35),JR(d2(uq(pbt.w),2),35),JR(d2(uq(pbt.w),3),19),Sbt=pbt.B,JR(d2(uq(pbt.B),0),19),JR(d2(oq(pbt.B),0),62),JR(d2(oq(pbt.B),1),62),JR(d2(oq(pbt.B),2),62),Ibt=pbt.Q,JR(d2(uq(pbt.Q),0),19),JR(d2(oq(pbt.Q),0),62),Obt=pbt.R,JR(d2(uq(pbt.R),0),35),Abt=pbt.S,JR(d2(oq(pbt.S),0),62),JR(d2(oq(pbt.S),1),62),JR(d2(oq(pbt.S),2),62),JR(d2(oq(pbt.S),3),62),JR(d2(oq(pbt.S),4),62),JR(d2(oq(pbt.S),5),62),JR(d2(oq(pbt.S),6),62),JR(d2(oq(pbt.S),7),62),JR(d2(oq(pbt.S),8),62),JR(d2(oq(pbt.S),9),62),JR(d2(oq(pbt.S),10),62),JR(d2(oq(pbt.S),11),62),JR(d2(oq(pbt.S),12),62),JR(d2(oq(pbt.S),13),62),JR(d2(oq(pbt.S),14),62),Lbt=pbt.T,JR(d2(uq(pbt.T),0),19),JR(d2(uq(pbt.T),2),19),Nbt=JR(d2(uq(pbt.T),3),19),JR(d2(uq(pbt.T),4),19),JR(d2(oq(pbt.T),0),62),JR(d2(oq(pbt.T),1),62),JR(d2(uq(pbt.T),1),19),$bt=pbt.U,JR(d2(uq(pbt.U),0),35),JR(d2(uq(pbt.U),1),35),JR(d2(uq(pbt.U),2),19),JR(d2(uq(pbt.U),3),19),JR(d2(uq(pbt.U),4),19),JR(d2(uq(pbt.U),5),19),JR(d2(oq(pbt.U),0),62),Dbt=pbt.V,JR(d2(uq(pbt.V),0),19),xbt=pbt.W,JR(d2(uq(pbt.W),0),35),JR(d2(uq(pbt.W),1),35),JR(d2(uq(pbt.W),2),35),JR(d2(uq(pbt.W),3),19),JR(d2(uq(pbt.W),4),19),JR(d2(uq(pbt.W),5),19),Kbt=pbt.bb,JR(d2(uq(pbt.bb),0),35),JR(d2(uq(pbt.bb),1),35),JR(d2(uq(pbt.bb),2),35),JR(d2(uq(pbt.bb),3),35),JR(d2(uq(pbt.bb),4),35),JR(d2(uq(pbt.bb),5),35),JR(d2(uq(pbt.bb),6),35),JR(d2(uq(pbt.bb),7),19),JR(d2(oq(pbt.bb),0),62),JR(d2(oq(pbt.bb),1),62),Fbt=pbt.eb,JR(d2(uq(pbt.eb),0),35),JR(d2(uq(pbt.eb),1),35),JR(d2(uq(pbt.eb),2),35),JR(d2(uq(pbt.eb),3),35),JR(d2(uq(pbt.eb),4),35),JR(d2(uq(pbt.eb),5),35),JR(d2(uq(pbt.eb),6),19),JR(d2(uq(pbt.eb),7),19),Rbt=pbt.ab,JR(d2(uq(pbt.ab),0),35),JR(d2(uq(pbt.ab),1),35),Pbt=pbt.H,JR(d2(uq(pbt.H),0),19),JR(d2(uq(pbt.H),1),19),JR(d2(uq(pbt.H),2),19),JR(d2(uq(pbt.H),3),19),JR(d2(uq(pbt.H),4),19),JR(d2(uq(pbt.H),5),19),JR(d2(oq(pbt.H),0),62),_bt=pbt.db,JR(d2(uq(pbt.db),0),19),Cbt=pbt.M}function YEn(n,t,e,r){var c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C,I,O,A,L,N,$,D,x,R,K,F,_,B,H,U,G,q,X,z;if(r.$g())return eq(),eq(),BGn;if(py(X$(fdn(t,(XEn(),Hot)))))return eq(),eq(),BGn;if(T=0!=(!t.a&&(t.a=new aB(ult,t,10,11)),t.a).i,j=!(E=function(n){var t,e,i;if(py(X$(fdn(n,(XEn(),Tot))))){for(i=new Mm,e=new F_(wN(Jdn(n).a.Kc(),new h));Bwn(e);)Dbn(t=JR(MJ(e),74))&&py(X$(fdn(t,jot)))&&Km(i.c,t);return i}return eq(),eq(),BGn}(t)).dc(),T||j){if(!(c=JR(fdn(t,gut),143)))throw Lm(new Ny("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(G=SI(c,(xwn(),glt)),drn(t),!T&&j&&!G)return eq(),eq(),BGn;if(v=new Mm,UI(fdn(t,kot))===UI((nnn(),jst))&&(SI(c,blt)||SI(c,llt))){if(py(X$(fdn(t,Rut))))throw Lm(new Ny("Topdown layout cannot be used together with hierarchy handling."));for($=Bmn(n,t),z4(D=new Gj,(!t.a&&(t.a=new aB(ult,t,10,11)),t.a));0!=D.b;)drn(L=JR(0==D.b?null:(J$(0!=D.b),c2(D,D.a.a)),27)),UI(fdn(L,kot))===UI(Sst)||JY(L,Jat)&&!hJ(c,fdn(L,gut))?(J5(v,YEn(n,L,e,r)),ocn(L,kot,Sst),_vn(L)):z4(D,(!L.a&&(L.a=new aB(ult,L,10,11)),L.a))}else{if($=(!t.a&&(t.a=new aB(ult,t,10,11)),t.a).i,py(X$(fdn(t,Rut)))){if((q=r.eh(1)).Ug(PRn,1),null==fdn(t,Kut))throw Lm(new Ny(t.k+" has not been assigned a top-down node type."));if(JR(fdn(t,Kut),280)==(Z7(),aft)||JR(fdn(t,Kut),280)==uft)for(m=new XL((!t.a&&(t.a=new aB(ult,t,10,11)),t.a));m.e!=m.i.gc();)if(p=JR(Urn(m),27),A=JR(fdn(p,gut),143),(!p.a&&(p.a=new aB(ult,p,10,11)),p.a).i>0&&(Vq(A.f),0)){if(JR(fdn(p,Kut),280)==aft)throw Lm(new Ny("Topdown Layout Providers should only be used on parallel nodes."));ZI(Vq(A.f)),null.Um(),lA(p,i.Math.max(p.g,null.Vm),i.Math.max(p.f,null.Vm))}else null!=fdn(p,Uut)&&(U=JR(fdn(p,Uut),347).Tg(p),lA(p,i.Math.max(p.g,U.a),i.Math.max(p.f,U.b)));if(x=JR(fdn(t,Got),107),w=t.g-(x.b+x.c),b=t.f-(x.d+x.a),q.bh("Available Child Area: ("+w+"|"+b+")"),ocn(t,not,w/b),krn(t,c,r.eh($)),JR(fdn(t,Kut),280)==uft&&(hEn(t),lA(t,x.b+my(z$(fdn(t,cot)))+x.c,x.d+my(z$(fdn(t,rot)))+x.a)),q.bh("Executed layout algorithm: "+V$(fdn(t,Jat))+" on node "+t.k),JR(fdn(t,Kut),280)==aft){if(w<0||b<0)throw Lm(new Ny("The size defined by the parent parallel node is too small for the space provided by the paddings of the child hierarchical node. "+t.k));for(JY(t,cot)||JY(t,rot)||hEn(t),g=my(z$(fdn(t,cot))),d=my(z$(fdn(t,rot))),q.bh("Desired Child Area: ("+g+"|"+d+")"),K=w/g,F=b/d,R=i.Math.min(K,i.Math.min(F,my(z$(fdn(t,Fut))))),ocn(t,But,R),q.bh(t.k+" -- Local Scale Factor (X|Y): ("+K+"|"+F+")"),k=JR(fdn(t,oot),21),a=0,o=0,R'?":Cx(YFn,n)?"'(?<' or '(? toIndex: ",rIn=", toIndex: ",cIn="Index: ",aIn=", Size: ",oIn="org.eclipse.elk.alg.common",uIn={50:1},sIn="org.eclipse.elk.alg.common.compaction",hIn="Scanline/EventHandler",fIn="org.eclipse.elk.alg.common.compaction.oned",lIn="CNode belongs to another CGroup.",bIn="ISpacingsHandler/1",wIn="The ",dIn=" instance has been finished already.",gIn="The direction ",pIn=" is not supported by the CGraph instance.",mIn="OneDimensionalCompactor",vIn="OneDimensionalCompactor/lambda$0$Type",kIn="Quadruplet",yIn="ScanlineConstraintCalculator",MIn="ScanlineConstraintCalculator/ConstraintsScanlineHandler",TIn="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",jIn="ScanlineConstraintCalculator/Timestamp",EIn="ScanlineConstraintCalculator/lambda$0$Type",SIn={178:1,46:1},PIn="org.eclipse.elk.alg.common.compaction.options",CIn="org.eclipse.elk.core.data",IIn="org.eclipse.elk.polyomino.traversalStrategy",OIn="org.eclipse.elk.polyomino.lowLevelSort",AIn="org.eclipse.elk.polyomino.highLevelSort",LIn="org.eclipse.elk.polyomino.fill",NIn={134:1},$In="polyomino",DIn="org.eclipse.elk.alg.common.networksimplex",xIn={183:1,3:1,4:1},RIn="org.eclipse.elk.alg.common.nodespacing",KIn="org.eclipse.elk.alg.common.nodespacing.cellsystem",FIn="CENTER",_In={217:1,336:1},BIn={3:1,4:1,5:1,603:1},HIn="LEFT",UIn="RIGHT",GIn="Vertical alignment cannot be null",qIn="BOTTOM",XIn="org.eclipse.elk.alg.common.nodespacing.internal",zIn="UNDEFINED",VIn=.01,WIn="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",QIn="LabelPlacer/lambda$0$Type",JIn="LabelPlacer/lambda$1$Type",YIn="portRatioOrPosition",ZIn="org.eclipse.elk.alg.common.overlaps",nOn="DOWN",tOn="org.eclipse.elk.alg.common.polyomino",eOn="NORTH",iOn="EAST",rOn="SOUTH",cOn="WEST",aOn="org.eclipse.elk.alg.common.polyomino.structures",oOn="Direction",uOn="Grid is only of size ",sOn=". Requested point (",hOn=") is out of bounds.",fOn=" Given center based coordinates were (",lOn="org.eclipse.elk.graph.properties",bOn="IPropertyHolder",wOn={3:1,96:1,137:1},dOn="org.eclipse.elk.alg.common.spore",gOn="org.eclipse.elk.alg.common.utils",pOn={205:1},mOn="org.eclipse.elk.core",vOn="Connected Components Compaction",kOn="org.eclipse.elk.alg.disco",yOn="org.eclipse.elk.alg.disco.graph",MOn="org.eclipse.elk.alg.disco.options",TOn="CompactionStrategy",jOn="org.eclipse.elk.disco.componentCompaction.strategy",EOn="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",SOn="org.eclipse.elk.disco.debug.discoGraph",POn="org.eclipse.elk.disco.debug.discoPolys",COn="componentCompaction",IOn="org.eclipse.elk.disco",OOn="org.eclipse.elk.spacing.componentComponent",AOn="org.eclipse.elk.edge.thickness",LOn="org.eclipse.elk.aspectRatio",NOn="org.eclipse.elk.padding",$On="org.eclipse.elk.alg.disco.transform",DOn=1.5707963267948966,xOn=17976931348623157e292,ROn={3:1,4:1,5:1,198:1},KOn={3:1,6:1,4:1,5:1,100:1,115:1},FOn="org.eclipse.elk.alg.force",_On="ComponentsProcessor",BOn="ComponentsProcessor/1",HOn="ElkGraphImporter/lambda$0$Type",UOn="org.eclipse.elk.alg.force.graph",GOn="Component Layout",qOn="org.eclipse.elk.alg.force.model",XOn="org.eclipse.elk.force.model",zOn="org.eclipse.elk.force.iterations",VOn="org.eclipse.elk.force.repulsivePower",WOn="org.eclipse.elk.force.temperature",QOn=.001,JOn="org.eclipse.elk.force.repulsion",YOn="org.eclipse.elk.alg.force.options",ZOn=1.600000023841858,nAn="org.eclipse.elk.force",tAn="org.eclipse.elk.priority",eAn="org.eclipse.elk.spacing.nodeNode",iAn="org.eclipse.elk.spacing.edgeLabel",rAn="org.eclipse.elk.randomSeed",cAn="org.eclipse.elk.separateConnectedComponents",aAn="org.eclipse.elk.interactive",oAn="org.eclipse.elk.portConstraints",uAn="org.eclipse.elk.edgeLabels.inline",sAn="org.eclipse.elk.omitNodeMicroLayout",hAn="org.eclipse.elk.nodeSize.fixedGraphSize",fAn="org.eclipse.elk.nodeSize.options",lAn="org.eclipse.elk.nodeSize.constraints",bAn="org.eclipse.elk.nodeLabels.placement",wAn="org.eclipse.elk.portLabels.placement",dAn="org.eclipse.elk.topdownLayout",gAn="org.eclipse.elk.topdown.scaleFactor",pAn="org.eclipse.elk.topdown.hierarchicalNodeWidth",mAn="org.eclipse.elk.topdown.hierarchicalNodeAspectRatio",vAn="org.eclipse.elk.topdown.nodeType",kAn="origin",yAn="random",MAn="boundingBox.upLeft",TAn="boundingBox.lowRight",jAn="org.eclipse.elk.stress.fixed",EAn="org.eclipse.elk.stress.desiredEdgeLength",SAn="org.eclipse.elk.stress.dimension",PAn="org.eclipse.elk.stress.epsilon",CAn="org.eclipse.elk.stress.iterationLimit",IAn="org.eclipse.elk.stress",OAn="ELK Stress",AAn="org.eclipse.elk.nodeSize.minimum",LAn="org.eclipse.elk.alg.force.stress",NAn="Layered layout",$An="org.eclipse.elk.alg.layered",DAn="org.eclipse.elk.alg.layered.compaction.components",xAn="org.eclipse.elk.alg.layered.compaction.oned",RAn="org.eclipse.elk.alg.layered.compaction.oned.algs",KAn="org.eclipse.elk.alg.layered.compaction.recthull",FAn="org.eclipse.elk.alg.layered.components",_An="NONE",BAn="MODEL_ORDER",HAn={3:1,6:1,4:1,9:1,5:1,126:1},UAn={3:1,6:1,4:1,5:1,150:1,100:1,115:1},GAn="org.eclipse.elk.alg.layered.compound",qAn={47:1},XAn="org.eclipse.elk.alg.layered.graph",zAn=" -> ",VAn="Not supported by LGraph",WAn="Port side is undefined",QAn={3:1,6:1,4:1,5:1,483:1,150:1,100:1,115:1},JAn={3:1,6:1,4:1,5:1,150:1,199:1,210:1,100:1,115:1},YAn={3:1,6:1,4:1,5:1,150:1,2042:1,210:1,100:1,115:1},ZAn="([{\"' \t\r\n",nLn=")]}\"' \t\r\n",tLn="The given string contains parts that cannot be parsed as numbers.",eLn="org.eclipse.elk.core.math",iLn={3:1,4:1,140:1,214:1,423:1},rLn={3:1,4:1,107:1,214:1,423:1},cLn="org.eclipse.elk.alg.layered.graph.transform",aLn="ElkGraphImporter",oLn="ElkGraphImporter/lambda$1$Type",uLn="ElkGraphImporter/lambda$2$Type",sLn="ElkGraphImporter/lambda$4$Type",hLn="org.eclipse.elk.alg.layered.intermediate",fLn="Node margin calculation",lLn="ONE_SIDED_GREEDY_SWITCH",bLn="TWO_SIDED_GREEDY_SWITCH",wLn="No implementation is available for the layout processor ",dLn="IntermediateProcessorStrategy",gLn="Node '",pLn="FIRST_SEPARATE",mLn="LAST_SEPARATE",vLn="Odd port side processing",kLn="org.eclipse.elk.alg.layered.intermediate.compaction",yLn="org.eclipse.elk.alg.layered.intermediate.greedyswitch",MLn="org.eclipse.elk.alg.layered.p3order.counting",TLn={230:1},jLn="org.eclipse.elk.alg.layered.intermediate.loops",ELn="org.eclipse.elk.alg.layered.intermediate.loops.ordering",SLn="org.eclipse.elk.alg.layered.intermediate.loops.routing",PLn="org.eclipse.elk.alg.layered.intermediate.preserveorder",CLn="org.eclipse.elk.alg.layered.intermediate.wrapping",ILn="org.eclipse.elk.alg.layered.options",OLn="INTERACTIVE",ALn="GREEDY",LLn="DEPTH_FIRST",NLn="EDGE_LENGTH",$Ln="SELF_LOOPS",DLn="firstTryWithInitialOrder",xLn="org.eclipse.elk.layered.directionCongruency",RLn="org.eclipse.elk.layered.feedbackEdges",KLn="org.eclipse.elk.layered.interactiveReferencePoint",FLn="org.eclipse.elk.layered.mergeEdges",_Ln="org.eclipse.elk.layered.mergeHierarchyEdges",BLn="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",HLn="org.eclipse.elk.layered.portSortingStrategy",ULn="org.eclipse.elk.layered.thoroughness",GLn="org.eclipse.elk.layered.unnecessaryBendpoints",qLn="org.eclipse.elk.layered.generatePositionAndLayerIds",XLn="org.eclipse.elk.layered.cycleBreaking.strategy",zLn="org.eclipse.elk.layered.layering.strategy",VLn="org.eclipse.elk.layered.layering.layerConstraint",WLn="org.eclipse.elk.layered.layering.layerChoiceConstraint",QLn="org.eclipse.elk.layered.layering.layerId",JLn="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",YLn="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",ZLn="org.eclipse.elk.layered.layering.nodePromotion.strategy",nNn="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",tNn="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",eNn="org.eclipse.elk.layered.crossingMinimization.strategy",iNn="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",rNn="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",cNn="org.eclipse.elk.layered.crossingMinimization.semiInteractive",aNn="org.eclipse.elk.layered.crossingMinimization.inLayerPredOf",oNn="org.eclipse.elk.layered.crossingMinimization.inLayerSuccOf",uNn="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",sNn="org.eclipse.elk.layered.crossingMinimization.positionId",hNn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",fNn="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",lNn="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",bNn="org.eclipse.elk.layered.nodePlacement.strategy",wNn="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",dNn="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",gNn="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",pNn="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",mNn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",vNn="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",kNn="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",yNn="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",MNn="org.eclipse.elk.layered.edgeRouting.splines.mode",TNn="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",jNn="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",ENn="org.eclipse.elk.layered.spacing.baseValue",SNn="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",PNn="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",CNn="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",INn="org.eclipse.elk.layered.priority.direction",ONn="org.eclipse.elk.layered.priority.shortness",ANn="org.eclipse.elk.layered.priority.straightness",LNn="org.eclipse.elk.layered.compaction.connectedComponents",NNn="org.eclipse.elk.layered.compaction.postCompaction.strategy",$Nn="org.eclipse.elk.layered.compaction.postCompaction.constraints",DNn="org.eclipse.elk.layered.highDegreeNodes.treatment",xNn="org.eclipse.elk.layered.highDegreeNodes.threshold",RNn="org.eclipse.elk.layered.highDegreeNodes.treeHeight",KNn="org.eclipse.elk.layered.wrapping.strategy",FNn="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",_Nn="org.eclipse.elk.layered.wrapping.correctionFactor",BNn="org.eclipse.elk.layered.wrapping.cutting.strategy",HNn="org.eclipse.elk.layered.wrapping.cutting.cuts",UNn="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",GNn="org.eclipse.elk.layered.wrapping.validify.strategy",qNn="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",XNn="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",zNn="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",VNn="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",WNn="org.eclipse.elk.layered.edgeLabels.sideSelection",QNn="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",JNn="org.eclipse.elk.layered.considerModelOrder.strategy",YNn="org.eclipse.elk.layered.considerModelOrder.portModelOrder",ZNn="org.eclipse.elk.layered.considerModelOrder.noModelOrder",n$n="org.eclipse.elk.layered.considerModelOrder.components",t$n="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",e$n="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",i$n="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",r$n="layering",c$n="layering.minWidth",a$n="layering.nodePromotion",o$n="crossingMinimization",u$n="org.eclipse.elk.hierarchyHandling",s$n="crossingMinimization.greedySwitch",h$n="nodePlacement",f$n="nodePlacement.bk",l$n="edgeRouting",b$n="org.eclipse.elk.edgeRouting",w$n="spacing",d$n="priority",g$n="compaction",p$n="compaction.postCompaction",m$n="Specifies whether and how post-process compaction is applied.",v$n="highDegreeNodes",k$n="wrapping",y$n="wrapping.cutting",M$n="wrapping.validify",T$n="wrapping.multiEdge",j$n="edgeLabels",E$n="considerModelOrder",S$n="org.eclipse.elk.spacing.commentComment",P$n="org.eclipse.elk.spacing.commentNode",C$n="org.eclipse.elk.spacing.edgeEdge",I$n="org.eclipse.elk.spacing.edgeNode",O$n="org.eclipse.elk.spacing.labelLabel",A$n="org.eclipse.elk.spacing.labelPortHorizontal",L$n="org.eclipse.elk.spacing.labelPortVertical",N$n="org.eclipse.elk.spacing.labelNode",$$n="org.eclipse.elk.spacing.nodeSelfLoop",D$n="org.eclipse.elk.spacing.portPort",x$n="org.eclipse.elk.spacing.individual",R$n="org.eclipse.elk.port.borderOffset",K$n="org.eclipse.elk.noLayout",F$n="org.eclipse.elk.port.side",_$n="org.eclipse.elk.debugMode",B$n="org.eclipse.elk.alignment",H$n="org.eclipse.elk.insideSelfLoops.activate",U$n="org.eclipse.elk.insideSelfLoops.yo",G$n="org.eclipse.elk.direction",q$n="org.eclipse.elk.nodeLabels.padding",X$n="org.eclipse.elk.portLabels.nextToPortIfPossible",z$n="org.eclipse.elk.portLabels.treatAsGroup",V$n="org.eclipse.elk.portAlignment.default",W$n="org.eclipse.elk.portAlignment.north",Q$n="org.eclipse.elk.portAlignment.south",J$n="org.eclipse.elk.portAlignment.west",Y$n="org.eclipse.elk.portAlignment.east",Z$n="org.eclipse.elk.contentAlignment",nDn="org.eclipse.elk.junctionPoints",tDn="org.eclipse.elk.edgeLabels.placement",eDn="org.eclipse.elk.port.index",iDn="org.eclipse.elk.commentBox",rDn="org.eclipse.elk.hypernode",cDn="org.eclipse.elk.port.anchor",aDn="org.eclipse.elk.partitioning.activate",oDn="org.eclipse.elk.partitioning.partition",uDn="org.eclipse.elk.position",sDn="org.eclipse.elk.margins",hDn="org.eclipse.elk.spacing.portsSurrounding",fDn="org.eclipse.elk.interactiveLayout",lDn="org.eclipse.elk.core.util",bDn={3:1,4:1,5:1,601:1},wDn="NETWORK_SIMPLEX",dDn="SIMPLE",gDn={106:1,47:1},pDn="org.eclipse.elk.alg.layered.p1cycles",mDn="org.eclipse.elk.alg.layered.p2layers",vDn={413:1,230:1},kDn={846:1,3:1,4:1},yDn="org.eclipse.elk.alg.layered.p3order",MDn="org.eclipse.elk.alg.layered.p4nodes",TDn={3:1,4:1,5:1,854:1},jDn=1e-5,EDn="org.eclipse.elk.alg.layered.p4nodes.bk",SDn="org.eclipse.elk.alg.layered.p5edges",PDn="org.eclipse.elk.alg.layered.p5edges.orthogonal",CDn="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",IDn=1e-6,ODn="org.eclipse.elk.alg.layered.p5edges.splines",ADn=.09999999999999998,LDn=1e-8,NDn=4.71238898038469,$Dn=3.141592653589793,DDn="org.eclipse.elk.alg.mrtree",xDn=.10000000149011612,RDn="SUPER_ROOT",KDn="org.eclipse.elk.alg.mrtree.graph",FDn=-17976931348623157e292,_Dn="org.eclipse.elk.alg.mrtree.intermediate",BDn="Processor compute fanout",HDn={3:1,6:1,4:1,5:1,534:1,100:1,115:1},UDn="Set neighbors in level",GDn="org.eclipse.elk.alg.mrtree.options",qDn="DESCENDANTS",XDn="org.eclipse.elk.mrtree.compaction",zDn="org.eclipse.elk.mrtree.edgeEndTextureLength",VDn="org.eclipse.elk.mrtree.treeLevel",WDn="org.eclipse.elk.mrtree.positionConstraint",QDn="org.eclipse.elk.mrtree.weighting",JDn="org.eclipse.elk.mrtree.edgeRoutingMode",YDn="org.eclipse.elk.mrtree.searchOrder",ZDn="Position Constraint",nxn="org.eclipse.elk.mrtree",txn="org.eclipse.elk.tree",exn="Processor arrange level",ixn="org.eclipse.elk.alg.mrtree.p2order",rxn="org.eclipse.elk.alg.mrtree.p4route",cxn="org.eclipse.elk.alg.radial",axn=6.283185307179586,oxn="Before",uxn=5e-324,sxn="After",hxn="org.eclipse.elk.alg.radial.intermediate",fxn="COMPACTION",lxn="org.eclipse.elk.alg.radial.intermediate.compaction",bxn={3:1,4:1,5:1,100:1},wxn="org.eclipse.elk.alg.radial.intermediate.optimization",dxn="No implementation is available for the layout option ",gxn="org.eclipse.elk.alg.radial.options",pxn="org.eclipse.elk.radial.centerOnRoot",mxn="org.eclipse.elk.radial.orderId",vxn="org.eclipse.elk.radial.radius",kxn="org.eclipse.elk.radial.rotate",yxn="org.eclipse.elk.radial.compactor",Mxn="org.eclipse.elk.radial.compactionStepSize",Txn="org.eclipse.elk.radial.sorter",jxn="org.eclipse.elk.radial.wedgeCriteria",Exn="org.eclipse.elk.radial.optimizationCriteria",Sxn="org.eclipse.elk.radial.rotation.targetAngle",Pxn="org.eclipse.elk.radial.rotation.computeAdditionalWedgeSpace",Cxn="org.eclipse.elk.radial.rotation.outgoingEdgeAngles",Ixn="Compaction",Oxn="rotation",Axn="org.eclipse.elk.radial",Lxn="org.eclipse.elk.alg.radial.p1position.wedge",Nxn="org.eclipse.elk.alg.radial.sorting",$xn=5.497787143782138,Dxn=3.9269908169872414,xxn=2.356194490192345,Rxn="org.eclipse.elk.alg.rectpacking",Kxn="org.eclipse.elk.alg.rectpacking.intermediate",Fxn="org.eclipse.elk.alg.rectpacking.options",_xn="org.eclipse.elk.rectpacking.trybox",Bxn="org.eclipse.elk.rectpacking.currentPosition",Hxn="org.eclipse.elk.rectpacking.desiredPosition",Uxn="org.eclipse.elk.rectpacking.inNewRow",Gxn="org.eclipse.elk.rectpacking.widthApproximation.strategy",qxn="org.eclipse.elk.rectpacking.widthApproximation.targetWidth",Xxn="org.eclipse.elk.rectpacking.widthApproximation.optimizationGoal",zxn="org.eclipse.elk.rectpacking.widthApproximation.lastPlaceShift",Vxn="org.eclipse.elk.rectpacking.packing.strategy",Wxn="org.eclipse.elk.rectpacking.packing.compaction.rowHeightReevaluation",Qxn="org.eclipse.elk.rectpacking.packing.compaction.iterations",Jxn="org.eclipse.elk.rectpacking.whiteSpaceElimination.strategy",Yxn="widthApproximation",Zxn="Compaction Strategy",nRn="packing.compaction",tRn="org.eclipse.elk.rectpacking",eRn="org.eclipse.elk.alg.rectpacking.p1widthapproximation",iRn="org.eclipse.elk.alg.rectpacking.p2packing",rRn="No Compaction",cRn="org.eclipse.elk.alg.rectpacking.p3whitespaceelimination",aRn="org.eclipse.elk.alg.rectpacking.util",oRn="No implementation available for ",uRn="org.eclipse.elk.alg.spore",sRn="org.eclipse.elk.alg.spore.options",hRn="org.eclipse.elk.sporeCompaction",fRn="org.eclipse.elk.underlyingLayoutAlgorithm",lRn="org.eclipse.elk.processingOrder.treeConstruction",bRn="org.eclipse.elk.processingOrder.spanningTreeCostFunction",wRn="org.eclipse.elk.processingOrder.preferredRoot",dRn="org.eclipse.elk.processingOrder.rootSelection",gRn="org.eclipse.elk.structure.structureExtractionStrategy",pRn="org.eclipse.elk.compaction.compactionStrategy",mRn="org.eclipse.elk.compaction.orthogonal",vRn="org.eclipse.elk.overlapRemoval.maxIterations",kRn="org.eclipse.elk.overlapRemoval.runScanline",yRn="processingOrder",MRn="overlapRemoval",TRn="org.eclipse.elk.sporeOverlap",jRn="org.eclipse.elk.alg.spore.p1structure",ERn="org.eclipse.elk.alg.spore.p2processingorder",SRn="org.eclipse.elk.alg.spore.p3execution",PRn="Topdown Layout",CRn="Invalid index: ",IRn="org.eclipse.elk.core.alg",ORn={341:1},ARn={295:1},LRn="Make sure its type is registered with the ",NRn=" utility class.",$Rn="true",DRn="false",xRn="Couldn't clone property '",RRn=.05,KRn="org.eclipse.elk.core.options",FRn=1.2999999523162842,_Rn="org.eclipse.elk.box",BRn="org.eclipse.elk.expandNodes",HRn="org.eclipse.elk.box.packingMode",URn="org.eclipse.elk.algorithm",GRn="org.eclipse.elk.resolvedAlgorithm",qRn="org.eclipse.elk.bendPoints",XRn="org.eclipse.elk.labelManager",zRn="org.eclipse.elk.scaleFactor",VRn="org.eclipse.elk.childAreaWidth",WRn="org.eclipse.elk.childAreaHeight",QRn="org.eclipse.elk.animate",JRn="org.eclipse.elk.animTimeFactor",YRn="org.eclipse.elk.layoutAncestors",ZRn="org.eclipse.elk.maxAnimTime",nKn="org.eclipse.elk.minAnimTime",tKn="org.eclipse.elk.progressBar",eKn="org.eclipse.elk.validateGraph",iKn="org.eclipse.elk.validateOptions",rKn="org.eclipse.elk.zoomToFit",cKn="org.eclipse.elk.font.name",aKn="org.eclipse.elk.font.size",oKn="org.eclipse.elk.topdown.sizeApproximator",uKn="org.eclipse.elk.topdown.scaleCap",sKn="org.eclipse.elk.edge.type",hKn="partitioning",fKn="nodeLabels",lKn="portAlignment",bKn="nodeSize",wKn="port",dKn="portLabels",gKn="topdown",pKn="insideSelfLoops",mKn="org.eclipse.elk.fixed",vKn="org.eclipse.elk.random",kKn={3:1,34:1,22:1,347:1},yKn="port must have a parent node to calculate the port side",MKn="The edge needs to have exactly one edge section. Found: ",TKn="org.eclipse.elk.core.util.adapters",jKn="org.eclipse.emf.ecore",EKn="org.eclipse.elk.graph",SKn="EMapPropertyHolder",PKn="ElkBendPoint",CKn="ElkGraphElement",IKn="ElkConnectableShape",OKn="ElkEdge",AKn="ElkEdgeSection",LKn="EModelElement",NKn="ENamedElement",$Kn="ElkLabel",DKn="ElkNode",xKn="ElkPort",RKn={94:1,93:1},KKn="org.eclipse.emf.common.notify.impl",FKn="The feature '",_Kn="' is not a valid changeable feature",BKn="Expecting null",HKn="' is not a valid feature",UKn="The feature ID",GKn=" is not a valid feature ID",qKn=32768,XKn={110:1,94:1,93:1,58:1,54:1,99:1},zKn="org.eclipse.emf.ecore.impl",VKn="org.eclipse.elk.graph.impl",WKn="Recursive containment not allowed for ",QKn="The datatype '",JKn="' is not a valid classifier",YKn="The value '",ZKn={195:1,3:1,4:1},nFn="The class '",tFn="http://www.eclipse.org/elk/ElkGraph",eFn="property",iFn="value",rFn="source",cFn="properties",aFn="identifier",oFn="height",uFn="width",sFn="parent",hFn="text",fFn="children",lFn="hierarchical",bFn="sources",wFn="targets",dFn="sections",gFn="bendPoints",pFn="outgoingShape",mFn="incomingShape",vFn="outgoingSections",kFn="incomingSections",yFn="org.eclipse.emf.common.util",MFn="Severe implementation error in the Json to ElkGraph importer.",TFn="id",jFn="org.eclipse.elk.graph.json",EFn="Unhandled parameter types: ",SFn="startPoint",PFn="An edge must have at least one source and one target (edge id: '",CFn="').",IFn="Referenced edge section does not exist: ",OFn=" (edge id: '",AFn="target",LFn="sourcePoint",NFn="targetPoint",$Fn="group",DFn="name",xFn="connectableShape cannot be null",RFn="edge cannot be null",KFn="Passed edge is not 'simple'.",FFn="org.eclipse.elk.graph.util",_Fn="The 'no duplicates' constraint is violated",BFn="targetIndex=",HFn=", size=",UFn="sourceIndex=",GFn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1},qFn={3:1,4:1,20:1,31:1,56:1,16:1,51:1,15:1,59:1,70:1,66:1,61:1,596:1},XFn="logging",zFn="measureExecutionTime",VFn="parser.parse.1",WFn="parser.parse.2",QFn="parser.next.1",JFn="parser.next.2",YFn="parser.next.3",ZFn="parser.next.4",n_n="parser.factor.1",t_n="parser.factor.2",e_n="parser.factor.3",i_n="parser.factor.4",r_n="parser.factor.5",c_n="parser.factor.6",a_n="parser.atom.1",o_n="parser.atom.2",u_n="parser.atom.3",s_n="parser.atom.4",h_n="parser.atom.5",f_n="parser.cc.1",l_n="parser.cc.2",b_n="parser.cc.3",w_n="parser.cc.5",d_n="parser.cc.6",g_n="parser.cc.7",p_n="parser.cc.8",m_n="parser.ope.1",v_n="parser.ope.2",k_n="parser.ope.3",y_n="parser.descape.1",M_n="parser.descape.2",T_n="parser.descape.3",j_n="parser.descape.4",E_n="parser.descape.5",S_n="parser.process.1",P_n="parser.quantifier.1",C_n="parser.quantifier.2",I_n="parser.quantifier.3",O_n="parser.quantifier.4",A_n="parser.quantifier.5",L_n="org.eclipse.emf.common.notify",N_n={424:1,686:1},$_n={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1},D_n={378:1,152:1},x_n="index=",R_n={3:1,4:1,5:1,129:1},K_n={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,61:1},F_n={3:1,6:1,4:1,5:1,198:1},__n={3:1,4:1,5:1,173:1,379:1},B_n=";/?:@&=+$,",H_n="invalid authority: ",U_n="EAnnotation",G_n="ETypedElement",q_n="EStructuralFeature",X_n="EAttribute",z_n="EClassifier",V_n="EEnumLiteral",W_n="EGenericType",Q_n="EOperation",J_n="EParameter",Y_n="EReference",Z_n="ETypeParameter",nBn="org.eclipse.emf.ecore.util",tBn={79:1},eBn={3:1,20:1,16:1,15:1,61:1,597:1,79:1,71:1,97:1},iBn="org.eclipse.emf.ecore.util.FeatureMap$Entry",rBn=8192,cBn=2048,aBn="byte",oBn="char",uBn="double",sBn="float",hBn="int",fBn="long",lBn="short",bBn="java.lang.Object",wBn={3:1,4:1,5:1,254:1},dBn={3:1,4:1,5:1,688:1},gBn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,71:1},pBn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,59:1,70:1,66:1,61:1,79:1,71:1,97:1},mBn="mixed",vBn="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",kBn="kind",yBn={3:1,4:1,5:1,689:1},MBn={3:1,4:1,20:1,31:1,56:1,16:1,15:1,70:1,61:1,79:1,71:1,97:1},TBn={20:1,31:1,56:1,16:1,15:1,61:1,71:1},jBn={51:1,128:1,287:1},EBn={76:1,343:1},SBn="The value of type '",PBn="' must be of type '",CBn=1352,IBn="http://www.eclipse.org/emf/2002/Ecore",OBn=-32768,ABn="constraints",LBn="baseType",NBn="getEStructuralFeature",$Bn="getFeatureID",DBn="feature",xBn="getOperationID",RBn="operation",KBn="defaultValue",FBn="eTypeParameters",_Bn="isInstance",BBn="getEEnumLiteral",HBn="eContainingClass",UBn={57:1},GBn={3:1,4:1,5:1,124:1},qBn="org.eclipse.emf.ecore.resource",XBn={94:1,93:1,599:1,2034:1},zBn="org.eclipse.emf.ecore.resource.impl",VBn="unspecified",WBn="simple",QBn="attribute",JBn="attributeWildcard",YBn="element",ZBn="elementWildcard",nHn="collapse",tHn="itemType",eHn="namespace",iHn="##targetNamespace",rHn="whiteSpace",cHn="wildcards",aHn="http://www.eclipse.org/emf/2003/XMLType",oHn="##any",uHn="uninitialized",sHn="The multiplicity constraint is violated",hHn="org.eclipse.emf.ecore.xml.type",fHn="ProcessingInstruction",lHn="SimpleAnyType",bHn="XMLTypeDocumentRoot",wHn="org.eclipse.emf.ecore.xml.type.impl",dHn="INF",gHn="processing",pHn="ENTITIES_._base",mHn="minLength",vHn="ENTITY",kHn="NCName",yHn="IDREFS_._base",MHn="integer",THn="token",jHn="pattern",EHn="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",SHn="\\i\\c*",PHn="[\\i-[:]][\\c-[:]]*",CHn="nonPositiveInteger",IHn="maxInclusive",OHn="NMTOKEN",AHn="NMTOKENS_._base",LHn="nonNegativeInteger",NHn="minInclusive",$Hn="normalizedString",DHn="unsignedByte",xHn="unsignedInt",RHn="18446744073709551615",KHn="unsignedShort",FHn="processingInstruction",_Hn="org.eclipse.emf.ecore.xml.type.internal",BHn=1114111,HHn="Internal Error: shorthands: \\u",UHn="xml:isDigit",GHn="xml:isWord",qHn="xml:isSpace",XHn="xml:isNameChar",zHn="xml:isInitialNameChar",VHn="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",WHn="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",QHn="Private Use",JHn="ASSIGNED",YHn="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",ZHn="UNASSIGNED",nUn={3:1,122:1},tUn="org.eclipse.emf.ecore.xml.type.util",eUn={3:1,4:1,5:1,381:1},iUn="org.eclipse.xtext.xbase.lib",rUn="Cannot add elements to a Range",cUn="Cannot set elements in a Range",aUn="Cannot remove elements from a Range",oUn="user.agent";i.goog=i.goog||{},i.goog.global=i.goog.global||i,rSn={},_wn(1,null,{},r),iSn.Fb=function(n){return AO(this,n)},iSn.Gb=function(){return this.Rm},iSn.Hb=function(){return FN(this)},iSn.Ib=function(){return sT(s7(this))+"@"+(F4(this)>>>0).toString(16)},iSn.equals=function(n){return this.Fb(n)},iSn.hashCode=function(){return this.Hb()},iSn.toString=function(){return this.Ib()},_wn(297,1,{297:1,2124:1},F8),iSn.ve=function(n){var t;return(t=new F8).i=4,t.c=n>1?GX(this,n-1):this,t},iSn.we=function(){return W$(this),this.b},iSn.xe=function(){return sT(this)},iSn.ye=function(){return W$(this),this.k},iSn.ze=function(){return!!(4&this.i)},iSn.Ae=function(){return!!(1&this.i)},iSn.Ib=function(){return B0(this)},iSn.i=0;var uUn,sUn=EH(dSn,"Object",1),hUn=EH(dSn,"Class",297);_wn(2096,1,gSn),EH(pSn,"Optional",2096),_wn(1191,2096,gSn,c),iSn.Fb=function(n){return n===this},iSn.Hb=function(){return 2040732332},iSn.Ib=function(){return"Optional.absent()"},iSn.Jb=function(n){return PH(n),Ik(),uUn},EH(pSn,"Absent",1191),_wn(636,1,{},qy),EH(pSn,"Joiner",636);var fUn=nF(pSn,"Predicate");_wn(589,1,{178:1,589:1,3:1,46:1},_l),iSn.Mb=function(n){return t9(this,n)},iSn.Lb=function(n){return t9(this,n)},iSn.Fb=function(n){var t;return!!sL(n,589)&&(t=JR(n,589),Jwn(this.a,t.a))},iSn.Hb=function(){return r9(this.a)+306654252},iSn.Ib=function(){return function(n){var t,e,i,r;for(t=ZH(rO(new kN("Predicates."),"and"),40),e=!0,r=new kw(n);r.b0},iSn.Pb=function(){if(this.c>=this.d)throw Lm(new cv);return this.Xb(this.c++)},iSn.Tb=function(){return this.c},iSn.Ub=function(){if(this.c<=0)throw Lm(new cv);return this.Xb(--this.c)},iSn.Vb=function(){return this.c-1},iSn.c=0,iSn.d=0,EH(SSn,"AbstractIndexedListIterator",399),_wn(713,204,ESn),iSn.Ob=function(){return s4(this)},iSn.Pb=function(){return m1(this)},iSn.e=1,EH(SSn,"AbstractIterator",713),_wn(2084,1,{229:1}),iSn.Zb=function(){return this.f||(this.f=this.ac())},iSn.Fb=function(n){return O9(this,n)},iSn.Hb=function(){return F4(this.Zb())},iSn.dc=function(){return 0==this.gc()},iSn.ec=function(){return j_(this)},iSn.Ib=function(){return Qtn(this.Zb())},EH(SSn,"AbstractMultimap",2084),_wn(742,2084,CSn),iSn.$b=function(){P3(this)},iSn._b=function(n){return aT(this,n)},iSn.ac=function(){return new uj(this,this.c)},iSn.ic=function(n){return this.hc()},iSn.bc=function(){return new VL(this,this.c)},iSn.jc=function(){return this.mc(this.hc())},iSn.kc=function(){return new Dk(this)},iSn.lc=function(){return Jsn(this.c.vc().Nc(),new o,64,this.d)},iSn.cc=function(n){return RJ(this,n)},iSn.fc=function(n){return $7(this,n)},iSn.gc=function(){return this.d},iSn.mc=function(n){return eq(),new ww(n)},iSn.nc=function(){return new $k(this)},iSn.oc=function(){return Jsn(this.c.Cc().Nc(),new a,64,this.d)},iSn.pc=function(n,t){return new hY(this,n,t,null)},iSn.d=0,EH(SSn,"AbstractMapBasedMultimap",742),_wn(1696,742,CSn),iSn.hc=function(){return new dY(this.a)},iSn.jc=function(){return eq(),eq(),BGn},iSn.cc=function(n){return JR(RJ(this,n),15)},iSn.fc=function(n){return JR($7(this,n),15)},iSn.Zb=function(){return VG(this)},iSn.Fb=function(n){return O9(this,n)},iSn.qc=function(n){return JR(RJ(this,n),15)},iSn.rc=function(n){return JR($7(this,n),15)},iSn.mc=function(n){return gq(JR(n,15))},iSn.pc=function(n,t){return pW(this,n,JR(t,15),null)},EH(SSn,"AbstractListMultimap",1696),_wn(748,1,ISn),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return this.c.Ob()||this.e.Ob()},iSn.Pb=function(){var n;return this.e.Ob()||(n=JR(this.c.Pb(),44),this.b=n.ld(),this.a=JR(n.md(),16),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},iSn.Qb=function(){this.e.Qb(),JR(MU(this.a),16).dc()&&this.c.Qb(),--this.d.d},EH(SSn,"AbstractMapBasedMultimap/Itr",748),_wn(1129,748,ISn,$k),iSn.sc=function(n,t){return t},EH(SSn,"AbstractMapBasedMultimap/1",1129),_wn(1130,1,{},a),iSn.Kb=function(n){return JR(n,16).Nc()},EH(SSn,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1130),_wn(1131,748,ISn,Dk),iSn.sc=function(n,t){return new pj(n,t)},EH(SSn,"AbstractMapBasedMultimap/2",1131);var lUn=nF(OSn,"Map");_wn(2065,1,ASn),iSn.wc=function(n){R6(this,n)},iSn.yc=function(n,t,e){return Gtn(this,n,t,e)},iSn.$b=function(){this.vc().$b()},iSn.tc=function(n){return yan(this,n)},iSn._b=function(n){return!!fsn(this,n,!1)},iSn.uc=function(n){var t,e;for(t=this.vc().Kc();t.Ob();)if(e=JR(t.Pb(),44).md(),UI(n)===UI(e)||null!=n&&Enn(n,e))return!0;return!1},iSn.Fb=function(n){var t,e,i;if(n===this)return!0;if(!sL(n,85))return!1;if(i=JR(n,85),this.gc()!=i.gc())return!1;for(e=i.vc().Kc();e.Ob();)if(t=JR(e.Pb(),44),!this.tc(t))return!1;return!0},iSn.xc=function(n){return HI(fsn(this,n,!1))},iSn.Hb=function(){return p8(this.vc())},iSn.dc=function(){return 0==this.gc()},iSn.ec=function(){return new tw(this)},iSn.zc=function(n,t){throw Lm(new Ly("Put not supported on this map"))},iSn.Ac=function(n){S6(this,n)},iSn.Bc=function(n){return HI(fsn(this,n,!0))},iSn.gc=function(){return this.vc().gc()},iSn.Ib=function(){return Tsn(this)},iSn.Cc=function(){return new uw(this)},EH(OSn,"AbstractMap",2065),_wn(2085,2065,ASn),iSn.bc=function(){return new Sj(this)},iSn.vc=function(){return T_(this)},iSn.ec=function(){return this.g||(this.g=this.bc())},iSn.Cc=function(){return this.i||(this.i=new Ej(this))},EH(SSn,"Maps/ViewCachingAbstractMap",2085),_wn(402,2085,ASn,uj),iSn.xc=function(n){return function(n,t){var e,i;return(e=JR(wnn(n.d,t),16))?(i=t,n.e.pc(i,e)):null}(this,n)},iSn.Bc=function(n){return function(n,t){var e,i;return(e=JR(n.d.Bc(t),16))?((i=n.e.hc()).Gc(e),n.e.d-=e.gc(),e.$b(),i):null}(this,n)},iSn.$b=function(){this.d==this.e.c?this.e.$b():sF(new fF(this))},iSn._b=function(n){return lnn(this.d,n)},iSn.Ec=function(){return new Hl(this)},iSn.Dc=function(){return this.Ec()},iSn.Fb=function(n){return this===n||Enn(this.d,n)},iSn.Hb=function(){return F4(this.d)},iSn.ec=function(){return this.e.ec()},iSn.gc=function(){return this.d.gc()},iSn.Ib=function(){return Qtn(this.d)},EH(SSn,"AbstractMapBasedMultimap/AsMap",402);var bUn=nF(dSn,"Iterable");_wn(31,1,LSn),iSn.Jc=function(n){QQ(this,n)},iSn.Lc=function(){return this.Oc()},iSn.Nc=function(){return new Kz(this,0)},iSn.Oc=function(){return new PF(null,this.Nc())},iSn.Fc=function(n){throw Lm(new Ly("Add not supported on this collection"))},iSn.Gc=function(n){return z4(this,n)},iSn.$b=function(){lG(this)},iSn.Hc=function(n){return Ten(this,n,!1)},iSn.Ic=function(n){return G5(this,n)},iSn.dc=function(){return 0==this.gc()},iSn.Mc=function(n){return Ten(this,n,!0)},iSn.Pc=function(){return I_(this)},iSn.Qc=function(n){return kan(this,n)},iSn.Ib=function(){return Chn(this)},EH(OSn,"AbstractCollection",31);var wUn=nF(OSn,"Set");_wn(NSn,31,$Sn),iSn.Nc=function(){return new Kz(this,1)},iSn.Fb=function(n){return Win(this,n)},iSn.Hb=function(){return p8(this)},EH(OSn,"AbstractSet",NSn),_wn(2068,NSn,$Sn),EH(SSn,"Sets/ImprovedAbstractSet",2068),_wn(2069,2068,$Sn),iSn.$b=function(){this.Rc().$b()},iSn.Hc=function(n){return Jen(this,n)},iSn.dc=function(){return this.Rc().dc()},iSn.Mc=function(n){var t;return!(!this.Hc(n)||!sL(n,44))&&(t=JR(n,44),this.Rc().ec().Mc(t.ld()))},iSn.gc=function(){return this.Rc().gc()},EH(SSn,"Maps/EntrySet",2069),_wn(1127,2069,$Sn,Hl),iSn.Hc=function(n){return bnn(this.a.d.vc(),n)},iSn.Kc=function(){return new fF(this.a)},iSn.Rc=function(){return this.a},iSn.Mc=function(n){var t;return!!bnn(this.a.d.vc(),n)&&(t=JR(MU(JR(n,44)),44),OJ(this.a.e,t.ld()),!0)},iSn.Nc=function(){return GR(this.a.d.vc().Nc(),new Ul(this.a))},EH(SSn,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1127),_wn(1128,1,{},Ul),iSn.Kb=function(n){return kJ(this.a,JR(n,44))},EH(SSn,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1128),_wn(746,1,ISn,fF),iSn.Nb=function(n){yB(this,n)},iSn.Pb=function(){var n;return n=JR(this.b.Pb(),44),this.a=JR(n.md(),16),kJ(this.c,n)},iSn.Ob=function(){return this.b.Ob()},iSn.Qb=function(){aR(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},EH(SSn,"AbstractMapBasedMultimap/AsMap/AsMapIterator",746),_wn(542,2068,$Sn,Sj),iSn.$b=function(){this.b.$b()},iSn.Hc=function(n){return this.b._b(n)},iSn.Jc=function(n){PH(n),this.b.wc(new bb(n))},iSn.dc=function(){return this.b.dc()},iSn.Kc=function(){return new Xk(this.b.vc().Kc())},iSn.Mc=function(n){return!!this.b._b(n)&&(this.b.Bc(n),!0)},iSn.gc=function(){return this.b.gc()},EH(SSn,"Maps/KeySet",542),_wn(327,542,$Sn,VL),iSn.$b=function(){sF(new sj(this,this.b.vc().Kc()))},iSn.Ic=function(n){return this.b.ec().Ic(n)},iSn.Fb=function(n){return this===n||Enn(this.b.ec(),n)},iSn.Hb=function(){return F4(this.b.ec())},iSn.Kc=function(){return new sj(this,this.b.vc().Kc())},iSn.Mc=function(n){var t,e;return e=0,(t=JR(this.b.Bc(n),16))&&(e=t.gc(),t.$b(),this.a.d-=e),e>0},iSn.Nc=function(){return this.b.ec().Nc()},EH(SSn,"AbstractMapBasedMultimap/KeySet",327),_wn(747,1,ISn,sj),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return this.c.Ob()},iSn.Pb=function(){return this.a=JR(this.c.Pb(),44),this.a.ld()},iSn.Qb=function(){var n;aR(!!this.a),n=JR(this.a.md(),16),this.c.Qb(),this.b.a.d-=n.gc(),n.$b(),this.a=null},EH(SSn,"AbstractMapBasedMultimap/KeySet/1",747),_wn(503,402,{85:1,133:1},uD),iSn.bc=function(){return this.Sc()},iSn.ec=function(){return this.Uc()},iSn.Sc=function(){return new ZT(this.c,this.Wc())},iSn.Tc=function(){return this.Wc().Tc()},iSn.Uc=function(){return this.b||(this.b=this.Sc())},iSn.Vc=function(){return this.Wc().Vc()},iSn.Wc=function(){return JR(this.d,133)},EH(SSn,"AbstractMapBasedMultimap/SortedAsMap",503),_wn(446,503,DSn,sD),iSn.bc=function(){return new nj(this.a,JR(JR(this.d,133),139))},iSn.Sc=function(){return new nj(this.a,JR(JR(this.d,133),139))},iSn.ec=function(){return JR(this.b||(this.b=new nj(this.a,JR(JR(this.d,133),139))),277)},iSn.Uc=function(){return JR(this.b||(this.b=new nj(this.a,JR(JR(this.d,133),139))),277)},iSn.Wc=function(){return JR(JR(this.d,133),139)},iSn.Xc=function(n){return JR(JR(this.d,133),139).Xc(n)},iSn.Yc=function(n){return JR(JR(this.d,133),139).Yc(n)},iSn.Zc=function(n,t){return new sD(this.a,JR(JR(this.d,133),139).Zc(n,t))},iSn.$c=function(n){return JR(JR(this.d,133),139).$c(n)},iSn._c=function(n){return JR(JR(this.d,133),139)._c(n)},iSn.ad=function(n,t){return new sD(this.a,JR(JR(this.d,133),139).ad(n,t))},EH(SSn,"AbstractMapBasedMultimap/NavigableAsMap",446),_wn(502,327,xSn,ZT),iSn.Nc=function(){return this.b.ec().Nc()},EH(SSn,"AbstractMapBasedMultimap/SortedKeySet",502),_wn(401,502,RSn,nj),EH(SSn,"AbstractMapBasedMultimap/NavigableKeySet",401),_wn(551,31,LSn,hY),iSn.Fc=function(n){var t,e;return ten(this),e=this.d.dc(),(t=this.d.Fc(n))&&(++this.f.d,e&&HD(this)),t},iSn.Gc=function(n){var t,e,i;return!n.dc()&&(ten(this),i=this.d.gc(),(t=this.d.Gc(n))&&(e=this.d.gc(),this.f.d+=e-i,0==i&&HD(this)),t)},iSn.$b=function(){var n;ten(this),0!=(n=this.d.gc())&&(this.d.$b(),this.f.d-=n,qF(this))},iSn.Hc=function(n){return ten(this),this.d.Hc(n)},iSn.Ic=function(n){return ten(this),this.d.Ic(n)},iSn.Fb=function(n){return n===this||(ten(this),Enn(this.d,n))},iSn.Hb=function(){return ten(this),F4(this.d)},iSn.Kc=function(){return ten(this),new UR(this)},iSn.Mc=function(n){var t;return ten(this),(t=this.d.Mc(n))&&(--this.f.d,qF(this)),t},iSn.gc=function(){return YI(this)},iSn.Nc=function(){return ten(this),this.d.Nc()},iSn.Ib=function(){return ten(this),Qtn(this.d)},EH(SSn,"AbstractMapBasedMultimap/WrappedCollection",551);var dUn=nF(OSn,"List");_wn(744,551,{20:1,31:1,16:1,15:1},q_),iSn.jd=function(n){A4(this,n)},iSn.Nc=function(){return ten(this),this.d.Nc()},iSn.bd=function(n,t){var e;ten(this),e=this.d.dc(),JR(this.d,15).bd(n,t),++this.a.d,e&&HD(this)},iSn.cd=function(n,t){var e,i,r;return!t.dc()&&(ten(this),r=this.d.gc(),(e=JR(this.d,15).cd(n,t))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&HD(this)),e)},iSn.Xb=function(n){return ten(this),JR(this.d,15).Xb(n)},iSn.dd=function(n){return ten(this),JR(this.d,15).dd(n)},iSn.ed=function(){return ten(this),new AA(this)},iSn.fd=function(n){return ten(this),new qG(this,n)},iSn.gd=function(n){var t;return ten(this),t=JR(this.d,15).gd(n),--this.a.d,qF(this),t},iSn.hd=function(n,t){return ten(this),JR(this.d,15).hd(n,t)},iSn.kd=function(n,t){return ten(this),pW(this.a,this.e,JR(this.d,15).kd(n,t),this.b?this.b:this)},EH(SSn,"AbstractMapBasedMultimap/WrappedList",744),_wn(1126,744,{20:1,31:1,16:1,15:1,59:1},QN),EH(SSn,"AbstractMapBasedMultimap/RandomAccessWrappedList",1126),_wn(628,1,ISn,UR),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return BG(this),this.b.Ob()},iSn.Pb=function(){return BG(this),this.b.Pb()},iSn.Qb=function(){rN(this)},EH(SSn,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",628),_wn(745,628,KSn,AA,qG),iSn.Qb=function(){rN(this)},iSn.Rb=function(n){var t;t=0==YI(this.a),(BG(this),JR(this.b,128)).Rb(n),++this.a.a.d,t&&HD(this.a)},iSn.Sb=function(){return(BG(this),JR(this.b,128)).Sb()},iSn.Tb=function(){return(BG(this),JR(this.b,128)).Tb()},iSn.Ub=function(){return(BG(this),JR(this.b,128)).Ub()},iSn.Vb=function(){return(BG(this),JR(this.b,128)).Vb()},iSn.Wb=function(n){(BG(this),JR(this.b,128)).Wb(n)},EH(SSn,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",745),_wn(743,551,xSn,aD),iSn.Nc=function(){return ten(this),this.d.Nc()},EH(SSn,"AbstractMapBasedMultimap/WrappedSortedSet",743),_wn(1125,743,RSn,gA),EH(SSn,"AbstractMapBasedMultimap/WrappedNavigableSet",1125),_wn(1124,551,$Sn,oD),iSn.Nc=function(){return ten(this),this.d.Nc()},EH(SSn,"AbstractMapBasedMultimap/WrappedSet",1124),_wn(1133,1,{},o),iSn.Kb=function(n){return function(n){var t;return t=n.ld(),GR(JR(n.md(),16).Nc(),new zl(t))}(JR(n,44))},EH(SSn,"AbstractMapBasedMultimap/lambda$1$Type",1133),_wn(1132,1,{},zl),iSn.Kb=function(n){return new pj(this.a,n)},EH(SSn,"AbstractMapBasedMultimap/lambda$2$Type",1132);var gUn,pUn,mUn,vUn,kUn=nF(OSn,"Map/Entry");_wn(358,1,FSn),iSn.Fb=function(n){var t;return!!sL(n,44)&&(t=JR(n,44),fU(this.ld(),t.ld())&&fU(this.md(),t.md()))},iSn.Hb=function(){var n,t;return n=this.ld(),t=this.md(),(null==n?0:F4(n))^(null==t?0:F4(t))},iSn.nd=function(n){throw Lm(new ev)},iSn.Ib=function(){return this.ld()+"="+this.md()},EH(SSn,_Sn,358),_wn(2086,31,LSn),iSn.$b=function(){this.od().$b()},iSn.Hc=function(n){var t;return!!sL(n,44)&&(t=JR(n,44),function(n,t,e){var i;return!!(i=JR(n.Zb().xc(t),16))&&i.Hc(e)}(this.od(),t.ld(),t.md()))},iSn.Mc=function(n){var t;return!!sL(n,44)&&(t=JR(n,44),SV(this.od(),t.ld(),t.md()))},iSn.gc=function(){return this.od().d},EH(SSn,"Multimaps/Entries",2086),_wn(749,2086,LSn,Vl),iSn.Kc=function(){return this.a.kc()},iSn.od=function(){return this.a},iSn.Nc=function(){return this.a.lc()},EH(SSn,"AbstractMultimap/Entries",749),_wn(750,749,$Sn,xk),iSn.Nc=function(){return this.a.lc()},iSn.Fb=function(n){return Tfn(this,n)},iSn.Hb=function(){return V4(this)},EH(SSn,"AbstractMultimap/EntrySet",750),_wn(751,31,LSn,Wl),iSn.$b=function(){this.a.$b()},iSn.Hc=function(n){return function(n,t){var e;for(e=n.Zb().Cc().Kc();e.Ob();)if(JR(e.Pb(),16).Hc(t))return!0;return!1}(this.a,n)},iSn.Kc=function(){return this.a.nc()},iSn.gc=function(){return this.a.d},iSn.Nc=function(){return this.a.oc()},EH(SSn,"AbstractMultimap/Values",751),_wn(2087,31,{849:1,20:1,31:1,16:1}),iSn.Jc=function(n){PH(n),bG(this).Jc(new vb(n))},iSn.Nc=function(){var n;return Jsn(n=bG(this).Nc(),new d,64|1296&n.yd(),this.a.d)},iSn.Fc=function(n){return zy(),!0},iSn.Gc=function(n){return PH(this),PH(n),sL(n,552)?XV(JR(n,849)):!n.dc()&&n0(this,n.Kc())},iSn.Hc=function(n){var t;return((t=JR(wnn(VG(this.a),n),16))?t.gc():0)>0},iSn.Fb=function(n){return function(n,t){var e,i,r;if(t===n)return!0;if(sL(t,552)){if(r=JR(t,849),n.a.d!=r.a.d||bG(n).gc()!=bG(r).gc())return!1;for(i=bG(r).Kc();i.Ob();)if(Mz(n,(e=JR(i.Pb(),425)).a.ld())!=JR(e.a.md(),16).gc())return!1;return!0}return!1}(this,n)},iSn.Hb=function(){return F4(bG(this))},iSn.dc=function(){return bG(this).dc()},iSn.Mc=function(n){return vbn(this,n,1)>0},iSn.Ib=function(){return Qtn(bG(this))},EH(SSn,"AbstractMultiset",2087),_wn(2089,2068,$Sn),iSn.$b=function(){P3(this.a.a)},iSn.Hc=function(n){var t;return!(!sL(n,504)||(t=JR(n,425),JR(t.a.md(),16).gc()<=0||Mz(this.a,t.a.ld())!=JR(t.a.md(),16).gc()))},iSn.Mc=function(n){var t,e,i;return!(!sL(n,504)||(t=(e=JR(n,425)).a.ld(),0==(i=JR(e.a.md(),16).gc())))&&function(n,t,e){var i,r,c;return A3(e,"oldCount"),A3(0,"newCount"),((i=JR(wnn(VG(n.a),t),16))?i.gc():0)==e&&(A3(0,"count"),(c=-((r=JR(wnn(VG(n.a),t),16))?r.gc():0))>0?zy():c<0&&vbn(n,t,-c),!0)}(this.a,t,i)},EH(SSn,"Multisets/EntrySet",2089),_wn(1139,2089,$Sn,Ql),iSn.Kc=function(){return new Vk(T_(VG(this.a.a)).Kc())},iSn.gc=function(){return VG(this.a.a).gc()},EH(SSn,"AbstractMultiset/EntrySet",1139),_wn(627,742,CSn),iSn.hc=function(){return this.pd()},iSn.jc=function(){return this.qd()},iSn.cc=function(n){return this.rd(n)},iSn.fc=function(n){return this.sd(n)},iSn.Zb=function(){return this.f||(this.f=this.ac())},iSn.qd=function(){return eq(),eq(),UGn},iSn.Fb=function(n){return O9(this,n)},iSn.rd=function(n){return JR(RJ(this,n),21)},iSn.sd=function(n){return JR($7(this,n),21)},iSn.mc=function(n){return eq(),new iM(JR(n,21))},iSn.pc=function(n,t){return new oD(this,n,JR(t,21))},EH(SSn,"AbstractSetMultimap",627),_wn(1723,627,CSn),iSn.hc=function(){return new MT(this.b)},iSn.pd=function(){return new MT(this.b)},iSn.jc=function(){return gU(new MT(this.b))},iSn.qd=function(){return gU(new MT(this.b))},iSn.cc=function(n){return JR(JR(RJ(this,n),21),87)},iSn.rd=function(n){return JR(JR(RJ(this,n),21),87)},iSn.fc=function(n){return JR(JR($7(this,n),21),87)},iSn.sd=function(n){return JR(JR($7(this,n),21),87)},iSn.mc=function(n){return sL(n,277)?gU(JR(n,277)):(eq(),new SN(JR(n,87)))},iSn.Zb=function(){return this.f||(this.f=sL(this.c,139)?new sD(this,JR(this.c,139)):sL(this.c,133)?new uD(this,JR(this.c,133)):new uj(this,this.c))},iSn.pc=function(n,t){return sL(t,277)?new gA(this,n,JR(t,277)):new aD(this,n,JR(t,87))},EH(SSn,"AbstractSortedSetMultimap",1723),_wn(1724,1723,CSn),iSn.Zb=function(){return JR(JR(this.f||(this.f=sL(this.c,139)?new sD(this,JR(this.c,139)):sL(this.c,133)?new uD(this,JR(this.c,133)):new uj(this,this.c)),133),139)},iSn.ec=function(){return JR(JR(this.i||(this.i=sL(this.c,139)?new nj(this,JR(this.c,139)):sL(this.c,133)?new ZT(this,JR(this.c,133)):new VL(this,this.c)),87),277)},iSn.bc=function(){return sL(this.c,139)?new nj(this,JR(this.c,139)):sL(this.c,133)?new ZT(this,JR(this.c,133)):new VL(this,this.c)},EH(SSn,"AbstractSortedKeySortedSetMultimap",1724),_wn(2109,1,{2046:1}),iSn.Fb=function(n){return function(n,t){var e;return t===n||!!sL(t,678)&&(e=JR(t,2046),Win(n.g||(n.g=new Yl(n)),e.g||(e.g=new Yl(e))))}(this,n)},iSn.Hb=function(){return p8(this.g||(this.g=new Yl(this)))},iSn.Ib=function(){return Tsn(this.f||(this.f=new cN(this)))},EH(SSn,"AbstractTable",2109),_wn(679,NSn,$Sn,Yl),iSn.$b=function(){Vy()},iSn.Hc=function(n){var t,e;return!!sL(n,479)&&(t=JR(n,697),!!(e=JR(wnn(vH(this.a),JI(t.c.e,t.b)),85))&&bnn(e.vc(),new pj(JI(t.c.c,t.a),uY(t.c,t.b,t.a))))},iSn.Kc=function(){return new aN(n=this.a,n.e.Rd().gc()*n.c.Rd().gc());var n},iSn.Mc=function(n){var t,e;return!!sL(n,479)&&(t=JR(n,697),!!(e=JR(wnn(vH(this.a),JI(t.c.e,t.b)),85))&&function(n,t){PH(n);try{return n.Mc(t)}catch(n){if(sL(n=X5(n),212)||sL(n,169))return!1;throw Lm(n)}}(e.vc(),new pj(JI(t.c.c,t.a),uY(t.c,t.b,t.a))))},iSn.gc=function(){return rF(this.a)},iSn.Nc=function(){return cF((n=this.a).e.Rd().gc()*n.c.Rd().gc(),273,new Gl(n));var n},EH(SSn,"AbstractTable/CellSet",679),_wn(2025,31,LSn,Zl),iSn.$b=function(){Vy()},iSn.Hc=function(n){return function(n,t){var e,i,r,c,a,o,u;for(o=0,u=(a=n.a).length;o=0?"+":"")+(e/60|0),t=_O(i.Math.abs(e)%60),(whn(),VGn)[this.q.getDay()]+" "+WGn[this.q.getMonth()]+" "+_O(this.q.getDate())+" "+_O(this.q.getHours())+":"+_O(this.q.getMinutes())+":"+_O(this.q.getSeconds())+" GMT"+n+t+" "+this.q.getFullYear()};var _Un,BUn,HUn,UUn,GUn,qUn,XUn,zUn,VUn,WUn,QUn,JUn=EH(OSn,"Date",206);_wn(2015,206,rCn,oun),iSn.a=!1,iSn.b=0,iSn.c=0,iSn.d=0,iSn.e=0,iSn.f=0,iSn.g=!1,iSn.i=0,iSn.j=0,iSn.k=0,iSn.n=0,iSn.o=0,iSn.p=0,EH("com.google.gwt.i18n.shared.impl","DateRecord",2015),_wn(2064,1,{}),iSn.pe=function(){return null},iSn.qe=function(){return null},iSn.re=function(){return null},iSn.se=function(){return null},iSn.te=function(){return null},EH(cCn,"JSONValue",2064),_wn(221,2064,{221:1},Pb,Tb),iSn.Fb=function(n){return!!sL(n,221)&&Bz(this.a,JR(n,221).a)},iSn.oe=function(){return Om},iSn.Hb=function(){return mq(this.a)},iSn.pe=function(){return this},iSn.Ib=function(){var n,t,e;for(e=new kN("["),t=0,n=this.a.length;t0&&(e.a+=","),iO(e,i0(this,t));return e.a+="]",e.a},EH(cCn,"JSONArray",221),_wn(493,2064,{493:1},jb),iSn.oe=function(){return Am},iSn.qe=function(){return this},iSn.Ib=function(){return UN(),""+this.a},iSn.a=!1,EH(cCn,"JSONBoolean",493),_wn(997,63,yPn,Yk),EH(cCn,"JSONException",997),_wn(1036,2064,{},T),iSn.oe=function(){return Nm},iSn.Ib=function(){return jSn},EH(cCn,"JSONNull",1036),_wn(263,2064,{263:1},Eb),iSn.Fb=function(n){return!!sL(n,263)&&this.a==JR(n,263).a},iSn.oe=function(){return Cm},iSn.Hb=function(){return DO(this.a)},iSn.re=function(){return this},iSn.Ib=function(){return this.a+""},iSn.a=0,EH(cCn,"JSONNumber",263),_wn(190,2064,{190:1},Zk,Sb),iSn.Fb=function(n){return!!sL(n,190)&&Bz(this.a,JR(n,190).a)},iSn.oe=function(){return Im},iSn.Hb=function(){return mq(this.a)},iSn.se=function(){return this},iSn.Ib=function(){var n,t,e,i,r,c;for(c=new kN("{"),n=!0,i=0,r=(e=W4(this,tZ(CGn,HSn,2,0,6,1))).length;i=0?":"+this.c:"")+")"},iSn.c=0;var mGn=EH(dSn,"StackTraceElement",319);uSn={3:1,484:1,34:1,2:1};var vGn,kGn,yGn,MGn,TGn,jGn,EGn,SGn,PGn,CGn=EH(dSn,TPn,2);_wn(111,427,{484:1},Qy,Jy,vN),EH(dSn,"StringBuffer",111),_wn(104,427,{484:1},Yy,Zy,kN),EH(dSn,"StringBuilder",104),_wn(702,77,wCn,nM),EH(dSn,"StringIndexOutOfBoundsException",702),_wn(2145,1,{}),_wn(48,63,{3:1,103:1,63:1,82:1,48:1},ev,Ly),EH(dSn,"UnsupportedOperationException",48),_wn(247,242,{3:1,34:1,242:1,247:1},Fnn,IT),iSn.Fd=function(n){return nyn(this,JR(n,247))},iSn.ue=function(){return nfn(zMn(this))},iSn.Fb=function(n){var t;return this===n||!!sL(n,247)&&(t=JR(n,247),this.e==t.e&&0==nyn(this,t))},iSn.Hb=function(){var n;return 0!=this.b?this.b:this.a<54?(n=p5(this.f),this.b=y_(Hz(n,-1)),this.b=33*this.b+y_(Hz($_(n,32),-1)),this.b=17*this.b+lX(this.e),this.b):(this.b=17*R7(this.c)+lX(this.e),this.b)},iSn.Ib=function(){return zMn(this)},iSn.a=0,iSn.b=0,iSn.d=0,iSn.e=0,iSn.f=0;var IGn,OGn,AGn,LGn,NGn,$Gn,DGn=EH("java.math","BigDecimal",247);_wn(92,242,{3:1,34:1,242:1,92:1},sQ,Vz,_B,crn,kA),iSn.Fd=function(n){return Fin(this,JR(n,92))},iSn.ue=function(){return nfn(EEn(this,0))},iSn.Fb=function(n){return fen(this,n)},iSn.Hb=function(){return R7(this)},iSn.Ib=function(){return EEn(this,0)},iSn.b=-2,iSn.c=0,iSn.d=0,iSn.e=0;var xGn,RGn,KGn,FGn,_Gn=EH("java.math","BigInteger",92);_wn(498,2065,ASn),iSn.$b=function(){CB(this)},iSn._b=function(n){return MB(this,n)},iSn.uc=function(n){return H9(this,n,this.i)||H9(this,n,this.f)},iSn.vc=function(){return new ew(this)},iSn.xc=function(n){return RH(this,n)},iSn.zc=function(n,t){return DU(this,n,t)},iSn.Bc=function(n){return qJ(this,n)},iSn.gc=function(){return Fj(this)},iSn.g=0,EH(OSn,"AbstractHashMap",498),_wn(267,NSn,$Sn,ew),iSn.$b=function(){this.a.$b()},iSn.Hc=function(n){return VV(this,n)},iSn.Kc=function(){return new J6(this.a)},iSn.Mc=function(n){var t;return!!VV(this,n)&&(t=JR(n,44).ld(),this.a.Bc(t),!0)},iSn.gc=function(){return this.a.gc()},EH(OSn,"AbstractHashMap/EntrySet",267),_wn(268,1,ISn,J6),iSn.Nb=function(n){yB(this,n)},iSn.Pb=function(){return v4(this)},iSn.Ob=function(){return this.b},iSn.Qb=function(){P1(this)},iSn.b=!1,iSn.d=0,EH(OSn,"AbstractHashMap/EntrySetIterator",268),_wn(426,1,ISn,kw),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return YE(this)},iSn.Pb=function(){return HG(this)},iSn.Qb=function(){oU(this)},iSn.b=0,iSn.c=-1,EH(OSn,"AbstractList/IteratorImpl",426),_wn(98,426,KSn,NV),iSn.Qb=function(){oU(this)},iSn.Rb=function(n){BD(this,n)},iSn.Sb=function(){return this.b>0},iSn.Tb=function(){return this.b},iSn.Ub=function(){return J$(this.b>0),this.a.Xb(this.c=--this.b)},iSn.Vb=function(){return this.b-1},iSn.Wb=function(n){Y$(-1!=this.c),this.a.hd(this.c,n)},EH(OSn,"AbstractList/ListIteratorImpl",98),_wn(244,56,bPn,jz),iSn.bd=function(n,t){Dz(n,this.b),this.c.bd(this.a+n,t),++this.b},iSn.Xb=function(n){return xz(n,this.b),this.c.Xb(this.a+n)},iSn.gd=function(n){var t;return xz(n,this.b),t=this.c.gd(this.a+n),--this.b,t},iSn.hd=function(n,t){return xz(n,this.b),this.c.hd(this.a+n,t)},iSn.gc=function(){return this.b},iSn.a=0,iSn.b=0,EH(OSn,"AbstractList/SubList",244),_wn(266,NSn,$Sn,tw),iSn.$b=function(){this.a.$b()},iSn.Hc=function(n){return this.a._b(n)},iSn.Kc=function(){return new ow(this.a.vc().Kc())},iSn.Mc=function(n){return!!this.a._b(n)&&(this.a.Bc(n),!0)},iSn.gc=function(){return this.a.gc()},EH(OSn,"AbstractMap/1",266),_wn(541,1,ISn,ow),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return this.a.Ob()},iSn.Pb=function(){return JR(this.a.Pb(),44).ld()},iSn.Qb=function(){this.a.Qb()},EH(OSn,"AbstractMap/1/1",541),_wn(231,31,LSn,uw),iSn.$b=function(){this.a.$b()},iSn.Hc=function(n){return this.a.uc(n)},iSn.Kc=function(){return new sw(this.a.vc().Kc())},iSn.gc=function(){return this.a.gc()},EH(OSn,"AbstractMap/2",231),_wn(301,1,ISn,sw),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return this.a.Ob()},iSn.Pb=function(){return JR(this.a.Pb(),44).md()},iSn.Qb=function(){this.a.Qb()},EH(OSn,"AbstractMap/2/1",301),_wn(494,1,{494:1,44:1}),iSn.Fb=function(n){var t;return!!sL(n,44)&&(t=JR(n,44),qU(this.d,t.ld())&&qU(this.e,t.md()))},iSn.ld=function(){return this.d},iSn.md=function(){return this.e},iSn.Hb=function(){return IA(this.d)^IA(this.e)},iSn.nd=function(n){return FD(this,n)},iSn.Ib=function(){return this.d+"="+this.e},EH(OSn,"AbstractMap/AbstractEntry",494),_wn(397,494,{494:1,397:1,44:1},wS),EH(OSn,"AbstractMap/SimpleEntry",397),_wn(2082,1,ICn),iSn.Fb=function(n){var t;return!!sL(n,44)&&(t=JR(n,44),qU(this.ld(),t.ld())&&qU(this.md(),t.md()))},iSn.Hb=function(){return IA(this.ld())^IA(this.md())},iSn.Ib=function(){return this.ld()+"="+this.md()},EH(OSn,_Sn,2082),_wn(2090,2065,DSn),iSn.Xc=function(n){return uT(this.Ee(n))},iSn.tc=function(n){return vJ(this,n)},iSn._b=function(n){return _D(this,n)},iSn.vc=function(){return new lw(this)},iSn.Tc=function(){return IB(this.Ge())},iSn.Yc=function(n){return uT(this.He(n))},iSn.xc=function(n){var t;return t=n,HI(this.Fe(t))},iSn.$c=function(n){return uT(this.Ie(n))},iSn.ec=function(){return new hw(this)},iSn.Vc=function(){return IB(this.Je())},iSn._c=function(n){return uT(this.Ke(n))},EH(OSn,"AbstractNavigableMap",2090),_wn(629,NSn,$Sn,lw),iSn.Hc=function(n){return sL(n,44)&&vJ(this.b,JR(n,44))},iSn.Kc=function(){return this.b.De()},iSn.Mc=function(n){var t;return!!sL(n,44)&&(t=JR(n,44),this.b.Le(t))},iSn.gc=function(){return this.b.gc()},EH(OSn,"AbstractNavigableMap/EntrySet",629),_wn(1146,NSn,RSn,hw),iSn.Nc=function(){return new hS(this)},iSn.$b=function(){this.a.$b()},iSn.Hc=function(n){return _D(this.a,n)},iSn.Kc=function(){return new fw(this.a.vc().b.De())},iSn.Mc=function(n){return!!_D(this.a,n)&&(this.a.Bc(n),!0)},iSn.gc=function(){return this.a.gc()},EH(OSn,"AbstractNavigableMap/NavigableKeySet",1146),_wn(1147,1,ISn,fw),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return YE(this.a.a)},iSn.Pb=function(){return w$(this.a).ld()},iSn.Qb=function(){Zx(this.a)},EH(OSn,"AbstractNavigableMap/NavigableKeySet/1",1147),_wn(2103,31,LSn),iSn.Fc=function(n){return uK(ehn(this,n),OCn),!0},iSn.Gc=function(n){return TU(n),oK(n!=this,"Can't add a queue to itself"),z4(this,n)},iSn.$b=function(){for(;null!=c0(this););},EH(OSn,"AbstractQueue",2103),_wn(310,31,{4:1,20:1,31:1,16:1},GL,$V),iSn.Fc=function(n){return yW(this,n),!0},iSn.$b=function(){iQ(this)},iSn.Hc=function(n){return W5(new eG(this),n)},iSn.dc=function(){return By(this)},iSn.Kc=function(){return new eG(this)},iSn.Mc=function(n){return function(n,t){return!!W5(n,t)&&(S3(n),!0)}(new eG(this),n)},iSn.gc=function(){return this.c-this.b&this.a.length-1},iSn.Nc=function(){return new Kz(this,272)},iSn.Qc=function(n){var t;return t=this.c-this.b&this.a.length-1,n.lengtht&&FH(n,t,null),n},iSn.b=0,iSn.c=0,EH(OSn,"ArrayDeque",310),_wn(459,1,ISn,eG),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return this.a!=this.b},iSn.Pb=function(){return x7(this)},iSn.Qb=function(){S3(this)},iSn.a=0,iSn.b=0,iSn.c=-1,EH(OSn,"ArrayDeque/IteratorImpl",459),_wn(13,56,ACn,Mm,dY,Vx),iSn.bd=function(n,t){ZF(this,n,t)},iSn.Fc=function(n){return AL(this,n)},iSn.cd=function(n,t){return f7(this,n,t)},iSn.Gc=function(n){return J5(this,n)},iSn.$b=function(){hv(this.c,0)},iSn.Hc=function(n){return-1!=k1(this,n,0)},iSn.Jc=function(n){n2(this,n)},iSn.Xb=function(n){return bF(this,n)},iSn.dd=function(n){return k1(this,n,0)},iSn.dc=function(){return 0==this.c.length},iSn.Kc=function(){return new mw(this)},iSn.gd=function(n){return BJ(this,n)},iSn.Mc=function(n){return g1(this,n)},iSn.ce=function(n,t){Tz(this,n,t)},iSn.hd=function(n,t){return ZQ(this,n,t)},iSn.gc=function(){return this.c.length},iSn.jd=function(n){_A(this,n)},iSn.Pc=function(){return RK(this.c)},iSn.Qc=function(n){return Trn(this,n)};var BGn,HGn,UGn,GGn,qGn,XGn,zGn,VGn,WGn,QGn=EH(OSn,"ArrayList",13);_wn(7,1,ISn,mw),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return BA(this)},iSn.Pb=function(){return Xz(this)},iSn.Qb=function(){XB(this)},iSn.a=0,iSn.b=-1,EH(OSn,"ArrayList/1",7),_wn(2112,i.Function,{},P),iSn.Me=function(n,t){return wtn(n,t)},_wn(151,56,LCn,Ky),iSn.Hc=function(n){return-1!=I3(this,n)},iSn.Jc=function(n){var t,e,i,r;for(TU(n),i=0,r=(e=this.a).length;i0)throw Lm(new Cy(zCn+n+" greater than "+this.e));return this.f.Te()?cX(this.c,this.b,this.a,n,t):Iz(this.c,n,t)},iSn.zc=function(n,t){if(!hon(this.c,this.f,n,this.b,this.a,this.e,this.d))throw Lm(new Cy(n+" outside the range "+this.b+" to "+this.e));return q8(this.c,n,t)},iSn.Bc=function(n){var t;return t=n,hon(this.c,this.f,t,this.b,this.a,this.e,this.d)?uX(this.c,t):null},iSn.Le=function(n){return sU(this,n.ld())&&iZ(this.c,n)},iSn.gc=function(){var n,t,e;if(!((t=this.f.Te()?this.a?bin(this.c,this.b,!0):bin(this.c,this.b,!1):t1(this.c))&&sU(this,t.d)&&t))return 0;for(n=0,e=new a6(this.c,this.f,this.b,this.a,this.e,this.d);YE(e.a);e.b=JR(HG(e.a),44))++n;return n},iSn.ad=function(n,t){if(this.f.Te()&&this.c.a.Ne(n,this.b)<0)throw Lm(new Cy(zCn+n+VCn+this.b));return this.f.Ue()?cX(this.c,n,t,this.e,this.d):Oz(this.c,n,t)},iSn.a=!1,iSn.d=!1,EH(OSn,"TreeMap/SubMap",631),_wn(304,22,WCn,fS),iSn.Te=function(){return!1},iSn.Ue=function(){return!1};var gqn,pqn=r3(OSn,"TreeMap/SubMapType",304,jUn,(function(){return _Z(),a8(uM(pqn,1),lPn,304,0,[fqn,lqn,bqn,wqn])}),(function(n){return _Z(),i3((FZ(),gqn),n)}));_wn(1143,304,WCn,vA),iSn.Ue=function(){return!0},r3(OSn,"TreeMap/SubMapType/1",1143,pqn,null,null),_wn(1144,304,WCn,YA),iSn.Te=function(){return!0},iSn.Ue=function(){return!0},r3(OSn,"TreeMap/SubMapType/2",1144,pqn,null,null),_wn(1145,304,WCn,mA),iSn.Te=function(){return!0},r3(OSn,"TreeMap/SubMapType/3",1145,pqn,null,null),_wn(157,NSn,{3:1,20:1,31:1,16:1,277:1,21:1,87:1,157:1},pv,MT,Ow),iSn.Nc=function(){return new hS(this)},iSn.Fc=function(n){return $B(this,n)},iSn.$b=function(){this.a.$b()},iSn.Hc=function(n){return this.a._b(n)},iSn.Kc=function(){return this.a.ec().Kc()},iSn.Mc=function(n){return PL(this,n)},iSn.gc=function(){return this.a.gc()};var mqn=EH(OSn,"TreeSet",157);_wn(1082,1,{},Aw),iSn.Ve=function(n,t){return function(n,t,e){return n.Ne(t,e)<=0?e:t}(this.a,n,t)},EH(QCn,"BinaryOperator/lambda$0$Type",1082),_wn(1083,1,{},Lw),iSn.Ve=function(n,t){return function(n,t,e){return n.Ne(t,e)<=0?t:e}(this.a,n,t)},EH(QCn,"BinaryOperator/lambda$1$Type",1083),_wn(952,1,{},H),iSn.Kb=function(n){return n},EH(QCn,"Function/lambda$0$Type",952),_wn(395,1,gPn,Nw),iSn.Mb=function(n){return!this.a.Mb(n)},EH(QCn,"Predicate/lambda$2$Type",395),_wn(581,1,{581:1});var vqn,kqn,yqn=EH(JCn,"Handler",581);_wn(2107,1,gSn),iSn.xe=function(){return"DUMMY"},iSn.Ib=function(){return this.xe()},EH(JCn,"Level",2107),_wn(1706,2107,gSn,U),iSn.xe=function(){return"INFO"},EH(JCn,"Level/LevelInfo",1706),_wn(1843,1,{},gv),EH(JCn,"LogManager",1843),_wn(1896,1,gSn,Yx),iSn.b=null,EH(JCn,"LogRecord",1896),_wn(525,1,{525:1},iJ),iSn.e=!1;var Mqn,Tqn,jqn,Eqn=!1,Sqn=!1,Pqn=!1,Cqn=!1,Iqn=!1;EH(JCn,"Logger",525),_wn(835,581,{581:1},G),EH(JCn,"SimpleConsoleLogHandler",835),_wn(108,22,{3:1,34:1,22:1,108:1},lS);var Oqn,Aqn=r3(nIn,"Collector/Characteristics",108,jUn,(function(){return o7(),a8(uM(Aqn,1),lPn,108,0,[Mqn,Tqn,jqn])}),(function(n){return o7(),i3((qY(),Oqn),n)}));_wn(758,1,{},BB),EH(nIn,"CollectorImpl",758),_wn(1074,1,{},q),iSn.Ve=function(n,t){return function(n,t){var e;return t.a&&(e=t.a.a.length,n.a?rO(n.a,n.b):n.a=new kN(n.d),LV(n.a,t.a,t.d.length,e)),n}(JR(n,213),JR(t,213))},EH(nIn,"Collectors/10methodref$merge$Type",1074),_wn(1075,1,{},X),iSn.Kb=function(n){return RV(JR(n,213))},EH(nIn,"Collectors/11methodref$toString$Type",1075),_wn(1076,1,{},$w),iSn.Kb=function(n){return UN(),!!$O(n)},EH(nIn,"Collectors/12methodref$test$Type",1076),_wn(144,1,{},z),iSn.Yd=function(n,t){JR(n,16).Fc(t)},EH(nIn,"Collectors/20methodref$add$Type",144),_wn(146,1,{},V),iSn.Xe=function(){return new Mm},EH(nIn,"Collectors/21methodref$ctor$Type",146),_wn(359,1,{},W),iSn.Xe=function(){return new dv},EH(nIn,"Collectors/23methodref$ctor$Type",359),_wn(360,1,{},Q),iSn.Yd=function(n,t){NB(JR(n,49),t)},EH(nIn,"Collectors/24methodref$add$Type",360),_wn(1069,1,{},J),iSn.Ve=function(n,t){return tE(JR(n,15),JR(t,16))},EH(nIn,"Collectors/4methodref$addAll$Type",1069),_wn(1073,1,{},Y),iSn.Yd=function(n,t){GJ(JR(n,213),JR(t,484))},EH(nIn,"Collectors/9methodref$add$Type",1073),_wn(1072,1,{},nK),iSn.Xe=function(){return new j5(this.a,this.b,this.c)},EH(nIn,"Collectors/lambda$15$Type",1072),_wn(1077,1,{},Z),iSn.Xe=function(){var n;return Irn(n=new mQ,(UN(),!1),new Mm),Irn(n,!0,new Mm),n},EH(nIn,"Collectors/lambda$22$Type",1077),_wn(1078,1,{},Dw),iSn.Xe=function(){return a8(uM(sUn,1),kSn,1,5,[this.a])},EH(nIn,"Collectors/lambda$25$Type",1078),_wn(1079,1,{},xw),iSn.Yd=function(n,t){!function(n,t){FH(t,0,gF(t[0],Jin(1)))}(this.a,e3(n))},EH(nIn,"Collectors/lambda$26$Type",1079),_wn(1080,1,{},Rw),iSn.Ve=function(n,t){return function(n,t,e){return FH(t,0,gF(t[0],e[0])),t}(this.a,e3(n),e3(t))},EH(nIn,"Collectors/lambda$27$Type",1080),_wn(1081,1,{},nn),iSn.Kb=function(n){return e3(n)[0]},EH(nIn,"Collectors/lambda$28$Type",1081),_wn(728,1,{},tn),iSn.Ve=function(n,t){return gF(n,t)},EH(nIn,"Collectors/lambda$4$Type",728),_wn(145,1,{},en),iSn.Ve=function(n,t){return function(n,t){return n.Gc(t),n}(JR(n,16),JR(t,16))},EH(nIn,"Collectors/lambda$42$Type",145),_wn(361,1,{},rn),iSn.Ve=function(n,t){return function(n,t){return z4(n,t),n}(JR(n,49),JR(t,49))},EH(nIn,"Collectors/lambda$50$Type",361),_wn(362,1,{},cn),iSn.Kb=function(n){return JR(n,49)},EH(nIn,"Collectors/lambda$51$Type",362),_wn(1068,1,{},Kw),iSn.Yd=function(n,t){!function(n,t,e){var i,r;UN(),i=!!$O(e),(r=JR(t.xc(i),15))||(r=new Mm,t.zc(i,r)),r.Fc(e)}(this.a,JR(n,85),t)},EH(nIn,"Collectors/lambda$7$Type",1068),_wn(1070,1,{},an),iSn.Ve=function(n,t){return function(n,t,e){var i,r;for(r=t.vc().Kc();r.Ob();)i=JR(r.Pb(),44),n.yc(i.ld(),i.md(),e);return n}(JR(n,85),JR(t,85),new J)},EH(nIn,"Collectors/lambda$8$Type",1070),_wn(1071,1,{},Fw),iSn.Kb=function(n){return function(n,t){var e,i,r;for(r=new ym,i=t.vc().Kc();i.Ob();)DU(r,(e=JR(i.Pb(),44)).ld(),r5(n,JR(e.md(),15)));return r}(this.a,JR(n,85))},EH(nIn,"Collectors/lambda$9$Type",1071),_wn(550,1,{}),iSn.$e=function(){mU(this)},iSn.d=!1,EH(nIn,"TerminatableStream",550),_wn(827,550,tIn,rD),iSn.$e=function(){mU(this)},EH(nIn,"DoubleStreamImpl",827),_wn(1847,736,GSn,tK),iSn.Re=function(n){return function(n,t){var e;return n.a||(e=tZ(Zdt,jCn,28,0,15,1),DT(n.b.a,new _w(e)),Fm(e,b2(P.prototype.Me,P,[])),n.a=new Fx(e,n.d)),wY(n.a,t)}(this,JR(n,189))},iSn.a=null,EH(nIn,"DoubleStreamImpl/2",1847),_wn(1848,1,DCn,_w),iSn.Pe=function(n){!function(n,t){n[n.length]=t}(this.a,n)},EH(nIn,"DoubleStreamImpl/2/lambda$0$Type",1848),_wn(1845,1,DCn,Bw),iSn.Pe=function(n){!function(n,t){n[n.length]=t}(this.a,n)},EH(nIn,"DoubleStreamImpl/lambda$0$Type",1845),_wn(1846,1,DCn,Hw),iSn.Pe=function(n){Hen(this.a,n)},EH(nIn,"DoubleStreamImpl/lambda$2$Type",1846),_wn(1397,735,GSn,rJ),iSn.Re=function(n){return function(n,t){return n.a<=n.b&&(t.Dd(n.a++),!0)}(this,JR(n,202))},iSn.a=0,iSn.b=0,iSn.c=0,EH(nIn,"IntStream/5",1397),_wn(806,550,tIn,cD),iSn.$e=function(){mU(this)},iSn._e=function(){return pU(this),this.a},EH(nIn,"IntStreamImpl",806),_wn(807,550,tIn,Qj),iSn.$e=function(){mU(this)},iSn._e=function(){return pU(this),YL(),sqn},EH(nIn,"IntStreamImpl/Empty",807),_wn(1687,1,XSn,Uw),iSn.Dd=function(n){e5(this.a,n)},EH(nIn,"IntStreamImpl/lambda$4$Type",1687);var Lqn,Nqn=nF(nIn,"Stream");_wn(26,550,{533:1,687:1,848:1},PF),iSn.$e=function(){mU(this)},EH(nIn,"StreamImpl",26),_wn(1102,500,GSn,Dx),iSn.Bd=function(n){for(;IZ(this);){if(this.a.Bd(n))return!0;mU(this.b),this.b=null,this.a=null}return!1},EH(nIn,"StreamImpl/1",1102),_wn(1103,1,qSn,Gw),iSn.Cd=function(n){!function(n,t){t&&(n.b=t,n.a=(pU(t),t.a))}(this.a,JR(n,848))},EH(nIn,"StreamImpl/1/lambda$0$Type",1103),_wn(1104,1,gPn,qw),iSn.Mb=function(n){return NB(this.a,n)},EH(nIn,"StreamImpl/1methodref$add$Type",1104),_wn(1105,500,GSn,zG),iSn.Bd=function(n){var t;return this.a||(t=new Mm,this.b.a.Nb(new Xw(t)),eq(),_A(t,this.c),this.a=new Kz(t,16)),G0(this.a,n)},iSn.a=null,EH(nIn,"StreamImpl/5",1105),_wn(1106,1,qSn,Xw),iSn.Cd=function(n){AL(this.a,n)},EH(nIn,"StreamImpl/5/2methodref$add$Type",1106),_wn(737,500,GSn,r1),iSn.Bd=function(n){for(this.b=!1;!this.b&&this.c.Bd(new dS(this,n)););return this.b},iSn.b=!1,EH(nIn,"StreamImpl/FilterSpliterator",737),_wn(1096,1,qSn,dS),iSn.Cd=function(n){!function(n,t,e){n.a.Mb(e)&&(n.b=!0,t.Cd(e))}(this.a,this.b,n)},EH(nIn,"StreamImpl/FilterSpliterator/lambda$0$Type",1096),_wn(1091,736,GSn,XJ),iSn.Re=function(n){return function(n,t){return n.b.Bd(new gS(n,t))}(this,JR(n,189))},EH(nIn,"StreamImpl/MapToDoubleSpliterator",1091),_wn(1095,1,qSn,gS),iSn.Cd=function(n){!function(n,t,e){t.Pe(n.a.Ye(e))}(this.a,this.b,n)},EH(nIn,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1095),_wn(1090,735,GSn,zJ),iSn.Re=function(n){return function(n,t){return n.b.Bd(new pS(n,t))}(this,JR(n,202))},EH(nIn,"StreamImpl/MapToIntSpliterator",1090),_wn(1094,1,qSn,pS),iSn.Cd=function(n){!function(n,t,e){t.Dd(n.a.Ze(e))}(this.a,this.b,n)},EH(nIn,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1094),_wn(734,500,GSn,VJ),iSn.Bd=function(n){return Ix(this,n)},EH(nIn,"StreamImpl/MapToObjSpliterator",734),_wn(1093,1,qSn,mS),iSn.Cd=function(n){!function(n,t,e){t.Cd(n.a.Kb(e))}(this.a,this.b,n)},EH(nIn,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1093),_wn(1092,500,GSn,z3),iSn.Bd=function(n){for(;ZE(this.b,0);){if(!this.a.Bd(new on))return!1;this.b=Ntn(this.b,1)}return this.a.Bd(n)},iSn.b=0,EH(nIn,"StreamImpl/SkipSpliterator",1092),_wn(1097,1,qSn,on),iSn.Cd=function(n){},EH(nIn,"StreamImpl/SkipSpliterator/lambda$0$Type",1097),_wn(626,1,qSn,un),iSn.Cd=function(n){Cb(this,n)},EH(nIn,"StreamImpl/ValueConsumer",626),_wn(1098,1,qSn,sn),iSn.Cd=function(n){Jj()},EH(nIn,"StreamImpl/lambda$0$Type",1098),_wn(1099,1,qSn,hn),iSn.Cd=function(n){Jj()},EH(nIn,"StreamImpl/lambda$1$Type",1099),_wn(1100,1,{},zw),iSn.Ve=function(n,t){return function(n,t,e){return Jj(),n.a.Yd(t,e),t}(this.a,n,t)},EH(nIn,"StreamImpl/lambda$4$Type",1100),_wn(1101,1,qSn,kS),iSn.Cd=function(n){!function(n,t,e){Jj(),Cb(n,t.Ve(n.a,e))}(this.b,this.a,n)},EH(nIn,"StreamImpl/lambda$5$Type",1101),_wn(1107,1,qSn,Vw),iSn.Cd=function(n){!function(n,t){var e;try{t.de()}catch(t){if(!sL(t=X5(t),82))throw Lm(t);e=t,Km(n.c,e)}}(this.a,JR(n,380))},EH(nIn,"TerminatableStream/lambda$0$Type",1107),_wn(2142,1,{}),_wn(2014,1,{},fn),EH("javaemul.internal","ConsoleLogger",2014);var $qn=0;_wn(2134,1,{}),_wn(1830,1,qSn,ln),iSn.Cd=function(n){JR(n,317)},EH(oIn,"BowyerWatsonTriangulation/lambda$0$Type",1830),_wn(1831,1,qSn,Qw),iSn.Cd=function(n){z4(this.a,JR(n,317).e)},EH(oIn,"BowyerWatsonTriangulation/lambda$1$Type",1831),_wn(1832,1,qSn,bn),iSn.Cd=function(n){JR(n,177)},EH(oIn,"BowyerWatsonTriangulation/lambda$2$Type",1832),_wn(1827,1,uIn,Jw),iSn.Ne=function(n,t){return function(n,t,e){return R_(z$(HI(WF(n.f,t))),z$(HI(WF(n.f,e))))}(this.a,JR(n,177),JR(t,177))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(oIn,"NaiveMinST/lambda$0$Type",1827),_wn(449,1,{},Ww),EH(oIn,"NodeMicroLayout",449),_wn(177,1,{177:1},vS),iSn.Fb=function(n){var t;return!!sL(n,177)&&(t=JR(n,177),qU(this.a,t.a)&&qU(this.b,t.b)||qU(this.a,t.b)&&qU(this.b,t.a))},iSn.Hb=function(){return IA(this.a)+IA(this.b)};var Dqn=EH(oIn,"TEdge",177);_wn(317,1,{317:1},Eyn),iSn.Fb=function(n){var t;return!!sL(n,317)&&L1(this,(t=JR(n,317)).a)&&L1(this,t.b)&&L1(this,t.c)},iSn.Hb=function(){return IA(this.a)+IA(this.b)+IA(this.c)},EH(oIn,"TTriangle",317),_wn(225,1,{225:1},ZA),EH(oIn,"Tree",225),_wn(1218,1,{},zX),EH(sIn,"Scanline",1218);var xqn=nF(sIn,hIn);_wn(1758,1,{},N0),EH(fIn,"CGraph",1758),_wn(316,1,{316:1},QX),iSn.b=0,iSn.c=0,iSn.d=0,iSn.g=0,iSn.i=0,iSn.k=mCn,EH(fIn,"CGroup",316),_wn(830,1,{},jv),EH(fIn,"CGroup/CGroupBuilder",830),_wn(60,1,{60:1},JD),iSn.Ib=function(){return this.j?V$(this.j.Kb(this)):(W$(Bqn),Bqn.o+"@"+(FN(this)>>>0).toString(16))},iSn.f=0,iSn.i=mCn;var Rqn,Kqn,Fqn,_qn,Bqn=EH(fIn,"CNode",60);_wn(829,1,{},Ev),EH(fIn,"CNode/CNodeBuilder",829),_wn(1590,1,{},wn),iSn.ff=function(n,t){return 0},iSn.gf=function(n,t){return 0},EH(fIn,bIn,1590),_wn(1853,1,{},dn),iSn.cf=function(n){var t,e,r,c,a,o,u,s,h,f,l,b,w,d,g;for(h=pCn,r=new mw(n.a.b);r.ae.d.c||e.d.c==r.d.c&&e.d.b0?n+this.n.d+this.n.a:0},iSn.kf=function(){var n,t,e,r,c;if(c=0,this.e)this.b?c=this.b.a:this.a[1][1]&&(c=this.a[1][1].kf());else if(this.g)c=oen(this,Von(this,null,!0));else for(v2(),e=0,r=(t=a8(uM(TXn,1),lPn,237,0,[mXn,vXn,kXn])).length;e0?c+this.n.b+this.n.c:0},iSn.lf=function(){var n,t,e,i,r;if(this.g)for(n=Von(this,null,!1),v2(),i=0,r=(e=a8(uM(TXn,1),lPn,237,0,[mXn,vXn,kXn])).length;i0&&(r[0]+=this.d,e-=r[0]),r[2]>0&&(r[2]+=this.d,e-=r[2]),this.c.a=i.Math.max(0,e),this.c.d=t.d+n.d+(this.c.a-e)/2,r[1]=i.Math.max(r[1],e),xJ(this,vXn,t.d+n.d+r[0]-(r[1]-e)/2,r)},iSn.b=null,iSn.d=0,iSn.e=!1,iSn.f=!1,iSn.g=!1;var jXn,EXn,SXn,PXn=0,CXn=0;EH(KIn,"GridContainerCell",1538),_wn(471,22,{3:1,34:1,22:1,471:1},SS);var IXn,OXn=r3(KIn,"HorizontalLabelAlignment",471,jUn,(function(){return BZ(),a8(uM(OXn,1),lPn,471,0,[EXn,jXn,SXn])}),(function(n){return BZ(),i3((HY(),IXn),n)}));_wn(314,217,{217:1,314:1},pX,D0,qq),iSn.jf=function(){return FK(this)},iSn.kf=function(){return _K(this)},iSn.a=0,iSn.c=!1;var AXn,LXn,NXn,$Xn=EH(KIn,"LabelCell",314);_wn(252,336,{217:1,336:1,252:1},arn),iSn.jf=function(){return kbn(this)},iSn.kf=function(){return ybn(this)},iSn.lf=function(){fyn(this)},iSn.mf=function(){gyn(this)},iSn.b=0,iSn.c=0,iSn.d=!1,EH(KIn,"StripContainerCell",252),_wn(1691,1,gPn,Mn),iSn.Mb=function(n){return function(n){return!!n&&n.k}(JR(n,217))},EH(KIn,"StripContainerCell/lambda$0$Type",1691),_wn(1692,1,{},Tn),iSn.Ye=function(n){return JR(n,217).kf()},EH(KIn,"StripContainerCell/lambda$1$Type",1692),_wn(1693,1,gPn,jn),iSn.Mb=function(n){return function(n){return!!n&&n.j}(JR(n,217))},EH(KIn,"StripContainerCell/lambda$2$Type",1693),_wn(1694,1,{},En),iSn.Ye=function(n){return JR(n,217).jf()},EH(KIn,"StripContainerCell/lambda$3$Type",1694),_wn(472,22,{3:1,34:1,22:1,472:1},PS);var DXn,xXn,RXn,KXn,FXn,_Xn,BXn,HXn,UXn,GXn,qXn,XXn,zXn,VXn,WXn,QXn,JXn,YXn,ZXn,nzn,tzn,ezn,izn,rzn=r3(KIn,"VerticalLabelAlignment",472,jUn,(function(){return z1(),a8(uM(rzn,1),lPn,472,0,[NXn,LXn,AXn])}),(function(n){return z1(),i3((GY(),DXn),n)}));_wn(800,1,{},Pjn),iSn.c=0,iSn.d=0,iSn.k=0,iSn.s=0,iSn.t=0,iSn.v=!1,iSn.w=0,iSn.D=!1,iSn.F=!1,EH(XIn,"NodeContext",800),_wn(1536,1,uIn,Sn),iSn.Ne=function(n,t){return HO(JR(n,64),JR(t,64))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(XIn,"NodeContext/0methodref$comparePortSides$Type",1536),_wn(1537,1,uIn,Pn),iSn.Ne=function(n,t){return function(n,t){var e;if(0!=(e=HO(n.b.ag(),t.b.ag())))return e;switch(n.b.ag().g){case 1:case 2:return GA(n.b.Nf(),t.b.Nf());case 3:case 4:return GA(t.b.Nf(),n.b.Nf())}return 0}(JR(n,117),JR(t,117))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(XIn,"NodeContext/1methodref$comparePortContexts$Type",1537),_wn(164,22,{3:1,34:1,22:1,164:1},u6);var czn,azn,ozn,uzn,szn,hzn,fzn,lzn=r3(XIn,"NodeLabelLocation",164,jUn,Orn,(function(n){return QEn(),i3((mO(),czn),n)}));_wn(117,1,{117:1},awn),iSn.a=!1,EH(XIn,"PortContext",117),_wn(1541,1,qSn,Cn),iSn.Cd=function(n){xT(JR(n,314))},EH(WIn,QIn,1541),_wn(1542,1,gPn,In),iSn.Mb=function(n){return!!JR(n,117).c},EH(WIn,JIn,1542),_wn(1543,1,qSn,On),iSn.Cd=function(n){xT(JR(n,117).c)},EH(WIn,"LabelPlacer/lambda$2$Type",1543),_wn(1540,1,qSn,An),iSn.Cd=function(n){vD(),function(n){n.b.Of(n.e)}(JR(n,117))},EH(WIn,"NodeLabelAndSizeUtilities/lambda$0$Type",1540),_wn(801,1,qSn,lR),iSn.Cd=function(n){AE(this.b,this.c,this.a,JR(n,187))},iSn.a=!1,iSn.c=!1,EH(WIn,"NodeLabelCellCreator/lambda$0$Type",801),_wn(1539,1,qSn,td),iSn.Cd=function(n){!function(n,t){Efn(n.c,t)}(this.a,JR(n,187))},EH(WIn,"PortContextCreator/lambda$0$Type",1539),_wn(1902,1,{},Ln),EH(ZIn,"GreedyRectangleStripOverlapRemover",1902),_wn(1903,1,uIn,Nn),iSn.Ne=function(n,t){return function(n,t){return wtn(n.c.d,t.c.d)}(JR(n,226),JR(t,226))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(ZIn,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1903),_wn(1849,1,{},Ov),iSn.a=5,iSn.e=0,EH(ZIn,"RectangleStripOverlapRemover",1849),_wn(1850,1,uIn,$n),iSn.Ne=function(n,t){return function(n,t){return wtn(n.c.c,t.c.c)}(JR(n,226),JR(t,226))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(ZIn,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1850),_wn(1852,1,uIn,Dn),iSn.Ne=function(n,t){return function(n,t){return wtn(n.c.c+n.c.b,t.c.c+t.c.b)}(JR(n,226),JR(t,226))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(ZIn,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1852),_wn(417,22,{3:1,34:1,22:1,417:1},CS);var bzn,wzn,dzn,gzn,pzn,mzn=r3(ZIn,"RectangleStripOverlapRemover/OverlapRemovalDirection",417,jUn,(function(){return C5(),a8(uM(mzn,1),lPn,417,0,[fzn,uzn,szn,hzn])}),(function(n){return C5(),i3((UZ(),bzn),n)}));_wn(226,1,{226:1},o_),EH(ZIn,"RectangleStripOverlapRemover/RectangleNode",226),_wn(1851,1,qSn,ed),iSn.Cd=function(n){!function(n,t){var e,i;switch(i=t.c,e=t.a,n.b.g){case 0:e.d=n.e-i.a-i.d;break;case 1:e.d+=n.e;break;case 2:e.c=n.e-i.a-i.d;break;case 3:e.c=n.e+i.d}}(this.a,JR(n,226))},EH(ZIn,"RectangleStripOverlapRemover/lambda$1$Type",1851),_wn(1323,1,uIn,xn),iSn.Ne=function(n,t){return function(n,t){var e,i,r,c;return e=new Rn,1==(r=2==(r=(i=JR(MQ(uG(new PF(null,new Kz(n.f,16)),e),w1(new W,new Q,new rn,new cn,a8(uM(Aqn,1),lPn,108,0,[(o7(),jqn),Tqn]))),21)).gc())?1:0)&&zI(ein(JR(MQ(oG(i.Lc(),new Kn),F6(Jin(0),new tn)),168).a,2),0)&&(r=0),1==(c=2==(c=(i=JR(MQ(uG(new PF(null,new Kz(t.f,16)),e),w1(new W,new Q,new rn,new cn,a8(uM(Aqn,1),lPn,108,0,[jqn,Tqn]))),21)).gc())?1:0)&&zI(ein(JR(MQ(oG(i.Lc(),new Fn),F6(Jin(0),new tn)),168).a,2),0)&&(c=0),r0?xB(n.a,t,e):xB(n.b,t,e)}(this,JR(n,42),JR(t,176))},EH(tOn,"SuccessorCombination",782),_wn(649,1,{},zn),iSn.Ve=function(n,t){var e;return function(n){var t,e,r,c,a;return e=c=JR(n.a,17).a,r=a=JR(n.b,17).a,t=i.Math.max(i.Math.abs(c),i.Math.abs(a)),c<=0&&c==a?(e=0,r=a-1):c==-t&&a!=t?(e=a,r=c,a>=0&&++e):(e=-a,r=c),new uI(ann(e),ann(r))}((e=JR(n,42),JR(t,176),e))},EH(tOn,"SuccessorJitter",649),_wn(648,1,{},Vn),iSn.Ve=function(n,t){var e;return function(n){var t,e;if(t=JR(n.a,17).a,e=JR(n.b,17).a,t>=0){if(t==e)return new uI(ann(-t-1),ann(-t-1));if(t==-e)return new uI(ann(-t),ann(e+1))}return i.Math.abs(t)>i.Math.abs(e)?new uI(ann(-t),ann(t<0?e:e+1)):new uI(ann(t+1),ann(e))}((e=JR(n,42),JR(t,176),e))},EH(tOn,"SuccessorLineByLine",648),_wn(573,1,{},Wn),iSn.Ve=function(n,t){var e;return function(n){var t,e,i,r;return t=i=JR(n.a,17).a,e=r=JR(n.b,17).a,0==i&&0==r?e-=1:-1==i&&r<=0?(t=0,e-=2):i<=0&&r>0?(t-=1,e-=1):i>=0&&r<0?(t+=1,e+=1):i>0&&r>=0?(t-=1,e+=1):(t+=1,e-=1),new uI(ann(t),ann(e))}((e=JR(n,42),JR(t,176),e))},EH(tOn,"SuccessorManhattan",573),_wn(1344,1,{},Qn),iSn.Ve=function(n,t){var e;return function(n){var t,e,r;return e=JR(n.a,17).a,r=JR(n.b,17).a,e<(t=i.Math.max(i.Math.abs(e),i.Math.abs(r)))&&r==-t?new uI(ann(e+1),ann(r)):e==t&&r=-t&&r==t?new uI(ann(e-1),ann(r)):new uI(ann(e),ann(r-1))}((e=JR(n,42),JR(t,176),e))},EH(tOn,"SuccessorMaxNormWindingInMathPosSense",1344),_wn(409,1,{},id),iSn.Ve=function(n,t){return xB(this,n,t)},iSn.c=!1,iSn.d=!1,iSn.e=!1,iSn.f=!1,EH(tOn,"SuccessorQuadrantsGeneric",409),_wn(1345,1,{},Jn),iSn.Kb=function(n){return JR(n,334).a},EH(tOn,"SuccessorQuadrantsGeneric/lambda$0$Type",1345),_wn(332,22,{3:1,34:1,22:1,332:1},OS),iSn.a=!1;var vzn,kzn=r3(aOn,oOn,332,jUn,(function(){return rcn(),a8(uM(kzn,1),lPn,332,0,[dzn,wzn,gzn,pzn])}),(function(n){return rcn(),i3((qZ(),vzn),n)}));_wn(1317,1,{}),iSn.Ib=function(){var n,t,e,i,r,c;for(e=" ",n=ann(0),r=0;r0&&_2(p,k*M),y>0&&B2(p,y*T);for(R6(n.b,new ft),t=new Mm,o=new J6(new ew(n.c).a);o.b;)i=JR((a=v4(o)).ld(),74),e=JR(a.md(),407).a,r=Hpn(i,!1,!1),vyn(f=Lsn(Mhn(i),Mfn(r),e),r),(v=Thn(i))&&-1==k1(t,v,0)&&(Km(t.c,v),fG(v,(J$(0!=f.b),JR(f.a.a.c,8)),e));for(g=new J6(new ew(n.d).a);g.b;)i=JR((d=v4(g)).ld(),74),e=JR(d.md(),407).a,r=Hpn(i,!1,!1),f=Lsn(Ehn(i),b9(Mfn(r)),e),vyn(f=b9(f),r),(v=jhn(i))&&-1==k1(t,v,0)&&(Km(t.c,v),fG(v,(J$(0!=f.b),JR(f.c.b.c,8)),e))}(r),ocn(n,Uzn,this.b),t.Vg()},iSn.a=0,EH(kOn,"DisCoLayoutProvider",1114),_wn(1208,1,{},rt),iSn.c=!1,iSn.e=0,iSn.f=0,EH(kOn,"DisCoPolyominoCompactor",1208),_wn(567,1,{567:1},SF),iSn.b=!0,EH(yOn,"DCComponent",567),_wn(406,22,{3:1,34:1,22:1,406:1},LS),iSn.a=!1;var Azn,Lzn,Nzn=r3(yOn,"DCDirection",406,jUn,(function(){return icn(),a8(uM(Nzn,1),lPn,406,0,[Pzn,Szn,Czn,Izn])}),(function(n){return icn(),i3((GZ(),Azn),n)}));_wn(272,137,{3:1,272:1,96:1,137:1},zwn),EH(yOn,"DCElement",272),_wn(407,1,{407:1},Man),iSn.c=0,EH(yOn,"DCExtension",407),_wn(762,137,wOn,_M),EH(yOn,"DCGraph",762),_wn(489,22,{3:1,34:1,22:1,489:1},C$);var $zn,Dzn,xzn,Rzn,Kzn,Fzn,_zn,Bzn,Hzn,Uzn,Gzn,qzn,Xzn,zzn,Vzn,Wzn,Qzn,Jzn,Yzn,Zzn,nVn,tVn=r3(MOn,TOn,489,jUn,(function(){return lE(),a8(uM(tVn,1),lPn,489,0,[Lzn])}),(function(n){return lE(),i3((tW(),$zn),n)}));_wn(865,1,NIn,_f),iSn.hf=function(n){qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,jOn),COn),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),Rzn),(Qfn(),fat)),tVn),ptn((Nrn(),cat))))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,EOn),COn),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),dat),CGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,SOn),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),wat),sUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,POn),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),wat),sUn),ptn(cat)))),iMn((new Bf,n))},EH(MOn,"DisCoMetaDataProvider",865),_wn(1010,1,NIn,Bf),iSn.hf=function(n){iMn(n)},EH(MOn,"DisCoOptions",1010),_wn(1011,1,{},ct),iSn.sf=function(){return new it},iSn.tf=function(n){},EH(MOn,"DisCoOptions/DiscoFactory",1011),_wn(568,176,{330:1,176:1,568:1},Bdn),iSn.a=0,iSn.b=0,iSn.c=0,iSn.d=0,EH("org.eclipse.elk.alg.disco.structures","DCPolyomino",568),_wn(1286,1,gPn,at),iSn.Mb=function(n){return $O(n)},EH($On,"ElkGraphComponentsProcessor/lambda$0$Type",1286),_wn(1287,1,{},ot),iSn.Kb=function(n){return rq(),Mhn(JR(n,74))},EH($On,"ElkGraphComponentsProcessor/lambda$1$Type",1287),_wn(1288,1,gPn,ut),iSn.Mb=function(n){return function(n){return rq(),Mhn(n)==_X(Ehn(n))}(JR(n,74))},EH($On,"ElkGraphComponentsProcessor/lambda$2$Type",1288),_wn(1289,1,{},st),iSn.Kb=function(n){return rq(),Ehn(JR(n,74))},EH($On,"ElkGraphComponentsProcessor/lambda$3$Type",1289),_wn(1290,1,gPn,ht),iSn.Mb=function(n){return function(n){return rq(),Ehn(n)==_X(Mhn(n))}(JR(n,74))},EH($On,"ElkGraphComponentsProcessor/lambda$4$Type",1290),_wn(1291,1,gPn,cd),iSn.Mb=function(n){return function(n,t){return rq(),n==_X(Mhn(t))||n==_X(Ehn(t))}(this.a,JR(n,74))},EH($On,"ElkGraphComponentsProcessor/lambda$5$Type",1291),_wn(1292,1,{},ad),iSn.Kb=function(n){return function(n,t){return rq(),n==Mhn(t)?Ehn(t):Mhn(t)}(this.a,JR(n,74))},EH($On,"ElkGraphComponentsProcessor/lambda$6$Type",1292),_wn(1205,1,{},zW),iSn.a=0,EH($On,"ElkGraphTransformer",1205),_wn(1206,1,{},ft),iSn.Yd=function(n,t){!function(n,t,e){var i,r,c,a;n.a=e.b.d,sL(t,326)?(QQ(c=Mfn(r=Hpn(JR(t,74),!1,!1)),i=new od(n)),vyn(c,r),null!=t.of((XEn(),Pot))&&QQ(JR(t.of(Pot),75),i)):((a=JR(t,422)).rh(a.nh()+n.a.a),a.sh(a.oh()+n.a.b))}(this,JR(n,167),JR(t,272))},EH($On,"ElkGraphTransformer/OffsetApplier",1206),_wn(1207,1,qSn,od),iSn.Cd=function(n){!function(n,t){y$(t,n.a.a.a,n.a.a.b)}(this,JR(n,8))},EH($On,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1207),_wn(760,1,{},lt),EH(FOn,_On,760),_wn(1195,1,uIn,bt),iSn.Ne=function(n,t){return function(n,t){var e,i,r;return 0==(e=JR(ghn(t,(Okn(),CVn)),17).a-JR(ghn(n,CVn),17).a)?(i=fx(cL(JR(ghn(n,(m4(),BVn)),8)),JR(ghn(n,HVn),8)),r=fx(cL(JR(ghn(t,BVn),8)),JR(ghn(t,HVn),8)),wtn(i.a*i.b,r.a*r.b)):e}(JR(n,235),JR(t,235))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(FOn,BOn,1195),_wn(1196,1,qSn,NS),iSn.Cd=function(n){!function(n,t,e){var i;hx(i=new JO(e.d),n),jtn(t,i.a,i.b)}(this.b,this.a,JR(n,250))},EH(FOn,HOn,1196),_wn(738,205,pOn,Tv),iSn.rf=function(n,t){Vdn(this,n,t)},EH(FOn,"ForceLayoutProvider",738),_wn(309,137,{3:1,309:1,96:1,137:1}),EH(UOn,"FParticle",309),_wn(250,309,{3:1,250:1,309:1,96:1,137:1},bH),iSn.Ib=function(){var n;return this.a?(n=k1(this.a.a,this,0))>=0?"b"+n+"["+WQ(this.a)+"]":"b["+WQ(this.a)+"]":"b_"+FN(this)},EH(UOn,"FBendpoint",250),_wn(290,137,{3:1,290:1,96:1,137:1},YD),iSn.Ib=function(){return WQ(this)},EH(UOn,"FEdge",290),_wn(235,137,{3:1,235:1,96:1,137:1},YJ);var eVn,iVn,rVn,cVn,aVn,oVn,uVn,sVn,hVn,fVn,lVn=EH(UOn,"FGraph",235);_wn(454,309,{3:1,454:1,309:1,96:1,137:1},XW),iSn.Ib=function(){return null==this.b||0==this.b.length?"l["+WQ(this.a)+"]":"l_"+this.b},EH(UOn,"FLabel",454),_wn(153,309,{3:1,153:1,309:1,96:1,137:1},QA),iSn.Ib=function(){return nV(this)},iSn.a=0,EH(UOn,"FNode",153),_wn(2100,1,{}),iSn.vf=function(n){Bkn(this,n)},iSn.wf=function(){Ran(this)},iSn.d=0,EH(qOn,"AbstractForceModel",2100),_wn(641,2100,{641:1},Q6),iSn.uf=function(n,t){var e,r,c,a;return cTn(this.f,n,t),c=fx(cL(t.d),n.d),a=i.Math.sqrt(c.a*c.a+c.b*c.b),r=i.Math.max(0,a-uU(n.e)/2-uU(t.e)/2),OL(c,((e=Bbn(this.e,n,t))>0?-function(n,t){return n>0?i.Math.log(n/t):-100}(r,this.c)*e:function(n,t){return n>0?t/(n*n):100*t}(r,this.b)*JR(ghn(n,(Okn(),CVn)),17).a)/a),c},iSn.vf=function(n){Bkn(this,n),this.a=JR(ghn(n,(Okn(),pVn)),17).a,this.c=my(z$(ghn(n,$Vn))),this.b=my(z$(ghn(n,OVn)))},iSn.xf=function(n){return n0?t*t/n:t*t*100}(r=i.Math.max(0,o-uU(n.e)/2-uU(t.e)/2),this.a)*JR(ghn(n,(Okn(),CVn)),17).a,(e=Bbn(this.e,n,t))>0&&(a-=function(n,t){return n*n/t}(r,this.a)*e),OL(c,a*this.b/o),c},iSn.vf=function(n){var t,e,r,c,a,o,u;for(Bkn(this,n),this.b=my(z$(ghn(n,(Okn(),DVn)))),this.c=this.b/JR(ghn(n,pVn),17).a,r=n.e.c.length,a=0,c=0,u=new mw(n.e);u.a0},iSn.a=0,iSn.b=0,iSn.c=0,EH(qOn,"FruchtermanReingoldModel",642),_wn(860,1,NIn,Hf),iSn.hf=function(n){qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,XOn),""),"Force Model"),"Determines the model for force calculation."),rVn),(Qfn(),fat)),lWn),ptn((Nrn(),cat))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,zOn),""),"Iterations"),"The number of iterations on the force model."),ann(300)),bat),sGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,VOn),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),ann(0)),bat),sGn),ptn(eat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,WOn),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),QOn),hat),cGn),ptn(cat)))),BV(n,WOn,XOn,sVn),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,JOn),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),hat),cGn),ptn(cat)))),BV(n,JOn,XOn,aVn),Qjn((new Uf,n))},EH(YOn,"ForceMetaDataProvider",860),_wn(432,22,{3:1,34:1,22:1,432:1},$S);var bVn,wVn,dVn,gVn,pVn,mVn,vVn,kVn,yVn,MVn,TVn,jVn,EVn,SVn,PVn,CVn,IVn,OVn,AVn,LVn,NVn,$Vn,DVn,xVn,RVn,KVn,FVn,_Vn,BVn,HVn,UVn,GVn,qVn,XVn,zVn,VVn,WVn,QVn,JVn,YVn,ZVn,nWn,tWn,eWn,iWn,rWn,cWn,aWn,oWn,uWn,sWn,hWn,fWn,lWn=r3(YOn,"ForceModelStrategy",432,jUn,(function(){return O0(),a8(uM(lWn,1),lPn,432,0,[hVn,fVn])}),(function(n){return O0(),i3((IQ(),bVn),n)}));_wn(IPn,1,NIn,Uf),iSn.hf=function(n){Qjn(n)},EH(YOn,"ForceOptions",IPn),_wn(1001,1,{},mt),iSn.sf=function(){return new Tv},iSn.tf=function(n){},EH(YOn,"ForceOptions/ForceFactory",1001),_wn(861,1,NIn,Gf),iSn.hf=function(n){qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,jAn),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(UN(),!1)),(Qfn(),sat)),ZUn),ptn((Nrn(),rat))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,EAn),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),hat),cGn),i_(cat,a8(uM(pat,1),lPn,170,0,[eat]))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,SAn),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),zVn),fat),MWn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,PAn),""),"Stress Epsilon"),"Termination criterion for the iterative process."),QOn),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,CAn),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),ann(wSn)),bat),sGn),ptn(cat)))),qTn((new qf,n))},EH(YOn,"StressMetaDataProvider",861),_wn(1004,1,NIn,qf),iSn.hf=function(n){qTn(n)},EH(YOn,"StressOptions",1004),_wn(1005,1,{},gt),iSn.sf=function(){return new ZD},iSn.tf=function(n){},EH(YOn,"StressOptions/StressFactory",1005),_wn(1110,205,pOn,ZD),iSn.rf=function(n,t){var e,i,r,c;for(t.Ug(OAn,1),py(X$(fdn(n,(Ion(),tWn))))?py(X$(fdn(n,oWn)))||fX(new Ww((_E(),new oy(n)))):Vdn(new Tv,n,t.eh(1)),i=L8(n),c=(e=wyn(this.a,i)).Kc();c.Ob();)(r=JR(c.Pb(),235)).e.c.length<=1||(BMn(this.b,r),wdn(this.b),n2(r.d,new pt));bEn(i=Xjn(e)),t.Vg()},EH(LAn,"StressLayoutProvider",1110),_wn(1111,1,qSn,pt),iSn.Cd=function(n){tMn(JR(n,454))},EH(LAn,"StressLayoutProvider/lambda$0$Type",1111),_wn(1002,1,{},sv),iSn.c=0,iSn.e=0,iSn.g=0,EH(LAn,"StressMajorization",1002),_wn(391,22,{3:1,34:1,22:1,391:1},DS);var bWn,wWn,dWn,gWn,pWn,mWn,vWn,kWn,yWn,MWn=r3(LAn,"StressMajorization/Dimension",391,jUn,(function(){return X1(),a8(uM(MWn,1),lPn,391,0,[hWn,sWn,fWn])}),(function(n){return X1(),i3((XY(),bWn),n)}));_wn(1003,1,uIn,ud),iSn.Ne=function(n,t){return function(n,t,e){return wtn(n[t.a],n[e.a])}(this.a,JR(n,153),JR(t,153))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(LAn,"StressMajorization/lambda$0$Type",1003),_wn(1192,1,{},oV),EH($An,"ElkLayered",1192),_wn(1193,1,qSn,sd),iSn.Cd=function(n){!function(n,t){var e;if((e=JR(ghn(t,(LEn(),L4n)),322))!=n)throw Lm(new $y("The hierarchy aware processor "+e+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}(this.a,JR(n,36))},EH($An,"ElkLayered/lambda$0$Type",1193),_wn(1194,1,qSn,hd),iSn.Cd=function(n){!function(n,t){A8(t,(LEn(),j4n),n)}(this.a,JR(n,36))},EH($An,"ElkLayered/lambda$1$Type",1194),_wn(1281,1,{},pL),EH($An,"GraphConfigurator",1281),_wn(770,1,qSn,fd),iSn.Cd=function(n){Jhn(this.a,JR(n,10))},EH($An,"GraphConfigurator/lambda$0$Type",770),_wn(771,1,{},dt),iSn.Kb=function(n){return uun(),new PF(null,new Kz(JR(n,30).a,16))},EH($An,"GraphConfigurator/lambda$1$Type",771),_wn(772,1,qSn,ld),iSn.Cd=function(n){Jhn(this.a,JR(n,10))},EH($An,"GraphConfigurator/lambda$2$Type",772),_wn(1109,205,pOn,Av),iSn.rf=function(n,t){var e;e=mMn(new Nv,n),UI(fdn(n,(LEn(),Y4n)))===UI((nnn(),jst))?Ttn(this.a,e,t):odn(this.a,e,t),t.$g()||Ajn(new Xf,e)},EH($An,"LayeredLayoutProvider",1109),_wn(367,22,{3:1,34:1,22:1,367:1},xS);var TWn,jWn,EWn,SWn=r3($An,"LayeredPhases",367,jUn,(function(){return phn(),a8(uM(SWn,1),lPn,367,0,[pWn,mWn,vWn,kWn,yWn])}),(function(n){return phn(),i3((p0(),TWn),n)}));_wn(1717,1,{},H3),iSn.i=0,EH(DAn,"ComponentsToCGraphTransformer",1717),_wn(1718,1,{},wt),iSn.yf=function(n,t){return i.Math.min(null!=n.a?my(n.a):n.c.i,null!=t.a?my(t.a):t.c.i)},iSn.zf=function(n,t){return i.Math.min(null!=n.a?my(n.a):n.c.i,null!=t.a?my(t.a):t.c.i)},EH(DAn,"ComponentsToCGraphTransformer/1",1718),_wn(86,1,{86:1}),iSn.i=0,iSn.k=!0,iSn.o=mCn;var PWn,CWn,IWn,OWn=EH(xAn,"CNode",86);_wn(470,86,{470:1,86:1},WN,irn),iSn.Ib=function(){return""},EH(DAn,"ComponentsToCGraphTransformer/CRectNode",470),_wn(1688,1,{},vt),EH(DAn,"OneDimensionalComponentsCompaction",1688),_wn(1689,1,{},kt),iSn.Kb=function(n){return function(n){return u7(),UN(),0!=JR(n.a,86).d.e}(JR(n,42))},iSn.Fb=function(n){return this===n},EH(DAn,"OneDimensionalComponentsCompaction/lambda$0$Type",1689),_wn(1690,1,{},yt),iSn.Kb=function(n){return function(n){return u7(),UN(),!!(Jtn(JR(n.a,86).j,JR(n.b,88))||0!=JR(n.a,86).d.e&&Jtn(JR(n.a,86).j,JR(n.b,88)))}(JR(n,42))},iSn.Fb=function(n){return this===n},EH(DAn,"OneDimensionalComponentsCompaction/lambda$1$Type",1690),_wn(1720,1,{},qH),EH(xAn,"CGraph",1720),_wn(194,1,{194:1},rrn),iSn.b=0,iSn.c=0,iSn.e=0,iSn.g=!0,iSn.i=mCn,EH(xAn,"CGroup",194),_wn(1719,1,{},Mt),iSn.yf=function(n,t){return i.Math.max(null!=n.a?my(n.a):n.c.i,null!=t.a?my(t.a):t.c.i)},iSn.zf=function(n,t){return i.Math.max(null!=n.a?my(n.a):n.c.i,null!=t.a?my(t.a):t.c.i)},EH(xAn,bIn,1719),_wn(1721,1,{},zbn),iSn.d=!1;var AWn=EH(xAn,mIn,1721);_wn(1722,1,{},Tt),iSn.Kb=function(n){return dE(),UN(),0!=JR(JR(n,42).a,86).d.e},iSn.Fb=function(n){return this===n},EH(xAn,vIn,1722),_wn(833,1,{},yF),iSn.a=!1,iSn.b=!1,iSn.c=!1,iSn.d=!1,EH(xAn,kIn,833),_wn(1898,1,{},u_),EH(RAn,yIn,1898);var LWn=nF(KAn,hIn);_wn(1899,1,{382:1},Sq),iSn.bf=function(n){!function(n,t){var e,i,r;t.a?($B(n.b,t.b),n.a[t.b.i]=JR(nE(n.b,t.b),86),(e=JR(Zj(n.b,t.b),86))&&(n.a[e.i]=t.b)):(!!(i=JR(nE(n.b,t.b),86))&&i==n.a[t.b.i]&&!!i.d&&i.d!=t.b.d&&i.f.Fc(t.b),!!(r=JR(Zj(n.b,t.b),86))&&n.a[r.i]==t.b&&!!r.d&&r.d!=t.b.d&&t.b.f.Fc(r),PL(n.b,t.b))}(this,JR(n,476))},EH(RAn,MIn,1899),_wn(UPn,1,uIn,jt),iSn.Ne=function(n,t){return function(n,t){return wtn(n.g.c+n.g.b/2,t.g.c+t.g.b/2)}(JR(n,86),JR(t,86))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(RAn,TIn,UPn),_wn(476,1,{476:1},YS),iSn.a=!1,EH(RAn,jIn,476),_wn(1901,1,uIn,Et),iSn.Ne=function(n,t){return function(n,t){var e,i,r;if(i=n.b.g.d,n.a||(i+=n.b.g.a),r=t.b.g.d,t.a||(r+=t.b.g.a),0==(e=wtn(i,r))){if(!n.a&&t.a)return-1;if(!t.a&&n.a)return 1}return e}(JR(n,476),JR(t,476))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(RAn,EIn,1901),_wn(148,1,{148:1},ZS,iK),iSn.Fb=function(n){var t;return null!=n&&RWn==s7(n)&&(t=JR(n,148),qU(this.c,t.c)&&qU(this.d,t.d))},iSn.Hb=function(){return b7(a8(uM(sUn,1),kSn,1,5,[this.c,this.d]))},iSn.Ib=function(){return"("+this.c+mSn+this.d+(this.a?"cx":"")+this.b+")"},iSn.a=!0,iSn.c=0,iSn.d=0;var NWn,$Wn,DWn,xWn,RWn=EH(KAn,"Point",148);_wn(416,22,{3:1,34:1,22:1,416:1},KS);var KWn,FWn,_Wn,BWn,HWn,UWn,GWn,qWn,XWn,zWn,VWn,WWn,QWn=r3(KAn,"Point/Quadrant",416,jUn,(function(){return s8(),a8(uM(QWn,1),lPn,416,0,[NWn,xWn,$Wn,DWn])}),(function(n){return s8(),i3((zZ(),KWn),n)}));_wn(1708,1,{},Cv),iSn.b=null,iSn.c=null,iSn.d=null,iSn.e=null,iSn.f=null,EH(KAn,"RectilinearConvexHull",1708),_wn(583,1,{382:1},Wrn),iSn.bf=function(n){!function(n,t){n.a.Ne(t.d,n.b)>0&&(AL(n.c,new iK(t.c,t.d,n.d)),n.b=t.d)}(this,JR(n,148))},iSn.b=0,EH(KAn,"RectilinearConvexHull/MaximalElementsEventHandler",583),_wn(1710,1,uIn,St),iSn.Ne=function(n,t){return function(n,t){return gE(),wtn((TU(n),n),(TU(t),t))}(z$(n),z$(t))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(KAn,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1710),_wn(1709,1,{382:1},$0),iSn.bf=function(n){Ngn(this,JR(n,148))},iSn.a=0,iSn.b=null,iSn.c=null,iSn.d=null,iSn.e=null,EH(KAn,"RectilinearConvexHull/RectangleEventHandler",1709),_wn(1711,1,uIn,Pt),iSn.Ne=function(n,t){return function(n,t){return L0(),n.c==t.c?wtn(t.d,n.d):wtn(n.c,t.c)}(JR(n,148),JR(t,148))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(KAn,"RectilinearConvexHull/lambda$0$Type",1711),_wn(1712,1,uIn,At),iSn.Ne=function(n,t){return function(n,t){return L0(),n.c==t.c?wtn(n.d,t.d):wtn(n.c,t.c)}(JR(n,148),JR(t,148))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(KAn,"RectilinearConvexHull/lambda$1$Type",1712),_wn(1713,1,uIn,Lt),iSn.Ne=function(n,t){return function(n,t){return L0(),n.c==t.c?wtn(t.d,n.d):wtn(t.c,n.c)}(JR(n,148),JR(t,148))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(KAn,"RectilinearConvexHull/lambda$2$Type",1713),_wn(1714,1,uIn,Ot),iSn.Ne=function(n,t){return function(n,t){return L0(),n.c==t.c?wtn(n.d,t.d):wtn(t.c,n.c)}(JR(n,148),JR(t,148))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(KAn,"RectilinearConvexHull/lambda$3$Type",1714),_wn(1715,1,uIn,Nt),iSn.Ne=function(n,t){return mhn(JR(n,148),JR(t,148))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(KAn,"RectilinearConvexHull/lambda$4$Type",1715),_wn(1716,1,{},VX),EH(KAn,"Scanline",1716),_wn(2104,1,{}),EH(FAn,"AbstractGraphPlacer",2104),_wn(335,1,{335:1},k$),iSn.Ff=function(n){return!!this.Gf(n)&&(Rbn(this.b,JR(ghn(n,(qEn(),O1n)),21),n),!0)},iSn.Gf=function(n){var t,e,i;for(t=JR(ghn(n,(qEn(),O1n)),21),i=JR(RJ(qWn,t),21).Kc();i.Ob();)if(e=JR(i.Pb(),21),!JR(RJ(this.b,e),15).dc())return!1;return!0},EH(FAn,"ComponentGroup",335),_wn(779,2104,{},Iv),iSn.Hf=function(n){var t;for(t=new mw(this.a);t.ai?1:0}(JR(n,36),JR(t,36))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(FAn,"ComponentsProcessor/lambda$0$Type",1283),_wn(579,335,{335:1,579:1},cJ),iSn.Ff=function(n){return A9(this,n)},iSn.Gf=function(n){return Pgn(this,n)},EH(FAn,"ModelOrderComponentGroup",579),_wn(1310,2104,{},Dt),iSn.Ef=function(n,t){var e,r,c,a,o,u,s,h,f;if(1!=n.gc()){if(n.dc())return t.a.c.length=0,t.f.a=0,void(t.f.b=0);for(this.Jf(n,t),c=JR(n.Xb(0),36),t.a.c.length=0,y5(t,c),u=0,f=0,a=n.Kc();a.Ob();)s=JR(a.Pb(),36).f,u=i.Math.max(u,s.a),f+=s.a*s.b;if(u=i.Math.max(u,i.Math.sqrt(f)*my(z$(ghn(t,(LEn(),s4n))))),r=my(z$(ghn(t,u5n))),this.If(n,t,u,r),py(X$(ghn(c,f4n)))){for(yEn(e=new It,n,r),o=n.Kc();o.Ob();)hx(MO(JR(o.Pb(),36).c),e.e);hx(MO(t.f),e.a)}vZ(t,n)}else(h=JR(n.Xb(0),36))!=t&&(t.a.c.length=0,Rvn(t,h,0,0),y5(t,h),XG(t.d,h.d),t.f.a=h.f.a,t.f.b=h.f.b)},iSn.If=function(n,t,e,r){var c,a,o,u,s,h,f,l;for(f=0,l=0,u=0,c=r,o=n.Kc();o.Ob();)f+(h=(a=JR(o.Pb(),36)).f).a>e&&(f=0,l+=u+r,u=0),svn(a,f+(s=a.c).a,l+s.b),MO(s),c=i.Math.max(c,f+h.a),u=i.Math.max(u,h.b),f+=h.a+r;t.f.a=c,t.f.b=l+u},iSn.Jf=function(n,t){var e,i,r,c,a;if(UI(ghn(t,(LEn(),w4n)))===UI((Yin(),WWn))){for(i=n.Kc();i.Ob();){for(a=0,c=new mw((e=JR(i.Pb(),36)).a);c.ae&&!JR(ghn(a,(qEn(),O1n)),21).Hc(($jn(),ght))||s&&JR(ghn(s,(qEn(),O1n)),21).Hc(($jn(),dht))||JR(ghn(a,(qEn(),O1n)),21).Hc(($jn(),Dht)))&&(b=l,w+=u+r,u=0),h=a.c,JR(ghn(a,(qEn(),O1n)),21).Hc(($jn(),ght))&&(b=c+r),svn(a,b+h.a,w+h.b),c=i.Math.max(c,b+f.a),JR(ghn(a,O1n),21).Hc(Nht)&&(l=i.Math.max(l,b+f.a+r)),MO(h),u=i.Math.max(u,f.b),b+=f.a+r,s=a;t.f.a=c,t.f.b=w+u},iSn.Jf=function(n,t){},EH(FAn,"ModelOrderRowGraphPlacer",1313),_wn(1311,1,uIn,xt),iSn.Ne=function(n,t){return function(n,t){var e;return 0==(e=t.p-n.p)?wtn(n.f.a*n.f.b,t.f.a*t.f.b):e}(JR(n,36),JR(t,36))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(FAn,"SimpleRowGraphPlacer/1",1311),_wn(1280,1,SIn,Rt),iSn.Lb=function(n){var t;return!!(t=JR(ghn(JR(n,249).b,(LEn(),o6n)),75))&&0!=t.b},iSn.Fb=function(n){return this===n},iSn.Mb=function(n){var t;return!!(t=JR(ghn(JR(n,249).b,(LEn(),o6n)),75))&&0!=t.b},EH(GAn,"CompoundGraphPostprocessor/1",1280),_wn(1279,1,qAn,$v),iSn.Kf=function(n,t){Mcn(this,JR(n,36),t)},EH(GAn,"CompoundGraphPreprocessor",1279),_wn(453,1,{453:1},_nn),iSn.c=!1,EH(GAn,"CompoundGraphPreprocessor/ExternalPort",453),_wn(249,1,{249:1},fR),iSn.Ib=function(){return d$(this.c)+":"+jbn(this.b)},EH(GAn,"CrossHierarchyEdge",249),_wn(777,1,uIn,bd),iSn.Ne=function(n,t){return function(n,t,e){var i,r;return t.c==(v3(),U8n)&&e.c==H8n?-1:t.c==H8n&&e.c==U8n?1:(i=y7(t.a,n.a),r=y7(e.a,n.a),t.c==U8n?r-i:i-r)}(this,JR(n,249),JR(t,249))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(GAn,"CrossHierarchyEdgeComparator",777),_wn(305,137,{3:1,305:1,96:1,137:1}),iSn.p=0,EH(XAn,"LGraphElement",305),_wn(18,305,{3:1,18:1,305:1,96:1,137:1},Oq),iSn.Ib=function(){return jbn(this)};var tQn=EH(XAn,"LEdge",18);_wn(36,305,{3:1,20:1,36:1,305:1,96:1,137:1},U3),iSn.Jc=function(n){QQ(this,n)},iSn.Kc=function(){return new mw(this.b)},iSn.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Chn(this.a):0==this.a.c.length?"G-layered"+Chn(this.b):"G[layerless"+Chn(this.a)+", layers"+Chn(this.b)+"]"};var eQn,iQn=EH(XAn,"LGraph",36);_wn(666,1,{}),iSn.Lf=function(){return this.e.n},iSn.of=function(n){return ghn(this.e,n)},iSn.Mf=function(){return this.e.o},iSn.Nf=function(){return this.e.p},iSn.pf=function(n){return b$(this.e,n)},iSn.Of=function(n){this.e.n.a=n.a,this.e.n.b=n.b},iSn.Pf=function(n){this.e.o.a=n.a,this.e.o.b=n.b},iSn.Qf=function(n){this.e.p=n},EH(XAn,"LGraphAdapters/AbstractLShapeAdapter",666),_wn(474,1,{853:1},wd),iSn.Rf=function(){var n,t;if(!this.b)for(this.b=n$(this.a.b.c.length),t=new mw(this.a.b);t.a0&&M7((Rz(t-1,n.length),n.charCodeAt(t-1)),nLn);)--t;if(r> ",n),eon(e)),rO(iO((n.a+="[",n),e.i),"]")),n.a},iSn.c=!0,iSn.d=!1;var yQn,MQn,TQn,jQn,EQn=EH(XAn,"LPort",12);_wn(408,1,QSn,gd),iSn.Jc=function(n){QQ(this,n)},iSn.Kc=function(){return new pd(new mw(this.a.e))},EH(XAn,"LPort/1",408),_wn(1309,1,ISn,pd),iSn.Nb=function(n){yB(this,n)},iSn.Pb=function(){return JR(Xz(this.a),18).c},iSn.Ob=function(){return BA(this.a)},iSn.Qb=function(){XB(this.a)},EH(XAn,"LPort/1/1",1309),_wn(369,1,QSn,md),iSn.Jc=function(n){QQ(this,n)},iSn.Kc=function(){return new vd(new mw(this.a.g))},EH(XAn,"LPort/2",369),_wn(776,1,ISn,vd),iSn.Nb=function(n){yB(this,n)},iSn.Pb=function(){return JR(Xz(this.a),18).d},iSn.Ob=function(){return BA(this.a)},iSn.Qb=function(){XB(this.a)},EH(XAn,"LPort/2/1",776),_wn(1302,1,QSn,XS),iSn.Jc=function(n){QQ(this,n)},iSn.Kc=function(){return new JJ(this)},EH(XAn,"LPort/CombineIter",1302),_wn(208,1,ISn,JJ),iSn.Nb=function(n){yB(this,n)},iSn.Qb=function(){gT()},iSn.Ob=function(){return KN(this)},iSn.Pb=function(){return BA(this.a)?Xz(this.a):Xz(this.b)},EH(XAn,"LPort/CombineIter/1",208),_wn(1303,1,SIn,Bt),iSn.Lb=function(n){return J_(n)},iSn.Fb=function(n){return this===n},iSn.Mb=function(n){return T6(),0!=JR(n,12).g.c.length},EH(XAn,"LPort/lambda$0$Type",1303),_wn(1304,1,SIn,Ht),iSn.Lb=function(n){return Y_(n)},iSn.Fb=function(n){return this===n},iSn.Mb=function(n){return T6(),0!=JR(n,12).e.c.length},EH(XAn,"LPort/lambda$1$Type",1304),_wn(1305,1,SIn,Ut),iSn.Lb=function(n){return T6(),JR(n,12).j==($jn(),ght)},iSn.Fb=function(n){return this===n},iSn.Mb=function(n){return T6(),JR(n,12).j==($jn(),ght)},EH(XAn,"LPort/lambda$2$Type",1305),_wn(1306,1,SIn,Gt),iSn.Lb=function(n){return T6(),JR(n,12).j==($jn(),dht)},iSn.Fb=function(n){return this===n},iSn.Mb=function(n){return T6(),JR(n,12).j==($jn(),dht)},EH(XAn,"LPort/lambda$3$Type",1306),_wn(1307,1,SIn,qt),iSn.Lb=function(n){return T6(),JR(n,12).j==($jn(),Nht)},iSn.Fb=function(n){return this===n},iSn.Mb=function(n){return T6(),JR(n,12).j==($jn(),Nht)},EH(XAn,"LPort/lambda$4$Type",1307),_wn(1308,1,SIn,Xt),iSn.Lb=function(n){return T6(),JR(n,12).j==($jn(),Dht)},iSn.Fb=function(n){return this===n},iSn.Mb=function(n){return T6(),JR(n,12).j==($jn(),Dht)},EH(XAn,"LPort/lambda$5$Type",1308),_wn(30,305,{3:1,20:1,305:1,30:1,96:1,137:1},GH),iSn.Jc=function(n){QQ(this,n)},iSn.Kc=function(){return new mw(this.a)},iSn.Ib=function(){return"L_"+k1(this.b.b,this,0)+Chn(this.a)},EH(XAn,"Layer",30),_wn(1330,1,{},Nv),EH(cLn,aLn,1330),_wn(1334,1,{},zt),iSn.Kb=function(n){return Bsn(JR(n,84))},EH(cLn,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1334),_wn(1337,1,{},Vt),iSn.Kb=function(n){return Bsn(JR(n,84))},EH(cLn,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1337),_wn(1331,1,qSn,kd),iSn.Cd=function(n){uwn(this.a,JR(n,123))},EH(cLn,HOn,1331),_wn(1332,1,qSn,yd),iSn.Cd=function(n){uwn(this.a,JR(n,123))},EH(cLn,oLn,1332),_wn(1333,1,{},Wt),iSn.Kb=function(n){return new PF(null,new Kz(WU(JR(n,74)),16))},EH(cLn,uLn,1333),_wn(1335,1,gPn,Md),iSn.Mb=function(n){return function(n,t){return Z0(t,vX(n))}(this.a,JR(n,27))},EH(cLn,sLn,1335),_wn(1336,1,{},Qt),iSn.Kb=function(n){return new PF(null,new Kz(function(n){return!n.b&&(n.b=new yx(nlt,n,4,7)),n.b}(JR(n,74)),16))},EH(cLn,"ElkGraphImporter/lambda$5$Type",1336),_wn(1338,1,gPn,Td),iSn.Mb=function(n){return function(n,t){return Z0(t,vX(n))}(this.a,JR(n,27))},EH(cLn,"ElkGraphImporter/lambda$7$Type",1338),_wn(1339,1,gPn,Jt),iSn.Mb=function(n){return function(n){return Dbn(n)&&py(X$(fdn(n,(LEn(),r6n))))}(JR(n,74))},EH(cLn,"ElkGraphImporter/lambda$8$Type",1339),_wn(1297,1,{},Xf),EH(cLn,"ElkGraphLayoutTransferrer",1297),_wn(1298,1,gPn,jd),iSn.Mb=function(n){return function(n,t){return kE(),!c5(t.d.i,n)}(this.a,JR(n,18))},EH(cLn,"ElkGraphLayoutTransferrer/lambda$0$Type",1298),_wn(1299,1,qSn,Ed),iSn.Cd=function(n){kE(),AL(this.a,JR(n,18))},EH(cLn,"ElkGraphLayoutTransferrer/lambda$1$Type",1299),_wn(1300,1,gPn,Sd),iSn.Mb=function(n){return function(n,t){return kE(),c5(t.d.i,n)}(this.a,JR(n,18))},EH(cLn,"ElkGraphLayoutTransferrer/lambda$2$Type",1300),_wn(1301,1,qSn,Pd),iSn.Cd=function(n){kE(),AL(this.a,JR(n,18))},EH(cLn,"ElkGraphLayoutTransferrer/lambda$3$Type",1301),_wn(819,1,{},nx),EH(hLn,"BiLinkedHashMultiMap",819),_wn(1550,1,qAn,Yt),iSn.Kf=function(n,t){!function(n,t){t.Ug(fLn,1),Yj(r0(new PF(null,new Kz(n.b,16)),new Zt),new ne),t.Vg()}(JR(n,36),t)},EH(hLn,"CommentNodeMarginCalculator",1550),_wn(1551,1,{},Zt),iSn.Kb=function(n){return new PF(null,new Kz(JR(n,30).a,16))},EH(hLn,"CommentNodeMarginCalculator/lambda$0$Type",1551),_wn(1552,1,qSn,ne),iSn.Cd=function(n){!function(n){var t,e,r,c,a,o,u,s,h,f,l,b;if(u=n.d,l=JR(ghn(n,(qEn(),y0n)),15),t=JR(ghn(n,v1n),15),l||t){if(a=my(z$(Qen(n,(LEn(),a5n)))),o=my(z$(Qen(n,o5n))),b=0,l){for(h=0,c=l.Kc();c.Ob();)r=JR(c.Pb(),10),h=i.Math.max(h,r.o.b),b+=r.o.a;b+=a*(l.gc()-1),u.d+=h+o}if(e=0,t){for(h=0,c=t.Kc();c.Ob();)r=JR(c.Pb(),10),h=i.Math.max(h,r.o.b),e+=r.o.a;e+=a*(t.gc()-1),u.a+=h+o}(s=i.Math.max(b,e))>n.o.a&&(f=(s-n.o.a)/2,u.b=i.Math.max(u.b,f),u.c=i.Math.max(u.c,f))}}(JR(n,10))},EH(hLn,"CommentNodeMarginCalculator/lambda$1$Type",1552),_wn(1553,1,qAn,te),iSn.Kf=function(n,t){!function(n,t){var e,i,r,c,a,o,u;for(t.Ug("Comment post-processing",1),c=new mw(n.b);c.a0&&ekn((xz(0,e.c.length),JR(e.c[0],30)),n),e.c.length>1&&ekn(JR(bF(e,e.c.length-1),30),n),t.Vg()}(JR(n,36),t)},EH(hLn,"HierarchicalPortPositionProcessor",1582),_wn(1583,1,qAn,zf),iSn.Kf=function(n,t){!function(n,t){var e,r,c,a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E;for(n.b=t,n.a=JR(ghn(t,(LEn(),Z4n)),17).a,n.c=JR(ghn(t,t6n),17).a,0==n.c&&(n.c=wSn),g=new NV(t.b,0);g.b=n.a&&(r=Uyn(n,m),l=i.Math.max(l,r.b),k=i.Math.max(k,r.d),AL(u,new uI(m,r)));for(T=new Mm,f=0;f0),g.a.Xb(g.c=--g.b),BD(g,j=new GH(n.b)),J$(g.b=2){for(b=!0,e=JR(Xz(h=new mw(r.j)),12),f=null;h.a0)}(JR(n,18))},EH(hLn,"PartitionPreprocessor/lambda$2$Type",1643),_wn(1644,1,qSn,yi),iSn.Cd=function(n){!function(n){var t;Syn(n,!0),t=IPn,b$(n,(LEn(),n5n))&&(t+=JR(ghn(n,n5n),17).a),A8(n,n5n,ann(t))}(JR(n,18))},EH(hLn,"PartitionPreprocessor/lambda$3$Type",1644),_wn(1645,1,qAn,el),iSn.Kf=function(n,t){!function(n,t){var e,i,r,c,a,o;for(t.Ug("Port order processing",1),o=JR(ghn(n,(LEn(),J6n)),430),e=new mw(n.b);e.at.d.c){if((b=n.c[t.a.d])==(g=n.c[f.a.d]))continue;Qgn(uE(oE(sE(aE(new yv,1),100),b),g))}}}(this),function(n){var t,e,i,r,c,a,o;for(c=new Gj,r=new mw(n.d.a);r.a1)for(t=LN((e=new Mv,++n.b,e),n.d),o=$rn(c,0);o.b!=o.d.c;)a=JR(kW(o),125),Qgn(uE(oE(sE(aE(new yv,1),0),t),a))}(this),qvn(gR(this.d),new jk),c=new mw(this.a.a.b);c.a=g&&(AL(a,ann(f)),v=i.Math.max(v,k[f-1]-l),u+=d,p+=k[f-1]-p,l=k[f-1],d=s[f]),d=i.Math.max(d,s[f]),++f;u+=d}(w=i.Math.min(1/v,1/t.b/u))>r&&(r=w,e=a)}return e},iSn.pg=function(){return!1},EH(CLn,"MSDCutIndexHeuristic",816),_wn(1683,1,qAn,Mc),iSn.Kf=function(n,t){Dyn(JR(n,36),t)},EH(CLn,"SingleEdgeGraphWrapper",1683),_wn(232,22,{3:1,34:1,22:1,232:1},hP);var BYn,HYn,UYn,GYn=r3(ILn,"CenterEdgeLabelPlacementStrategy",232,jUn,(function(){return iln(),a8(uM(GYn,1),lPn,232,0,[xYn,KYn,DYn,RYn,FYn,$Yn])}),(function(n){return iln(),i3((T2(),BYn),n)}));_wn(431,22,{3:1,34:1,22:1,431:1},sP);var qYn,XYn,zYn,VYn,WYn=r3(ILn,"ConstraintCalculationStrategy",431,jUn,(function(){return kY(),a8(uM(WYn,1),lPn,431,0,[HYn,UYn])}),(function(n){return kY(),i3((xQ(),qYn),n)}));_wn(322,22,{3:1,34:1,22:1,322:1,188:1,196:1},fP),iSn.dg=function(){return sbn(this)},iSn.qg=function(){return sbn(this)};var QYn,JYn,YYn,ZYn,nZn=r3(ILn,"CrossingMinimizationStrategy",322,jUn,(function(){return $3(),a8(uM(nZn,1),lPn,322,0,[zYn,XYn,VYn])}),(function(n){return $3(),i3((yY(),QYn),n)}));_wn(351,22,{3:1,34:1,22:1,351:1},lP);var tZn,eZn,iZn,rZn,cZn,aZn,oZn=r3(ILn,"CuttingStrategy",351,jUn,(function(){return m3(),a8(uM(oZn,1),lPn,351,0,[JYn,ZYn,YYn])}),(function(n){return m3(),i3((MY(),tZn),n)}));_wn(348,22,{3:1,34:1,22:1,348:1,188:1,196:1},bP),iSn.dg=function(){return Zwn(this)},iSn.qg=function(){return Zwn(this)};var uZn,sZn,hZn,fZn=r3(ILn,"CycleBreakingStrategy",348,jUn,(function(){return Nin(),a8(uM(fZn,1),lPn,348,0,[iZn,eZn,cZn,aZn,rZn])}),(function(n){return Nin(),i3((v0(),uZn),n)}));_wn(428,22,{3:1,34:1,22:1,428:1},wP);var lZn,bZn,wZn,dZn,gZn=r3(ILn,"DirectionCongruency",428,jUn,(function(){return A0(),a8(uM(gZn,1),lPn,428,0,[sZn,hZn])}),(function(n){return A0(),i3((LQ(),lZn),n)}));_wn(460,22,{3:1,34:1,22:1,460:1},dP);var pZn,mZn,vZn,kZn,yZn,MZn,TZn,jZn=r3(ILn,"EdgeConstraint",460,jUn,(function(){return R8(),a8(uM(jZn,1),lPn,460,0,[wZn,bZn,dZn])}),(function(n){return R8(),i3((jY(),pZn),n)}));_wn(283,22,{3:1,34:1,22:1,283:1},gP);var EZn,SZn,PZn,CZn=r3(ILn,"EdgeLabelSideSelection",283,jUn,(function(){return efn(),a8(uM(CZn,1),lPn,283,0,[vZn,mZn,yZn,kZn,TZn,MZn])}),(function(n){return efn(),i3((j2(),EZn),n)}));_wn(488,22,{3:1,34:1,22:1,488:1},pP);var IZn,OZn,AZn,LZn,NZn,$Zn,DZn,xZn=r3(ILn,"EdgeStraighteningStrategy",488,jUn,(function(){return YZ(),a8(uM(xZn,1),lPn,488,0,[PZn,SZn])}),(function(n){return YZ(),i3((NQ(),IZn),n)}));_wn(281,22,{3:1,34:1,22:1,281:1},mP);var RZn,KZn,FZn,_Zn,BZn,HZn,UZn,GZn=r3(ILn,"FixedAlignment",281,jUn,(function(){return Aun(),a8(uM(GZn,1),lPn,281,0,[NZn,LZn,DZn,AZn,$Zn,OZn])}),(function(n){return Aun(),i3((E2(),RZn),n)}));_wn(282,22,{3:1,34:1,22:1,282:1},vP);var qZn,XZn,zZn,VZn,WZn,QZn,JZn,YZn,ZZn,n1n,t1n,e1n=r3(ILn,"GraphCompactionStrategy",282,jUn,(function(){return qhn(),a8(uM(e1n,1),lPn,282,0,[HZn,FZn,UZn,BZn,_Zn,KZn])}),(function(n){return qhn(),i3((S2(),qZn),n)}));_wn(259,22,{3:1,34:1,22:1,259:1},kP);var i1n,r1n,c1n,a1n,o1n=r3(ILn,"GraphProperties",259,jUn,(function(){return zpn(),a8(uM(o1n,1),lPn,259,0,[zZn,WZn,QZn,JZn,YZn,ZZn,t1n,XZn,VZn,n1n])}),(function(n){return zpn(),i3((D8(),i1n),n)}));_wn(299,22,{3:1,34:1,22:1,299:1},yP);var u1n,s1n,h1n,f1n,l1n=r3(ILn,"GreedySwitchType",299,jUn,(function(){return I5(),a8(uM(l1n,1),lPn,299,0,[c1n,a1n,r1n])}),(function(n){return I5(),i3((EY(),u1n),n)}));_wn(311,22,{3:1,34:1,22:1,311:1},MP);var b1n,w1n,d1n,g1n=r3(ILn,"InLayerConstraint",311,jUn,(function(){return V1(),a8(uM(g1n,1),lPn,311,0,[h1n,f1n,s1n])}),(function(n){return V1(),i3((SY(),b1n),n)}));_wn(429,22,{3:1,34:1,22:1,429:1},TP);var p1n,m1n,v1n,k1n,y1n,M1n,T1n,j1n,E1n,S1n,P1n,C1n,I1n,O1n,A1n,L1n,N1n,$1n,D1n,x1n,R1n,K1n,F1n,_1n,B1n,H1n,U1n,G1n,q1n,X1n,z1n,V1n,W1n,Q1n,J1n,Y1n,Z1n,n0n,t0n,e0n,i0n,r0n,c0n,a0n,o0n,u0n,s0n,h0n,f0n,l0n,b0n,w0n,d0n,g0n,p0n,m0n,v0n,k0n,y0n,M0n,T0n,j0n,E0n,S0n,P0n=r3(ILn,"InteractiveReferencePoint",429,jUn,(function(){return OW(),a8(uM(P0n,1),lPn,429,0,[w1n,d1n])}),(function(n){return OW(),i3((AQ(),p1n),n)}));_wn(171,22,{3:1,34:1,22:1,171:1},jP);var C0n,I0n,O0n,A0n,L0n,N0n,$0n,D0n,x0n,R0n,K0n,F0n,_0n,B0n,H0n,U0n,G0n,q0n,X0n,z0n,V0n,W0n,Q0n,J0n,Y0n,Z0n,n2n,t2n,e2n,i2n,r2n,c2n,a2n,o2n,u2n,s2n,h2n,f2n,l2n,b2n,w2n,d2n,g2n,p2n,m2n,v2n,k2n,y2n,M2n,T2n,j2n,E2n,S2n,P2n,C2n,I2n,O2n,A2n,L2n,N2n,$2n,D2n,x2n,R2n,K2n,F2n,_2n,B2n,H2n,U2n,G2n,q2n,X2n,z2n,V2n,W2n,Q2n,J2n,Y2n,Z2n,n3n,t3n,e3n,i3n,r3n,c3n,a3n,o3n,u3n,s3n,h3n,f3n,l3n,b3n,w3n,d3n,g3n,p3n,m3n,v3n,k3n,y3n,M3n,T3n,j3n,E3n,S3n,P3n,C3n,I3n,O3n,A3n,L3n,N3n,$3n,D3n,x3n,R3n,K3n,F3n,_3n,B3n,H3n,U3n,G3n,q3n,X3n,z3n,V3n,W3n,Q3n,J3n,Y3n,Z3n,n4n,t4n,e4n,i4n,r4n,c4n,a4n,o4n,u4n,s4n,h4n,f4n,l4n,b4n,w4n,d4n,g4n,p4n,m4n,v4n,k4n,y4n,M4n,T4n,j4n,E4n,S4n,P4n,C4n,I4n,O4n,A4n,L4n,N4n,$4n,D4n,x4n,R4n,K4n,F4n,_4n,B4n,H4n,U4n,G4n,q4n,X4n,z4n,V4n,W4n,Q4n,J4n,Y4n,Z4n,n6n,t6n,e6n,i6n,r6n,c6n,a6n,o6n,u6n,s6n,h6n,f6n,l6n,b6n,w6n,d6n,g6n,p6n,m6n,v6n,k6n,y6n,M6n,T6n,j6n,E6n,S6n,P6n,C6n,I6n,O6n,A6n,L6n,N6n,$6n,D6n,x6n,R6n,K6n,F6n,_6n,B6n,H6n,U6n,G6n,q6n,X6n,z6n,V6n,W6n,Q6n,J6n,Y6n,Z6n,n5n,t5n,e5n,i5n,r5n,c5n,a5n,o5n,u5n,s5n,h5n,f5n,l5n,b5n,w5n,d5n,g5n,p5n,m5n,v5n,k5n,y5n,M5n,T5n,j5n,E5n,S5n,P5n,C5n,I5n,O5n,A5n,L5n,N5n,$5n,D5n,x5n,R5n,K5n,F5n,_5n,B5n,H5n,U5n,G5n,q5n,X5n,z5n,V5n,W5n,Q5n,J5n,Y5n,Z5n,n8n=r3(ILn,"LayerConstraint",171,jUn,(function(){return yen(),a8(uM(n8n,1),lPn,171,0,[S0n,M0n,T0n,j0n,E0n])}),(function(n){return yen(),i3((y0(),C0n),n)}));_wn(859,1,NIn,sl),iSn.hf=function(n){qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,xLn),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),b2n),(Qfn(),fat)),gZn),ptn((Nrn(),cat))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,RLn),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(UN(),!1)),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,KLn),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),x2n),fat),P0n),ptn(cat)))),BV(n,KLn,XLn,K2n),BV(n,KLn,eNn,R2n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,FLn),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,_Ln),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(function(n,t){return n.f=t,n}(xM(DM(RM(AM(OM($M(LM(NM(new xu,BLn),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),sat),ZUn),ptn(aat)),a8(uM(CGn,1),HSn,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,HLn),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),y3n),fat),q8n),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,ULn),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),ann(7)),bat),sGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,GLn),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,qLn),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,XLn),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),f2n),fat),fZn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,zLn),r$n),"Node Layering Strategy"),"Strategy for node layering."),Z2n),fat),c8n),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,VLn),r$n),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),U2n),fat),n8n),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,WLn),r$n),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),bat),sGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,QLn),r$n),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),ann(-1)),bat),sGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,JLn),c$n),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),ann(4)),bat),sGn),ptn(cat)))),BV(n,JLn,zLn,X2n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,YLn),c$n),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),ann(2)),bat),sGn),ptn(cat)))),BV(n,YLn,zLn,V2n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,ZLn),a$n),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),J2n),fat),x8n),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,nNn),a$n),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),ann(0)),bat),sGn),ptn(cat)))),BV(n,nNn,ZLn,null),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,tNn),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),ann(wSn)),bat),sGn),ptn(cat)))),BV(n,tNn,zLn,_2n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,eNn),o$n),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),s2n),fat),nZn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,iNn),o$n),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,rNn),o$n),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),hat),cGn),ptn(cat)))),BV(n,rNn,u$n,t2n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,cNn),o$n),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),sat),ZUn),ptn(cat)))),BV(n,cNn,eNn,o2n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,aNn),o$n),"In Layer Predecessor of"),"Allows to set a constraint which specifies of which node the current node is the predecessor. If set to 's' then the node is the predecessor of 's' and is in the same layer"),null),dat),CGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,oNn),o$n),"In Layer Successor of"),"Allows to set a constraint which specifies of which node the current node is the successor. If set to 's' then the node is the successor of 's' and is in the same layer"),null),dat),CGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,uNn),o$n),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),null),bat),sGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,sNn),o$n),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),ann(-1)),bat),sGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,hNn),s$n),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),ann(40)),bat),sGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,fNn),s$n),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),Y0n),fat),l1n),ptn(cat)))),BV(n,fNn,eNn,Z0n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,lNn),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),V0n),fat),l1n),ptn(cat)))),BV(n,lNn,eNn,W0n),BV(n,lNn,u$n,Q0n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,bNn),h$n),"Node Placement Strategy"),"Strategy for node placement."),v3n),fat),O8n),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,wNn),h$n),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),sat),ZUn),ptn(cat)))),BV(n,wNn,bNn,s3n),BV(n,wNn,bNn,h3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,dNn),f$n),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),i3n),fat),xZn),ptn(cat)))),BV(n,dNn,bNn,r3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,gNn),f$n),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),a3n),fat),GZn),ptn(cat)))),BV(n,gNn,bNn,o3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,pNn),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),hat),cGn),ptn(cat)))),BV(n,pNn,bNn,l3n),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,mNn),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),fat),m8n),ptn(rat)))),BV(n,mNn,bNn,p3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,vNn),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),d3n),fat),m8n),ptn(cat)))),BV(n,vNn,bNn,g3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,kNn),l$n),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),y2n),fat),t9n),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,yNn),l$n),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),T2n),fat),a9n),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,MNn),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),E2n),fat),f9n),ptn(cat)))),BV(n,MNn,b$n,S2n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,TNn),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),hat),cGn),ptn(cat)))),BV(n,TNn,b$n,C2n),BV(n,TNn,MNn,I2n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,jNn),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),hat),cGn),ptn(cat)))),BV(n,jNn,b$n,v2n),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,ENn),w$n),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,SNn),w$n),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,PNn),w$n),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,CNn),w$n),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,INn),d$n),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),ann(0)),bat),sGn),ptn(eat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,ONn),d$n),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),ann(0)),bat),sGn),ptn(eat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,ANn),d$n),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),ann(0)),bat),sGn),ptn(eat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,LNn),g$n),vOn),"Tries to further compact components (disconnected sub-graphs)."),!1),sat),ZUn),ptn(cat)))),BV(n,LNn,cAn,!0),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,NNn),p$n),"Post Compaction Strategy"),m$n),$0n),fat),e1n),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,$Nn),p$n),"Post Compaction Constraint Calculation"),m$n),L0n),fat),WYn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,DNn),v$n),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,xNn),v$n),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),ann(16)),bat),sGn),ptn(cat)))),BV(n,xNn,DNn,!0),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,RNn),v$n),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),ann(5)),bat),sGn),ptn(cat)))),BV(n,RNn,DNn,!0),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,KNn),k$n),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),Z3n),fat),O9n),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,FNn),k$n),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),hat),cGn),ptn(cat)))),BV(n,FNn,KNn,L3n),BV(n,FNn,KNn,N3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,_Nn),k$n),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),hat),cGn),ptn(cat)))),BV(n,_Nn,KNn,D3n),BV(n,_Nn,KNn,x3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,BNn),y$n),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),U3n),fat),oZn),ptn(cat)))),BV(n,BNn,KNn,G3n),BV(n,BNn,KNn,q3n),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,HNn),y$n),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),wat),dUn),ptn(cat)))),BV(n,HNn,BNn,K3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,UNn),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),_3n),bat),sGn),ptn(cat)))),BV(n,UNn,BNn,B3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,GNn),M$n),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),r4n),fat),g9n),ptn(cat)))),BV(n,GNn,KNn,c4n),BV(n,GNn,KNn,a4n),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,qNn),M$n),"Valid Indices for Wrapping"),null),wat),dUn),ptn(cat)))),BV(n,qNn,KNn,t4n),BV(n,qNn,KNn,e4n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,XNn),T$n),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),sat),ZUn),ptn(cat)))),BV(n,XNn,KNn,W3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,zNn),T$n),"Distance Penalty When Improving Cuts"),null),2),hat),cGn),ptn(cat)))),BV(n,zNn,KNn,z3n),BV(n,zNn,XNn,!0),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,VNn),T$n),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),sat),ZUn),ptn(cat)))),BV(n,VNn,KNn,J3n),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,WNn),j$n),"Edge Label Side Selection"),"Method to decide on edge label sides."),p2n),fat),CZn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,QNn),j$n),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),d2n),fat),GYn),i_(cat,a8(uM(pat,1),lPn,170,0,[iat]))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,JNn),E$n),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),G0n),fat),_8n),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,YNn),E$n),"Consider Port Order"),"If disabled the port order of output ports is derived from the edge order and input ports are ordered by their incoming connections. If enabled all ports are ordered by the port model order."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,ZNn),E$n),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),sat),ZUn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,n$n),E$n),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),x0n),fat),nQn),ptn(cat)))),BV(n,n$n,cAn,null),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,t$n),E$n),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),_0n),fat),f8n),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,e$n),E$n),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),hat),cGn),ptn(cat)))),BV(n,e$n,JNn,null),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,i$n),E$n),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),hat),cGn),ptn(cat)))),BV(n,i$n,JNn,null),nSn((new hl,n))},EH(ILn,"LayeredMetaDataProvider",859),_wn(998,1,NIn,hl),iSn.hf=function(n){nSn(n)},EH(ILn,"LayeredOptions",998),_wn(999,1,{},Tc),iSn.sf=function(){return new Av},iSn.tf=function(n){},EH(ILn,"LayeredOptions/LayeredFactory",999),_wn(1391,1,{}),iSn.a=0,EH(lDn,"ElkSpacings/AbstractSpacingsBuilder",1391),_wn(792,1391,{},Oen),EH(ILn,"LayeredSpacings/LayeredSpacingsBuilder",792),_wn(265,22,{3:1,34:1,22:1,265:1,188:1,196:1},EP),iSn.dg=function(){return Smn(this)},iSn.qg=function(){return Smn(this)};var t8n,e8n,i8n,r8n,c8n=r3(ILn,"LayeringStrategy",265,jUn,(function(){return Kgn(),a8(uM(c8n,1),lPn,265,0,[Y5n,W5n,Q5n,X5n,V5n,Z5n,J5n,q5n,z5n])}),(function(n){return Kgn(),i3((A5(),t8n),n)}));_wn(390,22,{3:1,34:1,22:1,390:1},SP);var a8n,o8n,u8n,s8n,h8n,f8n=r3(ILn,"LongEdgeOrderingStrategy",390,jUn,(function(){return Y7(),a8(uM(f8n,1),lPn,390,0,[e8n,i8n,r8n])}),(function(n){return Y7(),i3((PY(),a8n),n)}));_wn(203,22,{3:1,34:1,22:1,203:1},PP);var l8n,b8n,w8n,d8n,g8n,p8n,m8n=r3(ILn,"NodeFlexibility",203,jUn,(function(){return jcn(),a8(uM(m8n,1),lPn,203,0,[s8n,h8n,u8n,o8n])}),(function(n){return jcn(),i3((QZ(),l8n),n)}));_wn(323,22,{3:1,34:1,22:1,323:1,188:1,196:1},CP),iSn.dg=function(){return Ywn(this)},iSn.qg=function(){return Ywn(this)};var v8n,k8n,y8n,M8n,T8n,j8n,E8n,S8n,P8n,C8n,I8n,O8n=r3(ILn,"NodePlacementStrategy",323,jUn,(function(){return ecn(),a8(uM(O8n,1),lPn,323,0,[p8n,w8n,d8n,b8n,g8n])}),(function(n){return ecn(),i3((k0(),v8n),n)}));_wn(243,22,{3:1,34:1,22:1,243:1},IP);var A8n,L8n,N8n,$8n,D8n,x8n=r3(ILn,"NodePromotionStrategy",243,jUn,(function(){return Cvn(),a8(uM(x8n,1),lPn,243,0,[C8n,T8n,S8n,j8n,E8n,k8n,P8n,I8n,y8n,M8n])}),(function(n){return Cvn(),i3((x8(),A8n),n)}));_wn(284,22,{3:1,34:1,22:1,284:1},OP);var R8n,K8n,F8n,_8n=r3(ILn,"OrderingStrategy",284,jUn,(function(){return $in(),a8(uM(_8n,1),lPn,284,0,[N8n,L8n,$8n,D8n])}),(function(n){return $in(),i3((JZ(),R8n),n)}));_wn(430,22,{3:1,34:1,22:1,430:1},AP);var B8n,H8n,U8n,G8n,q8n=r3(ILn,"PortSortingStrategy",430,jUn,(function(){return W1(),a8(uM(q8n,1),lPn,430,0,[K8n,F8n])}),(function(n){return W1(),i3(($Q(),B8n),n)}));_wn(463,22,{3:1,34:1,22:1,463:1},LP);var X8n,z8n,V8n,W8n,Q8n=r3(ILn,"PortType",463,jUn,(function(){return v3(),a8(uM(Q8n,1),lPn,463,0,[G8n,H8n,U8n])}),(function(n){return v3(),i3((OY(),X8n),n)}));_wn(387,22,{3:1,34:1,22:1,387:1},NP);var J8n,Y8n,Z8n,n9n,t9n=r3(ILn,"SelfLoopDistributionStrategy",387,jUn,(function(){return B6(),a8(uM(t9n,1),lPn,387,0,[z8n,V8n,W8n])}),(function(n){return B6(),i3((CY(),J8n),n)}));_wn(349,22,{3:1,34:1,22:1,349:1},$P);var e9n,i9n,r9n,c9n,a9n=r3(ILn,"SelfLoopOrderingStrategy",349,jUn,(function(){return E9(),a8(uM(a9n,1),lPn,349,0,[n9n,Y8n,Z8n])}),(function(n){return E9(),i3((IY(),e9n),n)}));_wn(312,1,{312:1},STn),EH(ILn,"Spacings",312),_wn(350,22,{3:1,34:1,22:1,350:1},DP);var o9n,u9n,s9n,h9n,f9n=r3(ILn,"SplineRoutingMode",350,jUn,(function(){return a7(),a8(uM(f9n,1),lPn,350,0,[i9n,r9n,c9n])}),(function(n){return a7(),i3((AY(),o9n),n)}));_wn(352,22,{3:1,34:1,22:1,352:1},xP);var l9n,b9n,w9n,d9n,g9n=r3(ILn,"ValidifyStrategy",352,jUn,(function(){return p3(),a8(uM(g9n,1),lPn,352,0,[h9n,u9n,s9n])}),(function(n){return p3(),i3((LY(),l9n),n)}));_wn(388,22,{3:1,34:1,22:1,388:1},RP);var p9n,m9n,v9n,k9n,y9n,M9n,T9n,j9n,E9n,S9n,P9n,C9n,I9n,O9n=r3(ILn,"WrappingStrategy",388,jUn,(function(){return h8(),a8(uM(O9n,1),lPn,388,0,[w9n,d9n,b9n])}),(function(n){return h8(),i3((NY(),p9n),n)}));_wn(1398,1,gDn,tl),iSn.rg=function(n){return JR(n,36),m9n},iSn.Kf=function(n,t){!function(n,t,e){var i,r,c,a,o,u,s,h;for(e.Ug("Depth-first cycle removal",1),u=(s=t.a).c.length,n.c=new Mm,n.d=tZ(Qdt,xIn,28,u,16,1),n.a=tZ(Qdt,xIn,28,u,16,1),n.b=new Mm,c=0,o=new mw(s);o.a0?S+1:1);for(a=new mw(y.g);a.a0?S+1:1)}0==n.c[s]?HK(n.e,d):0==n.a[s]&&HK(n.f,d),++s}for(w=-1,b=1,f=new Mm,n.d=JR(ghn(t,(qEn(),s0n)),234);A>0;){for(;0!=n.e.b;)C=JR(XR(n.e),10),n.b[C.p]=w--,Vvn(n,C),--A;for(;0!=n.f.b;)I=JR(XR(n.f),10),n.b[I.p]=b++,Vvn(n,I),--A;if(A>0){for(l=vPn,m=new mw(v);m.a=l&&(k>l&&(f.c.length=0,l=k),Km(f.c,d));h=n.sg(f),n.b[h.p]=b++,Vvn(n,h),--A}}for(P=v.c.length+1,s=0;sn.b[O]&&(Syn(i,!0),A8(t,S1n,(UN(),!0)));n.a=null,n.c=null,n.b=null,UG(n.f),UG(n.e),e.Vg()}(this,JR(n,36),t)},iSn.sg=function(n){return JR(bF(n,Icn(this.d,n.c.length)),10)},EH(pDn,"GreedyCycleBreaker",793),_wn(1401,793,gDn,uO),iSn.sg=function(n){var t,e,i,r;for(r=null,t=wSn,i=new mw(n);i.a0&&Hfn(n,o,h);for(r=new mw(h);r.a0){for(k=$rn(n.f,0);k.b!=k.d.c;)JR(kW(k),10).p+=w-n.e;rln(n),UG(n.f),bmn(n,r,d)}else{for(HK(n.f,d),d.p=r,n.e=i.Math.max(n.e,r),a=new F_(wN(Ftn(d).a.Kc(),new h));Bwn(a);)(c=JR(MJ(a),18)).c.i.c||c.c.i.k!=(Yhn(),oQn)||(HK(n.f,c.c.i),c.c.i.p=r-1);n.c=r}else rln(n),UG(n.f),r=0,Bwn(new F_(wN(Ftn(d).a.Kc(),new h)))?bmn(n,r=(w=fcn(w=0,d))+2,d):(HK(n.f,d),d.p=0,n.e=i.Math.max(n.e,0),n.b=JR(bF(n.d.b,0),30),n.c=0);for(0==n.f.b||rln(n),n.d.a.c.length=0,v=new Mm,f=new mw(n.d.b);f.a=u){J$(v.b>0),v.a.Xb(v.c=--v.b);break}p.a>s&&(r?(J5(r.b,p.b),r.a=i.Math.max(r.a,p.a),oU(v)):(AL(p.b,f),p.c=i.Math.min(p.c,s),p.a=i.Math.max(p.a,u),r=p))}r||((r=new Dv).c=s,r.a=u,BD(v,r),AL(r.b,f))}for(o=n.b,h=0,m=new mw(e);m.at.p?-1:0}(JR(n,10),JR(t,10))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(mDn,"StretchWidthLayerer/1",1409),_wn(413,1,vDn),iSn.gg=function(n,t,e,i,r,c){},iSn.ug=function(n,t,e){return tkn(this,n,t,e)},iSn.fg=function(){this.g=tZ(ngt,kDn,28,this.d,15,1),this.f=tZ(ngt,kDn,28,this.d,15,1)},iSn.hg=function(n,t){this.e[n]=tZ(Wdt,GPn,28,t[n].length,15,1)},iSn.ig=function(n,t,e){e[n][t].p=t,this.e[n][t]=t},iSn.jg=function(n,t,e,i){JR(bF(i[n][t].j,e),12).p=this.d++},iSn.b=0,iSn.c=0,iSn.d=0,EH(yDn,"AbstractBarycenterPortDistributor",413),_wn(1698,1,uIn,bg),iSn.Ne=function(n,t){return function(n,t,e){var i,r,c,a;return(c=t.j)!=(a=e.j)?c.g-a.g:(i=n.f[t.p],r=n.f[e.p],0==i&&0==r?0:0==i?-1:0==r?1:wtn(i,r))}(this.a,JR(n,12),JR(t,12))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(yDn,"AbstractBarycenterPortDistributor/lambda$0$Type",1698),_wn(832,1,TLn,bW),iSn.gg=function(n,t,e,i,r,c){},iSn.ig=function(n,t,e){},iSn.jg=function(n,t,e,i){},iSn.eg=function(){return!1},iSn.fg=function(){this.c=this.e.a,this.g=this.f.g},iSn.hg=function(n,t){t[n][0].c.p=n},iSn.kg=function(){return!1},iSn.vg=function(n,t,e,i){e?bun(this,n):(Sun(this,n,i),QTn(this,n,t)),n.c.length>1&&(py(X$(ghn(dU((xz(0,n.c.length),JR(n.c[0],10))),(LEn(),M4n))))?$dn(n,this.d,JR(this,669)):(eq(),_A(n,this.d)),b5(this.e,n))},iSn.lg=function(n,t,e,i){var r,c,a,o,u,s,h;for(t!=OF(e,n.length)&&(c=n[t-(e?1:-1)],eY(this.f,c,e?(v3(),U8n):(v3(),H8n))),r=n[t][0],h=!i||r.k==(Yhn(),aQn),s=KJ(n[t]),this.vg(s,h,!1,e),a=0,u=new mw(s);u.a"),n0?LX(this.a,n[t-1],n[t]):!e&&t0&&(e+=u.n.a+u.o.a/2,++f),b=new mw(u.j);b.a0&&(e/=f),g=tZ(Zdt,jCn,28,i.a.c.length,15,1),o=0,s=new mw(i.a);s.a1&&(py(X$(ghn(dU((xz(0,n.c.length),JR(n.c[0],10))),(LEn(),M4n))))?$dn(n,this.d,this):(eq(),_A(n,this.d)),py(X$(ghn(dU((xz(0,n.c.length),JR(n.c[0],10))),M4n)))||b5(this.e,n))},EH(yDn,"ModelOrderBarycenterHeuristic",669),_wn(1866,1,uIn,Mg),iSn.Ne=function(n,t){return mfn(this.a,JR(n,10),JR(t,10))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(yDn,"ModelOrderBarycenterHeuristic/lambda$0$Type",1866),_wn(1423,1,gDn,ll),iSn.rg=function(n){var t;return JR(n,36),eF(t=tA(_9n),(phn(),vWn),(zEn(),MJn)),t},iSn.Kf=function(n,t){!function(n){n.Ug("No crossing minimization",1),n.Vg()}((JR(n,36),t))},EH(yDn,"NoCrossingMinimizer",1423),_wn(809,413,vDn,HM),iSn.tg=function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b;switch(f=this.g,e.g){case 1:for(r=0,c=0,h=new mw(n.j);h.a1&&(r.j==($jn(),dht)?this.b[n]=!0:r.j==Dht&&n>0&&(this.b[n-1]=!0))},iSn.f=0,EH(MLn,"AllCrossingsCounter",1861),_wn(595,1,{},$4),iSn.b=0,iSn.d=0,EH(MLn,"BinaryIndexedTree",595),_wn(532,1,{},Rx),EH(MLn,"CrossingsCounter",532),_wn(1950,1,uIn,Tg),iSn.Ne=function(n,t){return function(n,t,e){return GA(n.d[t.p],n.d[e.p])}(this.a,JR(n,12),JR(t,12))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(MLn,"CrossingsCounter/lambda$0$Type",1950),_wn(1951,1,uIn,jg),iSn.Ne=function(n,t){return function(n,t,e){return GA(n.d[t.p],n.d[e.p])}(this.a,JR(n,12),JR(t,12))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(MLn,"CrossingsCounter/lambda$1$Type",1951),_wn(1952,1,uIn,Eg),iSn.Ne=function(n,t){return function(n,t,e){return GA(n.d[t.p],n.d[e.p])}(this.a,JR(n,12),JR(t,12))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(MLn,"CrossingsCounter/lambda$2$Type",1952),_wn(1953,1,uIn,Sg),iSn.Ne=function(n,t){return function(n,t,e){return GA(n.d[t.p],n.d[e.p])}(this.a,JR(n,12),JR(t,12))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(MLn,"CrossingsCounter/lambda$3$Type",1953),_wn(1954,1,qSn,Pg),iSn.Cd=function(n){!function(n,t){yR(),AL(n,new uI(t,ann(t.e.c.length+t.g.c.length)))}(this.a,JR(n,12))},EH(MLn,"CrossingsCounter/lambda$4$Type",1954),_wn(1955,1,gPn,Cg),iSn.Mb=function(n){return function(n,t){return yR(),t!=n}(this.a,JR(n,12))},EH(MLn,"CrossingsCounter/lambda$5$Type",1955),_wn(1956,1,qSn,Ig),iSn.Cd=function(n){OI(this,n)},EH(MLn,"CrossingsCounter/lambda$6$Type",1956),_wn(1957,1,qSn,FP),iSn.Cd=function(n){var t;yR(),MW(this.b,(t=this.a,JR(n,12),t))},EH(MLn,"CrossingsCounter/lambda$7$Type",1957),_wn(839,1,SIn,Nc),iSn.Lb=function(n){return yR(),b$(JR(n,12),(qEn(),a0n))},iSn.Fb=function(n){return this===n},iSn.Mb=function(n){return yR(),b$(JR(n,12),(qEn(),a0n))},EH(MLn,"CrossingsCounter/lambda$8$Type",839),_wn(1949,1,{},Og),EH(MLn,"HyperedgeCrossingsCounter",1949),_wn(478,1,{34:1,478:1},cx),iSn.Fd=function(n){return function(n,t){return n.et.e?1:n.ft.f?1:F4(n)-F4(t)}(this,JR(n,478))},iSn.b=0,iSn.c=0,iSn.e=0,iSn.f=0;var G9n=EH(MLn,"HyperedgeCrossingsCounter/Hyperedge",478);_wn(374,1,{34:1,374:1},pG),iSn.Fd=function(n){return function(n,t){return n.ct.c?1:n.bt.b?1:n.a!=t.a?F4(n.a)-F4(t.a):n.d==(AW(),X9n)&&t.d==q9n?-1:n.d==q9n&&t.d==X9n?1:0}(this,JR(n,374))},iSn.b=0,iSn.c=0;var q9n,X9n,z9n=EH(MLn,"HyperedgeCrossingsCounter/HyperedgeCorner",374);_wn(531,22,{3:1,34:1,22:1,531:1},_P);var V9n,W9n,Q9n,J9n,Y9n,Z9n=r3(MLn,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",531,jUn,(function(){return AW(),a8(uM(Z9n,1),lPn,531,0,[X9n,q9n])}),(function(n){return AW(),i3((DQ(),V9n),n)}));_wn(1425,1,gDn,bl),iSn.rg=function(n){return JR(ghn(JR(n,36),(qEn(),x1n)),21).Hc((zpn(),WZn))?W9n:null},iSn.Kf=function(n,t){!function(n,t,e){var i;for(e.Ug("Interactive node placement",1),n.a=JR(ghn(t,(qEn(),w0n)),312),i=new mw(t.b);i.a1},EH(MDn,"NetworkSimplexPlacer/lambda$18$Type",1451),_wn(1452,1,qSn,vG),iSn.Cd=function(n){!function(n,t,e,i,r){ez(),Qgn(uE(oE(aE(sE(new yv,0),r.d.e-n),t),r.d)),Qgn(uE(oE(aE(sE(new yv,0),e-r.a.e),r.a),i))}(this.c,this.b,this.d,this.a,JR(n,412))},iSn.c=0,iSn.d=0,EH(MDn,"NetworkSimplexPlacer/lambda$19$Type",1452),_wn(1435,1,{},qc),iSn.Kb=function(n){return ez(),new PF(null,new Kz(JR(n,30).a,16))},EH(MDn,"NetworkSimplexPlacer/lambda$2$Type",1435),_wn(1453,1,qSn,$g),iSn.Cd=function(n){!function(n,t){ez(),t.n.b+=n}(this.a,JR(n,12))},iSn.a=0,EH(MDn,"NetworkSimplexPlacer/lambda$20$Type",1453),_wn(1454,1,{},Xc),iSn.Kb=function(n){return ez(),new PF(null,new Kz(JR(n,30).a,16))},EH(MDn,"NetworkSimplexPlacer/lambda$21$Type",1454),_wn(1455,1,qSn,Dg),iSn.Cd=function(n){SL(this.a,JR(n,10))},EH(MDn,"NetworkSimplexPlacer/lambda$22$Type",1455),_wn(1456,1,gPn,zc),iSn.Mb=function(n){return mD(n)},EH(MDn,"NetworkSimplexPlacer/lambda$23$Type",1456),_wn(1457,1,{},Vc),iSn.Kb=function(n){return ez(),new PF(null,new Kz(JR(n,30).a,16))},EH(MDn,"NetworkSimplexPlacer/lambda$24$Type",1457),_wn(1458,1,gPn,xg),iSn.Mb=function(n){return function(n,t){return 2==n.j[t.p]}(this.a,JR(n,10))},EH(MDn,"NetworkSimplexPlacer/lambda$25$Type",1458),_wn(1459,1,qSn,UP),iSn.Cd=function(n){!function(n,t,e){var i,r,c;for(r=new F_(wN(Ktn(e).a.Kc(),new h));Bwn(r);)sJ(i=JR(MJ(r),18))||!sJ(i)&&i.c.i.c==i.d.i.c||(c=Zdn(n,i,e,new Bv)).c.length>1&&Km(t.c,c)}(this.a,this.b,JR(n,10))},EH(MDn,"NetworkSimplexPlacer/lambda$26$Type",1459),_wn(1460,1,gPn,Wc),iSn.Mb=function(n){return ez(),!sJ(JR(n,18))},EH(MDn,"NetworkSimplexPlacer/lambda$27$Type",1460),_wn(1461,1,gPn,Qc),iSn.Mb=function(n){return ez(),!sJ(JR(n,18))},EH(MDn,"NetworkSimplexPlacer/lambda$28$Type",1461),_wn(1462,1,{},Rg),iSn.Ve=function(n,t){return WA(this.a,JR(n,30),JR(t,30))},EH(MDn,"NetworkSimplexPlacer/lambda$29$Type",1462),_wn(1436,1,{},Jc),iSn.Kb=function(n){return ez(),new PF(null,new fH(new F_(wN(_tn(JR(n,10)).a.Kc(),new h))))},EH(MDn,"NetworkSimplexPlacer/lambda$3$Type",1436),_wn(1437,1,gPn,Yc),iSn.Mb=function(n){return ez(),function(n){return ez(),!(sJ(n)||!sJ(n)&&n.c.i.c==n.d.i.c)}(JR(n,18))},EH(MDn,"NetworkSimplexPlacer/lambda$4$Type",1437),_wn(1438,1,qSn,Kg),iSn.Cd=function(n){!function(n,t){var e,r,c,a,o,u,s,h,f,l,b;e=LN(new Mv,n.f),u=n.i[t.c.i.p],l=n.i[t.d.i.p],o=t.c,f=t.d,a=o.a.b,h=f.a.b,u.b||(a+=o.n.b),l.b||(h+=f.n.b),s=lX(i.Math.max(0,a-h)),c=lX(i.Math.max(0,h-a)),b=i.Math.max(1,JR(ghn(t,(LEn(),e5n)),17).a)*nQ(t.c.i.k,t.d.i.k),r=new BP(Qgn(uE(oE(aE(sE(new yv,b),c),e),JR(RH(n.k,t.c),125))),Qgn(uE(oE(aE(sE(new yv,b),s),e),JR(RH(n.k,t.d),125)))),n.c[t.p]=r}(this.a,JR(n,18))},EH(MDn,"NetworkSimplexPlacer/lambda$5$Type",1438),_wn(1439,1,{},Zc),iSn.Kb=function(n){return ez(),new PF(null,new Kz(JR(n,30).a,16))},EH(MDn,"NetworkSimplexPlacer/lambda$6$Type",1439),_wn(1440,1,gPn,na),iSn.Mb=function(n){return ez(),JR(n,10).k==(Yhn(),sQn)},EH(MDn,"NetworkSimplexPlacer/lambda$7$Type",1440),_wn(1441,1,{},ta),iSn.Kb=function(n){return ez(),new PF(null,new fH(new F_(wN(Ktn(JR(n,10)).a.Kc(),new h))))},EH(MDn,"NetworkSimplexPlacer/lambda$8$Type",1441),_wn(1442,1,gPn,ea),iSn.Mb=function(n){return ez(),function(n){return!sJ(n)&&n.c.i.c==n.d.i.c}(JR(n,18))},EH(MDn,"NetworkSimplexPlacer/lambda$9$Type",1442),_wn(1424,1,gDn,dl),iSn.rg=function(n){return JR(ghn(JR(n,36),(qEn(),x1n)),21).Hc((zpn(),WZn))?i7n:null},iSn.Kf=function(n,t){!function(n,t){var e,r,c,a,o,u,s,h,f,l;for(t.Ug("Simple node placement",1),l=JR(ghn(n,(qEn(),w0n)),312),u=0,a=new mw(n.b);a.a0?(b=(w-1)*e,o&&(b+=i),h&&(b+=i),b0&&(y-=d),aTn(o,y),l=0,w=new mw(o.a);w.a0),u.a.Xb(u.c=--u.b)),s=.4*r*l,!a&&u.b"+this.b+" ("+((null!=(n=this.c).f?n.f:""+n.g)+")");var n},iSn.d=0,EH(PDn,"HyperEdgeSegmentDependency",132),_wn(528,22,{3:1,34:1,22:1,528:1},rC);var A7n,L7n,N7n,$7n,D7n,x7n,R7n,K7n,F7n=r3(PDn,"HyperEdgeSegmentDependency/DependencyType",528,jUn,(function(){return mY(),a8(uM(F7n,1),lPn,528,0,[I7n,C7n])}),(function(n){return mY(),i3((BQ(),A7n),n)}));_wn(1878,1,{},_g),EH(PDn,"HyperEdgeSegmentSplitter",1878),_wn(1879,1,{},VM),iSn.a=0,iSn.b=0,EH(PDn,"HyperEdgeSegmentSplitter/AreaRating",1879),_wn(339,1,{339:1},jR),iSn.a=0,iSn.b=0,iSn.c=0,EH(PDn,"HyperEdgeSegmentSplitter/FreeArea",339),_wn(1880,1,uIn,ba),iSn.Ne=function(n,t){return function(n,t){return wtn(n.c-n.s,t.c-t.s)}(JR(n,118),JR(t,118))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(PDn,"HyperEdgeSegmentSplitter/lambda$0$Type",1880),_wn(1881,1,qSn,yG),iSn.Cd=function(n){GW(this.a,this.d,this.c,this.b,JR(n,118))},iSn.b=0,EH(PDn,"HyperEdgeSegmentSplitter/lambda$1$Type",1881),_wn(1882,1,{},wa),iSn.Kb=function(n){return new PF(null,new Kz(JR(n,118).e,16))},EH(PDn,"HyperEdgeSegmentSplitter/lambda$2$Type",1882),_wn(1883,1,{},da),iSn.Kb=function(n){return new PF(null,new Kz(JR(n,118).j,16))},EH(PDn,"HyperEdgeSegmentSplitter/lambda$3$Type",1883),_wn(1884,1,{},ga),iSn.Ye=function(n){return my(z$(n))},EH(PDn,"HyperEdgeSegmentSplitter/lambda$4$Type",1884),_wn(664,1,{},lH),iSn.a=0,iSn.b=0,iSn.c=0,EH(PDn,"OrthogonalRoutingGenerator",664),_wn(1703,1,{},pa),iSn.Kb=function(n){return new PF(null,new Kz(JR(n,118).e,16))},EH(PDn,"OrthogonalRoutingGenerator/lambda$0$Type",1703),_wn(1704,1,{},ma),iSn.Kb=function(n){return new PF(null,new Kz(JR(n,118).j,16))},EH(PDn,"OrthogonalRoutingGenerator/lambda$1$Type",1704),_wn(670,1,{}),EH(CDn,"BaseRoutingDirectionStrategy",670),_wn(1870,670,{},Qv),iSn.yg=function(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*e,h=new mw(n.n);h.aQOn&&(c=n,r=new DC(l,a=f),HK(o.a,r),Tkn(this,o,c,r,!1),(b=n.r)&&(r=new DC(w=my(z$(Yrn(b.e,0))),a),HK(o.a,r),Tkn(this,o,c,r,!1),c=b,r=new DC(w,a=t+b.o*e),HK(o.a,r),Tkn(this,o,c,r,!1)),r=new DC(g,a),HK(o.a,r),Tkn(this,o,c,r,!1)))},iSn.zg=function(n){return n.i.n.a+n.n.a+n.a.a},iSn.Ag=function(){return $jn(),Nht},iSn.Bg=function(){return $jn(),ght},EH(CDn,"NorthToSouthRoutingStrategy",1870),_wn(1871,670,{},Jv),iSn.yg=function(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t-n.o*e,h=new mw(n.n);h.aQOn&&(c=n,r=new DC(l,a=f),HK(o.a,r),Tkn(this,o,c,r,!1),(b=n.r)&&(r=new DC(w=my(z$(Yrn(b.e,0))),a),HK(o.a,r),Tkn(this,o,c,r,!1),c=b,r=new DC(w,a=t-b.o*e),HK(o.a,r),Tkn(this,o,c,r,!1)),r=new DC(g,a),HK(o.a,r),Tkn(this,o,c,r,!1)))},iSn.zg=function(n){return n.i.n.a+n.n.a+n.a.a},iSn.Ag=function(){return $jn(),ght},iSn.Bg=function(){return $jn(),Nht},EH(CDn,"SouthToNorthRoutingStrategy",1871),_wn(1869,670,{},Yv),iSn.yg=function(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g;if(!n.r||n.q)for(f=t+n.o*e,h=new mw(n.n);h.aQOn&&(c=n,r=new DC(a=f,l),HK(o.a,r),Tkn(this,o,c,r,!0),(b=n.r)&&(r=new DC(a,w=my(z$(Yrn(b.e,0)))),HK(o.a,r),Tkn(this,o,c,r,!0),c=b,r=new DC(a=t+b.o*e,w),HK(o.a,r),Tkn(this,o,c,r,!0)),r=new DC(a,g),HK(o.a,r),Tkn(this,o,c,r,!0)))},iSn.zg=function(n){return n.i.n.b+n.n.b+n.a.b},iSn.Ag=function(){return $jn(),dht},iSn.Bg=function(){return $jn(),Dht},EH(CDn,"WestToEastRoutingStrategy",1869),_wn(828,1,{},Ayn),iSn.Ib=function(){return Chn(this.a)},iSn.b=0,iSn.c=!1,iSn.d=!1,iSn.f=0,EH(ODn,"NubSpline",828),_wn(418,1,{418:1},kpn,Yq),EH(ODn,"NubSpline/PolarCP",418),_wn(1480,1,gDn,Jan),iSn.rg=function(n){return function(n){var t,e;return n5(t=new OU,L7n),(e=JR(ghn(n,(qEn(),x1n)),21)).Hc((zpn(),t1n))&&n5(t,x7n),e.Hc(XZn)&&n5(t,N7n),e.Hc(ZZn)&&n5(t,D7n),e.Hc(VZn)&&n5(t,$7n),t}(JR(n,36))},iSn.Kf=function(n,t){!function(n,t,e){var r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S,P,C;if(e.Ug("Spline edge routing",1),0==t.b.c.length)return t.f.a=0,void e.Vg();m=my(z$(ghn(t,(LEn(),k5n)))),u=my(z$(ghn(t,b5n))),o=my(z$(ghn(t,h5n))),j=JR(ghn(t,z4n),350)==(a7(),c9n),T=my(z$(ghn(t,V4n))),n.d=t,n.j.c.length=0,n.a.c.length=0,CB(n.k),f=QI((s=JR(bF(t.b,0),30)).a,(fpn(),S7n)),l=QI((d=JR(bF(t.b,t.b.c.length-1),30)).a,S7n),g=new mw(t.b),p=null,C=0;do{for(Rjn(n,p,v=g.a0?(h=0,p&&(h+=u),h+=(E-1)*o,v&&(h+=u),j&&v&&(h=i.Math.max(h,npn(v,o,m,T))),h("+this.c+") "+this.b},iSn.c=0,EH(ODn,"SplineEdgeRouter/Dependency",274),_wn(465,22,{3:1,34:1,22:1,465:1},cC);var _7n,B7n,H7n,U7n,G7n,q7n=r3(ODn,"SplineEdgeRouter/SideToProcess",465,jUn,(function(){return yX(),a8(uM(q7n,1),lPn,465,0,[R7n,K7n])}),(function(n){return yX(),i3((HQ(),_7n),n)}));_wn(1481,1,gPn,va),iSn.Mb=function(n){return lpn(),!JR(n,131).o},EH(ODn,"SplineEdgeRouter/lambda$0$Type",1481),_wn(1482,1,{},ka),iSn.Ze=function(n){return lpn(),JR(n,131).v+1},EH(ODn,"SplineEdgeRouter/lambda$1$Type",1482),_wn(1483,1,qSn,nC),iSn.Cd=function(n){!function(n,t,e){DU(n.b,JR(e.b,18),t)}(this.a,this.b,JR(n,42))},EH(ODn,"SplineEdgeRouter/lambda$2$Type",1483),_wn(1484,1,qSn,tC),iSn.Cd=function(n){!function(n,t,e){DU(n.b,JR(e.b,18),t)}(this.a,this.b,JR(n,42))},EH(ODn,"SplineEdgeRouter/lambda$3$Type",1484),_wn(131,1,{34:1,131:1},Eln,nTn),iSn.Fd=function(n){return function(n,t){return n.s-t.s}(this,JR(n,131))},iSn.b=0,iSn.e=!1,iSn.f=0,iSn.g=0,iSn.j=!1,iSn.k=!1,iSn.n=0,iSn.o=!1,iSn.p=!1,iSn.q=!1,iSn.s=0,iSn.u=0,iSn.v=0,iSn.F=0,EH(ODn,"SplineSegment",131),_wn(468,1,{468:1},ya),iSn.a=0,iSn.b=!1,iSn.c=!1,iSn.d=!1,iSn.e=!1,iSn.f=0,EH(ODn,"SplineSegment/EdgeInformation",468),_wn(1198,1,{},Ma),EH(DDn,_On,1198),_wn(1199,1,uIn,Ta),iSn.Ne=function(n,t){return function(n,t){var e,i,r;return 0==(e=JR(ghn(t,(hyn(),dtt)),17).a-JR(ghn(n,dtt),17).a)?(i=fx(cL(JR(ghn(n,(Ojn(),bnt)),8)),JR(ghn(n,wnt),8)),r=fx(cL(JR(ghn(t,bnt),8)),JR(ghn(t,wnt),8)),wtn(i.a*i.b,r.a*r.b)):e}(JR(n,121),JR(t,121))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(DDn,BOn,1199),_wn(1197,1,{},jT),EH(DDn,"MrTree",1197),_wn(405,22,{3:1,34:1,22:1,405:1,188:1,196:1},aC),iSn.dg=function(){return Ebn(this)},iSn.qg=function(){return Ebn(this)};var X7n,z7n=r3(DDn,"TreeLayoutPhases",405,jUn,(function(){return kon(),a8(uM(z7n,1),lPn,405,0,[B7n,H7n,U7n,G7n])}),(function(n){return kon(),i3((o1(),X7n),n)}));_wn(1112,205,pOn,ix),iSn.rf=function(n,t){var e,r,c,a,o,u,s;for(py(X$(fdn(n,(hyn(),htt))))||fX(new Ww((_E(),new oy(n)))),(a=t.eh(xDn)).Ug("build tGraph",1),y5(u=new fY,n),A8(u,(Ojn(),Ant),n),function(n,t,e){var r,c,a,o,u;for(a=0,c=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));c.e!=c.i.gc();)o="",0==(!(r=JR(Urn(c),27)).n&&(r.n=new aB(olt,r,1,7)),r.n).i||(o=JR(d2((!r.n&&(r.n=new aB(olt,r,1,7)),r.n),0),135).a),y5(u=new g9(a++,t,o),r),A8(u,(Ojn(),Ant),r),u.e.b=r.j+r.f/2,u.f.a=i.Math.max(r.g,1),u.e.a=r.i+r.g/2,u.f.b=i.Math.max(r.f,1),HK(t.b,u),Pln(e.f,r,u)}(n,u,s=new ym),function(n,t,e){var i,r,c,a,o,u,s;for(a=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));a.e!=a.i.gc();)for(r=new F_(wN(Jdn(c=JR(Urn(a),27)).a.Kc(),new h));Bwn(r);)Pwn(i=JR(MJ(r),74))||Pwn(i)||Dbn(i)||(u=JR(HI(WF(e.f,c)),40),s=JR(RH(e,Bsn(JR(d2((!i.c&&(i.c=new yx(nlt,i,5,8)),i.c),0),84))),40),u&&s&&(A8(o=new nq(u,s),(Ojn(),Ant),i),y5(o,i),HK(u.d,o),HK(s.b,o),HK(t.a,o)))}(n,u,s),o=u,a.Vg(),(a=t.eh(xDn)).Ug("Split graph",1),c=hkn(this.a,o),a.Vg(),r=new mw(c);r.al&&(P=0,C+=f+T,f=0),Wvn(y,o,P,C),t=i.Math.max(t,P+M.a),f=i.Math.max(f,M.b),P+=M.a+T;for(k=new ym,e=new ym,E=new mw(n);E.a"+tV(t.c):"e_"+F4(t),n.b&&n.c?tV(n.b)+"->"+tV(n.c):"e_"+F4(n))}(this.a,JR(n,65))},EH(DDn,"TreeUtil/lambda$3$Type",1886),_wn(1887,1,uIn,ja),iSn.Ne=function(n,t){return function(n,t){return wtn(n.b.e.a,t.b.e.a)}(JR(n,65),JR(t,65))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(DDn,"TreeUtil/lambda$4$Type",1887),_wn(1888,1,gPn,Gg),iSn.Mb=function(n){return function(n,t){return Cx(t.b&&t.c?tV(t.b)+"->"+tV(t.c):"e_"+F4(t),n.b&&n.c?tV(n.b)+"->"+tV(n.c):"e_"+F4(n))}(this.a,JR(n,65))},EH(DDn,"TreeUtil/lambda$7$Type",1888),_wn(1889,1,uIn,Ca),iSn.Ne=function(n,t){return function(n,t){return wtn(n.c.e.a,t.c.e.a)}(JR(n,65),JR(t,65))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(DDn,"TreeUtil/lambda$8$Type",1889),_wn(1890,1,{},Ia),iSn.Kb=function(n){return JR(n,65).b},EH(DDn,"TreeUtil/lambda$9$Type",1890),_wn(508,137,{3:1,508:1,96:1,137:1}),iSn.g=0,EH(KDn,"TGraphElement",508),_wn(65,508,{3:1,65:1,508:1,96:1,137:1},nq),iSn.Ib=function(){return this.b&&this.c?tV(this.b)+"->"+tV(this.c):"e_"+F4(this)},EH(KDn,"TEdge",65),_wn(121,137,{3:1,121:1,96:1,137:1},fY),iSn.Ib=function(){var n,t,e,i,r;for(r=null,i=$rn(this.b,0);i.b!=i.d.c;)r+=(null==(e=JR(kW(i),40)).c||0==e.c.length?"n_"+e.g:"n_"+e.c)+"\n";for(t=$rn(this.a,0);t.b!=t.d.c;)r+=((n=JR(kW(t),65)).b&&n.c?tV(n.b)+"->"+tV(n.c):"e_"+F4(n))+"\n";return r};var V7n=EH(KDn,"TGraph",121);_wn(643,508,{3:1,508:1,643:1,96:1,137:1}),EH(KDn,"TShape",643),_wn(40,643,{3:1,508:1,40:1,643:1,96:1,137:1},g9),iSn.Ib=function(){return tV(this)};var W7n,Q7n,J7n,Y7n,Z7n,nnt,tnt,ent,int,rnt,cnt,ant=EH(KDn,"TNode",40);_wn(236,1,QSn,qg),iSn.Jc=function(n){QQ(this,n)},iSn.Kc=function(){return new Xg($rn(this.a.d,0))},EH(KDn,"TNode/2",236),_wn(329,1,ISn,Xg),iSn.Nb=function(n){yB(this,n)},iSn.Pb=function(){return JR(kW(this.a),65).c},iSn.Ob=function(){return AT(this.a)},iSn.Qb=function(){W0(this.a)},EH(KDn,"TNode/2/1",329),_wn(1923,1,qAn,Oa),iSn.Kf=function(n,t){$En(this,JR(n,121),t)},EH(_Dn,"CompactionProcessor",1923),_wn(1924,1,uIn,zg),iSn.Ne=function(n,t){return function(n,t,e){return wtn(CL(Arn(n),new DC(t.e.a,t.e.b)),CL(Arn(n),new DC(e.e.a,e.e.b)))}(this.a,JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(_Dn,"CompactionProcessor/lambda$0$Type",1924),_wn(1925,1,gPn,iC),iSn.Mb=function(n){return function(n,t,e){return my(z$(e.a))<=n&&my(z$(e.b))>=t}(this.b,this.a,JR(n,42))},iSn.a=0,iSn.b=0,EH(_Dn,"CompactionProcessor/lambda$1$Type",1925),_wn(1934,1,uIn,Aa),iSn.Ne=function(n,t){return function(n,t){return wtn(n.e.a+n.f.a,t.e.a+t.f.a)}(JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(_Dn,"CompactionProcessor/lambda$10$Type",1934),_wn(1935,1,uIn,La),iSn.Ne=function(n,t){return function(n,t){return wtn(n.e.b,t.e.b)}(JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(_Dn,"CompactionProcessor/lambda$11$Type",1935),_wn(1936,1,uIn,Na),iSn.Ne=function(n,t){return function(n,t){return wtn(n.e.b+n.f.b,t.e.b+t.f.b)}(JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(_Dn,"CompactionProcessor/lambda$12$Type",1936),_wn(1926,1,gPn,Vg),iSn.Mb=function(n){return function(n,t){return my(z$(t.a))<=n}(this.a,JR(n,42))},iSn.a=0,EH(_Dn,"CompactionProcessor/lambda$2$Type",1926),_wn(1927,1,gPn,Wg),iSn.Mb=function(n){return function(n,t){return my(z$(t.a))>=n}(this.a,JR(n,42))},iSn.a=0,EH(_Dn,"CompactionProcessor/lambda$3$Type",1927),_wn(1928,1,gPn,$a),iSn.Mb=function(n){return-1==JR(n,40).c.indexOf(RDn)},EH(_Dn,"CompactionProcessor/lambda$4$Type",1928),_wn(1929,1,{},Qg),iSn.Kb=function(n){return function(n,t){return new SR(t,E$(cL(t.e),n,n),(UN(),!0))}(this.a,JR(n,40))},iSn.a=0,EH(_Dn,"CompactionProcessor/lambda$5$Type",1929),_wn(1930,1,{},Jg),iSn.Kb=function(n){return function(n,t){return new SR(t,y$(cL(t.e),t.f.a+n,t.f.b+n),(UN(),!1))}(this.a,JR(n,40))},iSn.a=0,EH(_Dn,"CompactionProcessor/lambda$6$Type",1930),_wn(1931,1,uIn,Yg),iSn.Ne=function(n,t){return function(n,t,e){return wtn(CL(Arn(n),cL(t.b)),CL(Arn(n),cL(e.b)))}(this.a,JR(n,240),JR(t,240))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(_Dn,"CompactionProcessor/lambda$7$Type",1931),_wn(1932,1,uIn,Zg),iSn.Ne=function(n,t){return function(n,t,e){return wtn(CL(Arn(n),cL(t.e)),CL(Arn(n),cL(e.e)))}(this.a,JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(_Dn,"CompactionProcessor/lambda$8$Type",1932),_wn(1933,1,uIn,Da),iSn.Ne=function(n,t){return function(n,t){return wtn(n.e.a,t.e.a)}(JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(_Dn,"CompactionProcessor/lambda$9$Type",1933),_wn(1921,1,qAn,xa),iSn.Kf=function(n,t){!function(n,t){var e,i,r,c,a,o,u;if(t.Ug("Process directions",1),(e=JR(ghn(n,(hyn(),Znt)),88))!=(Xnn(),qut))for(r=$rn(n.b,0);r.b!=r.d.c;){switch(i=JR(kW(r),40),o=JR(ghn(i,(Ojn(),Knt)),17).a,u=JR(ghn(i,Fnt),17).a,e.g){case 4:u*=-1;break;case 1:c=o,o=u,u=c;break;case 2:a=o,o=-u,u=a}A8(i,Knt,ann(o)),A8(i,Fnt,ann(u))}t.Vg()}(JR(n,121),t)},EH(_Dn,"DirectionProcessor",1921),_wn(1913,1,qAn,ex),iSn.Kf=function(n,t){Ekn(this,JR(n,121),t)},EH(_Dn,"FanProcessor",1913),_wn(1937,1,qAn,Ra),iSn.Kf=function(n,t){!function(n,t){t.Ug("Process graph bounds",1),A8(n,(Ojn(),ynt),zP(w6(sG(new PF(null,new Kz(n.b,16)),new Ka)))),A8(n,Tnt,zP(w6(sG(new PF(null,new Kz(n.b,16)),new Fa)))),A8(n,knt,zP(b6(sG(new PF(null,new Kz(n.b,16)),new _a)))),A8(n,Mnt,zP(b6(sG(new PF(null,new Kz(n.b,16)),new Ba)))),t.Vg()}(JR(n,121),t)},EH(_Dn,"GraphBoundsProcessor",1937),_wn(1938,1,{},Ka),iSn.Ye=function(n){return JR(n,40).e.a},EH(_Dn,"GraphBoundsProcessor/lambda$0$Type",1938),_wn(1939,1,{},Fa),iSn.Ye=function(n){return JR(n,40).e.b},EH(_Dn,"GraphBoundsProcessor/lambda$1$Type",1939),_wn(1940,1,{},_a),iSn.Ye=function(n){return function(n){return n.e.a+n.f.a}(JR(n,40))},EH(_Dn,"GraphBoundsProcessor/lambda$2$Type",1940),_wn(1941,1,{},Ba),iSn.Ye=function(n){return function(n){return n.e.b+n.f.b}(JR(n,40))},EH(_Dn,"GraphBoundsProcessor/lambda$3$Type",1941),_wn(262,22,{3:1,34:1,22:1,262:1,196:1},oC),iSn.dg=function(){switch(this.g){case 0:return new Mk;case 1:return new ex;case 2:return new yk;case 3:return new Xa;case 4:return new Ua;case 8:return new Ha;case 5:return new xa;case 6:return new Va;case 7:return new Oa;case 9:return new Ra;case 10:return new Wa;default:throw Lm(new Cy(wLn+(null!=this.f?this.f:""+this.g)))}};var ont,unt,snt,hnt,fnt=r3(_Dn,dLn,262,jUn,X6,(function(n){return Lvn(),i3((kO(),ont),n)}));_wn(1920,1,qAn,Ha),iSn.Kf=function(n,t){!function(n,t){var e,i,r,c,a;for(t.Ug("Processor determine the coords for each level",1),i=new Mm,a=$rn(n.b,0);a.b!=a.d.c;){for(r=JR(kW(a),40);JR(ghn(r,(hyn(),Ett)),17).a>i.c.length-1;)AL(i,new uI(xOn,FDn));e=JR(ghn(r,Ett),17).a,cA(JR(ghn(n,Znt),88))?(r.e.amy(z$((xz(e,i.c.length),JR(i.c[e],42)).b))&&Vb((xz(e,i.c.length),JR(i.c[e],42)),r.e.a+r.f.a)):(r.e.bmy(z$((xz(e,i.c.length),JR(i.c[e],42)).b))&&Vb((xz(e,i.c.length),JR(i.c[e],42)),r.e.b+r.f.b))}for(c=$rn(n.b,0);c.b!=c.d.c;)r=JR(kW(c),40),e=JR(ghn(r,(hyn(),Ett)),17).a,A8(r,(Ojn(),Int),z$((xz(e,i.c.length),JR(i.c[e],42)).a)),A8(r,Cnt,z$((xz(e,i.c.length),JR(i.c[e],42)).b));t.Vg()}(JR(n,121),t)},EH(_Dn,"LevelCoordinatesProcessor",1920),_wn(1918,1,qAn,Ua),iSn.Kf=function(n,t){Egn(this,JR(n,121),t)},iSn.a=0,EH(_Dn,"LevelHeightProcessor",1918),_wn(1919,1,QSn,Ga),iSn.Jc=function(n){QQ(this,n)},iSn.Kc=function(){return eq(),Xj(),GGn},EH(_Dn,"LevelHeightProcessor/1",1919),_wn(1914,1,qAn,yk),iSn.Kf=function(n,t){tmn(this,JR(n,121),t)},EH(_Dn,"LevelProcessor",1914),_wn(1915,1,gPn,qa),iSn.Mb=function(n){return py(X$(ghn(JR(n,40),(Ojn(),Rnt))))},EH(_Dn,"LevelProcessor/lambda$0$Type",1915),_wn(1916,1,qAn,Xa),iSn.Kf=function(n,t){pln(this,JR(n,121),t)},iSn.a=0,EH(_Dn,"NeighborsProcessor",1916),_wn(1917,1,QSn,za),iSn.Jc=function(n){QQ(this,n)},iSn.Kc=function(){return eq(),Xj(),GGn},EH(_Dn,"NeighborsProcessor/1",1917),_wn(1922,1,qAn,Va),iSn.Kf=function(n,t){!function(n,t,e){var i,r,c,a,o,u,s,h,f;for(e.Ug("Processor set coordinates",1),n.a=0==t.b.b?1:t.b.b,s=null,i=$rn(t.b,0);!s&&i.b!=i.d.c;)py(X$(ghn(f=JR(kW(i),40),(Ojn(),Rnt))))&&(s=f,(u=f.e).a=JR(ghn(f,Knt),17).a,u.b=JR(ghn(f,Fnt),17).a);o=Y5(s),h=1;do{h=(o=Hhn((r=o,e.eh(h),r))).b/n.a|0}while(0!=o.b);for(a=$rn(t.b,0);a.b!=a.d.c;)fx((c=JR(kW(a),40)).e,new DC(c.f.a/2,c.f.b/2));e.Vg()}(this,JR(n,121),t)},iSn.a=0,EH(_Dn,"NodePositionProcessor",1922),_wn(1912,1,qAn,Mk),iSn.Kf=function(n,t){!function(n,t,e){var i,r,c,a,o,u,s;for(e.Ug("Find roots",1),n.a.c.length=0,r=$rn(t.b,0);r.b!=r.d.c;)0==(i=JR(kW(r),40)).b.b&&(A8(i,(Ojn(),Rnt),(UN(),!0)),AL(n.a,i));switch(n.a.c.length){case 0:A8(c=new g9(0,t,"DUMMY_ROOT"),(Ojn(),Rnt),(UN(),!0)),A8(c,mnt,!0),HK(t.b,c);break;case 1:break;default:for(a=new g9(0,t,RDn),u=new mw(n.a);u.a=0}(this.a,JR(n,40))},EH(ixn,"NodeOrderer/lambda$2$Type",1490),_wn(1491,1,gPn,np),iSn.Mb=function(n){return function(n,t){return y2(),JR(ghn(t,(hyn(),wtt)),17).a>=n.gc()}(this.a,JR(n,40))},EH(ixn,"NodeOrderer/lambda$3$Type",1491),_wn(1492,1,uIn,go),iSn.Ne=function(n,t){return function(n,t){return y2(),-GA(JR(ghn(n,(hyn(),wtt)),17).a,JR(ghn(t,wtt),17).a)}(JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(ixn,"NodeOrderer/lambda$4$Type",1492),_wn(1493,1,gPn,po),iSn.Mb=function(n){return y2(),0!=JR(ghn(JR(n,40),(Ojn(),vnt)),17).a},EH(ixn,"NodeOrderer/lambda$5$Type",1493),_wn(1495,1,gDn,vl),iSn.rg=function(n){return JR(n,121),Ftt},iSn.Kf=function(n,t){Jvn(this,JR(n,121),t)},iSn.b=0,EH("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1495),_wn(1496,1,gDn,ml),iSn.rg=function(n){return JR(n,121),_tt},iSn.Kf=function(n,t){yvn(JR(n,121),t)},EH(rxn,"EdgeRouter",1496),_wn(1498,1,uIn,fo),iSn.Ne=function(n,t){return GA(JR(n,17).a,JR(t,17).a)},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/0methodref$compare$Type",1498),_wn(1503,1,{},Ya),iSn.Ye=function(n){return my(z$(n))},EH(rxn,"EdgeRouter/1methodref$doubleValue$Type",1503),_wn(1505,1,uIn,Za),iSn.Ne=function(n,t){return wtn(my(z$(n)),my(z$(t)))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/2methodref$compare$Type",1505),_wn(1507,1,uIn,no),iSn.Ne=function(n,t){return wtn(my(z$(n)),my(z$(t)))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/3methodref$compare$Type",1507),_wn(1509,1,{},Ja),iSn.Ye=function(n){return my(z$(n))},EH(rxn,"EdgeRouter/4methodref$doubleValue$Type",1509),_wn(1511,1,uIn,to),iSn.Ne=function(n,t){return wtn(my(z$(n)),my(z$(t)))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/5methodref$compare$Type",1511),_wn(1513,1,uIn,eo),iSn.Ne=function(n,t){return wtn(my(z$(n)),my(z$(t)))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/6methodref$compare$Type",1513),_wn(1497,1,{},io),iSn.Kb=function(n){return M2(),JR(ghn(JR(n,40),(hyn(),Ett)),17)},EH(rxn,"EdgeRouter/lambda$0$Type",1497),_wn(1508,1,{},ro),iSn.Kb=function(n){return function(n){return M2(),n.e.a+n.f.a/2}(JR(n,40))},EH(rxn,"EdgeRouter/lambda$11$Type",1508),_wn(1510,1,{},CC),iSn.Kb=function(n){return function(n,t,e){return M2(),e.e.a+e.f.a+n*t}(this.b,this.a,JR(n,40))},iSn.a=0,iSn.b=0,EH(rxn,"EdgeRouter/lambda$13$Type",1510),_wn(1512,1,{},IC),iSn.Kb=function(n){return function(n,t,e){return M2(),e.e.a-n*t}(this.b,this.a,JR(n,40))},iSn.a=0,iSn.b=0,EH(rxn,"EdgeRouter/lambda$15$Type",1512),_wn(1514,1,uIn,co),iSn.Ne=function(n,t){return function(n,t){return M2(),wtn((0==n.a.b?new DC(n.c.e.a,n.c.e.b):JR(h$(n.a),8)).b,(0==t.a.b?new DC(t.c.e.a,t.c.e.b):JR(h$(t.a),8)).b)}(JR(n,65),JR(t,65))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/lambda$17$Type",1514),_wn(1515,1,uIn,ao),iSn.Ne=function(n,t){return function(n,t){return M2(),wtn((0==n.a.b?new DC(n.c.e.a,n.c.e.b):JR(h$(n.a),8)).a,(0==t.a.b?new DC(t.c.e.a,t.c.e.b):JR(h$(t.a),8)).a)}(JR(n,65),JR(t,65))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/lambda$18$Type",1515),_wn(1516,1,uIn,oo),iSn.Ne=function(n,t){return function(n,t){return M2(),wtn((0==n.a.b?new DC(n.b.e.a,n.b.e.b):JR(f$(n.a),8)).b,(0==t.a.b?new DC(t.b.e.a,t.b.e.b):JR(f$(t.a),8)).b)}(JR(n,65),JR(t,65))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/lambda$19$Type",1516),_wn(1499,1,gPn,ep),iSn.Mb=function(n){return function(n,t){return M2(),JR(ghn(t,(hyn(),Ett)),17).a==n}(this.a,JR(n,40))},iSn.a=0,EH(rxn,"EdgeRouter/lambda$2$Type",1499),_wn(1517,1,uIn,uo),iSn.Ne=function(n,t){return function(n,t){return M2(),wtn((0==n.a.b?new DC(n.b.e.a,n.b.e.b):JR(f$(n.a),8)).a,(0==t.a.b?new DC(t.b.e.a,t.b.e.b):JR(f$(t.a),8)).a)}(JR(n,65),JR(t,65))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/lambda$20$Type",1517),_wn(1500,1,uIn,so),iSn.Ne=function(n,t){return function(n,t){return M2(),wtn(n.e.b,t.e.b)}(JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/lambda$3$Type",1500),_wn(1501,1,uIn,ho),iSn.Ne=function(n,t){return function(n,t){return M2(),wtn(n.e.a,t.e.a)}(JR(n,40),JR(t,40))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"EdgeRouter/lambda$4$Type",1501),_wn(1502,1,{},mo),iSn.Kb=function(n){return function(n){return M2(),n.e.b+n.f.b/2}(JR(n,40))},EH(rxn,"EdgeRouter/lambda$5$Type",1502),_wn(1504,1,{},OC),iSn.Kb=function(n){return function(n,t,e){return M2(),e.e.b+e.f.b+n*t}(this.b,this.a,JR(n,40))},iSn.a=0,iSn.b=0,EH(rxn,"EdgeRouter/lambda$7$Type",1504),_wn(1506,1,{},AC),iSn.Kb=function(n){return function(n,t,e){return M2(),e.e.b-n*t}(this.b,this.a,JR(n,40))},iSn.a=0,iSn.b=0,EH(rxn,"EdgeRouter/lambda$9$Type",1506),_wn(675,1,{675:1},Tan),iSn.e=0,iSn.f=!1,iSn.g=!1,EH(rxn,"MultiLevelEdgeNodeNodeGap",675),_wn(1943,1,uIn,vo),iSn.Ne=function(n,t){return function(n,t){return wtn(JR(n.c,65).c.e.b,JR(t.c,65).c.e.b)}(JR(n,240),JR(t,240))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"MultiLevelEdgeNodeNodeGap/lambda$0$Type",1943),_wn(1944,1,uIn,ko),iSn.Ne=function(n,t){return function(n,t){return wtn(JR(n.c,65).c.e.a,JR(t.c,65).c.e.a)}(JR(n,240),JR(t,240))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(rxn,"MultiLevelEdgeNodeNodeGap/lambda$1$Type",1944),_wn(501,22,{3:1,34:1,22:1,501:1,188:1,196:1},fC),iSn.dg=function(){return men(this)},iSn.qg=function(){return men(this)};var qtt,Xtt,ztt,Vtt,Wtt,Qtt,Jtt=r3(cxn,"RadialLayoutPhases",501,jUn,(function(){return p4(),a8(uM(Jtt,1),lPn,501,0,[Htt,Utt])}),(function(n){return p4(),i3((KQ(),qtt),n)}));_wn(1113,205,pOn,TT),iSn.rf=function(n,t){var e,i,r,c;if(e=Ygn(this,n),t.Ug("Radial layout",e.c.length),py(X$(fdn(n,(vfn(),Let))))||fX(new Ww((_E(),new oy(n)))),c=function(n){var t,e;for(e=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));e.e!=e.i.gc();)if(!Bwn(new F_(wN(Qdn(t=JR(Urn(e),27)).a.Kc(),new h))))return t;return null}(n),ocn(n,(tD(),Btt),c),!c)throw Lm(new Cy("The given graph is not a tree!"));for(0==(i=my(z$(fdn(n,Ret))))&&(i=fbn(n)),ocn(n,Ret,i),r=new mw(Ygn(this,n));r.aaxn&&(c-=axn),h=(u=JR(fdn(r,but),8)).a,l=u.b+n,(a=i.Math.atan2(l,h))<0&&(a+=axn),(a+=t)>axn&&(a-=axn),LA(),y3(1e-10),i.Math.abs(c-a)<=1e-10||c==a||isNaN(c)&&isNaN(a)?0:ca?1:FO(isNaN(c),isNaN(a))}(this.a,this.b,JR(n,27),JR(t,27))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},iSn.a=0,iSn.b=0,EH(cxn,"RadialUtil/lambda$0$Type",556),_wn(1395,1,qAn,yo),iSn.Kf=function(n,t){!function(n,t){var e,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S;for(t.Ug("Calculate Graph Size",1),t.dh(n,oxn),l=xOn,b=xOn,h=uxn,f=uxn,g=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));g.e!=g.i.gc();)v=(w=JR(Urn(g),27)).i,k=w.j,S=w.g,u=w.f,s=JR(fdn(w,(XEn(),Iot)),140),l=i.Math.min(l,v-s.b),b=i.Math.min(b,k-s.d),h=i.Math.max(h,v+S+s.c),f=i.Math.max(f,k+u+s.a);for(p=new DC(l-(m=JR(fdn(n,(XEn(),Got)),107)).b,b-m.d),E=h-l+(m.b+m.c),o=f-b+(m.d+m.a),py(X$(fdn(n,(vfn(),Eet))))&&(y=JR(fdn(n,(tD(),Btt)),27),M=JR(fdn(y,Iot),140),T=y.i+y.g/2+(M.b+M.c)/2-p.a,a=o-(j=y.j+y.f/2+(M.d+M.a)/2-p.b),(c=E-T)=3)for(v=JR(d2(p,0),27),k=JR(d2(p,1),27),r=0;r+2=v.f+k.f+u||k.f>=m.f+v.f+u){y=!0;break}++r}else y=!0;if(!y){for(h=p.i,c=new XL(p);c.e!=c.i.gc();)ocn(JR(Urn(c),27),(XEn(),wut),ann(h)),--h;return oyn(n,new jk),void t.Vg()}for(QU(this.a),UB(this.a,(fin(),eit),JR(fdn(n,brt),188)),UB(this.a,iit,JR(fdn(n,rrt),188)),UB(this.a,rit,JR(fdn(n,hrt),188)),VO(this.a,(eF(T=new OU,eit,(Ecn(),sit)),eF(T,iit,uit),py(X$(fdn(n,zit)))&&eF(T,eit,oit),T)),o=1/(e=oTn(this.a,n)).c.length,l=new mw(e);l.ai?1:0}(JR(n,27),JR(t,27))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(Kxn,"InteractiveNodeReorderer/lambda$0$Type",1519),_wn(456,22,{3:1,34:1,22:1,456:1,196:1},mC),iSn.dg=function(){switch(this.g){case 0:return new xo;case 1:return new Fo;case 2:return new Ko}return null};var fit,lit,bit,wit,dit,git,pit,mit,vit,kit,yit,Mit,Tit,jit,Eit,Sit=r3(Kxn,dLn,456,jUn,(function(){return Ecn(),a8(uM(Sit,1),lPn,456,0,[oit,sit,uit])}),(function(n){return Ecn(),i3((KY(),fit),n)}));_wn(1521,1,qAn,Ko),iSn.Kf=function(n,t){!function(n,t){t.Ug("Min Size Postprocessing",1),ocn(n,(Kmn(),Mit),i.Math.max(my(z$(fdn(n,Mit))),my(z$(fdn(n,kit))))),t.Vg()}(JR(n,27),t)},EH(Kxn,"MinSizePostProcessor",1521),_wn(1520,1,qAn,Fo),iSn.Kf=function(n,t){!function(n,t){var e;t.Ug("Min Size Preprocessing",1),e=mln(n),ocn(n,(Kmn(),kit),e.a),ocn(n,pit,e.b),t.Vg()}(JR(n,27),t)},EH(Kxn,"MinSizePreProcessor",1520),_wn(394,22,{3:1,34:1,22:1,394:1},vC);var Pit,Cit,Iit,Oit,Ait,Lit,Nit,$it,Dit,xit,Rit,Kit,Fit,_it,Bit,Hit,Uit,Git,qit,Xit,zit,Vit,Wit,Qit,Jit,Yit,Zit,nrt,trt,ert,irt,rrt,crt,art,ort,urt,srt,hrt,frt,lrt,brt,wrt,drt=r3(Fxn,"OptimizationGoal",394,jUn,(function(){return Rtn(),a8(uM(drt,1),lPn,394,0,[jit,Eit,Tit])}),(function(n){return Rtn(),i3((FY(),Pit),n)}));_wn(867,1,NIn,El),iSn.hf=function(n){qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,_xn),""),"Try box layout first"),"Whether one should check whether the regions are stackable to see whether box layout would do the job. For example, nodes with the same height are not stackable inside a row. Therefore, box layout will perform better and faster."),(UN(),!1)),(Qfn(),sat)),ZUn),ptn((Nrn(),cat))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Bxn),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),ann(-1)),bat),sGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Hxn),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),ann(-1)),bat),sGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Uxn),""),"In new Row"),"If set to true this node begins in a new row. Consequently this node cannot be moved in a previous layer during compaction. Width approximation does does not take this into account."),!1),sat),ZUn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Gxn),Yxn),"Width Approximation Strategy"),"Strategy for finding an initial width of the drawing."),Bit),fat),Trt),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,qxn),Yxn),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Xxn),Yxn),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),Fit),fat),drt),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,zxn),Yxn),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),!0),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Vxn),"packing"),Zxn),"Strategy for finding an initial placement on nodes."),$it),fat),Prt),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Wxn),nRn),"Row Height Reevaluation"),"During the compaction step the height of a row is normally not changed. If this options is set, the blocks of other rows might be added if they exceed the row height. If this is the case the whole row has to be packed again to be optimal regarding the new row height. This option should, therefore, be used with care since it might be computation heavy."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Qxn),nRn),"Compaction iterations"),"Defines the number of compaction iterations. E.g. if set to 2 the width is initially approximated, then the drawing is compacted and based on the resulting drawing the target width is decreased or increased and a second compaction step is executed and the result compared to the first one. The best run is used based on the scale measure."),ann(1)),bat),sGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,Jxn),"whiteSpaceElimination"),"White Space Approximation Strategy"),"Strategy for expanding nodes such that whitespace in the parent is eliminated."),fat),Irt),ptn(cat)))),jEn((new Sl,n))},EH(Fxn,"RectPackingMetaDataProvider",867),_wn(1016,1,NIn,Sl),iSn.hf=function(n){jEn(n)},EH(Fxn,"RectPackingOptions",1016),_wn(1017,1,{},_o),iSn.sf=function(){return new ET},iSn.tf=function(n){},EH(Fxn,"RectPackingOptions/RectpackingFactory",1017),_wn(1705,1,{},ER),iSn.a=0,iSn.c=!1,EH(eRn,"AreaApproximation",1705);var grt,prt,mrt=nF(eRn,"BestCandidateFilter");_wn(673,1,{535:1},Bo),iSn.Hg=function(n,t,e){var r,c,a,o,u,s;for(s=new Mm,a=pCn,u=new mw(n);u.a1;){if(c=Sgn(t),l=a.g,d=JR(fdn(t,crt),107),g=my(z$(fdn(t,Uit))),(!t.a&&(t.a=new aB(ult,t,10,11)),t.a).i>1&&my(z$(fdn(t,(Kmn(),vit))))!=pCn&&(a.c+(d.b+d.c))/(a.b+(d.d+d.a))1&&my(z$(fdn(t,(Kmn(),mit))))!=pCn&&(a.c+(d.b+d.c))/(a.b+(d.d+d.a))>g&&ocn(c,(Kmn(),Mit),i.Math.max(my(z$(fdn(t,kit))),my(z$(fdn(c,Mit)))-my(z$(fdn(t,mit))))),(h=(s=OEn(w=new LC(r,f),c,b)).g)>=l&&h==h){for(o=0;o<(!c.a&&(c.a=new aB(ult,c,10,11)),c.a).i;o++)Tbn(n,JR(d2((!c.a&&(c.a=new aB(ult,c,10,11)),c.a),o),27),JR(d2((!t.a&&(t.a=new aB(ult,t,10,11)),t.a),o),27));e2(t,w),Jq(a,s.c),Qq(a,s.b)}--u}ocn(t,(Kmn(),bit),a.b),ocn(t,wit,a.c),e.Vg()}(this,JR(n,27),t)},EH(iRn,"Compactor",1471),_wn(1473,1,gDn,zo),iSn.rg=function(n){return JR(n,27),null},iSn.Kf=function(n,t){epn(JR(n,27),t)},EH(iRn,"NoPlacement",1473),_wn(439,22,{3:1,34:1,22:1,439:1,188:1,196:1},yC),iSn.dg=function(){return enn(this)},iSn.qg=function(){return enn(this)};var jrt,Ert,Srt,Prt=r3(iRn,"PackingStrategy",439,jUn,(function(){return b1(),a8(uM(Prt,1),lPn,439,0,[krt,Mrt,yrt])}),(function(n){return b1(),i3((_Y(),jrt),n)}));_wn(810,1,{},LC),iSn.a=0,iSn.b=0,iSn.c=0,iSn.d=pCn,iSn.e=0,iSn.f=pCn,EH(iRn,"RowFillingAndCompaction",810),_wn(1472,1,gDn,Vo),iSn.rg=function(n){return JR(n,27),null},iSn.Kf=function(n,t){!function(n,t){var e,r,c,a,o,u,s,h,f,l,b,w,d;for(t.Ug(rRn,1),w=my(z$(fdn(n,(Kmn(),Mit)))),o=my(z$(fdn(n,(smn(),urt)))),u=JR(fdn(n,crt),107),L4((!n.a&&(n.a=new aB(ult,n,10,11)),n.a)),f=UMn((!n.a&&(n.a=new aB(ult,n,10,11)),n.a),w,o),!n.a&&(n.a=new aB(ult,n,10,11)),h=new mw(f);h.a1)for(i=new mw(n.a);i.a>>28]|t[n>>24&15]<<4|t[n>>20&15]<<8|t[n>>16&15]<<12|t[n>>12&15]<<16|t[n>>8&15]<<20|t[n>>4&15]<<24|t[15&n]<<28);var n,t},iSn.cg=function(n){var t,e,i;for(e=0;e0&&O7((Rz(t-1,n.length),n.charCodeAt(t-1)),nLn);)--t;if(e>=t)throw Lm(new Cy("The given string does not contain any numbers."));if(2!=(i=syn((aZ(e,t,n.length),n.substr(e,t-e)),",|;|\r|\n")).length)throw Lm(new Cy("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=nfn(kln(i[0])),this.b=nfn(kln(i[1]))}catch(n){throw sL(n=X5(n),130)?Lm(new Cy(tLn+n)):Lm(n)}},iSn.Ib=function(){return"("+this.a+","+this.b+")"},iSn.a=0,iSn.b=0;var Mat=EH(eLn,"KVector",8);_wn(75,67,{3:1,4:1,20:1,31:1,56:1,16:1,67:1,15:1,75:1,423:1},ek,FM,S$),iSn.Pc=function(){return function(n){var t,e,i;for(t=0,i=tZ(Mat,HSn,8,n.b,0,1),e=$rn(n,0);e.b!=e.d.c;)i[t++]=JR(kW(e),8);return i}(this)},iSn.cg=function(n){var t,e,i,r,c;e=syn(n,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),UG(this);try{for(t=0,r=0,i=0,c=0;t0&&(r%2==0?i=nfn(e[t]):c=nfn(e[t]),r>0&&r%2!=0&&HK(this,new DC(i,c)),++r),++t}catch(n){throw sL(n=X5(n),130)?Lm(new Cy("The given string does not match the expected format for vectors."+n)):Lm(n)}},iSn.Ib=function(){var n,t,e;for(n=new kN("("),t=$rn(this,0);t.b!=t.d.c;)rO(n,(e=JR(kW(t),8)).a+","+e.b),t.b!=t.d.c&&(n.a+="; ");return(n.a+=")",n).a};var Tat,jat,Eat,Sat,Pat,Cat,Iat=EH(eLn,"KVectorChain",75);_wn(255,22,{3:1,34:1,22:1,255:1},xC);var Oat,Aat,Lat,Nat,$at,Dat,xat,Rat,Kat,Fat,_at,Bat,Hat,Uat,Gat,qat,Xat,zat,Vat,Wat=r3(KRn,"Alignment",255,jUn,(function(){return Scn(),a8(uM(Wat,1),lPn,255,0,[Tat,Sat,Pat,Cat,jat,Eat])}),(function(n){return Scn(),i3((C2(),Oat),n)}));_wn(991,1,NIn,Ll),iSn.hf=function(n){Skn(n)},EH(KRn,"BoxLayouterOptions",991),_wn(992,1,{},Ru),iSn.sf=function(){return new _u},iSn.tf=function(n){},EH(KRn,"BoxLayouterOptions/BoxFactory",992),_wn(298,22,{3:1,34:1,22:1,298:1},FC);var Qat,Jat,Yat,Zat,not,tot,eot,iot,rot,cot,aot,oot,uot,sot,hot,fot,lot,bot,wot,dot,got,pot,mot,vot,kot,yot,Mot,Tot,jot,Eot,Sot,Pot,Cot,Iot,Oot,Aot,Lot,Not,$ot,Dot,xot,Rot,Kot,Fot,_ot,Bot,Hot,Uot,Got,qot,Xot,zot,Vot,Wot,Qot,Jot,Yot,Zot,nut,tut,eut,iut,rut,cut,aut,out,uut,sut,hut,fut,lut,but,wut,dut,gut,put,mut,vut,kut,yut,Mut,Tut,jut,Eut,Sut,Put,Cut,Iut,Out,Aut,Lut,Nut,$ut,Dut,xut,Rut,Kut,Fut,_ut,But,Hut,Uut,Gut,qut,Xut,zut,Vut,Wut,Qut=r3(KRn,"ContentAlignment",298,jUn,(function(){return Yun(),a8(uM(Qut,1),lPn,298,0,[Vat,zat,Xat,Gat,Uat,qat])}),(function(n){return Yun(),i3((I2(),Qat),n)}));_wn(699,1,NIn,Nl),iSn.hf=function(n){qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,URn),""),"Layout Algorithm"),"Select a specific layout algorithm."),(Qfn(),dat)),CGn),ptn((Nrn(),cat))))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,GRn),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),wat),tat),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,B$n),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),Zat),fat),Wat),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,LOn),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,qRn),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),wat),Iat),ptn(eat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,Z$n),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),uot),lat),Qut),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,_$n),""),"Debug Mode"),"Whether additional debug information shall be generated."),(UN(),!1)),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,G$n),""),oOn),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),fot),fat),tst),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,b$n),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),got),fat),dst),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,BRn),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,u$n),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),yot),fat),Nst),i_(cat,a8(uM(pat,1),lPn,170,0,[rat]))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,NOn),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),qot),wat),kQn),i_(cat,a8(uM(pat,1),lPn,170,0,[rat]))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,aAn),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,fDn),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,sAn),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,oAn),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),cut),fat),bht),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,uDn),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),wat),Mat),i_(rat,a8(uM(pat,1),lPn,170,0,[aat,iat]))))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,tAn),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),bat),sGn),i_(rat,a8(uM(pat,1),lPn,170,0,[eat]))))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,rAn),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),bat),sGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,cAn),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,nDn),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),Cot),wat),Iat),ptn(eat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,iDn),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),sat),ZUn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,rDn),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),sat),ZUn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,XRn),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),wat),egt),i_(cat,a8(uM(pat,1),lPn,170,0,[iat]))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,sDn),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Oot),wat),rQn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,K$n),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),sat),ZUn),i_(rat,a8(uM(pat,1),lPn,170,0,[eat,aat,iat]))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,zRn),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),hat),cGn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,VRn),""),"Child Area Width"),"The width of the area occupied by the laid out children of a node."),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,WRn),""),"Child Area Height"),"The height of the area occupied by the laid out children of a node."),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,dAn),""),PRn),"Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'"),!1),sat),ZUn),ptn(cat)))),BV(n,dAn,vAn,null),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,QRn),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,JRn),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),ann(100)),bat),sGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,YRn),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,ZRn),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),ann(4e3)),bat),sGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,nKn),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),ann(400)),bat),sGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,tKn),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,eKn),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,iKn),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,rKn),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,HRn),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),iot),fat),yft),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,S$n),w$n),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,P$n),w$n),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,OOn),w$n),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,C$n),w$n),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,iAn),w$n),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,I$n),w$n),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,O$n),w$n),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,N$n),w$n),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,A$n),w$n),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,L$n),w$n),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,eAn),w$n),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,$$n),w$n),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),hat),cGn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,D$n),w$n),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),hat),cGn),i_(cat,a8(uM(pat,1),lPn,170,0,[rat]))))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,x$n),w$n),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),wat),Sft),i_(rat,a8(uM(pat,1),lPn,170,0,[eat,aat,iat]))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,hDn),w$n),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),Nut),wat),rQn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,oDn),hKn),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),bat),sGn),i_(cat,a8(uM(pat,1),lPn,170,0,[rat]))))),BV(n,oDn,aDn,Wot),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,aDn),hKn),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),zot),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,q$n),fKn),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Lot),wat),kQn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,bAn),fKn),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),$ot),lat),Jst),i_(rat,a8(uM(pat,1),lPn,170,0,[iat]))))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,V$n),lKn),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),Jot),fat),cht),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,W$n),lKn),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),fat),cht),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,Q$n),lKn),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),fat),cht),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,J$n),lKn),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),fat),cht),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,Y$n),lKn),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),fat),cht),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,lAn),bKn),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),xot),lat),rft),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,fAn),bKn),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),Bot),lat),sft),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,AAn),bKn),"Node Size Minimum"),"The minimal size to which a node can be reduced."),Fot),wat),Mat),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,hAn),bKn),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),sat),ZUn),ptn(cat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,tDn),j$n),"Edge Label Placement"),"Gives a hint on where to put edge labels."),wot),fat),ost),ptn(iat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,uAn),j$n),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),sat),ZUn),ptn(iat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,cKn),"font"),"Font Name"),"Font name used for a label."),dat),CGn),ptn(iat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,aKn),"font"),"Font Size"),"Font size used for a label."),bat),sGn),ptn(iat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,cDn),wKn),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),wat),Mat),ptn(aat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,eDn),wKn),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),bat),sGn),ptn(aat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,F$n),wKn),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),lut),fat),zht),ptn(aat)))),qtn(n,new Ufn(xM(DM(RM(OM($M(LM(NM(new xu,R$n),wKn),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),hat),cGn),ptn(aat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,wAn),dKn),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),sut),lat),xht),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,X$n),dKn),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),sat),ZUn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,z$n),dKn),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),sat),ZUn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,gAn),gKn),"Topdown Scale Factor"),"The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes."),1),hat),cGn),ptn(cat)))),BV(n,gAn,vAn,Hut),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,oKn),gKn),"Topdown Size Approximator"),"The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size."),null),fat),vft),ptn(rat)))),BV(n,oKn,vAn,Gut),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,pAn),gKn),"Topdown Hierarchical Node Width"),"The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),150),hat),cGn),i_(cat,a8(uM(pat,1),lPn,170,0,[rat]))))),BV(n,pAn,vAn,null),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,mAn),gKn),"Topdown Hierarchical Node Aspect Ratio"),"The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself."),1.414),hat),cGn),i_(cat,a8(uM(pat,1),lPn,170,0,[rat]))))),BV(n,mAn,vAn,null),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,vAn),gKn),"Topdown Node Type"),"The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes."),null),fat),bft),ptn(rat)))),BV(n,vAn,hAn,null),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,uKn),gKn),"Topdown Scale Cap"),"Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes."),1),hat),cGn),ptn(cat)))),BV(n,uKn,vAn,_ut),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,H$n),pKn),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),sat),ZUn),ptn(rat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,U$n),pKn),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),sat),ZUn),ptn(eat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,AOn),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),hat),cGn),ptn(eat)))),qtn(n,new Ufn(xM(DM(RM(AM(OM($M(LM(NM(new xu,sKn),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),mot),fat),Pst),ptn(eat)))),$E(n,new Ez(PM(IM(CM(new du,yCn),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),$E(n,new Ez(PM(IM(CM(new du,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),$E(n,new Ez(PM(IM(CM(new du,nAn),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),$E(n,new Ez(PM(IM(CM(new du,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),$E(n,new Ez(PM(IM(CM(new du,txn),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),$E(n,new Ez(PM(IM(CM(new du,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),$E(n,new Ez(PM(IM(CM(new du,Axn),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Evn((new $l,n)),Skn((new Ll,n)),wmn((new Dl,n))},EH(KRn,"CoreOptions",699),_wn(88,22,{3:1,34:1,22:1,88:1},_C);var Jut,Yut,Zut,nst,tst=r3(KRn,oOn,88,jUn,(function(){return Xnn(),a8(uM(tst,1),lPn,88,0,[Vut,zut,Xut,qut,Wut])}),(function(n){return Xnn(),i3((E0(),Jut),n)}));_wn(278,22,{3:1,34:1,22:1,278:1},BC);var est,ist,rst,cst,ast,ost=r3(KRn,"EdgeLabelPlacement",278,jUn,(function(){return k2(),a8(uM(ost,1),lPn,278,0,[Yut,Zut,nst])}),(function(n){return k2(),i3((WY(),est),n)}));_wn(223,22,{3:1,34:1,22:1,223:1},HC);var ust,sst,hst,fst,lst,bst,wst,dst=r3(KRn,"EdgeRouting",223,jUn,(function(){return xtn(),a8(uM(dst,1),lPn,223,0,[ast,rst,ist,cst])}),(function(n){return xtn(),i3((u1(),ust),n)}));_wn(321,22,{3:1,34:1,22:1,321:1},UC);var gst,pst,mst,vst,kst,yst,Mst,Tst,jst,Est,Sst,Pst=r3(KRn,"EdgeType",321,jUn,(function(){return thn(),a8(uM(Pst,1),lPn,321,0,[bst,fst,wst,sst,lst,hst])}),(function(n){return thn(),i3((O2(),gst),n)}));_wn(989,1,NIn,$l),iSn.hf=function(n){Evn(n)},EH(KRn,"FixedLayouterOptions",989),_wn(990,1,{},Ku),iSn.sf=function(){return new Wu},iSn.tf=function(n){},EH(KRn,"FixedLayouterOptions/FixedFactory",990),_wn(346,22,{3:1,34:1,22:1,346:1},GC);var Cst,Ist,Ost,Ast,Lst,Nst=r3(KRn,"HierarchyHandling",346,jUn,(function(){return nnn(),a8(uM(Nst,1),lPn,346,0,[Est,jst,Sst])}),(function(n){return nnn(),i3((zY(),Cst),n)}));_wn(291,22,{3:1,34:1,22:1,291:1},qC);var $st,Dst,xst,Rst,Kst,Fst,_st,Bst,Hst,Ust,Gst=r3(KRn,"LabelSide",291,jUn,(function(){return yon(),a8(uM(Gst,1),lPn,291,0,[Lst,Ist,Ost,Ast])}),(function(n){return yon(),i3((s1(),$st),n)}));_wn(95,22,{3:1,34:1,22:1,95:1},XC);var qst,Xst,zst,Vst,Wst,Qst,Jst=r3(KRn,"NodeLabelPlacement",95,jUn,(function(){return ldn(),a8(uM(Jst,1),lPn,95,0,[xst,Dst,Kst,Ust,Hst,Bst,Fst,_st,Rst])}),(function(n){return ldn(),i3((N5(),qst),n)}));_wn(256,22,{3:1,34:1,22:1,256:1},zC);var Yst,Zst,nht,tht,eht,iht,rht,cht=r3(KRn,"PortAlignment",256,jUn,(function(){return Frn(),a8(uM(cht,1),lPn,256,0,[Vst,Qst,Xst,zst,Wst])}),(function(n){return Frn(),i3((P0(),Yst),n)}));_wn(101,22,{3:1,34:1,22:1,101:1},VC);var aht,oht,uht,sht,hht,fht,lht,bht=r3(KRn,"PortConstraints",101,jUn,(function(){return ksn(),a8(uM(bht,1),lPn,101,0,[rht,iht,eht,Zst,tht,nht])}),(function(n){return ksn(),i3((A2(),aht),n)}));_wn(279,22,{3:1,34:1,22:1,279:1},WC);var wht,dht,ght,pht,mht,vht,kht,yht,Mht,Tht,jht,Eht,Sht,Pht,Cht,Iht,Oht,Aht,Lht,Nht,$ht,Dht,xht=r3(KRn,"PortLabelPlacement",279,jUn,(function(){return lbn(),a8(uM(xht,1),lPn,279,0,[fht,sht,hht,uht,oht,lht])}),(function(n){return lbn(),i3((L2(),wht),n)}));_wn(64,22,{3:1,34:1,22:1,64:1},QC);var Rht,Kht,Fht,_ht,Bht,Hht,Uht,Ght,qht,Xht,zht=r3(KRn,"PortSide",64,jUn,(function(){return $jn(),a8(uM(zht,1),HAn,64,0,[$ht,ght,dht,Nht,Dht])}),(function(n){return $jn(),i3((C0(),Rht),n)}));_wn(993,1,NIn,Dl),iSn.hf=function(n){wmn(n)},EH(KRn,"RandomLayouterOptions",993),_wn(994,1,{},Fu),iSn.sf=function(){return new Xu},iSn.tf=function(n){},EH(KRn,"RandomLayouterOptions/RandomFactory",994),_wn(386,22,{3:1,34:1,22:1,386:1},JC);var Vht,Wht,Qht,Jht,Yht,Zht,nft,tft,eft,ift,rft=r3(KRn,"SizeConstraint",386,jUn,(function(){return hin(),a8(uM(rft,1),lPn,386,0,[qht,Xht,Ght,Uht])}),(function(n){return hin(),i3((h1(),Vht),n)}));_wn(264,22,{3:1,34:1,22:1,264:1},YC);var cft,aft,oft,uft,sft=r3(KRn,"SizeOptions",264,jUn,(function(){return Yvn(),a8(uM(sft,1),lPn,264,0,[Jht,Zht,Qht,nft,tft,ift,eft,Yht,Wht])}),(function(n){return Yvn(),i3((L5(),cft),n)}));_wn(280,22,{3:1,34:1,22:1,280:1},ZC);var hft,fft,lft,bft=r3(KRn,"TopdownNodeTypes",280,jUn,(function(){return Z7(),a8(uM(bft,1),lPn,280,0,[oft,aft,uft])}),(function(n){return Z7(),i3((QY(),hft),n)}));_wn(347,22,kKn);var wft,dft,gft,pft,mft,vft=r3(KRn,"TopdownSizeApproximator",347,jUn,(function(){return MR(),a8(uM(vft,1),lPn,347,0,[fft,lft])}),(function(n){return MR(),i3((VQ(),wft),n)}));_wn(987,347,kKn,YK),iSn.Tg=function(n){return $cn(n)},r3(KRn,"TopdownSizeApproximator/1",987,vft,null,null),_wn(988,347,kKn,fB),iSn.Tg=function(n){var t,e,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k;for(t=JR(fdn(n,(XEn(),gut)),143),YM(),Ign(p=new nk,n),m=new ym,a=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));a.e!=a.i.gc();)r=JR(Urn(a),27),Mgn(b=new nk,p),Ign(b,r),k=$cn(r),lA(b,i.Math.max(r.g,k.a),i.Math.max(r.f,k.b)),Pln(m.f,r,b);for(c=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));c.e!=c.i.gc();)for(s=new XL((!(r=JR(Urn(c),27)).e&&(r.e=new yx(tlt,r,7,4)),r.e));s.e!=s.i.gc();)u=JR(Urn(s),74),d=JR(HI(WF(m.f,r)),27),g=JR(RH(m,d2((!u.c&&(u.c=new yx(nlt,u,5,8)),u.c),0)),27),bZ((!(w=new es).b&&(w.b=new yx(nlt,w,4,7)),w.b),d),bZ((!w.c&&(w.c=new yx(nlt,w,5,8)),w.c),g),lgn(w,_X(d)),Ign(w,u);h=JR(Vq(t.f),205);try{h.rf(p,new Zu),yU(t.f,h)}catch(n){throw sL(n=X5(n),103),Lm(n)}return JY(p,cot)||JY(p,rot)||hEn(p),o=my(z$(fdn(p,cot)))/my(z$(fdn(p,rot))),e=my(z$(fdn(p,xut)))*i.Math.sqrt((!p.a&&(p.a=new aB(ult,p,10,11)),p.a).i),l=(v=JR(fdn(p,Got),107)).b+v.c+1,f=v.d+v.a+1,new DC(i.Math.max(l,e),i.Math.max(f,e/o))},r3(KRn,"TopdownSizeApproximator/2",988,vft,null,null),_wn(344,1,{871:1},jk),iSn.Ug=function(n,t){return Hsn(this,n,t)},iSn.Vg=function(){yfn(this)},iSn.Wg=function(){return this.q},iSn.Xg=function(){return this.f?gq(this.f):null},iSn.Yg=function(){return gq(this.a)},iSn.Zg=function(){return this.p},iSn.$g=function(){return!1},iSn._g=function(){return this.n},iSn.ah=function(){return null!=this.p&&!this.b},iSn.bh=function(n){var t;this.n&&(t=n,AL(this.f,t))},iSn.dh=function(n,t){var e,i;this.n&&n&&function(n,t,e){var i;n.n&&t&&e&&(i=new Yu,AL(n.e,i))}(this,(i=Zvn(e=new wH,n),function(n){var t,e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p,m,v,k,y,M;for(f=new HH(new Iw(n));f.c!=f.d.a.d;)for(o=JR((h=F1(f)).d,58),t=JR(h.e,58),d=0,k=(null==(a=o.Dh()).i&&dyn(a),a.i).length;d=0&&d0?t-1:t,QM(function(n,t){return n.j=t,n}(n3(mK(new jk,e),n.n),n.j),n.k)}(this,this.g),HK(this.a,t),t.i=this,this.d=n,t)},iSn.fh=function(n){n>0&&!this.b&&V3(this,n)},iSn.b=!1,iSn.c=0,iSn.d=-1,iSn.e=null,iSn.f=null,iSn.g=-1,iSn.j=!1,iSn.k=!1,iSn.n=!1,iSn.o=0,iSn.q=0,iSn.r=0,EH(lDn,"BasicProgressMonitor",344),_wn(717,205,pOn,_u),iSn.rf=function(n,t){oyn(n,t)},EH(lDn,"BoxLayoutProvider",717),_wn(983,1,uIn,wp),iSn.Ne=function(n,t){return function(n,t,e){var i,r,c;if(!(r=JR(fdn(t,(yhn(),Bat)),17))&&(r=ann(0)),!(c=JR(fdn(e,Bat),17))&&(c=ann(0)),r.a>c.a)return-1;if(r.a0&&d.b>0&&Fjn(g,d.a,d.b,!0,!0)),b=i.Math.max(b,g.i+g.g),w=i.Math.max(w,g.j+g.f),f=new XL((!g.n&&(g.n=new aB(olt,g,1,7)),g.n));f.e!=f.i.gc();)u=JR(Urn(f),135),(j=JR(fdn(u,Tst),8))&&bA(u,j.a,j.b),b=i.Math.max(b,g.i+u.i+u.g),w=i.Math.max(w,g.j+u.j+u.f);for(y=new XL((!g.c&&(g.c=new aB(slt,g,9,9)),g.c));y.e!=y.i.gc();)for(k=JR(Urn(y),123),(j=JR(fdn(k,Tst),8))&&bA(k,j.a,j.b),M=g.i+k.i,T=g.j+k.j,b=i.Math.max(b,M+k.g),w=i.Math.max(w,T+k.f),s=new XL((!k.n&&(k.n=new aB(olt,k,1,7)),k.n));s.e!=s.i.gc();)u=JR(Urn(s),135),(j=JR(fdn(u,Tst),8))&&bA(u,j.a,j.b),b=i.Math.max(b,M+u.i+u.g),w=i.Math.max(w,T+u.j+u.f);for(c=new F_(wN(Jdn(g).a.Kc(),new h));Bwn(c);)l=Ujn(e=JR(MJ(c),74)),b=i.Math.max(b,l.a),w=i.Math.max(w,l.b);for(r=new F_(wN(Qdn(g).a.Kc(),new h));Bwn(r);)_X(Mhn(e=JR(MJ(r),74)))!=n&&(l=Ujn(e),b=i.Math.max(b,l.a),w=i.Math.max(w,l.b))}if(a==(xtn(),ist))for(p=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));p.e!=p.i.gc();)for(r=new F_(wN(Jdn(g=JR(Urn(p),27)).a.Kc(),new h));Bwn(r);)0==(o=Rkn(e=JR(MJ(r),74))).b?ocn(e,Pot,null):ocn(e,Pot,o);py(X$(fdn(n,(C9(),vst))))||Fjn(n,b+(v=JR(fdn(n,yst),107)).b+v.c,w+v.d+v.a,!0,!0),t.Vg()},EH(lDn,"FixedLayoutProvider",1119),_wn(385,137,{3:1,423:1,385:1,96:1,137:1},Qu,_1),iSn.cg=function(n){var t,e,i,r,c,a,o;if(n)try{for(a=syn(n,";,;"),r=0,c=(i=a).length;r>16&OPn|n^(e&OPn)<<16},iSn.Kc=function(){return new mp(this)},iSn.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+Qtn(this.b)+")":null==this.b?"pair("+Qtn(this.a)+",null)":"pair("+Qtn(this.a)+","+Qtn(this.b)+")"},EH(lDn,"Pair",42),_wn(995,1,ISn,mp),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},iSn.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw Lm(new cv)},iSn.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),Lm(new nv)},iSn.b=!1,iSn.c=!1,EH(lDn,"Pair/1",995),_wn(455,1,{455:1},TG),iSn.Fb=function(n){return qU(this.a,JR(n,455).a)&&qU(this.c,JR(n,455).c)&&qU(this.d,JR(n,455).d)&&qU(this.b,JR(n,455).b)},iSn.Hb=function(){return b7(a8(uM(sUn,1),kSn,1,5,[this.a,this.c,this.d,this.b]))},iSn.Ib=function(){return"("+this.a+mSn+this.c+mSn+this.d+mSn+this.b+")"},EH(lDn,"Quadruple",455),_wn(1108,205,pOn,Xu),iSn.rf=function(n,t){var e;t.Ug("Random Layout",1),0!=(!n.a&&(n.a=new aB(ult,n,10,11)),n.a).i?(function(n,t,e,r,c){var a,o,u,s,f,l,b,w,d,g,p,m,v,k,y,M,T,j,E,S;for(k=0,g=0,d=0,w=1,v=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));v.e!=v.i.gc();)w+=JW(new F_(wN(Jdn(p=JR(Urn(v),27)).a.Kc(),new h))),j=p.g,g=i.Math.max(g,j),b=p.f,d=i.Math.max(d,b),k+=j*b;for(o=k+2*r*r*w*(!n.a&&(n.a=new aB(ult,n,10,11)),n.a).i,a=i.Math.sqrt(o),s=i.Math.max(a*e,g),u=i.Math.max(a/e,d),m=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));m.e!=m.i.gc();)p=JR(Urn(m),27),E=c.b+(ngn(t,26)*FCn+ngn(t,27)*_Cn)*(s-p.g),S=c.b+(ngn(t,26)*FCn+ngn(t,27)*_Cn)*(u-p.f),_2(p,E),B2(p,S);for(T=s+(c.b+c.c),M=u+(c.d+c.a),y=new XL((!n.a&&(n.a=new aB(ult,n,10,11)),n.a));y.e!=y.i.gc();)for(l=new F_(wN(Jdn(JR(Urn(y),27)).a.Kc(),new h));Bwn(l);)Pwn(f=JR(MJ(l),74))||TEn(f,t,T,M);Fjn(n,T+=c.b+c.c,M+=c.d+c.a,!1,!0)}(n,(e=JR(fdn(n,(sin(),Bht)),17))&&0!=e.a?new SQ(e.a):new ken,vy(z$(fdn(n,Kht))),vy(z$(fdn(n,Hht))),JR(fdn(n,Fht),107)),t.Vg()):t.Vg()},EH(lDn,"RandomLayoutProvider",1108),_wn(240,1,{240:1},SR),iSn.Fb=function(n){return qU(this.a,JR(n,240).a)&&qU(this.b,JR(n,240).b)&&qU(this.c,JR(n,240).c)},iSn.Hb=function(){return b7(a8(uM(sUn,1),kSn,1,5,[this.a,this.b,this.c]))},iSn.Ib=function(){return"("+this.a+mSn+this.b+mSn+this.c+")"},EH(lDn,"Triple",240),_wn(562,1,{}),iSn.Lf=function(){return new DC(this.f.i,this.f.j)},iSn.of=function(n){return Rq(n,(XEn(),iut))?fdn(this.f,Ift):fdn(this.f,n)},iSn.Mf=function(){return new DC(this.f.g,this.f.f)},iSn.Nf=function(){return this.g},iSn.pf=function(n){return JY(this.f,n)},iSn.Of=function(n){_2(this.f,n.a),B2(this.f,n.b)},iSn.Pf=function(n){F2(this.f,n.a),K2(this.f,n.b)},iSn.Qf=function(n){this.g=n},iSn.g=0,EH(TKn,"ElkGraphAdapters/AbstractElkGraphElementAdapter",562),_wn(563,1,{853:1},vp),iSn.Rf=function(){var n,t;if(!this.b)for(this.b=iW(zU(this.a).i),t=new XL(zU(this.a));t.e!=t.i.gc();)n=JR(Urn(t),135),AL(this.b,new uy(n));return this.b},iSn.b=null,EH(TKn,"ElkGraphAdapters/ElkEdgeAdapter",563),_wn(289,562,{},oy),iSn.Sf=function(){return qan(this)},iSn.a=null,EH(TKn,"ElkGraphAdapters/ElkGraphAdapter",289),_wn(640,562,{187:1},uy),EH(TKn,"ElkGraphAdapters/ElkLabelAdapter",640),_wn(639,562,{695:1},zN),iSn.Rf=function(){return function(n){var t,e;if(!n.b)for(n.b=iW(JR(n.f,27).kh().i),e=new XL(JR(n.f,27).kh());e.e!=e.i.gc();)t=JR(Urn(e),135),AL(n.b,new uy(t));return n.b}(this)},iSn.Vf=function(){var n;return!(n=JR(fdn(this.f,(XEn(),Iot)),140))&&(n=new Xv),n},iSn.Xf=function(){return function(n){var t,e;if(!n.e)for(n.e=iW(VU(JR(n.f,27)).i),e=new XL(VU(JR(n.f,27)));e.e!=e.i.gc();)t=JR(Urn(e),123),AL(n.e,new kp(t));return n.e}(this)},iSn.Zf=function(n){var t;t=new BR(n),ocn(this.f,(XEn(),Iot),t)},iSn.$f=function(n){ocn(this.f,(XEn(),Got),new HR(n))},iSn.Tf=function(){return this.d},iSn.Uf=function(){var n,t;if(!this.a)for(this.a=new Mm,t=new F_(wN(Qdn(JR(this.f,27)).a.Kc(),new h));Bwn(t);)n=JR(MJ(t),74),AL(this.a,new vp(n));return this.a},iSn.Wf=function(){var n,t;if(!this.c)for(this.c=new Mm,t=new F_(wN(Jdn(JR(this.f,27)).a.Kc(),new h));Bwn(t);)n=JR(MJ(t),74),AL(this.c,new vp(n));return this.c},iSn.Yf=function(){return 0!=aq(JR(this.f,27)).i||py(X$(JR(this.f,27).of((XEn(),Tot))))},iSn._f=function(){B1(this,(_E(),Cft))},iSn.a=null,iSn.b=null,iSn.c=null,iSn.d=null,iSn.e=null,EH(TKn,"ElkGraphAdapters/ElkNodeAdapter",639),_wn(1284,562,{852:1},kp),iSn.Rf=function(){return function(n){var t,e;if(!n.b)for(n.b=iW(JR(n.f,123).kh().i),e=new XL(JR(n.f,123).kh());e.e!=e.i.gc();)t=JR(Urn(e),135),AL(n.b,new uy(t));return n.b}(this)},iSn.Uf=function(){var n,t;if(!this.a)for(this.a=n$(JR(this.f,123).hh().i),t=new XL(JR(this.f,123).hh());t.e!=t.i.gc();)n=JR(Urn(t),74),AL(this.a,new vp(n));return this.a},iSn.Wf=function(){var n,t;if(!this.c)for(this.c=n$(JR(this.f,123).ih().i),t=new XL(JR(this.f,123).ih());t.e!=t.i.gc();)n=JR(Urn(t),74),AL(this.c,new vp(n));return this.c},iSn.ag=function(){return JR(JR(this.f,123).of((XEn(),fut)),64)},iSn.bg=function(){var n,t,e,i,r,c,a;for(i=vX(JR(this.f,123)),e=new XL(JR(this.f,123).ih());e.e!=e.i.gc();)for(a=new XL((!(n=JR(Urn(e),74)).c&&(n.c=new yx(nlt,n,5,8)),n.c));a.e!=a.i.gc();){if(Z0(Bsn(c=JR(Urn(a),84)),i))return!0;if(Bsn(c)==i&&py(X$(fdn(n,(XEn(),jot)))))return!0}for(t=new XL(JR(this.f,123).hh());t.e!=t.i.gc();)for(r=new XL((!(n=JR(Urn(t),74)).b&&(n.b=new yx(nlt,n,4,7)),n.b));r.e!=r.i.gc();)if(Z0(Bsn(JR(Urn(r),84)),i))return!0;return!1},iSn.a=null,iSn.b=null,iSn.c=null,EH(TKn,"ElkGraphAdapters/ElkPortAdapter",1284),_wn(1285,1,uIn,qu),iSn.Ne=function(n,t){return function(n,t){var e,i,r,c;if(0!=(c=JR(fdn(n,(XEn(),fut)),64).g-JR(fdn(t,fut),64).g))return c;if(e=JR(fdn(n,aut),17),i=JR(fdn(t,aut),17),e&&i&&0!=(r=e.a-i.a))return r;switch(JR(fdn(n,fut),64).g){case 1:return wtn(n.i,t.i);case 2:return wtn(n.j,t.j);case 3:return wtn(t.i,n.i);case 4:return wtn(t.j,n.j);default:throw Lm(new Iy(WAn))}}(JR(n,123),JR(t,123))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(TKn,"ElkGraphAdapters/PortComparator",1285);var Aft,Lft,Nft,$ft,Dft,xft,Rft,Kft,Fft,_ft,Bft,Hft,Uft,Gft,qft,Xft,zft,Vft,Wft=nF(jKn,"EObject"),Qft=nF(EKn,SKn),Jft=nF(EKn,PKn),Yft=nF(EKn,CKn),Zft=nF(EKn,"ElkShape"),nlt=nF(EKn,IKn),tlt=nF(EKn,OKn),elt=nF(EKn,AKn),ilt=nF(jKn,LKn),rlt=nF(jKn,"EFactory"),clt=nF(jKn,NKn),alt=nF(jKn,"EPackage"),olt=nF(EKn,$Kn),ult=nF(EKn,DKn),slt=nF(EKn,xKn);_wn(93,1,RKn),iSn.th=function(){return this.uh(),null},iSn.uh=function(){return null},iSn.vh=function(){return this.uh(),!1},iSn.wh=function(){return!1},iSn.xh=function(n){i5(this,n)},EH(KKn,"BasicNotifierImpl",93),_wn(99,93,XKn),iSn.Yh=function(){return iA(this)},iSn.yh=function(n,t){return n},iSn.zh=function(){throw Lm(new ev)},iSn.Ah=function(n){var t;return t=Rcn(JR(F0(this.Dh(),this.Fh()),19)),this.Ph().Th(this,t.n,t.f,n)},iSn.Bh=function(n,t){throw Lm(new ev)},iSn.Ch=function(n,t,e){return lkn(this,n,t,e)},iSn.Dh=function(){var n;return this.zh()&&(n=this.zh().Nk())?n:this.ii()},iSn.Eh=function(){return Own(this)},iSn.Fh=function(){throw Lm(new ev)},iSn.Gh=function(){var n,t;return!(t=this.$h().Ok())&&this.zh().Tk((qE(),t=null==(n=Wq(dyn(this.Dh())))?Qbt:new qN(this,n))),t},iSn.Hh=function(n,t){return n},iSn.Ih=function(n){return n.pk()?n.Lj():Pen(this.Dh(),n)},iSn.Jh=function(){var n;return(n=this.zh())?n.Qk():null},iSn.Kh=function(){return this.zh()?this.zh().Nk():null},iSn.Lh=function(n,t,e){return dcn(this,n,t,e)},iSn.Mh=function(n){return CZ(this,n)},iSn.Nh=function(n,t){return AJ(this,n,t)},iSn.Oh=function(){var n;return!!(n=this.zh())&&n.Rk()},iSn.Ph=function(){throw Lm(new ev)},iSn.Qh=function(){return Vin(this)},iSn.Rh=function(n,t,e,i){return ccn(this,n,t,i)},iSn.Sh=function(n,t,e){return JR(F0(this.Dh(),t),69).wk().zk(this,this.hi(),t-this.ji(),n,e)},iSn.Th=function(n,t,e,i){return zq(this,n,t,i)},iSn.Uh=function(n,t,e){return JR(F0(this.Dh(),t),69).wk().Ak(this,this.hi(),t-this.ji(),n,e)},iSn.Vh=function(){return!!this.zh()&&!!this.zh().Pk()},iSn.Wh=function(n){return _rn(this,n)},iSn.Xh=function(n){return OX(this,n)},iSn.Zh=function(n){return ZTn(this,n)},iSn.$h=function(){throw Lm(new ev)},iSn._h=function(){return this.zh()?this.zh().Pk():null},iSn.ai=function(){return Vin(this)},iSn.bi=function(n,t){Dln(this,n,t)},iSn.ci=function(n){this.$h().Sk(n)},iSn.di=function(n){this.$h().Vk(n)},iSn.ei=function(n){this.$h().Uk(n)},iSn.fi=function(n,t){var e,i,r,c;return(c=this.Jh())&&n&&(t=bcn(c.El(),this,t),c.Il(this)),(i=this.Ph())&&(Ovn(this,this.Ph(),this.Fh()).Bb&MCn?(r=i.Qh())&&(n?!c&&r.Il(this):r.Hl(this)):(t=(e=this.Fh())>=0?this.Ah(t):this.Ph().Th(this,-1-e,null,t),t=this.Ch(null,-1,t))),this.di(n),t},iSn.gi=function(n){var t,e,i,r,c,a,o;if((c=Pen(e=this.Dh(),n))>=(t=this.ji()))return JR(n,69).wk().Dk(this,this.hi(),c-t);if(c<=-1){if(!(a=lTn((nln(),dwt),e,n)))throw Lm(new Cy(FKn+n.xe()+HKn));if(VE(),JR(a,69).xk()||(a=Yz(O1(dwt,a))),r=JR((i=this.Ih(a))>=0?this.Lh(i,!0,!0):Gbn(this,a,!0),160),(o=a.Ik())>1||-1==o)return JR(JR(r,220).Sl(n,!1),79)}else if(n.Jk())return JR((i=this.Ih(n))>=0?this.Lh(i,!1,!0):Gbn(this,n,!1),79);return new LI(this,n)},iSn.hi=function(){return G1(this)},iSn.ii=function(){return(NH(),pbt).S},iSn.ji=function(){return DH(this.ii())},iSn.ki=function(n){zfn(this,n)},iSn.Ib=function(){return Pdn(this)},EH(zKn,"BasicEObjectImpl",99),_wn(119,99,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1}),iSn.li=function(n){return U1(this)[n]},iSn.mi=function(n,t){FH(U1(this),n,t)},iSn.ni=function(n){FH(U1(this),n,null)},iSn.th=function(){return JR(s5(this,4),129)},iSn.uh=function(){throw Lm(new ev)},iSn.vh=function(){return!!(4&this.Db)},iSn.zh=function(){throw Lm(new ev)},iSn.oi=function(n){Xin(this,2,n)},iSn.Bh=function(n,t){this.Db=t<<16|255&this.Db,this.oi(n)},iSn.Dh=function(){return Hq(this)},iSn.Fh=function(){return this.Db>>16},iSn.Gh=function(){var n;return qE(),null==(n=Wq(dyn(JR(s5(this,16),29)||this.ii())))?Qbt:new qN(this,n)},iSn.wh=function(){return!(1&this.Db)},iSn.Jh=function(){return JR(s5(this,128),2034)},iSn.Kh=function(){return JR(s5(this,16),29)},iSn.Oh=function(){return!!(32&this.Db)},iSn.Ph=function(){return JR(s5(this,2),54)},iSn.Vh=function(){return!!(64&this.Db)},iSn.$h=function(){throw Lm(new ev)},iSn._h=function(){return JR(s5(this,64),288)},iSn.ci=function(n){Xin(this,16,n)},iSn.di=function(n){Xin(this,128,n)},iSn.ei=function(n){Xin(this,64,n)},iSn.hi=function(){return qin(this)},iSn.Db=0,EH(zKn,"MinimalEObjectImpl",119),_wn(120,119,{110:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),iSn.oi=function(n){this.Cb=n},iSn.Ph=function(){return this.Cb},EH(zKn,"MinimalEObjectImpl/Container",120),_wn(2083,120,{110:1,342:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),iSn.Lh=function(n,t,e){return aon(this,n,t,e)},iSn.Uh=function(n,t,e){return Whn(this,n,t,e)},iSn.Wh=function(n){return EV(this,n)},iSn.bi=function(n,t){d9(this,n,t)},iSn.ii=function(){return gEn(),Uft},iSn.ki=function(n){j8(this,n)},iSn.nf=function(){return Brn(this)},iSn.gh=function(){return!this.o&&(this.o=new TZ((gEn(),Bft),klt,this,0)),this.o},iSn.of=function(n){return fdn(this,n)},iSn.pf=function(n){return JY(this,n)},iSn.qf=function(n,t){return ocn(this,n,t)},EH(VKn,"EMapPropertyHolderImpl",2083),_wn(572,120,{110:1,377:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},ns),iSn.Lh=function(n,t,e){switch(n){case 0:return this.a;case 1:return this.b}return dcn(this,n,t,e)},iSn.Wh=function(n){switch(n){case 0:return 0!=this.a;case 1:return 0!=this.b}return _rn(this,n)},iSn.bi=function(n,t){switch(n){case 0:return void q2(this,my(z$(t)));case 1:return void x2(this,my(z$(t)))}Dln(this,n,t)},iSn.ii=function(){return gEn(),Nft},iSn.ki=function(n){switch(n){case 0:return void q2(this,0);case 1:return void x2(this,0)}zfn(this,n)},iSn.Ib=function(){var n;return 64&this.Db?Pdn(this):((n=new vN(Pdn(this))).a+=" (x: ",hT(n,this.a),n.a+=", y: ",hT(n,this.b),n.a+=")",n.a)},iSn.a=0,iSn.b=0,EH(VKn,"ElkBendPointImpl",572),_wn(739,2083,{110:1,342:1,167:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),iSn.Lh=function(n,t,e){return ttn(this,n,t,e)},iSn.Sh=function(n,t,e){return Vsn(this,n,t,e)},iSn.Uh=function(n,t,e){return _5(this,n,t,e)},iSn.Wh=function(n){return g5(this,n)},iSn.bi=function(n,t){Lun(this,n,t)},iSn.ii=function(){return gEn(),Rft},iSn.ki=function(n){tnn(this,n)},iSn.jh=function(){return this.k},iSn.kh=function(){return zU(this)},iSn.Ib=function(){return Etn(this)},iSn.k=null,EH(VKn,"ElkGraphElementImpl",739),_wn(740,739,{110:1,342:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),iSn.Lh=function(n,t,e){return Ytn(this,n,t,e)},iSn.Wh=function(n){return pen(this,n)},iSn.bi=function(n,t){Nun(this,n,t)},iSn.ii=function(){return gEn(),Hft},iSn.ki=function(n){Uen(this,n)},iSn.lh=function(){return this.f},iSn.mh=function(){return this.g},iSn.nh=function(){return this.i},iSn.oh=function(){return this.j},iSn.ph=function(n,t){lA(this,n,t)},iSn.qh=function(n,t){bA(this,n,t)},iSn.rh=function(n){_2(this,n)},iSn.sh=function(n){B2(this,n)},iSn.Ib=function(){return cfn(this)},iSn.f=0,iSn.g=0,iSn.i=0,iSn.j=0,EH(VKn,"ElkShapeImpl",740),_wn(741,740,{110:1,342:1,84:1,167:1,422:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1}),iSn.Lh=function(n,t,e){return Wcn(this,n,t,e)},iSn.Sh=function(n,t,e){return pun(this,n,t,e)},iSn.Uh=function(n,t,e){return mun(this,n,t,e)},iSn.Wh=function(n){return u9(this,n)},iSn.bi=function(n,t){Qwn(this,n,t)},iSn.ii=function(){return gEn(),$ft},iSn.ki=function(n){acn(this,n)},iSn.hh=function(){return!this.d&&(this.d=new yx(tlt,this,8,5)),this.d},iSn.ih=function(){return!this.e&&(this.e=new yx(tlt,this,7,4)),this.e},EH(VKn,"ElkConnectableShapeImpl",741),_wn(326,739,{110:1,342:1,74:1,167:1,326:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},es),iSn.Ah=function(n){return Uon(this,n)},iSn.Lh=function(n,t,e){switch(n){case 3:return mX(this);case 4:return!this.b&&(this.b=new yx(nlt,this,4,7)),this.b;case 5:return!this.c&&(this.c=new yx(nlt,this,5,8)),this.c;case 6:return!this.a&&(this.a=new aB(elt,this,6,6)),this.a;case 7:return UN(),!this.b&&(this.b=new yx(nlt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new yx(nlt,this,5,8)),this.c.i<=1));case 8:return UN(),!!Pwn(this);case 9:return UN(),!!Dbn(this);case 10:return UN(),!this.b&&(this.b=new yx(nlt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new yx(nlt,this,5,8)),0!=this.c.i)}return ttn(this,n,t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?Uon(this,e):this.Cb.Th(this,-1-i,null,e)),ED(this,JR(n,27),e);case 4:return!this.b&&(this.b=new yx(nlt,this,4,7)),Zen(this.b,n,e);case 5:return!this.c&&(this.c=new yx(nlt,this,5,8)),Zen(this.c,n,e);case 6:return!this.a&&(this.a=new aB(elt,this,6,6)),Zen(this.a,n,e)}return Vsn(this,n,t,e)},iSn.Uh=function(n,t,e){switch(t){case 3:return ED(this,null,e);case 4:return!this.b&&(this.b=new yx(nlt,this,4,7)),bcn(this.b,n,e);case 5:return!this.c&&(this.c=new yx(nlt,this,5,8)),bcn(this.c,n,e);case 6:return!this.a&&(this.a=new aB(elt,this,6,6)),bcn(this.a,n,e)}return _5(this,n,t,e)},iSn.Wh=function(n){switch(n){case 3:return!!mX(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new yx(nlt,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new yx(nlt,this,5,8)),this.c.i<=1));case 8:return Pwn(this);case 9:return Dbn(this);case 10:return!this.b&&(this.b=new yx(nlt,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new yx(nlt,this,5,8)),0!=this.c.i)}return g5(this,n)},iSn.bi=function(n,t){switch(n){case 3:return void lgn(this,JR(t,27));case 4:return!this.b&&(this.b=new yx(nlt,this,4,7)),ZMn(this.b),!this.b&&(this.b=new yx(nlt,this,4,7)),void oH(this.b,JR(t,16));case 5:return!this.c&&(this.c=new yx(nlt,this,5,8)),ZMn(this.c),!this.c&&(this.c=new yx(nlt,this,5,8)),void oH(this.c,JR(t,16));case 6:return!this.a&&(this.a=new aB(elt,this,6,6)),ZMn(this.a),!this.a&&(this.a=new aB(elt,this,6,6)),void oH(this.a,JR(t,16))}Lun(this,n,t)},iSn.ii=function(){return gEn(),Dft},iSn.ki=function(n){switch(n){case 3:return void lgn(this,null);case 4:return!this.b&&(this.b=new yx(nlt,this,4,7)),void ZMn(this.b);case 5:return!this.c&&(this.c=new yx(nlt,this,5,8)),void ZMn(this.c);case 6:return!this.a&&(this.a=new aB(elt,this,6,6)),void ZMn(this.a)}tnn(this,n)},iSn.Ib=function(){return TMn(this)},EH(VKn,"ElkEdgeImpl",326),_wn(452,2083,{110:1,342:1,166:1,452:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},is),iSn.Ah=function(n){return Non(this,n)},iSn.Lh=function(n,t,e){switch(n){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new NL(Jft,this,5)),this.a;case 6:return kX(this);case 7:return t?xcn(this):this.i;case 8:return t?Dcn(this):this.f;case 9:return!this.g&&(this.g=new yx(elt,this,9,10)),this.g;case 10:return!this.e&&(this.e=new yx(elt,this,10,9)),this.e;case 11:return this.d}return aon(this,n,t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Non(this,e):this.Cb.Th(this,-1-i,null,e)),jD(this,JR(n,74),e);case 9:return!this.g&&(this.g=new yx(elt,this,9,10)),Zen(this.g,n,e);case 10:return!this.e&&(this.e=new yx(elt,this,10,9)),Zen(this.e,n,e)}return JR(F0(JR(s5(this,16),29)||(gEn(),xft),t),69).wk().zk(this,qin(this),t-DH((gEn(),xft)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 5:return!this.a&&(this.a=new NL(Jft,this,5)),bcn(this.a,n,e);case 6:return jD(this,null,e);case 9:return!this.g&&(this.g=new yx(elt,this,9,10)),bcn(this.g,n,e);case 10:return!this.e&&(this.e=new yx(elt,this,10,9)),bcn(this.e,n,e)}return Whn(this,n,t,e)},iSn.Wh=function(n){switch(n){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!kX(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return EV(this,n)},iSn.bi=function(n,t){switch(n){case 1:return void H2(this,my(z$(t)));case 2:return void G2(this,my(z$(t)));case 3:return void R2(this,my(z$(t)));case 4:return void U2(this,my(z$(t)));case 5:return!this.a&&(this.a=new NL(Jft,this,5)),ZMn(this.a),!this.a&&(this.a=new NL(Jft,this,5)),void oH(this.a,JR(t,16));case 6:return void fgn(this,JR(t,74));case 7:return void n4(this,JR(t,84));case 8:return void Z3(this,JR(t,84));case 9:return!this.g&&(this.g=new yx(elt,this,9,10)),ZMn(this.g),!this.g&&(this.g=new yx(elt,this,9,10)),void oH(this.g,JR(t,16));case 10:return!this.e&&(this.e=new yx(elt,this,10,9)),ZMn(this.e),!this.e&&(this.e=new yx(elt,this,10,9)),void oH(this.e,JR(t,16));case 11:return void l4(this,V$(t))}d9(this,n,t)},iSn.ii=function(){return gEn(),xft},iSn.ki=function(n){switch(n){case 1:return void H2(this,0);case 2:return void G2(this,0);case 3:return void R2(this,0);case 4:return void U2(this,0);case 5:return!this.a&&(this.a=new NL(Jft,this,5)),void ZMn(this.a);case 6:return void fgn(this,null);case 7:return void n4(this,null);case 8:return void Z3(this,null);case 9:return!this.g&&(this.g=new yx(elt,this,9,10)),void ZMn(this.g);case 10:return!this.e&&(this.e=new yx(elt,this,10,9)),void ZMn(this.e);case 11:return void l4(this,null)}j8(this,n)},iSn.Ib=function(){return dwn(this)},iSn.b=0,iSn.c=0,iSn.d=null,iSn.j=0,iSn.k=0,EH(VKn,"ElkEdgeSectionImpl",452),_wn(158,120,{110:1,94:1,93:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),iSn.Lh=function(n,t,e){return 0==n?(!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab):KZ(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t,e)},iSn.Sh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e)):JR(F0(JR(s5(this,16),29)||this.ii(),t),69).wk().zk(this,qin(this),t-DH(this.ii()),n,e)},iSn.Uh=function(n,t,e){return 0==t?(!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e)):JR(F0(JR(s5(this,16),29)||this.ii(),t),69).wk().Ak(this,qin(this),t-DH(this.ii()),n,e)},iSn.Wh=function(n){return 0==n?!!this.Ab&&0!=this.Ab.i:$W(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.Zh=function(n){return Kjn(this,n)},iSn.bi=function(n,t){if(0===n)return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));nen(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t)},iSn.di=function(n){Xin(this,128,n)},iSn.ii=function(){return JEn(),Ibt},iSn.ki=function(n){if(0===n)return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);Snn(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.pi=function(){this.Bb|=1},iSn.qi=function(n){return vkn(this,n)},iSn.Bb=0,EH(zKn,"EModelElementImpl",158),_wn(720,158,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},Rl),iSn.ri=function(n,t){return UTn(this,n,t)},iSn.si=function(n){var t,e,i,r;if(this.a!=h2(n)||256&n.Bb)throw Lm(new Cy(nFn+n.zb+JKn));for(e=_q(n);0!=cQ(e.a).i;){if(Xan(t=JR(vTn(e,0,sL(r=JR(d2(cQ(e.a),0),89).c,90)?JR(r,29):(JEn(),Abt)),29)))return JR(i=h2(t).wi().si(t),54).ci(n),i;e=_q(t)}return"java.util.Map$Entry"==(null!=n.D?n.D:n.B)?new QK(n):new TK(n)},iSn.ti=function(n,t){return vEn(this,n,t)},iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.a}return KZ(this,n-DH((JEn(),Sbt)),F0(JR(s5(this,16),29)||Sbt,n),t,e)},iSn.Sh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 1:return this.a&&(e=JR(this.a,54).Th(this,4,alt,e)),W7(this,JR(n,241),e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Sbt),t),69).wk().zk(this,qin(this),t-DH((JEn(),Sbt)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 1:return W7(this,null,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Sbt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),Sbt)),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return $W(this,n-DH((JEn(),Sbt)),F0(JR(s5(this,16),29)||Sbt,n))},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void Ohn(this,JR(t,241))}nen(this,n-DH((JEn(),Sbt)),F0(JR(s5(this,16),29)||Sbt,n),t)},iSn.ii=function(){return JEn(),Sbt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return void Ohn(this,null)}Snn(this,n-DH((JEn(),Sbt)),F0(JR(s5(this,16),29)||Sbt,n))},EH(zKn,"EFactoryImpl",720),_wn(1037,720,{110:1,2113:1,94:1,93:1,480:1,155:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1},rs),iSn.ri=function(n,t){switch(n.hk()){case 12:return JR(t,149).Pg();case 13:return Qtn(t);default:throw Lm(new Cy(QKn+n.xe()+JKn))}},iSn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=h2(n))?mcn(t.vi(),n):-1),n.G){case 4:return new cs;case 6:return new nk;case 7:return new tk;case 8:return new es;case 9:return new ns;case 10:return new is;case 11:return new as;default:throw Lm(new Cy(nFn+n.zb+JKn))}},iSn.ti=function(n,t){switch(n.hk()){case 13:case 12:return null;default:throw Lm(new Cy(QKn+n.xe()+JKn))}},EH(VKn,"ElkGraphFactoryImpl",1037),_wn(448,158,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,54:1,99:1,158:1,119:1,120:1}),iSn.Gh=function(){var n;return null==(n=Wq(dyn(JR(s5(this,16),29)||this.ii())))?(qE(),qE(),Qbt):new O$(this,n)},iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.xe()}return KZ(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return $W(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void this.ui(V$(t))}nen(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t)},iSn.ii=function(){return JEn(),Obt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return void this.ui(null)}Snn(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.xe=function(){return this.zb},iSn.ui=function(n){H4(this,n)},iSn.Ib=function(){return gnn(this)},iSn.zb=null,EH(zKn,"ENamedElementImpl",448),_wn(184,448,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},YG),iSn.Ah=function(n){return Ron(this,n)},iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new wB(this,rbt,this)),this.rb;case 6:return!this.vb&&(this.vb=new bx(alt,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?JR(this.Cb,241):null:RX(this)}return KZ(this,n-DH((JEn(),$bt)),F0(JR(s5(this,16),29)||$bt,n),t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 4:return this.sb&&(e=JR(this.sb,54).Th(this,1,rlt,e)),mnn(this,JR(n,480),e);case 5:return!this.rb&&(this.rb=new wB(this,rbt,this)),Zen(this.rb,n,e);case 6:return!this.vb&&(this.vb=new bx(alt,this,6,7)),Zen(this.vb,n,e);case 7:return this.Cb&&(e=(i=this.Db>>16)>=0?Ron(this,e):this.Cb.Th(this,-1-i,null,e)),lkn(this,n,7,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),$bt),t),69).wk().zk(this,qin(this),t-DH((JEn(),$bt)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 4:return mnn(this,null,e);case 5:return!this.rb&&(this.rb=new wB(this,rbt,this)),bcn(this.rb,n,e);case 6:return!this.vb&&(this.vb=new bx(alt,this,6,7)),bcn(this.vb,n,e);case 7:return lkn(this,null,7,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),$bt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),$bt)),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!RX(this)}return $W(this,n-DH((JEn(),$bt)),F0(JR(s5(this,16),29)||$bt,n))},iSn.Zh=function(n){return function(n,t){var e,i,r,c,a,o;if(!n.tb){for(!n.rb&&(n.rb=new wB(n,rbt,n)),o=new Bj((c=n.rb).i),r=new XL(c);r.e!=r.i.gc();)i=JR(Urn(r),142),(e=JR(null==(a=i.xe())?Pln(o.f,null,i):ktn(o.i,a,i),142))&&(null==a?Pln(o.f,null,e):ktn(o.i,a,e));n.tb=o}return JR(rX(n.tb,t),142)}(this,n)||Kjn(this,n)},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void H4(this,V$(t));case 2:return void G4(this,V$(t));case 3:return void U4(this,V$(t));case 4:return void Qhn(this,JR(t,480));case 5:return!this.rb&&(this.rb=new wB(this,rbt,this)),ZMn(this.rb),!this.rb&&(this.rb=new wB(this,rbt,this)),void oH(this.rb,JR(t,16));case 6:return!this.vb&&(this.vb=new bx(alt,this,6,7)),ZMn(this.vb),!this.vb&&(this.vb=new bx(alt,this,6,7)),void oH(this.vb,JR(t,16))}nen(this,n-DH((JEn(),$bt)),F0(JR(s5(this,16),29)||$bt,n),t)},iSn.ei=function(n){var t,e;if(n&&this.rb)for(e=new XL(this.rb);e.e!=e.i.gc();)sL(t=Urn(e),364)&&(JR(t,364).w=null);Xin(this,64,n)},iSn.ii=function(){return JEn(),$bt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return void H4(this,null);case 2:return void G4(this,null);case 3:return void U4(this,null);case 4:return void Qhn(this,null);case 5:return!this.rb&&(this.rb=new wB(this,rbt,this)),void ZMn(this.rb);case 6:return!this.vb&&(this.vb=new bx(alt,this,6,7)),void ZMn(this.vb)}Snn(this,n-DH((JEn(),$bt)),F0(JR(s5(this,16),29)||$bt,n))},iSn.pi=function(){oon(this)},iSn.vi=function(){return!this.rb&&(this.rb=new wB(this,rbt,this)),this.rb},iSn.wi=function(){return this.sb},iSn.xi=function(){return this.ub},iSn.yi=function(){return this.xb},iSn.zi=function(){return this.yb},iSn.Ai=function(n){this.ub=n},iSn.Ib=function(){var n;return 64&this.Db?gnn(this):((n=new vN(gnn(this))).a+=" (nsURI: ",tO(n,this.yb),n.a+=", nsPrefix: ",tO(n,this.xb),n.a+=")",n.a)},iSn.xb=null,iSn.yb=null,EH(zKn,"EPackageImpl",184),_wn(569,184,{110:1,2115:1,569:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1},Dwn),iSn.q=!1,iSn.r=!1;var hlt=!1;EH(VKn,"ElkGraphPackageImpl",569),_wn(366,740,{110:1,342:1,167:1,135:1,422:1,366:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},cs),iSn.Ah=function(n){return $on(this,n)},iSn.Lh=function(n,t,e){switch(n){case 7:return FX(this);case 8:return this.a}return Ytn(this,n,t,e)},iSn.Sh=function(n,t,e){var i;return 7===t?(this.Cb&&(e=(i=this.Db>>16)>=0?$on(this,e):this.Cb.Th(this,-1-i,null,e)),v_(this,JR(n,167),e)):Vsn(this,n,t,e)},iSn.Uh=function(n,t,e){return 7==t?v_(this,null,e):_5(this,n,t,e)},iSn.Wh=function(n){switch(n){case 7:return!!FX(this);case 8:return!Cx("",this.a)}return pen(this,n)},iSn.bi=function(n,t){switch(n){case 7:return void Dgn(this,JR(t,167));case 8:return void t4(this,V$(t))}Nun(this,n,t)},iSn.ii=function(){return gEn(),Kft},iSn.ki=function(n){switch(n){case 7:return void Dgn(this,null);case 8:return void t4(this,"")}Uen(this,n)},iSn.Ib=function(){return xfn(this)},iSn.a="",EH(VKn,"ElkLabelImpl",366),_wn(207,741,{110:1,342:1,84:1,167:1,27:1,422:1,207:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},nk),iSn.Ah=function(n){return Gon(this,n)},iSn.Lh=function(n,t,e){switch(n){case 9:return!this.c&&(this.c=new aB(slt,this,9,9)),this.c;case 10:return!this.a&&(this.a=new aB(ult,this,10,11)),this.a;case 11:return _X(this);case 12:return!this.b&&(this.b=new aB(tlt,this,12,3)),this.b;case 13:return UN(),!this.a&&(this.a=new aB(ult,this,10,11)),this.a.i>0}return Wcn(this,n,t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 9:return!this.c&&(this.c=new aB(slt,this,9,9)),Zen(this.c,n,e);case 10:return!this.a&&(this.a=new aB(ult,this,10,11)),Zen(this.a,n,e);case 11:return this.Cb&&(e=(i=this.Db>>16)>=0?Gon(this,e):this.Cb.Th(this,-1-i,null,e)),lx(this,JR(n,27),e);case 12:return!this.b&&(this.b=new aB(tlt,this,12,3)),Zen(this.b,n,e)}return pun(this,n,t,e)},iSn.Uh=function(n,t,e){switch(t){case 9:return!this.c&&(this.c=new aB(slt,this,9,9)),bcn(this.c,n,e);case 10:return!this.a&&(this.a=new aB(ult,this,10,11)),bcn(this.a,n,e);case 11:return lx(this,null,e);case 12:return!this.b&&(this.b=new aB(tlt,this,12,3)),bcn(this.b,n,e)}return mun(this,n,t,e)},iSn.Wh=function(n){switch(n){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!_X(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new aB(ult,this,10,11)),this.a.i>0}return u9(this,n)},iSn.bi=function(n,t){switch(n){case 9:return!this.c&&(this.c=new aB(slt,this,9,9)),ZMn(this.c),!this.c&&(this.c=new aB(slt,this,9,9)),void oH(this.c,JR(t,16));case 10:return!this.a&&(this.a=new aB(ult,this,10,11)),ZMn(this.a),!this.a&&(this.a=new aB(ult,this,10,11)),void oH(this.a,JR(t,16));case 11:return void Mgn(this,JR(t,27));case 12:return!this.b&&(this.b=new aB(tlt,this,12,3)),ZMn(this.b),!this.b&&(this.b=new aB(tlt,this,12,3)),void oH(this.b,JR(t,16))}Qwn(this,n,t)},iSn.ii=function(){return gEn(),Fft},iSn.ki=function(n){switch(n){case 9:return!this.c&&(this.c=new aB(slt,this,9,9)),void ZMn(this.c);case 10:return!this.a&&(this.a=new aB(ult,this,10,11)),void ZMn(this.a);case 11:return void Mgn(this,null);case 12:return!this.b&&(this.b=new aB(tlt,this,12,3)),void ZMn(this.b)}acn(this,n)},iSn.Ib=function(){return ivn(this)},EH(VKn,"ElkNodeImpl",207),_wn(193,741,{110:1,342:1,84:1,167:1,123:1,422:1,193:1,96:1,94:1,93:1,58:1,114:1,54:1,99:1,119:1,120:1},tk),iSn.Ah=function(n){return Don(this,n)},iSn.Lh=function(n,t,e){return 9==n?vX(this):Wcn(this,n,t,e)},iSn.Sh=function(n,t,e){var i;return 9===t?(this.Cb&&(e=(i=this.Db>>16)>=0?Don(this,e):this.Cb.Th(this,-1-i,null,e)),SD(this,JR(n,27),e)):pun(this,n,t,e)},iSn.Uh=function(n,t,e){return 9==t?SD(this,null,e):mun(this,n,t,e)},iSn.Wh=function(n){return 9==n?!!vX(this):u9(this,n)},iSn.bi=function(n,t){9!==n?Qwn(this,n,t):bgn(this,JR(t,27))},iSn.ii=function(){return gEn(),_ft},iSn.ki=function(n){9!==n?acn(this,n):bgn(this,null)},iSn.Ib=function(){return rvn(this)},EH(VKn,"ElkPortImpl",193);var flt=nF(yFn,"BasicEMap/Entry");_wn(1122,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,119:1,120:1},as),iSn.Fb=function(n){return this===n},iSn.ld=function(){return this.b},iSn.Hb=function(){return FN(this)},iSn.Di=function(n){e4(this,JR(n,149))},iSn.Lh=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return dcn(this,n,t,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.b;case 1:return null!=this.c}return _rn(this,n)},iSn.bi=function(n,t){switch(n){case 0:return void e4(this,JR(t,149));case 1:return void W3(this,t)}Dln(this,n,t)},iSn.ii=function(){return gEn(),Bft},iSn.ki=function(n){switch(n){case 0:return void e4(this,null);case 1:return void W3(this,null)}zfn(this,n)},iSn.Bi=function(){var n;return-1==this.a&&(n=this.b,this.a=n?F4(n):0),this.a},iSn.md=function(){return this.c},iSn.Ci=function(n){this.a=n},iSn.nd=function(n){var t;return t=this.c,W3(this,n),t},iSn.Ib=function(){var n;return 64&this.Db?Pdn(this):(rO(rO(rO(n=new Yy,this.b?this.b.Pg():jSn),zAn),mN(this.c)),n.a)},iSn.a=-1,iSn.c=null;var llt,blt,wlt,dlt,glt,plt,mlt,vlt,klt=EH(VKn,"ElkPropertyToValueMapEntryImpl",1122);_wn(996,1,{},ss),EH(jFn,"JsonAdapter",996),_wn(216,63,yPn,Dy),EH(jFn,"JsonImportException",216),_wn(868,1,{},Fon),EH(jFn,"JsonImporter",868),_wn(903,1,{},sI),EH(jFn,"JsonImporter/lambda$0$Type",903),_wn(904,1,{},hI),EH(jFn,"JsonImporter/lambda$1$Type",904),_wn(912,1,{},yp),EH(jFn,"JsonImporter/lambda$10$Type",912),_wn(914,1,{},fI),EH(jFn,"JsonImporter/lambda$11$Type",914),_wn(915,1,{},lI),EH(jFn,"JsonImporter/lambda$12$Type",915),_wn(921,1,{},IG),EH(jFn,"JsonImporter/lambda$13$Type",921),_wn(920,1,{},OG),EH(jFn,"JsonImporter/lambda$14$Type",920),_wn(916,1,{},bI),EH(jFn,"JsonImporter/lambda$15$Type",916),_wn(917,1,{},wI),EH(jFn,"JsonImporter/lambda$16$Type",917),_wn(918,1,{},dI),EH(jFn,"JsonImporter/lambda$17$Type",918),_wn(919,1,{},gI),EH(jFn,"JsonImporter/lambda$18$Type",919),_wn(924,1,{},Mp),EH(jFn,"JsonImporter/lambda$19$Type",924),_wn(905,1,{},Tp),EH(jFn,"JsonImporter/lambda$2$Type",905),_wn(922,1,{},jp),EH(jFn,"JsonImporter/lambda$20$Type",922),_wn(923,1,{},Ep),EH(jFn,"JsonImporter/lambda$21$Type",923),_wn(927,1,{},Sp),EH(jFn,"JsonImporter/lambda$22$Type",927),_wn(925,1,{},Pp),EH(jFn,"JsonImporter/lambda$23$Type",925),_wn(926,1,{},Cp),EH(jFn,"JsonImporter/lambda$24$Type",926),_wn(929,1,{},Ip),EH(jFn,"JsonImporter/lambda$25$Type",929),_wn(928,1,{},Op),EH(jFn,"JsonImporter/lambda$26$Type",928),_wn(930,1,qSn,pI),iSn.Cd=function(n){!function(n,t,e){var i,r;r=null,(i=PX(n,e))&&(r=Vfn(i)),yrn(t,e,r)}(this.b,this.a,V$(n))},EH(jFn,"JsonImporter/lambda$27$Type",930),_wn(931,1,qSn,mI),iSn.Cd=function(n){!function(n,t,e){var i,r;r=null,(i=PX(n,e))&&(r=Vfn(i)),yrn(t,e,r)}(this.b,this.a,V$(n))},EH(jFn,"JsonImporter/lambda$28$Type",931),_wn(932,1,{},vI),EH(jFn,"JsonImporter/lambda$29$Type",932),_wn(908,1,{},Ap),EH(jFn,"JsonImporter/lambda$3$Type",908),_wn(933,1,{},kI),EH(jFn,"JsonImporter/lambda$30$Type",933),_wn(934,1,{},Lp),EH(jFn,"JsonImporter/lambda$31$Type",934),_wn(935,1,{},Np),EH(jFn,"JsonImporter/lambda$32$Type",935),_wn(936,1,{},$p),EH(jFn,"JsonImporter/lambda$33$Type",936),_wn(937,1,{},Dp),EH(jFn,"JsonImporter/lambda$34$Type",937),_wn(870,1,{},xp),EH(jFn,"JsonImporter/lambda$35$Type",870),_wn(941,1,{},IR),EH(jFn,"JsonImporter/lambda$36$Type",941),_wn(938,1,qSn,Rp),iSn.Cd=function(n){!function(n,t){var e;hq(e=new Zk,"x",t.a),hq(e,"y",t.b),XH(n,e)}(this.a,JR(n,377))},EH(jFn,"JsonImporter/lambda$37$Type",938),_wn(939,1,qSn,MI),iSn.Cd=function(n){!function(n,t,e){Iun(t,oln(n,e))}(this.a,this.b,JR(n,166))},EH(jFn,"JsonImporter/lambda$38$Type",939),_wn(940,1,qSn,TI),iSn.Cd=function(n){!function(n,t,e){Iun(t,oln(n,e))}(this.a,this.b,JR(n,166))},EH(jFn,"JsonImporter/lambda$39$Type",940),_wn(906,1,{},Kp),EH(jFn,"JsonImporter/lambda$4$Type",906),_wn(942,1,qSn,Fp),iSn.Cd=function(n){!function(n,t){var e;hq(e=new Zk,"x",t.a),hq(e,"y",t.b),XH(n,e)}(this.a,JR(n,8))},EH(jFn,"JsonImporter/lambda$40$Type",942),_wn(907,1,{},_p),EH(jFn,"JsonImporter/lambda$5$Type",907),_wn(911,1,{},Bp),EH(jFn,"JsonImporter/lambda$6$Type",911),_wn(909,1,{},Hp),EH(jFn,"JsonImporter/lambda$7$Type",909),_wn(910,1,{},Up),EH(jFn,"JsonImporter/lambda$8$Type",910),_wn(913,1,{},Gp),EH(jFn,"JsonImporter/lambda$9$Type",913),_wn(961,1,qSn,qp),iSn.Cd=function(n){XH(this.a,new CH(V$(n)))},EH(jFn,"JsonMetaDataConverter/lambda$0$Type",961),_wn(962,1,qSn,Xp),iSn.Cd=function(n){!function(n,t){XH(n,new CH(null!=t.f?t.f:""+t.g))}(this.a,JR(n,245))},EH(jFn,"JsonMetaDataConverter/lambda$1$Type",962),_wn(963,1,qSn,zp),iSn.Cd=function(n){!function(n,t){null!=t.c&&XH(n,new CH(t.c))}(this.a,JR(n,143))},EH(jFn,"JsonMetaDataConverter/lambda$2$Type",963),_wn(964,1,qSn,Vp),iSn.Cd=function(n){!function(n,t){XH(n,new CH(null!=t.f?t.f:""+t.g))}(this.a,JR(n,170))},EH(jFn,"JsonMetaDataConverter/lambda$3$Type",964),_wn(245,22,{3:1,34:1,22:1,245:1},jI);var ylt,Mlt=r3(lOn,"GraphFeature",245,jUn,(function(){return xwn(),a8(uM(Mlt,1),lPn,245,0,[vlt,glt,plt,dlt,mlt,blt,llt,wlt])}),(function(n){return xwn(),i3((G6(),ylt),n)}));_wn(11,1,{34:1,149:1},Jp,ND,EO,EA),iSn.Fd=function(n){return function(n,t){return HJ(n.b,t.Pg())}(this,JR(n,149))},iSn.Fb=function(n){return Rq(this,n)},iSn.Sg=function(){return Hrn(this)},iSn.Pg=function(){return this.b},iSn.Hb=function(){return v9(this.b)},iSn.Ib=function(){return this.b},EH(lOn,"Property",11),_wn(671,1,uIn,Wp),iSn.Ne=function(n,t){return function(n,t,e){var i,r;return i=JR(t.of(n.a),34),r=JR(e.of(n.a),34),null!=i&&null!=r?E6(i,r):null!=i?-1:null!=r?1:0}(this,JR(n,96),JR(t,96))},iSn.Fb=function(n){return this===n},iSn.Oe=function(){return new Mw(this)},EH(lOn,"PropertyHolderComparator",671),_wn(709,1,ISn,Qp),iSn.Nb=function(n){yB(this,n)},iSn.Pb=function(){return function(n){var t;if(!n.a)throw Lm(new CG);return t=n.a,n.a=_X(n.a),t}(this)},iSn.Qb=function(){gT()},iSn.Ob=function(){return!!this.a},EH(FFn,"ElkGraphUtil/AncestorIterator",709);var Tlt=nF(yFn,"EList");_wn(70,56,{20:1,31:1,56:1,16:1,15:1,70:1,61:1}),iSn.bd=function(n,t){qnn(this,n,t)},iSn.Fc=function(n){return bZ(this,n)},iSn.cd=function(n,t){return E8(this,n,t)},iSn.Gc=function(n){return oH(this,n)},iSn.Ii=function(){return new YN(this)},iSn.Ji=function(){return new ZN(this)},iSn.Ki=function(n){return j3(this,n)},iSn.Li=function(){return!0},iSn.Mi=function(n,t){},iSn.Ni=function(){},iSn.Oi=function(n,t){eZ(this,n,t)},iSn.Pi=function(n,t,e){},iSn.Qi=function(n,t){},iSn.Ri=function(n,t,e){},iSn.Fb=function(n){return kmn(this,n)},iSn.Hb=function(){return r8(this)},iSn.Si=function(){return!1},iSn.Kc=function(){return new XL(this)},iSn.ed=function(){return new JN(this)},iSn.fd=function(n){var t;if(t=this.gc(),n<0||n>t)throw Lm(new jx(n,t));return new HB(this,n)},iSn.Ui=function(n,t){this.Ti(n,this.dd(t))},iSn.Mc=function(n){return Z1(this,n)},iSn.Wi=function(n,t){return t},iSn.hd=function(n,t){return vcn(this,n,t)},iSn.Ib=function(){return uen(this)},iSn.Yi=function(){return!0},iSn.Zi=function(n,t){return m9(this,t)},EH(yFn,"AbstractEList",70),_wn(66,70,GFn,ls,a2,I6),iSn.Ei=function(n,t){return Wsn(this,n,t)},iSn.Fi=function(n){return wan(this,n)},iSn.Gi=function(n,t){ynn(this,n,t)},iSn.Hi=function(n){LJ(this,n)},iSn.$i=function(n){return $Z(this,n)},iSn.$b=function(){NJ(this)},iSn.Hc=function(n){return Mun(this,n)},iSn.Xb=function(n){return d2(this,n)},iSn._i=function(n){var t,e,i;++this.j,n>(e=null==this.g?0:this.g.length)&&(i=this.g,(t=e+(e/2|0)+4)=0&&(this.gd(t),!0)},iSn.Xi=function(n,t){return this.Dj(n,this.Zi(n,t))},iSn.gc=function(){return this.Ej()},iSn.Pc=function(){return this.Fj()},iSn.Qc=function(n){return this.Gj(n)},iSn.Ib=function(){return this.Hj()},EH(yFn,"DelegatingEList",2093),_wn(2094,2093,$_n),iSn.Ei=function(n,t){return Fkn(this,n,t)},iSn.Fi=function(n){return this.Ei(this.Ej(),n)},iSn.Gi=function(n,t){Rwn(this,n,t)},iSn.Hi=function(n){hwn(this,n)},iSn.Li=function(){return!this.Mj()},iSn.$b=function(){rTn(this)},iSn.Ij=function(n,t,e,i,r){return new $q(this,n,t,e,i,r)},iSn.Jj=function(n){i5(this.jj(),n)},iSn.Kj=function(){return null},iSn.Lj=function(){return-1},iSn.jj=function(){return null},iSn.Mj=function(){return!1},iSn.Nj=function(n,t){return t},iSn.Oj=function(n,t){return t},iSn.Pj=function(){return!1},iSn.Qj=function(){return!this.Aj()},iSn.Ti=function(n,t){var e,i;return this.Pj()?(i=this.Qj(),e=Shn(this,n,t),this.Jj(this.Ij(7,ann(t),e,n,i)),e):Shn(this,n,t)},iSn.gd=function(n){var t,e,i,r;return this.Pj()?(e=null,i=this.Qj(),t=this.Ij(4,r=tF(this,n),null,n,i),this.Mj()&&r?(e=this.Oj(r,e))?(e.nj(t),e.oj()):this.Jj(t):e?(e.nj(t),e.oj()):this.Jj(t),r):(r=tF(this,n),this.Mj()&&r&&(e=this.Oj(r,null))&&e.oj(),r)},iSn.Xi=function(n,t){return _kn(this,n,t)},EH(KKn,"DelegatingNotifyingListImpl",2094),_wn(152,1,D_n),iSn.nj=function(n){return ssn(this,n)},iSn.oj=function(){E1(this)},iSn.gj=function(){return this.d},iSn.Kj=function(){return null},iSn.Rj=function(){return null},iSn.hj=function(n){return-1},iSn.ij=function(){return Ipn(this)},iSn.jj=function(){return null},iSn.kj=function(){return Opn(this)},iSn.lj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},iSn.Sj=function(){return!1},iSn.mj=function(n){var t,e,i,r,c,a,o,u;switch(this.d){case 1:case 2:switch(n.gj()){case 1:case 2:if(UI(n.jj())===UI(this.jj())&&this.hj(null)==n.hj(null))return this.g=n.ij(),1==n.gj()&&(this.d=1),!0}case 4:if(4===n.gj()&&UI(n.jj())===UI(this.jj())&&this.hj(null)==n.hj(null))return a=mTn(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=n.lj(),this.d=6,u=new a2(2),c<=i?(bZ(u,this.n),bZ(u,n.kj()),this.g=a8(uM(Wdt,1),GPn,28,15,[this.o=c,i+1])):(bZ(u,n.kj()),bZ(u,this.n),this.g=a8(uM(Wdt,1),GPn,28,15,[this.o=i,c])),this.n=u,a||(this.o=-2-this.o-1),!0;break;case 6:if(4===n.gj()&&UI(n.jj())===UI(this.jj())&&this.hj(null)==n.hj(null)){for(a=mTn(this),i=n.lj(),o=JR(this.g,53),e=tZ(Wdt,GPn,28,o.length+1,15,1),t=0;t>>0).toString(16))).a+=" (eventType: ",this.d){case 1:e.a+="SET";break;case 2:e.a+="UNSET";break;case 3:e.a+="ADD";break;case 5:e.a+="ADD_MANY";break;case 4:e.a+="REMOVE";break;case 6:e.a+="REMOVE_MANY";break;case 7:e.a+="MOVE";break;case 8:e.a+="REMOVING_ADAPTER";break;case 9:e.a+="RESOLVE";break;default:fT(e,this.d)}if(Mvn(this)&&(e.a+=", touch: true"),e.a+=", position: ",fT(e,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),e.a+=", notifier: ",nO(e,this.jj()),e.a+=", feature: ",nO(e,this.Kj()),e.a+=", oldValue: ",nO(e,Opn(this)),e.a+=", newValue: ",6==this.d&&sL(this.g,53)){for(t=JR(this.g,53),e.a+="[",n=0;n10?(this.b&&this.c.j==this.a||(this.b=new TF(this),this.a=this.j),Rj(this.b,n)):Mun(this,n)},iSn.Yi=function(){return!0},iSn.a=0,EH(yFn,"AbstractEList/1",966),_wn(302,77,wCn,jx),EH(yFn,"AbstractEList/BasicIndexOutOfBoundsException",302),_wn(37,1,ISn,XL),iSn.Nb=function(n){yB(this,n)},iSn.Xj=function(){if(this.i.j!=this.f)throw Lm(new iv)},iSn.Yj=function(){return Urn(this)},iSn.Ob=function(){return this.e!=this.i.gc()},iSn.Pb=function(){return this.Yj()},iSn.Qb=function(){Kun(this)},iSn.e=0,iSn.f=0,iSn.g=-1,EH(yFn,"AbstractEList/EIterator",37),_wn(286,37,KSn,JN,HB),iSn.Qb=function(){Kun(this)},iSn.Rb=function(n){Xen(this,n)},iSn.Zj=function(){var n;try{return n=this.d.Xb(--this.e),this.Xj(),this.g=this.e,n}catch(n){throw sL(n=X5(n),77)?(this.Xj(),Lm(new cv)):Lm(n)}},iSn.$j=function(n){van(this,n)},iSn.Sb=function(){return 0!=this.e},iSn.Tb=function(){return this.e},iSn.Ub=function(){return this.Zj()},iSn.Vb=function(){return this.e-1},iSn.Wb=function(n){this.$j(n)},EH(yFn,"AbstractEList/EListIterator",286),_wn(355,37,ISn,YN),iSn.Yj=function(){return Grn(this)},iSn.Qb=function(){throw Lm(new ev)},EH(yFn,"AbstractEList/NonResolvingEIterator",355),_wn(398,286,KSn,ZN,Nx),iSn.Rb=function(n){throw Lm(new ev)},iSn.Yj=function(){var n;try{return n=this.c.Vi(this.e),this.Xj(),this.g=this.e++,n}catch(n){throw sL(n=X5(n),77)?(this.Xj(),Lm(new cv)):Lm(n)}},iSn.Zj=function(){var n;try{return n=this.c.Vi(--this.e),this.Xj(),this.g=this.e,n}catch(n){throw sL(n=X5(n),77)?(this.Xj(),Lm(new cv)):Lm(n)}},iSn.Qb=function(){throw Lm(new ev)},iSn.Wb=function(n){throw Lm(new ev)},EH(yFn,"AbstractEList/NonResolvingEListIterator",398),_wn(2080,70,K_n),iSn.Ei=function(n,t){var e,i,r,c,a,o,u,s,h;if(0!=(i=t.gc())){for(e=_9(this,(s=null==(u=JR(s5(this.a,4),129))?0:u.length)+i),(h=s-n)>0&&ayn(u,n,e,n+i,h),o=t.Kc(),c=0;ce)throw Lm(new jx(n,e));return new tG(this,n)},iSn.$b=function(){var n,t;++this.j,t=null==(n=JR(s5(this.a,4),129))?0:n.length,Ern(this,null),eZ(this,t,n)},iSn.Hc=function(n){var t,e,i,r;if(null!=(t=JR(s5(this.a,4),129)))if(null!=n){for(i=0,r=(e=t).length;i=(e=null==(t=JR(s5(this.a,4),129))?0:t.length))throw Lm(new jx(n,e));return t[n]},iSn.dd=function(n){var t,e,i;if(null!=(t=JR(s5(this.a,4),129)))if(null!=n){for(e=0,i=t.length;ee)throw Lm(new jx(n,e));return new nG(this,n)},iSn.Ti=function(n,t){var e,i,r;if(n>=(r=null==(e=Ein(this))?0:e.length))throw Lm(new jy(BFn+n+HFn+r));if(t>=r)throw Lm(new jy(UFn+t+HFn+r));return i=e[t],n!=t&&(n=(a=null==(e=JR(s5(n.a,4),129))?0:e.length))throw Lm(new jx(t,a));return r=e[t],1==a?i=null:(ayn(e,0,i=tZ(Alt,R_n,424,a-1,0,1),0,t),(c=a-t-1)>0&&ayn(e,t+1,i,t,c)),Ern(n,i),Sln(n,t,r),r}(this,n)},iSn.Xi=function(n,t){var e,i;return i=(e=Ein(this))[n],PA(e,n,m9(this,t)),Ern(this,e),i},iSn.gc=function(){var n;return null==(n=JR(s5(this.a,4),129))?0:n.length},iSn.Pc=function(){var n,t,e;return e=null==(n=JR(s5(this.a,4),129))?0:n.length,t=tZ(Alt,R_n,424,e,0,1),e>0&&ayn(n,0,t,0,e),t},iSn.Qc=function(n){var t,e;return(e=null==(t=JR(s5(this.a,4),129))?0:t.length)>0&&(n.lengthe&&FH(n,e,null),n},EH(yFn,"ArrayDelegatingEList",2080),_wn(1051,37,ISn,lJ),iSn.Xj=function(){if(this.b.j!=this.f||UI(JR(s5(this.b.a,4),129))!==UI(this.a))throw Lm(new iv)},iSn.Qb=function(){Kun(this),this.a=JR(s5(this.b.a,4),129)},EH(yFn,"ArrayDelegatingEList/EIterator",1051),_wn(722,286,KSn,lB,nG),iSn.Xj=function(){if(this.b.j!=this.f||UI(JR(s5(this.b.a,4),129))!==UI(this.a))throw Lm(new iv)},iSn.$j=function(n){van(this,n),this.a=JR(s5(this.b.a,4),129)},iSn.Qb=function(){Kun(this),this.a=JR(s5(this.b.a,4),129)},EH(yFn,"ArrayDelegatingEList/EListIterator",722),_wn(1052,355,ISn,bJ),iSn.Xj=function(){if(this.b.j!=this.f||UI(JR(s5(this.b.a,4),129))!==UI(this.a))throw Lm(new iv)},EH(yFn,"ArrayDelegatingEList/NonResolvingEIterator",1052),_wn(723,398,KSn,bB,tG),iSn.Xj=function(){if(this.b.j!=this.f||UI(JR(s5(this.b.a,4),129))!==UI(this.a))throw Lm(new iv)},EH(yFn,"ArrayDelegatingEList/NonResolvingEListIterator",723),_wn(615,302,wCn,jO),EH(yFn,"BasicEList/BasicIndexOutOfBoundsException",615),_wn(710,66,GFn,FI),iSn.bd=function(n,t){throw Lm(new ev)},iSn.Fc=function(n){throw Lm(new ev)},iSn.cd=function(n,t){throw Lm(new ev)},iSn.Gc=function(n){throw Lm(new ev)},iSn.$b=function(){throw Lm(new ev)},iSn._i=function(n){throw Lm(new ev)},iSn.Kc=function(){return this.Ii()},iSn.ed=function(){return this.Ji()},iSn.fd=function(n){return this.Ki(n)},iSn.Ti=function(n,t){throw Lm(new ev)},iSn.Ui=function(n,t){throw Lm(new ev)},iSn.gd=function(n){throw Lm(new ev)},iSn.Mc=function(n){throw Lm(new ev)},iSn.hd=function(n,t){throw Lm(new ev)},EH(yFn,"BasicEList/UnmodifiableEList",710),_wn(721,1,{3:1,20:1,16:1,15:1,61:1,597:1}),iSn.bd=function(n,t){!function(n,t,e){n.c.bd(t,JR(e,136))}(this,n,JR(t,44))},iSn.Fc=function(n){return function(n,t){return n.c.Fc(JR(t,136))}(this,JR(n,44))},iSn.Jc=function(n){QQ(this,n)},iSn.Xb=function(n){return JR(d2(this.c,n),136)},iSn.Ti=function(n,t){return JR(this.c.Ti(n,t),44)},iSn.Ui=function(n,t){!function(n,t,e){n.c.Ui(t,JR(e,136))}(this,n,JR(t,44))},iSn.Lc=function(){return new PF(null,new Kz(this,16))},iSn.gd=function(n){return JR(this.c.gd(n),44)},iSn.hd=function(n,t){return function(n,t,e){return JR(n.c.hd(t,JR(e,136)),44)}(this,n,JR(t,44))},iSn.jd=function(n){A4(this,n)},iSn.Nc=function(){return new Kz(this,16)},iSn.Oc=function(){return new PF(null,new Kz(this,16))},iSn.cd=function(n,t){return this.c.cd(n,t)},iSn.Gc=function(n){return this.c.Gc(n)},iSn.$b=function(){this.c.$b()},iSn.Hc=function(n){return this.c.Hc(n)},iSn.Ic=function(n){return G5(this.c,n)},iSn._j=function(){var n,t;if(null==this.d){for(this.d=tZ(jlt,F_n,66,2*this.f+1,0,1),t=this.e,this.f=0,n=this.c.Kc();n.e!=n.i.gc();)Kcn(this,JR(n.Yj(),136));this.e=t}},iSn.Fb=function(n){return _x(this,n)},iSn.Hb=function(){return r8(this.c)},iSn.dd=function(n){return this.c.dd(n)},iSn.ak=function(){this.c=new Yp(this)},iSn.dc=function(){return 0==this.f},iSn.Kc=function(){return this.c.Kc()},iSn.ed=function(){return this.c.ed()},iSn.fd=function(n){return this.c.fd(n)},iSn.bk=function(){return ZY(this)},iSn.ck=function(n,t,e){return new OR(n,t,e)},iSn.dk=function(){return new ws},iSn.Mc=function(n){return M3(this,n)},iSn.gc=function(){return this.f},iSn.kd=function(n,t){return new jz(this.c,n,t)},iSn.Pc=function(){return this.c.Pc()},iSn.Qc=function(n){return this.c.Qc(n)},iSn.Ib=function(){return uen(this.c)},iSn.e=0,iSn.f=0,EH(yFn,"BasicEMap",721),_wn(1046,66,GFn,Yp),iSn.Mi=function(n,t){!function(n,t){Kcn(n.a,t)}(this,JR(t,136))},iSn.Pi=function(n,t,e){++(JR(t,136),this).a.e},iSn.Qi=function(n,t){!function(n,t){itn(n.a,t)}(this,JR(t,136))},iSn.Ri=function(n,t,e){!function(n,t,e){itn(n.a,e),Kcn(n.a,t)}(this,JR(t,136),JR(e,136))},iSn.Oi=function(n,t){u5(this.a)},EH(yFn,"BasicEMap/1",1046),_wn(1047,66,GFn,ws),iSn.aj=function(n){return tZ($lt,__n,621,n,0,1)},EH(yFn,"BasicEMap/2",1047),_wn(1048,NSn,$Sn,Zp),iSn.$b=function(){this.a.c.$b()},iSn.Hc=function(n){return Ben(this.a,n)},iSn.Kc=function(){return 0==this.a.f?(nD(),Nlt.a):new GM(this.a)},iSn.Mc=function(n){var t;return t=this.a.f,Kin(this.a,n),this.a.f!=t},iSn.gc=function(){return this.a.f},EH(yFn,"BasicEMap/3",1048),_wn(1049,31,LSn,nm),iSn.$b=function(){this.a.c.$b()},iSn.Hc=function(n){return ymn(this.a,n)},iSn.Kc=function(){return 0==this.a.f?(nD(),Nlt.a):new qM(this.a)},iSn.gc=function(){return this.a.f},EH(yFn,"BasicEMap/4",1049),_wn(1050,NSn,$Sn,tm),iSn.$b=function(){this.a.c.$b()},iSn.Hc=function(n){var t,e,i,r,c,a,o,u,s;if(this.a.f>0&&sL(n,44)&&(this.a._j(),r=null==(o=(u=JR(n,44)).ld())?0:F4(o),c=CD(this.a,r),t=this.a.d[c]))for(e=JR(t.g,379),s=t.i,a=0;a"+this.c},iSn.a=0;var Nlt,$lt=EH(yFn,"BasicEMap/EntryImpl",621);_wn(546,1,{},ds),EH(yFn,"BasicEMap/View",546),_wn(783,1,{}),iSn.Fb=function(n){return Jwn((eq(),BGn),n)},iSn.Hb=function(){return r9((eq(),BGn))},iSn.Ib=function(){return Chn((eq(),BGn))},EH(yFn,"ECollections/BasicEmptyUnmodifiableEList",783),_wn(1348,1,KSn,gs),iSn.Nb=function(n){yB(this,n)},iSn.Rb=function(n){throw Lm(new ev)},iSn.Ob=function(){return!1},iSn.Sb=function(){return!1},iSn.Pb=function(){throw Lm(new cv)},iSn.Tb=function(){return 0},iSn.Ub=function(){throw Lm(new cv)},iSn.Vb=function(){return-1},iSn.Qb=function(){throw Lm(new ev)},iSn.Wb=function(n){throw Lm(new ev)},EH(yFn,"ECollections/BasicEmptyUnmodifiableEList/1",1348),_wn(1346,783,{20:1,16:1,15:1,61:1},ik),iSn.bd=function(n,t){RT()},iSn.Fc=function(n){return KT()},iSn.cd=function(n,t){return FT()},iSn.Gc=function(n){return _T()},iSn.$b=function(){BT()},iSn.Hc=function(n){return!1},iSn.Ic=function(n){return!1},iSn.Jc=function(n){QQ(this,n)},iSn.Xb=function(n){return wO((eq(),n)),null},iSn.dd=function(n){return-1},iSn.dc=function(){return!0},iSn.Kc=function(){return this.a},iSn.ed=function(){return this.a},iSn.fd=function(n){return this.a},iSn.Ti=function(n,t){return HT()},iSn.Ui=function(n,t){UT()},iSn.Lc=function(){return new PF(null,new Kz(this,16))},iSn.gd=function(n){return GT()},iSn.Mc=function(n){return qT()},iSn.hd=function(n,t){return XT()},iSn.gc=function(){return 0},iSn.jd=function(n){A4(this,n)},iSn.Nc=function(){return new Kz(this,16)},iSn.Oc=function(){return new PF(null,new Kz(this,16))},iSn.kd=function(n,t){return eq(),new jz(BGn,n,t)},iSn.Pc=function(){return I_((eq(),BGn))},iSn.Qc=function(n){return eq(),kan(BGn,n)},EH(yFn,"ECollections/EmptyUnmodifiableEList",1346),_wn(1347,783,{20:1,16:1,15:1,61:1,597:1},rk),iSn.bd=function(n,t){RT()},iSn.Fc=function(n){return KT()},iSn.cd=function(n,t){return FT()},iSn.Gc=function(n){return _T()},iSn.$b=function(){BT()},iSn.Hc=function(n){return!1},iSn.Ic=function(n){return!1},iSn.Jc=function(n){QQ(this,n)},iSn.Xb=function(n){return wO((eq(),n)),null},iSn.dd=function(n){return-1},iSn.dc=function(){return!0},iSn.Kc=function(){return this.a},iSn.ed=function(){return this.a},iSn.fd=function(n){return this.a},iSn.Ti=function(n,t){return HT()},iSn.Ui=function(n,t){UT()},iSn.Lc=function(){return new PF(null,new Kz(this,16))},iSn.gd=function(n){return GT()},iSn.Mc=function(n){return qT()},iSn.hd=function(n,t){return XT()},iSn.gc=function(){return 0},iSn.jd=function(n){A4(this,n)},iSn.Nc=function(){return new Kz(this,16)},iSn.Oc=function(){return new PF(null,new Kz(this,16))},iSn.kd=function(n,t){return eq(),new jz(BGn,n,t)},iSn.Pc=function(){return I_((eq(),BGn))},iSn.Qc=function(n){return eq(),kan(BGn,n)},iSn.bk=function(){return eq(),eq(),HGn},EH(yFn,"ECollections/EmptyUnmodifiableEMap",1347);var Dlt,xlt=nF(yFn,"Enumerator");_wn(288,1,{288:1},Cmn),iSn.Fb=function(n){var t;return this===n||!!sL(n,288)&&(t=JR(n,288),this.f==t.f&&function(n,t){return null==n?null==t:Qin(n,t)}(this.i,t.i)&&AF(this.a,256&this.f?256&t.f?t.a:null:256&t.f?null:t.a)&&AF(this.d,t.d)&&AF(this.g,t.g)&&AF(this.e,t.e)&&function(n,t){var e,i;if(n.j.length!=t.j.length)return!1;for(e=0,i=n.j.length;e=0?n.ki(e):cbn(n,t)},EH(zKn,"BasicEObjectImpl/4",1040),_wn(2081,1,{114:1}),iSn.Mk=function(n){this.e=0==n?Bbt:tZ(sUn,kSn,1,n,5,1)},iSn.li=function(n){return this.e[n]},iSn.mi=function(n,t){this.e[n]=t},iSn.ni=function(n){this.e[n]=null},iSn.Nk=function(){return this.c},iSn.Ok=function(){throw Lm(new ev)},iSn.Pk=function(){throw Lm(new ev)},iSn.Qk=function(){return this.d},iSn.Rk=function(){return null!=this.e},iSn.Sk=function(n){this.c=n},iSn.Tk=function(n){throw Lm(new ev)},iSn.Uk=function(n){throw Lm(new ev)},iSn.Vk=function(n){this.d=n},EH(zKn,"BasicEObjectImpl/EPropertiesHolderBaseImpl",2081),_wn(192,2081,{114:1},Ol),iSn.Ok=function(){return this.a},iSn.Pk=function(){return this.b},iSn.Tk=function(n){this.a=n},iSn.Uk=function(n){this.b=n},EH(zKn,"BasicEObjectImpl/EPropertiesHolderImpl",192),_wn(516,99,XKn,ps),iSn.uh=function(){return this.f},iSn.zh=function(){return this.k},iSn.Bh=function(n,t){this.g=n,this.i=t},iSn.Dh=function(){return 2&this.j?this.$h().Nk():this.ii()},iSn.Fh=function(){return this.i},iSn.wh=function(){return!!(1&this.j)},iSn.Ph=function(){return this.g},iSn.Vh=function(){return!!(4&this.j)},iSn.$h=function(){return!this.k&&(this.k=new Ol),this.k},iSn.ci=function(n){this.$h().Sk(n),n?this.j|=2:this.j&=-3},iSn.ei=function(n){this.$h().Uk(n),n?this.j|=4:this.j&=-5},iSn.ii=function(){return(NH(),pbt).S},iSn.i=0,iSn.j=1,EH(zKn,"EObjectImpl",516),_wn(798,516,{110:1,94:1,93:1,58:1,114:1,54:1,99:1},TK),iSn.li=function(n){return this.e[n]},iSn.mi=function(n,t){this.e[n]=t},iSn.ni=function(n){this.e[n]=null},iSn.Dh=function(){return this.d},iSn.Ih=function(n){return Pen(this.d,n)},iSn.Kh=function(){return this.d},iSn.Oh=function(){return null!=this.e},iSn.$h=function(){return!this.k&&(this.k=new ms),this.k},iSn.ci=function(n){this.d=n},iSn.hi=function(){var n;return null==this.e&&(n=DH(this.d),this.e=0==n?Hbt:tZ(sUn,kSn,1,n,5,1)),this},iSn.ji=function(){return 0},EH(zKn,"DynamicEObjectImpl",798),_wn(1522,798,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1},QK),iSn.Fb=function(n){return this===n},iSn.Hb=function(){return FN(this)},iSn.ci=function(n){this.d=n,this.b=_gn(n,"key"),this.c=_gn(n,iFn)},iSn.Bi=function(){var n;return-1==this.a&&(n=H1(this,this.b),this.a=null==n?0:F4(n)),this.a},iSn.ld=function(){return H1(this,this.b)},iSn.md=function(){return H1(this,this.c)},iSn.Ci=function(n){this.a=n},iSn.Di=function(n){IX(this,this.b,n)},iSn.nd=function(n){var t;return t=H1(this,this.c),IX(this,this.c,n),t},iSn.a=0,EH(zKn,"DynamicEObjectImpl/BasicEMapEntry",1522),_wn(1523,1,{114:1},ms),iSn.Mk=function(n){throw Lm(new ev)},iSn.li=function(n){throw Lm(new ev)},iSn.mi=function(n,t){throw Lm(new ev)},iSn.ni=function(n){throw Lm(new ev)},iSn.Nk=function(){throw Lm(new ev)},iSn.Ok=function(){return this.a},iSn.Pk=function(){return this.b},iSn.Qk=function(){return this.c},iSn.Rk=function(){throw Lm(new ev)},iSn.Sk=function(n){throw Lm(new ev)},iSn.Tk=function(n){this.a=n},iSn.Uk=function(n){this.b=n},iSn.Vk=function(n){this.c=n},EH(zKn,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1523),_wn(519,158,{110:1,94:1,93:1,598:1,155:1,58:1,114:1,54:1,99:1,519:1,158:1,119:1,120:1},vs),iSn.Ah=function(n){return Kon(this,n)},iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.d;case 2:return e?(!this.b&&(this.b=new I$((JEn(),Rbt),swt,this)),this.b):(!this.b&&(this.b=new I$((JEn(),Rbt),swt,this)),ZY(this.b));case 3:return HX(this);case 4:return!this.a&&(this.a=new NL(Wft,this,4)),this.a;case 5:return!this.c&&(this.c=new BL(Wft,this,5)),this.c}return KZ(this,n-DH((JEn(),mbt)),F0(JR(s5(this,16),29)||mbt,n),t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 3:return this.Cb&&(e=(i=this.Db>>16)>=0?Kon(this,e):this.Cb.Th(this,-1-i,null,e)),k_(this,JR(n,155),e)}return JR(F0(JR(s5(this,16),29)||(JEn(),mbt),t),69).wk().zk(this,qin(this),t-DH((JEn(),mbt)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 2:return!this.b&&(this.b=new I$((JEn(),Rbt),swt,this)),Bx(this.b,n,e);case 3:return k_(this,null,e);case 4:return!this.a&&(this.a=new NL(Wft,this,4)),bcn(this.a,n,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),mbt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),mbt)),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!HX(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return $W(this,n-DH((JEn(),mbt)),F0(JR(s5(this,16),29)||mbt,n))},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void function(n,t){c4(n,null==t?null:(TU(t),t))}(this,V$(t));case 2:return!this.b&&(this.b=new I$((JEn(),Rbt),swt,this)),void x6(this.b,t);case 3:return void xgn(this,JR(t,155));case 4:return!this.a&&(this.a=new NL(Wft,this,4)),ZMn(this.a),!this.a&&(this.a=new NL(Wft,this,4)),void oH(this.a,JR(t,16));case 5:return!this.c&&(this.c=new BL(Wft,this,5)),ZMn(this.c),!this.c&&(this.c=new BL(Wft,this,5)),void oH(this.c,JR(t,16))}nen(this,n-DH((JEn(),mbt)),F0(JR(s5(this,16),29)||mbt,n),t)},iSn.ii=function(){return JEn(),mbt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return void c4(this,null);case 2:return!this.b&&(this.b=new I$((JEn(),Rbt),swt,this)),void this.b.c.$b();case 3:return void xgn(this,null);case 4:return!this.a&&(this.a=new NL(Wft,this,4)),void ZMn(this.a);case 5:return!this.c&&(this.c=new BL(Wft,this,5)),void ZMn(this.c)}Snn(this,n-DH((JEn(),mbt)),F0(JR(s5(this,16),29)||mbt,n))},iSn.Ib=function(){return Cnn(this)},iSn.d=null,EH(zKn,"EAnnotationImpl",519),_wn(141,721,eBn,TZ),iSn.Gi=function(n,t){!function(n,t,e){JR(n.c,71).Gi(t,e)}(this,n,JR(t,44))},iSn.Wk=function(n,t){return function(n,t,e){return JR(n.c,71).Wk(t,e)}(this,JR(n,44),t)},iSn.$i=function(n){return JR(JR(this.c,71).$i(n),136)},iSn.Ii=function(){return JR(this.c,71).Ii()},iSn.Ji=function(){return JR(this.c,71).Ji()},iSn.Ki=function(n){return JR(this.c,71).Ki(n)},iSn.Xk=function(n,t){return Bx(this,n,t)},iSn.Fk=function(n){return JR(this.c,79).Fk(n)},iSn.ak=function(){},iSn.Qj=function(){return JR(this.c,79).Qj()},iSn.ck=function(n,t,e){var i;return(i=JR(h2(this.b).wi().si(this.b),136)).Ci(n),i.Di(t),i.nd(e),i},iSn.dk=function(){return new pm(this)},iSn.Wb=function(n){x6(this,n)},iSn.Gk=function(){JR(this.c,79).Gk()},EH(nBn,"EcoreEMap",141),_wn(165,141,eBn,I$),iSn._j=function(){var n,t,e,i,r;if(null==this.d){for(r=tZ(jlt,F_n,66,2*this.f+1,0,1),e=this.c.Kc();e.e!=e.i.gc();)!(n=r[i=((t=JR(e.Yj(),136)).Bi()&wSn)%r.length])&&(n=r[i]=new pm(this)),n.Fc(t);this.d=r}},EH(zKn,"EAnnotationImpl/1",165),_wn(292,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,481:1,54:1,99:1,158:1,292:1,119:1,120:1}),iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return UN(),!!(256&this.Bb);case 3:return UN(),!!(512&this.Bb);case 4:return ann(this.s);case 5:return ann(this.t);case 6:return UN(),!!this.Jk();case 7:return UN(),this.s>=1;case 8:return t?zon(this):this.r;case 9:return this.q}return KZ(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 9:return uH(this,e)}return JR(F0(JR(s5(this,16),29)||this.ii(),t),69).wk().Ak(this,qin(this),t-DH(this.ii()),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Jk();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==QH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==QH(this.q).i)}return $W(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void this.ui(V$(t));case 2:return void Onn(this,py(X$(t)));case 3:return void Nnn(this,py(X$(t)));case 4:return void X2(this,JR(t,17).a);case 5:return void this.Zk(JR(t,17).a);case 8:return void k7(this,JR(t,142));case 9:return void((e=Qsn(this,JR(t,89),null))&&e.oj())}nen(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t)},iSn.ii=function(){return JEn(),Fbt},iSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return void this.ui(null);case 2:return void Onn(this,!0);case 3:return void Nnn(this,!0);case 4:return void X2(this,0);case 5:return void this.Zk(1);case 8:return void k7(this,null);case 9:return void((t=Qsn(this,null,null))&&t.oj())}Snn(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.pi=function(){zon(this),this.Bb|=1},iSn.Hk=function(){return zon(this)},iSn.Ik=function(){return this.t},iSn.Jk=function(){var n;return(n=this.t)>1||-1==n},iSn.Si=function(){return!!(512&this.Bb)},iSn.Yk=function(n,t){return vnn(this,n,t)},iSn.Zk=function(n){z2(this,n)},iSn.Ib=function(){return gwn(this)},iSn.s=0,iSn.t=1,EH(zKn,"ETypedElementImpl",292),_wn(462,292,{110:1,94:1,93:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,462:1,292:1,119:1,120:1,692:1}),iSn.Ah=function(n){return bon(this,n)},iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return UN(),!!(256&this.Bb);case 3:return UN(),!!(512&this.Bb);case 4:return ann(this.s);case 5:return ann(this.t);case 6:return UN(),!!this.Jk();case 7:return UN(),this.s>=1;case 8:return t?zon(this):this.r;case 9:return this.q;case 10:return UN(),!!(this.Bb&sPn);case 11:return UN(),!!(this.Bb&cBn);case 12:return UN(),!!(this.Bb&vCn);case 13:return this.j;case 14:return wgn(this);case 15:return UN(),!!(this.Bb&rBn);case 16:return UN(),!!(this.Bb&USn);case 17:return BX(this)}return KZ(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 17:return this.Cb&&(e=(i=this.Db>>16)>=0?bon(this,e):this.Cb.Th(this,-1-i,null,e)),lkn(this,n,17,e)}return JR(F0(JR(s5(this,16),29)||this.ii(),t),69).wk().zk(this,qin(this),t-DH(this.ii()),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 9:return uH(this,e);case 17:return lkn(this,null,17,e)}return JR(F0(JR(s5(this,16),29)||this.ii(),t),69).wk().Ak(this,qin(this),t-DH(this.ii()),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Jk();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==QH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==QH(this.q).i);case 10:return!(this.Bb&sPn);case 11:return!!(this.Bb&cBn);case 12:return!!(this.Bb&vCn);case 13:return null!=this.j;case 14:return null!=wgn(this);case 15:return!!(this.Bb&rBn);case 16:return!!(this.Bb&USn);case 17:return!!BX(this)}return $W(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void dz(this,V$(t));case 2:return void Onn(this,py(X$(t)));case 3:return void Nnn(this,py(X$(t)));case 4:return void X2(this,JR(t,17).a);case 5:return void this.Zk(JR(t,17).a);case 8:return void k7(this,JR(t,142));case 9:return void((e=Qsn(this,JR(t,89),null))&&e.oj());case 10:return void rtn(this,py(X$(t)));case 11:return void otn(this,py(X$(t)));case 12:return void ctn(this,py(X$(t)));case 13:return void CI(this,V$(t));case 15:return void atn(this,py(X$(t)));case 16:return void Ctn(this,py(X$(t)))}nen(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t)},iSn.ii=function(){return JEn(),Kbt},iSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return sL(this.Cb,90)&&Gln(fJ(JR(this.Cb,90)),4),void H4(this,null);case 2:return void Onn(this,!0);case 3:return void Nnn(this,!0);case 4:return void X2(this,0);case 5:return void this.Zk(1);case 8:return void k7(this,null);case 9:return void((t=Qsn(this,null,null))&&t.oj());case 10:return void rtn(this,!0);case 11:return void otn(this,!1);case 12:return void ctn(this,!1);case 13:return this.i=null,void b4(this,null);case 15:return void atn(this,!1);case 16:return void Ctn(this,!1)}Snn(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.pi=function(){JU(O1((nln(),dwt),this)),zon(this),this.Bb|=1},iSn.pk=function(){return this.f},iSn.ik=function(){return wgn(this)},iSn.qk=function(){return BX(this)},iSn.uk=function(){return null},iSn.$k=function(){return this.k},iSn.Lj=function(){return this.n},iSn.vk=function(){return zun(this)},iSn.wk=function(){var n,t,e,i,r,c,a,o,u;return this.p||((null==(e=BX(this)).i&&dyn(e),e.i).length,(i=this.uk())&&DH(BX(i)),n=(a=(r=zon(this)).kk())?1&a.i?a==Qdt?ZUn:a==Wdt?sGn:a==ngt?aGn:a==Zdt?cGn:a==Jdt?dGn:a==tgt?pGn:a==Ydt?eGn:rGn:a:null,t=wgn(this),o=r.ik(),Btn(this),this.Bb&USn&&((c=kun((nln(),dwt),e))&&c!=this||(c=Yz(O1(dwt,this))))?this.p=new $I(this,c):this.Jk()?this.al()?i?this.Bb&rBn?n?this.bl()?this.p=new AG(47,n,this,i):this.p=new AG(5,n,this,i):this.bl()?this.p=new wQ(46,this,i):this.p=new wQ(4,this,i):n?this.bl()?this.p=new AG(49,n,this,i):this.p=new AG(7,n,this,i):this.bl()?this.p=new wQ(48,this,i):this.p=new wQ(6,this,i):this.Bb&rBn?n?n==kUn?this.p=new AR(50,flt,this):this.bl()?this.p=new AR(43,n,this):this.p=new AR(1,n,this):this.bl()?this.p=new Aq(42,this):this.p=new Aq(0,this):n?n==kUn?this.p=new AR(41,flt,this):this.bl()?this.p=new AR(45,n,this):this.p=new AR(3,n,this):this.bl()?this.p=new Aq(44,this):this.p=new Aq(2,this):sL(r,156)?n==Vbt?this.p=new Aq(40,this):512&this.Bb?this.Bb&rBn?this.p=n?new AR(9,n,this):new Aq(8,this):this.p=n?new AR(11,n,this):new Aq(10,this):this.Bb&rBn?this.p=n?new AR(13,n,this):new Aq(12,this):this.p=n?new AR(15,n,this):new Aq(14,this):i?(u=i.t)>1||-1==u?this.bl()?this.Bb&rBn?this.p=n?new AG(25,n,this,i):new wQ(24,this,i):this.p=n?new AG(27,n,this,i):new wQ(26,this,i):this.Bb&rBn?this.p=n?new AG(29,n,this,i):new wQ(28,this,i):this.p=n?new AG(31,n,this,i):new wQ(30,this,i):this.bl()?this.Bb&rBn?this.p=n?new AG(33,n,this,i):new wQ(32,this,i):this.p=n?new AG(35,n,this,i):new wQ(34,this,i):this.Bb&rBn?this.p=n?new AG(37,n,this,i):new wQ(36,this,i):this.p=n?new AG(39,n,this,i):new wQ(38,this,i):this.bl()?this.Bb&rBn?this.p=n?new AR(17,n,this):new Aq(16,this):this.p=n?new AR(19,n,this):new Aq(18,this):this.Bb&rBn?this.p=n?new AR(21,n,this):new Aq(20,this):this.p=n?new AR(23,n,this):new Aq(22,this):this._k()?this.bl()?this.p=new LR(JR(r,29),this,i):this.p=new tX(JR(r,29),this,i):sL(r,156)?n==Vbt?this.p=new Aq(40,this):this.Bb&rBn?this.p=n?new p_(t,o,this,(zen(),a==Wdt?cwt:a==Qdt?nwt:a==Jdt?awt:a==ngt?rwt:a==Zdt?iwt:a==tgt?uwt:a==Ydt?twt:a==Vdt?ewt:owt)):new $G(JR(r,156),t,o,this):this.p=n?new g_(t,o,this,(zen(),a==Wdt?cwt:a==Qdt?nwt:a==Jdt?awt:a==ngt?rwt:a==Zdt?iwt:a==tgt?uwt:a==Ydt?twt:a==Vdt?ewt:owt)):new NG(JR(r,156),t,o,this):this.al()?i?this.Bb&rBn?this.bl()?this.p=new KR(JR(r,29),this,i):this.p=new RR(JR(r,29),this,i):this.bl()?this.p=new xR(JR(r,29),this,i):this.p=new NR(JR(r,29),this,i):this.Bb&rBn?this.bl()?this.p=new F$(JR(r,29),this):this.p=new R$(JR(r,29),this):this.bl()?this.p=new x$(JR(r,29),this):this.p=new D$(JR(r,29),this):this.bl()?i?this.Bb&rBn?this.p=new FR(JR(r,29),this,i):this.p=new $R(JR(r,29),this,i):this.Bb&rBn?this.p=new _$(JR(r,29),this):this.p=new K$(JR(r,29),this):i?this.Bb&rBn?this.p=new _R(JR(r,29),this,i):this.p=new DR(JR(r,29),this,i):this.Bb&rBn?this.p=new B$(JR(r,29),this):this.p=new _F(JR(r,29),this)),this.p},iSn.rk=function(){return!!(this.Bb&sPn)},iSn._k=function(){return!1},iSn.al=function(){return!1},iSn.sk=function(){return!!(this.Bb&USn)},iSn.xk=function(){return J1(this)},iSn.bl=function(){return!1},iSn.tk=function(){return!!(this.Bb&rBn)},iSn.cl=function(n){this.k=n},iSn.ui=function(n){dz(this,n)},iSn.Ib=function(){return qmn(this)},iSn.e=!1,iSn.n=0,EH(zKn,"EStructuralFeatureImpl",462),_wn(331,462,{110:1,94:1,93:1,35:1,155:1,197:1,58:1,179:1,69:1,114:1,481:1,54:1,99:1,331:1,158:1,462:1,292:1,119:1,120:1,692:1},uk),iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return UN(),!!(256&this.Bb);case 3:return UN(),!!(512&this.Bb);case 4:return ann(this.s);case 5:return ann(this.t);case 6:return UN(),!!Pbn(this);case 7:return UN(),this.s>=1;case 8:return t?zon(this):this.r;case 9:return this.q;case 10:return UN(),!!(this.Bb&sPn);case 11:return UN(),!!(this.Bb&cBn);case 12:return UN(),!!(this.Bb&vCn);case 13:return this.j;case 14:return wgn(this);case 15:return UN(),!!(this.Bb&rBn);case 16:return UN(),!!(this.Bb&USn);case 17:return BX(this);case 18:return UN(),!!(this.Bb&qKn);case 19:return t?U5(this):aY(this)}return KZ(this,n-DH((JEn(),vbt)),F0(JR(s5(this,16),29)||vbt,n),t,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return Pbn(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==QH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==QH(this.q).i);case 10:return!(this.Bb&sPn);case 11:return!!(this.Bb&cBn);case 12:return!!(this.Bb&vCn);case 13:return null!=this.j;case 14:return null!=wgn(this);case 15:return!!(this.Bb&rBn);case 16:return!!(this.Bb&USn);case 17:return!!BX(this);case 18:return!!(this.Bb&qKn);case 19:return!!aY(this)}return $W(this,n-DH((JEn(),vbt)),F0(JR(s5(this,16),29)||vbt,n))},iSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void dz(this,V$(t));case 2:return void Onn(this,py(X$(t)));case 3:return void Nnn(this,py(X$(t)));case 4:return void X2(this,JR(t,17).a);case 5:return void WM(this,JR(t,17).a);case 8:return void k7(this,JR(t,142));case 9:return void((e=Qsn(this,JR(t,89),null))&&e.oj());case 10:return void rtn(this,py(X$(t)));case 11:return void otn(this,py(X$(t)));case 12:return void ctn(this,py(X$(t)));case 13:return void CI(this,V$(t));case 15:return void atn(this,py(X$(t)));case 16:return void Ctn(this,py(X$(t)));case 18:return void Stn(this,py(X$(t)))}nen(this,n-DH((JEn(),vbt)),F0(JR(s5(this,16),29)||vbt,n),t)},iSn.ii=function(){return JEn(),vbt},iSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return sL(this.Cb,90)&&Gln(fJ(JR(this.Cb,90)),4),void H4(this,null);case 2:return void Onn(this,!0);case 3:return void Nnn(this,!0);case 4:return void X2(this,0);case 5:return this.b=0,void z2(this,1);case 8:return void k7(this,null);case 9:return void((t=Qsn(this,null,null))&&t.oj());case 10:return void rtn(this,!0);case 11:return void otn(this,!1);case 12:return void ctn(this,!1);case 13:return this.i=null,void b4(this,null);case 15:return void atn(this,!1);case 16:return void Ctn(this,!1);case 18:return void Stn(this,!1)}Snn(this,n-DH((JEn(),vbt)),F0(JR(s5(this,16),29)||vbt,n))},iSn.pi=function(){U5(this),JU(O1((nln(),dwt),this)),zon(this),this.Bb|=1},iSn.Jk=function(){return Pbn(this)},iSn.Yk=function(n,t){return this.b=0,this.a=null,vnn(this,n,t)},iSn.Zk=function(n){WM(this,n)},iSn.Ib=function(){var n;return 64&this.Db?qmn(this):((n=new vN(qmn(this))).a+=" (iD: ",lT(n,!!(this.Bb&qKn)),n.a+=")",n.a)},iSn.b=0,EH(zKn,"EAttributeImpl",331),_wn(364,448,{110:1,94:1,93:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,364:1,158:1,119:1,120:1,691:1}),iSn.dl=function(n){return n.Dh()==this},iSn.Ah=function(n){return Yan(this,n)},iSn.Bh=function(n,t){this.w=null,this.Db=t<<16|255&this.Db,this.Cb=n},iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return Xan(this);case 4:return this.ik();case 5:return this.F;case 6:return t?h2(this):KX(this);case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),this.A}return KZ(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Yan(this,e):this.Cb.Th(this,-1-i,null,e)),lkn(this,n,6,e)}return JR(F0(JR(s5(this,16),29)||this.ii(),t),69).wk().zk(this,qin(this),t-DH(this.ii()),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 6:return lkn(this,null,6,e);case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),bcn(this.A,n,e)}return JR(F0(JR(s5(this,16),29)||this.ii(),t),69).wk().Ak(this,qin(this),t-DH(this.ii()),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Xan(this);case 4:return null!=this.ik();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!KX(this);case 7:return!!this.A&&0!=this.A.i}return $W(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void wz(this,V$(t));case 2:return void hA(this,V$(t));case 5:return void YTn(this,V$(t));case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),ZMn(this.A),!this.A&&(this.A=new KL(Xbt,this,7)),void oH(this.A,JR(t,16))}nen(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n),t)},iSn.ii=function(){return JEn(),ybt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return sL(this.Cb,184)&&(JR(this.Cb,184).tb=null),void H4(this,null);case 2:return Y9(this,null),void W2(this,this.D);case 5:return void YTn(this,null);case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),void ZMn(this.A)}Snn(this,n-DH(this.ii()),F0(JR(s5(this,16),29)||this.ii(),n))},iSn.hk=function(){var n;return-1==this.G&&(this.G=(n=h2(this))?mcn(n.vi(),this):-1),this.G},iSn.ik=function(){return null},iSn.jk=function(){return h2(this)},iSn.el=function(){return this.v},iSn.kk=function(){return Xan(this)},iSn.lk=function(){return null!=this.D?this.D:this.B},iSn.mk=function(){return this.F},iSn.fk=function(n){return Ykn(this,n)},iSn.fl=function(n){this.v=n},iSn.gl=function(n){Y4(this,n)},iSn.hl=function(n){this.C=n},iSn.ui=function(n){wz(this,n)},iSn.Ib=function(){return Ren(this)},iSn.C=null,iSn.D=null,iSn.G=-1,EH(zKn,"EClassifierImpl",364),_wn(90,364,{110:1,94:1,93:1,29:1,142:1,155:1,197:1,58:1,114:1,54:1,99:1,90:1,364:1,158:1,482:1,119:1,120:1,691:1},xl),iSn.dl=function(n){return function(n,t){return t==n||Mun(cgn(t),n)}(this,n.Dh())},iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return Xan(this);case 4:return null;case 5:return this.F;case 6:return t?h2(this):KX(this);case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),this.A;case 8:return UN(),!!(256&this.Bb);case 9:return UN(),!!(512&this.Bb);case 10:return _q(this);case 11:return!this.q&&(this.q=new aB(lbt,this,11,10)),this.q;case 12:return fMn(this);case 13:return eMn(this);case 14:return eMn(this),this.r;case 15:return fMn(this),this.k;case 16:return vln(this);case 17:return _yn(this);case 18:return dyn(this);case 19:return cgn(this);case 20:return fMn(this),this.o;case 21:return!this.s&&(this.s=new aB(ebt,this,21,17)),this.s;case 22:return cQ(this);case 23:return gmn(this)}return KZ(this,n-DH((JEn(),kbt)),F0(JR(s5(this,16),29)||kbt,n),t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 6:return this.Cb&&(e=(i=this.Db>>16)>=0?Yan(this,e):this.Cb.Th(this,-1-i,null,e)),lkn(this,n,6,e);case 11:return!this.q&&(this.q=new aB(lbt,this,11,10)),Zen(this.q,n,e);case 21:return!this.s&&(this.s=new aB(ebt,this,21,17)),Zen(this.s,n,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),kbt),t),69).wk().zk(this,qin(this),t-DH((JEn(),kbt)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 6:return lkn(this,null,6,e);case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),bcn(this.A,n,e);case 11:return!this.q&&(this.q=new aB(lbt,this,11,10)),bcn(this.q,n,e);case 21:return!this.s&&(this.s=new aB(ebt,this,21,17)),bcn(this.s,n,e);case 22:return bcn(cQ(this),n,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),kbt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),kbt)),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Xan(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!KX(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!!(256&this.Bb);case 9:return!!(512&this.Bb);case 10:return!(!this.u||0==cQ(this.u.a).i||this.n&&qcn(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=fMn(this).i;case 13:return 0!=eMn(this).i;case 14:return eMn(this),0!=this.r.i;case 15:return fMn(this),0!=this.k.i;case 16:return 0!=vln(this).i;case 17:return 0!=_yn(this).i;case 18:return 0!=dyn(this).i;case 19:return 0!=cgn(this).i;case 20:return fMn(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&qcn(this.n);case 23:return 0!=gmn(this).i}return $W(this,n-DH((JEn(),kbt)),F0(JR(s5(this,16),29)||kbt,n))},iSn.Zh=function(n){return(null==this.i||this.q&&0!=this.q.i?null:_gn(this,n))||Kjn(this,n)},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void wz(this,V$(t));case 2:return void hA(this,V$(t));case 5:return void YTn(this,V$(t));case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),ZMn(this.A),!this.A&&(this.A=new KL(Xbt,this,7)),void oH(this.A,JR(t,16));case 8:return void Ann(this,py(X$(t)));case 9:return void $nn(this,py(X$(t)));case 10:return rTn(_q(this)),void oH(_q(this),JR(t,16));case 11:return!this.q&&(this.q=new aB(lbt,this,11,10)),ZMn(this.q),!this.q&&(this.q=new aB(lbt,this,11,10)),void oH(this.q,JR(t,16));case 21:return!this.s&&(this.s=new aB(ebt,this,21,17)),ZMn(this.s),!this.s&&(this.s=new aB(ebt,this,21,17)),void oH(this.s,JR(t,16));case 22:return ZMn(cQ(this)),void oH(cQ(this),JR(t,16))}nen(this,n-DH((JEn(),kbt)),F0(JR(s5(this,16),29)||kbt,n),t)},iSn.ii=function(){return JEn(),kbt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return sL(this.Cb,184)&&(JR(this.Cb,184).tb=null),void H4(this,null);case 2:return Y9(this,null),void W2(this,this.D);case 5:return void YTn(this,null);case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),void ZMn(this.A);case 8:return void Ann(this,!1);case 9:return void $nn(this,!1);case 10:return void(this.u&&rTn(this.u));case 11:return!this.q&&(this.q=new aB(lbt,this,11,10)),void ZMn(this.q);case 21:return!this.s&&(this.s=new aB(ebt,this,21,17)),void ZMn(this.s);case 22:return void(this.n&&ZMn(this.n))}Snn(this,n-DH((JEn(),kbt)),F0(JR(s5(this,16),29)||kbt,n))},iSn.pi=function(){var n,t;if(fMn(this),eMn(this),vln(this),_yn(this),dyn(this),cgn(this),gmn(this),NJ(function(n){return!n.c&&(n.c=new Ks),n.c}(fJ(this))),this.s)for(n=0,t=this.s.i;n=0;--t)d2(this,t);return xen(this,n)},iSn.Gk=function(){ZMn(this)},iSn.Zi=function(n,t){return Z2(this,0,t)},EH(nBn,"EcoreEList",632),_wn(505,632,pBn,yK),iSn.Li=function(){return!1},iSn.Lj=function(){return this.c},iSn.Mj=function(){return!1},iSn.ol=function(){return!0},iSn.Si=function(){return!0},iSn.Wi=function(n,t){return t},iSn.Yi=function(){return!1},iSn.c=0,EH(nBn,"EObjectEList",505),_wn(83,505,pBn,NL),iSn.Mj=function(){return!0},iSn.ml=function(){return!1},iSn.al=function(){return!0},EH(nBn,"EObjectContainmentEList",83),_wn(555,83,pBn,$L),iSn.Ni=function(){this.b=!0},iSn.Qj=function(){return this.b},iSn.Gk=function(){var n;ZMn(this),iA(this.e)?(n=this.b,this.b=!1,i5(this.e,new wJ(this.e,2,this.c,n,!1))):this.b=!1},iSn.b=!1,EH(nBn,"EObjectContainmentEList/Unsettable",555),_wn(1161,555,pBn,w_),iSn.Ti=function(n,t){var e,i;return e=JR(etn(this,n,t),89),iA(this.e)&&lv(this,new EZ(this.a,7,(JEn(),Mbt),ann(t),sL(i=e.c,90)?JR(i,29):Abt,n)),e},iSn.Uj=function(n,t){return function(n,t,e){var i,r;return i=new D1(n.e,3,10,null,sL(r=t.c,90)?JR(r,29):(JEn(),Abt),mcn(n,t),!1),e?e.nj(i):e=i,e}(this,JR(n,89),t)},iSn.Vj=function(n,t){return function(n,t,e){var i,r;return i=new D1(n.e,4,10,sL(r=t.c,90)?JR(r,29):(JEn(),Abt),null,mcn(n,t),!1),e?e.nj(i):e=i,e}(this,JR(n,89),t)},iSn.Wj=function(n,t,e){return function(n,t,e,i){var r,c,a;return r=new D1(n.e,1,10,sL(a=t.c,90)?JR(a,29):(JEn(),Abt),sL(c=e.c,90)?JR(c,29):(JEn(),Abt),mcn(n,t),!1),i?i.nj(r):i=r,i}(this,JR(n,89),JR(t,89),e)},iSn.Ij=function(n,t,e,i,r){switch(n){case 3:return cz(this,n,t,e,i,this.i>1);case 5:return cz(this,n,t,e,i,this.i-JR(e,15).gc()>0);default:return new D1(this.e,n,this.c,t,e,i,!0)}},iSn.Tj=function(){return!0},iSn.Qj=function(){return qcn(this)},iSn.Gk=function(){ZMn(this)},EH(zKn,"EClassImpl/1",1161),_wn(1175,1174,N_n),iSn.dj=function(n){var t,e,i,r,c,a,o;if(8!=(e=n.gj())){if(0==(i=function(n){switch(n.hj(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(n)))switch(e){case 1:case 9:null!=(o=n.kj())&&(!(t=fJ(JR(o,482))).c&&(t.c=new Ks),Z1(t.c,n.jj())),null!=(a=n.ij())&&(1&(r=JR(a,482)).Bb||(!(t=fJ(r)).c&&(t.c=new Ks),bZ(t.c,JR(n.jj(),29))));break;case 3:null!=(a=n.ij())&&(1&(r=JR(a,482)).Bb||(!(t=fJ(r)).c&&(t.c=new Ks),bZ(t.c,JR(n.jj(),29))));break;case 5:if(null!=(a=n.ij()))for(c=JR(a,16).Kc();c.Ob();)1&(r=JR(c.Pb(),482)).Bb||(!(t=fJ(r)).c&&(t.c=new Ks),bZ(t.c,JR(n.jj(),29)));break;case 4:null!=(o=n.kj())&&(1&(r=JR(o,482)).Bb||(!(t=fJ(r)).c&&(t.c=new Ks),Z1(t.c,n.jj())));break;case 6:if(null!=(o=n.kj()))for(c=JR(o,16).Kc();c.Ob();)1&(r=JR(c.Pb(),482)).Bb||(!(t=fJ(r)).c&&(t.c=new Ks),Z1(t.c,n.jj()))}this.ql(i)}},iSn.ql=function(n){Fmn(this,n)},iSn.b=63,EH(zKn,"ESuperAdapter",1175),_wn(1176,1175,N_n,im),iSn.ql=function(n){Gln(this,n)},EH(zKn,"EClassImpl/10",1176),_wn(1165,710,pBn),iSn.Ei=function(n,t){return Wsn(this,n,t)},iSn.Fi=function(n){return wan(this,n)},iSn.Gi=function(n,t){ynn(this,n,t)},iSn.Hi=function(n){LJ(this,n)},iSn.$i=function(n){return $Z(this,n)},iSn.Xi=function(n,t){return Y1(this,n,t)},iSn.Wk=function(n,t){throw Lm(new ev)},iSn.Ii=function(){return new YN(this)},iSn.Ji=function(){return new ZN(this)},iSn.Ki=function(n){return j3(this,n)},iSn.Xk=function(n,t){throw Lm(new ev)},iSn.Fk=function(n){return this},iSn.Qj=function(){return 0!=this.i},iSn.Wb=function(n){throw Lm(new ev)},iSn.Gk=function(){throw Lm(new ev)},EH(nBn,"EcoreEList/UnmodifiableEList",1165),_wn(328,1165,pBn,SO),iSn.Yi=function(){return!1},EH(nBn,"EcoreEList/UnmodifiableEList/FastCompare",328),_wn(1168,328,pBn,B8),iSn.dd=function(n){var t,e;if(sL(n,179)&&-1!=(t=JR(n,179).Lj()))for(e=this.i;t4){if(!this.fk(n))return!1;if(this.al()){if(a=(t=(e=JR(n,54)).Eh())==this.b&&(this.ml()?e.yh(e.Fh(),JR(F0(Hq(this.b),this.Lj()).Hk(),29).kk())==Rcn(JR(F0(Hq(this.b),this.Lj()),19)).n:-1-e.Fh()==this.Lj()),this.nl()&&!a&&!t&&e.Jh())for(i=0;i1||-1==e)},iSn.ml=function(){var n;return!!sL(n=F0(Hq(this.b),this.Lj()),102)&&!!Rcn(JR(n,19))},iSn.nl=function(){var n;return!!sL(n=F0(Hq(this.b),this.Lj()),102)&&!!(JR(n,19).Bb&MCn)},iSn.dd=function(n){var t,e,i;if((e=this.zj(n))>=0)return e;if(this.ol())for(t=0,i=this.Ej();t=0;--n)vTn(this,n,this.xj(n));return this.Fj()},iSn.Qc=function(n){var t;if(this.nl())for(t=this.Ej()-1;t>=0;--t)vTn(this,t,this.xj(t));return this.Gj(n)},iSn.Gk=function(){rTn(this)},iSn.Zi=function(n,t){return DZ(this,0,t)},EH(nBn,"DelegatingEcoreEList",756),_wn(1171,756,MBn,AD),iSn.qj=function(n,t){!function(n,t,e){qnn(cQ(n.a),t,gz(e))}(this,n,JR(t,29))},iSn.rj=function(n){!function(n,t){bZ(cQ(n.a),gz(t))}(this,JR(n,29))},iSn.xj=function(n){var t;return sL(t=JR(d2(cQ(this.a),n),89).c,90)?JR(t,29):(JEn(),Abt)},iSn.Cj=function(n){var t;return sL(t=JR(Xpn(cQ(this.a),n),89).c,90)?JR(t,29):(JEn(),Abt)},iSn.Dj=function(n,t){return function(n,t,e){var i,r,c;return(64&(c=sL(r=(i=JR(d2(cQ(n.a),t),89)).c,90)?JR(r,29):(JEn(),Abt)).Db?X7(n.b,c):c)==e?Gkn(i):f2(i,e),c}(this,n,JR(t,29))},iSn.Li=function(){return!1},iSn.Ij=function(n,t,e,i,r){return null},iSn.sj=function(){return new am(this)},iSn.tj=function(){ZMn(cQ(this.a))},iSn.uj=function(n){return xnn(this,n)},iSn.vj=function(n){var t;for(t=n.Kc();t.Ob();)if(!xnn(this,t.Pb()))return!1;return!0},iSn.wj=function(n){var t,e,i;if(sL(n,15)&&(i=JR(n,15)).gc()==cQ(this.a).i){for(t=i.Kc(),e=new XL(this);t.Ob();)if(UI(t.Pb())!==UI(Urn(e)))return!1;return!0}return!1},iSn.yj=function(){var n,t,e,i;for(t=1,n=new XL(cQ(this.a));n.e!=n.i.gc();)t=31*t+((e=sL(i=JR(Urn(n),89).c,90)?JR(i,29):(JEn(),Abt))?FN(e):0);return t},iSn.zj=function(n){var t,e,i,r;for(i=0,e=new XL(cQ(this.a));e.e!=e.i.gc();){if(t=JR(Urn(e),89),UI(n)===UI(sL(r=t.c,90)?JR(r,29):(JEn(),Abt)))return i;++i}return-1},iSn.Aj=function(){return 0==cQ(this.a).i},iSn.Bj=function(){return null},iSn.Ej=function(){return cQ(this.a).i},iSn.Fj=function(){var n,t,e,i,r,c;for(c=cQ(this.a).i,r=tZ(sUn,kSn,1,c,5,1),e=0,t=new XL(cQ(this.a));t.e!=t.i.gc();)n=JR(Urn(t),89),r[e++]=sL(i=n.c,90)?JR(i,29):(JEn(),Abt);return r},iSn.Gj=function(n){var t,e,i,r;for(r=cQ(this.a).i,n.lengthr&&FH(n,r,null),e=0,t=new XL(cQ(this.a));t.e!=t.i.gc();)FH(n,e++,sL(i=JR(Urn(t),89).c,90)?JR(i,29):(JEn(),Abt));return n},iSn.Hj=function(){var n,t,e,i,r;for((r=new Qy).a+="[",n=cQ(this.a),t=0,i=cQ(this.a).i;t>16)>=0?Yan(this,e):this.Cb.Th(this,-1-i,null,e)),lkn(this,n,6,e);case 9:return!this.a&&(this.a=new aB(hbt,this,9,5)),Zen(this.a,n,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),jbt),t),69).wk().zk(this,qin(this),t-DH((JEn(),jbt)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 6:return lkn(this,null,6,e);case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),bcn(this.A,n,e);case 9:return!this.a&&(this.a=new aB(hbt,this,9,5)),bcn(this.a,n,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),jbt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),jbt)),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!Xan(this);case 4:return!!e7(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!KX(this);case 7:return!!this.A&&0!=this.A.i;case 8:return!(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return $W(this,n-DH((JEn(),jbt)),F0(JR(s5(this,16),29)||jbt,n))},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void wz(this,V$(t));case 2:return void hA(this,V$(t));case 5:return void YTn(this,V$(t));case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),ZMn(this.A),!this.A&&(this.A=new KL(Xbt,this,7)),void oH(this.A,JR(t,16));case 8:return void Lnn(this,py(X$(t)));case 9:return!this.a&&(this.a=new aB(hbt,this,9,5)),ZMn(this.a),!this.a&&(this.a=new aB(hbt,this,9,5)),void oH(this.a,JR(t,16))}nen(this,n-DH((JEn(),jbt)),F0(JR(s5(this,16),29)||jbt,n),t)},iSn.ii=function(){return JEn(),jbt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return sL(this.Cb,184)&&(JR(this.Cb,184).tb=null),void H4(this,null);case 2:return Y9(this,null),void W2(this,this.D);case 5:return void YTn(this,null);case 7:return!this.A&&(this.A=new KL(Xbt,this,7)),void ZMn(this.A);case 8:return void Lnn(this,!0);case 9:return!this.a&&(this.a=new aB(hbt,this,9,5)),void ZMn(this.a)}Snn(this,n-DH((JEn(),jbt)),F0(JR(s5(this,16),29)||jbt,n))},iSn.pi=function(){var n,t;if(this.a)for(n=0,t=this.a.i;n>16==5?JR(this.Cb,685):null}return KZ(this,n-DH((JEn(),Ebt)),F0(JR(s5(this,16),29)||Ebt,n),t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 5:return this.Cb&&(e=(i=this.Db>>16)>=0?xon(this,e):this.Cb.Th(this,-1-i,null,e)),lkn(this,n,5,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Ebt),t),69).wk().zk(this,qin(this),t-DH((JEn(),Ebt)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 5:return lkn(this,null,5,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Ebt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),Ebt)),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!JR(this.Cb,685))}return $W(this,n-DH((JEn(),Ebt)),F0(JR(s5(this,16),29)||Ebt,n))},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void H4(this,V$(t));case 2:return void V2(this,JR(t,17).a);case 3:return void Zbn(this,JR(t,2039));case 4:return void Q3(this,V$(t))}nen(this,n-DH((JEn(),Ebt)),F0(JR(s5(this,16),29)||Ebt,n),t)},iSn.ii=function(){return JEn(),Ebt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return void H4(this,null);case 2:return void V2(this,0);case 3:return void Zbn(this,null);case 4:return void Q3(this,null)}Snn(this,n-DH((JEn(),Ebt)),F0(JR(s5(this,16),29)||Ebt,n))},iSn.Ib=function(){var n;return null==(n=this.c)?this.zb:n},iSn.b=null,iSn.c=null,iSn.d=0,EH(zKn,"EEnumLiteralImpl",582);var Wbt,Qbt,Jbt,Ybt=nF(zKn,"EFactoryImpl/InternalEDateTimeFormat");_wn(499,1,{2114:1},om),EH(zKn,"EFactoryImpl/1ClientInternalEDateTimeFormat",499),_wn(248,120,{110:1,94:1,93:1,89:1,58:1,114:1,54:1,99:1,248:1,119:1,120:1},Em),iSn.Ch=function(n,t,e){var i;return e=lkn(this,n,t,e),this.e&&sL(n,179)&&(i=ign(this,this.e))!=this.c&&(e=njn(this,i,e)),e},iSn.Lh=function(n,t,e){switch(n){case 0:return this.f;case 1:return!this.d&&(this.d=new NL(fbt,this,1)),this.d;case 2:return t?Gkn(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?Qcn(this):this.a}return KZ(this,n-DH((JEn(),Pbt)),F0(JR(s5(this,16),29)||Pbt,n),t,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return z7(this,null,e);case 1:return!this.d&&(this.d=new NL(fbt,this,1)),bcn(this.d,n,e);case 3:return V7(this,null,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Pbt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),Pbt)),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return $W(this,n-DH((JEn(),Pbt)),F0(JR(s5(this,16),29)||Pbt,n))},iSn.bi=function(n,t){switch(n){case 0:return void tsn(this,JR(t,89));case 1:return!this.d&&(this.d=new NL(fbt,this,1)),ZMn(this.d),!this.d&&(this.d=new NL(fbt,this,1)),void oH(this.d,JR(t,16));case 3:return void nsn(this,JR(t,89));case 4:return void Ahn(this,JR(t,850));case 5:return void f2(this,JR(t,142))}nen(this,n-DH((JEn(),Pbt)),F0(JR(s5(this,16),29)||Pbt,n),t)},iSn.ii=function(){return JEn(),Pbt},iSn.ki=function(n){switch(n){case 0:return void tsn(this,null);case 1:return!this.d&&(this.d=new NL(fbt,this,1)),void ZMn(this.d);case 3:return void nsn(this,null);case 4:return void Ahn(this,null);case 5:return void f2(this,null)}Snn(this,n-DH((JEn(),Pbt)),F0(JR(s5(this,16),29)||Pbt,n))},iSn.Ib=function(){var n;return(n=new kN(Pdn(this))).a+=" (expression: ",$Mn(this,n),n.a+=")",n.a},EH(zKn,"EGenericTypeImpl",248),_wn(2067,2062,TBn),iSn.Gi=function(n,t){TD(this,n,t)},iSn.Wk=function(n,t){return TD(this,this.gc(),n),t},iSn.$i=function(n){return Yrn(this.pj(),n)},iSn.Ii=function(){return this.Ji()},iSn.pj=function(){return new gm(this)},iSn.Ji=function(){return this.Ki(0)},iSn.Ki=function(n){return this.pj().fd(n)},iSn.Xk=function(n,t){return Ten(this,n,!0),t},iSn.Ti=function(n,t){var e;return e=Pon(this,t),this.fd(n).Rb(e),e},iSn.Ui=function(n,t){Ten(this,t,!0),this.fd(n).Rb(t)},EH(nBn,"AbstractSequentialInternalEList",2067),_wn(496,2067,TBn,qN),iSn.$i=function(n){return Yrn(this.pj(),n)},iSn.Ii=function(){return null==this.b?(XE(),XE(),Jbt):this.sl()},iSn.pj=function(){return new PO(this.a,this.b)},iSn.Ji=function(){return null==this.b?(XE(),XE(),Jbt):this.sl()},iSn.Ki=function(n){var t,e;if(null==this.b){if(n<0||n>1)throw Lm(new jy(x_n+n+", size=0"));return XE(),XE(),Jbt}for(e=this.sl(),t=0;t0;)if(t=this.c[--this.d],(!this.e||t.pk()!=Qft||0!=t.Lj())&&(!this.vl()||this.b.Xh(t)))if(c=this.b.Nh(t,this.ul()),this.f=(VE(),JR(t,69).xk()),this.f||t.Jk()){if(this.ul()?(i=JR(c,15),this.k=i):(i=JR(c,71),this.k=this.j=i),sL(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ki(this.k.gc()):this.k.fd(this.k.gc()),this.p?Zfn(this,this.p):xln(this))return r=this.p?this.p.Ub():this.j?this.j.$i(--this.n):this.k.Xb(--this.n),this.f?((n=JR(r,76)).Lk(),e=n.md(),this.i=e):(e=r,this.i=e),this.g=-3,!0}else if(null!=c)return this.k=null,this.p=null,e=c,this.i=e,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},iSn.Pb=function(){return w5(this)},iSn.Tb=function(){return this.a},iSn.Ub=function(){var n;if(this.g<-1||this.Sb())return--this.a,this.g=0,n=this.i,this.Sb(),n;throw Lm(new cv)},iSn.Vb=function(){return this.a-1},iSn.Qb=function(){throw Lm(new ev)},iSn.ul=function(){return!1},iSn.Wb=function(n){throw Lm(new ev)},iSn.vl=function(){return!0},iSn.a=0,iSn.d=0,iSn.f=!1,iSn.g=0,iSn.n=0,iSn.o=0,EH(nBn,"EContentsEList/FeatureIteratorImpl",287),_wn(711,287,jBn,A$),iSn.ul=function(){return!0},EH(nBn,"EContentsEList/ResolvingFeatureIteratorImpl",711),_wn(1178,711,jBn,L$),iSn.vl=function(){return!1},EH(zKn,"ENamedElementImpl/1/1",1178),_wn(1179,287,jBn,N$),iSn.vl=function(){return!1},EH(zKn,"ENamedElementImpl/1/2",1179),_wn(39,152,D_n,fQ,lQ,oB,jZ,D1,wJ,c3,fV,a3,lV,dJ,bV,s3,wV,gJ,dV,o3,gV,uB,EZ,fq,u3,pV,pJ,mV),iSn.Kj=function(){return lZ(this)},iSn.Rj=function(){var n;return(n=lZ(this))?n.ik():null},iSn.hj=function(n){return-1==this.b&&this.a&&(this.b=this.c.Hh(this.a.Lj(),this.a.pk())),this.c.yh(this.b,n)},iSn.jj=function(){return this.c},iSn.Sj=function(){var n;return!!(n=lZ(this))&&n.tk()},iSn.b=-1,EH(zKn,"ENotificationImpl",39),_wn(411,292,{110:1,94:1,93:1,155:1,197:1,58:1,62:1,114:1,481:1,54:1,99:1,158:1,411:1,292:1,119:1,120:1},fk),iSn.Ah=function(n){return qon(this,n)},iSn.Lh=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return UN(),!!(256&this.Bb);case 3:return UN(),!!(512&this.Bb);case 4:return ann(this.s);case 5:return ann(this.t);case 6:return UN(),(i=this.t)>1||-1==i;case 7:return UN(),this.s>=1;case 8:return t?zon(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?JR(this.Cb,29):null;case 11:return!this.d&&(this.d=new KL(Xbt,this,11)),this.d;case 12:return!this.c&&(this.c=new aB(bbt,this,12,10)),this.c;case 13:return!this.a&&(this.a=new LD(this,this)),this.a;case 14:return C1(this)}return KZ(this,n-DH((JEn(),Lbt)),F0(JR(s5(this,16),29)||Lbt,n),t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?qon(this,e):this.Cb.Th(this,-1-i,null,e)),lkn(this,n,10,e);case 12:return!this.c&&(this.c=new aB(bbt,this,12,10)),Zen(this.c,n,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Lbt),t),69).wk().zk(this,qin(this),t-DH((JEn(),Lbt)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 9:return uH(this,e);case 10:return lkn(this,null,10,e);case 11:return!this.d&&(this.d=new KL(Xbt,this,11)),bcn(this.d,n,e);case 12:return!this.c&&(this.c=new aB(bbt,this,12,10)),bcn(this.c,n,e);case 14:return bcn(C1(this),n,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Lbt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),Lbt)),n,e)},iSn.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==QH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==QH(this.q).i);case 10:return!(this.Db>>16!=10||!JR(this.Cb,29));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==C1(this.a.a).i||this.b&&Xcn(this.b));case 14:return!!this.b&&Xcn(this.b)}return $W(this,n-DH((JEn(),Lbt)),F0(JR(s5(this,16),29)||Lbt,n))},iSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void H4(this,V$(t));case 2:return void Onn(this,py(X$(t)));case 3:return void Nnn(this,py(X$(t)));case 4:return void X2(this,JR(t,17).a);case 5:return void z2(this,JR(t,17).a);case 8:return void k7(this,JR(t,142));case 9:return void((e=Qsn(this,JR(t,89),null))&&e.oj());case 11:return!this.d&&(this.d=new KL(Xbt,this,11)),ZMn(this.d),!this.d&&(this.d=new KL(Xbt,this,11)),void oH(this.d,JR(t,16));case 12:return!this.c&&(this.c=new aB(bbt,this,12,10)),ZMn(this.c),!this.c&&(this.c=new aB(bbt,this,12,10)),void oH(this.c,JR(t,16));case 13:return!this.a&&(this.a=new LD(this,this)),rTn(this.a),!this.a&&(this.a=new LD(this,this)),void oH(this.a,JR(t,16));case 14:return ZMn(C1(this)),void oH(C1(this),JR(t,16))}nen(this,n-DH((JEn(),Lbt)),F0(JR(s5(this,16),29)||Lbt,n),t)},iSn.ii=function(){return JEn(),Lbt},iSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return void H4(this,null);case 2:return void Onn(this,!0);case 3:return void Nnn(this,!0);case 4:return void X2(this,0);case 5:return void z2(this,1);case 8:return void k7(this,null);case 9:return void((t=Qsn(this,null,null))&&t.oj());case 11:return!this.d&&(this.d=new KL(Xbt,this,11)),void ZMn(this.d);case 12:return!this.c&&(this.c=new aB(bbt,this,12,10)),void ZMn(this.c);case 13:return void(this.a&&rTn(this.a));case 14:return void(this.b&&ZMn(this.b))}Snn(this,n-DH((JEn(),Lbt)),F0(JR(s5(this,16),29)||Lbt,n))},iSn.pi=function(){var n,t;if(this.c)for(n=0,t=this.c.i;ni&&FH(n,i,null),e=0,t=new XL(C1(this.a));t.e!=t.i.gc();)FH(n,e++,JR(Urn(t),89).c||(JEn(),Cbt));return n},iSn.Hj=function(){var n,t,e,i;for((i=new Qy).a+="[",n=C1(this.a),t=0,e=C1(this.a).i;t1);case 5:return cz(this,n,t,e,i,this.i-JR(e,15).gc()>0);default:return new D1(this.e,n,this.c,t,e,i,!0)}},iSn.Tj=function(){return!0},iSn.Qj=function(){return Xcn(this)},iSn.Gk=function(){ZMn(this)},EH(zKn,"EOperationImpl/2",1377),_wn(507,1,{2037:1,507:1},NI),EH(zKn,"EPackageImpl/1",507),_wn(14,83,pBn,aB),iSn.il=function(){return this.d},iSn.jl=function(){return this.b},iSn.ml=function(){return!0},iSn.b=0,EH(nBn,"EObjectContainmentWithInverseEList",14),_wn(365,14,pBn,bx),iSn.nl=function(){return!0},iSn.Wi=function(n,t){return ywn(this,n,JR(t,58))},EH(nBn,"EObjectContainmentWithInverseEList/Resolving",365),_wn(308,365,pBn,wB),iSn.Ni=function(){this.a.tb=null},EH(zKn,"EPackageImpl/2",308),_wn(1278,1,{},Ps),EH(zKn,"EPackageImpl/3",1278),_wn(733,45,xCn,lk),iSn._b=function(n){return GI(n)?vq(this,n):!!WF(this.f,n)},EH(zKn,"EPackageRegistryImpl",733),_wn(518,292,{110:1,94:1,93:1,155:1,197:1,58:1,2116:1,114:1,481:1,54:1,99:1,158:1,518:1,292:1,119:1,120:1},bk),iSn.Ah=function(n){return Xon(this,n)},iSn.Lh=function(n,t,e){var i;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return UN(),!!(256&this.Bb);case 3:return UN(),!!(512&this.Bb);case 4:return ann(this.s);case 5:return ann(this.t);case 6:return UN(),(i=this.t)>1||-1==i;case 7:return UN(),this.s>=1;case 8:return t?zon(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?JR(this.Cb,62):null}return KZ(this,n-DH((JEn(),Dbt)),F0(JR(s5(this,16),29)||Dbt,n),t,e)},iSn.Sh=function(n,t,e){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),Zen(this.Ab,n,e);case 10:return this.Cb&&(e=(i=this.Db>>16)>=0?Xon(this,e):this.Cb.Th(this,-1-i,null,e)),lkn(this,n,10,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Dbt),t),69).wk().zk(this,qin(this),t-DH((JEn(),Dbt)),n,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 9:return uH(this,e);case 10:return lkn(this,null,10,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),Dbt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),Dbt)),n,e)},iSn.Wh=function(n){var t;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(t=this.t)>1||-1==t;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==QH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==QH(this.q).i);case 10:return!(this.Db>>16!=10||!JR(this.Cb,62))}return $W(this,n-DH((JEn(),Dbt)),F0(JR(s5(this,16),29)||Dbt,n))},iSn.ii=function(){return JEn(),Dbt},EH(zKn,"EParameterImpl",518),_wn(102,462,{110:1,94:1,93:1,155:1,197:1,58:1,19:1,179:1,69:1,114:1,481:1,54:1,99:1,158:1,102:1,462:1,292:1,119:1,120:1,692:1},eD),iSn.Lh=function(n,t,e){var i,r;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return UN(),!!(256&this.Bb);case 3:return UN(),!!(512&this.Bb);case 4:return ann(this.s);case 5:return ann(this.t);case 6:return UN(),(r=this.t)>1||-1==r;case 7:return UN(),this.s>=1;case 8:return t?zon(this):this.r;case 9:return this.q;case 10:return UN(),!!(this.Bb&sPn);case 11:return UN(),!!(this.Bb&cBn);case 12:return UN(),!!(this.Bb&vCn);case 13:return this.j;case 14:return wgn(this);case 15:return UN(),!!(this.Bb&rBn);case 16:return UN(),!!(this.Bb&USn);case 17:return BX(this);case 18:return UN(),!!(this.Bb&qKn);case 19:return UN(),!!((i=Rcn(this))&&i.Bb&qKn);case 20:return UN(),!!(this.Bb&MCn);case 21:return t?Rcn(this):this.b;case 22:return t?V8(this):SJ(this);case 23:return!this.a&&(this.a=new BL(ibt,this,23)),this.a}return KZ(this,n-DH((JEn(),xbt)),F0(JR(s5(this,16),29)||xbt,n),t,e)},iSn.Wh=function(n){var t,e;switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!(256&this.Bb);case 3:return!(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==QH(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==QH(this.q).i);case 10:return!(this.Bb&sPn);case 11:return!!(this.Bb&cBn);case 12:return!!(this.Bb&vCn);case 13:return null!=this.j;case 14:return null!=wgn(this);case 15:return!!(this.Bb&rBn);case 16:return!!(this.Bb&USn);case 17:return!!BX(this);case 18:return!!(this.Bb&qKn);case 19:return!!(t=Rcn(this))&&!!(t.Bb&qKn);case 20:return!(this.Bb&MCn);case 21:return!!this.b;case 22:return!!SJ(this);case 23:return!!this.a&&0!=this.a.i}return $W(this,n-DH((JEn(),xbt)),F0(JR(s5(this,16),29)||xbt,n))},iSn.bi=function(n,t){var e;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void dz(this,V$(t));case 2:return void Onn(this,py(X$(t)));case 3:return void Nnn(this,py(X$(t)));case 4:return void X2(this,JR(t,17).a);case 5:return void z2(this,JR(t,17).a);case 8:return void k7(this,JR(t,142));case 9:return void((e=Qsn(this,JR(t,89),null))&&e.oj());case 10:return void rtn(this,py(X$(t)));case 11:return void otn(this,py(X$(t)));case 12:return void ctn(this,py(X$(t)));case 13:return void CI(this,V$(t));case 15:return void atn(this,py(X$(t)));case 16:return void Ctn(this,py(X$(t)));case 18:return void function(n,t){Ptn(n,t),sL(n.Cb,90)&&Gln(fJ(JR(n.Cb,90)),2)}(this,py(X$(t)));case 20:return void Itn(this,py(X$(t)));case 21:return void w4(this,JR(t,19));case 23:return!this.a&&(this.a=new BL(ibt,this,23)),ZMn(this.a),!this.a&&(this.a=new BL(ibt,this,23)),void oH(this.a,JR(t,16))}nen(this,n-DH((JEn(),xbt)),F0(JR(s5(this,16),29)||xbt,n),t)},iSn.ii=function(){return JEn(),xbt},iSn.ki=function(n){var t;switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return sL(this.Cb,90)&&Gln(fJ(JR(this.Cb,90)),4),void H4(this,null);case 2:return void Onn(this,!0);case 3:return void Nnn(this,!0);case 4:return void X2(this,0);case 5:return void z2(this,1);case 8:return void k7(this,null);case 9:return void((t=Qsn(this,null,null))&&t.oj());case 10:return void rtn(this,!0);case 11:return void otn(this,!1);case 12:return void ctn(this,!1);case 13:return this.i=null,void b4(this,null);case 15:return void atn(this,!1);case 16:return void Ctn(this,!1);case 18:return Ptn(this,!1),void(sL(this.Cb,90)&&Gln(fJ(JR(this.Cb,90)),2));case 20:return void Itn(this,!0);case 21:return void w4(this,null);case 23:return!this.a&&(this.a=new BL(ibt,this,23)),void ZMn(this.a)}Snn(this,n-DH((JEn(),xbt)),F0(JR(s5(this,16),29)||xbt,n))},iSn.pi=function(){V8(this),JU(O1((nln(),dwt),this)),zon(this),this.Bb|=1},iSn.uk=function(){return Rcn(this)},iSn._k=function(){var n;return!!(n=Rcn(this))&&!!(n.Bb&qKn)},iSn.al=function(){return!!(this.Bb&qKn)},iSn.bl=function(){return!!(this.Bb&MCn)},iSn.Yk=function(n,t){return this.c=null,vnn(this,n,t)},iSn.Ib=function(){var n;return 64&this.Db?qmn(this):((n=new vN(qmn(this))).a+=" (containment: ",lT(n,!!(this.Bb&qKn)),n.a+=", resolveProxies: ",lT(n,!!(this.Bb&MCn)),n.a+=")",n.a)},EH(zKn,"EReferenceImpl",102),_wn(561,120,{110:1,44:1,94:1,93:1,136:1,58:1,114:1,54:1,99:1,561:1,119:1,120:1},Cs),iSn.Fb=function(n){return this===n},iSn.ld=function(){return this.b},iSn.md=function(){return this.c},iSn.Hb=function(){return FN(this)},iSn.Di=function(n){!function(n,t){i4(n,null==t?null:(TU(t),t))}(this,V$(n))},iSn.nd=function(n){return function(n,t){var e;return e=n.c,r4(n,t),e}(this,V$(n))},iSn.Lh=function(n,t,e){switch(n){case 0:return this.b;case 1:return this.c}return KZ(this,n-DH((JEn(),Rbt)),F0(JR(s5(this,16),29)||Rbt,n),t,e)},iSn.Wh=function(n){switch(n){case 0:return null!=this.b;case 1:return null!=this.c}return $W(this,n-DH((JEn(),Rbt)),F0(JR(s5(this,16),29)||Rbt,n))},iSn.bi=function(n,t){switch(n){case 0:return void function(n,t){i4(n,null==t?null:(TU(t),t))}(this,V$(t));case 1:return void r4(this,V$(t))}nen(this,n-DH((JEn(),Rbt)),F0(JR(s5(this,16),29)||Rbt,n),t)},iSn.ii=function(){return JEn(),Rbt},iSn.ki=function(n){switch(n){case 0:return void i4(this,null);case 1:return void r4(this,null)}Snn(this,n-DH((JEn(),Rbt)),F0(JR(s5(this,16),29)||Rbt,n))},iSn.Bi=function(){var n;return-1==this.a&&(n=this.b,this.a=null==n?0:v9(n)),this.a},iSn.Ci=function(n){this.a=n},iSn.Ib=function(){var n;return 64&this.Db?Pdn(this):((n=new vN(Pdn(this))).a+=" (key: ",tO(n,this.b),n.a+=", value: ",tO(n,this.c),n.a+=")",n.a)},iSn.a=-1,iSn.b=null,iSn.c=null;var Zbt,nwt,twt,ewt,iwt,rwt,cwt,awt,owt,uwt,swt=EH(zKn,"EStringToStringMapEntryImpl",561),hwt=nF(nBn,"FeatureMap/Entry/Internal");_wn(576,1,EBn),iSn.xl=function(n){return this.yl(JR(n,54))},iSn.yl=function(n){return this.xl(n)},iSn.Fb=function(n){var t,e;return this===n||!!sL(n,76)&&(t=JR(n,76)).Lk()==this.c&&(null==(e=this.md())?null==t.md():Enn(e,t.md()))},iSn.Lk=function(){return this.c},iSn.Hb=function(){var n;return n=this.md(),F4(this.c)^(null==n?0:F4(n))},iSn.Ib=function(){var n,t;return t=h2((n=this.c).qk()).yi(),n.xe(),(null!=t&&0!=t.length?t+":"+n.xe():n.xe())+"="+this.md()},EH(zKn,"EStructuralFeatureImpl/BasicFeatureMapEntry",576),_wn(791,576,EBn,$D),iSn.yl=function(n){return new $D(this.c,n)},iSn.md=function(){return this.a},iSn.zl=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=Pen(t.Dh(),n.c),r=e.Rh(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},iSn.Al=function(n,t,e){return function(n,t,e,i,r){var c;return e&&(c=Pen(t.Dh(),n.c),r=e.Th(t,-1-(-1==c?i:c),null,r)),r}(this,n,this.a,t,e)},EH(zKn,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",791),_wn(1350,1,{},$I),iSn.yk=function(n,t,e,i,r){return JR(CZ(n,this.b),220).Yl(this.a).Fk(i)},iSn.zk=function(n,t,e,i,r){return JR(CZ(n,this.b),220).Pl(this.a,i,r)},iSn.Ak=function(n,t,e,i,r){return JR(CZ(n,this.b),220).Ql(this.a,i,r)},iSn.Bk=function(n,t,e){return JR(CZ(n,this.b),220).Yl(this.a).Qj()},iSn.Ck=function(n,t,e,i){JR(CZ(n,this.b),220).Yl(this.a).Wb(i)},iSn.Dk=function(n,t,e){return JR(CZ(n,this.b),220).Yl(this.a)},iSn.Ek=function(n,t,e){JR(CZ(n,this.b),220).Yl(this.a).Gk()},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1350),_wn(91,1,{},AR,AG,Aq,wQ),iSn.yk=function(n,t,e,i,r){var c;if(null==(c=t.li(e))&&t.mi(e,c=BEn(this,n)),!r)switch(this.e){case 50:case 41:return JR(c,597).bk();case 40:return JR(c,220).Vl()}return c},iSn.zk=function(n,t,e,i,r){var c;return null==(c=t.li(e))&&t.mi(e,c=BEn(this,n)),JR(c,71).Wk(i,r)},iSn.Ak=function(n,t,e,i,r){var c;return null!=(c=t.li(e))&&(r=JR(c,71).Xk(i,r)),r},iSn.Bk=function(n,t,e){var i;return null!=(i=t.li(e))&&JR(i,79).Qj()},iSn.Ck=function(n,t,e,i){var r;!(r=JR(t.li(e),79))&&t.mi(e,r=BEn(this,n)),r.Wb(i)},iSn.Dk=function(n,t,e){var i;return null==(i=t.li(e))&&t.mi(e,i=BEn(this,n)),sL(i,79)?JR(i,79):new sm(JR(t.li(e),15))},iSn.Ek=function(n,t,e){var i;!(i=JR(t.li(e),79))&&t.mi(e,i=BEn(this,n)),i.Gk()},iSn.b=0,iSn.e=0,EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateMany",91),_wn(512,1,{}),iSn.zk=function(n,t,e,i,r){throw Lm(new ev)},iSn.Ak=function(n,t,e,i,r){throw Lm(new ev)},iSn.Dk=function(n,t,e){return new LG(this,n,t,e)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingle",512),_wn(1367,1,tBn,LG),iSn.Fk=function(n){return this.a.yk(this.c,this.d,this.b,n,!0)},iSn.Qj=function(){return this.a.Bk(this.c,this.d,this.b)},iSn.Wb=function(n){this.a.Ck(this.c,this.d,this.b,n)},iSn.Gk=function(){this.a.Ek(this.c,this.d,this.b)},iSn.b=0,EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1367),_wn(784,512,{},tX),iSn.yk=function(n,t,e,i,r){return Ovn(n,n.Ph(),n.Fh())==this.b?this.bl()&&i?Own(n):n.Ph():null},iSn.zk=function(n,t,e,i,r){var c,a;return n.Ph()&&(r=(c=n.Fh())>=0?n.Ah(r):n.Ph().Th(n,-1-c,null,r)),a=Pen(n.Dh(),this.e),n.Ch(i,a,r)},iSn.Ak=function(n,t,e,i,r){var c;return c=Pen(n.Dh(),this.e),n.Ch(null,c,r)},iSn.Bk=function(n,t,e){var i;return i=Pen(n.Dh(),this.e),!!n.Ph()&&n.Fh()==i},iSn.Ck=function(n,t,e,i){var r,c,a,o,u;if(null!=i&&!Ykn(this.a,i))throw Lm(new Py(SBn+(sL(i,58)?Zun(JR(i,58).Dh()):B0(s7(i)))+PBn+this.a+"'"));if(r=n.Ph(),a=Pen(n.Dh(),this.e),UI(i)!==UI(r)||n.Fh()!=a&&null!=i){if(Bon(n,JR(i,58)))throw Lm(new Cy(WKn+n.Ib()));u=null,r&&(u=(c=n.Fh())>=0?n.Ah(u):n.Ph().Th(n,-1-c,null,u)),(o=JR(i,54))&&(u=o.Rh(n,Pen(o.Dh(),this.b),null,u)),(u=n.Ch(o,a,u))&&u.oj()}else n.vh()&&n.wh()&&i5(n,new oB(n,1,a,i,i))},iSn.Ek=function(n,t,e){var i,r,c;n.Ph()?(c=(i=n.Fh())>=0?n.Ah(null):n.Ph().Th(n,-1-i,null,null),r=Pen(n.Dh(),this.e),(c=n.Ch(null,r,c))&&c.oj()):n.vh()&&n.wh()&&i5(n,new uB(n,1,this.e,null,null))},iSn.bl=function(){return!1},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",784),_wn(1351,784,{},LR),iSn.bl=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1351),_wn(574,512,{}),iSn.yk=function(n,t,e,i,r){var c;return null==(c=t.li(e))?this.b:UI(c)===UI(Zbt)?null:c},iSn.Bk=function(n,t,e){var i;return null!=(i=t.li(e))&&(UI(i)===UI(Zbt)||!Enn(i,this.b))},iSn.Ck=function(n,t,e,i){var r,c;n.vh()&&n.wh()?(r=null==(c=t.li(e))?this.b:UI(c)===UI(Zbt)?null:c,null==i?null!=this.c?(t.mi(e,null),i=this.b):null!=this.b?t.mi(e,Zbt):t.mi(e,null):(this.Bl(i),t.mi(e,i)),i5(n,this.d.Cl(n,1,this.e,r,i))):null==i?null!=this.c?t.mi(e,null):null!=this.b?t.mi(e,Zbt):t.mi(e,null):(this.Bl(i),t.mi(e,i))},iSn.Ek=function(n,t,e){var i,r;n.vh()&&n.wh()?(i=null==(r=t.li(e))?this.b:UI(r)===UI(Zbt)?null:r,t.ni(e),i5(n,this.d.Cl(n,1,this.e,i,this.b))):t.ni(e)},iSn.Bl=function(n){throw Lm(new Ym)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",574),_wn(CBn,1,{},Is),iSn.Cl=function(n,t,e,i,r){return new uB(n,t,e,i,r)},iSn.Dl=function(n,t,e,i,r,c){return new fq(n,t,e,i,r,c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",CBn),_wn(1368,CBn,{},Os),iSn.Cl=function(n,t,e,i,r){return new pJ(n,t,e,py(X$(i)),py(X$(r)))},iSn.Dl=function(n,t,e,i,r,c){return new mV(n,t,e,py(X$(i)),py(X$(r)),c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1368),_wn(1369,CBn,{},As),iSn.Cl=function(n,t,e,i,r){return new c3(n,t,e,JR(i,222).a,JR(r,222).a)},iSn.Dl=function(n,t,e,i,r,c){return new fV(n,t,e,JR(i,222).a,JR(r,222).a,c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1369),_wn(1370,CBn,{},Ls),iSn.Cl=function(n,t,e,i,r){return new a3(n,t,e,JR(i,180).a,JR(r,180).a)},iSn.Dl=function(n,t,e,i,r,c){return new lV(n,t,e,JR(i,180).a,JR(r,180).a,c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1370),_wn(1371,CBn,{},Ns),iSn.Cl=function(n,t,e,i,r){return new dJ(n,t,e,my(z$(i)),my(z$(r)))},iSn.Dl=function(n,t,e,i,r,c){return new bV(n,t,e,my(z$(i)),my(z$(r)),c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1371),_wn(1372,CBn,{},$s),iSn.Cl=function(n,t,e,i,r){return new s3(n,t,e,JR(i,161).a,JR(r,161).a)},iSn.Dl=function(n,t,e,i,r,c){return new wV(n,t,e,JR(i,161).a,JR(r,161).a,c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1372),_wn(1373,CBn,{},Ds),iSn.Cl=function(n,t,e,i,r){return new gJ(n,t,e,JR(i,17).a,JR(r,17).a)},iSn.Dl=function(n,t,e,i,r,c){return new dV(n,t,e,JR(i,17).a,JR(r,17).a,c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1373),_wn(1374,CBn,{},xs),iSn.Cl=function(n,t,e,i,r){return new o3(n,t,e,JR(i,168).a,JR(r,168).a)},iSn.Dl=function(n,t,e,i,r,c){return new gV(n,t,e,JR(i,168).a,JR(r,168).a,c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1374),_wn(1375,CBn,{},Rs),iSn.Cl=function(n,t,e,i,r){return new u3(n,t,e,JR(i,191).a,JR(r,191).a)},iSn.Dl=function(n,t,e,i,r,c){return new pV(n,t,e,JR(i,191).a,JR(r,191).a,c)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1375),_wn(1353,574,{},NG),iSn.Bl=function(n){if(!this.a.fk(n))throw Lm(new Py(SBn+s7(n)+PBn+this.a+"'"))},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1353),_wn(1354,574,{},g_),iSn.Bl=function(n){},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1354),_wn(785,574,{}),iSn.Bk=function(n,t,e){return null!=t.li(e)},iSn.Ck=function(n,t,e,i){var r,c;n.vh()&&n.wh()?(r=!0,null==(c=t.li(e))?(r=!1,c=this.b):UI(c)===UI(Zbt)&&(c=null),null==i?null!=this.c?(t.mi(e,null),i=this.b):t.mi(e,Zbt):(this.Bl(i),t.mi(e,i)),i5(n,this.d.Dl(n,1,this.e,c,i,!r))):null==i?null!=this.c?t.mi(e,null):t.mi(e,Zbt):(this.Bl(i),t.mi(e,i))},iSn.Ek=function(n,t,e){var i,r;n.vh()&&n.wh()?(i=!0,null==(r=t.li(e))?(i=!1,r=this.b):UI(r)===UI(Zbt)&&(r=null),t.ni(e),i5(n,this.d.Dl(n,2,this.e,r,this.b,i))):t.ni(e)},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",785),_wn(1355,785,{},$G),iSn.Bl=function(n){if(!this.a.fk(n))throw Lm(new Py(SBn+s7(n)+PBn+this.a+"'"))},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1355),_wn(1356,785,{},p_),iSn.Bl=function(n){},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1356),_wn(410,512,{},_F),iSn.yk=function(n,t,e,i,r){var c,a,o,u,s;if(s=t.li(e),this.tk()&&UI(s)===UI(Zbt))return null;if(this.bl()&&i&&null!=s){if((o=JR(s,54)).Vh()&&o!=(u=X7(n,o))){if(!Ykn(this.a,u))throw Lm(new Py(SBn+s7(u)+PBn+this.a+"'"));t.mi(e,s=u),this.al()&&(c=JR(u,54),a=o.Th(n,this.b?Pen(o.Dh(),this.b):-1-Pen(n.Dh(),this.e),null,null),!c.Ph()&&(a=c.Rh(n,this.b?Pen(c.Dh(),this.b):-1-Pen(n.Dh(),this.e),null,a)),a&&a.oj()),n.vh()&&n.wh()&&i5(n,new uB(n,9,this.e,o,u))}return s}return s},iSn.zk=function(n,t,e,i,r){var c,a;return UI(a=t.li(e))===UI(Zbt)&&(a=null),t.mi(e,i),this.Mj()?UI(a)!==UI(i)&&null!=a&&(r=(c=JR(a,54)).Th(n,Pen(c.Dh(),this.b),null,r)):this.al()&&null!=a&&(r=JR(a,54).Th(n,-1-Pen(n.Dh(),this.e),null,r)),n.vh()&&n.wh()&&(!r&&(r=new UM(4)),r.nj(new uB(n,1,this.e,a,i))),r},iSn.Ak=function(n,t,e,i,r){var c;return UI(c=t.li(e))===UI(Zbt)&&(c=null),t.ni(e),n.vh()&&n.wh()&&(!r&&(r=new UM(4)),this.tk()?r.nj(new uB(n,2,this.e,c,null)):r.nj(new uB(n,1,this.e,c,null))),r},iSn.Bk=function(n,t,e){return null!=t.li(e)},iSn.Ck=function(n,t,e,i){var r,c,a,o,u;if(null!=i&&!Ykn(this.a,i))throw Lm(new Py(SBn+(sL(i,58)?Zun(JR(i,58).Dh()):B0(s7(i)))+PBn+this.a+"'"));o=null!=(u=t.li(e)),this.tk()&&UI(u)===UI(Zbt)&&(u=null),a=null,this.Mj()?UI(u)!==UI(i)&&(null!=u&&(a=(r=JR(u,54)).Th(n,Pen(r.Dh(),this.b),null,a)),null!=i&&(a=(r=JR(i,54)).Rh(n,Pen(r.Dh(),this.b),null,a))):this.al()&&UI(u)!==UI(i)&&(null!=u&&(a=JR(u,54).Th(n,-1-Pen(n.Dh(),this.e),null,a)),null!=i&&(a=JR(i,54).Rh(n,-1-Pen(n.Dh(),this.e),null,a))),null==i&&this.tk()?t.mi(e,Zbt):t.mi(e,i),n.vh()&&n.wh()?(c=new fq(n,1,this.e,u,i,this.tk()&&!o),a?(a.nj(c),a.oj()):i5(n,c)):a&&a.oj()},iSn.Ek=function(n,t,e){var i,r,c,a,o;a=null!=(o=t.li(e)),this.tk()&&UI(o)===UI(Zbt)&&(o=null),c=null,null!=o&&(this.Mj()?c=(i=JR(o,54)).Th(n,Pen(i.Dh(),this.b),null,c):this.al()&&(c=JR(o,54).Th(n,-1-Pen(n.Dh(),this.e),null,c))),t.ni(e),n.vh()&&n.wh()?(r=new fq(n,this.tk()?2:1,this.e,o,null,a),c?(c.nj(r),c.oj()):i5(n,r)):c&&c.oj()},iSn.Mj=function(){return!1},iSn.al=function(){return!1},iSn.bl=function(){return!1},iSn.tk=function(){return!1},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",410),_wn(575,410,{},D$),iSn.al=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",575),_wn(1359,575,{},x$),iSn.bl=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1359),_wn(787,575,{},R$),iSn.tk=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",787),_wn(1361,787,{},F$),iSn.bl=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1361),_wn(650,575,{},NR),iSn.Mj=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",650),_wn(1360,650,{},xR),iSn.bl=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1360),_wn(788,650,{},RR),iSn.tk=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",788),_wn(1362,788,{},KR),iSn.bl=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1362),_wn(651,410,{},K$),iSn.bl=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",651),_wn(1363,651,{},_$),iSn.tk=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1363),_wn(789,651,{},$R),iSn.Mj=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",789),_wn(1364,789,{},FR),iSn.tk=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1364),_wn(1357,410,{},B$),iSn.tk=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1357),_wn(786,410,{},DR),iSn.Mj=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",786),_wn(1358,786,{},_R),iSn.tk=function(){return!0},EH(zKn,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1358),_wn(790,576,EBn,nU),iSn.yl=function(n){return new nU(this.a,this.c,n)},iSn.md=function(){return this.b},iSn.zl=function(n,t,e){return function(n,t,e,i){return e&&(i=e.Rh(t,Pen(e.Dh(),n.c.uk()),null,i)),i}(this,n,this.b,e)},iSn.Al=function(n,t,e){return function(n,t,e,i){return e&&(i=e.Th(t,Pen(e.Dh(),n.c.uk()),null,i)),i}(this,n,this.b,e)},EH(zKn,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",790),_wn(1365,1,tBn,sm),iSn.Fk=function(n){return this.a},iSn.Qj=function(){return sL(this.a,97)?JR(this.a,97).Qj():!this.a.dc()},iSn.Wb=function(n){this.a.$b(),this.a.Gc(JR(n,15))},iSn.Gk=function(){sL(this.a,97)?JR(this.a,97).Gk():this.a.$b()},EH(zKn,"EStructuralFeatureImpl/SettingMany",1365),_wn(1366,576,EBn,pQ),iSn.xl=function(n){return new DD((wTn(),edt),this.b.ri(this.a,n))},iSn.md=function(){return null},iSn.zl=function(n,t,e){return e},iSn.Al=function(n,t,e){return e},EH(zKn,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1366),_wn(652,576,EBn,DD),iSn.xl=function(n){return new DD(this.c,n)},iSn.md=function(){return this.a},iSn.zl=function(n,t,e){return e},iSn.Al=function(n,t,e){return e},EH(zKn,"EStructuralFeatureImpl/SimpleFeatureMapEntry",652),_wn(403,506,GFn,Ks),iSn.aj=function(n){return tZ(cbt,kSn,29,n,0,1)},iSn.Yi=function(){return!1},EH(zKn,"ESuperAdapter/1",403),_wn(457,448,{110:1,94:1,93:1,155:1,197:1,58:1,114:1,850:1,54:1,99:1,158:1,457:1,119:1,120:1},Fs),iSn.Lh=function(n,t,e){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new BF(this,fbt,this)),this.a}return KZ(this,n-DH((JEn(),_bt)),F0(JR(s5(this,16),29)||_bt,n),t,e)},iSn.Uh=function(n,t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),bcn(this.Ab,n,e);case 2:return!this.a&&(this.a=new BF(this,fbt,this)),bcn(this.a,n,e)}return JR(F0(JR(s5(this,16),29)||(JEn(),_bt),t),69).wk().Ak(this,qin(this),t-DH((JEn(),_bt)),n,e)},iSn.Wh=function(n){switch(n){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return $W(this,n-DH((JEn(),_bt)),F0(JR(s5(this,16),29)||_bt,n))},iSn.bi=function(n,t){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),ZMn(this.Ab),!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void oH(this.Ab,JR(t,16));case 1:return void H4(this,V$(t));case 2:return!this.a&&(this.a=new BF(this,fbt,this)),ZMn(this.a),!this.a&&(this.a=new BF(this,fbt,this)),void oH(this.a,JR(t,16))}nen(this,n-DH((JEn(),_bt)),F0(JR(s5(this,16),29)||_bt,n),t)},iSn.ii=function(){return JEn(),_bt},iSn.ki=function(n){switch(n){case 0:return!this.Ab&&(this.Ab=new aB(nbt,this,0,3)),void ZMn(this.Ab);case 1:return void H4(this,null);case 2:return!this.a&&(this.a=new BF(this,fbt,this)),void ZMn(this.a)}Snn(this,n-DH((JEn(),_bt)),F0(JR(s5(this,16),29)||_bt,n))},EH(zKn,"ETypeParameterImpl",457),_wn(458,83,pBn,BF),iSn.Nj=function(n,t){return function(n,t,e){var i,r;for(e=ccn(t,n.e,-1-n.c,e),r=new bm(new J6(new ew(jU(n.a).a).a));r.a.b;)e=njn(i=JR(v4(r.a).ld(),89),ign(i,n.a),e);return e}(this,JR(n,89),t)},iSn.Oj=function(n,t){return function(n,t,e){var i,r;for(e=zq(t,n.e,-1-n.c,e),r=new bm(new J6(new ew(jU(n.a).a).a));r.a.b;)e=njn(i=JR(v4(r.a).ld(),89),ign(i,n.a),e);return e}(this,JR(n,89),t)},EH(zKn,"ETypeParameterImpl/1",458),_wn(647,45,xCn,wk),iSn.ec=function(){return new lm(this)},EH(zKn,"ETypeParameterImpl/2",647),_wn(570,NSn,$Sn,lm),iSn.Fc=function(n){return sx(this,JR(n,89))},iSn.Gc=function(n){var t,e,i;for(i=!1,e=n.Kc();e.Ob();)t=JR(e.Pb(),89),null==DU(this.a,t,"")&&(i=!0);return i},iSn.$b=function(){CB(this.a)},iSn.Hc=function(n){return MB(this.a,n)},iSn.Kc=function(){return new bm(new J6(new ew(this.a).a))},iSn.Mc=function(n){return oY(this,n)},iSn.gc=function(){return Fj(this.a)},EH(zKn,"ETypeParameterImpl/2/1",570),_wn(571,1,ISn,bm),iSn.Nb=function(n){yB(this,n)},iSn.Pb=function(){return JR(v4(this.a).ld(),89)},iSn.Ob=function(){return this.a.b},iSn.Qb=function(){P1(this.a)},EH(zKn,"ETypeParameterImpl/2/1/1",571),_wn(1329,45,xCn,dk),iSn._b=function(n){return GI(n)?vq(this,n):!!WF(this.f,n)},iSn.xc=function(n){var t;return sL(t=GI(n)?rX(this,n):HI(WF(this.f,n)),851)?(t=JR(t,851).Kk(),DU(this,JR(n,241),t),t):null!=t?t:null==n?(zE(),kwt):null},EH(zKn,"EValidatorRegistryImpl",1329),_wn(1349,720,{110:1,94:1,93:1,480:1,155:1,58:1,114:1,2040:1,54:1,99:1,158:1,119:1,120:1},_s),iSn.ri=function(n,t){switch(n.hk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==t?null:Qtn(t);case 25:return w2(t);case 27:case 28:return function(n){return sL(n,180)?""+JR(n,180).a:null==n?null:Qtn(n)}(t);case 29:return null==t?null:rL(qft[0],JR(t,206));case 41:return null==t?"":sT(JR(t,297));case 42:return Qtn(t);case 50:return V$(t);default:throw Lm(new Cy(QKn+n.xe()+JKn))}},iSn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=h2(n))?mcn(t.vi(),n):-1),n.G){case 0:return new uk;case 1:return new vs;case 2:return new xl;case 4:return new uv;case 5:return new hk;case 6:return new ov;case 7:return new Rl;case 10:return new ps;case 11:return new fk;case 12:return new YG;case 13:return new bk;case 14:return new eD;case 17:return new Cs;case 18:return new Em;case 19:return new Fs;default:throw Lm(new Cy(nFn+n.zb+JKn))}},iSn.ti=function(n,t){switch(n.hk()){case 20:return null==t?null:new IT(t);case 21:return null==t?null:new kA(t);case 23:case 22:return null==t?null:function(n){if(Qin($Rn,n))return UN(),QUn;if(Qin(DRn,n))return UN(),WUn;throw Lm(new Cy("Expecting true or false"))}(t);case 26:case 24:return null==t?null:K1(ckn(t,-128,127)<<24>>24);case 25:return function(n){var t,e,i,r,c,a,o;if(null==n)return null;for(o=n.length,a=tZ(Ydt,ZKn,28,r=(o+1)/2|0,15,1),o%2!=0&&(a[--r]=Tmn((Rz(o-1,n.length),n.charCodeAt(o-1)))),e=0,i=0;e>24;return a}(t);case 27:return function(n){var t;if(null==n)return null;t=0;try{t=ckn(n,vPn,wSn)&OPn}catch(e){if(!sL(e=X5(e),130))throw Lm(e);t=R1(n)[0]}return m5(t)}(t);case 28:return function(n){var t;if(null==n)return null;t=0;try{t=ckn(n,vPn,wSn)&OPn}catch(e){if(!sL(e=X5(e),130))throw Lm(e);t=R1(n)[0]}return m5(t)}(t);case 29:return function(n){var t,e;if(null==n)return null;for(t=null,e=0;e>16);case 50:return t;default:throw Lm(new Cy(QKn+n.xe()+JKn))}},EH(zKn,"EcoreFactoryImpl",1349),_wn(560,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,2038:1,54:1,99:1,158:1,184:1,560:1,119:1,120:1,690:1},AU),iSn.gb=!1,iSn.hb=!1;var fwt,lwt=!1;EH(zKn,"EcorePackageImpl",560),_wn(1234,1,{851:1},Bs),iSn.Kk=function(){return ZL(),ywt},EH(zKn,"EcorePackageImpl/1",1234),_wn(1243,1,UBn,Hs),iSn.fk=function(n){return sL(n,155)},iSn.gk=function(n){return tZ(ilt,kSn,155,n,0,1)},EH(zKn,"EcorePackageImpl/10",1243),_wn(1244,1,UBn,Us),iSn.fk=function(n){return sL(n,197)},iSn.gk=function(n){return tZ(clt,kSn,197,n,0,1)},EH(zKn,"EcorePackageImpl/11",1244),_wn(1245,1,UBn,Gs),iSn.fk=function(n){return sL(n,58)},iSn.gk=function(n){return tZ(Wft,kSn,58,n,0,1)},EH(zKn,"EcorePackageImpl/12",1245),_wn(1246,1,UBn,qs),iSn.fk=function(n){return sL(n,411)},iSn.gk=function(n){return tZ(lbt,dBn,62,n,0,1)},EH(zKn,"EcorePackageImpl/13",1246),_wn(1247,1,UBn,Xs),iSn.fk=function(n){return sL(n,241)},iSn.gk=function(n){return tZ(alt,kSn,241,n,0,1)},EH(zKn,"EcorePackageImpl/14",1247),_wn(1248,1,UBn,zs),iSn.fk=function(n){return sL(n,518)},iSn.gk=function(n){return tZ(bbt,kSn,2116,n,0,1)},EH(zKn,"EcorePackageImpl/15",1248),_wn(1249,1,UBn,Vs),iSn.fk=function(n){return sL(n,102)},iSn.gk=function(n){return tZ(wbt,wBn,19,n,0,1)},EH(zKn,"EcorePackageImpl/16",1249),_wn(1250,1,UBn,Ws),iSn.fk=function(n){return sL(n,179)},iSn.gk=function(n){return tZ(ebt,wBn,179,n,0,1)},EH(zKn,"EcorePackageImpl/17",1250),_wn(1251,1,UBn,Qs),iSn.fk=function(n){return sL(n,481)},iSn.gk=function(n){return tZ(tbt,kSn,481,n,0,1)},EH(zKn,"EcorePackageImpl/18",1251),_wn(1252,1,UBn,Js),iSn.fk=function(n){return sL(n,561)},iSn.gk=function(n){return tZ(swt,__n,561,n,0,1)},EH(zKn,"EcorePackageImpl/19",1252),_wn(1235,1,UBn,Ys),iSn.fk=function(n){return sL(n,331)},iSn.gk=function(n){return tZ(ibt,wBn,35,n,0,1)},EH(zKn,"EcorePackageImpl/2",1235),_wn(1253,1,UBn,Zs),iSn.fk=function(n){return sL(n,248)},iSn.gk=function(n){return tZ(fbt,yBn,89,n,0,1)},EH(zKn,"EcorePackageImpl/20",1253),_wn(1254,1,UBn,nh),iSn.fk=function(n){return sL(n,457)},iSn.gk=function(n){return tZ(Xbt,kSn,850,n,0,1)},EH(zKn,"EcorePackageImpl/21",1254),_wn(1255,1,UBn,th),iSn.fk=function(n){return qI(n)},iSn.gk=function(n){return tZ(ZUn,HSn,485,n,8,1)},EH(zKn,"EcorePackageImpl/22",1255),_wn(1256,1,UBn,eh),iSn.fk=function(n){return sL(n,195)},iSn.gk=function(n){return tZ(Ydt,HSn,195,n,0,2)},EH(zKn,"EcorePackageImpl/23",1256),_wn(1257,1,UBn,ih),iSn.fk=function(n){return sL(n,222)},iSn.gk=function(n){return tZ(eGn,HSn,222,n,0,1)},EH(zKn,"EcorePackageImpl/24",1257),_wn(1258,1,UBn,rh),iSn.fk=function(n){return sL(n,180)},iSn.gk=function(n){return tZ(rGn,HSn,180,n,0,1)},EH(zKn,"EcorePackageImpl/25",1258),_wn(1259,1,UBn,ch),iSn.fk=function(n){return sL(n,206)},iSn.gk=function(n){return tZ(JUn,HSn,206,n,0,1)},EH(zKn,"EcorePackageImpl/26",1259),_wn(1260,1,UBn,ah),iSn.fk=function(n){return!1},iSn.gk=function(n){return tZ(igt,kSn,2215,n,0,1)},EH(zKn,"EcorePackageImpl/27",1260),_wn(1261,1,UBn,oh),iSn.fk=function(n){return XI(n)},iSn.gk=function(n){return tZ(cGn,HSn,345,n,7,1)},EH(zKn,"EcorePackageImpl/28",1261),_wn(1262,1,UBn,uh),iSn.fk=function(n){return sL(n,61)},iSn.gk=function(n){return tZ(Tlt,ROn,61,n,0,1)},EH(zKn,"EcorePackageImpl/29",1262),_wn(1236,1,UBn,sh),iSn.fk=function(n){return sL(n,519)},iSn.gk=function(n){return tZ(nbt,{3:1,4:1,5:1,2033:1},598,n,0,1)},EH(zKn,"EcorePackageImpl/3",1236),_wn(1263,1,UBn,hh),iSn.fk=function(n){return sL(n,582)},iSn.gk=function(n){return tZ(xlt,kSn,2039,n,0,1)},EH(zKn,"EcorePackageImpl/30",1263),_wn(1264,1,UBn,fh),iSn.fk=function(n){return sL(n,160)},iSn.gk=function(n){return tZ(jwt,ROn,160,n,0,1)},EH(zKn,"EcorePackageImpl/31",1264),_wn(1265,1,UBn,lh),iSn.fk=function(n){return sL(n,76)},iSn.gk=function(n){return tZ(Vbt,GBn,76,n,0,1)},EH(zKn,"EcorePackageImpl/32",1265),_wn(1266,1,UBn,bh),iSn.fk=function(n){return sL(n,161)},iSn.gk=function(n){return tZ(aGn,HSn,161,n,0,1)},EH(zKn,"EcorePackageImpl/33",1266),_wn(1267,1,UBn,wh),iSn.fk=function(n){return sL(n,17)},iSn.gk=function(n){return tZ(sGn,HSn,17,n,0,1)},EH(zKn,"EcorePackageImpl/34",1267),_wn(1268,1,UBn,dh),iSn.fk=function(n){return sL(n,297)},iSn.gk=function(n){return tZ(hUn,kSn,297,n,0,1)},EH(zKn,"EcorePackageImpl/35",1268),_wn(1269,1,UBn,gh),iSn.fk=function(n){return sL(n,168)},iSn.gk=function(n){return tZ(dGn,HSn,168,n,0,1)},EH(zKn,"EcorePackageImpl/36",1269),_wn(1270,1,UBn,ph),iSn.fk=function(n){return sL(n,85)},iSn.gk=function(n){return tZ(lUn,kSn,85,n,0,1)},EH(zKn,"EcorePackageImpl/37",1270),_wn(1271,1,UBn,mh),iSn.fk=function(n){return sL(n,599)},iSn.gk=function(n){return tZ(vwt,kSn,599,n,0,1)},EH(zKn,"EcorePackageImpl/38",1271),_wn(1272,1,UBn,vh),iSn.fk=function(n){return!1},iSn.gk=function(n){return tZ(rgt,kSn,2216,n,0,1)},EH(zKn,"EcorePackageImpl/39",1272),_wn(1237,1,UBn,kh),iSn.fk=function(n){return sL(n,90)},iSn.gk=function(n){return tZ(cbt,kSn,29,n,0,1)},EH(zKn,"EcorePackageImpl/4",1237),_wn(1273,1,UBn,yh),iSn.fk=function(n){return sL(n,191)},iSn.gk=function(n){return tZ(pGn,HSn,191,n,0,1)},EH(zKn,"EcorePackageImpl/40",1273),_wn(1274,1,UBn,Mh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(zKn,"EcorePackageImpl/41",1274),_wn(1275,1,UBn,Th),iSn.fk=function(n){return sL(n,596)},iSn.gk=function(n){return tZ(Elt,kSn,596,n,0,1)},EH(zKn,"EcorePackageImpl/42",1275),_wn(1276,1,UBn,jh),iSn.fk=function(n){return!1},iSn.gk=function(n){return tZ(cgt,HSn,2217,n,0,1)},EH(zKn,"EcorePackageImpl/43",1276),_wn(1277,1,UBn,Eh),iSn.fk=function(n){return sL(n,44)},iSn.gk=function(n){return tZ(kUn,nPn,44,n,0,1)},EH(zKn,"EcorePackageImpl/44",1277),_wn(1238,1,UBn,Sh),iSn.fk=function(n){return sL(n,142)},iSn.gk=function(n){return tZ(rbt,kSn,142,n,0,1)},EH(zKn,"EcorePackageImpl/5",1238),_wn(1239,1,UBn,Ph),iSn.fk=function(n){return sL(n,156)},iSn.gk=function(n){return tZ(abt,kSn,156,n,0,1)},EH(zKn,"EcorePackageImpl/6",1239),_wn(1240,1,UBn,Ch),iSn.fk=function(n){return sL(n,469)},iSn.gk=function(n){return tZ(sbt,kSn,685,n,0,1)},EH(zKn,"EcorePackageImpl/7",1240),_wn(1241,1,UBn,Ih),iSn.fk=function(n){return sL(n,582)},iSn.gk=function(n){return tZ(hbt,kSn,694,n,0,1)},EH(zKn,"EcorePackageImpl/8",1241),_wn(1242,1,UBn,Oh),iSn.fk=function(n){return sL(n,480)},iSn.gk=function(n){return tZ(rlt,kSn,480,n,0,1)},EH(zKn,"EcorePackageImpl/9",1242),_wn(1038,2080,K_n,sy),iSn.Mi=function(n,t){!function(n,t){var e,i,r;if(t.ej(n.a),null!=(r=JR(s5(n.a,8),2035)))for(e=0,i=r.length;e0){if(Rz(0,n.length),47==n.charCodeAt(0)){for(c=new dY(4),r=1,t=1;t0&&(aZ(0,e,n.length),n=n.substr(0,e))}return function(n,t){var e,i,r,c,a,o;for(c=null,r=new hB((!n.a&&(n.a=new wm(n)),n.a));Jbn(r);)if(fMn(a=(e=JR(qdn(r),58)).Dh()),null!=(i=(o=a.o)&&e.Xh(o)?Ex(U5(o),e.Mh(o)):null)&&Cx(i,t)){c=e;break}return c}(this,n)},iSn.Gl=function(){return this.c},iSn.Ib=function(){return sT(this.Rm)+"@"+(F4(this)>>>0).toString(16)+" uri='"+this.d+"'"},iSn.b=!1,EH(zBn,"ResourceImpl",799),_wn(1525,799,XBn,dm),EH(zBn,"BinaryResourceImpl",1525),_wn(1190,708,qFn),iSn.bj=function(n){return sL(n,58)?function(n,t){return n.a?t.Gh().Kc():JR(t.Gh(),71).Ii()}(this,JR(n,58)):sL(n,599)?new XL(JR(n,599).El()):UI(n)===UI(this.f)?JR(n,16).Kc():(nD(),Nlt.a)},iSn.Ob=function(){return Jbn(this)},iSn.a=!1,EH(nBn,"EcoreUtil/ContentTreeIterator",1190),_wn(1526,1190,qFn,hB),iSn.bj=function(n){return UI(n)===UI(this.f)?JR(n,15).Kc():new TW(JR(n,58))},EH(zBn,"ResourceImpl/5",1526),_wn(658,2092,gBn,wm),iSn.Hc=function(n){return this.i<=4?Mun(this,n):sL(n,54)&&JR(n,54).Jh()==this.a},iSn.Mi=function(n,t){n==this.i-1&&(this.a.b||(this.a.b=!0))},iSn.Oi=function(n,t){0==n?this.a.b||(this.a.b=!0):eZ(this,n,t)},iSn.Qi=function(n,t){},iSn.Ri=function(n,t,e){},iSn.Lj=function(){return 2},iSn.jj=function(){return this.a},iSn.Mj=function(){return!0},iSn.Nj=function(n,t){return JR(n,54).fi(this.a,t)},iSn.Oj=function(n,t){return JR(n,54).fi(null,t)},iSn.Pj=function(){return!1},iSn.Si=function(){return!0},iSn.aj=function(n){return tZ(Wft,kSn,58,n,0,1)},iSn.Yi=function(){return!1},EH(zBn,"ResourceImpl/ContentsEList",658),_wn(970,2062,bPn,gm),iSn.fd=function(n){return this.a.Ki(n)},iSn.gc=function(){return this.a.gc()},EH(nBn,"AbstractSequentialInternalEList/1",970),_wn(634,1,{},jK),EH(nBn,"BasicExtendedMetaData",634),_wn(1181,1,{},xI),iSn.Jl=function(){return null},iSn.Kl=function(){return-2==this.a&&(n=this,t=function(n,t){var e,i,r;if((e=t.qi(n.a))&&null!=(r=Yen((!e.b&&(e.b=new I$((JEn(),Rbt),swt,e)),e.b),kBn)))for(i=1;i<(nln(),bwt).length;++i)if(Cx(bwt[i],r))return i;return 0}(this.d,this.b),n.a=t),this.a;var n,t},iSn.Ll=function(){return null},iSn.Ml=function(){return eq(),eq(),BGn},iSn.xe=function(){return this.c==uHn&&(n=this,t=hrn(this.d,this.b),n.c=t),this.c;var n,t},iSn.Nl=function(){return 0},iSn.a=-2,iSn.c=uHn,EH(nBn,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1181),_wn(1182,1,{},kV),iSn.Jl=function(){return this.a==(lY(),pwt)&&function(n,t){n.a=t}(this,(n=this.f,t=this.b,(i=t.qi(n.a))&&(!i.b&&(i.b=new I$((JEn(),Rbt),swt,i)),null!=(e=V$(Yen(i.b,LBn)))&&sL(c=-1==(r=e.lastIndexOf("#"))?H$(n,t.jk(),e):0==r?PZ(n,null,(Rz(1,e.length+1),e.substr(1))):PZ(n,(aZ(0,r,e.length),e.substr(0,r)),(Rz(r+1,e.length+1),e.substr(r+1))),156))?JR(c,156):null)),this.a;var n,t,e,i,r,c},iSn.Kl=function(){return 0},iSn.Ll=function(){return this.c==(lY(),pwt)&&function(n,t){n.c=t}(this,(n=this.f,t=this.b,(e=t.qi(n.a))&&(!e.b&&(e.b=new I$((JEn(),Rbt),swt,e)),null!=(r=V$(Yen(e.b,tHn)))&&sL(c=-1==(i=r.lastIndexOf("#"))?H$(n,t.jk(),r):0==i?PZ(n,null,(Rz(1,r.length+1),r.substr(1))):PZ(n,(aZ(0,i,r.length),r.substr(0,i)),(Rz(i+1,r.length+1),r.substr(i+1))),156))?JR(c,156):null)),this.c;var n,t,e,i,r,c},iSn.Ml=function(){return!this.d&&(n=this,t=function(n,t){var e,i,r,c,a,o,u,s,h;if((e=t.qi(n.a))&&null!=(u=V$(Yen((!e.b&&(e.b=new I$((JEn(),Rbt),swt,e)),e.b),"memberTypes")))){for(s=new Mm,a=0,o=(c=syn(u,"\\w")).length;ae?t:e;s<=f;++s)s==e?o=i++:(c=r[s],h=w.am(c.Lk()),s==t&&(u=s!=f||h?i:i-1),h&&++i);return l=JR(etn(n,t,e),76),o!=u&&lv(n,new EZ(n.e,7,a,ann(o),b.md(),u)),l}return JR(etn(n,t,e),76)}(this,n,t)},iSn.Wi=function(n,t){return function(n,t,e){var i,r,c,a,o,u,s,h,f,l,b,w,d,g;if(sL(a=e.Lk(),102)&&JR(a,19).Bb&MCn&&(l=JR(e.md(),54),(d=X7(n.e,l))!=l)){if(LL(n,t,Osn(n,0,h=YW(a,d))),f=null,iA(n.e)&&(i=lTn((nln(),dwt),n.e.Dh(),a))!=F0(n.e.Dh(),n.c)){for(g=ipn(n.e.Dh(),a),o=0,c=JR(n.g,124),u=0;u=0;)if(t=n[this.c],this.k.am(t.Lk()))return this.j=this.f?t:t.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},EH(nBn,"BasicFeatureMap/FeatureEIterator",420),_wn(676,420,KSn,CO),iSn.ul=function(){return!0},EH(nBn,"BasicFeatureMap/ResolvingFeatureEIterator",676),_wn(968,496,TBn,wL),iSn.pj=function(){return this},EH(nBn,"EContentsEList/1",968),_wn(969,496,TBn,PO),iSn.ul=function(){return!1},EH(nBn,"EContentsEList/2",969),_wn(967,287,jBn,dL),iSn.wl=function(n){},iSn.Ob=function(){return!1},iSn.Sb=function(){return!1},EH(nBn,"EContentsEList/FeatureIteratorImpl/1",967),_wn(840,593,pBn,DL),iSn.Ni=function(){this.a=!0},iSn.Qj=function(){return this.a},iSn.Gk=function(){var n;ZMn(this),iA(this.e)?(n=this.a,this.a=!1,i5(this.e,new wJ(this.e,2,this.c,n,!1))):this.a=!1},iSn.a=!1,EH(nBn,"EDataTypeEList/Unsettable",840),_wn(1958,593,pBn,xL),iSn.Si=function(){return!0},EH(nBn,"EDataTypeUniqueEList",1958),_wn(1959,840,pBn,RL),iSn.Si=function(){return!0},EH(nBn,"EDataTypeUniqueEList/Unsettable",1959),_wn(147,83,pBn,KL),iSn.nl=function(){return!0},iSn.Wi=function(n,t){return ywn(this,n,JR(t,58))},EH(nBn,"EObjectContainmentEList/Resolving",147),_wn(1184,555,pBn,FL),iSn.nl=function(){return!0},iSn.Wi=function(n,t){return ywn(this,n,JR(t,58))},EH(nBn,"EObjectContainmentEList/Unsettable/Resolving",1184),_wn(766,14,pBn,wx),iSn.Ni=function(){this.a=!0},iSn.Qj=function(){return this.a},iSn.Gk=function(){var n;ZMn(this),iA(this.e)?(n=this.a,this.a=!1,i5(this.e,new wJ(this.e,2,this.c,n,!1))):this.a=!1},iSn.a=!1,EH(nBn,"EObjectContainmentWithInverseEList/Unsettable",766),_wn(1222,766,pBn,dx),iSn.nl=function(){return!0},iSn.Wi=function(n,t){return ywn(this,n,JR(t,58))},EH(nBn,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1222),_wn(757,505,pBn,_L),iSn.Ni=function(){this.a=!0},iSn.Qj=function(){return this.a},iSn.Gk=function(){var n;ZMn(this),iA(this.e)?(n=this.a,this.a=!1,i5(this.e,new wJ(this.e,2,this.c,n,!1))):this.a=!1},iSn.a=!1,EH(nBn,"EObjectEList/Unsettable",757),_wn(338,505,pBn,BL),iSn.nl=function(){return!0},iSn.Wi=function(n,t){return ywn(this,n,JR(t,58))},EH(nBn,"EObjectResolvingEList",338),_wn(1844,757,pBn,HL),iSn.nl=function(){return!0},iSn.Wi=function(n,t){return ywn(this,n,JR(t,58))},EH(nBn,"EObjectResolvingEList/Unsettable",1844),_wn(1527,1,{},Ah),EH(nBn,"EObjectValidator",1527),_wn(559,505,pBn,sB),iSn.il=function(){return this.d},iSn.jl=function(){return this.b},iSn.Mj=function(){return!0},iSn.ml=function(){return!0},iSn.b=0,EH(nBn,"EObjectWithInverseEList",559),_wn(1225,559,pBn,gx),iSn.ll=function(){return!0},EH(nBn,"EObjectWithInverseEList/ManyInverse",1225),_wn(635,559,pBn,px),iSn.Ni=function(){this.a=!0},iSn.Qj=function(){return this.a},iSn.Gk=function(){var n;ZMn(this),iA(this.e)?(n=this.a,this.a=!1,i5(this.e,new wJ(this.e,2,this.c,n,!1))):this.a=!1},iSn.a=!1,EH(nBn,"EObjectWithInverseEList/Unsettable",635),_wn(1224,635,pBn,vx),iSn.ll=function(){return!0},EH(nBn,"EObjectWithInverseEList/Unsettable/ManyInverse",1224),_wn(767,559,pBn,mx),iSn.nl=function(){return!0},iSn.Wi=function(n,t){return ywn(this,n,JR(t,58))},EH(nBn,"EObjectWithInverseResolvingEList",767),_wn(32,767,pBn,yx),iSn.ll=function(){return!0},EH(nBn,"EObjectWithInverseResolvingEList/ManyInverse",32),_wn(768,635,pBn,kx),iSn.nl=function(){return!0},iSn.Wi=function(n,t){return ywn(this,n,JR(t,58))},EH(nBn,"EObjectWithInverseResolvingEList/Unsettable",768),_wn(1223,768,pBn,Mx),iSn.ll=function(){return!0},EH(nBn,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1223),_wn(1185,632,pBn),iSn.Li=function(){return!(1792&this.b)},iSn.Ni=function(){this.b|=1},iSn.kl=function(){return!!(4&this.b)},iSn.Mj=function(){return!!(40&this.b)},iSn.ll=function(){return!!(16&this.b)},iSn.ml=function(){return!!(8&this.b)},iSn.nl=function(){return!!(this.b&cBn)},iSn.al=function(){return!!(32&this.b)},iSn.ol=function(){return!!(this.b&sPn)},iSn.fk=function(n){return this.d?_W(this.d,n):this.Lk().Hk().fk(n)},iSn.Qj=function(){return 2&this.b?!!(1&this.b):0!=this.i},iSn.Si=function(){return!!(128&this.b)},iSn.Gk=function(){var n;ZMn(this),2&this.b&&(iA(this.e)?(n=!!(1&this.b),this.b&=-2,lv(this,new wJ(this.e,2,Pen(this.e.Dh(),this.Lk()),n,!1))):this.b&=-2)},iSn.Yi=function(){return!(1536&this.b)},iSn.b=0,EH(nBn,"EcoreEList/Generic",1185),_wn(1186,1185,pBn,lq),iSn.Lk=function(){return this.a},EH(nBn,"EcoreEList/Dynamic",1186),_wn(765,66,GFn,pm),iSn.aj=function(n){return Q2(this.a.a,n)},EH(nBn,"EcoreEMap/1",765),_wn(764,83,pBn,dB),iSn.Mi=function(n,t){Kcn(this.b,JR(t,136))},iSn.Oi=function(n,t){u5(this.b)},iSn.Pi=function(n,t,e){var i;++(i=this.b,JR(t,136),i).e},iSn.Qi=function(n,t){itn(this.b,JR(t,136))},iSn.Ri=function(n,t,e){itn(this.b,JR(e,136)),UI(e)===UI(t)&&JR(e,136).Ci(function(n){return null==n?0:F4(n)}(JR(t,136).ld())),Kcn(this.b,JR(t,136))},EH(nBn,"EcoreEMap/DelegateEObjectContainmentEList",764),_wn(1220,141,eBn,G3),EH(nBn,"EcoreEMap/Unsettable",1220),_wn(1221,764,pBn,Tx),iSn.Ni=function(){this.a=!0},iSn.Qj=function(){return this.a},iSn.Gk=function(){var n;ZMn(this),iA(this.e)?(n=this.a,this.a=!1,i5(this.e,new wJ(this.e,2,this.c,n,!1))):this.a=!1},iSn.a=!1,EH(nBn,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1221),_wn(1189,215,xCn,wH),iSn.a=!1,iSn.b=!1,EH(nBn,"EcoreUtil/Copier",1189),_wn(759,1,ISn,TW),iSn.Nb=function(n){yB(this,n)},iSn.Ob=function(){return lin(this)},iSn.Pb=function(){var n;return lin(this),n=this.b,this.b=null,n},iSn.Qb=function(){this.a.Qb()},EH(nBn,"EcoreUtil/ProperContentIterator",759),_wn(1528,1527,{},Kl),EH(nBn,"EcoreValidator",1528),nF(nBn,"FeatureMapUtil/Validator"),_wn(1295,1,{2041:1},Lh),iSn.am=function(n){return!0},EH(nBn,"FeatureMapUtil/1",1295),_wn(773,1,{2041:1},Ejn),iSn.am=function(n){var t;return this.c==n||(null==(t=X$(RH(this.a,n)))?function(n,t){var e;return n.f==Twt?(e=EU(O1((nln(),dwt),t)),n.e?4==e&&t!=(cwn(),Cwt)&&t!=(cwn(),Ewt)&&t!=(cwn(),Swt)&&t!=(cwn(),Pwt):2==e):!(!n.d||!(n.d.Hc(t)||n.d.Hc(Yz(O1((nln(),dwt),t)))||n.d.Hc(lTn((nln(),dwt),n.b,t))))||!(!n.f||!jgn((nln(),n.f),YU(O1(dwt,t))))&&(e=EU(O1(dwt,t)),n.e?4==e:2==e)}(this,n)?($J(this.a,n,(UN(),QUn)),!0):($J(this.a,n,(UN(),WUn)),!1):t==(UN(),QUn))},iSn.e=!1,EH(nBn,"FeatureMapUtil/BasicValidator",773),_wn(774,45,xCn,bL),EH(nBn,"FeatureMapUtil/BasicValidator/Cache",774),_wn(509,56,{20:1,31:1,56:1,16:1,15:1,61:1,79:1,71:1,97:1},KI),iSn.bd=function(n,t){Apn(this.c,this.b,n,t)},iSn.Fc=function(n){return Bvn(this.c,this.b,n)},iSn.cd=function(n,t){return function(n,t,e,i){var r,c,a,o,u,s,h,f;if(0==i.gc())return!1;if(VE(),a=(u=JR(t,69).xk())?i:new a2(i.gc()),Epn(n.e,t)){if(t.Si())for(h=i.Kc();h.Ob();)pyn(n,t,s=h.Pb(),sL(t,102)&&!!(JR(t,19).Bb&MCn))||(c=YW(t,s),a.Fc(c));else if(!u)for(h=i.Kc();h.Ob();)c=YW(t,s=h.Pb()),a.Fc(c)}else{for(f=ipn(n.e.Dh(),t),r=JR(n.g,124),o=0;o1)throw Lm(new Cy(sHn));u||(c=YW(t,i.Kc().Pb()),a.Fc(c))}return E8(n,Wfn(n,t,e),a)}(this.c,this.b,n,t)},iSn.Gc=function(n){return uL(this,n)},iSn.Gi=function(n,t){!function(n,t,e,i){n.j=-1,fwn(n,Wfn(n,t,e),(VE(),JR(t,69).vk().xl(i)))}(this.c,this.b,n,t)},iSn.Wk=function(n,t){return Xmn(this.c,this.b,n,t)},iSn.$i=function(n){return dMn(this.c,this.b,n,!1)},iSn.Ii=function(){return uA(this.c,this.b)},iSn.Ji=function(){return n=this.c,new E5(this.b,n);var n},iSn.Ki=function(n){return function(n,t,e){var i,r;for(r=new E5(t,n),i=0;i0)if((e-=r.length-t)>=0){for(c.a+="0.";e>yGn.length;e-=yGn.length)lF(c,yGn);RD(c,yGn,lX(e)),rO(c,(Rz(t,r.length+1),r.substr(t)))}else rO(c,Gq(r,t,lX(e=t-e))),c.a+=".",rO(c,_H(r,lX(e)));else{for(rO(c,(Rz(t,r.length+1),r.substr(t)));e<-yGn.length;e+=yGn.length)lF(c,yGn);RD(c,yGn,lX(-e))}return c.a}(JR(t,247));case 15:case 14:return null==t?null:function(n){return n==pCn?dHn:n==mCn?"-INF":""+n}(my(z$(t)));case 17:return esn((wTn(),t));case 18:return esn(t);case 21:case 20:return null==t?null:function(n){return n==pCn?dHn:n==mCn?"-INF":""+n}(JR(t,161).a);case 27:return q$(JR(t,195));case 30:return $an((wTn(),JR(t,15)));case 31:return $an(JR(t,15));case 40:case 59:case 48:return function(n){return null==n?null:Qtn(n)}((wTn(),t));case 42:return isn((wTn(),t));case 43:return isn(t);default:throw Lm(new Cy(QKn+n.xe()+JKn))}},iSn.si=function(n){var t;switch(-1==n.G&&(n.G=(t=h2(n))?mcn(t.vi(),n):-1),n.G){case 0:return new gk;case 1:return new Uh;case 2:return new pk;case 3:return new mk;default:throw Lm(new Cy(nFn+n.zb+JKn))}},iSn.ti=function(n,t){var e,i,r,c,a,o,u,s,h,f,l,b,w,d,g,p;switch(n.hk()){case 5:case 52:case 4:return t;case 6:return Jrn(t);case 8:case 7:return null==t?null:function(n){if(n=vMn(n,!0),Cx($Rn,n)||Cx("1",n))return UN(),QUn;if(Cx(DRn,n)||Cx("0",n))return UN(),WUn;throw Lm(new xy("Invalid boolean value: '"+n+"'"))}(t);case 9:return null==t?null:K1(ckn((i=vMn(t,!0)).length>0&&(Rz(0,i.length),43==i.charCodeAt(0))?(Rz(1,i.length+1),i.substr(1)):i,-128,127)<<24>>24);case 10:return null==t?null:K1(ckn((r=vMn(t,!0)).length>0&&(Rz(0,r.length),43==r.charCodeAt(0))?(Rz(1,r.length+1),r.substr(1)):r,-128,127)<<24>>24);case 11:return V$(vEn(this,(wTn(),Rwt),t));case 12:return V$(vEn(this,(wTn(),Kwt),t));case 13:return null==t?null:new IT(vMn(t,!0));case 15:case 14:return function(n){var t,e,i,r;if(null==n)return null;if(i=vMn(n,!0),r=dHn.length,Cx(i.substr(i.length-r,r),dHn))if(4==(e=i.length)){if(Rz(0,i.length),43==(t=i.charCodeAt(0)))return rdt;if(45==t)return idt}else if(3==e)return rdt;return nfn(i)}(t);case 16:return V$(vEn(this,(wTn(),Fwt),t));case 17:return Sin((wTn(),t));case 18:return Sin(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return vMn(t,!0);case 21:case 20:return function(n){var t,e,i,r;if(null==n)return null;if(i=vMn(n,!0),r=dHn.length,Cx(i.substr(i.length-r,r),dHn))if(4==(e=i.length)){if(Rz(0,i.length),43==(t=i.charCodeAt(0)))return adt;if(45==t)return cdt}else if(3==e)return adt;return new wv(i)}(t);case 22:return V$(vEn(this,(wTn(),_wt),t));case 23:return V$(vEn(this,(wTn(),Bwt),t));case 24:return V$(vEn(this,(wTn(),Hwt),t));case 25:return V$(vEn(this,(wTn(),Uwt),t));case 26:return V$(vEn(this,(wTn(),Gwt),t));case 27:return Srn(t);case 30:return Pin((wTn(),t));case 31:return Pin(t);case 32:return null==t?null:ann(ckn((h=vMn(t,!0)).length>0&&(Rz(0,h.length),43==h.charCodeAt(0))?(Rz(1,h.length+1),h.substr(1)):h,vPn,wSn));case 33:return null==t?null:new kA((f=vMn(t,!0)).length>0&&(Rz(0,f.length),43==f.charCodeAt(0))?(Rz(1,f.length+1),f.substr(1)):f);case 34:return null==t?null:ann(ckn((l=vMn(t,!0)).length>0&&(Rz(0,l.length),43==l.charCodeAt(0))?(Rz(1,l.length+1),l.substr(1)):l,vPn,wSn));case 36:return null==t?null:Jin(Bjn((b=vMn(t,!0)).length>0&&(Rz(0,b.length),43==b.charCodeAt(0))?(Rz(1,b.length+1),b.substr(1)):b));case 37:return null==t?null:Jin(Bjn((w=vMn(t,!0)).length>0&&(Rz(0,w.length),43==w.charCodeAt(0))?(Rz(1,w.length+1),w.substr(1)):w));case 40:case 59:case 48:return function(n){var t;return null==n?null:new kA((t=vMn(n,!0)).length>0&&(Rz(0,t.length),43==t.charCodeAt(0))?(Rz(1,t.length+1),t.substr(1)):t)}((wTn(),t));case 42:return Cin((wTn(),t));case 43:return Cin(t);case 44:return null==t?null:new kA((d=vMn(t,!0)).length>0&&(Rz(0,d.length),43==d.charCodeAt(0))?(Rz(1,d.length+1),d.substr(1)):d);case 45:return null==t?null:new kA((g=vMn(t,!0)).length>0&&(Rz(0,g.length),43==g.charCodeAt(0))?(Rz(1,g.length+1),g.substr(1)):g);case 46:return vMn(t,!1);case 47:return V$(vEn(this,(wTn(),qwt),t));case 49:return V$(vEn(this,(wTn(),zwt),t));case 50:return null==t?null:onn(ckn((p=vMn(t,!0)).length>0&&(Rz(0,p.length),43==p.charCodeAt(0))?(Rz(1,p.length+1),p.substr(1)):p,OBn,32767)<<16>>16);case 51:return null==t?null:onn(ckn((c=vMn(t,!0)).length>0&&(Rz(0,c.length),43==c.charCodeAt(0))?(Rz(1,c.length+1),c.substr(1)):c,OBn,32767)<<16>>16);case 53:return V$(vEn(this,(wTn(),Qwt),t));case 55:return null==t?null:onn(ckn((a=vMn(t,!0)).length>0&&(Rz(0,a.length),43==a.charCodeAt(0))?(Rz(1,a.length+1),a.substr(1)):a,OBn,32767)<<16>>16);case 56:return null==t?null:onn(ckn((o=vMn(t,!0)).length>0&&(Rz(0,o.length),43==o.charCodeAt(0))?(Rz(1,o.length+1),o.substr(1)):o,OBn,32767)<<16>>16);case 57:return null==t?null:Jin(Bjn((u=vMn(t,!0)).length>0&&(Rz(0,u.length),43==u.charCodeAt(0))?(Rz(1,u.length+1),u.substr(1)):u));case 58:return null==t?null:Jin(Bjn((s=vMn(t,!0)).length>0&&(Rz(0,s.length),43==s.charCodeAt(0))?(Rz(1,s.length+1),s.substr(1)):s));case 60:return null==t?null:ann(ckn((e=vMn(t,!0)).length>0&&(Rz(0,e.length),43==e.charCodeAt(0))?(Rz(1,e.length+1),e.substr(1)):e,vPn,wSn));case 61:return null==t?null:ann(ckn(vMn(t,!0),vPn,wSn));default:throw Lm(new Cy(QKn+n.xe()+JKn))}},EH(wHn,"XMLTypeFactoryImpl",2028),_wn(594,184,{110:1,94:1,93:1,155:1,197:1,58:1,241:1,114:1,54:1,99:1,158:1,184:1,119:1,120:1,690:1,2044:1,594:1},LU),iSn.N=!1,iSn.O=!1;var hdt,fdt,ldt,bdt,wdt,ddt=!1;EH(wHn,"XMLTypePackageImpl",594),_wn(1961,1,{851:1},$h),iSn.Kk=function(){return Ukn(),_dt},EH(wHn,"XMLTypePackageImpl/1",1961),_wn(1970,1,UBn,Dh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/10",1970),_wn(1971,1,UBn,xh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/11",1971),_wn(1972,1,UBn,Rh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/12",1972),_wn(1973,1,UBn,Kh),iSn.fk=function(n){return XI(n)},iSn.gk=function(n){return tZ(cGn,HSn,345,n,7,1)},EH(wHn,"XMLTypePackageImpl/13",1973),_wn(1974,1,UBn,Fh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/14",1974),_wn(1975,1,UBn,_h),iSn.fk=function(n){return sL(n,15)},iSn.gk=function(n){return tZ(dUn,ROn,15,n,0,1)},EH(wHn,"XMLTypePackageImpl/15",1975),_wn(1976,1,UBn,Bh),iSn.fk=function(n){return sL(n,15)},iSn.gk=function(n){return tZ(dUn,ROn,15,n,0,1)},EH(wHn,"XMLTypePackageImpl/16",1976),_wn(1977,1,UBn,Hh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/17",1977),_wn(1978,1,UBn,Gh),iSn.fk=function(n){return sL(n,161)},iSn.gk=function(n){return tZ(aGn,HSn,161,n,0,1)},EH(wHn,"XMLTypePackageImpl/18",1978),_wn(1979,1,UBn,qh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/19",1979),_wn(1962,1,UBn,Xh),iSn.fk=function(n){return sL(n,857)},iSn.gk=function(n){return tZ(Owt,kSn,857,n,0,1)},EH(wHn,"XMLTypePackageImpl/2",1962),_wn(1980,1,UBn,zh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/20",1980),_wn(1981,1,UBn,Vh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/21",1981),_wn(1982,1,UBn,Wh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/22",1982),_wn(1983,1,UBn,Qh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/23",1983),_wn(1984,1,UBn,Jh),iSn.fk=function(n){return sL(n,195)},iSn.gk=function(n){return tZ(Ydt,HSn,195,n,0,2)},EH(wHn,"XMLTypePackageImpl/24",1984),_wn(1985,1,UBn,Yh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/25",1985),_wn(1986,1,UBn,Zh),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/26",1986),_wn(1987,1,UBn,nf),iSn.fk=function(n){return sL(n,15)},iSn.gk=function(n){return tZ(dUn,ROn,15,n,0,1)},EH(wHn,"XMLTypePackageImpl/27",1987),_wn(1988,1,UBn,tf),iSn.fk=function(n){return sL(n,15)},iSn.gk=function(n){return tZ(dUn,ROn,15,n,0,1)},EH(wHn,"XMLTypePackageImpl/28",1988),_wn(1989,1,UBn,ef),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/29",1989),_wn(1963,1,UBn,rf),iSn.fk=function(n){return sL(n,681)},iSn.gk=function(n){return tZ(odt,kSn,2119,n,0,1)},EH(wHn,"XMLTypePackageImpl/3",1963),_wn(1990,1,UBn,cf),iSn.fk=function(n){return sL(n,17)},iSn.gk=function(n){return tZ(sGn,HSn,17,n,0,1)},EH(wHn,"XMLTypePackageImpl/30",1990),_wn(1991,1,UBn,af),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/31",1991),_wn(1992,1,UBn,of),iSn.fk=function(n){return sL(n,168)},iSn.gk=function(n){return tZ(dGn,HSn,168,n,0,1)},EH(wHn,"XMLTypePackageImpl/32",1992),_wn(1993,1,UBn,uf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/33",1993),_wn(1994,1,UBn,sf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/34",1994),_wn(1995,1,UBn,hf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/35",1995),_wn(1996,1,UBn,ff),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/36",1996),_wn(1997,1,UBn,lf),iSn.fk=function(n){return sL(n,15)},iSn.gk=function(n){return tZ(dUn,ROn,15,n,0,1)},EH(wHn,"XMLTypePackageImpl/37",1997),_wn(1998,1,UBn,bf),iSn.fk=function(n){return sL(n,15)},iSn.gk=function(n){return tZ(dUn,ROn,15,n,0,1)},EH(wHn,"XMLTypePackageImpl/38",1998),_wn(1999,1,UBn,wf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/39",1999),_wn(1964,1,UBn,df),iSn.fk=function(n){return sL(n,682)},iSn.gk=function(n){return tZ(udt,kSn,2120,n,0,1)},EH(wHn,"XMLTypePackageImpl/4",1964),_wn(2e3,1,UBn,gf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/40",2e3),_wn(2001,1,UBn,pf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/41",2001),_wn(2002,1,UBn,mf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/42",2002),_wn(2003,1,UBn,vf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/43",2003),_wn(2004,1,UBn,kf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/44",2004),_wn(2005,1,UBn,yf),iSn.fk=function(n){return sL(n,191)},iSn.gk=function(n){return tZ(pGn,HSn,191,n,0,1)},EH(wHn,"XMLTypePackageImpl/45",2005),_wn(2006,1,UBn,Mf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/46",2006),_wn(2007,1,UBn,Tf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/47",2007),_wn(2008,1,UBn,jf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/48",2008),_wn(2009,1,UBn,Ef),iSn.fk=function(n){return sL(n,191)},iSn.gk=function(n){return tZ(pGn,HSn,191,n,0,1)},EH(wHn,"XMLTypePackageImpl/49",2009),_wn(1965,1,UBn,Sf),iSn.fk=function(n){return sL(n,683)},iSn.gk=function(n){return tZ(sdt,kSn,2121,n,0,1)},EH(wHn,"XMLTypePackageImpl/5",1965),_wn(2010,1,UBn,Pf),iSn.fk=function(n){return sL(n,168)},iSn.gk=function(n){return tZ(dGn,HSn,168,n,0,1)},EH(wHn,"XMLTypePackageImpl/50",2010),_wn(2011,1,UBn,Cf),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/51",2011),_wn(2012,1,UBn,If),iSn.fk=function(n){return sL(n,17)},iSn.gk=function(n){return tZ(sGn,HSn,17,n,0,1)},EH(wHn,"XMLTypePackageImpl/52",2012),_wn(1966,1,UBn,Of),iSn.fk=function(n){return GI(n)},iSn.gk=function(n){return tZ(CGn,HSn,2,n,6,1)},EH(wHn,"XMLTypePackageImpl/6",1966),_wn(1967,1,UBn,Af),iSn.fk=function(n){return sL(n,195)},iSn.gk=function(n){return tZ(Ydt,HSn,195,n,0,2)},EH(wHn,"XMLTypePackageImpl/7",1967),_wn(1968,1,UBn,Lf),iSn.fk=function(n){return qI(n)},iSn.gk=function(n){return tZ(ZUn,HSn,485,n,8,1)},EH(wHn,"XMLTypePackageImpl/8",1968),_wn(1969,1,UBn,Nf),iSn.fk=function(n){return sL(n,222)},iSn.gk=function(n){return tZ(eGn,HSn,222,n,0,1)},EH(wHn,"XMLTypePackageImpl/9",1969),_wn(55,63,yPn,Ry),EH(_Hn,"RegEx/ParseException",55),_wn(836,1,{},$f),iSn.bm=function(n){return n16*e)throw Lm(new Ry(tSn((DA(),M_n))));e=16*e+r}if(125!=this.a)throw Lm(new Ry(tSn((DA(),T_n))));if(e>BHn)throw Lm(new Ry(tSn((DA(),j_n))));n=e}else{if(r=0,0!=this.c||(r=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(e=r,NEn(this),0!=this.c||(r=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));n=e=16*e+r}break;case 117:if(i=0,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(t=i,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(t=16*t+i,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(t=16*t+i,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));n=t=16*t+i;break;case 118:if(NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(t=i,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(t=16*t+i,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(t=16*t+i,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(t=16*t+i,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if(t=16*t+i,NEn(this),0!=this.c||(i=Jcn(this.a))<0)throw Lm(new Ry(tSn((DA(),y_n))));if((t=16*t+i)>BHn)throw Lm(new Ry(tSn((DA(),"parser.descappe.4"))));n=t;break;case 65:case 90:case 122:throw Lm(new Ry(tSn((DA(),E_n))))}return n},iSn.dm=function(n){var t;switch(n){case 100:t=32&~this.e?(WEn(),Tdt):Jjn("Nd",!0);break;case 68:t=32&~this.e?(WEn(),Cdt):Jjn("Nd",!1);break;case 119:t=32&~this.e?(WEn(),Rdt):Jjn("IsWord",!0);break;case 87:t=32&~this.e?(WEn(),Odt):Jjn("IsWord",!1);break;case 115:t=32&~this.e?(WEn(),Ldt):Jjn("IsSpace",!0);break;case 83:t=32&~this.e?(WEn(),Idt):Jjn("IsSpace",!1);break;default:throw Lm(new Jk(HHn+n.toString(16)))}return t},iSn.em=function(n){var t,e,i,r,c,a,o,u,s,h,f;for(this.b=1,NEn(this),t=null,0==this.c&&94==this.a?(NEn(this),n?(WEn(),WEn(),s=new Qz(5)):(WEn(),WEn(),Rpn(t=new Qz(4),0,BHn),s=new Qz(4))):(WEn(),WEn(),s=new Qz(4)),r=!0;1!=(f=this.c)&&(0!=f||93!=this.a||r);){if(r=!1,e=this.a,i=!1,10==f)switch(e){case 100:case 68:case 119:case 87:case 115:case 83:kMn(s,this.dm(e)),i=!0;break;case 105:case 73:case 99:case 67:(e=this.um(s,e))<0&&(i=!0);break;case 112:case 80:if(!(h=Cbn(this,e)))throw Lm(new Ry(tSn((DA(),h_n))));kMn(s,h),i=!0;break;default:e=this.cm()}else if(20==f){if((c=e$(this.i,58,this.d))<0)throw Lm(new Ry(tSn((DA(),f_n))));if(a=!0,94==rG(this.i,this.d)&&(++this.d,a=!1),!(o=dZ(Gq(this.i,this.d,c),a,!(512&~this.e))))throw Lm(new Ry(tSn((DA(),b_n))));if(kMn(s,o),i=!0,c+1>=this.j||93!=rG(this.i,c+1))throw Lm(new Ry(tSn((DA(),f_n))));this.d=c+2}if(NEn(this),!i)if(0!=this.c||45!=this.a)Rpn(s,e,e);else{if(NEn(this),1==(f=this.c))throw Lm(new Ry(tSn((DA(),l_n))));0==f&&93==this.a?(Rpn(s,e,e),Rpn(s,45,45)):(u=this.a,10==f&&(u=this.cm()),NEn(this),Rpn(s,e,u))}(this.e&sPn)==sPn&&0==this.c&&44==this.a&&NEn(this)}if(1==this.c)throw Lm(new Ry(tSn((DA(),l_n))));return t&&(zTn(t,s),s=t),Edn(s),GMn(s),this.b=0,NEn(this),s},iSn.fm=function(){var n,t,e,i;for(e=this.em(!1);7!=(i=this.c);){if(n=this.a,(0!=i||45!=n&&38!=n)&&4!=i)throw Lm(new Ry(tSn((DA(),v_n))));if(NEn(this),9!=this.c)throw Lm(new Ry(tSn((DA(),m_n))));if(t=this.em(!1),4==i)kMn(e,t);else if(45==n)zTn(e,t);else{if(38!=n)throw Lm(new Jk("ASSERT"));DTn(e,t)}}return NEn(this),e},iSn.gm=function(){var n,t;return n=this.a-48,WEn(),WEn(),t=new nX(12,null,n),!this.g&&(this.g=new mv),fv(this.g,new mm(n)),NEn(this),t},iSn.hm=function(){return NEn(this),WEn(),Ndt},iSn.im=function(){return NEn(this),WEn(),Adt},iSn.jm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.km=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.lm=function(){return NEn(this),T9()},iSn.mm=function(){return NEn(this),WEn(),Ddt},iSn.nm=function(){return NEn(this),WEn(),Kdt},iSn.om=function(){var n;if(this.d>=this.j||64!=(65504&(n=rG(this.i,this.d++))))throw Lm(new Ry(tSn((DA(),a_n))));return NEn(this),WEn(),WEn(),new FF(0,n-64)},iSn.pm=function(){return NEn(this),function(){var n,t,e,i,r,c;if(WEn(),Gdt)return Gdt;for(kMn(n=new Qz(4),Jjn(JHn,!0)),zTn(n,Jjn("M",!0)),zTn(n,Jjn("C",!0)),c=new Qz(4),i=0;i<11;i++)Rpn(c,i,i);return kMn(t=new Qz(4),Jjn("M",!0)),Rpn(t,4448,4607),Rpn(t,65438,65439),WMn(r=new OA(2),n),WMn(r,Edt),(e=new OA(2)).Jm(KF(c,Jjn("L",!0))),e.Jm(t),e=new zB(r,e=new hQ(3,e)),Gdt=e}()},iSn.qm=function(){return NEn(this),WEn(),Fdt},iSn.rm=function(){var n;return WEn(),WEn(),n=new FF(0,105),NEn(this),n},iSn.sm=function(){return NEn(this),WEn(),xdt},iSn.tm=function(){return NEn(this),WEn(),$dt},iSn.um=function(n,t){return this.cm()},iSn.vm=function(){return NEn(this),WEn(),Sdt},iSn.wm=function(){var n,t,e,i,r;if(this.d+1>=this.j)throw Lm(new Ry(tSn((DA(),i_n))));if(i=-1,t=null,49<=(n=rG(this.i,this.d))&&n<=57){if(i=n-48,!this.g&&(this.g=new mv),fv(this.g,new mm(i)),++this.d,41!=rG(this.i,this.d))throw Lm(new Ry(tSn((DA(),n_n))));++this.d}else switch(63==n&&--this.d,NEn(this),(t=pEn(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));break;default:throw Lm(new Ry(tSn((DA(),r_n))))}if(NEn(this),e=null,2==(r=Rin(this)).e){if(2!=r.Pm())throw Lm(new Ry(tSn((DA(),c_n))));e=r.Lm(1),r=r.Lm(0)}if(7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),WEn(),WEn(),new o0(i,t,r,e)},iSn.xm=function(){return NEn(this),WEn(),Pdt},iSn.ym=function(){var n;if(NEn(this),n=vB(24,Rin(this)),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),n},iSn.zm=function(){var n;if(NEn(this),n=vB(20,Rin(this)),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),n},iSn.Am=function(){var n;if(NEn(this),n=vB(22,Rin(this)),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),n},iSn.Bm=function(){var n,t,e,i,r;for(n=0,e=0,t=-1;this.d=this.j)throw Lm(new Ry(tSn((DA(),t_n))));if(45==t){for(++this.d;this.d=this.j)throw Lm(new Ry(tSn((DA(),t_n))))}if(58==t){if(++this.d,NEn(this),i=MH(Rin(this),n,e),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));NEn(this)}else{if(41!=t)throw Lm(new Ry(tSn((DA(),e_n))));++this.d,NEn(this),i=MH(Rin(this),n,e)}return i},iSn.Cm=function(){var n;if(NEn(this),n=vB(21,Rin(this)),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),n},iSn.Dm=function(){var n;if(NEn(this),n=vB(23,Rin(this)),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),n},iSn.Em=function(){var n,t;if(NEn(this),n=this.f++,t=kB(Rin(this),n),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),t},iSn.Fm=function(){var n;if(NEn(this),n=kB(Rin(this),0),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),n},iSn.Gm=function(n){return NEn(this),5==this.c?(NEn(this),KF(n,(WEn(),WEn(),new hQ(9,n)))):KF(n,(WEn(),WEn(),new hQ(3,n)))},iSn.Hm=function(n){var t;return NEn(this),WEn(),WEn(),t=new OA(2),5==this.c?(NEn(this),WMn(t,Edt),WMn(t,n)):(WMn(t,n),WMn(t,Edt)),t},iSn.Im=function(n){return NEn(this),5==this.c?(NEn(this),WEn(),WEn(),new hQ(9,n)):(WEn(),WEn(),new hQ(3,n))},iSn.a=0,iSn.b=0,iSn.c=0,iSn.d=0,iSn.e=0,iSn.f=1,iSn.g=null,iSn.j=0,EH(_Hn,"RegEx/RegexParser",836),_wn(1947,836,{},vk),iSn.bm=function(n){return!1},iSn.cm=function(){return pmn(this)},iSn.dm=function(n){return akn(n)},iSn.em=function(n){return DEn(this)},iSn.fm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.gm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.hm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.im=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.jm=function(){return NEn(this),akn(67)},iSn.km=function(){return NEn(this),akn(73)},iSn.lm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.mm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.nm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.om=function(){return NEn(this),akn(99)},iSn.pm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.qm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.rm=function(){return NEn(this),akn(105)},iSn.sm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.tm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.um=function(n,t){return kMn(n,akn(t)),-1},iSn.vm=function(){return NEn(this),WEn(),WEn(),new FF(0,94)},iSn.wm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.xm=function(){return NEn(this),WEn(),WEn(),new FF(0,36)},iSn.ym=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.zm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.Am=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.Bm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.Cm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.Dm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.Em=function(){var n;if(NEn(this),n=kB(Rin(this),0),7!=this.c)throw Lm(new Ry(tSn((DA(),n_n))));return NEn(this),n},iSn.Fm=function(){throw Lm(new Ry(tSn((DA(),S_n))))},iSn.Gm=function(n){return NEn(this),KF(n,(WEn(),WEn(),new hQ(3,n)))},iSn.Hm=function(n){var t;return NEn(this),WEn(),WEn(),WMn(t=new OA(2),n),WMn(t,Edt),t},iSn.Im=function(n){return NEn(this),WEn(),WEn(),new hQ(3,n)};var gdt=null,pdt=null;EH(_Hn,"RegEx/ParserForXMLSchema",1947),_wn(122,1,nUn,vm),iSn.Jm=function(n){throw Lm(new Jk("Not supported."))},iSn.Km=function(){return-1},iSn.Lm=function(n){return null},iSn.Mm=function(){return null},iSn.Nm=function(n){},iSn.Om=function(n){},iSn.Pm=function(){return 0},iSn.Ib=function(){return this.Qm(0)},iSn.Qm=function(n){return 11==this.e?".":""},iSn.e=0;var mdt,vdt,kdt,ydt,Mdt,Tdt,jdt,Edt,Sdt,Pdt,Cdt,Idt,Odt,Adt,Ldt,Ndt,$dt,Ddt,xdt,Rdt,Kdt,Fdt,_dt,Bdt,Hdt=null,Udt=null,Gdt=null,qdt=EH(_Hn,"RegEx/Token",122);_wn(138,122,{3:1,138:1,122:1},Qz),iSn.Qm=function(n){var t,e,i;if(4==this.e)if(this==jdt)e=".";else if(this==Tdt)e="\\d";else if(this==Rdt)e="\\w";else if(this==Ldt)e="\\s";else{for((i=new Qy).a+="[",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?tO(i,Iyn(this.b[t])):(tO(i,Iyn(this.b[t])),i.a+="-",tO(i,Iyn(this.b[t+1])));i.a+="]",e=i.a}else if(this==Cdt)e="\\D";else if(this==Odt)e="\\W";else if(this==Idt)e="\\S";else{for((i=new Qy).a+="[^",t=0;t0&&(i.a+=","),this.b[t]===this.b[t+1]?tO(i,Iyn(this.b[t])):(tO(i,Iyn(this.b[t])),i.a+="-",tO(i,Iyn(this.b[t+1])));i.a+="]",e=i.a}return e},iSn.a=!1,iSn.c=!1,EH(_Hn,"RegEx/RangeToken",138),_wn(592,1,{592:1},mm),iSn.a=0,EH(_Hn,"RegEx/RegexParser/ReferencePosition",592),_wn(591,1,{3:1,591:1},VT),iSn.Fb=function(n){var t;return null!=n&&!!sL(n,591)&&(t=JR(n,591),Cx(this.b,t.b)&&this.a==t.a)},iSn.Hb=function(){return v9(this.b+"/"+tpn(this.a))},iSn.Ib=function(){return this.c.Qm(this.a)},iSn.a=0,EH(_Hn,"RegEx/RegularExpression",591),_wn(228,122,nUn,FF),iSn.Km=function(){return this.a},iSn.Qm=function(n){var t,e;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:e="\\"+XD(this.a&OPn);break;case 12:e="\\f";break;case 10:e="\\n";break;case 13:e="\\r";break;case 9:e="\\t";break;case 27:e="\\e";break;default:e=this.a>=MCn?"\\v"+Gq(t="0"+(this.a>>>0).toString(16),t.length-6,t.length):""+XD(this.a&OPn)}break;case 8:e=this==Sdt||this==Pdt?""+XD(this.a&OPn):"\\"+XD(this.a&OPn);break;default:e=null}return e},iSn.a=0,EH(_Hn,"RegEx/Token/CharToken",228),_wn(318,122,nUn,hQ),iSn.Lm=function(n){return this.a},iSn.Nm=function(n){this.b=n},iSn.Om=function(n){this.c=n},iSn.Pm=function(){return 1},iSn.Qm=function(n){var t;if(3==this.e)if(this.c<0&&this.b<0)t=this.a.Qm(n)+"*";else if(this.c==this.b)t=this.a.Qm(n)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)t=this.a.Qm(n)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw Lm(new Jk("Token#toString(): CLOSURE "+this.c+mSn+this.b));t=this.a.Qm(n)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)t=this.a.Qm(n)+"*?";else if(this.c==this.b)t=this.a.Qm(n)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)t=this.a.Qm(n)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw Lm(new Jk("Token#toString(): NONGREEDYCLOSURE "+this.c+mSn+this.b));t=this.a.Qm(n)+"{"+this.c+",}?"}return t},iSn.b=0,iSn.c=0,EH(_Hn,"RegEx/Token/ClosureToken",318),_wn(837,122,nUn,zB),iSn.Lm=function(n){return 0==n?this.a:this.b},iSn.Pm=function(){return 2},iSn.Qm=function(n){return 3==this.b.e&&this.b.Lm(0)==this.a?this.a.Qm(n)+"+":9==this.b.e&&this.b.Lm(0)==this.a?this.a.Qm(n)+"+?":this.a.Qm(n)+""+this.b.Qm(n)},EH(_Hn,"RegEx/Token/ConcatToken",837),_wn(1945,122,nUn,o0),iSn.Lm=function(n){if(0==n)return this.d;if(1==n)return this.b;throw Lm(new Jk("Internal Error: "+n))},iSn.Pm=function(){return this.b?2:1},iSn.Qm=function(n){var t;return t=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?t+=this.d+"|"+this.b+")":t+=this.d+")",t},iSn.c=0,EH(_Hn,"RegEx/Token/ConditionToken",1945),_wn(1946,122,nUn,Wz),iSn.Lm=function(n){return this.b},iSn.Pm=function(){return 1},iSn.Qm=function(n){return"(?"+(0==this.a?"":tpn(this.a))+(0==this.c?"":tpn(this.c))+":"+this.b.Qm(n)+")"},iSn.a=0,iSn.c=0,EH(_Hn,"RegEx/Token/ModifierToken",1946),_wn(838,122,nUn,eU),iSn.Lm=function(n){return this.a},iSn.Pm=function(){return 1},iSn.Qm=function(n){var t;switch(t=null,this.e){case 6:t=0==this.b?"(?:"+this.a.Qm(n)+")":"("+this.a.Qm(n)+")";break;case 20:t="(?="+this.a.Qm(n)+")";break;case 21:t="(?!"+this.a.Qm(n)+")";break;case 22:t="(?<="+this.a.Qm(n)+")";break;case 23:t="(?"+this.a.Qm(n)+")"}return t},iSn.b=0,EH(_Hn,"RegEx/Token/ParenToken",838),_wn(530,122,{3:1,122:1,530:1},nX),iSn.Mm=function(){return this.b},iSn.Qm=function(n){return 12==this.e?"\\"+this.a:function(n){var t,e,i,r;for(r=n.length,t=null,i=0;i=0?(t||(t=new Jy,i>0&&tO(t,(aZ(0,i,n.length),n.substr(0,i)))),t.a+="\\",YH(t,e&OPn)):t&&YH(t,e&OPn);return t?t.a:n}(this.b)},iSn.a=0,EH(_Hn,"RegEx/Token/StringToken",530),_wn(477,122,nUn,OA),iSn.Jm=function(n){WMn(this,n)},iSn.Lm=function(n){return JR(hU(this.a,n),122)},iSn.Pm=function(){return this.a?this.a.a.c.length:0},iSn.Qm=function(n){var t,e,i,r,c;if(1==this.e){if(2==this.a.a.c.length)t=JR(hU(this.a,0),122),r=3==(e=JR(hU(this.a,1),122)).e&&e.Lm(0)==t?t.Qm(n)+"+":9==e.e&&e.Lm(0)==t?t.Qm(n)+"+?":t.Qm(n)+""+e.Qm(n);else{for(c=new Qy,i=0;i=n.c.b:n.a<=n.c.b))throw Lm(new cv);return t=n.a,n.a+=n.c.c,++n.b,ann(t)}(this)},iSn.Ub=function(){return function(n){if(n.b<=0)throw Lm(new cv);return--n.b,n.a-=n.c.c,ann(n.a)}(this)},iSn.Wb=function(n){JR(n,17),function(){throw Lm(new Ly(cUn))}()},iSn.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},iSn.Sb=function(){return this.b>0},iSn.Tb=function(){return this.b},iSn.Vb=function(){return this.b-1},iSn.Qb=function(){throw Lm(new Ly(aUn))},iSn.a=0,iSn.b=0,EH(iUn,"ExclusiveRange/RangeIterator",258);var Xdt,zdt,Vdt=SU(oBn,"C"),Wdt=SU(hBn,"I"),Qdt=SU(hSn,"Z"),Jdt=SU(fBn,"J"),Ydt=SU(aBn,"B"),Zdt=SU(uBn,"D"),ngt=SU(sBn,"F"),tgt=SU(lBn,"S"),egt=nF("org.eclipse.elk.core.labels","ILabelManager"),igt=nF(yFn,"DiagnosticChain"),rgt=nF(qBn,"ResourceSet"),cgt=EH(yFn,"InvocationTargetException",null),agt=(Wy(),function(n){return Wy(),function(){return uW(n,this,arguments)}}),ogt=ogt=function(n,t,e,i){YT();var r=cSn;function c(){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=Object.assign({},t),r=!1;try{n.resolve("web-worker"),r=!0}catch(n){}if(t.workerUrl)if(r){var c=n("web-worker");i.workerFactory=function(n){return new c(n)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!i.workerFactory){var a=n("./elk-worker.min.js").Worker;i.workerFactory=function(n){return new a(n)}}return function(n,t){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?n:t}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,i))}return function(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(n,t):n.__proto__=t)}(e,t),e}(n("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=i,i.default=i},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(n,t,e){t.exports=Worker},{}]},{},[3])(3)},81318:(n,t,e)=>{"use strict";e.d(t,{diagram:()=>m});var i=e(31591),r=e(84017),c=e(75398),a=e(59659),o=e(88950);e(92329),e(88641),e(31998);const u=new o;let s={};const h={};let f={};const l=(n,t,e)=>{const i={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return i.TD=i.TB,i[e][t][n]},b=(n,t,e)=>{if(a.l.info("getNextPort",{node:n,edgeDirection:t,graphDirection:e}),!s[n])switch(e){case"TB":case"TD":s[n]={inPosition:"north",outPosition:"south"};break;case"BT":s[n]={inPosition:"south",outPosition:"north"};break;case"RL":s[n]={inPosition:"east",outPosition:"west"};break;case"LR":s[n]={inPosition:"west",outPosition:"east"}}const i="in"===t?s[n].inPosition:s[n].outPosition;return"in"===t?s[n].inPosition=l(s[n].inPosition,t,e):s[n].outPosition=l(s[n].outPosition,t,e),i},w=function(n,t,e,i,a,o){const u=function(n,t,e){const i=((n,t,e)=>{const{parentById:i}=e,r=new Set;let c=n;for(;c;){if(r.add(c),c===t)return c;c=i[c]}for(c=t;c;){if(r.has(c))return c;c=i[c]}return"root"})(n,t,e);if(void 0===i||"root"===i)return{x:0,y:0};const r=f[i].offset;return{x:r.posX,y:r.posY}}(t.sourceId,t.targetId,a),s=t.sections[0].startPoint,h=t.sections[0].endPoint,l=(t.sections[0].bendPoints?t.sections[0].bendPoints:[]).map((n=>[n.x+u.x,n.y+u.y])),b=[[s.x+u.x,s.y+u.y],...l,[h.x+u.x,h.y+u.y]],{x:w,y:d}=(0,c.k)(t.edgeData),g=(0,r.n8j)().x(w).y(d).curve(r.lUB),p=n.insert("path").attr("d",g(b)).attr("class","path "+e.classes).attr("fill","none"),m=n.insert("g").attr("class","edgeLabel"),v=(0,r.Ltv)(m.node().appendChild(t.labelEl)),k=v.node().firstChild.getBoundingClientRect();v.attr("width",k.width),v.attr("height",k.height),m.attr("transform",`translate(${t.labels[0].x+u.x}, ${t.labels[0].y+u.y})`),function(n,t,e,i,r){let a="";i&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),(0,c.m)(n,t,a,r,e)}(p,e,i.type,i.arrowMarkerAbsolute,o)},d=(n,t)=>{n.forEach((n=>{n.children||(n.children=[]);const e=t.childrenById[n.id];e&&e.forEach((t=>{n.children.push(f[t])})),d(n.children,t)}))},g=(n,t,e,i,r,c,o)=>{e.forEach((function(e){if(e)if(f[e.id].offset={posX:e.x+n,posY:e.y+t,x:n,y:t,depth:o,width:e.width,height:e.height},"group"===e.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+o%5+" node").attr("x",e.x+n).attr("y",e.y+t).attr("width",e.width).attr("height",e.height);const c=i.insert("g").attr("class","label"),u=(0,a.F)().flowchart.htmlLabels?e.labelData.width/2:0;c.attr("transform",`translate(${e.labels[0].x+n+e.x+u}, ${e.labels[0].y+t+e.y+3})`),c.node().appendChild(e.labelData.labelNode),a.l.info("Id (UGH)= ",e.type,e.labels)}else a.l.info("Id (UGH)= ",e.id),e.el.attr("transform",`translate(${e.x+n+e.width/2}, ${e.y+t+e.height/2})`)})),e.forEach((function(e){e&&"group"===e.type&&g(n+e.x,t+e.y,e.children,i,r,c,o+1)}))},p={getClasses:function(n,t){return a.l.info("Extracting classes"),t.db.getClasses()},draw:async function(n,t,e,i){var o;i.db.clear(),f={},s={},i.db.setGen("gen-2"),i.parser.parse(n);const l=(0,r.Ltv)("body").append("div").attr("style","height:400px").attr("id","cy");let p={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(a.l.info("Drawing flowchart using v3 renderer",u),i.db.getDirection()){case"BT":p.layoutOptions["elk.direction"]="UP";break;case"TB":p.layoutOptions["elk.direction"]="DOWN";break;case"LR":p.layoutOptions["elk.direction"]="RIGHT";break;case"RL":p.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:m,flowchart:v}=(0,a.F)();let k;"sandbox"===m&&(k=(0,r.Ltv)("#i"+t));const y="sandbox"===m?(0,r.Ltv)(k.nodes()[0].contentDocument.body):(0,r.Ltv)("body"),M="sandbox"===m?k.nodes()[0].contentDocument:document,T=y.select(`[id="${t}"]`);(0,c.a)(T,["point","circle","cross"],i.type,t);const j=i.db.getVertices();let E;const S=i.db.getSubGraphs();a.l.info("Subgraphs - ",S);for(let n=S.length-1;n>=0;n--)E=S[n],i.db.addVertex(E.id,{text:E.title,type:E.labelType},"group",void 0,E.classes,E.dir);const P=T.insert("g").attr("class","subgraphs"),C=function(n){const t={parentById:{},childrenById:{}},e=n.getSubGraphs();return a.l.info("Subgraphs - ",e),e.forEach((function(n){n.nodes.forEach((function(e){t.parentById[e]=n.id,void 0===t.childrenById[n.id]&&(t.childrenById[n.id]=[]),t.childrenById[n.id].push(e)}))})),e.forEach((function(n){n.id,void 0!==t.parentById[n.id]&&t.parentById[n.id]})),t}(i.db);p=await async function(n,t,e,i,r,o,u){const s=e.select(`[id="${t}"]`).insert("g").attr("class","nodes"),h=Object.keys(n);return await Promise.all(h.map((async function(t){const e=n[t];let u="default";e.classes.length>0&&(u=e.classes.join(" ")),u+=" flowchart-label";const h=(0,a.k)(e.styles);let l=void 0!==e.text?e.text:e.id;const b={width:0,height:0},w=[{id:e.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:e.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:e.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:e.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let d=0,g="",p={};switch(e.type){case"round":d=5,g="rect";break;case"square":case"group":default:g="rect";break;case"diamond":g="question",p={portConstraints:"FIXED_SIDE"};break;case"hexagon":g="hexagon";break;case"odd":case"odd_right":g="rect_left_inv_arrow";break;case"lean_right":g="lean_right";break;case"lean_left":g="lean_left";break;case"trapezoid":g="trapezoid";break;case"inv_trapezoid":g="inv_trapezoid";break;case"circle":g="circle";break;case"ellipse":g="ellipse";break;case"stadium":g="stadium";break;case"subroutine":g="subroutine";break;case"cylinder":g="cylinder";break;case"doublecircle":g="doublecircle"}const m={labelStyle:h.labelStyle,shape:g,labelText:l,labelType:e.labelType,rx:d,ry:d,class:u,style:h.style,id:e.id,link:e.link,linkTarget:e.linkTarget,tooltip:r.db.getTooltip(e.id)||"",domId:r.db.lookUpDomId(e.id),haveCallback:e.haveCallback,width:"group"===e.type?500:void 0,dir:e.dir,type:e.type,props:e.props,padding:(0,a.F)().flowchart.padding};let v,k;if("group"!==m.type)k=await(0,c.e)(s,m,e.dir),v=k.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:n,bbox:t}=await(0,c.l)(s,m,void 0,!0);b.width=t.width,b.wrappingWidth=(0,a.F)().flowchart.wrappingWidth,b.height=t.height,b.labelNode=n.node(),m.labelData=b}const y={id:e.id,ports:"diamond"===e.type?w:[],layoutOptions:p,labelText:l,labelData:b,domId:r.db.lookUpDomId(e.id),width:null==v?void 0:v.width,height:null==v?void 0:v.height,type:e.type,el:k,parent:o.parentById[e.id]};f[m.id]=y}))),u}(j,t,y,M,i,C,p);const I=T.insert("g").attr("class","edges edgePath"),O=i.db.getEdges();p=function(n,t,e,i){a.l.info("abc78 edges = ",n);const o=i.insert("g").attr("class","edgeLabels");let u,s,l={},w=t.db.getDirection();if(void 0!==n.defaultStyle){const t=(0,a.k)(n.defaultStyle);u=t.style,s=t.labelStyle}return n.forEach((function(t){const i="L-"+t.start+"-"+t.end;void 0===l[i]?(l[i]=0,a.l.info("abc78 new entry",i,l[i])):(l[i]++,a.l.info("abc78 new entry",i,l[i]));let d=i+"-"+l[i];a.l.info("abc78 new link id to be used is",i,d,l[i]);const g="LS-"+t.start,p="LE-"+t.end,m={style:"",labelStyle:""};switch(m.minlen=t.length||1,"arrow_open"===t.type?m.arrowhead="none":m.arrowhead="normal",m.arrowTypeStart="arrow_open",m.arrowTypeEnd="arrow_open",t.type){case"double_arrow_cross":m.arrowTypeStart="arrow_cross";case"arrow_cross":m.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":m.arrowTypeStart="arrow_point";case"arrow_point":m.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":m.arrowTypeStart="arrow_circle";case"arrow_circle":m.arrowTypeEnd="arrow_circle"}let v="",k="";switch(t.stroke){case"normal":v="fill:none;",void 0!==u&&(v=u),void 0!==s&&(k=s),m.thickness="normal",m.pattern="solid";break;case"dotted":m.thickness="normal",m.pattern="dotted",m.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":m.thickness="thick",m.pattern="solid",m.style="stroke-width: 3.5px;fill:none;"}if(void 0!==t.style){const n=(0,a.k)(t.style);v=n.style,k=n.labelStyle}m.style=m.style+=v,m.labelStyle=m.labelStyle+=k,void 0!==t.interpolate?m.curve=(0,a.n)(t.interpolate,r.lUB):void 0!==n.defaultInterpolate?m.curve=(0,a.n)(n.defaultInterpolate,r.lUB):m.curve=(0,a.n)(h.curve,r.lUB),void 0===t.text?void 0!==t.style&&(m.arrowheadStyle="fill: #333"):(m.arrowheadStyle="fill: #333",m.labelpos="c"),m.labelType=t.labelType,m.label=t.text.replace(a.e.lineBreakRegex,"\n"),void 0===t.style&&(m.style=m.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),m.labelStyle=m.labelStyle.replace("color:","fill:"),m.id=d,m.classes="flowchart-link "+g+" "+p;const y=(0,c.f)(o,m),{source:M,target:T,sourceId:j,targetId:E}=((n,t)=>{let e=n.start,i=n.end;const r=e,c=i,a=f[e],o=f[i];return a&&o?("diamond"===a.type&&(e=`${e}-${b(e,"out",t)}`),"diamond"===o.type&&(i=`${i}-${b(i,"in",t)}`),{source:e,target:i,sourceId:r,targetId:c}):{source:e,target:i}})(t,w);a.l.debug("abc78 source and target",M,T),e.edges.push({id:"e"+t.start+t.end,sources:[M],targets:[T],sourceId:j,targetId:E,labelEl:y,labels:[{width:m.width,height:m.height,orgWidth:m.width,orgHeight:m.height,text:m.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:m})})),e}(O,i,p,T),Object.keys(f).forEach((n=>{const t=f[n];t.parent||p.children.push(t),void 0!==C.childrenById[n]&&(t.labels=[{text:t.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:t.labelData.width,height:t.labelData.height}],delete t.x,delete t.y,delete t.width,delete t.height)})),d(p.children,C),a.l.info("after layout",JSON.stringify(p,null,2));const A=await u.layout(p);g(0,0,A.children,T,P,i,0),a.l.info("after layout",A),null==(o=A.edges)||o.map((n=>{w(I,n,n.edgeData,i,C,t)})),(0,a.o)({},T,v.diagramPadding,v.useMaxWidth),l.remove()}},m={db:i.d,renderer:p,parser:i.p,styles:n=>`.label {\n font-family: ${n.fontFamily};\n color: ${n.nodeTextColor||n.textColor};\n }\n .cluster-label text {\n fill: ${n.titleColor};\n }\n .cluster-label span {\n color: ${n.titleColor};\n }\n\n .label text,span {\n fill: ${n.nodeTextColor||n.textColor};\n color: ${n.nodeTextColor||n.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${n.mainBkg};\n stroke: ${n.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${n.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${n.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${n.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${n.edgeLabelBackground};\n rect {\n opacity: 0.85;\n background-color: ${n.edgeLabelBackground};\n fill: ${n.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${n.clusterBkg};\n stroke: ${n.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${n.titleColor};\n }\n\n .cluster span {\n color: ${n.titleColor};\n }\n /* .cluster div {\n color: ${n.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${n.fontFamily};\n font-size: 12px;\n background: ${n.tertiaryColor};\n border: 1px solid ${n.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${n.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n\n .flowchart-label text {\n text-anchor: middle;\n }\n\n ${(n=>{let t="";for(let e=0;e<5;e++)t+=`\n .subgraph-lvl-${e} {\n fill: ${n[`surface${e}`]};\n stroke: ${n[`surfacePeer${e}`]};\n }\n `;return t})(n)}\n`}}}]); \ No newline at end of file diff --git a/assets/chunk.84323f09788757e7cd30.js.br b/assets/chunk.84323f09788757e7cd30.js.br new file mode 100644 index 00000000..55f68347 Binary files /dev/null and b/assets/chunk.84323f09788757e7cd30.js.br differ diff --git a/assets/chunk.84323f09788757e7cd30.js.gz b/assets/chunk.84323f09788757e7cd30.js.gz new file mode 100644 index 00000000..68d6527a Binary files /dev/null and b/assets/chunk.84323f09788757e7cd30.js.gz differ diff --git a/assets/chunk.88b26b2cb5a63f248ac7.js b/assets/chunk.88b26b2cb5a63f248ac7.js new file mode 100644 index 00000000..3b7cbf28 --- /dev/null +++ b/assets/chunk.88b26b2cb5a63f248ac7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[942],{91942:(t,e,s)=>{s.d(e,{D:()=>l,S:()=>c,a:()=>h,b:()=>a,c:()=>o,d:()=>B,p:()=>r,s:()=>P});var i=s(59659),n=function(){var t=function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},e=[1,2],s=[1,3],i=[1,4],n=[2,4],r=[1,9],o=[1,11],a=[1,15],c=[1,16],l=[1,17],h=[1,18],u=[1,30],d=[1,19],p=[1,20],y=[1,21],f=[1,22],m=[1,23],g=[1,25],S=[1,26],_=[1,27],k=[1,28],T=[1,29],b=[1,32],E=[1,33],x=[1,34],C=[1,35],$=[1,31],v=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],D=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],A=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],L={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"--\x3e":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"--\x3e",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(t,e,s,i,n,r,o){var a=r.length-1;switch(n){case 3:return i.setRootDoc(r[a]),r[a];case 4:this.$=[];break;case 5:"nl"!=r[a]&&(r[a-1].push(r[a]),this.$=r[a-1]);break;case 6:case 7:case 11:this.$=r[a];break;case 8:this.$="nl";break;case 12:const t=r[a-1];t.description=i.trimColon(r[a]),this.$=t;break;case 13:this.$={stmt:"relation",state1:r[a-2],state2:r[a]};break;case 14:const e=i.trimColon(r[a]);this.$={stmt:"relation",state1:r[a-3],state2:r[a-1],description:e};break;case 18:this.$={stmt:"state",id:r[a-3],type:"default",description:"",doc:r[a-1]};break;case 19:var c=r[a],l=r[a-2].trim();if(r[a].match(":")){var h=r[a].split(":");c=h[0],l=[l,h[1]]}this.$={stmt:"state",id:c,type:"default",description:l};break;case 20:this.$={stmt:"state",id:r[a-3],type:"default",description:r[a-5],doc:r[a-1]};break;case 21:this.$={stmt:"state",id:r[a],type:"fork"};break;case 22:this.$={stmt:"state",id:r[a],type:"join"};break;case 23:this.$={stmt:"state",id:r[a],type:"choice"};break;case 24:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:r[a-1].trim(),note:{position:r[a-2].trim(),text:r[a].trim()}};break;case 28:this.$=r[a].trim(),i.setAccTitle(this.$);break;case 29:case 30:this.$=r[a].trim(),i.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:r[a-1].trim(),classes:r[a].trim()};break;case 33:this.$={stmt:"applyClass",id:r[a-1].trim(),styleClass:r[a].trim()};break;case 34:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:r[a].trim(),type:"default",description:""};break;case 42:case 43:this.$={stmt:"state",id:r[a-2].trim(),classes:[r[a].trim()],type:"default",description:""}}},table:[{3:1,4:e,5:s,6:i},{1:[3]},{3:5,4:e,5:s,6:i},{3:6,4:e,5:s,6:i},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],n,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:r,5:o,8:8,9:10,10:12,11:13,12:14,15:a,16:c,18:l,21:h,23:u,24:d,25:p,26:y,27:f,28:m,31:24,32:g,34:S,36:_,37:k,41:T,44:b,45:E,46:x,47:C,50:$},t(v,[2,5]),{9:36,10:12,11:13,12:14,15:a,16:c,18:l,21:h,23:u,24:d,25:p,26:y,27:f,28:m,31:24,32:g,34:S,36:_,37:k,41:T,44:b,45:E,46:x,47:C,50:$},t(v,[2,7]),t(v,[2,8]),t(v,[2,9]),t(v,[2,10]),t(v,[2,11],{13:[1,37],14:[1,38]}),t(v,[2,15]),{17:[1,39]},t(v,[2,17],{19:[1,40]}),{22:[1,41]},t(v,[2,21]),t(v,[2,22]),t(v,[2,23]),t(v,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(v,[2,27]),{33:[1,46]},{35:[1,47]},t(v,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(D,[2,40],{51:[1,51]}),t(D,[2,41],{51:[1,52]}),t(v,[2,34]),t(v,[2,35]),t(v,[2,36]),t(v,[2,37]),t(v,[2,6]),t(v,[2,12]),{12:53,23:u,50:$},t(v,[2,16]),t(A,n,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(v,[2,28]),t(v,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(v,[2,13],{13:[1,63]}),{4:r,5:o,8:8,9:10,10:12,11:13,12:14,15:a,16:c,18:l,20:[1,64],21:h,23:u,24:d,25:p,26:y,27:f,28:m,31:24,32:g,34:S,36:_,37:k,41:T,44:b,45:E,46:x,47:C,50:$},t(v,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(v,[2,31]),t(v,[2,32]),t(v,[2,33]),t(D,[2,42]),t(D,[2,43]),t(v,[2,14]),t(v,[2,18]),t(A,n,{7:68}),t(v,[2,25]),t(v,[2,26]),{4:r,5:o,8:8,9:10,10:12,11:13,12:14,15:a,16:c,18:l,20:[1,69],21:h,23:u,24:d,25:p,26:y,27:f,28:m,31:24,32:g,34:S,36:_,37:k,41:T,44:b,45:E,46:x,47:C,50:$},t(v,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(t,e){if(!e.recoverable){var s=new Error(t);throw s.hash=e,s}this.trace(t)},parse:function(t){var e=[0],s=[],i=[null],n=[],r=this.table,o="",a=0,c=0,l=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;n.push(p);var y=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,m,g,S,_,k,T,b,E,x={};;){if(m=e[e.length-1],this.defaultActions[m]?g=this.defaultActions[m]:(null==f&&(E=void 0,"number"!=typeof(E=s.pop()||h.lex()||1)&&(E instanceof Array&&(E=(s=E).pop()),E=this.symbols_[E]||E),f=E),g=r[m]&&r[m][f]),void 0===g||!g.length||!g[0]){var C;for(_ in b=[],r[m])this.terminals_[_]&&_>2&&b.push("'"+this.terminals_[_]+"'");C=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(C,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:b})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+f);switch(g[0]){case 1:e.push(f),i.push(h.yytext),n.push(h.yylloc),e.push(g[1]),f=null,c=h.yyleng,o=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(k=this.productions_[g[1]][1],x.$=i[i.length-k],x._$={first_line:n[n.length-(k||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(k||1)].first_column,last_column:n[n.length-1].last_column},y&&(x._$.range=[n[n.length-(k||1)].range[0],n[n.length-1].range[1]]),void 0!==(S=this.performAction.apply(x,[o,c,a,u.yy,g[1],i,n].concat(l))))return S;k&&(e=e.slice(0,-1*k*2),i=i.slice(0,-1*k),n=n.slice(0,-1*k)),e.push(this.productions_[g[1]][0]),i.push(x.$),n.push(x._$),T=r[e[e.length-2]][e[e.length-1]],e.push(T);break;case 3:return!0}}return!0}},I={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var s,i,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,s,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;re[0].length)){if(e=s,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,n[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,n[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,s,i){switch(s){case 0:return 40;case 1:case 39:return 44;case 2:case 40:return 45;case 3:case 41:return 46;case 4:case 42:return 47;case 5:case 6:case 8:case 9:case 10:case 11:case 51:case 53:case 59:break;case 7:case 74:return 5;case 12:case 29:return this.pushState("SCALE"),16;case 13:case 30:return 17;case 14:case 20:case 31:case 46:case 49:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 32:this.pushState("STATE");break;case 33:case 36:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),24;case 34:case 37:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 35:case 38:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),26;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:case 61:return this.popState(),"ID";case 47:return"STATE_DESCR";case 48:return 18;case 50:return this.popState(),this.pushState("struct"),19;case 52:return this.popState(),20;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 60:return"NOTE_TEXT";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),e.yytext=e.yytext.substr(2).trim(),30;case 64:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),30;case 65:case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return e.yytext=e.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}};function O(){this.yy={}}return L.lexer=I,O.prototype=L,L.Parser=O,new O}();n.parser=n;const r=n,o="TB",a="state",c="relation",l="default",h="divider",u="[*]",d="start",p=u,y="color",f="fill";let m="LR",g=[],S={},_={root:{relations:[],states:{},documents:{}}},k=_.root,T=0,b=0;const E=t=>JSON.parse(JSON.stringify(t)),x=(t,e,s)=>{if(e.stmt===c)x(t,e.state1,!0),x(t,e.state2,!1);else if(e.stmt===a&&("[*]"===e.id?(e.id=s?t.id+"_start":t.id+"_end",e.start=s):e.id=e.id.trim()),e.doc){const t=[];let s,n=[];for(s=0;s0&&n.length>0){const s={stmt:a,id:(0,i.I)(),type:"divider",doc:E(n)};t.push(E(s)),e.doc=t}e.doc.forEach((t=>x(e,t,!0)))}},C=function(t,e=l,s=null,n=null,r=null,o=null,a=null,c=null){const h=null==t?void 0:t.trim();void 0===k.states[h]?(i.l.info("Adding state ",h,n),k.states[h]={id:h,descriptions:[],type:e,doc:s,note:r,classes:[],styles:[],textStyles:[]}):(k.states[h].doc||(k.states[h].doc=s),k.states[h].type||(k.states[h].type=e)),n&&(i.l.info("Setting state description",h,n),"string"==typeof n&&I(h,n.trim()),"object"==typeof n&&n.forEach((t=>I(h,t.trim())))),r&&(k.states[h].note=r,k.states[h].note.text=i.e.sanitizeText(k.states[h].note.text,(0,i.c)())),o&&(i.l.info("Setting state classes",h,o),("string"==typeof o?[o]:o).forEach((t=>N(h,t.trim())))),a&&(i.l.info("Setting state styles",h,a),("string"==typeof a?[a]:a).forEach((t=>R(h,t.trim())))),c&&(i.l.info("Setting state styles",h,a),("string"==typeof c?[c]:c).forEach((t=>w(h,t.trim()))))},$=function(t){_={root:{relations:[],states:{},documents:{}}},k=_.root,T=0,S={},t||(0,i.v)()},v=function(t){return k.states[t]};function D(t=""){let e=t;return t===u&&(T++,e=`${d}${T}`),e}function A(t="",e=l){return t===u?d:e}const L=function(t,e,s){if("object"==typeof t)!function(t,e,s){let n=D(t.id.trim()),r=A(t.id.trim(),t.type),o=D(e.id.trim()),a=A(e.id.trim(),e.type);C(n,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),C(o,a,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),k.relations.push({id1:n,id2:o,relationTitle:i.e.sanitizeText(s,(0,i.c)())})}(t,e,s);else{const n=D(t.trim()),r=A(t),o=function(t=""){let e=t;return t===p&&(T++,e=`end${T}`),e}(e.trim()),a=function(t="",e=l){return t===p?"end":e}(e);C(n,r),C(o,a),k.relations.push({id1:n,id2:o,title:i.e.sanitizeText(s,(0,i.c)())})}},I=function(t,e){const s=k.states[t],n=e.startsWith(":")?e.replace(":","").trim():e;s.descriptions.push(i.e.sanitizeText(n,(0,i.c)()))},O=function(t,e=""){void 0===S[t]&&(S[t]={id:t,styles:[],textStyles:[]});const s=S[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(y)){const t=e.replace(f,"bgFill").replace(y,f);s.textStyles.push(t)}s.styles.push(e)}))},N=function(t,e){t.split(",").forEach((function(t){let s=v(t);if(void 0===s){const e=t.trim();C(e),s=v(e)}s.classes.push(e)}))},R=function(t,e){const s=v(t);void 0!==s&&s.textStyles.push(e)},w=function(t,e){const s=v(t);void 0!==s&&s.textStyles.push(e)},B={getConfig:()=>(0,i.c)().state,addState:C,clear:$,getState:v,getStates:function(){return k.states},getRelations:function(){return k.relations},getClasses:function(){return S},getDirection:()=>m,addRelation:L,getDividerId:()=>(b++,"divider-id-"+b),setDirection:t=>{m=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){i.l.info("Documents = ",_)},getRootDoc:()=>g,setRootDoc:t=>{i.l.info("Setting root doc",t),g=t},getRootDocV2:()=>(x({id:"root"},{id:"root",doc:g},!0),{id:"root",doc:g}),extract:t=>{let e;e=t.doc?t.doc:t,i.l.info(e),$(!0),i.l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case a:C(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case c:L(t.state1,t.state2,t.description);break;case"classDef":O(t.id.trim(),t.classes);break;case"applyClass":N(t.id.trim(),t.styleClass)}}))},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,addStyleClass:O,setCssClass:N,addDescription:I,setDiagramTitle:i.q,getDiagramTitle:i.t},P=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`}}]); \ No newline at end of file diff --git a/assets/chunk.88b26b2cb5a63f248ac7.js.br b/assets/chunk.88b26b2cb5a63f248ac7.js.br new file mode 100644 index 00000000..7b0a430c Binary files /dev/null and b/assets/chunk.88b26b2cb5a63f248ac7.js.br differ diff --git a/assets/chunk.88b26b2cb5a63f248ac7.js.gz b/assets/chunk.88b26b2cb5a63f248ac7.js.gz new file mode 100644 index 00000000..9e4fd46d Binary files /dev/null and b/assets/chunk.88b26b2cb5a63f248ac7.js.gz differ diff --git a/assets/chunk.8d34a21b0b442207f356.js b/assets/chunk.8d34a21b0b442207f356.js new file mode 100644 index 00000000..17548862 --- /dev/null +++ b/assets/chunk.8d34a21b0b442207f356.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[411],{5411:(t,e,n)=>{n.d(e,{diagram:()=>A});var i=n(59659),s=n(84017),r=n(18278),a=(n(92329),n(88641),n(31998),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,11,12,14,16,17,18],n=[1,9],i=[1,10],s=[1,11],r=[1,12],a=[1,13],o=[1,14],l={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(t,e,n,i,s,r,a){var o=r.length-1;switch(s){case 1:return r[o-1];case 2:case 6:case 7:this.$=[];break;case 3:r[o-1].push(r[o]),this.$=r[o-1];break;case 4:case 5:this.$=r[o];break;case 8:i.setDiagramTitle(r[o].substr(6)),this.$=r[o].substr(6);break;case 9:this.$=r[o].trim(),i.setAccTitle(this.$);break;case 10:case 11:this.$=r[o].trim(),i.setAccDescription(this.$);break;case 12:i.addSection(r[o].substr(8)),this.$=r[o].substr(8);break;case 13:i.addTask(r[o-1],r[o]),this.$="task"}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:s,16:r,17:a,18:o},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:i,14:s,16:r,17:a,18:o},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],s=[],r=this.table,a="",o=0,l=0,c=s.slice.call(arguments,1),h=Object.create(this.lexer),y={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(y.yy[u]=this.yy[u]);h.setInput(t,y.yy),y.yy.lexer=h,y.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var d=h.options&&h.options.ranges;"function"==typeof y.yy.parseError?this.parseError=y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,g,x,m,k,_,b,v,$,w={};;){if(g=e[e.length-1],this.defaultActions[g]?x=this.defaultActions[g]:(null==f&&($=void 0,"number"!=typeof($=n.pop()||h.lex()||1)&&($ instanceof Array&&($=(n=$).pop()),$=this.symbols_[$]||$),f=$),x=r[g]&&r[g][f]),void 0===x||!x.length||!x[0]){var M;for(k in v=[],r[g])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");M=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(M,{text:h.match,token:this.terminals_[f]||f,line:h.yylineno,loc:p,expected:v})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+f);switch(x[0]){case 1:e.push(f),i.push(h.yytext),s.push(h.yylloc),e.push(x[1]),f=null,l=h.yyleng,a=h.yytext,o=h.yylineno,p=h.yylloc;break;case 2:if(_=this.productions_[x[1]][1],w.$=i[i.length-_],w._$={first_line:s[s.length-(_||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(_||1)].first_column,last_column:s[s.length-1].last_column},d&&(w._$.range=[s[s.length-(_||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[a,l,o,y.yy,x[1],i,s].concat(c))))return m;_&&(e=e.slice(0,-1*_*2),i=i.slice(0,-1*_),s=s.slice(0,-1*_)),e.push(this.productions_[x[1]][0]),i.push(w.$),s.push(w._$),b=r[e[e.length-2]][e[e.length-1]],e.push(b);break;case 3:return!0}}return!0}},c={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=n,i=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};function h(){this.yy={}}return l.lexer=c,h.prototype=l,l.Parser=h,new h}());a.parser=a;const o=a;let l="";const c=[],h=[],y=[],u=function(){let t=!0;for(const[e,n]of y.entries())y[e].processed,t=t&&n.processed;return t},p={getConfig:()=>(0,i.c)().journey,clear:function(){c.length=0,h.length=0,l="",y.length=0,(0,i.v)()},setDiagramTitle:i.q,getDiagramTitle:i.t,setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addSection:function(t){l=t,c.push(t)},getSections:function(){return c},getTasks:function(){let t=u(),e=0;for(;!t&&e<100;)t=u(),e++;return h.push(...y),h},addTask:function(t,e){const n=e.substr(1).split(":");let i=0,s=[];1===n.length?(i=Number(n[0]),s=[]):(i=Number(n[0]),s=n[1].split(","));const r=s.map((t=>t.trim())),a={section:l,type:l,people:r,task:t,score:i};y.push(a)},addTaskOrg:function(t){const e={section:l,type:l,description:t,task:t,classes:[]};h.push(e)},getActors:function(){return function(){const t=[];return h.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()}()}},d=function(t,e){return(0,r.d)(t,e)},f=function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n};let g=-1;const x=function(){function t(t,e,n,s,r,a,o,l){i(e.append("text").attr("x",n+r/2).attr("y",s+a/2+5).style("font-color",l).style("text-anchor","middle").text(t),o)}function e(t,e,n,s,r,a,o,l,c){const{taskFontSize:h,taskFontFamily:y}=l,u=t.split(//gi);for(let t=0;t3?function(t){const n=(0,s.JLW)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(n):e.score<3?function(t){const n=(0,s.JLW)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(n):n.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(a,{cx:i,cy:300+30*(5-e.score),score:e.score});const o=(0,r.g)();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=n.width,o.height=n.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,d(a,o);let l=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:l,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};f(a,i),l+=10})),x(n)(e.task,a,o.x,o.y,o.width,o.height,{class:"task"},n,e.colour)},v={},$=(0,i.c)().journey,w=$.leftMargin,M={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},updateBounds:function(t,e,n,s){const r=(0,i.c)().journey,a=this;let o=0;this.sequenceItems.forEach((function(i){o++;const l=a.sequenceItems.length-o+1;a.updateVal(i,"starty",e-l*r.boxMargin,Math.min),a.updateVal(i,"stopy",s+l*r.boxMargin,Math.max),a.updateVal(M.data,"startx",t-l*r.boxMargin,Math.min),a.updateVal(M.data,"stopx",n+l*r.boxMargin,Math.max),a.updateVal(i,"startx",t-l*r.boxMargin,Math.min),a.updateVal(i,"stopx",n+l*r.boxMargin,Math.max),a.updateVal(M.data,"starty",e-l*r.boxMargin,Math.min),a.updateVal(M.data,"stopy",s+l*r.boxMargin,Math.max)}))},insert:function(t,e,n,i){const s=Math.min(t,n),r=Math.max(t,n),a=Math.min(e,i),o=Math.max(e,i);this.updateVal(M.data,"startx",s,Math.min),this.updateVal(M.data,"starty",a,Math.min),this.updateVal(M.data,"stopx",r,Math.max),this.updateVal(M.data,"stopy",o,Math.max),this.updateBounds(s,a,r,o)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},E=$.sectionFills,T=$.sectionColours,S={setConf:function(t){Object.keys(t).forEach((function(e){$[e]=t[e]}))},draw:function(t,e,n,r){const a=(0,i.c)().journey,o=(0,i.c)().securityLevel;let l;"sandbox"===o&&(l=(0,s.Ltv)("#i"+e));const c="sandbox"===o?(0,s.Ltv)(l.nodes()[0].contentDocument.body):(0,s.Ltv)("body");M.init();const h=c.select("#"+e);h.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");const y=r.db.getTasks(),u=r.db.getDiagramTitle(),p=r.db.getActors();for(const t in v)delete v[t];let d=0;p.forEach((t=>{v[t]={color:a.actorColours[d%a.actorColours.length],position:d},d++})),function(t){const e=(0,i.c)().journey;let n=60;Object.keys(v).forEach((i=>{const s=v[i].color,r={cx:20,cy:n,r:7,fill:s,stroke:"#000",pos:v[i].position};m(t,r);const a={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};_(t,a),n+=20}))}(h),M.insert(0,0,w,50*Object.keys(v).length),function(t,e,n){const s=(0,i.c)().journey;let r="";const a=n+(2*s.height+s.diagramMarginY);let o=0,l="#CCC",c="black",h=0;for(const[n,i]of e.entries()){if(r!==i.section){l=E[o%E.length],h=o%E.length,c=T[o%T.length];let a=0;const y=i.section;for(let t=n;t(v[e]&&(t[e]=v[e]),t)),{});i.x=n*s.taskMargin+n*s.width+w,i.y=a,i.width=s.diagramMarginX,i.height=s.diagramMarginY,i.colour=c,i.fill=l,i.num=h,i.actors=y,b(t,i,s),M.insert(i.x,i.y,i.x+i.width+s.taskMargin,450)}}(h,y,0);const f=M.getBounds();u&&h.append("text").text(u).attr("x",w).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const g=f.stopy-f.starty+2*a.diagramMarginY,x=w+f.stopx+2*a.diagramMarginX;(0,i.i)(h,g,x,a.useMaxWidth),h.append("line").attr("x1",w).attr("y1",4*a.height).attr("x2",x-w-4).attr("y2",4*a.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const $=u?70:0;h.attr("viewBox",`${f.startx} -25 ${x} ${g+$}`),h.attr("preserveAspectRatio","xMinYMin meet"),h.attr("height",g+$+25)}},A={parser:o,db:p,renderer:S,styles:t=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${t.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${t.textColor}\n }\n\n .legend {\n fill: ${t.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${t.textColor}\n }\n\n .face {\n ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${t.fillType0?`fill: ${t.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${t.fillType0?`fill: ${t.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${t.fillType0?`fill: ${t.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${t.fillType0?`fill: ${t.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${t.fillType0?`fill: ${t.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${t.fillType0?`fill: ${t.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${t.fillType0?`fill: ${t.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${t.fillType0?`fill: ${t.fillType7}`:""};\n }\n\n .actor-0 {\n ${t.actor0?`fill: ${t.actor0}`:""};\n }\n .actor-1 {\n ${t.actor1?`fill: ${t.actor1}`:""};\n }\n .actor-2 {\n ${t.actor2?`fill: ${t.actor2}`:""};\n }\n .actor-3 {\n ${t.actor3?`fill: ${t.actor3}`:""};\n }\n .actor-4 {\n ${t.actor4?`fill: ${t.actor4}`:""};\n }\n .actor-5 {\n ${t.actor5?`fill: ${t.actor5}`:""};\n }\n`,init:t=>{S.setConf(t.journey),p.clear()}}},18278:(t,e,n)=>{n.d(e,{a:()=>a,b:()=>c,c:()=>l,d:()=>r,e:()=>y,f:()=>o,g:()=>h});var i=n(88641),s=n(59659);const r=(t,e)=>{const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),e.name&&n.attr("name",e.name),void 0!==e.rx&&n.attr("rx",e.rx),void 0!==e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)n.attr(t,e.attrs[t]);return void 0!==e.class&&n.attr("class",e.class),n},a=(t,e)=>{const n={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};r(t,n).lower()},o=(t,e)=>{const n=e.text.replace(s.J," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},l=(t,e,n,s)=>{const r=t.append("image");r.attr("x",e),r.attr("y",n);const a=(0,i.Jf)(s);r.attr("xlink:href",a)},c=(t,e,n,s)=>{const r=t.append("use");r.attr("x",e),r.attr("y",n);const a=(0,i.Jf)(s);r.attr("xlink:href",`#${a}`)},h=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),y=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})}}]); \ No newline at end of file diff --git a/assets/chunk.8d34a21b0b442207f356.js.br b/assets/chunk.8d34a21b0b442207f356.js.br new file mode 100644 index 00000000..4becf1e7 Binary files /dev/null and b/assets/chunk.8d34a21b0b442207f356.js.br differ diff --git a/assets/chunk.8d34a21b0b442207f356.js.gz b/assets/chunk.8d34a21b0b442207f356.js.gz new file mode 100644 index 00000000..daf91175 Binary files /dev/null and b/assets/chunk.8d34a21b0b442207f356.js.gz differ diff --git a/assets/chunk.8f6bd6b3f0f9148d395c.js b/assets/chunk.8f6bd6b3f0f9148d395c.js new file mode 100644 index 00000000..01309d04 --- /dev/null +++ b/assets/chunk.8f6bd6b3f0f9148d395c.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[61],{58061:(t,e,i)=>{i.d(e,{diagram:()=>k});var n=i(59659),r=i(84017),s=i(72794),a=i(33104),c=(i(92329),i(88641),i(31998),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,3],i=[1,4],n=[1,5],r=[1,6],s=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],a=[1,18],c=[2,7],l=[1,22],o=[1,23],h=[1,24],u=[1,25],y=[1,26],d=[1,27],p=[1,20],_=[1,28],E=[1,29],g=[62,63],R=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],m=[1,47],f=[1,48],I=[1,49],b=[1,50],k=[1,51],S=[1,52],T=[1,53],N=[53,54],x=[1,64],A=[1,60],v=[1,61],q=[1,62],$=[1,63],O=[1,65],w=[1,69],C=[1,70],L=[1,67],F=[1,68],M=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],D={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(t,e,i,n,r,s,a){var c=s.length-1;switch(r){case 4:this.$=s[c].trim(),n.setAccTitle(this.$);break;case 5:case 6:this.$=s[c].trim(),n.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:n.addRequirement(s[c-3],s[c-4]);break;case 14:n.setNewReqId(s[c-2]);break;case 15:n.setNewReqText(s[c-2]);break;case 16:n.setNewReqRisk(s[c-2]);break;case 17:n.setNewReqVerifyMethod(s[c-2]);break;case 20:this.$=n.RequirementType.REQUIREMENT;break;case 21:this.$=n.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=n.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=n.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=n.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=n.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=n.RiskLevel.LOW_RISK;break;case 27:this.$=n.RiskLevel.MED_RISK;break;case 28:this.$=n.RiskLevel.HIGH_RISK;break;case 29:this.$=n.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=n.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=n.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=n.VerifyType.VERIFY_TEST;break;case 33:n.addElement(s[c-3]);break;case 34:n.setNewElementType(s[c-2]);break;case 35:n.setNewElementDocRef(s[c-2]);break;case 38:n.addRelationship(s[c-2],s[c],s[c-4]);break;case 39:n.addRelationship(s[c-2],s[c-4],s[c]);break;case 40:this.$=n.Relationships.CONTAINS;break;case 41:this.$=n.Relationships.COPIES;break;case 42:this.$=n.Relationships.DERIVES;break;case 43:this.$=n.Relationships.SATISFIES;break;case 44:this.$=n.Relationships.VERIFIES;break;case 45:this.$=n.Relationships.REFINES;break;case 46:this.$=n.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:i,11:n,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:e,9:i,11:n,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(s,[2,6]),{3:12,4:2,6:e,9:i,11:n,13:r},{1:[2,2]},{4:17,5:a,7:13,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},t(s,[2,4]),t(s,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:a,7:31,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:32,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:33,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:34,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{4:17,5:a,7:35,8:c,9:i,11:n,13:r,14:14,15:15,16:16,17:19,23:21,31:l,32:o,33:h,34:u,35:y,36:d,44:p,62:_,63:E},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},t(g,[2,20]),t(g,[2,21]),t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),t(R,[2,49]),t(R,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:m,56:f,57:I,58:b,59:k,60:S,61:T},{52:54,55:m,56:f,57:I,58:b,59:k,60:S,61:T},{5:[1,55]},{5:[1,56]},{53:[1,57]},t(N,[2,40]),t(N,[2,41]),t(N,[2,42]),t(N,[2,43]),t(N,[2,44]),t(N,[2,45]),t(N,[2,46]),{54:[1,58]},{5:x,20:59,21:A,24:v,26:q,28:$,30:O},{5:w,30:C,46:66,47:L,49:F},{23:71,62:_,63:E},{23:72,62:_,63:E},t(M,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:x,20:77,21:A,24:v,26:q,28:$,30:O},t(M,[2,19]),t(M,[2,33]),{22:[1,78]},{22:[1,79]},{5:w,30:C,46:80,47:L,49:F},t(M,[2,37]),t(M,[2,38]),t(M,[2,39]),{23:81,62:_,63:E},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},t(M,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},t(M,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:x,20:106,21:A,24:v,26:q,28:$,30:O},{5:x,20:107,21:A,24:v,26:q,28:$,30:O},{5:x,20:108,21:A,24:v,26:q,28:$,30:O},{5:x,20:109,21:A,24:v,26:q,28:$,30:O},{5:w,30:C,46:110,47:L,49:F},{5:w,30:C,46:111,47:L,49:F},t(M,[2,14]),t(M,[2,15]),t(M,[2,16]),t(M,[2,17]),t(M,[2,34]),t(M,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],r=[],s=this.table,a="",c=0,l=0,o=r.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var d=h.yylloc;r.push(d);var p=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var _,E,g,R,m,f,I,b,k,S={};;){if(E=e[e.length-1],this.defaultActions[E]?g=this.defaultActions[E]:(null==_&&(k=void 0,"number"!=typeof(k=i.pop()||h.lex()||1)&&(k instanceof Array&&(k=(i=k).pop()),k=this.symbols_[k]||k),_=k),g=s[E]&&s[E][_]),void 0===g||!g.length||!g[0]){var T;for(m in b=[],s[E])this.terminals_[m]&&m>2&&b.push("'"+this.terminals_[m]+"'");T=h.showPosition?"Parse error on line "+(c+1)+":\n"+h.showPosition()+"\nExpecting "+b.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(c+1)+": Unexpected "+(1==_?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(T,{text:h.match,token:this.terminals_[_]||_,line:h.yylineno,loc:d,expected:b})}if(g[0]instanceof Array&&g.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+_);switch(g[0]){case 1:e.push(_),n.push(h.yytext),r.push(h.yylloc),e.push(g[1]),_=null,l=h.yyleng,a=h.yytext,c=h.yylineno,d=h.yylloc;break;case 2:if(f=this.productions_[g[1]][1],S.$=n[n.length-f],S._$={first_line:r[r.length-(f||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(f||1)].first_column,last_column:r[r.length-1].last_column},p&&(S._$.range=[r[r.length-(f||1)].range[0],r[r.length-1].range[1]]),void 0!==(R=this.performAction.apply(S,[a,l,c,u.yy,g[1],n,r].concat(o))))return R;f&&(e=e.slice(0,-1*f*2),n=n.slice(0,-1*f),r=r.slice(0,-1*f)),e.push(this.productions_[g[1]][0]),n.push(S.$),r.push(S._$),I=s[e[e.length-2]][e[e.length-1]],e.push(I);break;case 3:return!0}}return!0}},P={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var s in r)this[s]=r[s];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),s=0;se[0].length)){if(e=i,n=s,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[s])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return e.yytext=e.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}};function V(){this.yy={}}return D.lexer=P,V.prototype=D,D.Parser=V,new V}());c.parser=c;const l=c;let o=[],h={},u={},y={},d={};const p={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},getConfig:()=>(0,n.c)().req,addRequirement:(t,e)=>(void 0===u[t]&&(u[t]={name:t,type:e,id:h.id,text:h.text,risk:h.risk,verifyMethod:h.verifyMethod}),h={},u[t]),getRequirements:()=>u,setNewReqId:t=>{void 0!==h&&(h.id=t)},setNewReqText:t=>{void 0!==h&&(h.text=t)},setNewReqRisk:t=>{void 0!==h&&(h.risk=t)},setNewReqVerifyMethod:t=>{void 0!==h&&(h.verifyMethod=t)},setAccTitle:n.s,getAccTitle:n.g,setAccDescription:n.b,getAccDescription:n.a,addElement:t=>(void 0===d[t]&&(d[t]={name:t,type:y.type,docRef:y.docRef},n.l.info("Added new requirement: ",t)),y={},d[t]),getElements:()=>d,setNewElementType:t=>{void 0!==y&&(y.type=t)},setNewElementDocRef:t=>{void 0!==y&&(y.docRef=t)},addRelationship:(t,e,i)=>{o.push({type:t,src:e,dst:i})},getRelationships:()=>o,clear:()=>{o=[],h={},u={},y={},d={},(0,n.v)()}},_={CONTAINS:"contains",ARROW:"arrow"},E=_;let g={},R=0;const m=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",g.rect_min_width+"px").attr("height",g.rect_min_height+"px"),f=(t,e,i)=>{let n=g.rect_min_width/2,r=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",n).attr("y",g.rect_padding).attr("dominant-baseline","hanging"),s=0;i.forEach((t=>{0==s?r.append("tspan").attr("text-anchor","middle").attr("x",g.rect_min_width/2).attr("dy",0).text(t):r.append("tspan").attr("text-anchor","middle").attr("x",g.rect_min_width/2).attr("dy",.75*g.line_height).text(t),s++}));let a=1.5*g.rect_padding+s*g.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",g.rect_min_width).attr("y1",a).attr("y2",a),{titleNode:r,y:a}},I=(t,e,i,n)=>{let r=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",g.rect_padding).attr("y",n).attr("dominant-baseline","hanging"),s=0,a=[];return i.forEach((t=>{let e=t.length;for(;e>30&&s<3;){let i=t.substring(0,30);e=(t=t.substring(30,t.length)).length,a[a.length]=i,s++}if(3==s){let t=a[a.length-1];a[a.length-1]=t.substring(0,t.length-4)+"..."}else a[a.length]=t;s=0})),a.forEach((t=>{r.append("tspan").attr("x",g.rect_padding).attr("dy",g.line_height).text(t)})),r},b=t=>t.replace(/\s/g,"").replace(/\./g,"_"),k={parser:l,db:p,renderer:{draw:(t,e,i,c)=>{g=(0,n.c)().requirement;const l=g.securityLevel;let o;"sandbox"===l&&(o=(0,r.Ltv)("#i"+e));const h=("sandbox"===l?(0,r.Ltv)(o.nodes()[0].contentDocument.body):(0,r.Ltv)("body")).select(`[id='${e}']`);((t,e)=>{let i=t.append("defs").append("marker").attr("id",_.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");i.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),i.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),i.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",_.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${e.line_height},${e.line_height/2}\n M${e.line_height},${e.line_height/2}\n L0,${e.line_height}`).attr("stroke-width",1)})(h,g);const u=new a.T({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:g.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let y=c.db.getRequirements(),d=c.db.getElements(),p=c.db.getRelationships();var k,S,T;k=y,S=u,T=h,Object.keys(k).forEach((t=>{let e=k[t];t=b(t),n.l.info("Added new requirement: ",t);const i=T.append("g").attr("id",t),r=m(i,"req-"+t);let s=f(i,t+"_title",[`<<${e.type}>>`,`${e.name}`]);I(i,t+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],s.y);const a=r.node().getBBox();S.setNode(t,{width:a.width,height:a.height,shape:"rect",id:t})})),((t,e,i)=>{Object.keys(t).forEach((n=>{let r=t[n];const s=b(n),a=i.append("g").attr("id",s),c="element-"+s,l=m(a,c);let o=f(a,c+"_title",["<>",`${n}`]);I(a,c+"_body",[`Type: ${r.type||"Not Specified"}`,`Doc Ref: ${r.docRef||"None"}`],o.y);const h=l.node().getBBox();e.setNode(s,{width:h.width,height:h.height,shape:"rect",id:s})}))})(d,u,h),((t,e)=>{t.forEach((function(t){let i=b(t.src),n=b(t.dst);e.setEdge(i,n,{relationship:t})}))})(p,u),(0,s.Zp)(u),function(t,e){e.nodes().forEach((function(i){void 0!==i&&void 0!==e.node(i)&&(t.select("#"+i),t.select("#"+i).attr("transform","translate("+(e.node(i).x-e.node(i).width/2)+","+(e.node(i).y-e.node(i).height/2)+" )"))}))}(h,u),p.forEach((function(t){!function(t,e,i,s,a){const c=i.edge(b(e.src),b(e.dst)),l=(0,r.n8j)().x((function(t){return t.x})).y((function(t){return t.y})),o=t.insert("path","#"+s).attr("class","er relationshipLine").attr("d",l(c.points)).attr("fill","none");e.type==a.db.Relationships.CONTAINS?o.attr("marker-start","url("+n.e.getUrl(g.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(o.attr("stroke-dasharray","10,7"),o.attr("marker-end","url("+n.e.getUrl(g.arrowMarkerAbsolute)+"#"+E.ARROW+"_line_ending)")),((t,e,i,n)=>{const r=e.node().getTotalLength(),s=e.node().getPointAtLength(.5*r),a="rel"+R;R++;const c=t.append("text").attr("class","req relationshipLabel").attr("id",a).attr("x",s.x).attr("y",s.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(n).node().getBBox();t.insert("rect","#"+a).attr("class","req reqLabelBox").attr("x",s.x-c.width/2).attr("y",s.y-c.height/2).attr("width",c.width).attr("height",c.height).attr("fill","white").attr("fill-opacity","85%")})(t,o,0,`<<${e.type}>>`)}(h,t,u,e,c)}));const N=g.rect_padding,x=h.node().getBBox(),A=x.width+2*N,v=x.height+2*N;(0,n.i)(h,v,A,g.useMaxWidth),h.attr("viewBox",`${x.x-N} ${x.y-N} ${A} ${v}`)}},styles:t=>`\n\n marker {\n fill: ${t.relationColor};\n stroke: ${t.relationColor};\n }\n\n marker.cross {\n stroke: ${t.lineColor};\n }\n\n svg {\n font-family: ${t.fontFamily};\n font-size: ${t.fontSize};\n }\n\n .reqBox {\n fill: ${t.requirementBackground};\n fill-opacity: 1.0;\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${t.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${t.relationLabelBackground};\n fill-opacity: 1.0;\n }\n\n .req-title-line {\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${t.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${t.relationLabelColor};\n }\n\n`}}}]); \ No newline at end of file diff --git a/assets/chunk.8f6bd6b3f0f9148d395c.js.br b/assets/chunk.8f6bd6b3f0f9148d395c.js.br new file mode 100644 index 00000000..e0fd5f6d Binary files /dev/null and b/assets/chunk.8f6bd6b3f0f9148d395c.js.br differ diff --git a/assets/chunk.8f6bd6b3f0f9148d395c.js.gz b/assets/chunk.8f6bd6b3f0f9148d395c.js.gz new file mode 100644 index 00000000..cc8e559b Binary files /dev/null and b/assets/chunk.8f6bd6b3f0f9148d395c.js.gz differ diff --git a/assets/chunk.90c8a1e9f8e7fd112059.js b/assets/chunk.90c8a1e9f8e7fd112059.js new file mode 100644 index 00000000..d65b3d56 --- /dev/null +++ b/assets/chunk.90c8a1e9f8e7fd112059.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[785],{85785:(e,t,n)=>{n.r(t),n.d(t,{ResizeObserver:()=>X,ResizeObserverEntry:()=>z,ResizeObserverSize:()=>c});var r,i=[],o="ResizeObserver loop completed with undelivered notifications.";!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var s,a=function(e){return Object.freeze(e)},c=function(e,t){this.inlineSize=e,this.blockSize=t,a(this)},u=function(){function e(e,t,n,r){return this.x=e,this.y=t,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,a(this)}return e.prototype.toJSON=function(){var e=this;return{x:e.x,y:e.y,top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),h=function(e){return e instanceof SVGElement&&"getBBox"in e},f=function(e){if(h(e)){var t=e.getBBox(),n=t.width,r=t.height;return!n&&!r}var i=e,o=i.offsetWidth,s=i.offsetHeight;return!(o||s||e.getClientRects().length)},d=function(e){var t;if(e instanceof Element)return!0;var n=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},v="undefined"!=typeof window?window:{},l=new WeakMap,p=/auto|scroll/,g=/^tb|vertical/,b=/msie|trident/i.test(v.navigator&&v.navigator.userAgent),w=function(e){return parseFloat(e||"0")},E=function(e,t,n){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=!1),new c((n?t:e)||0,(n?e:t)||0)},x=a({devicePixelContentBoxSize:E(),borderBoxSize:E(),contentBoxSize:E(),contentRect:new u(0,0,0,0)}),T=function(e,t){if(void 0===t&&(t=!1),l.has(e)&&!t)return l.get(e);if(f(e))return l.set(e,x),x;var n=getComputedStyle(e),r=h(e)&&e.ownerSVGElement&&e.getBBox(),i=!b&&"border-box"===n.boxSizing,o=g.test(n.writingMode||""),s=!r&&p.test(n.overflowY||""),c=!r&&p.test(n.overflowX||""),d=r?0:w(n.paddingTop),v=r?0:w(n.paddingRight),T=r?0:w(n.paddingBottom),m=r?0:w(n.paddingLeft),z=r?0:w(n.borderTopWidth),y=r?0:w(n.borderRightWidth),S=r?0:w(n.borderBottomWidth),B=m+v,O=d+T,R=(r?0:w(n.borderLeftWidth))+y,k=z+S,C=c?e.offsetHeight-k-e.clientHeight:0,N=s?e.offsetWidth-R-e.clientWidth:0,D=i?B+R:0,_=i?O+k:0,M=r?r.width:w(n.width)-D-N,P=r?r.height:w(n.height)-_-C,F=M+B+N+R,I=P+O+C+k,L=a({devicePixelContentBoxSize:E(Math.round(M*devicePixelRatio),Math.round(P*devicePixelRatio),o),borderBoxSize:E(F,I,o),contentBoxSize:E(M,P,o),contentRect:new u(m,d,M,P)});return l.set(e,L),L},m=function(e,t,n){var i=T(e,n),o=i.borderBoxSize,s=i.contentBoxSize,a=i.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},z=function(e){var t=T(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=a([t.borderBoxSize]),this.contentBoxSize=a([t.contentBoxSize]),this.devicePixelContentBoxSize=a([t.devicePixelContentBoxSize])},y=function(e){if(f(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},S=function(){var e=1/0,t=[];i.forEach((function(n){if(0!==n.activeTargets.length){var r=[];n.activeTargets.forEach((function(t){var n=new z(t.target),i=y(t.target);r.push(n),t.lastReportedSize=m(t.target,t.observedBox),ie?t.activeTargets.push(n):t.skippedTargets.push(n))}))}))},O=[],R=0,k={attributes:!0,characterData:!0,childList:!0,subtree:!0},C=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],N=function(e){return void 0===e&&(e=0),Date.now()+e},D=!1,_=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!D){D=!0;var n,r=N(e);n=function(){var n=!1;try{n=function(){var e,t=0;for(B(t);i.some((function(e){return e.activeTargets.length>0}));)t=S(),B(t);return i.some((function(e){return e.skippedTargets.length>0}))&&("function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:o}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=o),window.dispatchEvent(e)),t>0}()}finally{if(D=!1,e=r-N(),!R)return;n?t.run(1e3):e>0?t.run(e):t.start()}},function(e){if(!s){var t=0,n=document.createTextNode("");new MutationObserver((function(){return O.splice(0).forEach((function(e){return e()}))})).observe(n,{characterData:!0}),s=function(){n.textContent="".concat(t?t--:t++)}}O.push(e),s()}((function(){requestAnimationFrame(n)}))}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,k)};document.body?t():v.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),C.forEach((function(t){return v.addEventListener(t,e.listener,!0)})))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),C.forEach((function(t){return v.removeEventListener(t,e.listener,!0)})),this.stopped=!0)},e}()),M=function(e){!R&&e>0&&_.start(),!(R+=e)&&_.stop()},P=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=m(this.target,this.observedBox,!0);return e=this.target,h(e)||function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1}(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),F=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},I=new WeakMap,L=function(e,t){for(var n=0;n=0&&(o&&i.splice(i.indexOf(n),1),n.observationTargets.splice(r,1),M(-1))},e.disconnect=function(e){var t=this,n=I.get(e);n.observationTargets.slice().forEach((function(n){return t.unobserve(e,n.target)})),n.activeTargets.splice(0,n.activeTargets.length)},e}(),X=function(){function e(e){if(0===arguments.length)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");W.connect(this,e)}return e.prototype.observe=function(e,t){if(0===arguments.length)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");W.observe(this,e,t)},e.prototype.unobserve=function(e){if(0===arguments.length)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!d(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");W.unobserve(this,e)},e.prototype.disconnect=function(){W.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}()}}]); \ No newline at end of file diff --git a/assets/chunk.90c8a1e9f8e7fd112059.js.br b/assets/chunk.90c8a1e9f8e7fd112059.js.br new file mode 100644 index 00000000..ab952ef6 Binary files /dev/null and b/assets/chunk.90c8a1e9f8e7fd112059.js.br differ diff --git a/assets/chunk.90c8a1e9f8e7fd112059.js.gz b/assets/chunk.90c8a1e9f8e7fd112059.js.gz new file mode 100644 index 00000000..369b25f9 Binary files /dev/null and b/assets/chunk.90c8a1e9f8e7fd112059.js.gz differ diff --git a/assets/chunk.98051d484e65792673e9.js b/assets/chunk.98051d484e65792673e9.js new file mode 100644 index 00000000..e8e70060 --- /dev/null +++ b/assets/chunk.98051d484e65792673e9.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[747],{21747:(t,i,e)=>{e.d(i,{diagram:()=>d});var a=e(59659),n=e(84017),r=(e(92329),e(88641),e(31998),function(){var t=function(t,i,e,a){for(e=e||{},a=t.length;a--;e[t[a]]=i);return e},i=[1,3],e=[1,4],a=[1,5],n=[1,6],r=[1,7],s=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],l=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],o=[32,33,34],h=[2,7],c=[1,13],d=[1,17],u=[1,18],x=[1,19],g=[1,20],f=[1,21],y=[1,22],p=[1,23],q=[1,24],T=[1,25],m=[1,26],A=[1,27],_=[1,30],b=[1,31],S=[1,32],k=[1,33],F=[1,34],P=[1,35],v=[1,36],L=[1,37],C=[1,38],z=[1,39],B=[1,40],E=[1,41],D=[1,42],I=[1,57],w=[1,58],R=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],W={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(t,i,e,a,n,r,s){var l=r.length-1;switch(n){case 12:this.$=r[l].trim(),a.setDiagramTitle(this.$);break;case 13:this.$=r[l].trim(),a.setAccTitle(this.$);break;case 14:case 15:this.$=r[l].trim(),a.setAccDescription(this.$);break;case 16:a.addSection(r[l].substr(8)),this.$=r[l].substr(8);break;case 17:a.addPoint(r[l-3],r[l-1],r[l]);break;case 18:a.setXAxisLeftText(r[l-2]),a.setXAxisRightText(r[l]);break;case 19:r[l-1].text+=" ⟶ ",a.setXAxisLeftText(r[l-1]);break;case 20:a.setXAxisLeftText(r[l]);break;case 21:a.setYAxisBottomText(r[l-2]),a.setYAxisTopText(r[l]);break;case 22:r[l-1].text+=" ⟶ ",a.setYAxisBottomText(r[l-1]);break;case 23:a.setYAxisBottomText(r[l]);break;case 24:a.setQuadrant1Text(r[l]);break;case 25:a.setQuadrant2Text(r[l]);break;case 26:a.setQuadrant3Text(r[l]);break;case 27:a.setQuadrant4Text(r[l]);break;case 31:case 33:this.$={text:r[l],type:"text"};break;case 32:this.$={text:r[l-1].text+""+r[l],type:r[l-1].type};break;case 34:this.$={text:r[l],type:"markdown"};break;case 35:this.$=r[l];break;case 36:this.$=r[l-1]+""+r[l]}},table:[{3:1,4:2,5:i,6:e,32:a,33:n,34:r},{1:[3]},{3:8,4:2,5:i,6:e,32:a,33:n,34:r},{3:9,4:2,5:i,6:e,32:a,33:n,34:r},t(s,[2,4],{7:10}),t(l,[2,28]),t(l,[2,29]),t(l,[2,30]),{1:[2,1]},{1:[2,2]},t(o,h,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:c,13:d,15:u,17:x,19:g,20:f,25:y,27:p,28:q,29:T,30:m,31:A,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D}),t(s,[2,5]),{4:43,32:a,33:n,34:r},t(o,h,{10:14,11:15,12:16,21:28,35:29,9:44,5:c,13:d,15:u,17:x,19:g,20:f,25:y,27:p,28:q,29:T,30:m,31:A,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D}),t(o,[2,9]),t(o,[2,10]),t(o,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},t(o,[2,15]),t(o,[2,16]),{21:48,35:29,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:49,35:29,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:50,35:29,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:51,35:29,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:52,35:29,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{21:53,35:29,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D},{5:I,22:[1,54],35:56,36:55,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w},t(R,[2,31]),t(R,[2,33]),t(R,[2,34]),t(R,[2,37]),t(R,[2,38]),t(R,[2,39]),t(R,[2,40]),t(R,[2,41]),t(R,[2,42]),t(R,[2,43]),t(R,[2,44]),t(R,[2,45]),t(R,[2,46]),t(R,[2,47]),t(s,[2,6]),t(o,[2,8]),t(o,[2,12]),t(o,[2,13]),t(o,[2,14]),t(o,[2,20],{36:55,35:56,5:I,26:[1,59],40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,23],{36:55,35:56,5:I,26:[1,60],40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,24],{36:55,35:56,5:I,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,25],{36:55,35:56,5:I,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,26],{36:55,35:56,5:I,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,27],{36:55,35:56,5:I,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),{23:[1,61]},t(R,[2,32]),t(R,[2,48]),t(R,[2,49]),t(R,[2,50]),t(o,[2,19],{35:29,21:62,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D}),t(o,[2,22],{35:29,21:63,37:_,38:b,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D}),{24:[1,64]},t(o,[2,18],{36:55,35:56,5:I,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,21],{36:55,35:56,5:I,40:S,41:k,42:F,43:P,44:v,45:L,46:C,47:z,48:B,49:E,50:D,51:w}),t(o,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},parse:function(t){var i=[0],e=[],a=[null],n=[],r=this.table,s="",l=0,o=0,h=n.slice.call(arguments,1),c=Object.create(this.lexer),d={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(d.yy[u]=this.yy[u]);c.setInput(t,d.yy),d.yy.lexer=c,d.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var x=c.yylloc;n.push(x);var g=c.options&&c.options.ranges;"function"==typeof d.yy.parseError?this.parseError=d.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,y,p,q,T,m,A,_,b,S={};;){if(y=i[i.length-1],this.defaultActions[y]?p=this.defaultActions[y]:(null==f&&(b=void 0,"number"!=typeof(b=e.pop()||c.lex()||1)&&(b instanceof Array&&(b=(e=b).pop()),b=this.symbols_[b]||b),f=b),p=r[y]&&r[y][f]),void 0===p||!p.length||!p[0]){var k;for(T in _=[],r[y])this.terminals_[T]&&T>2&&_.push("'"+this.terminals_[T]+"'");k=c.showPosition?"Parse error on line "+(l+1)+":\n"+c.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(k,{text:c.match,token:this.terminals_[f]||f,line:c.yylineno,loc:x,expected:_})}if(p[0]instanceof Array&&p.length>1)throw new Error("Parse Error: multiple actions possible at state: "+y+", token: "+f);switch(p[0]){case 1:i.push(f),a.push(c.yytext),n.push(c.yylloc),i.push(p[1]),f=null,o=c.yyleng,s=c.yytext,l=c.yylineno,x=c.yylloc;break;case 2:if(m=this.productions_[p[1]][1],S.$=a[a.length-m],S._$={first_line:n[n.length-(m||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(m||1)].first_column,last_column:n[n.length-1].last_column},g&&(S._$.range=[n[n.length-(m||1)].range[0],n[n.length-1].range[1]]),void 0!==(q=this.performAction.apply(S,[s,o,l,d.yy,p[1],a,n].concat(h))))return q;m&&(i=i.slice(0,-1*m*2),a=a.slice(0,-1*m),n=n.slice(0,-1*m)),i.push(this.productions_[p[1]][0]),a.push(S.$),n.push(S._$),A=r[i[i.length-2]][i[i.length-1]],i.push(A);break;case 3:return!0}}return!0}},N={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===a.length?this.yylloc.first_column:0)+a[a.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var e,a,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(a=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,e,a;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;ri[0].length)){if(i=e,a=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[r])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,n[a]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,e,a){switch(e){case 0:case 1:case 3:break;case 2:return 32;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 22:case 24:case 28:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 23:this.begin("string");break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};function U(){this.yy={}}return W.lexer=N,U.prototype=W,W.Parser=U,new U}());r.parser=r;const s=r,l=(0,a.E)(),o=(0,a.c)();function h(t){return(0,a.d)(t.trim(),o)}const c=new class{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var t,i,e,n,r,s,l,o,h,c,d,u,x,g,f,y,p,q;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:(null==(t=a.B.quadrantChart)?void 0:t.chartWidth)||500,chartWidth:(null==(i=a.B.quadrantChart)?void 0:i.chartHeight)||500,titlePadding:(null==(e=a.B.quadrantChart)?void 0:e.titlePadding)||10,titleFontSize:(null==(n=a.B.quadrantChart)?void 0:n.titleFontSize)||20,quadrantPadding:(null==(r=a.B.quadrantChart)?void 0:r.quadrantPadding)||5,xAxisLabelPadding:(null==(s=a.B.quadrantChart)?void 0:s.xAxisLabelPadding)||5,yAxisLabelPadding:(null==(l=a.B.quadrantChart)?void 0:l.yAxisLabelPadding)||5,xAxisLabelFontSize:(null==(o=a.B.quadrantChart)?void 0:o.xAxisLabelFontSize)||16,yAxisLabelFontSize:(null==(h=a.B.quadrantChart)?void 0:h.yAxisLabelFontSize)||16,quadrantLabelFontSize:(null==(c=a.B.quadrantChart)?void 0:c.quadrantLabelFontSize)||16,quadrantTextTopPadding:(null==(d=a.B.quadrantChart)?void 0:d.quadrantTextTopPadding)||5,pointTextPadding:(null==(u=a.B.quadrantChart)?void 0:u.pointTextPadding)||5,pointLabelFontSize:(null==(x=a.B.quadrantChart)?void 0:x.pointLabelFontSize)||12,pointRadius:(null==(g=a.B.quadrantChart)?void 0:g.pointRadius)||5,xAxisPosition:(null==(f=a.B.quadrantChart)?void 0:f.xAxisPosition)||"top",yAxisPosition:(null==(y=a.B.quadrantChart)?void 0:y.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:(null==(p=a.B.quadrantChart)?void 0:p.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:(null==(q=a.B.quadrantChart)?void 0:q.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:l.quadrant1Fill,quadrant2Fill:l.quadrant2Fill,quadrant3Fill:l.quadrant3Fill,quadrant4Fill:l.quadrant4Fill,quadrant1TextFill:l.quadrant1TextFill,quadrant2TextFill:l.quadrant2TextFill,quadrant3TextFill:l.quadrant3TextFill,quadrant4TextFill:l.quadrant4TextFill,quadrantPointFill:l.quadrantPointFill,quadrantPointTextFill:l.quadrantPointTextFill,quadrantXAxisTextFill:l.quadrantXAxisTextFill,quadrantYAxisTextFill:l.quadrantYAxisTextFill,quadrantTitleFill:l.quadrantTitleFill,quadrantInternalBorderStrokeFill:l.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:l.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),a.l.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}setConfig(t){a.l.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){a.l.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,i,e,a){const n=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,r={top:"top"===t&&i?n:0,bottom:"bottom"===t&&i?n:0},s=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,l={left:"left"===this.config.yAxisPosition&&e?s:0,right:"right"===this.config.yAxisPosition&&e?s:0},o=this.config.titleFontSize+2*this.config.titlePadding,h={top:a?o:0},c=this.config.quadrantPadding+l.left,d=this.config.quadrantPadding+r.top+h.top,u=this.config.chartWidth-2*this.config.quadrantPadding-l.left-l.right,x=this.config.chartHeight-2*this.config.quadrantPadding-r.top-r.bottom-h.top;return{xAxisSpace:r,yAxisSpace:l,titleSpace:h,quadrantSpace:{quadrantLeft:c,quadrantTop:d,quadrantWidth:u,quadrantHalfWidth:u/2,quadrantHeight:x,quadrantHalfHeight:x/2}}}getAxisLabels(t,i,e,a){const{quadrantSpace:n,titleSpace:r}=a,{quadrantHalfHeight:s,quadrantHeight:l,quadrantLeft:o,quadrantHalfWidth:h,quadrantTop:c,quadrantWidth:d}=n,u=Boolean(this.data.xAxisRightText),x=Boolean(this.data.yAxisTopText),g=[];return this.data.xAxisLeftText&&i&&g.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+r.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&i&&g.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:o+h+(u?h/2:0),y:"top"===t?this.config.xAxisLabelPadding+r.top:this.config.xAxisLabelPadding+c+l+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:u?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&e&&g.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+l-(x?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&e&&g.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+o+d+this.config.quadrantPadding,y:c+s-(x?s/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:x?"center":"left",horizontalPos:"top",rotation:-90}),g}getQuadrants(t){const{quadrantSpace:i}=t,{quadrantHalfHeight:e,quadrantLeft:a,quadrantHalfWidth:n,quadrantTop:r}=i,s=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:r,width:n,height:e,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:r,width:n,height:e,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a,y:r+e,width:n,height:e,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:a+n,y:r+e,width:n,height:e,fill:this.themeConfig.quadrant4Fill}];for(const t of s)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return s}getQuadrantPoints(t){const{quadrantSpace:i}=t,{quadrantHeight:e,quadrantLeft:a,quadrantTop:r,quadrantWidth:s}=i,l=(0,n.m4Y)().domain([0,1]).range([a,s+a]),o=(0,n.m4Y)().domain([0,1]).range([e+r,r]);return this.data.points.map((t=>({x:l(t.x),y:o(t.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:l(t.x),y:o(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}})))}getBorders(t){const i=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:e}=t,{quadrantHalfHeight:a,quadrantHeight:n,quadrantLeft:r,quadrantHalfWidth:s,quadrantTop:l,quadrantWidth:o}=e;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r-i,y1:l,x2:r+o+i,y2:l},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r+o,y1:l+i,x2:r+o,y2:l+n-i},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r-i,y1:l+n,x2:r+o+i,y2:l+n},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:r,y1:l+i,x2:r,y2:l+n-i},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:r+s,y1:l+i,x2:r+s,y2:l+n-i},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:r+i,y1:l+a,x2:r+o-i,y2:l+a}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const t=this.config.showXAxis&&!(!this.data.xAxisLeftText&&!this.data.xAxisRightText),i=this.config.showYAxis&&!(!this.data.yAxisTopText&&!this.data.yAxisBottomText),e=this.config.showTitle&&!!this.data.titleText,a=this.data.points.length>0?"bottom":this.config.xAxisPosition,n=this.calculateSpace(a,t,i,e);return{points:this.getQuadrantPoints(n),quadrants:this.getQuadrants(n),axisLabels:this.getAxisLabels(a,t,i,n),borderLines:this.getBorders(n),title:this.getTitle(e)}}},d={parser:s,db:{setWidth:function(t){c.setConfig({chartWidth:t})},setHeight:function(t){c.setConfig({chartHeight:t})},setQuadrant1Text:function(t){c.setData({quadrant1Text:h(t.text)})},setQuadrant2Text:function(t){c.setData({quadrant2Text:h(t.text)})},setQuadrant3Text:function(t){c.setData({quadrant3Text:h(t.text)})},setQuadrant4Text:function(t){c.setData({quadrant4Text:h(t.text)})},setXAxisLeftText:function(t){c.setData({xAxisLeftText:h(t.text)})},setXAxisRightText:function(t){c.setData({xAxisRightText:h(t.text)})},setYAxisTopText:function(t){c.setData({yAxisTopText:h(t.text)})},setYAxisBottomText:function(t){c.setData({yAxisBottomText:h(t.text)})},addPoint:function(t,i,e){c.addPoints([{x:i,y:e,text:h(t.text)}])},getQuadrantData:function(){const t=(0,a.c)(),{themeVariables:i,quadrantChart:e}=t;return e&&c.setConfig(e),c.setThemeConfig({quadrant1Fill:i.quadrant1Fill,quadrant2Fill:i.quadrant2Fill,quadrant3Fill:i.quadrant3Fill,quadrant4Fill:i.quadrant4Fill,quadrant1TextFill:i.quadrant1TextFill,quadrant2TextFill:i.quadrant2TextFill,quadrant3TextFill:i.quadrant3TextFill,quadrant4TextFill:i.quadrant4TextFill,quadrantPointFill:i.quadrantPointFill,quadrantPointTextFill:i.quadrantPointTextFill,quadrantXAxisTextFill:i.quadrantXAxisTextFill,quadrantYAxisTextFill:i.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:i.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:i.quadrantInternalBorderStrokeFill,quadrantTitleFill:i.quadrantTitleFill}),c.setData({titleText:(0,a.t)()}),c.build()},clear:function(){c.clear(),(0,a.v)()},setAccTitle:a.s,getAccTitle:a.g,setDiagramTitle:a.q,getDiagramTitle:a.t,getAccDescription:a.a,setAccDescription:a.b},renderer:{draw:(t,i,e,r)=>{var s,l,o;function h(t){return"top"===t?"hanging":"middle"}function c(t){return"left"===t?"start":"middle"}function d(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const u=(0,a.c)();a.l.debug("Rendering quadrant chart\n"+t);const x=u.securityLevel;let g;"sandbox"===x&&(g=(0,n.Ltv)("#i"+i));const f=("sandbox"===x?(0,n.Ltv)(g.nodes()[0].contentDocument.body):(0,n.Ltv)("body")).select(`[id="${i}"]`),y=f.append("g").attr("class","main"),p=(null==(s=u.quadrantChart)?void 0:s.chartWidth)||500,q=(null==(l=u.quadrantChart)?void 0:l.chartHeight)||500;(0,a.i)(f,q,p,(null==(o=u.quadrantChart)?void 0:o.useMaxWidth)||!0),f.attr("viewBox","0 0 "+p+" "+q),r.db.setHeight(q),r.db.setWidth(p);const T=r.db.getQuadrantData(),m=y.append("g").attr("class","quadrants"),A=y.append("g").attr("class","border"),_=y.append("g").attr("class","data-points"),b=y.append("g").attr("class","labels"),S=y.append("g").attr("class","title");T.title&&S.append("text").attr("x",0).attr("y",0).attr("fill",T.title.fill).attr("font-size",T.title.fontSize).attr("dominant-baseline",h(T.title.horizontalPos)).attr("text-anchor",c(T.title.verticalPos)).attr("transform",d(T.title)).text(T.title.text),T.borderLines&&A.selectAll("line").data(T.borderLines).enter().append("line").attr("x1",(t=>t.x1)).attr("y1",(t=>t.y1)).attr("x2",(t=>t.x2)).attr("y2",(t=>t.y2)).style("stroke",(t=>t.strokeFill)).style("stroke-width",(t=>t.strokeWidth));const k=m.selectAll("g.quadrant").data(T.quadrants).enter().append("g").attr("class","quadrant");k.append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)),k.append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>h(t.text.horizontalPos))).attr("text-anchor",(t=>c(t.text.verticalPos))).attr("transform",(t=>d(t.text))).text((t=>t.text.text)),b.selectAll("g.label").data(T.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((t=>t.text)).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>h(t.horizontalPos))).attr("text-anchor",(t=>c(t.verticalPos))).attr("transform",(t=>d(t)));const F=_.selectAll("g.data-point").data(T.points).enter().append("g").attr("class","data-point");F.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)),F.append("text").attr("x",0).attr("y",0).text((t=>t.text.text)).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>h(t.text.horizontalPos))).attr("text-anchor",(t=>c(t.text.verticalPos))).attr("transform",(t=>d(t.text)))}},styles:()=>""}}}]); \ No newline at end of file diff --git a/assets/chunk.98051d484e65792673e9.js.br b/assets/chunk.98051d484e65792673e9.js.br new file mode 100644 index 00000000..48b1b6e8 Binary files /dev/null and b/assets/chunk.98051d484e65792673e9.js.br differ diff --git a/assets/chunk.98051d484e65792673e9.js.gz b/assets/chunk.98051d484e65792673e9.js.gz new file mode 100644 index 00000000..eed58fa2 Binary files /dev/null and b/assets/chunk.98051d484e65792673e9.js.gz differ diff --git a/assets/chunk.9c7eacf0d7f9f80bae4f.js b/assets/chunk.9c7eacf0d7f9f80bae4f.js new file mode 100644 index 00000000..52ac2b40 --- /dev/null +++ b/assets/chunk.9c7eacf0d7f9f80bae4f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[794],{1057:(e,t,n)=>{n.d(t,{H:()=>l});var r=n(31426);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.AV(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},31426:(e,t,n)=>{n.d(t,{AV:()=>c,De:()=>o,c$:()=>p,gh:()=>a,nh:()=>d});var r=n(82051),l=n(38074);function o(e,t){return!!e.children(t).length}function a(e){return i(e.v)+":"+i(e.w)+":"+i(e.name)}var s=/:/g;function i(e){return e?String(e).replace(s,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.A(n)){var o=n.transition;if(l.A(o))return o(e)}return e}},40953:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(70296),l=n(36173);const o=(e,t)=>r.A.lang.round(l.A.parse(e)[t])},34794:(e,t,n)=>{n.d(t,{diagram:()=>a});var r=n(31591),l=n(15473),o=n(59659);n(84017),n(33104),n(72794),n(7160),n(92329),n(88641),n(31998);const a={parser:r.p,db:r.f,renderer:l.f,styles:l.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,o.p)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),l.f.setConf(e.flowchart),r.f.clear(),r.f.setGen("gen-2")}}},15473:(e,t,n)=>{n.d(t,{a:()=>f,f:()=>w});var r=n(33104),l=n(84017),o=n(59659),a=n(99278),s=n(1057),i=n(40953),c=n(57494);const d={},p=async function(e,t,n,r,l,a){const i=r.select(`[id="${n}"]`),c=Object.keys(e);for(const n of c){const r=e[n];let c="default";r.classes.length>0&&(c=r.classes.join(" ")),c+=" flowchart-label";const d=(0,o.k)(r.styles);let p,b=void 0!==r.text?r.text:r.id;if(o.l.info("vertex",r,r.labelType),"markdown"===r.labelType)o.l.info("vertex",r,r.labelType);else if((0,o.m)((0,o.c)().flowchart.htmlLabels)){const e={label:b};p=(0,s.H)(i,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=b.split(o.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let w=0,f="";switch(r.type){case"round":w=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}const h=await(0,o.r)(b,(0,o.c)());t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:h,labelType:r.labelType,rx:w,ry:w,class:c,style:d.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:a.db.getTooltip(r.id)||"",domId:a.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,o.c)().flowchart.padding}),o.l.info("setNode",{labelStyle:d.labelStyle,labelType:r.labelType,shape:f,labelText:h,rx:w,ry:w,class:c,style:d.style,id:r.id,domId:a.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,o.c)().flowchart.padding})}},b=async function(e,t,n){o.l.info("abc78 edges = ",e);let r,a,s=0,i={};if(void 0!==e.defaultStyle){const t=(0,o.k)(e.defaultStyle);r=t.style,a=t.labelStyle}for(const n of e){s++;const c="L-"+n.start+"-"+n.end;void 0===i[c]?(i[c]=0,o.l.info("abc78 new entry",c,i[c])):(i[c]++,o.l.info("abc78 new entry",c,i[c]));let p=c+"-"+i[c];o.l.info("abc78 new link id to be used is",c,p,i[c]);const b="LS-"+n.start,w="LE-"+n.end,f={style:"",labelStyle:""};switch(f.minlen=n.length||1,"arrow_open"===n.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let h="",u="";switch(n.stroke){case"normal":h="fill:none;",void 0!==r&&(h=r),void 0!==a&&(u=a),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,o.k)(n.style);h=e.style,u=e.labelStyle}f.style=f.style+=h,f.labelStyle=f.labelStyle+=u,void 0!==n.interpolate?f.curve=(0,o.n)(n.interpolate,l.lUB):void 0!==e.defaultInterpolate?f.curve=(0,o.n)(e.defaultInterpolate,l.lUB):f.curve=(0,o.n)(d.curve,l.lUB),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=n.labelType,f.label=await(0,o.r)(n.text.replace(o.e.lineBreakRegex,"\n"),(0,o.c)()),void 0===n.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=p,f.classes="flowchart-link "+b+" "+w,t.setEdge(n.start,n.end,f,s)}},w={setConf:function(e){const t=Object.keys(e);for(const n of t)d[n]=e[n]},addVertices:p,addEdges:b,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,s){o.l.info("Drawing flowchart");let i=s.db.getDirection();void 0===i&&(i="TD");const{securityLevel:c,flowchart:d}=(0,o.c)(),w=d.nodeSpacing||50,f=d.rankSpacing||50;let h;"sandbox"===c&&(h=(0,l.Ltv)("#i"+t));const u="sandbox"===c?(0,l.Ltv)(h.nodes()[0].contentDocument.body):(0,l.Ltv)("body"),g="sandbox"===c?h.nodes()[0].contentDocument:document,y=new r.T({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:w,ranksep:f,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let k;const x=s.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)k=x[e],o.l.info("Subgraph - ",k),s.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=s.db.getVertices(),m=s.db.getEdges();o.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,l.Ubm)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .katex path {\n fill: #000;\n stroke: #000;\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${(e=>{const t=i.A,n=t(e,"r"),r=t(e,"g"),l=t(e,"b");return c.A(n,r,l,.5)})(e.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}]); \ No newline at end of file diff --git a/assets/chunk.9c7eacf0d7f9f80bae4f.js.br b/assets/chunk.9c7eacf0d7f9f80bae4f.js.br new file mode 100644 index 00000000..4fbfcc6e Binary files /dev/null and b/assets/chunk.9c7eacf0d7f9f80bae4f.js.br differ diff --git a/assets/chunk.9c7eacf0d7f9f80bae4f.js.gz b/assets/chunk.9c7eacf0d7f9f80bae4f.js.gz new file mode 100644 index 00000000..d2d7252a Binary files /dev/null and b/assets/chunk.9c7eacf0d7f9f80bae4f.js.gz differ diff --git a/assets/chunk.b0bb8bcc394c2cd28614.js b/assets/chunk.b0bb8bcc394c2cd28614.js new file mode 100644 index 00000000..172f9652 --- /dev/null +++ b/assets/chunk.b0bb8bcc394c2cd28614.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[398],{75398:(t,e,a)=>{a.d(e,{a:()=>l,b:()=>T,c:()=>o,d:()=>H,e:()=>S,f:()=>I,g:()=>_,h:()=>U,i:()=>x,j:()=>D,k:()=>P,l:()=>d,m:()=>R,p:()=>B,s:()=>M,u:()=>h});var r=a(59659),n=a(84017),i=a(73498);const s={extension:(t,e,a)=>{r.l.trace("Making markers for ",a),t.append("defs").append("marker").attr("id",a+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",a+"_"+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")},composition:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+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",a+"_"+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")},aggregation:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+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",a+"_"+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")},dependency:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+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",a+"_"+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")},lollipop:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+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("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",a+"_"+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("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},point:(t,e,a)=>{t.append("marker").attr("id",a+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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",a+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).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")},circle:(t,e,a)=>{t.append("marker").attr("id",a+"_"+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",a+"_"+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")},cross:(t,e,a)=>{t.append("marker").attr("id",a+"_"+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",a+"_"+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")},barb:(t,e,a)=>{t.append("defs").append("marker").attr("id",a+"_"+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 L9,13 L14,7 L9,1 Z")}},l=(t,e,a,r)=>{e.forEach((e=>{s[e](t,a,r)}))},o=(t,e,a,i)=>{let s=t||"";if("object"==typeof s&&(s=s[0]),(0,r.m)((0,r.c)().flowchart.htmlLabels)){return s=s.replace(/\\n|\n/g,"
"),r.l.debug("vertexText"+s),function(t){const e=(0,n.Ltv)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=e.append("xhtml:div"),r=t.label,i=t.isNode?"nodeLabel":"edgeLabel";var s;return a.html('"+r+""),(s=t.labelStyle)&&a.attr("style",s),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:i,label:(0,r.M)(s).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>``)),labelStyle:e.replace("fill:","color:")})}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let r=[];r="string"==typeof s?s.split(/\\n|\n|/gi):Array.isArray(s)?s:[];for(const e of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),a?r.setAttribute("class","title-row"):r.setAttribute("class","row"),r.textContent=e.trim(),t.appendChild(r)}return t}},d=async(t,e,a,s)=>{let l;const d=e.useHtmlLabels||(0,r.m)((0,r.c)().flowchart.htmlLabels);l=a||"node default";const h=t.insert("g").attr("class",l).attr("id",e.domId||e.id),c=h.insert("g").attr("class","label").attr("style",e.labelStyle);let y;y=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const p=c.node();let g;g="markdown"===e.labelType?(0,i.a)(c,(0,r.d)((0,r.M)(y),(0,r.c)()),{useHtmlLabels:d,width:e.width||(0,r.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):p.appendChild(o((0,r.d)((0,r.M)(y),(0,r.c)()),e.labelStyle,!1,s));let x=g.getBBox();const f=e.padding/2;if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=g.children[0],e=(0,n.Ltv)(g),a=t.getElementsByTagName("img");if(a){const t=""===y.replace(/]*>/g,"").trim();await Promise.all([...a].map((e=>new Promise((a=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,r.c)().fontSize?(0,r.c)().fontSize:window.getComputedStyle(document.body).fontSize,a=5,n=parseInt(t,10)*a+"px";e.style.minWidth=n,e.style.maxWidth=n}else e.style.width="100%";a(e)}setTimeout((()=>{e.complete&&n()})),e.addEventListener("error",n),e.addEventListener("load",n)})))))}x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}return d?c.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"):c.attr("transform","translate(0, "+-x.height/2+")"),e.centerLabel&&c.attr("transform","translate("+-x.width/2+", "+-x.height/2+")"),c.insert("rect",":first-child"),{shapeSvg:h,bbox:x,halfPadding:f,label:c}},h=(t,e)=>{const a=e.node().getBBox();t.width=a.width,t.height=a.height};function c(t,e,a,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+a/2+")")}function y(t,e,a,r){var n=t.x,i=t.y,s=n-r.x,l=i-r.y,o=Math.sqrt(e*e*l*l+a*a*s*s),d=Math.abs(e*a*s/o);r.x0}const x=(t,e)=>{var a,r,n=t.x,i=t.y,s=e.x-n,l=e.y-i,o=t.width/2,d=t.height/2;return Math.abs(l)*o>Math.abs(s)*d?(l<0&&(d=-d),a=0===l?0:d*s/l,r=d):(s<0&&(o=-o),a=o,r=0===s?0:o*l/s),{x:n+a,y:i+r}},f={node:function(t,e){return t.intersect(e)},circle:function(t,e,a){return y(t,e,e,a)},ellipse:y,polygon:function(t,e,a){var r=t.x,n=t.y,i=[],s=Number.POSITIVE_INFINITY,l=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){s=Math.min(s,t.x),l=Math.min(l,t.y)})):(s=Math.min(s,e.x),l=Math.min(l,e.y));for(var o=r-t.width/2-s,d=n-t.height/2-l,h=0;h1&&i.sort((function(t,e){var r=t.x-a.x,n=t.y-a.y,i=Math.sqrt(r*r+n*n),s=e.x-a.x,l=e.y-a.y,o=Math.sqrt(s*s+l*l);return it?" "+t:"",w=(t,e)=>`${e||"node default"}${u(t.classes)} ${u(t.class)}`,b=async(t,e)=>{const{shapeSvg:a,bbox:n}=await d(t,e,w(e,void 0),!0),i=n.width+e.padding+(n.height+e.padding),s=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}];r.l.info("Question main (Circle)");const l=c(a,i,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return r.l.warn("Intersect called"),f.polygon(e,s,t)},a};function m(t,e,a,n){const i=[],s=t=>{i.push(t,0)},l=t=>{i.push(0,t)};e.includes("t")?(r.l.debug("add top border"),s(a)):l(a),e.includes("r")?(r.l.debug("add right border"),s(n)):l(n),e.includes("b")?(r.l.debug("add bottom border"),s(a)):l(a),e.includes("l")?(r.l.debug("add left border"),s(n)):l(n),t.attr("stroke-dasharray",i.join(" "))}const k=(t,e,a)=>{const r=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let n=70,i=10;"LR"===a&&(n=10,i=70);const s=r.append("rect").attr("x",-1*n/2).attr("y",-1*i/2).attr("width",n).attr("height",i).attr("class","fork-join");return h(e,s),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return f.rect(e,t)},r},v={rhombus:b,composite:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,"node "+e.classes,!0),s=a.insert("rect",":first-child"),l=e.positioned?e.width:n.width+e.padding,o=e.positioned?e.height:n.height+e.padding,c=e.positioned?-l/2:-n.width/2-i,y=e.positioned?-o/2:-n.height/2-i;if(s.attr("class","basic cluster composite label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",y).attr("width",l).attr("height",o),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(m(s,e.props.borders,l,o),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},question:b,rect:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,"node "+e.classes+" "+e.class,!0),s=a.insert("rect",":first-child"),l=e.positioned?e.width:n.width+e.padding,o=e.positioned?e.height:n.height+e.padding,c=e.positioned?-l/2:-n.width/2-i,y=e.positioned?-o/2:-n.height/2-i;if(s.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",c).attr("y",y).attr("width",l).attr("height",o),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(m(s,e.props.borders,l,o),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},labelRect:async(t,e)=>{const{shapeSvg:a}=await d(t,e,"label",!0);r.l.trace("Classes = ",e.class);const n=a.insert("rect",":first-child");if(n.attr("width",0).attr("height",0),a.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(m(n,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{r.l.warn(`Unknown node property ${t}`)}))}return h(e,n),e.intersect=function(t){return f.rect(e,t)},a},rectWithTitle:(t,e)=>{let a;a=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",a).attr("id",e.domId||e.id),s=i.insert("rect",":first-child"),l=i.insert("line"),d=i.insert("g").attr("class","label"),c=e.labelText.flat?e.labelText.flat():e.labelText;let y="";y="object"==typeof c?c[0]:c,r.l.info("Label text abc79",y,c,"object"==typeof c);const p=d.node().appendChild(o(y,e.labelStyle,!0,!0));let g={width:0,height:0};if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=p.children[0],e=(0,n.Ltv)(p);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}r.l.info("Text 2",c);const x=c.slice(1,c.length);let u=p.getBBox();const w=d.node().appendChild(o(x.join?x.join("
"):x,e.labelStyle,!0,!0));if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=w.children[0],e=(0,n.Ltv)(w);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}const b=e.padding/2;return(0,n.Ltv)(w).attr("transform","translate( "+(g.width>u.width?0:(u.width-g.width)/2)+", "+(u.height+b+5)+")"),(0,n.Ltv)(p).attr("transform","translate( "+(g.width{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return a.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return f.circle(e,14,t)},a},circle:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,w(e,void 0),!0),s=a.insert("circle",":first-child");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),r.l.info("Circle main"),h(e,s),e.intersect=function(t){return r.l.info("Circle intersect",e,n.width/2+i,t),f.circle(e,n.width/2+i,t)},a},doublecircle:async(t,e)=>{const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,w(e,void 0),!0),s=a.insert("g",":first-child"),l=s.insert("circle"),o=s.insert("circle");return s.attr("class",e.class),l.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i+5).attr("width",n.width+e.padding+10).attr("height",n.height+e.padding+10),o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",n.width/2+i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),r.l.info("DoubleCircle main"),h(e,l),e.intersect=function(t){return r.l.info("DoubleCircle intersect",e,n.width/2+i+5,t),f.circle(e,n.width/2+i+5,t)},a},stadium:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.height+e.padding,i=r.width+n/4+e.padding,s=a.insert("rect",":first-child").attr("style",e.style).attr("rx",n/2).attr("ry",n/2).attr("x",-i/2).attr("y",-n/2).attr("width",i).attr("height",n);return h(e,s),e.intersect=function(t){return f.rect(e,t)},a},hexagon:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.height+e.padding,i=n/4,s=r.width+2*i+e.padding,l=[{x:i,y:0},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],o=c(a,s,n,l);return o.attr("style",e.style),h(e,o),e.intersect=function(t){return f.polygon(e,l,t)},a},block_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,void 0,!0),n=r.height+2*e.padding,i=n/2,s=r.width+2*i+e.padding,l=((t,e,a)=>{const r=(t=>{const e=new Set;for(const a of t)switch(a){case"x":e.add("right"),e.add("left");break;case"y":e.add("up"),e.add("down");break;default:e.add(a)}return e})(t),n=e.height+2*a.padding,i=n/2,s=e.width+2*i+a.padding,l=a.padding/2;return r.has("right")&&r.has("left")&&r.has("up")&&r.has("down")?[{x:0,y:0},{x:i,y:0},{x:s/2,y:2*l},{x:s-i,y:0},{x:s,y:0},{x:s,y:-n/3},{x:s+2*l,y:-n/2},{x:s,y:-2*n/3},{x:s,y:-n},{x:s-i,y:-n},{x:s/2,y:-n-2*l},{x:i,y:-n},{x:0,y:-n},{x:0,y:-2*n/3},{x:-2*l,y:-n/2},{x:0,y:-n/3}]:r.has("right")&&r.has("left")&&r.has("up")?[{x:i,y:0},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}]:r.has("right")&&r.has("left")&&r.has("down")?[{x:0,y:0},{x:i,y:-n},{x:s-i,y:-n},{x:s,y:0}]:r.has("right")&&r.has("up")&&r.has("down")?[{x:0,y:0},{x:s,y:-i},{x:s,y:-n+i},{x:0,y:-n}]:r.has("left")&&r.has("up")&&r.has("down")?[{x:s,y:0},{x:0,y:-i},{x:0,y:-n+i},{x:s,y:-n}]:r.has("right")&&r.has("left")?[{x:i,y:0},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n},{x:0,y:-n/2}]:r.has("up")&&r.has("down")?[{x:s/2,y:0},{x:0,y:-l},{x:i,y:-l},{x:i,y:-n+l},{x:0,y:-n+l},{x:s/2,y:-n},{x:s,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l},{x:s,y:-l}]:r.has("right")&&r.has("up")?[{x:0,y:0},{x:s,y:-i},{x:0,y:-n}]:r.has("right")&&r.has("down")?[{x:0,y:0},{x:s,y:0},{x:0,y:-n}]:r.has("left")&&r.has("up")?[{x:s,y:0},{x:0,y:-i},{x:s,y:-n}]:r.has("left")&&r.has("down")?[{x:s,y:0},{x:0,y:0},{x:s,y:-n}]:r.has("right")?[{x:i,y:-l},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:0},{x:s,y:-n/2},{x:s-i,y:-n},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n+l}]:r.has("left")?[{x:i,y:0},{x:i,y:-l},{x:s-i,y:-l},{x:s-i,y:-n+l},{x:i,y:-n+l},{x:i,y:-n},{x:0,y:-n/2}]:r.has("up")?[{x:i,y:-l},{x:i,y:-n+l},{x:0,y:-n+l},{x:s/2,y:-n},{x:s,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l}]:r.has("down")?[{x:s/2,y:0},{x:0,y:-l},{x:i,y:-l},{x:i,y:-n+l},{x:s-i,y:-n+l},{x:s-i,y:-l},{x:s,y:-l}]:[{x:0,y:0}]})(e.directions,r,e),o=c(a,s,n,l);return o.attr("style",e.style),h(e,o),e.intersect=function(t){return f.polygon(e,l,t)},a},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-i/2,y:0},{x:n,y:0},{x:n,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}];return c(a,n,i,s).attr("style",e.style),e.width=n+i,e.height=i,e.intersect=function(t){return f.polygon(e,s,t)},a},lean_right:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-2*i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},lean_left:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:2*i/6,y:0},{x:n+i/6,y:0},{x:n-2*i/6,y:-i},{x:-i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},trapezoid:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:-2*i/6,y:0},{x:n+2*i/6,y:0},{x:n-i/6,y:-i},{x:i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},inv_trapezoid:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:i/6,y:0},{x:n-i/6,y:0},{x:n+2*i/6,y:-i},{x:-2*i/6,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:0,y:0},{x:n+i/2,y:0},{x:n,y:-i/2},{x:n+i/2,y:-i},{x:0,y:-i}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},cylinder:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=n/2,s=i/(2.5+n/50),l=r.height+s+e.padding,o="M 0,"+s+" a "+i+","+s+" 0,0,0 "+n+" 0 a "+i+","+s+" 0,0,0 "+-n+" 0 l 0,"+l+" a "+i+","+s+" 0,0,0 "+n+" 0 l 0,"+-l,c=a.attr("label-offset-y",s).insert("path",":first-child").attr("style",e.style).attr("d",o).attr("transform","translate("+-n/2+","+-(l/2+s)+")");return h(e,c),e.intersect=function(t){const a=f.rect(e,t),r=a.x-e.x;if(0!=i&&(Math.abs(r)e.height/2-s)){let n=s*s*(1-r*r/(i*i));0!=n&&(n=Math.sqrt(n)),n=s-n,t.y-e.y>0&&(n=-n),a.y+=n}return a},a},start:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=a.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),h(e,r),e.intersect=function(t){return f.circle(e,7,t)},a},end:(t,e)=>{const a=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),r=a.insert("circle",":first-child"),n=a.insert("circle",":first-child");return n.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),r.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),h(e,n),e.intersect=function(t){return f.circle(e,7,t)},a},note:async(t,e)=>{e.useHtmlLabels||(0,r.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:a,bbox:n,halfPadding:i}=await d(t,e,"node "+e.classes,!0);r.l.info("Classes = ",e.classes);const s=a.insert("rect",":first-child");return s.attr("rx",e.rx).attr("ry",e.ry).attr("x",-n.width/2-i).attr("y",-n.height/2-i).attr("width",n.width+e.padding).attr("height",n.height+e.padding),h(e,s),e.intersect=function(t){return f.rect(e,t)},a},subroutine:async(t,e)=>{const{shapeSvg:a,bbox:r}=await d(t,e,w(e,void 0),!0),n=r.width+e.padding,i=r.height+e.padding,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-i},{x:0,y:-i},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-i},{x:-8,y:-i},{x:-8,y:0}],l=c(a,n,i,s);return l.attr("style",e.style),h(e,l),e.intersect=function(t){return f.polygon(e,s,t)},a},fork:k,join:k,class_box:(t,e)=>{const a=e.padding/2;let i;i=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",i).attr("id",e.domId||e.id),l=s.insert("rect",":first-child"),d=s.insert("line"),c=s.insert("line");let y=0,p=4;const g=s.insert("g").attr("class","label");let x=0;const u=e.classData.annotations&&e.classData.annotations[0],w=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",b=g.node().appendChild(o(w,e.labelStyle,!0,!0));let m=b.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=b.children[0],e=(0,n.Ltv)(b);m=t.getBoundingClientRect(),e.attr("width",m.width),e.attr("height",m.height)}e.classData.annotations[0]&&(p+=m.height+4,y+=m.width);let k=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,r.c)().flowchart.htmlLabels?k+="<"+e.classData.type+">":k+="<"+e.classData.type+">");const v=g.node().appendChild(o(k,e.labelStyle,!0,!0));(0,n.Ltv)(v).attr("class","classTitle");let L=v.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=v.children[0],e=(0,n.Ltv)(v);L=t.getBoundingClientRect(),e.attr("width",L.width),e.attr("height",L.height)}p+=L.height+4,L.width>y&&(y=L.width);const S=[];e.classData.members.forEach((t=>{const a=t.getDisplayDetails();let i=a.displayText;(0,r.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const s=g.node().appendChild(o(i,a.cssStyle?a.cssStyle:e.labelStyle,!0,!0));let l=s.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,n.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l.width>y&&(y=l.width),p+=l.height+4,S.push(s)})),p+=8;const M=[];if(e.classData.methods.forEach((t=>{const a=t.getDisplayDetails();let i=a.displayText;(0,r.c)().flowchart.htmlLabels&&(i=i.replace(//g,">"));const s=g.node().appendChild(o(i,a.cssStyle?a.cssStyle:e.labelStyle,!0,!0));let l=s.getBBox();if((0,r.m)((0,r.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,n.Ltv)(s);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l.width>y&&(y=l.width),p+=l.height+4,M.push(s)})),p+=8,u){let t=(y-m.width)/2;(0,n.Ltv)(b).attr("transform","translate( "+(-1*y/2+t)+", "+-1*p/2+")"),x=m.height+4}let T=(y-L.width)/2;return(0,n.Ltv)(v).attr("transform","translate( "+(-1*y/2+T)+", "+(-1*p/2+x)+")"),x+=L.height+4,d.attr("class","divider").attr("x1",-y/2-a).attr("x2",y/2+a).attr("y1",-p/2-a+8+x).attr("y2",-p/2-a+8+x),x+=8,S.forEach((t=>{(0,n.Ltv)(t).attr("transform","translate( "+-y/2+", "+(-1*p/2+x+4)+")");const e=null==t?void 0:t.getBBox();x+=((null==e?void 0:e.height)??0)+4})),x+=8,c.attr("class","divider").attr("x1",-y/2-a).attr("x2",y/2+a).attr("y1",-p/2-a+8+x).attr("y2",-p/2-a+8+x),x+=8,M.forEach((t=>{(0,n.Ltv)(t).attr("transform","translate( "+-y/2+", "+(-1*p/2+x)+")");const e=null==t?void 0:t.getBBox();x+=((null==e?void 0:e.height)??0)+4})),l.attr("style",e.style).attr("class","outer title-state").attr("x",-y/2-a).attr("y",-p/2-a).attr("width",y+e.padding).attr("height",p+e.padding),h(e,l),e.intersect=function(t){return f.rect(e,t)},s}};let L={};const S=async(t,e,a)=>{let n,i;if(e.link){let s;"sandbox"===(0,r.c)().securityLevel?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),n=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s),i=await v[e.shape](n,e,a)}else i=await v[e.shape](t,e,a),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.class&&i.attr("class","node default "+e.class),n.attr("data-node","true"),n.attr("data-id",e.id),L[e.id]=n,e.haveCallback&&L[e.id].attr("class",L[e.id].attr("class")+" clickable"),n},M=(t,e)=>{L[e.id]=t},T=()=>{L={}},B=t=>{const e=L[t.id];r.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const a=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+a-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),a},_=({flowchart:t})=>{var e,a;const r=(null==(e=null==t?void 0:t.subGraphTitleMargin)?void 0:e.top)??0,n=(null==(a=null==t?void 0:t.subGraphTitleMargin)?void 0:a.bottom)??0;return{subGraphTitleTopMargin:r,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:r+n}},C={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function E(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=$(t),e=$(e);const[a,r]=[t.x,t.y],[n,i]=[e.x,e.y],s=n-a,l=i-r;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}const $=t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,P=t=>({x:function(e,a,r){let n=0;if(0===a&&Object.hasOwn(C,t.arrowTypeStart)){const{angle:e,deltaX:a}=E(r[0],r[1]);n=C[t.arrowTypeStart]*Math.cos(e)*(a>=0?1:-1)}else if(a===r.length-1&&Object.hasOwn(C,t.arrowTypeEnd)){const{angle:e,deltaX:a}=E(r[r.length-1],r[r.length-2]);n=C[t.arrowTypeEnd]*Math.cos(e)*(a>=0?1:-1)}return $(e).x+n},y:function(e,a,r){let n=0;if(0===a&&Object.hasOwn(C,t.arrowTypeStart)){const{angle:e,deltaY:a}=E(r[0],r[1]);n=C[t.arrowTypeStart]*Math.abs(Math.sin(e))*(a>=0?1:-1)}else if(a===r.length-1&&Object.hasOwn(C,t.arrowTypeEnd)){const{angle:e,deltaY:a}=E(r[r.length-1],r[r.length-2]);n=C[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(a>=0?1:-1)}return $(e).y+n}}),R=(t,e,a,r,n)=>{e.arrowTypeStart&&O(t,"start",e.arrowTypeStart,a,r,n),e.arrowTypeEnd&&O(t,"end",e.arrowTypeEnd,a,r,n)},Y={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},O=(t,e,a,n,i,s)=>{const l=Y[a];if(!l)return void r.l.warn(`Unknown arrow type: ${a}`);const o="start"===e?"Start":"End";t.attr(`marker-${e}`,`url(${n}#${i}_${s}-${l}${o})`)};let W={},X={};const H=()=>{W={},X={}},I=(t,e)=>{const a=(0,r.m)((0,r.c)().flowchart.htmlLabels),s="markdown"===e.labelType?(0,i.a)(t,e.label,{style:e.labelStyle,useHtmlLabels:a,addSvgBackground:!0}):o(e.label,e.labelStyle),l=t.insert("g").attr("class","edgeLabel"),d=l.insert("g").attr("class","label");d.node().appendChild(s);let h,c=s.getBBox();if(a){const t=s.children[0],e=(0,n.Ltv)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}if(d.attr("transform","translate("+-c.width/2+", "+-c.height/2+")"),W[e.id]=l,e.width=c.width,e.height=c.height,e.startLabelLeft){const a=o(e.startLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),X[e.id]||(X[e.id]={}),X[e.id].startLeft=r,j(h,e.startLabelLeft)}if(e.startLabelRight){const a=o(e.startLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=r.node().appendChild(a),n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),X[e.id]||(X[e.id]={}),X[e.id].startRight=r,j(h,e.startLabelRight)}if(e.endLabelLeft){const a=o(e.endLabelLeft,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),r.node().appendChild(a),X[e.id]||(X[e.id]={}),X[e.id].endLeft=r,j(h,e.endLabelLeft)}if(e.endLabelRight){const a=o(e.endLabelRight,e.labelStyle),r=t.insert("g").attr("class","edgeTerminals"),n=r.insert("g").attr("class","inner");h=n.node().appendChild(a);const i=a.getBBox();n.attr("transform","translate("+-i.width/2+", "+-i.height/2+")"),r.node().appendChild(a),X[e.id]||(X[e.id]={}),X[e.id].endRight=r,j(h,e.endLabelRight)}return s};function j(t,e){(0,r.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const D=(t,e)=>{r.l.debug("Moving label abc88 ",t.id,t.label,W[t.id],e);let a=e.updatedPath?e.updatedPath:e.originalPath;const n=(0,r.c)(),{subGraphTitleTotalMargin:i}=_(n);if(t.label){const n=W[t.id];let s=t.x,l=t.y;if(a){const n=r.u.calcLabelPosition(a);r.l.debug("Moving label "+t.label+" from (",s,",",l,") to (",n.x,",",n.y,") abc88"),e.updatedPath&&(s=n.x,l=n.y)}n.attr("transform",`translate(${s}, ${l+i/2})`)}if(t.startLabelLeft){const e=X[t.id].startLeft;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.startLabelRight){const e=X[t.id].startRight;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelLeft){const e=X[t.id].endLeft;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}if(t.endLabelRight){const e=X[t.id].endRight;let n=t.x,i=t.y;if(a){const e=r.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",a);n=e.x,i=e.y}e.attr("transform",`translate(${n}, ${i})`)}},N=(t,e)=>{r.l.debug("abc88 cutPathAtIntersect",t,e);let a=[],n=t[0],i=!1;return t.forEach((t=>{if(((t,e)=>{const a=t.x,r=t.y,n=Math.abs(e.x-a),i=Math.abs(e.y-r),s=t.width/2,l=t.height/2;return n>=s||i>=l})(e,t)||i)n=t,i||a.push(t);else{const s=((t,e,a)=>{r.l.debug(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(a)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const n=t.x,i=t.y,s=Math.abs(n-a.x),l=t.width/2;let o=a.xMath.abs(n-e.x)*d){let t=a.y{l=l||t.x===s.x&&t.y===s.y})),a.some((t=>t.x===s.x&&t.y===s.y))||a.push(s),i=!0}})),a},U=function(t,e,a,i,s,l,o){let d=a.points;r.l.debug("abc88 InsertEdge: edge=",a,"e=",e);let h=!1;const c=l.node(e.v);var y=l.node(e.w);(null==y?void 0:y.intersect)&&(null==c?void 0:c.intersect)&&(d=d.slice(1,a.points.length-1),d.unshift(c.intersect(d[0])),d.push(y.intersect(d[d.length-1]))),a.toCluster&&(r.l.debug("to cluster abc88",i[a.toCluster]),d=N(a.points,i[a.toCluster].node),h=!0),a.fromCluster&&(r.l.debug("from cluster abc88",i[a.fromCluster]),d=N(d.reverse(),i[a.fromCluster].node).reverse(),h=!0);const p=d.filter((t=>!Number.isNaN(t.y)));let g=n.qrM;!a.curve||"graph"!==s&&"flowchart"!==s||(g=a.curve);const{x,y:f}=P(a),u=(0,n.n8j)().x(x).y(f).curve(g);let w;switch(a.thickness){case"normal":w="edge-thickness-normal";break;case"thick":case"invisible":w="edge-thickness-thick";break;default:w=""}switch(a.pattern){case"solid":w+=" edge-pattern-solid";break;case"dotted":w+=" edge-pattern-dotted";break;case"dashed":w+=" edge-pattern-dashed"}const b=t.append("path").attr("d",u(p)).attr("id",a.id).attr("class"," "+w+(a.classes?" "+a.classes:"")).attr("style",a.style);let m="";((0,r.c)().flowchart.arrowMarkerAbsolute||(0,r.c)().state.arrowMarkerAbsolute)&&(m=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,m=m.replace(/\(/g,"\\("),m=m.replace(/\)/g,"\\)")),R(b,a,m,o,s);let k={};return h&&(k.updatedPath=d),k.originalPath=a.points,k}}}]); \ No newline at end of file diff --git a/assets/chunk.b0bb8bcc394c2cd28614.js.br b/assets/chunk.b0bb8bcc394c2cd28614.js.br new file mode 100644 index 00000000..3a3cc93e Binary files /dev/null and b/assets/chunk.b0bb8bcc394c2cd28614.js.br differ diff --git a/assets/chunk.b0bb8bcc394c2cd28614.js.gz b/assets/chunk.b0bb8bcc394c2cd28614.js.gz new file mode 100644 index 00000000..3417be3c Binary files /dev/null and b/assets/chunk.b0bb8bcc394c2cd28614.js.gz differ diff --git a/assets/chunk.b3cac379dd7cadbf1142.js b/assets/chunk.b3cac379dd7cadbf1142.js new file mode 100644 index 00000000..7f14d1a1 --- /dev/null +++ b/assets/chunk.b3cac379dd7cadbf1142.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[399],{1057:(e,t,n)=>{n.d(t,{H:()=>l});var r=n(31426);function l(e,t){var n=e.append("foreignObject").attr("width","100000"),l=n.append("xhtml:div");l.attr("xmlns","http://www.w3.org/1999/xhtml");var o=t.label;switch(typeof o){case"function":l.insert(o);break;case"object":l.insert((function(){return o}));break;default:l.html(o)}r.AV(l,t.labelStyle),l.style("display","inline-block"),l.style("white-space","nowrap");var a=l.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},31426:(e,t,n)=>{n.d(t,{AV:()=>c,De:()=>o,c$:()=>p,gh:()=>a,nh:()=>d});var r=n(82051),l=n(38074);function o(e,t){return!!e.children(t).length}function a(e){return i(e.v)+":"+i(e.w)+":"+i(e.name)}var s=/:/g;function i(e){return e?String(e).replace(s,"\\:"):""}function c(e,t){t&&e.attr("style",t)}function d(e,t,n){t&&e.attr("class",t).attr("class",n+" "+e.attr("class"))}function p(e,t){var n=t.graph();if(r.A(n)){var o=n.transition;if(l.A(o))return o(e)}return e}},40953:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(70296),l=n(36173);const o=(e,t)=>r.A.lang.round(l.A.parse(e)[t])},30399:(e,t,n)=>{n.d(t,{diagram:()=>s});var r=n(31591),l=(n(33104),n(84017));n(59659),n(35662),n(53708),n(65866),n(72794),n(31426),n(1057),n(9104),n(69840),n(29510),l.lUB;var o=n(15473);n(92329),n(88641),n(31998),n(7160);const a={},s={parser:r.p,db:r.f,renderer:o.f,styles:o.a,init:e=>{e.flowchart||(e.flowchart={}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,function(e){const t=Object.keys(e);for(const n of t)a[n]=e[n]}(e.flowchart),r.f.clear(),r.f.setGen("gen-1")}}},15473:(e,t,n)=>{n.d(t,{a:()=>f,f:()=>w});var r=n(33104),l=n(84017),o=n(59659),a=n(99278),s=n(1057),i=n(40953),c=n(57494);const d={},p=async function(e,t,n,r,l,a){const i=r.select(`[id="${n}"]`),c=Object.keys(e);for(const n of c){const r=e[n];let c="default";r.classes.length>0&&(c=r.classes.join(" ")),c+=" flowchart-label";const d=(0,o.k)(r.styles);let p,b=void 0!==r.text?r.text:r.id;if(o.l.info("vertex",r,r.labelType),"markdown"===r.labelType)o.l.info("vertex",r,r.labelType);else if((0,o.m)((0,o.c)().flowchart.htmlLabels)){const e={label:b};p=(0,s.H)(i,e).node(),p.parentNode.removeChild(p)}else{const e=l.createElementNS("http://www.w3.org/2000/svg","text");e.setAttribute("style",d.labelStyle.replace("color:","fill:"));const t=b.split(o.e.lineBreakRegex);for(const n of t){const t=l.createElementNS("http://www.w3.org/2000/svg","tspan");t.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.setAttribute("dy","1em"),t.setAttribute("x","1"),t.textContent=n,e.appendChild(t)}p=e}let w=0,f="";switch(r.type){case"round":w=5,f="rect";break;case"square":case"group":default:f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":case"odd_right":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"doublecircle":f="doublecircle"}const h=await(0,o.r)(b,(0,o.c)());t.setNode(r.id,{labelStyle:d.labelStyle,shape:f,labelText:h,labelType:r.labelType,rx:w,ry:w,class:c,style:d.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:a.db.getTooltip(r.id)||"",domId:a.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:"group"===r.type?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:(0,o.c)().flowchart.padding}),o.l.info("setNode",{labelStyle:d.labelStyle,labelType:r.labelType,shape:f,labelText:h,rx:w,ry:w,class:c,style:d.style,id:r.id,domId:a.db.lookUpDomId(r.id),width:"group"===r.type?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:(0,o.c)().flowchart.padding})}},b=async function(e,t,n){o.l.info("abc78 edges = ",e);let r,a,s=0,i={};if(void 0!==e.defaultStyle){const t=(0,o.k)(e.defaultStyle);r=t.style,a=t.labelStyle}for(const n of e){s++;const c="L-"+n.start+"-"+n.end;void 0===i[c]?(i[c]=0,o.l.info("abc78 new entry",c,i[c])):(i[c]++,o.l.info("abc78 new entry",c,i[c]));let p=c+"-"+i[c];o.l.info("abc78 new link id to be used is",c,p,i[c]);const b="LS-"+n.start,w="LE-"+n.end,f={style:"",labelStyle:""};switch(f.minlen=n.length||1,"arrow_open"===n.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle"}let h="",u="";switch(n.stroke){case"normal":h="fill:none;",void 0!==r&&(h=r),void 0!==a&&(u=a),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";break;case"invisible":f.thickness="invisible",f.pattern="solid",f.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const e=(0,o.k)(n.style);h=e.style,u=e.labelStyle}f.style=f.style+=h,f.labelStyle=f.labelStyle+=u,void 0!==n.interpolate?f.curve=(0,o.n)(n.interpolate,l.lUB):void 0!==e.defaultInterpolate?f.curve=(0,o.n)(e.defaultInterpolate,l.lUB):f.curve=(0,o.n)(d.curve,l.lUB),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType=n.labelType,f.label=await(0,o.r)(n.text.replace(o.e.lineBreakRegex,"\n"),(0,o.c)()),void 0===n.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=p,f.classes="flowchart-link "+b+" "+w,t.setEdge(n.start,n.end,f,s)}},w={setConf:function(e){const t=Object.keys(e);for(const n of t)d[n]=e[n]},addVertices:p,addEdges:b,getClasses:function(e,t){return t.db.getClasses()},draw:async function(e,t,n,s){o.l.info("Drawing flowchart");let i=s.db.getDirection();void 0===i&&(i="TD");const{securityLevel:c,flowchart:d}=(0,o.c)(),w=d.nodeSpacing||50,f=d.rankSpacing||50;let h;"sandbox"===c&&(h=(0,l.Ltv)("#i"+t));const u="sandbox"===c?(0,l.Ltv)(h.nodes()[0].contentDocument.body):(0,l.Ltv)("body"),g="sandbox"===c?h.nodes()[0].contentDocument:document,y=new r.T({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:w,ranksep:f,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let k;const x=s.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let e=x.length-1;e>=0;e--)k=x[e],o.l.info("Subgraph - ",k),s.db.addVertex(k.id,{text:k.title,type:k.labelType},"group",void 0,k.classes,k.dir);const v=s.db.getVertices(),m=s.db.getEdges();o.l.info("Edges",m);let S=0;for(S=x.length-1;S>=0;S--){k=x[S],(0,l.Ubm)("cluster").append("text");for(let e=0;e`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .katex path {\n fill: #000;\n stroke: #000;\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${(e=>{const t=i.A,n=t(e,"r"),r=t(e,"g"),l=t(e,"b");return c.A(n,r,l,.5)})(e.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${e.clusterBkg};\n stroke: ${e.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}]); \ No newline at end of file diff --git a/assets/chunk.b3cac379dd7cadbf1142.js.br b/assets/chunk.b3cac379dd7cadbf1142.js.br new file mode 100644 index 00000000..64504b8c Binary files /dev/null and b/assets/chunk.b3cac379dd7cadbf1142.js.br differ diff --git a/assets/chunk.b3cac379dd7cadbf1142.js.gz b/assets/chunk.b3cac379dd7cadbf1142.js.gz new file mode 100644 index 00000000..3a767186 Binary files /dev/null and b/assets/chunk.b3cac379dd7cadbf1142.js.gz differ diff --git a/assets/chunk.b3f2fefc1f9e9f7d5025.js b/assets/chunk.b3f2fefc1f9e9f7d5025.js new file mode 100644 index 00000000..f751f81c --- /dev/null +++ b/assets/chunk.b3f2fefc1f9e9f7d5025.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[407],{81407:(e,t,r)=>{r.d(t,{default:()=>Qa});class a{constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new a(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class n{constructor(e,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=t}range(e,t){return new n(t,a.range(this,e))}}class i{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,a,n="KaTeX parse error: "+e,o=t&&t.loc;if(o&&o.start<=o.end){var s=o.lexer.input;r=o.start,a=o.end,r===s.length?n+=" at end of input: ":n+=" at position "+(r+1)+": ";var l=s.slice(r,a).replace(/[^]/g,"$&̲");n+=(r>15?"…"+s.slice(r-15,r):s.slice(0,r))+l+(a+15":">","<":"<",'"':""","'":"'"},l=/[&><"']/g,h=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},m=function(e,t){return-1!==e.indexOf(t)},c=function(e,t){return void 0===e?t:e},p=function(e){return String(e).replace(l,(e=>s[e]))},u=function(e){return e.replace(o,"-$1").toLowerCase()},d=h,g=function(e){var t=h(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},f=function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?":"!==t[2]?null:/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?t[1].toLowerCase():null:"_relative"},v={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>"Infinity"===e?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function b(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class y{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},v)if(v.hasOwnProperty(t)){var r=v[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:b(r)}}reportNonstrict(e,t,r){var a=this.strict;if("function"==typeof a&&(a=a(e,t,r)),a&&"ignore"!==a){if(!0===a||"error"===a)throw new i("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",r);"warn"===a?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,r){var a=this.strict;if("function"==typeof a)try{a=a(e,t,r)}catch(e){a="error"}return!(!a||"ignore"===a||!0!==a&&"error"!==a&&("warn"===a?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+t+" ["+e+"]"),1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to unrecognized '"+a+"': "+t+" ["+e+"]"),1)))}isTrusted(e){if(e.url&&!e.protocol){var t=f(e.url);if(null==t)return!1;e.protocol=t}var r="function"==typeof this.trust?this.trust(e):this.trust;return Boolean(r)}}class x{constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}sup(){return w[k[this.id]]}sub(){return w[S[this.id]]}fracNum(){return w[M[this.id]]}fracDen(){return w[z[this.id]]}cramp(){return w[A[this.id]]}text(){return w[T[this.id]]}isTight(){return this.size>=2}}var w=[new x(0,0,!1),new x(1,0,!0),new x(2,1,!1),new x(3,1,!0),new x(4,2,!1),new x(5,2,!0),new x(6,3,!1),new x(7,3,!0)],k=[4,5,4,5,6,7,6,7],S=[5,5,5,5,7,7,7,7],M=[2,3,4,5,6,7,6,7],z=[3,3,5,5,7,7,7,7],A=[1,1,3,3,5,5,7,7],T=[0,1,2,3,2,3,2,3],B={DISPLAY:w[0],TEXT:w[2],SCRIPT:w[4],SCRIPTSCRIPT:w[6]},N=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}],q=[];function C(e){for(var t=0;t=q[t]&&e<=q[t+1])return!0;return!1}N.forEach((e=>e.blocks.forEach((e=>q.push(...e)))));var I={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class R{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return m(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),t=0;te.toText())).join("")}}var H={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},O={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},E={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function L(e,t,r){if(!H[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),n=H[t][a];if(!n&&e[0]in E&&(a=E[e[0]].charCodeAt(0),n=H[t][a]),n||"text"!==r||C(a)&&(n=H[t][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var D={},V=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],P=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],F=function(e,t){return t.size<2?e:V[e-1][t.size-1]};class G{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||G.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=P[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new G(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:F(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:P[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=F(G.BASESIZE,e);return this.size===t&&this.textSize===G.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==G.BASESIZE?["sizing","reset-size"+this.size,"size"+G.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!D[t=e>=5?0:e>=3?1:2]){var r=D[t]={cssEmPerMu:O.quad[t]/18};for(var a in O)O.hasOwnProperty(a)&&(r[a]=O[a][t])}return D[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}G.BASESIZE=6;var U={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:1.00375,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:1.00375},Y={ex:!0,em:!0,mu:!0},X=function(e){return"string"!=typeof e&&(e=e.unit),e in U||e in Y||"ex"===e},W=function(e,t){var r;if(e.unit in U)r=U[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{var a;if(a=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=a.fontMetrics().xHeight;else{if("em"!==e.unit)throw new i("Invalid unit: '"+e.unit+"'");r=a.fontMetrics().quad}a!==t&&(r*=a.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},_=function(e){return+e.toFixed(4)+"em"},j=function(e){return e.filter((e=>e)).join(" ")},$=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var a=t.getColor();a&&(this.style.color=a)}},Z=function(e){var t=document.createElement(e);for(var r in t.className=j(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&t.setAttribute(a,this.attributes[a]);for(var n=0;n"};class J{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,e,r,a),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m(this.classes,e)}toNode(){return Z.call(this,"span")}toMarkup(){return K.call(this,"span")}}class Q{constructor(e,t,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,$.call(this,t,a),this.children=r||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return m(this.classes,e)}toNode(){return Z.call(this,"a")}toMarkup(){return K.call(this,"a")}}class ee{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return m(this.classes,e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e=''+p(this.alt)+'"}}var te={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class re{constructor(e,t,r,a,n,i,o,s){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=a||0,this.skew=n||0,this.width=i||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t=n[0]&&e<=n[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=te[this.text])}hasClass(e){return m(this.classes,e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=_(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=j(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(a)&&(r+=u(a)+":"+this.style[a]+";");r&&(e=!0,t+=' style="'+p(r)+'"');var n=p(this.text);return e?(t+=">",t+=n,t+=""):n}}class ae{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r"}}class ne{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",I[this.pathName]),e}toMarkup(){return this.alternate?'':''}}class ie{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=""}}function oe(e){if(e instanceof re)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var se={bin:1,close:1,inner:1,open:1,punct:1,rel:1},le={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},he={math:{},text:{}};function me(e,t,r,a,n,i){he[e][n]={font:t,group:r,replace:a},i&&a&&(he[e][a]=he[e][n])}var ce="math",pe="text",ue="main",de="ams",ge="accent-token",fe="bin",ve="close",be="inner",ye="mathord",xe="op-token",we="open",ke="punct",Se="rel",Me="spacing",ze="textord";me(ce,ue,Se,"≡","\\equiv",!0),me(ce,ue,Se,"≺","\\prec",!0),me(ce,ue,Se,"≻","\\succ",!0),me(ce,ue,Se,"∼","\\sim",!0),me(ce,ue,Se,"⊥","\\perp"),me(ce,ue,Se,"⪯","\\preceq",!0),me(ce,ue,Se,"⪰","\\succeq",!0),me(ce,ue,Se,"≃","\\simeq",!0),me(ce,ue,Se,"∣","\\mid",!0),me(ce,ue,Se,"≪","\\ll",!0),me(ce,ue,Se,"≫","\\gg",!0),me(ce,ue,Se,"≍","\\asymp",!0),me(ce,ue,Se,"∥","\\parallel"),me(ce,ue,Se,"⋈","\\bowtie",!0),me(ce,ue,Se,"⌣","\\smile",!0),me(ce,ue,Se,"⊑","\\sqsubseteq",!0),me(ce,ue,Se,"⊒","\\sqsupseteq",!0),me(ce,ue,Se,"≐","\\doteq",!0),me(ce,ue,Se,"⌢","\\frown",!0),me(ce,ue,Se,"∋","\\ni",!0),me(ce,ue,Se,"∝","\\propto",!0),me(ce,ue,Se,"⊢","\\vdash",!0),me(ce,ue,Se,"⊣","\\dashv",!0),me(ce,ue,Se,"∋","\\owns"),me(ce,ue,ke,".","\\ldotp"),me(ce,ue,ke,"⋅","\\cdotp"),me(ce,ue,ze,"#","\\#"),me(pe,ue,ze,"#","\\#"),me(ce,ue,ze,"&","\\&"),me(pe,ue,ze,"&","\\&"),me(ce,ue,ze,"ℵ","\\aleph",!0),me(ce,ue,ze,"∀","\\forall",!0),me(ce,ue,ze,"ℏ","\\hbar",!0),me(ce,ue,ze,"∃","\\exists",!0),me(ce,ue,ze,"∇","\\nabla",!0),me(ce,ue,ze,"♭","\\flat",!0),me(ce,ue,ze,"ℓ","\\ell",!0),me(ce,ue,ze,"♮","\\natural",!0),me(ce,ue,ze,"♣","\\clubsuit",!0),me(ce,ue,ze,"℘","\\wp",!0),me(ce,ue,ze,"♯","\\sharp",!0),me(ce,ue,ze,"♢","\\diamondsuit",!0),me(ce,ue,ze,"ℜ","\\Re",!0),me(ce,ue,ze,"♡","\\heartsuit",!0),me(ce,ue,ze,"ℑ","\\Im",!0),me(ce,ue,ze,"♠","\\spadesuit",!0),me(ce,ue,ze,"§","\\S",!0),me(pe,ue,ze,"§","\\S"),me(ce,ue,ze,"¶","\\P",!0),me(pe,ue,ze,"¶","\\P"),me(ce,ue,ze,"†","\\dag"),me(pe,ue,ze,"†","\\dag"),me(pe,ue,ze,"†","\\textdagger"),me(ce,ue,ze,"‡","\\ddag"),me(pe,ue,ze,"‡","\\ddag"),me(pe,ue,ze,"‡","\\textdaggerdbl"),me(ce,ue,ve,"⎱","\\rmoustache",!0),me(ce,ue,we,"⎰","\\lmoustache",!0),me(ce,ue,ve,"⟯","\\rgroup",!0),me(ce,ue,we,"⟮","\\lgroup",!0),me(ce,ue,fe,"∓","\\mp",!0),me(ce,ue,fe,"⊖","\\ominus",!0),me(ce,ue,fe,"⊎","\\uplus",!0),me(ce,ue,fe,"⊓","\\sqcap",!0),me(ce,ue,fe,"∗","\\ast"),me(ce,ue,fe,"⊔","\\sqcup",!0),me(ce,ue,fe,"◯","\\bigcirc",!0),me(ce,ue,fe,"∙","\\bullet",!0),me(ce,ue,fe,"‡","\\ddagger"),me(ce,ue,fe,"≀","\\wr",!0),me(ce,ue,fe,"⨿","\\amalg"),me(ce,ue,fe,"&","\\And"),me(ce,ue,Se,"⟵","\\longleftarrow",!0),me(ce,ue,Se,"⇐","\\Leftarrow",!0),me(ce,ue,Se,"⟸","\\Longleftarrow",!0),me(ce,ue,Se,"⟶","\\longrightarrow",!0),me(ce,ue,Se,"⇒","\\Rightarrow",!0),me(ce,ue,Se,"⟹","\\Longrightarrow",!0),me(ce,ue,Se,"↔","\\leftrightarrow",!0),me(ce,ue,Se,"⟷","\\longleftrightarrow",!0),me(ce,ue,Se,"⇔","\\Leftrightarrow",!0),me(ce,ue,Se,"⟺","\\Longleftrightarrow",!0),me(ce,ue,Se,"↦","\\mapsto",!0),me(ce,ue,Se,"⟼","\\longmapsto",!0),me(ce,ue,Se,"↗","\\nearrow",!0),me(ce,ue,Se,"↩","\\hookleftarrow",!0),me(ce,ue,Se,"↪","\\hookrightarrow",!0),me(ce,ue,Se,"↘","\\searrow",!0),me(ce,ue,Se,"↼","\\leftharpoonup",!0),me(ce,ue,Se,"⇀","\\rightharpoonup",!0),me(ce,ue,Se,"↙","\\swarrow",!0),me(ce,ue,Se,"↽","\\leftharpoondown",!0),me(ce,ue,Se,"⇁","\\rightharpoondown",!0),me(ce,ue,Se,"↖","\\nwarrow",!0),me(ce,ue,Se,"⇌","\\rightleftharpoons",!0),me(ce,de,Se,"≮","\\nless",!0),me(ce,de,Se,"","\\@nleqslant"),me(ce,de,Se,"","\\@nleqq"),me(ce,de,Se,"⪇","\\lneq",!0),me(ce,de,Se,"≨","\\lneqq",!0),me(ce,de,Se,"","\\@lvertneqq"),me(ce,de,Se,"⋦","\\lnsim",!0),me(ce,de,Se,"⪉","\\lnapprox",!0),me(ce,de,Se,"⊀","\\nprec",!0),me(ce,de,Se,"⋠","\\npreceq",!0),me(ce,de,Se,"⋨","\\precnsim",!0),me(ce,de,Se,"⪹","\\precnapprox",!0),me(ce,de,Se,"≁","\\nsim",!0),me(ce,de,Se,"","\\@nshortmid"),me(ce,de,Se,"∤","\\nmid",!0),me(ce,de,Se,"⊬","\\nvdash",!0),me(ce,de,Se,"⊭","\\nvDash",!0),me(ce,de,Se,"⋪","\\ntriangleleft"),me(ce,de,Se,"⋬","\\ntrianglelefteq",!0),me(ce,de,Se,"⊊","\\subsetneq",!0),me(ce,de,Se,"","\\@varsubsetneq"),me(ce,de,Se,"⫋","\\subsetneqq",!0),me(ce,de,Se,"","\\@varsubsetneqq"),me(ce,de,Se,"≯","\\ngtr",!0),me(ce,de,Se,"","\\@ngeqslant"),me(ce,de,Se,"","\\@ngeqq"),me(ce,de,Se,"⪈","\\gneq",!0),me(ce,de,Se,"≩","\\gneqq",!0),me(ce,de,Se,"","\\@gvertneqq"),me(ce,de,Se,"⋧","\\gnsim",!0),me(ce,de,Se,"⪊","\\gnapprox",!0),me(ce,de,Se,"⊁","\\nsucc",!0),me(ce,de,Se,"⋡","\\nsucceq",!0),me(ce,de,Se,"⋩","\\succnsim",!0),me(ce,de,Se,"⪺","\\succnapprox",!0),me(ce,de,Se,"≆","\\ncong",!0),me(ce,de,Se,"","\\@nshortparallel"),me(ce,de,Se,"∦","\\nparallel",!0),me(ce,de,Se,"⊯","\\nVDash",!0),me(ce,de,Se,"⋫","\\ntriangleright"),me(ce,de,Se,"⋭","\\ntrianglerighteq",!0),me(ce,de,Se,"","\\@nsupseteqq"),me(ce,de,Se,"⊋","\\supsetneq",!0),me(ce,de,Se,"","\\@varsupsetneq"),me(ce,de,Se,"⫌","\\supsetneqq",!0),me(ce,de,Se,"","\\@varsupsetneqq"),me(ce,de,Se,"⊮","\\nVdash",!0),me(ce,de,Se,"⪵","\\precneqq",!0),me(ce,de,Se,"⪶","\\succneqq",!0),me(ce,de,Se,"","\\@nsubseteqq"),me(ce,de,fe,"⊴","\\unlhd"),me(ce,de,fe,"⊵","\\unrhd"),me(ce,de,Se,"↚","\\nleftarrow",!0),me(ce,de,Se,"↛","\\nrightarrow",!0),me(ce,de,Se,"⇍","\\nLeftarrow",!0),me(ce,de,Se,"⇏","\\nRightarrow",!0),me(ce,de,Se,"↮","\\nleftrightarrow",!0),me(ce,de,Se,"⇎","\\nLeftrightarrow",!0),me(ce,de,Se,"△","\\vartriangle"),me(ce,de,ze,"ℏ","\\hslash"),me(ce,de,ze,"▽","\\triangledown"),me(ce,de,ze,"◊","\\lozenge"),me(ce,de,ze,"Ⓢ","\\circledS"),me(ce,de,ze,"®","\\circledR"),me(pe,de,ze,"®","\\circledR"),me(ce,de,ze,"∡","\\measuredangle",!0),me(ce,de,ze,"∄","\\nexists"),me(ce,de,ze,"℧","\\mho"),me(ce,de,ze,"Ⅎ","\\Finv",!0),me(ce,de,ze,"⅁","\\Game",!0),me(ce,de,ze,"‵","\\backprime"),me(ce,de,ze,"▲","\\blacktriangle"),me(ce,de,ze,"▼","\\blacktriangledown"),me(ce,de,ze,"■","\\blacksquare"),me(ce,de,ze,"⧫","\\blacklozenge"),me(ce,de,ze,"★","\\bigstar"),me(ce,de,ze,"∢","\\sphericalangle",!0),me(ce,de,ze,"∁","\\complement",!0),me(ce,de,ze,"ð","\\eth",!0),me(pe,ue,ze,"ð","ð"),me(ce,de,ze,"╱","\\diagup"),me(ce,de,ze,"╲","\\diagdown"),me(ce,de,ze,"□","\\square"),me(ce,de,ze,"□","\\Box"),me(ce,de,ze,"◊","\\Diamond"),me(ce,de,ze,"¥","\\yen",!0),me(pe,de,ze,"¥","\\yen",!0),me(ce,de,ze,"✓","\\checkmark",!0),me(pe,de,ze,"✓","\\checkmark"),me(ce,de,ze,"ℶ","\\beth",!0),me(ce,de,ze,"ℸ","\\daleth",!0),me(ce,de,ze,"ℷ","\\gimel",!0),me(ce,de,ze,"ϝ","\\digamma",!0),me(ce,de,ze,"ϰ","\\varkappa"),me(ce,de,we,"┌","\\@ulcorner",!0),me(ce,de,ve,"┐","\\@urcorner",!0),me(ce,de,we,"└","\\@llcorner",!0),me(ce,de,ve,"┘","\\@lrcorner",!0),me(ce,de,Se,"≦","\\leqq",!0),me(ce,de,Se,"⩽","\\leqslant",!0),me(ce,de,Se,"⪕","\\eqslantless",!0),me(ce,de,Se,"≲","\\lesssim",!0),me(ce,de,Se,"⪅","\\lessapprox",!0),me(ce,de,Se,"≊","\\approxeq",!0),me(ce,de,fe,"⋖","\\lessdot"),me(ce,de,Se,"⋘","\\lll",!0),me(ce,de,Se,"≶","\\lessgtr",!0),me(ce,de,Se,"⋚","\\lesseqgtr",!0),me(ce,de,Se,"⪋","\\lesseqqgtr",!0),me(ce,de,Se,"≑","\\doteqdot"),me(ce,de,Se,"≓","\\risingdotseq",!0),me(ce,de,Se,"≒","\\fallingdotseq",!0),me(ce,de,Se,"∽","\\backsim",!0),me(ce,de,Se,"⋍","\\backsimeq",!0),me(ce,de,Se,"⫅","\\subseteqq",!0),me(ce,de,Se,"⋐","\\Subset",!0),me(ce,de,Se,"⊏","\\sqsubset",!0),me(ce,de,Se,"≼","\\preccurlyeq",!0),me(ce,de,Se,"⋞","\\curlyeqprec",!0),me(ce,de,Se,"≾","\\precsim",!0),me(ce,de,Se,"⪷","\\precapprox",!0),me(ce,de,Se,"⊲","\\vartriangleleft"),me(ce,de,Se,"⊴","\\trianglelefteq"),me(ce,de,Se,"⊨","\\vDash",!0),me(ce,de,Se,"⊪","\\Vvdash",!0),me(ce,de,Se,"⌣","\\smallsmile"),me(ce,de,Se,"⌢","\\smallfrown"),me(ce,de,Se,"≏","\\bumpeq",!0),me(ce,de,Se,"≎","\\Bumpeq",!0),me(ce,de,Se,"≧","\\geqq",!0),me(ce,de,Se,"⩾","\\geqslant",!0),me(ce,de,Se,"⪖","\\eqslantgtr",!0),me(ce,de,Se,"≳","\\gtrsim",!0),me(ce,de,Se,"⪆","\\gtrapprox",!0),me(ce,de,fe,"⋗","\\gtrdot"),me(ce,de,Se,"⋙","\\ggg",!0),me(ce,de,Se,"≷","\\gtrless",!0),me(ce,de,Se,"⋛","\\gtreqless",!0),me(ce,de,Se,"⪌","\\gtreqqless",!0),me(ce,de,Se,"≖","\\eqcirc",!0),me(ce,de,Se,"≗","\\circeq",!0),me(ce,de,Se,"≜","\\triangleq",!0),me(ce,de,Se,"∼","\\thicksim"),me(ce,de,Se,"≈","\\thickapprox"),me(ce,de,Se,"⫆","\\supseteqq",!0),me(ce,de,Se,"⋑","\\Supset",!0),me(ce,de,Se,"⊐","\\sqsupset",!0),me(ce,de,Se,"≽","\\succcurlyeq",!0),me(ce,de,Se,"⋟","\\curlyeqsucc",!0),me(ce,de,Se,"≿","\\succsim",!0),me(ce,de,Se,"⪸","\\succapprox",!0),me(ce,de,Se,"⊳","\\vartriangleright"),me(ce,de,Se,"⊵","\\trianglerighteq"),me(ce,de,Se,"⊩","\\Vdash",!0),me(ce,de,Se,"∣","\\shortmid"),me(ce,de,Se,"∥","\\shortparallel"),me(ce,de,Se,"≬","\\between",!0),me(ce,de,Se,"⋔","\\pitchfork",!0),me(ce,de,Se,"∝","\\varpropto"),me(ce,de,Se,"◀","\\blacktriangleleft"),me(ce,de,Se,"∴","\\therefore",!0),me(ce,de,Se,"∍","\\backepsilon"),me(ce,de,Se,"▶","\\blacktriangleright"),me(ce,de,Se,"∵","\\because",!0),me(ce,de,Se,"⋘","\\llless"),me(ce,de,Se,"⋙","\\gggtr"),me(ce,de,fe,"⊲","\\lhd"),me(ce,de,fe,"⊳","\\rhd"),me(ce,de,Se,"≂","\\eqsim",!0),me(ce,ue,Se,"⋈","\\Join"),me(ce,de,Se,"≑","\\Doteq",!0),me(ce,de,fe,"∔","\\dotplus",!0),me(ce,de,fe,"∖","\\smallsetminus"),me(ce,de,fe,"⋒","\\Cap",!0),me(ce,de,fe,"⋓","\\Cup",!0),me(ce,de,fe,"⩞","\\doublebarwedge",!0),me(ce,de,fe,"⊟","\\boxminus",!0),me(ce,de,fe,"⊞","\\boxplus",!0),me(ce,de,fe,"⋇","\\divideontimes",!0),me(ce,de,fe,"⋉","\\ltimes",!0),me(ce,de,fe,"⋊","\\rtimes",!0),me(ce,de,fe,"⋋","\\leftthreetimes",!0),me(ce,de,fe,"⋌","\\rightthreetimes",!0),me(ce,de,fe,"⋏","\\curlywedge",!0),me(ce,de,fe,"⋎","\\curlyvee",!0),me(ce,de,fe,"⊝","\\circleddash",!0),me(ce,de,fe,"⊛","\\circledast",!0),me(ce,de,fe,"⋅","\\centerdot"),me(ce,de,fe,"⊺","\\intercal",!0),me(ce,de,fe,"⋒","\\doublecap"),me(ce,de,fe,"⋓","\\doublecup"),me(ce,de,fe,"⊠","\\boxtimes",!0),me(ce,de,Se,"⇢","\\dashrightarrow",!0),me(ce,de,Se,"⇠","\\dashleftarrow",!0),me(ce,de,Se,"⇇","\\leftleftarrows",!0),me(ce,de,Se,"⇆","\\leftrightarrows",!0),me(ce,de,Se,"⇚","\\Lleftarrow",!0),me(ce,de,Se,"↞","\\twoheadleftarrow",!0),me(ce,de,Se,"↢","\\leftarrowtail",!0),me(ce,de,Se,"↫","\\looparrowleft",!0),me(ce,de,Se,"⇋","\\leftrightharpoons",!0),me(ce,de,Se,"↶","\\curvearrowleft",!0),me(ce,de,Se,"↺","\\circlearrowleft",!0),me(ce,de,Se,"↰","\\Lsh",!0),me(ce,de,Se,"⇈","\\upuparrows",!0),me(ce,de,Se,"↿","\\upharpoonleft",!0),me(ce,de,Se,"⇃","\\downharpoonleft",!0),me(ce,ue,Se,"⊶","\\origof",!0),me(ce,ue,Se,"⊷","\\imageof",!0),me(ce,de,Se,"⊸","\\multimap",!0),me(ce,de,Se,"↭","\\leftrightsquigarrow",!0),me(ce,de,Se,"⇉","\\rightrightarrows",!0),me(ce,de,Se,"⇄","\\rightleftarrows",!0),me(ce,de,Se,"↠","\\twoheadrightarrow",!0),me(ce,de,Se,"↣","\\rightarrowtail",!0),me(ce,de,Se,"↬","\\looparrowright",!0),me(ce,de,Se,"↷","\\curvearrowright",!0),me(ce,de,Se,"↻","\\circlearrowright",!0),me(ce,de,Se,"↱","\\Rsh",!0),me(ce,de,Se,"⇊","\\downdownarrows",!0),me(ce,de,Se,"↾","\\upharpoonright",!0),me(ce,de,Se,"⇂","\\downharpoonright",!0),me(ce,de,Se,"⇝","\\rightsquigarrow",!0),me(ce,de,Se,"⇝","\\leadsto"),me(ce,de,Se,"⇛","\\Rrightarrow",!0),me(ce,de,Se,"↾","\\restriction"),me(ce,ue,ze,"‘","`"),me(ce,ue,ze,"$","\\$"),me(pe,ue,ze,"$","\\$"),me(pe,ue,ze,"$","\\textdollar"),me(ce,ue,ze,"%","\\%"),me(pe,ue,ze,"%","\\%"),me(ce,ue,ze,"_","\\_"),me(pe,ue,ze,"_","\\_"),me(pe,ue,ze,"_","\\textunderscore"),me(ce,ue,ze,"∠","\\angle",!0),me(ce,ue,ze,"∞","\\infty",!0),me(ce,ue,ze,"′","\\prime"),me(ce,ue,ze,"△","\\triangle"),me(ce,ue,ze,"Γ","\\Gamma",!0),me(ce,ue,ze,"Δ","\\Delta",!0),me(ce,ue,ze,"Θ","\\Theta",!0),me(ce,ue,ze,"Λ","\\Lambda",!0),me(ce,ue,ze,"Ξ","\\Xi",!0),me(ce,ue,ze,"Π","\\Pi",!0),me(ce,ue,ze,"Σ","\\Sigma",!0),me(ce,ue,ze,"Υ","\\Upsilon",!0),me(ce,ue,ze,"Φ","\\Phi",!0),me(ce,ue,ze,"Ψ","\\Psi",!0),me(ce,ue,ze,"Ω","\\Omega",!0),me(ce,ue,ze,"A","Α"),me(ce,ue,ze,"B","Β"),me(ce,ue,ze,"E","Ε"),me(ce,ue,ze,"Z","Ζ"),me(ce,ue,ze,"H","Η"),me(ce,ue,ze,"I","Ι"),me(ce,ue,ze,"K","Κ"),me(ce,ue,ze,"M","Μ"),me(ce,ue,ze,"N","Ν"),me(ce,ue,ze,"O","Ο"),me(ce,ue,ze,"P","Ρ"),me(ce,ue,ze,"T","Τ"),me(ce,ue,ze,"X","Χ"),me(ce,ue,ze,"¬","\\neg",!0),me(ce,ue,ze,"¬","\\lnot"),me(ce,ue,ze,"⊤","\\top"),me(ce,ue,ze,"⊥","\\bot"),me(ce,ue,ze,"∅","\\emptyset"),me(ce,de,ze,"∅","\\varnothing"),me(ce,ue,ye,"α","\\alpha",!0),me(ce,ue,ye,"β","\\beta",!0),me(ce,ue,ye,"γ","\\gamma",!0),me(ce,ue,ye,"δ","\\delta",!0),me(ce,ue,ye,"ϵ","\\epsilon",!0),me(ce,ue,ye,"ζ","\\zeta",!0),me(ce,ue,ye,"η","\\eta",!0),me(ce,ue,ye,"θ","\\theta",!0),me(ce,ue,ye,"ι","\\iota",!0),me(ce,ue,ye,"κ","\\kappa",!0),me(ce,ue,ye,"λ","\\lambda",!0),me(ce,ue,ye,"μ","\\mu",!0),me(ce,ue,ye,"ν","\\nu",!0),me(ce,ue,ye,"ξ","\\xi",!0),me(ce,ue,ye,"ο","\\omicron",!0),me(ce,ue,ye,"π","\\pi",!0),me(ce,ue,ye,"ρ","\\rho",!0),me(ce,ue,ye,"σ","\\sigma",!0),me(ce,ue,ye,"τ","\\tau",!0),me(ce,ue,ye,"υ","\\upsilon",!0),me(ce,ue,ye,"ϕ","\\phi",!0),me(ce,ue,ye,"χ","\\chi",!0),me(ce,ue,ye,"ψ","\\psi",!0),me(ce,ue,ye,"ω","\\omega",!0),me(ce,ue,ye,"ε","\\varepsilon",!0),me(ce,ue,ye,"ϑ","\\vartheta",!0),me(ce,ue,ye,"ϖ","\\varpi",!0),me(ce,ue,ye,"ϱ","\\varrho",!0),me(ce,ue,ye,"ς","\\varsigma",!0),me(ce,ue,ye,"φ","\\varphi",!0),me(ce,ue,fe,"∗","*",!0),me(ce,ue,fe,"+","+"),me(ce,ue,fe,"−","-",!0),me(ce,ue,fe,"⋅","\\cdot",!0),me(ce,ue,fe,"∘","\\circ",!0),me(ce,ue,fe,"÷","\\div",!0),me(ce,ue,fe,"±","\\pm",!0),me(ce,ue,fe,"×","\\times",!0),me(ce,ue,fe,"∩","\\cap",!0),me(ce,ue,fe,"∪","\\cup",!0),me(ce,ue,fe,"∖","\\setminus",!0),me(ce,ue,fe,"∧","\\land"),me(ce,ue,fe,"∨","\\lor"),me(ce,ue,fe,"∧","\\wedge",!0),me(ce,ue,fe,"∨","\\vee",!0),me(ce,ue,ze,"√","\\surd"),me(ce,ue,we,"⟨","\\langle",!0),me(ce,ue,we,"∣","\\lvert"),me(ce,ue,we,"∥","\\lVert"),me(ce,ue,ve,"?","?"),me(ce,ue,ve,"!","!"),me(ce,ue,ve,"⟩","\\rangle",!0),me(ce,ue,ve,"∣","\\rvert"),me(ce,ue,ve,"∥","\\rVert"),me(ce,ue,Se,"=","="),me(ce,ue,Se,":",":"),me(ce,ue,Se,"≈","\\approx",!0),me(ce,ue,Se,"≅","\\cong",!0),me(ce,ue,Se,"≥","\\ge"),me(ce,ue,Se,"≥","\\geq",!0),me(ce,ue,Se,"←","\\gets"),me(ce,ue,Se,">","\\gt",!0),me(ce,ue,Se,"∈","\\in",!0),me(ce,ue,Se,"","\\@not"),me(ce,ue,Se,"⊂","\\subset",!0),me(ce,ue,Se,"⊃","\\supset",!0),me(ce,ue,Se,"⊆","\\subseteq",!0),me(ce,ue,Se,"⊇","\\supseteq",!0),me(ce,de,Se,"⊈","\\nsubseteq",!0),me(ce,de,Se,"⊉","\\nsupseteq",!0),me(ce,ue,Se,"⊨","\\models"),me(ce,ue,Se,"←","\\leftarrow",!0),me(ce,ue,Se,"≤","\\le"),me(ce,ue,Se,"≤","\\leq",!0),me(ce,ue,Se,"<","\\lt",!0),me(ce,ue,Se,"→","\\rightarrow",!0),me(ce,ue,Se,"→","\\to"),me(ce,de,Se,"≱","\\ngeq",!0),me(ce,de,Se,"≰","\\nleq",!0),me(ce,ue,Me," ","\\ "),me(ce,ue,Me," ","\\space"),me(ce,ue,Me," ","\\nobreakspace"),me(pe,ue,Me," ","\\ "),me(pe,ue,Me," "," "),me(pe,ue,Me," ","\\space"),me(pe,ue,Me," ","\\nobreakspace"),me(ce,ue,Me,null,"\\nobreak"),me(ce,ue,Me,null,"\\allowbreak"),me(ce,ue,ke,",",","),me(ce,ue,ke,";",";"),me(ce,de,fe,"⊼","\\barwedge",!0),me(ce,de,fe,"⊻","\\veebar",!0),me(ce,ue,fe,"⊙","\\odot",!0),me(ce,ue,fe,"⊕","\\oplus",!0),me(ce,ue,fe,"⊗","\\otimes",!0),me(ce,ue,ze,"∂","\\partial",!0),me(ce,ue,fe,"⊘","\\oslash",!0),me(ce,de,fe,"⊚","\\circledcirc",!0),me(ce,de,fe,"⊡","\\boxdot",!0),me(ce,ue,fe,"△","\\bigtriangleup"),me(ce,ue,fe,"▽","\\bigtriangledown"),me(ce,ue,fe,"†","\\dagger"),me(ce,ue,fe,"⋄","\\diamond"),me(ce,ue,fe,"⋆","\\star"),me(ce,ue,fe,"◃","\\triangleleft"),me(ce,ue,fe,"▹","\\triangleright"),me(ce,ue,we,"{","\\{"),me(pe,ue,ze,"{","\\{"),me(pe,ue,ze,"{","\\textbraceleft"),me(ce,ue,ve,"}","\\}"),me(pe,ue,ze,"}","\\}"),me(pe,ue,ze,"}","\\textbraceright"),me(ce,ue,we,"{","\\lbrace"),me(ce,ue,ve,"}","\\rbrace"),me(ce,ue,we,"[","\\lbrack",!0),me(pe,ue,ze,"[","\\lbrack",!0),me(ce,ue,ve,"]","\\rbrack",!0),me(pe,ue,ze,"]","\\rbrack",!0),me(ce,ue,we,"(","\\lparen",!0),me(ce,ue,ve,")","\\rparen",!0),me(pe,ue,ze,"<","\\textless",!0),me(pe,ue,ze,">","\\textgreater",!0),me(ce,ue,we,"⌊","\\lfloor",!0),me(ce,ue,ve,"⌋","\\rfloor",!0),me(ce,ue,we,"⌈","\\lceil",!0),me(ce,ue,ve,"⌉","\\rceil",!0),me(ce,ue,ze,"\\","\\backslash"),me(ce,ue,ze,"∣","|"),me(ce,ue,ze,"∣","\\vert"),me(pe,ue,ze,"|","\\textbar",!0),me(ce,ue,ze,"∥","\\|"),me(ce,ue,ze,"∥","\\Vert"),me(pe,ue,ze,"∥","\\textbardbl"),me(pe,ue,ze,"~","\\textasciitilde"),me(pe,ue,ze,"\\","\\textbackslash"),me(pe,ue,ze,"^","\\textasciicircum"),me(ce,ue,Se,"↑","\\uparrow",!0),me(ce,ue,Se,"⇑","\\Uparrow",!0),me(ce,ue,Se,"↓","\\downarrow",!0),me(ce,ue,Se,"⇓","\\Downarrow",!0),me(ce,ue,Se,"↕","\\updownarrow",!0),me(ce,ue,Se,"⇕","\\Updownarrow",!0),me(ce,ue,xe,"∐","\\coprod"),me(ce,ue,xe,"⋁","\\bigvee"),me(ce,ue,xe,"⋀","\\bigwedge"),me(ce,ue,xe,"⨄","\\biguplus"),me(ce,ue,xe,"⋂","\\bigcap"),me(ce,ue,xe,"⋃","\\bigcup"),me(ce,ue,xe,"∫","\\int"),me(ce,ue,xe,"∫","\\intop"),me(ce,ue,xe,"∬","\\iint"),me(ce,ue,xe,"∭","\\iiint"),me(ce,ue,xe,"∏","\\prod"),me(ce,ue,xe,"∑","\\sum"),me(ce,ue,xe,"⨂","\\bigotimes"),me(ce,ue,xe,"⨁","\\bigoplus"),me(ce,ue,xe,"⨀","\\bigodot"),me(ce,ue,xe,"∮","\\oint"),me(ce,ue,xe,"∯","\\oiint"),me(ce,ue,xe,"∰","\\oiiint"),me(ce,ue,xe,"⨆","\\bigsqcup"),me(ce,ue,xe,"∫","\\smallint"),me(pe,ue,be,"…","\\textellipsis"),me(ce,ue,be,"…","\\mathellipsis"),me(pe,ue,be,"…","\\ldots",!0),me(ce,ue,be,"…","\\ldots",!0),me(ce,ue,be,"⋯","\\@cdots",!0),me(ce,ue,be,"⋱","\\ddots",!0),me(ce,ue,ze,"⋮","\\varvdots"),me(ce,ue,ge,"ˊ","\\acute"),me(ce,ue,ge,"ˋ","\\grave"),me(ce,ue,ge,"¨","\\ddot"),me(ce,ue,ge,"~","\\tilde"),me(ce,ue,ge,"ˉ","\\bar"),me(ce,ue,ge,"˘","\\breve"),me(ce,ue,ge,"ˇ","\\check"),me(ce,ue,ge,"^","\\hat"),me(ce,ue,ge,"⃗","\\vec"),me(ce,ue,ge,"˙","\\dot"),me(ce,ue,ge,"˚","\\mathring"),me(ce,ue,ye,"","\\@imath"),me(ce,ue,ye,"","\\@jmath"),me(ce,ue,ze,"ı","ı"),me(ce,ue,ze,"ȷ","ȷ"),me(pe,ue,ze,"ı","\\i",!0),me(pe,ue,ze,"ȷ","\\j",!0),me(pe,ue,ze,"ß","\\ss",!0),me(pe,ue,ze,"æ","\\ae",!0),me(pe,ue,ze,"œ","\\oe",!0),me(pe,ue,ze,"ø","\\o",!0),me(pe,ue,ze,"Æ","\\AE",!0),me(pe,ue,ze,"Œ","\\OE",!0),me(pe,ue,ze,"Ø","\\O",!0),me(pe,ue,ge,"ˊ","\\'"),me(pe,ue,ge,"ˋ","\\`"),me(pe,ue,ge,"ˆ","\\^"),me(pe,ue,ge,"˜","\\~"),me(pe,ue,ge,"ˉ","\\="),me(pe,ue,ge,"˘","\\u"),me(pe,ue,ge,"˙","\\."),me(pe,ue,ge,"¸","\\c"),me(pe,ue,ge,"˚","\\r"),me(pe,ue,ge,"ˇ","\\v"),me(pe,ue,ge,"¨",'\\"'),me(pe,ue,ge,"˝","\\H"),me(pe,ue,ge,"◯","\\textcircled");var Ae={"--":!0,"---":!0,"``":!0,"''":!0};me(pe,ue,ze,"–","--",!0),me(pe,ue,ze,"–","\\textendash"),me(pe,ue,ze,"—","---",!0),me(pe,ue,ze,"—","\\textemdash"),me(pe,ue,ze,"‘","`",!0),me(pe,ue,ze,"‘","\\textquoteleft"),me(pe,ue,ze,"’","'",!0),me(pe,ue,ze,"’","\\textquoteright"),me(pe,ue,ze,"“","``",!0),me(pe,ue,ze,"“","\\textquotedblleft"),me(pe,ue,ze,"”","''",!0),me(pe,ue,ze,"”","\\textquotedblright"),me(ce,ue,ze,"°","\\degree",!0),me(pe,ue,ze,"°","\\degree"),me(pe,ue,ze,"°","\\textdegree",!0),me(ce,ue,ze,"£","\\pounds"),me(ce,ue,ze,"£","\\mathsterling",!0),me(pe,ue,ze,"£","\\pounds"),me(pe,ue,ze,"£","\\textsterling",!0),me(ce,de,ze,"✠","\\maltese"),me(pe,de,ze,"✠","\\maltese");for(var Te=0;Te<14;Te++){var Be='0123456789/@."'.charAt(Te);me(ce,ue,ze,Be,Be)}for(var Ne=0;Ne<25;Ne++){var qe='0123456789!@*()-=+";:?/.,'.charAt(Ne);me(pe,ue,ze,qe,qe)}for(var Ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ie=0;Ie<52;Ie++){var Re=Ce.charAt(Ie);me(ce,ue,ye,Re,Re),me(pe,ue,ze,Re,Re)}me(ce,de,ze,"C","ℂ"),me(pe,de,ze,"C","ℂ"),me(ce,de,ze,"H","ℍ"),me(pe,de,ze,"H","ℍ"),me(ce,de,ze,"N","ℕ"),me(pe,de,ze,"N","ℕ"),me(ce,de,ze,"P","ℙ"),me(pe,de,ze,"P","ℙ"),me(ce,de,ze,"Q","ℚ"),me(pe,de,ze,"Q","ℚ"),me(ce,de,ze,"R","ℝ"),me(pe,de,ze,"R","ℝ"),me(ce,de,ze,"Z","ℤ"),me(pe,de,ze,"Z","ℤ"),me(ce,ue,ye,"h","ℎ"),me(pe,ue,ye,"h","ℎ");for(var He="",Oe=0;Oe<52;Oe++){var Ee=Ce.charAt(Oe);me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56320+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56372+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56424+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56580+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56684+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56736+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56788+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56840+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56944+Oe)),me(pe,ue,ze,Ee,He),Oe<26&&(me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56632+Oe)),me(pe,ue,ze,Ee,He),me(ce,ue,ye,Ee,He=String.fromCharCode(55349,56476+Oe)),me(pe,ue,ze,Ee,He))}me(ce,ue,ye,"k",He=String.fromCharCode(55349,56668)),me(pe,ue,ze,"k",He);for(var Le=0;Le<10;Le++){var De=Le.toString();me(ce,ue,ye,De,He=String.fromCharCode(55349,57294+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57314+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57324+Le)),me(pe,ue,ze,De,He),me(ce,ue,ye,De,He=String.fromCharCode(55349,57334+Le)),me(pe,ue,ze,De,He)}for(var Ve=0;Ve<3;Ve++){var Pe="ÐÞþ".charAt(Ve);me(ce,ue,ye,Pe,Pe),me(pe,ue,ze,Pe,Pe)}var Fe=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ge=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ue=function(e,t,r){return he[r][e]&&he[r][e].replace&&(e=he[r][e].replace),{value:e,metrics:L(e,t,r)}},Ye=function(e,t,r,a,n){var i,o=Ue(e,t,r),s=o.metrics;if(e=o.value,s){var l=s.italic;("text"===r||a&&"mathit"===a.font)&&(l=0),i=new re(e,s.height,s.depth,l,s.skew,s.width,n)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new re(e,0,0,0,0,0,n);if(a){i.maxFontSize=a.sizeMultiplier,a.style.isTight()&&i.classes.push("mtight");var h=a.getColor();h&&(i.style.color=h)}return i},Xe=(e,t)=>{if(j(e.classes)!==j(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},We=function(e){for(var t=0,r=0,a=0,n=0;nt&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=a},_e=function(e,t,r,a){var n=new J(e,t,r,a);return We(n),n},je=(e,t,r,a)=>new J(e,t,r,a),$e=function(e){var t=new R(e);return We(t),t},Ze=function(e,t,r){var a="";switch(e){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=e}return a+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular")},Ke={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},Je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Qe={fontMap:Ke,makeSymbol:Ye,mathsym:function(e,t,r,a){return void 0===a&&(a=[]),"boldsymbol"===r.font&&Ue(e,"Main-Bold",t).metrics?Ye(e,"Main-Bold",t,r,a.concat(["mathbf"])):"\\"===e||"main"===he[t][e].font?Ye(e,"Main-Regular",t,r,a):Ye(e,"AMS-Regular",t,r,a.concat(["amsrm"]))},makeSpan:_e,makeSvgSpan:je,makeLineSpan:function(e,t,r){var a=_e([e],[],t);return a.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),a.style.borderBottomWidth=_(a.height),a.maxFontSize=1,a},makeAnchor:function(e,t,r,a){var n=new Q(e,t,r,a);return We(n),n},makeFragment:$e,wrapFragment:function(e,t){return e instanceof R?_e([],[e],t):e},makeVList:function(e,t){for(var{children:r,depth:a}=function(e){if("individualShift"===e.positionType){for(var t=e.children,r=[t[0]],a=-t[0].shift-t[0].elem.depth,n=a,i=1;i0)return Ye(n,h,a,t,o.concat(m));if(l){var c,p;if("boldsymbol"===l){var u=function(e,t,r,a,n){return"textord"!==n&&Ue(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(n,a,0,0,r);c=u.fontName,p=[u.fontClass]}else s?(c=Ke[l].fontName,p=[l]):(c=Ze(l,t.fontWeight,t.fontShape),p=[l,t.fontWeight,t.fontShape]);if(Ue(n,c,a).metrics)return Ye(n,c,a,t,o.concat(p));if(Ae.hasOwnProperty(n)&&"Typewriter"===c.slice(0,10)){for(var d=[],g=0;g{var r=_e(["mspace"],[],t),a=W(e,t);return r.style.marginRight=_(a),r},staticSvg:function(e,t){var[r,a,n]=Je[e],i=new ne(r),o=new ae([i],{width:_(a),height:_(n),style:"width:"+_(a),viewBox:"0 0 "+1e3*a+" "+1e3*n,preserveAspectRatio:"xMinYMin"}),s=je(["overlay"],[o],t);return s.height=n,s.style.height=_(n),s.style.width=_(a),s},svgData:Je,tryCombineChars:e=>{for(var t=0;t{var r=t.classes[0],a=e.classes[0];"mbin"===r&&m(dt,a)?t.classes[0]="mord":"mbin"===a&&m(ut,r)&&(e.classes[0]="mord")}),{node:c},p,u),bt(n,((e,t)=>{var r=wt(t),a=wt(e),n=r&&a?e.hasClass("mtight")?nt[r][a]:at[r][a]:null;if(n)return Qe.makeGlue(n,l)}),{node:c},p,u),n},bt=function e(t,r,a,n,i){n&&t.push(n);for(var o=0;or=>{t.splice(e+1,0,r),o++})(o)}}n&&t.pop()},yt=function(e){return e instanceof R||e instanceof Q||e instanceof J&&e.hasClass("enclosing")?e:null},xt=function e(t,r){var a=yt(t);if(a){var n=a.children;if(n.length){if("right"===r)return e(n[n.length-1],"right");if("left"===r)return e(n[0],"left")}}return t},wt=function(e,t){return e?(t&&(e=xt(e,t)),ft[e.classes[0]]||null):null},kt=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return pt(t.concat(r))},St=function(e,t,r){if(!e)return pt();if(ot[e.type]){var a=ot[e.type](e,t);if(r&&t.size!==r.size){a=pt(t.sizingClasses(r),[a],t);var n=t.sizeMultiplier/r.sizeMultiplier;a.height*=n,a.depth*=n}return a}throw new i("Got group of unknown type: '"+e.type+"'")};function Mt(e,t){var r=pt(["base"],e,t),a=pt(["strut"]);return a.style.height=_(r.height+r.depth),r.depth&&(a.style.verticalAlign=_(-r.depth)),r.children.unshift(a),r}function zt(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var a,n=vt(e,t,"root");2===n.length&&n[1].hasClass("tag")&&(a=n.pop());for(var i,o=[],s=[],l=0;l0&&(o.push(Mt(s,t)),s=[]),o.push(n[l]));s.length>0&&o.push(Mt(s,t)),r?((i=Mt(vt(r,t,!0))).classes=["tag"],o.push(i)):a&&o.push(a);var m=pt(["katex-html"],o);if(m.setAttribute("aria-hidden","true"),i){var c=i.children[0];c.style.height=_(m.height+m.depth),m.depth&&(c.style.verticalAlign=_(-m.depth))}return m}function At(e){return new R(e)}class Tt{constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=j(this.classes));for(var r=0;r0&&(e+=' class ="'+p(j(this.classes))+'"'),e+=">";for(var r=0;r"}toText(){return this.children.map((e=>e.toText())).join("")}}class Bt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return p(this.toText())}toText(){return this.text}}var Nt={MathNode:Tt,TextNode:Bt,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?" ":e>=.1666&&e<=.1667?" ":e>=.2222&&e<=.2223?" ":e>=.2777&&e<=.2778?"  ":e>=-.05556&&e<=-.05555?" ⁣":e>=-.1667&&e<=-.1666?" ⁣":e>=-.2223&&e<=-.2222?" ⁣":e>=-.2778&&e<=-.2777?" ⁣":null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",_(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},newDocumentFragment:At},qt=function(e,t,r){return!he[t][e]||!he[t][e].replace||55349===e.charCodeAt(0)||Ae.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=he[t][e].replace),new Nt.TextNode(e)},Ct=function(e){return 1===e.length?e[0]:new Nt.MathNode("mrow",e)},It=function(e,t){if("texttt"===t.fontFamily)return"monospace";if("textsf"===t.fontFamily)return"textit"===t.fontShape&&"textbf"===t.fontWeight?"sans-serif-bold-italic":"textit"===t.fontShape?"sans-serif-italic":"textbf"===t.fontWeight?"bold-sans-serif":"sans-serif";if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";if("textit"===t.fontShape)return"italic";if("textbf"===t.fontWeight)return"bold";var r=t.font;if(!r||"mathnormal"===r)return null;var a=e.mode;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var n=e.text;return m(["\\imath","\\jmath"],n)?null:(he[a][n]&&he[a][n].replace&&(n=he[a][n].replace),L(n,Qe.fontMap[r].fontName,a)?Qe.fontMap[r].variant:null)},Rt=function(e,t,r){if(1===e.length){var a=Ot(e[0],t);return r&&a instanceof Tt&&"mo"===a.type&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var n,i=[],o=0;o0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),i.pop())}}}i.push(s),n=s}return i},Ht=function(e,t,r){return Ct(Rt(e,t,r))},Ot=function(e,t){if(!e)return new Nt.MathNode("mrow");if(st[e.type])return st[e.type](e,t);throw new i("Got group of unknown type: '"+e.type+"'")};function Et(e,t,r,a,n){var i,o=Rt(e,r);i=1===o.length&&o[0]instanceof Tt&&m(["mrow","mtable"],o[0].type)?o[0]:new Nt.MathNode("mrow",o);var s=new Nt.MathNode("annotation",[new Nt.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new Nt.MathNode("semantics",[i,s]),h=new Nt.MathNode("math",[l]);return h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block"),Qe.makeSpan([n?"katex":"katex-mathml"],[h])}var Lt=function(e){return new G({style:e.displayMode?B.DISPLAY:B.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Dt=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=Qe.makeSpan(r,[e])}return e},Vt={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Pt={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Ft=function(e){var t=new Nt.MathNode("mo",[new Nt.TextNode(Vt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Gt=function(e,t){var{span:r,minWidth:a,height:n}=function(){var r=4e5,a=e.label.slice(1);if(m(["widehat","widecheck","widetilde","utilde"],a)){var n,i,o,s="ordgroup"===(d=e.base).type?d.body.length:1;if(s>5)"widehat"===a||"widecheck"===a?(n=420,r=2364,o=.42,i=a+"4"):(n=312,r=2340,o=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===a||"widecheck"===a?(r=[0,1062,2364,2364,2364][l],n=[0,239,300,360,420][l],o=[0,.24,.3,.3,.36,.42][l],i=a+l):(r=[0,600,1033,2339,2340][l],n=[0,260,286,306,312][l],o=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var h=new ne(i),c=new ae([h],{width:"100%",height:_(o),viewBox:"0 0 "+r+" "+n,preserveAspectRatio:"none"});return{span:Qe.makeSvgSpan([],[c],t),minWidth:0,height:o}}var p,u,d,g=[],f=Pt[a],[v,b,y]=f,x=y/1e3,w=v.length;if(1===w)p=["hide-tail"],u=[f[3]];else if(2===w)p=["halfarrow-left","halfarrow-right"],u=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");p=["brace-left","brace-center","brace-right"],u=["xMinYMin","xMidYMin","xMaxYMin"]}for(var k=0;k0&&(r.style.minWidth=_(a)),r};function Ut(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Yt(e){var t=Xt(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function Xt(e){return e&&("atom"===e.type||le.hasOwnProperty(e.type))?e:null}var Wt=(e,t)=>{var r,a,n;e&&"supsub"===e.type?(r=(a=Ut(e.base,"accent")).base,e.base=r,n=function(e){if(e instanceof J)return e;throw new Error("Expected span but got "+String(e)+".")}(St(e,t)),e.base=a):r=(a=Ut(e,"accent")).base;var i=St(r,t.havingCrampedStyle()),o=0;if(a.isShifty&&g(r)){var s=d(r);o=oe(St(s,t.havingCrampedStyle())).skew}var l,h="\\c"===a.label,m=h?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(a.isStretchy)l=Gt(a,t),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+_(2*o)+")",marginLeft:_(2*o)}:void 0}]},t);else{var c,p;"\\vec"===a.label?(c=Qe.staticSvg("vec",t),p=Qe.svgData.vec[1]):((c=oe(c=Qe.makeOrd({mode:a.mode,text:a.label},t,"textord"))).italic=0,p=c.width,h&&(m+=c.depth)),l=Qe.makeSpan(["accent-body"],[c]);var u="\\textcircled"===a.label;u&&(l.classes.push("accent-full"),m=i.height);var f=o;u||(f-=p/2),l.style.left=_(f),"\\textcircled"===a.label&&(l.style.top=".2em"),l=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-m},{type:"elem",elem:l}]},t)}var v=Qe.makeSpan(["mord","accent"],[l],t);return n?(n.children[0]=v,n.height=Math.max(v.height,n.height),n.classes[0]="mord",n):v},_t=(e,t)=>{var r=e.isStretchy?Ft(e.label):new Nt.MathNode("mo",[qt(e.label,e.mode)]),a=new Nt.MathNode("mover",[Ot(e.base,t),r]);return a.setAttribute("accent","true"),a},jt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));lt({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=mt(t[0]),a=!jt.test(e.funcName),n=!a||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],a=e.parser.mode;return"math"===a&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Wt,mathmlBuilder:_t}),lt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(e,t)=>{var r=St(e.base,t),a=Gt(e,t),n="\\utilde"===e.label?.12:0,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Ft(e.label),a=new Nt.MathNode("munder",[Ot(e.base,t),r]);return a.setAttribute("accentunder","true"),a}});var $t=e=>{var t=new Nt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};lt({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a,funcName:n}=e;return{type:"xArrow",mode:a.mode,label:n,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,a=t.style,n=t.havingStyle(a.sup()),i=Qe.wrapFragment(St(e.body,n,t),t),o="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(o+"-arrow-pad"),e.below&&(n=t.havingStyle(a.sub()),(r=Qe.wrapFragment(St(e.below,n,t),t)).classes.push(o+"-arrow-pad"));var s,l=Gt(e,t),h=-t.fontMetrics().axisHeight+.5*l.height,m=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(m-=i.depth),r){var c=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h},{type:"elem",elem:r,shift:c}]},t)}else s=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:m},{type:"elem",elem:l,shift:h}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),Qe.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,a=Ft(e.label);if(a.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var n=$t(Ot(e.body,t));if(e.below){var i=$t(Ot(e.below,t));r=new Nt.MathNode("munderover",[a,i,n])}else r=new Nt.MathNode("mover",[a,n])}else if(e.below){var o=$t(Ot(e.below,t));r=new Nt.MathNode("munder",[a,o])}else r=$t(),r=new Nt.MathNode("mover",[a,r]);return r}});var Zt=Qe.makeSpan;function Kt(e,t){var r=vt(e.body,t,!0);return Zt([e.mclass],r,t)}function Jt(e,t){var r,a=Rt(e.body,t);return"minner"===e.mclass?r=new Nt.MathNode("mpadded",a):"mord"===e.mclass?e.isCharacterBox?(r=a[0]).type="mi":r=new Nt.MathNode("mi",a):(e.isCharacterBox?(r=a[0]).type="mo":r=new Nt.MathNode("mo",a),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}lt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:ct(n),isCharacterBox:g(n)}},htmlBuilder:Kt,mathmlBuilder:Jt});var Qt=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"!==t.type||"bin"!==t.family&&"rel"!==t.family?"mord":"m"+t.family};lt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Qt(t[0]),body:ct(t[1]),isCharacterBox:g(t[1])}}}),lt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:a,funcName:n}=e,i=t[1],o=t[0];r="\\stackrel"!==n?Qt(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==n,body:ct(i)},l={type:"supsub",mode:o.mode,base:s,sup:"\\underset"===n?null:o,sub:"\\underset"===n?o:null};return{type:"mclass",mode:a.mode,mclass:r,body:[l],isCharacterBox:g(l)}},htmlBuilder:Kt,mathmlBuilder:Jt}),lt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Qt(t[0]),body:ct(t[0])}},htmlBuilder(e,t){var r=vt(e.body,t,!0),a=Qe.makeSpan([e.mclass],r,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var r=Rt(e.body,t),a=new Nt.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var er={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},tr=e=>"textord"===e.type&&"@"===e.text;function rr(e,t,r){var a=er[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var n={type:"atom",text:a,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[n],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}lt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),a=Qe.wrapFragment(St(e.label,r,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=_(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var r=new Nt.MathNode("mrow",[Ot(e.label,t)]);return(r=new Nt.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new Nt.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),lt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Qe.wrapFragment(St(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new Nt.MathNode("mrow",[Ot(e.fragment,t)])}),lt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,a=Ut(t[0],"ordgroup").body,n="",o=0;o=1114111)throw new i("\\@char with invalid code point "+n);return l<=65535?s=String.fromCharCode(l):(l-=65536,s=String.fromCharCode(55296+(l>>10),56320+(1023&l))),{type:"textord",mode:r.mode,text:s}}});var ar=(e,t)=>{var r=vt(e.body,t.withColor(e.color),!1);return Qe.makeFragment(r)},nr=(e,t)=>{var r=Rt(e.body,t.withColor(e.color)),a=new Nt.MathNode("mstyle",r);return a.setAttribute("mathcolor",e.color),a};lt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,a=Ut(t[0],"color-token").color,n=t[1];return{type:"color",mode:r.mode,color:a,body:ct(n)}},htmlBuilder:ar,mathmlBuilder:nr}),lt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:a}=e,n=Ut(t[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:ar,mathmlBuilder:nr}),lt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:a}=e,n="["===a.gullet.future().text?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&Ut(n,"size").value}},htmlBuilder(e,t){var r=Qe.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=_(W(e.size,t)))),r},mathmlBuilder(e,t){var r=new Nt.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",_(W(e.size,t)))),r}});var ir={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},or=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new i("Expected a control sequence",e);return t},sr=(e,t,r,a)=>{var n=e.gullet.macros.get(r.text);null==n&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,n,a)};lt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var a=t.fetch();if(ir[a.text])return"\\global"!==r&&"\\\\globallong"!==r||(a.text=ir[a.text]),Ut(t.parseFunction(),"internal");throw new i("Invalid token after macro prefix",a)}}),lt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=t.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new i("Expected a control sequence",a);for(var o,s=0,l=[[]];"{"!==t.gullet.future().text;)if("#"===(a=t.gullet.popToken()).text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[s].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new i('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==s+1)throw new i('Argument number "'+a.text+'" out of order');s++,l.push([])}else{if("EOF"===a.text)throw new i("Expected a macro definition");l[s].push(a.text)}var{tokens:h}=t.gullet.consumeArg();return o&&h.unshift(o),"\\edef"!==r&&"\\xdef"!==r||(h=t.gullet.expandTokens(h)).reverse(),t.gullet.macros.set(n,{tokens:h,numArgs:s,delimiters:l},r===ir[r]),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=or(t.gullet.popToken());t.gullet.consumeSpaces();var n=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return sr(t,a,n,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),lt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,a=or(t.gullet.popToken()),n=t.gullet.popToken(),i=t.gullet.popToken();return sr(t,a,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(n),{type:"internal",mode:t.mode}}});var lr=function(e,t,r){var a=L(he.math[e]&&he.math[e].replace||e,t,r);if(!a)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return a},hr=function(e,t,r,a){var n=r.havingBaseStyle(t),i=Qe.makeSpan(a.concat(n.sizingClasses(r)),[e],r),o=n.sizeMultiplier/r.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=n.sizeMultiplier,i},mr=function(e,t,r){var a=t.havingBaseStyle(r),n=(1-t.sizeMultiplier/a.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=_(n),e.height-=n,e.depth+=n},cr=function(e,t,r,a,n,i){var o=function(e,t,r,a){return Qe.makeSymbol(e,"Size"+t+"-Regular",r,a)}(e,t,n,a),s=hr(Qe.makeSpan(["delimsizing","size"+t],[o],a),B.TEXT,a,i);return r&&mr(s,a,B.TEXT),s},pr=function(e,t,r){return{type:"elem",elem:Qe.makeSpan(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[Qe.makeSpan([],[Qe.makeSymbol(e,t,r)])])}},ur=function(e,t,r){var a=H["Size4-Regular"][e.charCodeAt(0)]?H["Size4-Regular"][e.charCodeAt(0)][4]:H["Size1-Regular"][e.charCodeAt(0)][4],n=new ne("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new ae([n],{width:_(a),height:_(t),style:"width:"+_(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Qe.makeSvgSpan([],[i],r);return o.height=t,o.style.height=_(t),o.style.width=_(a),{type:"elem",elem:o}},dr={type:"kern",size:-.008},gr=["|","\\lvert","\\rvert","\\vert"],fr=["\\|","\\lVert","\\rVert","\\Vert"],vr=function(e,t,r,a,n,i){var o,s,l,h,c="",p=0;o=l=h=e,s=null;var u="Size1-Regular";"\\uparrow"===e?l=h="⏐":"\\Uparrow"===e?l=h="‖":"\\downarrow"===e?o=l="⏐":"\\Downarrow"===e?o=l="‖":"\\updownarrow"===e?(o="\\uparrow",l="⏐",h="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",l="‖",h="\\Downarrow"):m(gr,e)?(l="∣",c="vert",p=333):m(fr,e)?(l="∥",c="doublevert",p=556):"["===e||"\\lbrack"===e?(o="⎡",l="⎢",h="⎣",u="Size4-Regular",c="lbrack",p=667):"]"===e||"\\rbrack"===e?(o="⎤",l="⎥",h="⎦",u="Size4-Regular",c="rbrack",p=667):"\\lfloor"===e||"⌊"===e?(l=o="⎢",h="⎣",u="Size4-Regular",c="lfloor",p=667):"\\lceil"===e||"⌈"===e?(o="⎡",l=h="⎢",u="Size4-Regular",c="lceil",p=667):"\\rfloor"===e||"⌋"===e?(l=o="⎥",h="⎦",u="Size4-Regular",c="rfloor",p=667):"\\rceil"===e||"⌉"===e?(o="⎤",l=h="⎥",u="Size4-Regular",c="rceil",p=667):"("===e||"\\lparen"===e?(o="⎛",l="⎜",h="⎝",u="Size4-Regular",c="lparen",p=875):")"===e||"\\rparen"===e?(o="⎞",l="⎟",h="⎠",u="Size4-Regular",c="rparen",p=875):"\\{"===e||"\\lbrace"===e?(o="⎧",s="⎨",h="⎩",l="⎪",u="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",s="⎬",h="⎭",l="⎪",u="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",h="⎩",l="⎪",u="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",h="⎭",l="⎪",u="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",h="⎭",l="⎪",u="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(o="⎫",h="⎩",l="⎪",u="Size4-Regular");var d=lr(o,u,n),g=d.height+d.depth,f=lr(l,u,n),v=f.height+f.depth,b=lr(h,u,n),y=b.height+b.depth,x=0,w=1;if(null!==s){var k=lr(s,u,n);x=k.height+k.depth,w=2}var S=g+y+x,M=S+Math.max(0,Math.ceil((t-S)/(w*v)))*w*v,z=a.fontMetrics().axisHeight;r&&(z*=a.sizeMultiplier);var A=M/2-z,T=[];if(c.length>0){var N=M-g-y,q=Math.round(1e3*M),C=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(c,Math.round(1e3*N)),I=new ne(c,C),R=(p/1e3).toFixed(3)+"em",H=(q/1e3).toFixed(3)+"em",O=new ae([I],{width:R,height:H,viewBox:"0 0 "+p+" "+q}),E=Qe.makeSvgSpan([],[O],a);E.height=q/1e3,E.style.width=R,E.style.height=H,T.push({type:"elem",elem:E})}else{if(T.push(pr(h,u,n)),T.push(dr),null===s){var L=M-g-y+.016;T.push(ur(l,L,a))}else{var D=(M-g-y-x)/2+.016;T.push(ur(l,D,a)),T.push(dr),T.push(pr(s,u,n)),T.push(dr),T.push(ur(l,D,a))}T.push(dr),T.push(pr(o,u,n))}var V=a.havingBaseStyle(B.TEXT),P=Qe.makeVList({positionType:"bottom",positionData:A,children:T},V);return hr(Qe.makeSpan(["delimsizing","mult"],[P],V),B.TEXT,a,i)},br=.08,yr=function(e,t,r,a,n){var i=function(e,t,r){t*=1e3;var a="";switch(e){case"sqrtMain":a=function(e){return"M95,"+(622+e+80)+"\nc-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14\nc0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54\nc44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10\ns173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429\nc69,-144,104.5,-217.7,106.5,-221\nl"+e/2.075+" -"+e+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+e)+"H845.2724\ns-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7\nc-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z\nM"+(834+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize1":a=function(e){return"M263,"+(601+e+80)+"c0.7,0,18,39.7,52,119\nc34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120\nc340,-704.7,510.7,-1060.3,512,-1067\nl"+e/2.084+" -"+e+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+e)+"H1012.3\ns-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232\nc-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1\ns-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26\nc-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize2":a=function(e){return"M983 "+(10+e+80)+"\nl"+e/3.13+" -"+e+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+e)+"\nH1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7\ns-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744\nc-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30\nc26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722\nc56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5\nc53.7,-170.3,84.5,-266.8,92.5,-289.5z\nM"+(1001+e)+" 80h400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize3":a=function(e){return"M424,"+(2398+e+80)+"\nc-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514\nc0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20\ns-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121\ns209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081\nl"+e/4.223+" -"+e+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+e)+"H1014.6\ns-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185\nc-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2z M"+(1001+e)+" 80\nh400000v"+(40+e)+"h-400000z"}(t);break;case"sqrtSize4":a=function(e){return"M473,"+(2713+e+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+e/5.298+" -"+e+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+e)+"H1017.7\ns-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9\nc-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200\nc0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26\ns76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,\n606zM"+(1001+e)+" 80h400000v"+(40+e)+"H1017.7z"}(t);break;case"sqrtTall":a=function(e,t,r){return"M702 "+(e+80)+"H400000"+(40+e)+"\nH742v"+(r-54-80-e)+"l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1\nh-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170\nc-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667\n219 661 l218 661zM702 80H400000v"+(40+e)+"H742z"}(t,0,r)}return a}(e,a,r),o=new ne(e,i),s=new ae([o],{width:"400em",height:_(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return Qe.makeSvgSpan(["hide-tail"],[s],n)},xr=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],wr=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],kr=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sr=[0,1.2,1.8,2.4,3],Mr=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],zr=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"stack"}],Ar=[{type:"small",style:B.SCRIPTSCRIPT},{type:"small",style:B.SCRIPT},{type:"small",style:B.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Tr=function(e){if("small"===e.type)return"Main-Regular";if("large"===e.type)return"Size"+e.size+"-Regular";if("stack"===e.type)return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},Br=function(e,t,r,a){for(var n=Math.min(2,3-a.style.size);nt)return r[n]}return r[r.length-1]},Nr=function(e,t,r,a,n,i){var o;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),o=m(kr,e)?Mr:m(xr,e)?Ar:zr;var s=Br(e,t,o,a);return"small"===s.type?function(e,t,r,a,n,i){var o=Qe.makeSymbol(e,"Main-Regular",n,a),s=hr(o,t,a,i);return r&&mr(s,a,t),s}(e,s.style,r,a,n,i):"large"===s.type?cr(e,s.size,r,a,n,i):vr(e,t,r,a,n,i)},qr={sqrtImage:function(e,t){var r,a,n=t.havingBaseSizing(),i=Br("\\surd",e*n.sizeMultiplier,Ar,n),o=n.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,h=0,m=0;return"small"===i.type?(e<1?o=1:e<1.4&&(o=.7),h=(1+s)/o,(r=yr("sqrtMain",l=(1+s+br)/o,m=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",a=.833/o):"large"===i.type?(m=1080*Sr[i.size],h=(Sr[i.size]+s)/o,l=(Sr[i.size]+s+br)/o,(r=yr("sqrtSize"+i.size,l,m,s,t)).style.minWidth="1.02em",a=1/o):(l=e+s+br,h=e+s,m=Math.floor(1e3*e+s)+80,(r=yr("sqrtTall",l,m,s,t)).style.minWidth="0.742em",a=1.056),r.height=h,r.style.height=_(l),{span:r,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*o}},sizedDelim:function(e,t,r,a,n){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),m(xr,e)||m(kr,e))return cr(e,t,!1,r,a,n);if(m(wr,e))return vr(e,Sr[t],!1,r,a,n);throw new i("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:Sr,customSizedDelim:Nr,leftRightDelim:function(e,t,r,a,n,i){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,s=5/a.fontMetrics().ptPerEm,l=Math.max(t-o,r+o),h=Math.max(l/500*901,2*l-s);return Nr(e,h,!0,a,n,i)}},Cr={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ir=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Rr(e,t){var r=Xt(e);if(r&&m(Ir,r.text))return r;throw new i(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function Hr(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}lt({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=Rr(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Cr[e.funcName].size,mclass:Cr[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?Qe.makeSpan([e.mclass]):qr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(qt(e.delim,e.mode));var r=new Nt.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=_(qr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}}),lt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new i("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Rr(t[0],e).text,color:r}}}),lt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Rr(t[0],e),a=e.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=Ut(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{Hr(e);for(var r,a,n=vt(e.body,t,!0,["mopen","mclose"]),i=0,o=0,s=!1,l=0;l{Hr(e);var r=Rt(e.body,t);if("."!==e.left){var a=new Nt.MathNode("mo",[qt(e.left,e.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if("."!==e.right){var n=new Nt.MathNode("mo",[qt(e.right,e.mode)]);n.setAttribute("fence","true"),e.rightColor&&n.setAttribute("mathcolor",e.rightColor),r.push(n)}return Ct(r)}}),lt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Rr(t[0],e);if(!e.parser.leftrightDepth)throw new i("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=kt(t,[]);else{r=qr.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};r.isMiddle=a}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?qt("|","text"):qt(e.delim,e.mode),a=new Nt.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Or=(e,t)=>{var r,a,n,i=Qe.wrapFragment(St(e.body,t),t),o=e.label.slice(1),s=t.sizeMultiplier,l=0,h=g(e.body);if("sout"===o)(r=Qe.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/s,l=-.5*t.fontMetrics().xHeight;else if("phase"===o){var m=W({number:.6,unit:"pt"},t),c=W({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;var p=i.height+i.depth+m+c;i.style.paddingLeft=_(p/2+m);var u=Math.floor(1e3*p*s),d="M400000 "+(a=u)+" H0 L"+a/2+" 0 l65 45 L145 "+(a-80)+" H400000z",f=new ae([new ne("phase",d)],{width:"400em",height:_(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"});(r=Qe.makeSvgSpan(["hide-tail"],[f],t)).style.height=_(p),l=i.depth+m+c}else{/cancel/.test(o)?h||i.classes.push("cancel-pad"):"angl"===o?i.classes.push("anglpad"):i.classes.push("boxpad");var v=0,b=0,y=0;/box/.test(o)?(y=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=v=t.fontMetrics().fboxsep+("colorbox"===o?0:y)):"angl"===o?(v=4*(y=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),b=Math.max(0,.25-i.depth)):b=v=h?.2:0,r=function(e,t,r,a,n){var i,o=e.height+e.depth+r+a;if(/fbox|color|angl/.test(t)){if(i=Qe.makeSpan(["stretchy",t],[],n),"fbox"===t){var s=n.color&&n.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new ie({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var h=new ae(l,{width:"100%",height:_(o)});i=Qe.makeSvgSpan([],[h],n)}return i.height=o,i.style.height=_(o),i}(i,o,v,b,t),/fbox|boxed|fcolorbox/.test(o)?(r.style.borderStyle="solid",r.style.borderWidth=_(y)):"angl"===o&&.049!==y&&(r.style.borderTopWidth=_(y),r.style.borderRightWidth=_(y)),l=i.depth+b,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:l},{type:"elem",elem:i,shift:0}]},t);else{var x=/cancel|phase/.test(o)?["svg-align"]:[];n=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:0},{type:"elem",elem:r,shift:l,wrapperClasses:x}]},t)}return/cancel/.test(o)&&(n.height=i.height,n.depth=i.depth),/cancel/.test(o)&&!h?Qe.makeSpan(["mord","cancel-lap"],[n],t):Qe.makeSpan(["mord"],[n],t)},Er=(e,t)=>{var r=0,a=new Nt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ot(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};lt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Ut(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:o}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:a,funcName:n}=e,i=Ut(t[0],"color-token").color,o=Ut(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:o,borderColor:i,body:s}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),lt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:Or,mathmlBuilder:Er}),lt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var Lr={};function Dr(e){for(var{type:t,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:o}=e,s={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},l=0;l{if(!e.parser.settings.displayMode)throw new i("{"+e.envName+"} can be used only in display mode.")};function Ur(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function Yr(e,t,r){var{hskipBeforeAndAfter:a,addJot:o,cols:s,arraystretch:l,colSeparationType:h,autoTag:m,singleRow:c,emptySingleRow:p,maxNumCols:u,leqno:d}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!l){var g=e.gullet.expandMacroAsText("\\arraystretch");if(null==g)l=1;else if(!(l=parseFloat(g))||l<0)throw new i("Invalid \\arraystretch: "+g)}e.gullet.beginGroup();var f=[],v=[f],b=[],y=[],x=null!=m?[]:void 0;function w(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function k(){x&&(e.gullet.macros.get("\\df@tag")?(x.push(e.subparse([new n("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):x.push(Boolean(m)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(w(),y.push(Fr(e));;){var S=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),S={type:"ordgroup",mode:e.mode,body:S},r&&(S={type:"styling",mode:e.mode,style:r,body:[S]}),f.push(S);var M=e.fetch().text;if("&"===M){if(u&&f.length===u){if(c||h)throw new i("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===M){k(),1===f.length&&"styling"===S.type&&0===S.body[0].body.length&&(v.length>1||!p)&&v.pop(),y.length0&&(y+=.25),h.push({pos:y,isDashed:e[t]})}for(x(o[0]),r=0;r0&&(S<(T+=b)&&(S=T),T=0),e.addJot&&(S+=g),M.height=k,M.depth=S,y+=k,M.pos=y,y+=S+T,l[r]=M,x(o[r+1])}var N,q,C=y/2+t.fontMetrics().axisHeight,I=e.cols||[],R=[],H=[];if(e.tags&&e.tags.some((e=>e)))for(r=0;r=s)){var Y=void 0;(a>0||e.hskipBeforeAndAfter)&&0!==(Y=c(V.pregap,u))&&((N=Qe.makeSpan(["arraycolsep"],[])).style.width=_(Y),R.push(N));var X=[];for(r=0;r0){for(var K=Qe.makeLineSpan("hline",t,m),J=Qe.makeLineSpan("hdashline",t,m),Q=[{type:"elem",elem:l,shift:0}];h.length>0;){var ee=h.pop(),te=ee.pos-C;ee.isDashed?Q.push({type:"elem",elem:J,shift:te}):Q.push({type:"elem",elem:K,shift:te})}l=Qe.makeVList({positionType:"individualShift",children:Q},t)}if(0===H.length)return Qe.makeSpan(["mord"],[l],t);var re=Qe.makeVList({positionType:"individualShift",children:H},t);return re=Qe.makeSpan(["tag"],[re],t),Qe.makeFragment([l,re])},_r={c:"center ",l:"left ",r:"right "},jr=function(e,t){for(var r=[],a=new Nt.MathNode("mtd",[],["mtr-glue"]),n=new Nt.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var u=e.cols,d="",g=!1,f=0,v=u.length;"separator"===u[0].type&&(c+="top ",f=1),"separator"===u[u.length-1].type&&(c+="bottom ",v-=1);for(var b=f;b0?"left ":"",c+=S[S.length-1].length>0?"right ":"";for(var M=1;M-1?"alignat":"align",o="split"===e.envName,s=Yr(e.parser,{cols:a,addJot:!0,autoTag:o?void 0:Ur(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:o?2:void 0,leqno:e.parser.settings.leqno},"display"),l=0,h={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var m="",c=0;c0&&p&&(g=1),a[u]={type:"align",align:d,pregap:g,postgap:0}}return s.colSeparationType=p?"align":"alignat",s};Dr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new i("Unknown column alignment: "+t,e)})),a={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Yr(e.parser,a,Xr(e.envName))},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var n=e.parser;if(n.consumeSpaces(),"["===n.fetch().text){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,-1==="lcr".indexOf(r))throw new i("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var o=Yr(e.parser,a,Xr(e.envName)),s=Math.max(0,...o.body.map((e=>e.length)));return o.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(Xt(t[0])?[t[0]]:Ut(t[0],"ordgroup").body).map((function(e){var t=Yt(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new i("Unknown column alignment: "+t,e)}));if(r.length>1)throw new i("{subarray} can contain only one column");var a={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((a=Yr(e.parser,a,"script")).body.length>0&&a.body[0].length>1)throw new i("{subarray} can contain only one column");return a},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=Yr(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},Xr(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:$r,htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){m(["gather","gather*"],e.envName)&&Gr(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ur(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:$r,htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Gr(e);var t={autoTag:Ur(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Yr(e.parser,t,"display")},htmlBuilder:Wr,mathmlBuilder:jr}),Dr({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Gr(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"!==r&&"\\\\"!==r){if("\\end"===r){0===t[t.length-1].length&&t.pop();break}throw new i("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var a,n,o=[],s=[o],l=0;l-1);else{if(!("<>AV".indexOf(p)>-1))throw new i('Expected one of "<>AV=|." after @',h[c]);for(var d=0;d<2;d++){for(var g=!0,f=c+1;f{var r=e.font,a=t.withFont(r);return St(e.body,a)},Jr=(e,t)=>{var r=e.font,a=t.withFont(r);return Ot(e.body,a)},Qr={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};lt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=mt(t[0]),i=a;return i in Qr&&(i=Qr[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:Kr,mathmlBuilder:Jr}),lt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,a=t[0],n=g(a);return{type:"mclass",mode:r.mode,mclass:Qt(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}}),lt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a,breakOnTokenText:n}=e,{mode:i}=r,o=r.parseExpression(!0,n);return{type:"font",mode:i,font:"math"+a.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:Kr,mathmlBuilder:Jr});var ea=(e,t)=>{var r=t;return"display"===e?r=r.id>=B.SCRIPT.id?r.text():B.DISPLAY:"text"===e&&r.size===B.DISPLAY.size?r=B.TEXT:"script"===e?r=B.SCRIPT:"scriptscript"===e&&(r=B.SCRIPTSCRIPT),r},ta=(e,t)=>{var r,a=ea(e.size,t.style),n=a.fracNum(),i=a.fracDen();r=t.havingStyle(n);var o=St(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;o.height=o.height0?3*c:7*c,d=t.fontMetrics().denom1):(m>0?(p=t.fontMetrics().num2,u=c):(p=t.fontMetrics().num3,u=3*c),d=t.fontMetrics().denom2),h){var x=t.fontMetrics().axisHeight;p-o.depth-(x+.5*m){var r=new Nt.MathNode("mfrac",[Ot(e.numer,t),Ot(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var a=W(e.barSize,t);r.setAttribute("linethickness",_(a))}}else r.setAttribute("linethickness","0px");var n=ea(e.size,t.style);if(n.size!==t.style.size){r=new Nt.MathNode("mstyle",[r]);var i=n.size===B.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var o=[];if(null!=e.leftDelim){var s=new Nt.MathNode("mo",[new Nt.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),o.push(s)}if(o.push(r),null!=e.rightDelim){var l=new Nt.MathNode("mo",[new Nt.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),o.push(l)}return Ct(o)}return r};lt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:a,funcName:n}=e,i=t[0],o=t[1],s=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,s="(",l=")";break;case"\\\\bracefrac":r=!1,s="\\{",l="\\}";break;case"\\\\brackfrac":r=!1,s="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text"}return{type:"genfrac",mode:a.mode,continued:!1,numer:i,denom:o,hasBarLine:r,leftDelim:s,rightDelim:l,size:h,barSize:null}},htmlBuilder:ta,mathmlBuilder:ra}),lt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),lt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:a,token:n}=e;switch(a){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:n}}});var aa=["display","text","script","scriptscript"],na=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};lt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:a}=e,n=t[4],i=t[5],o=mt(t[0]),s="atom"===o.type&&"open"===o.family?na(o.text):null,l=mt(t[1]),h="atom"===l.type&&"close"===l.family?na(l.text):null,m=Ut(t[2],"size"),c=null;r=!!m.isBlank||(c=m.value).number>0;var p="auto",u=t[3];if("ordgroup"===u.type){if(u.body.length>0){var d=Ut(u.body[0],"textord");p=aa[Number(d.text)]}}else u=Ut(u,"textord"),p=aa[Number(u.text)];return{type:"genfrac",mode:a.mode,numer:n,denom:i,continued:!1,hasBarLine:r,barSize:c,leftDelim:s,rightDelim:h,size:p}},htmlBuilder:ta,mathmlBuilder:ra}),lt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:a,token:n}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ut(t[0],"size").value,token:n}}}),lt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Ut(t[1],"infix").size),o=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:o,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ta,mathmlBuilder:ra});var ia=(e,t)=>{var r,a,n=t.style;"supsub"===e.type?(r=e.sup?St(e.sup,t.havingStyle(n.sup()),t):St(e.sub,t.havingStyle(n.sub()),t),a=Ut(e.base,"horizBrace")):a=Ut(e,"horizBrace");var i,o=St(a.base,t.havingBaseStyle(B.DISPLAY)),s=Gt(a,t);if(a.isOver?(i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=Qe.makeVList({positionType:"bottom",positionData:o.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=Qe.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t);i=a.isOver?Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Qe.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return Qe.makeSpan(["mord",a.isOver?"mover":"munder"],[i],t)};lt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:a}=e;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:ia,mathmlBuilder:(e,t)=>{var r=Ft(e.label);return new Nt.MathNode(e.isOver?"mover":"munder",[Ot(e.base,t),r])}}),lt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[1],n=Ut(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:ct(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=vt(e.body,t,!1);return Qe.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Ht(e.body,t);return r instanceof Tt||(r=new Tt("mrow",[r])),r.setAttribute("href",e.href),r}}),lt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=Ut(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;inew Nt.MathNode("mrow",Rt(e.body,t))}),lt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:a,funcName:n,token:o}=e,s=Ut(t[0],"raw").string,l=t[1];a.settings.strict&&a.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var h={};switch(n){case"\\htmlClass":h.class=s,r={command:"\\htmlClass",class:s};break;case"\\htmlId":h.id=s,r={command:"\\htmlId",id:s};break;case"\\htmlStyle":h.style=s,r={command:"\\htmlStyle",style:s};break;case"\\htmlData":for(var m=s.split(","),c=0;c{var r=vt(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var n=Qe.makeSpan(a,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&n.setAttribute(i,e.attributes[i]);return n},mathmlBuilder:(e,t)=>Ht(e.body,t)}),lt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:ct(t[0]),mathml:ct(t[1])}},htmlBuilder:(e,t)=>{var r=vt(e.html,t,!1);return Qe.makeFragment(r)},mathmlBuilder:(e,t)=>Ht(e.mathml,t)});var oa=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new i("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!X(r))throw new i("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};lt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:a}=e,n={number:0,unit:"em"},o={number:.9,unit:"em"},s={number:0,unit:"em"},l="";if(r[0])for(var h=Ut(r[0],"raw").string.split(","),m=0;m{var r=W(e.height,t),a=0;e.totalheight.number>0&&(a=W(e.totalheight,t)-r);var n=0;e.width.number>0&&(n=W(e.width,t));var i={height:_(r+a)};n>0&&(i.width=_(n)),a>0&&(i.verticalAlign=_(-a));var o=new ee(e.src,e.alt,i);return o.height=r,o.depth=a,o},mathmlBuilder:(e,t)=>{var r=new Nt.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var a=W(e.height,t),n=0;if(e.totalheight.number>0&&(n=W(e.totalheight,t)-a,r.setAttribute("valign",_(-n))),r.setAttribute("height",_(a+n)),e.width.number>0){var i=W(e.width,t);r.setAttribute("width",_(i))}return r.setAttribute("src",e.src),r}}),lt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=Ut(t[0],"size");if(r.settings.strict){var i="m"===a[1],o="mu"===n.value.unit;i?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, not "+n.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder:(e,t)=>Qe.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=W(e.dimension,t);return new Nt.SpaceNode(r)}}),lt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=t[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=Qe.makeSpan([],[St(e.body,t)]),r=Qe.makeSpan(["inner"],[r],t)):r=Qe.makeSpan(["inner"],[St(e.body,t)]);var a=Qe.makeSpan(["fix"],[]),n=Qe.makeSpan([e.alignment],[r,a],t),i=Qe.makeSpan(["strut"]);return i.style.height=_(n.height+n.depth),n.depth&&(i.style.verticalAlign=_(-n.depth)),n.children.unshift(i),n=Qe.makeSpan(["thinbox"],[n],t),Qe.makeSpan(["mord","vbox"],[n],t)},mathmlBuilder:(e,t)=>{var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);if("rlap"!==e.alignment){var a="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}}),lt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:a}=e,n=a.mode;a.switchMode("math");var i="\\("===r?"\\)":"$",o=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:o}}}),lt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new i("Mismatched "+e.funcName)}});var sa=(e,t)=>{switch(t.style.size){case B.DISPLAY.size:return e.display;case B.TEXT.size:return e.text;case B.SCRIPT.size:return e.script;case B.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};lt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:ct(t[0]),text:ct(t[1]),script:ct(t[2]),scriptscript:ct(t[3])}},htmlBuilder:(e,t)=>{var r=sa(e,t),a=vt(r,t,!1);return Qe.makeFragment(a)},mathmlBuilder:(e,t)=>{var r=sa(e,t);return Ht(r,t)}});var la=(e,t,r,a,n,i,o)=>{e=Qe.makeSpan([],[e]);var s,l,h,m=r&&g(r);if(t){var c=St(t,a.havingStyle(n.sup()),a);l={elem:c,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var p=St(r,a.havingStyle(n.sub()),a);s={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-p.height)}}if(l&&s){var u=a.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:u,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:_(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:_(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(s){var d=e.height-o;h=Qe.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:_(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},a)}else{if(!l)return e;var f=e.depth+o;h=Qe.makeVList({positionType:"bottom",positionData:f,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:_(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}var v=[h];if(s&&0!==i&&!m){var b=Qe.makeSpan(["mspace"],[],a);b.style.marginRight=_(i),v.unshift(b)}return Qe.makeSpan(["mop","op-limits"],v,a)},ha=["\\smallint"],ma=(e,t)=>{var r,a,n,i=!1;"supsub"===e.type?(r=e.sup,a=e.sub,n=Ut(e.base,"op"),i=!0):n=Ut(e,"op");var o,s=t.style,l=!1;if(s.size===B.DISPLAY.size&&n.symbol&&!m(ha,n.name)&&(l=!0),n.symbol){var h=l?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==n.name&&"\\oiiint"!==n.name||(c=n.name.slice(1),n.name="oiint"===c?"\\iint":"\\iiint"),o=Qe.makeSymbol(n.name,h,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),c.length>0){var p=o.italic,u=Qe.staticSvg(c+"Size"+(l?"2":"1"),t);o=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:u,shift:l?.08:0}]},t),n.name="\\"+c,o.classes.unshift("mop"),o.italic=p}}else if(n.body){var d=vt(n.body,t,!0);1===d.length&&d[0]instanceof re?(o=d[0]).classes[0]="mop":o=Qe.makeSpan(["mop"],d,t)}else{for(var g=[],f=1;f{var r;if(e.symbol)r=new Tt("mo",[qt(e.name,e.mode)]),m(ha,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Tt("mo",Rt(e.body,t));else{r=new Tt("mi",[new Bt(e.name.slice(1))]);var a=new Tt("mo",[qt("⁡","text")]);r=e.parentIsSupSub?new Tt("mrow",[r,a]):At([r,a])}return r},pa={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};lt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:a}=e,n=a;return 1===n.length&&(n=pa[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ct(a)}},htmlBuilder:ma,mathmlBuilder:ca});var ua={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};lt({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ma,mathmlBuilder:ca}),lt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,a=r;return 1===a.length&&(a=ua[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ma,mathmlBuilder:ca});var da=(e,t)=>{var r,a,n,i,o=!1;if("supsub"===e.type?(r=e.sup,a=e.sub,n=Ut(e.base,"operatorname"),o=!0):n=Ut(e,"operatorname"),n.body.length>0){for(var s=n.body.map((e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e})),l=vt(s,t.withFont("mathrm"),!0),h=0;h{var{parser:r,funcName:a}=e,n=t[0];return{type:"operatorname",mode:r.mode,body:ct(n),alwaysHandleSupSub:"\\operatornamewithlimits"===a,limits:!1,parentIsSupSub:!1}},htmlBuilder:da,mathmlBuilder:(e,t)=>{for(var r=Rt(e.body,t.withFont("mathrm")),a=!0,n=0;ne.toText())).join("");r=[new Nt.TextNode(s)]}var l=new Nt.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new Nt.MathNode("mo",[qt("⁡","text")]);return e.parentIsSupSub?new Nt.MathNode("mrow",[l,h]):Nt.newDocumentFragment([l,h])}}),Pr("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),ht({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Qe.makeFragment(vt(e.body,t,!1)):Qe.makeSpan(["mord"],vt(e.body,t,!0),t),mathmlBuilder:(e,t)=>Ht(e.body,t,!0)}),lt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,a=t[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(e,t){var r=St(e.body,t.havingCrampedStyle()),a=Qe.makeLineSpan("overline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},t);return Qe.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new Nt.MathNode("mover",[Ot(e.body,t),r]);return a.setAttribute("accent","true"),a}}),lt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"phantom",mode:r.mode,body:ct(a)}},htmlBuilder:(e,t)=>{var r=vt(e.body,t.withPhantom(),!1);return Qe.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Rt(e.body,t);return new Nt.MathNode("mphantom",r)}}),lt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Qe.makeSpan([],[St(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=Rt(ct(e.body),t),a=new Nt.MathNode("mphantom",r),n=new Nt.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}}),lt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,a=t[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(e,t)=>{var r=Qe.makeSpan(["inner"],[St(e.body,t.withPhantom())]),a=Qe.makeSpan(["fix"],[]);return Qe.makeSpan(["mord","rlap"],[r,a],t)},mathmlBuilder:(e,t)=>{var r=Rt(ct(e.body),t),a=new Nt.MathNode("mphantom",r),n=new Nt.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}}),lt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,a=Ut(t[0],"size").value,n=t[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(e,t){var r=St(e.body,t),a=W(e.dy,t);return Qe.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]),a=e.dy.number+e.dy.unit;return r.setAttribute("voffset",a),r}}),lt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),lt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:a}=e,n=r[0],i=Ut(t[0],"size"),o=Ut(t[1],"size");return{type:"rule",mode:a.mode,shift:n&&Ut(n,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var r=Qe.makeSpan(["mord","rule"],[],t),a=W(e.width,t),n=W(e.height,t),i=e.shift?W(e.shift,t):0;return r.style.borderRightWidth=_(a),r.style.borderTopWidth=_(n),r.style.bottom=_(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=1.125*n*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=W(e.width,t),a=W(e.height,t),n=e.shift?W(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new Nt.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",_(r)),o.setAttribute("height",_(a));var s=new Nt.MathNode("mpadded",[o]);return n>=0?s.setAttribute("height",_(n)):(s.setAttribute("height",_(n)),s.setAttribute("depth",_(-n))),s.setAttribute("voffset",_(n)),s}});var fa=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];lt({type:"sizing",names:fa,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:fa.indexOf(a)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return ga(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),a=Rt(e.body,r),n=new Nt.MathNode("mstyle",a);return n.setAttribute("mathsize",_(r.sizeMultiplier)),n}}),lt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:a}=e,n=!1,i=!1,o=r[0]&&Ut(r[0],"ordgroup");if(o)for(var s="",l=0;l{var r=Qe.makeSpan([],[St(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new Nt.MathNode("mpadded",[Ot(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),lt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:a}=e,n=r[0],i=t[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(e,t){var r=St(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=Qe.wrapFragment(r,t);var a=t.fontMetrics().defaultRuleThickness,n=a;t.style.idr.height+r.depth+i&&(i=(i+m-r.height-r.depth)/2);var c=s.height-r.height-i-l;r.style.paddingLeft=_(h);var p=Qe.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+c)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var u=t.havingStyle(B.SCRIPTSCRIPT),d=St(e.index,u,t),g=.6*(p.height-p.depth),f=Qe.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:d}]},t),v=Qe.makeSpan(["root"],[f]);return Qe.makeSpan(["mord","sqrt"],[v,p],t)}return Qe.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:a}=e;return a?new Nt.MathNode("mroot",[Ot(r,t),Ot(a,t)]):new Nt.MathNode("msqrt",[Ot(r,t)])}});var va={display:B.DISPLAY,text:B.TEXT,script:B.SCRIPT,scriptscript:B.SCRIPTSCRIPT};lt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:a,parser:n}=e,i=n.parseExpression(!0,r),o=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:o,body:i}},htmlBuilder(e,t){var r=va[e.style],a=t.havingStyle(r).withFont("");return ga(e.body,a,t)},mathmlBuilder(e,t){var r=va[e.style],a=t.havingStyle(r),n=Rt(e.body,a),i=new Nt.MathNode("mstyle",n),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}}),ht({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===B.DISPLAY.size||r.alwaysHandleSupSub)?ma:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===B.DISPLAY.size||r.limits)?da:null:"accent"===r.type?g(r.base)?Wt:null:"horizBrace"===r.type&&!e.sub===r.isOver?ia:null:null}(e,t);if(r)return r(e,t);var a,n,i,{base:o,sup:s,sub:l}=e,h=St(o,t),m=t.fontMetrics(),c=0,p=0,u=o&&g(o);if(s){var d=t.havingStyle(t.style.sup());a=St(s,d,t),u||(c=h.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(l){var f=t.havingStyle(t.style.sub());n=St(l,f,t),u||(p=h.depth+f.fontMetrics().subDrop*f.sizeMultiplier/t.sizeMultiplier)}i=t.style===B.DISPLAY?m.sup1:t.style.cramped?m.sup3:m.sup2;var v,b=t.sizeMultiplier,y=_(.5/m.ptPerEm/b),x=null;if(n){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(h instanceof re||w)&&(x=_(-h.italic))}if(a&&n){c=Math.max(c,i,a.depth+.25*m.xHeight),p=Math.max(p,m.sub2);var k=4*m.defaultRuleThickness;if(c-a.depth-(n.height-p)0&&(c+=S,p-=S)}v=Qe.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:p,marginRight:y,marginLeft:x},{type:"elem",elem:a,shift:-c,marginRight:y}]},t)}else if(n){p=Math.max(p,m.sub1,n.height-.8*m.xHeight),v=Qe.makeVList({positionType:"shift",positionData:p,children:[{type:"elem",elem:n,marginLeft:x,marginRight:y}]},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");c=Math.max(c,i,a.depth+.25*m.xHeight),v=Qe.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:a,marginRight:y}]},t)}var M=wt(h,"right")||"mord";return Qe.makeSpan([M],[h,Qe.makeSpan(["msupsub"],[v])],t)},mathmlBuilder(e,t){var r,a=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(a=!0,r=e.base.isOver),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);var n,i=[Ot(e.base,t)];if(e.sub&&i.push(Ot(e.sub,t)),e.sup&&i.push(Ot(e.sup,t)),a)n=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;n=o&&"op"===o.type&&o.limits&&t.style===B.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===B.DISPLAY||o.limits)?"munderover":"msubsup"}else{var s=e.base;n=s&&"op"===s.type&&s.limits&&(t.style===B.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===B.DISPLAY)?"munder":"msub"}else{var l=e.base;n=l&&"op"===l.type&&l.limits&&(t.style===B.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===B.DISPLAY)?"mover":"msup"}return new Nt.MathNode(n,i)}}),ht({type:"atom",htmlBuilder:(e,t)=>Qe.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[qt(e.text,e.mode)]);if("bin"===e.family){var a=It(e,t);"bold-italic"===a&&r.setAttribute("mathvariant",a)}else"punct"===e.family?r.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||r.setAttribute("stretchy","false");return r}});var ba={mi:"italic",mn:"normal",mtext:"normal"};ht({type:"mathord",htmlBuilder:(e,t)=>Qe.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new Nt.MathNode("mi",[qt(e.text,e.mode,t)]),a=It(e,t)||"italic";return a!==ba[r.type]&&r.setAttribute("mathvariant",a),r}}),ht({type:"textord",htmlBuilder:(e,t)=>Qe.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,a=qt(e.text,e.mode,t),n=It(e,t)||"normal";return r="text"===e.mode?new Nt.MathNode("mtext",[a]):/[0-9]/.test(e.text)?new Nt.MathNode("mn",[a]):"\\prime"===e.text?new Nt.MathNode("mo",[a]):new Nt.MathNode("mi",[a]),n!==ba[r.type]&&r.setAttribute("mathvariant",n),r}});var ya={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},xa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ht({type:"spacing",htmlBuilder(e,t){if(xa.hasOwnProperty(e.text)){var r=xa[e.text].className||"";if("text"===e.mode){var a=Qe.makeOrd(e,t,"textord");return a.classes.push(r),a}return Qe.makeSpan(["mspace",r],[Qe.mathsym(e.text,e.mode,t)],t)}if(ya.hasOwnProperty(e.text))return Qe.makeSpan(["mspace",ya[e.text]],[],t);throw new i('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!xa.hasOwnProperty(e.text)){if(ya.hasOwnProperty(e.text))return new Nt.MathNode("mspace");throw new i('Unknown type of space "'+e.text+'"')}return new Nt.MathNode("mtext",[new Nt.TextNode(" ")])}});var wa=()=>{var e=new Nt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ht({type:"tag",mathmlBuilder(e,t){var r=new Nt.MathNode("mtable",[new Nt.MathNode("mtr",[wa(),new Nt.MathNode("mtd",[Ht(e.body,t)]),wa(),new Nt.MathNode("mtd",[Ht(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var ka={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Sa={"\\textbf":"textbf","\\textmd":"textmd"},Ma={"\\textit":"textit","\\textup":"textup"},za=(e,t)=>{var r=e.font;return r?ka[r]?t.withTextFontFamily(ka[r]):Sa[r]?t.withTextFontWeight(Sa[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(Ma[r]):t};lt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:a}=e,n=t[0];return{type:"text",mode:r.mode,body:ct(n),font:a}},htmlBuilder(e,t){var r=za(e,t),a=vt(e.body,r,!0);return Qe.makeSpan(["mord","text"],a,r)},mathmlBuilder(e,t){var r=za(e,t);return Ht(e.body,r)}}),lt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=St(e.body,t),a=Qe.makeLineSpan("underline-line",t),n=t.fontMetrics().defaultRuleThickness,i=Qe.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},t);return Qe.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Nt.MathNode("mo",[new Nt.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new Nt.MathNode("munder",[Ot(e.body,t),r]);return a.setAttribute("accentunder","true"),a}}),lt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=St(e.body,t),a=t.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return Qe.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new Nt.MathNode("mpadded",[Ot(e.body,t)],["vcenter"])}),lt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new i("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Aa(e),a=[],n=t.havingStyle(t.style.text()),i=0;ie.body.replace(/ /g,e.star?"␣":" "),Ta=it,Ba="[ \r\n\t]",Na="(\\\\[a-zA-Z@]+)"+Ba+"*",qa="[̀-ͯ]",Ca=new RegExp(qa+"+$"),Ia="("+Ba+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+qa+"*|[\ud800-\udbff][\udc00-\udfff]"+qa+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+Na+"|\\\\[^\ud800-\udfff])";class Ra{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(Ia,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new n("EOF",new a(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new i("Unexpected character: '"+e[t]+"'",new n(e[t],new a(this,t,t+1)));var o=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[o]){var s=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===s?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=s+1,this.lex()}return new n(o,new a(this,t,this.tokenRegex.lastIndex))}}class Ha{constructor(e,t){void 0===e&&(e={}),void 0===t&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new i("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var n=this.undefStack[this.undefStack.length-1];n&&!n.hasOwnProperty(e)&&(n[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Oa=Vr;Pr("\\noexpand",(function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Pr("\\expandafter",(function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Pr("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Pr("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Pr("\\@ifnextchar",(function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Pr("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Pr("\\TextOrMath",(function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));var Ea={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Pr("\\char",(function(e){var t,r=e.popToken(),a="";if("'"===r.text)t=8,r=e.popToken();else if('"'===r.text)t=16,r=e.popToken();else if("`"===r.text)if("\\"===(r=e.popToken()).text[0])a=r.text.charCodeAt(1);else{if("EOF"===r.text)throw new i("\\char` missing argument");a=r.text.charCodeAt(0)}else t=10;if(t){if(null==(a=Ea[r.text])||a>=t)throw new i("Invalid base-"+t+" digit "+r.text);for(var n;null!=(n=Ea[e.future().text])&&n{var a=e.consumeArg().tokens;if(1!==a.length)throw new i("\\newcommand's first argument must be a macro name");var n=a[0].text,o=e.isDefined(n);if(o&&!t)throw new i("\\newcommand{"+n+"} attempting to redefine "+n+"; use \\renewcommand");if(!o&&!r)throw new i("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(1===(a=e.consumeArg().tokens).length&&"["===a[0].text){for(var l="",h=e.expandNextToken();"]"!==h.text&&"EOF"!==h.text;)l+=h.text,h=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new i("Invalid number of arguments: "+l);s=parseInt(l),a=e.consumeArg().tokens}return e.macros.set(n,{tokens:a,numArgs:s}),""};Pr("\\newcommand",(e=>La(e,!1,!0))),Pr("\\renewcommand",(e=>La(e,!0,!1))),Pr("\\providecommand",(e=>La(e,!0,!0))),Pr("\\message",(e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Pr("\\errmessage",(e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Pr("\\show",(e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Ta[r],he.math[r],he.text[r]),""})),Pr("\\bgroup","{"),Pr("\\egroup","}"),Pr("~","\\nobreakspace"),Pr("\\lq","`"),Pr("\\rq","'"),Pr("\\aa","\\r a"),Pr("\\AA","\\r A"),Pr("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),Pr("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Pr("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),Pr("ℬ","\\mathscr{B}"),Pr("ℰ","\\mathscr{E}"),Pr("ℱ","\\mathscr{F}"),Pr("ℋ","\\mathscr{H}"),Pr("ℐ","\\mathscr{I}"),Pr("ℒ","\\mathscr{L}"),Pr("ℳ","\\mathscr{M}"),Pr("ℛ","\\mathscr{R}"),Pr("ℭ","\\mathfrak{C}"),Pr("ℌ","\\mathfrak{H}"),Pr("ℨ","\\mathfrak{Z}"),Pr("\\Bbbk","\\Bbb{k}"),Pr("·","\\cdotp"),Pr("\\llap","\\mathllap{\\textrm{#1}}"),Pr("\\rlap","\\mathrlap{\\textrm{#1}}"),Pr("\\clap","\\mathclap{\\textrm{#1}}"),Pr("\\mathstrut","\\vphantom{(}"),Pr("\\underbar","\\underline{\\text{#1}}"),Pr("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Pr("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),Pr("\\ne","\\neq"),Pr("≠","\\neq"),Pr("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),Pr("∉","\\notin"),Pr("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),Pr("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),Pr("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),Pr("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),Pr("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),Pr("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),Pr("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),Pr("⟂","\\perp"),Pr("‼","\\mathclose{!\\mkern-0.8mu!}"),Pr("∌","\\notni"),Pr("⌜","\\ulcorner"),Pr("⌝","\\urcorner"),Pr("⌞","\\llcorner"),Pr("⌟","\\lrcorner"),Pr("©","\\copyright"),Pr("®","\\textregistered"),Pr("️","\\textregistered"),Pr("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Pr("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Pr("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Pr("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Pr("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),Pr("⋮","\\vdots"),Pr("\\varGamma","\\mathit{\\Gamma}"),Pr("\\varDelta","\\mathit{\\Delta}"),Pr("\\varTheta","\\mathit{\\Theta}"),Pr("\\varLambda","\\mathit{\\Lambda}"),Pr("\\varXi","\\mathit{\\Xi}"),Pr("\\varPi","\\mathit{\\Pi}"),Pr("\\varSigma","\\mathit{\\Sigma}"),Pr("\\varUpsilon","\\mathit{\\Upsilon}"),Pr("\\varPhi","\\mathit{\\Phi}"),Pr("\\varPsi","\\mathit{\\Psi}"),Pr("\\varOmega","\\mathit{\\Omega}"),Pr("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Pr("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Pr("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Pr("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Pr("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Pr("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Da={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Pr("\\dots",(function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Da?t=Da[r]:("\\not"===r.slice(0,4)||r in he.math&&m(["bin","rel"],he.math[r].group))&&(t="\\dotsb"),t}));var Va={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Pr("\\dotso",(function(e){return e.future().text in Va?"\\ldots\\,":"\\ldots"})),Pr("\\dotsc",(function(e){var t=e.future().text;return t in Va&&","!==t?"\\ldots\\,":"\\ldots"})),Pr("\\cdots",(function(e){return e.future().text in Va?"\\@cdots\\,":"\\@cdots"})),Pr("\\dotsb","\\cdots"),Pr("\\dotsm","\\cdots"),Pr("\\dotsi","\\!\\cdots"),Pr("\\dotsx","\\ldots\\,"),Pr("\\DOTSI","\\relax"),Pr("\\DOTSB","\\relax"),Pr("\\DOTSX","\\relax"),Pr("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Pr("\\,","\\tmspace+{3mu}{.1667em}"),Pr("\\thinspace","\\,"),Pr("\\>","\\mskip{4mu}"),Pr("\\:","\\tmspace+{4mu}{.2222em}"),Pr("\\medspace","\\:"),Pr("\\;","\\tmspace+{5mu}{.2777em}"),Pr("\\thickspace","\\;"),Pr("\\!","\\tmspace-{3mu}{.1667em}"),Pr("\\negthinspace","\\!"),Pr("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Pr("\\negthickspace","\\tmspace-{5mu}{.277em}"),Pr("\\enspace","\\kern.5em "),Pr("\\enskip","\\hskip.5em\\relax"),Pr("\\quad","\\hskip1em\\relax"),Pr("\\qquad","\\hskip2em\\relax"),Pr("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Pr("\\tag@paren","\\tag@literal{({#1})}"),Pr("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new i("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Pr("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Pr("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Pr("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Pr("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Pr("\\newline","\\\\\\relax"),Pr("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Pa=_(H["Main-Regular"]["T".charCodeAt(0)][1]-.7*H["Main-Regular"]["A".charCodeAt(0)][1]);Pr("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Pa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Pr("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Pa+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Pr("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Pr("\\@hspace","\\hskip #1\\relax"),Pr("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Pr("\\ordinarycolon",":"),Pr("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Pr("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Pr("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Pr("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Pr("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Pr("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Pr("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Pr("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Pr("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Pr("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Pr("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Pr("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Pr("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Pr("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Pr("∷","\\dblcolon"),Pr("∹","\\eqcolon"),Pr("≔","\\coloneqq"),Pr("≕","\\eqqcolon"),Pr("⩴","\\Coloneqq"),Pr("\\ratio","\\vcentcolon"),Pr("\\coloncolon","\\dblcolon"),Pr("\\colonequals","\\coloneqq"),Pr("\\coloncolonequals","\\Coloneqq"),Pr("\\equalscolon","\\eqqcolon"),Pr("\\equalscoloncolon","\\Eqqcolon"),Pr("\\colonminus","\\coloneq"),Pr("\\coloncolonminus","\\Coloneq"),Pr("\\minuscolon","\\eqcolon"),Pr("\\minuscoloncolon","\\Eqcolon"),Pr("\\coloncolonapprox","\\Colonapprox"),Pr("\\coloncolonsim","\\Colonsim"),Pr("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Pr("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Pr("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Pr("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Pr("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Pr("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Pr("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Pr("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Pr("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Pr("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Pr("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Pr("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Pr("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Pr("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Pr("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Pr("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Pr("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Pr("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Pr("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Pr("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Pr("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Pr("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Pr("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Pr("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Pr("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Pr("\\imath","\\html@mathml{\\@imath}{ı}"),Pr("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Pr("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Pr("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Pr("⟦","\\llbracket"),Pr("⟧","\\rrbracket"),Pr("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Pr("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Pr("⦃","\\lBrace"),Pr("⦄","\\rBrace"),Pr("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Pr("⦵","\\minuso"),Pr("\\darr","\\downarrow"),Pr("\\dArr","\\Downarrow"),Pr("\\Darr","\\Downarrow"),Pr("\\lang","\\langle"),Pr("\\rang","\\rangle"),Pr("\\uarr","\\uparrow"),Pr("\\uArr","\\Uparrow"),Pr("\\Uarr","\\Uparrow"),Pr("\\N","\\mathbb{N}"),Pr("\\R","\\mathbb{R}"),Pr("\\Z","\\mathbb{Z}"),Pr("\\alef","\\aleph"),Pr("\\alefsym","\\aleph"),Pr("\\Alpha","\\mathrm{A}"),Pr("\\Beta","\\mathrm{B}"),Pr("\\bull","\\bullet"),Pr("\\Chi","\\mathrm{X}"),Pr("\\clubs","\\clubsuit"),Pr("\\cnums","\\mathbb{C}"),Pr("\\Complex","\\mathbb{C}"),Pr("\\Dagger","\\ddagger"),Pr("\\diamonds","\\diamondsuit"),Pr("\\empty","\\emptyset"),Pr("\\Epsilon","\\mathrm{E}"),Pr("\\Eta","\\mathrm{H}"),Pr("\\exist","\\exists"),Pr("\\harr","\\leftrightarrow"),Pr("\\hArr","\\Leftrightarrow"),Pr("\\Harr","\\Leftrightarrow"),Pr("\\hearts","\\heartsuit"),Pr("\\image","\\Im"),Pr("\\infin","\\infty"),Pr("\\Iota","\\mathrm{I}"),Pr("\\isin","\\in"),Pr("\\Kappa","\\mathrm{K}"),Pr("\\larr","\\leftarrow"),Pr("\\lArr","\\Leftarrow"),Pr("\\Larr","\\Leftarrow"),Pr("\\lrarr","\\leftrightarrow"),Pr("\\lrArr","\\Leftrightarrow"),Pr("\\Lrarr","\\Leftrightarrow"),Pr("\\Mu","\\mathrm{M}"),Pr("\\natnums","\\mathbb{N}"),Pr("\\Nu","\\mathrm{N}"),Pr("\\Omicron","\\mathrm{O}"),Pr("\\plusmn","\\pm"),Pr("\\rarr","\\rightarrow"),Pr("\\rArr","\\Rightarrow"),Pr("\\Rarr","\\Rightarrow"),Pr("\\real","\\Re"),Pr("\\reals","\\mathbb{R}"),Pr("\\Reals","\\mathbb{R}"),Pr("\\Rho","\\mathrm{P}"),Pr("\\sdot","\\cdot"),Pr("\\sect","\\S"),Pr("\\spades","\\spadesuit"),Pr("\\sub","\\subset"),Pr("\\sube","\\subseteq"),Pr("\\supe","\\supseteq"),Pr("\\Tau","\\mathrm{T}"),Pr("\\thetasym","\\vartheta"),Pr("\\weierp","\\wp"),Pr("\\Zeta","\\mathrm{Z}"),Pr("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Pr("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Pr("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Pr("\\bra","\\mathinner{\\langle{#1}|}"),Pr("\\ket","\\mathinner{|{#1}\\rangle}"),Pr("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Pr("\\Bra","\\left\\langle#1\\right|"),Pr("\\Ket","\\left|#1\\right\\rangle");var Fa=e=>t=>{var r=t.consumeArg().tokens,a=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",o),n.length&&r.macros.set("\\|",s));var i=t;return!t&&n.length&&"|"===r.future().text&&(r.popToken(),i=!0),{tokens:i?n:a,numArgs:0}};t.macros.set("|",l(!1)),n.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,m=t.expandTokens([...i,...h,...r]);return t.macros.endGroup(),{tokens:m.reverse(),numArgs:0}};Pr("\\bra@ket",Fa(!1)),Pr("\\bra@set",Fa(!0)),Pr("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Pr("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Pr("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Pr("\\angln","{\\angl n}"),Pr("\\blue","\\textcolor{##6495ed}{#1}"),Pr("\\orange","\\textcolor{##ffa500}{#1}"),Pr("\\pink","\\textcolor{##ff00af}{#1}"),Pr("\\red","\\textcolor{##df0030}{#1}"),Pr("\\green","\\textcolor{##28ae7b}{#1}"),Pr("\\gray","\\textcolor{gray}{#1}"),Pr("\\purple","\\textcolor{##9d38bd}{#1}"),Pr("\\blueA","\\textcolor{##ccfaff}{#1}"),Pr("\\blueB","\\textcolor{##80f6ff}{#1}"),Pr("\\blueC","\\textcolor{##63d9ea}{#1}"),Pr("\\blueD","\\textcolor{##11accd}{#1}"),Pr("\\blueE","\\textcolor{##0c7f99}{#1}"),Pr("\\tealA","\\textcolor{##94fff5}{#1}"),Pr("\\tealB","\\textcolor{##26edd5}{#1}"),Pr("\\tealC","\\textcolor{##01d1c1}{#1}"),Pr("\\tealD","\\textcolor{##01a995}{#1}"),Pr("\\tealE","\\textcolor{##208170}{#1}"),Pr("\\greenA","\\textcolor{##b6ffb0}{#1}"),Pr("\\greenB","\\textcolor{##8af281}{#1}"),Pr("\\greenC","\\textcolor{##74cf70}{#1}"),Pr("\\greenD","\\textcolor{##1fab54}{#1}"),Pr("\\greenE","\\textcolor{##0d923f}{#1}"),Pr("\\goldA","\\textcolor{##ffd0a9}{#1}"),Pr("\\goldB","\\textcolor{##ffbb71}{#1}"),Pr("\\goldC","\\textcolor{##ff9c39}{#1}"),Pr("\\goldD","\\textcolor{##e07d10}{#1}"),Pr("\\goldE","\\textcolor{##a75a05}{#1}"),Pr("\\redA","\\textcolor{##fca9a9}{#1}"),Pr("\\redB","\\textcolor{##ff8482}{#1}"),Pr("\\redC","\\textcolor{##f9685d}{#1}"),Pr("\\redD","\\textcolor{##e84d39}{#1}"),Pr("\\redE","\\textcolor{##bc2612}{#1}"),Pr("\\maroonA","\\textcolor{##ffbde0}{#1}"),Pr("\\maroonB","\\textcolor{##ff92c6}{#1}"),Pr("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Pr("\\maroonD","\\textcolor{##ca337c}{#1}"),Pr("\\maroonE","\\textcolor{##9e034e}{#1}"),Pr("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Pr("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Pr("\\purpleC","\\textcolor{##aa87ff}{#1}"),Pr("\\purpleD","\\textcolor{##7854ab}{#1}"),Pr("\\purpleE","\\textcolor{##543b78}{#1}"),Pr("\\mintA","\\textcolor{##f5f9e8}{#1}"),Pr("\\mintB","\\textcolor{##edf2df}{#1}"),Pr("\\mintC","\\textcolor{##e0e5cc}{#1}"),Pr("\\grayA","\\textcolor{##f6f7f7}{#1}"),Pr("\\grayB","\\textcolor{##f0f1f2}{#1}"),Pr("\\grayC","\\textcolor{##e3e5e6}{#1}"),Pr("\\grayD","\\textcolor{##d6d8da}{#1}"),Pr("\\grayE","\\textcolor{##babec2}{#1}"),Pr("\\grayF","\\textcolor{##888d93}{#1}"),Pr("\\grayG","\\textcolor{##626569}{#1}"),Pr("\\grayH","\\textcolor{##3b3e40}{#1}"),Pr("\\grayI","\\textcolor{##21242c}{#1}"),Pr("\\kaBlue","\\textcolor{##314453}{#1}"),Pr("\\kaGreen","\\textcolor{##71B307}{#1}");var Ga={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ua{constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ha(Oa,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new Ra(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,a;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:a,end:r}=this.consumeArg(["]"]))}else({tokens:a,start:t,end:r}=this.consumeArg());return this.pushToken(new n("EOF",r.loc)),this.pushTokens(a),t.range(r,"")}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){var t=[],r=e&&e.length>0;r||this.consumeSpaces();var a,n=this.future(),o=0,s=0;do{if(a=this.popToken(),t.push(a),"{"===a.text)++o;else if("}"===a.text){if(-1==--o)throw new i("Extra }",a)}else if("EOF"===a.text)throw new i("Unexpected end of input in a macro argument, expected '"+(e&&r?e[s]:"}")+"'",a);if(e&&r)if((0===o||1===o&&"{"===e[s])&&a.text===e[s]){if(++s===e.length){t.splice(-s,s);break}}else s=0}while(0!==o||r);return"{"===n.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:n,end:a}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new i("The length of delimiters doesn't match the number of args!");for(var r=t[0],a=0;athis.settings.maxExpand)throw new i("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,a=t.noexpand?null:this._getExpansion(r);if(null==a||e&&a.unexpandable){if(e&&null==a&&"\\"===r[0]&&!this.isDefined(r))throw new i("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var n=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs)for(var s=(n=n.slice()).length-1;s>=0;--s){var l=n[s];if("#"===l.text){if(0===s)throw new i("Incomplete placeholder at end of macro body",l);if("#"===(l=n[--s]).text)n.splice(s+1,1);else{if(!/^[1-9]$/.test(l.text))throw new i("Not a valid argument number",l);n.splice(s,2,...o[+l.text-1])}}}return this.pushTokens(n),n.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new n(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),t.push(a)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var a="function"==typeof t?t(this):t;if("string"==typeof a){var n=0;if(-1!==a.indexOf("#"))for(var i=a.replace(/##/g,"");-1!==i.indexOf("#"+(n+1));)++n;for(var o=new Ra(a,this.settings),s=[],l=o.lex();"EOF"!==l.text;)s.push(l),l=o.lex();return s.reverse(),{tokens:s,numArgs:n}}return a}isDefined(e){return this.macros.has(e)||Ta.hasOwnProperty(e)||he.math.hasOwnProperty(e)||he.text.hasOwnProperty(e)||Ga.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:Ta.hasOwnProperty(e)&&!Ta[e].primitive}}var Ya=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Xa=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9",ₐ:"a",ₑ:"e",ₕ:"h",ᵢ:"i",ⱼ:"j",ₖ:"k",ₗ:"l",ₘ:"m",ₙ:"n",ₒ:"o",ₚ:"p",ᵣ:"r",ₛ:"s",ₜ:"t",ᵤ:"u",ᵥ:"v",ₓ:"x",ᵦ:"β",ᵧ:"γ",ᵨ:"ρ",ᵩ:"ϕ",ᵪ:"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9",ᴬ:"A",ᴮ:"B",ᴰ:"D",ᴱ:"E",ᴳ:"G",ᴴ:"H",ᴵ:"I",ᴶ:"J",ᴷ:"K",ᴸ:"L",ᴹ:"M",ᴺ:"N",ᴼ:"O",ᴾ:"P",ᴿ:"R",ᵀ:"T",ᵁ:"U",ⱽ:"V",ᵂ:"W",ᵃ:"a",ᵇ:"b",ᶜ:"c",ᵈ:"d",ᵉ:"e",ᶠ:"f",ᵍ:"g",ʰ:"h",ⁱ:"i",ʲ:"j",ᵏ:"k",ˡ:"l",ᵐ:"m",ⁿ:"n",ᵒ:"o",ᵖ:"p",ʳ:"r",ˢ:"s",ᵗ:"t",ᵘ:"u",ᵛ:"v",ʷ:"w",ˣ:"x",ʸ:"y",ᶻ:"z",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",ᵠ:"ϕ",ᵡ:"χ",ᶿ:"θ"}),Wa={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},_a={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class ja{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ua(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new i("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new n("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var a=this.fetch();if(-1!==ja.endOfExpression.indexOf(a.text))break;if(t&&a.text===t)break;if(e&&Ta[a.text]&&Ta[a.text].infix)break;var n=this.parseAtom(t);if(!n)break;"internal"!==n.type&&r.push(n)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var l,h=he[this.mode][t].group,m=a.range(e);if(se.hasOwnProperty(h)){var c=h;l={type:"atom",mode:this.mode,family:c,loc:m,text:t}}else l={type:h,mode:this.mode,loc:m,text:t};o=l}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(C(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:a.range(e),text:t}}if(this.consume(),s)for(var p=0;p{l.d(t,{diagram:()=>f});var a=l(3745),n=l(84017),o=l(33104),i=l(59659),s=l(99278);l(92329),l(88641),l(31998),l(72794),l(7160);const d=e=>i.e.sanitizeText(e,(0,i.c)());let r={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const c=function(e,t,l,a,n){const o=Object.keys(e);i.l.info("keys:",o),i.l.info(e),o.filter((t=>e[t].parent==n)).forEach((function(l){var o,s;const r=e[l],c=r.cssClasses.join(" "),p=(0,i.k)(r.styles),b=r.label??r.id,f={labelStyle:p.labelStyle,shape:"class_box",labelText:d(b),classData:r,rx:0,ry:0,class:c,style:p.style,id:r.id,domId:r.domId,tooltip:a.db.getTooltip(r.id,n)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:(null==(o=(0,i.c)().flowchart)?void 0:o.padding)??(null==(s=(0,i.c)().class)?void 0:s.padding)};t.setNode(r.id,f),n&&t.setParent(r.id,n),i.l.info("setNode",f)}))};function p(e){let t;switch(e){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}const b={setConf:function(e){r={...r,...e}},draw:async function(e,t,l,a){i.l.info("Drawing class - ",t);const b=(0,i.c)().flowchart??(0,i.c)().class,f=(0,i.c)().securityLevel;i.l.info("config:",b);const y=(null==b?void 0:b.nodeSpacing)??50,u=(null==b?void 0:b.rankSpacing)??50,g=new o.T({multigraph:!0,compound:!0}).setGraph({rankdir:a.db.getDirection(),nodesep:y,ranksep:u,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),h=a.db.getNamespaces(),v=a.db.getClasses(),w=a.db.getRelations(),k=a.db.getNotes();let x;i.l.info(w),function(e,t,l,a){const n=Object.keys(e);i.l.info("keys:",n),i.l.info(e),n.forEach((function(l){var n,o;const s=e[l],r={shape:"rect",id:s.id,domId:s.domId,labelText:d(s.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(n=(0,i.c)().flowchart)?void 0:n.padding)??(null==(o=(0,i.c)().class)?void 0:o.padding)};t.setNode(s.id,r),c(s.classes,t,0,a,s.id),i.l.info("setNode",r)}))}(h,g,0,a),c(v,g,0,a),function(e,t){const l=(0,i.c)().flowchart;let a=0;e.forEach((function(e){var o;a++;const s={classes:"relation",pattern:1==e.relation.lineType?"dashed":"solid",id:`id_${e.id1}_${e.id2}_${a}`,arrowhead:"arrow_open"===e.type?"none":"normal",startLabelRight:"none"===e.relationTitle1?"":e.relationTitle1,endLabelLeft:"none"===e.relationTitle2?"":e.relationTitle2,arrowTypeStart:p(e.relation.type1),arrowTypeEnd:p(e.relation.type2),style:"fill:none",labelStyle:"",curve:(0,i.n)(null==l?void 0:l.curve,n.lUB)};if(i.l.info(s,e),void 0!==e.style){const t=(0,i.k)(e.style);s.style=t.style,s.labelStyle=t.labelStyle}e.text=e.title,void 0===e.text?void 0!==e.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(o=(0,i.c)().flowchart)?void 0:o.htmlLabels)??(0,i.c)().htmlLabels?(s.labelType="html",s.label=''+e.text+""):(s.labelType="text",s.label=e.text.replace(i.e.lineBreakRegex,"\n"),void 0===e.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),t.setEdge(e.id1,e.id2,s,a)}))}(w,g),function(e,t,l,a){i.l.info(e),e.forEach((function(e,o){var s,c;const p=e,b=p.text,f={labelStyle:"",shape:"note",labelText:d(b),noteData:p,rx:0,ry:0,class:"",style:"",id:p.id,domId:p.id,tooltip:"",type:"note",padding:(null==(s=(0,i.c)().flowchart)?void 0:s.padding)??(null==(c=(0,i.c)().class)?void 0:c.padding)};if(t.setNode(p.id,f),i.l.info("setNode",f),!p.class||!(p.class in a))return;const y=l+o,u={id:`edgeNote${y}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,i.n)(r.curve,n.lUB)};t.setEdge(p.id,p.class,u,y)}))}(k,g,w.length+1,v),"sandbox"===f&&(x=(0,n.Ltv)("#i"+t));const m="sandbox"===f?(0,n.Ltv)(x.nodes()[0].contentDocument.body):(0,n.Ltv)("body"),T=m.select(`[id="${t}"]`),S=m.select("#"+t+" g");if(await(0,s.r)(S,g,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),i.u.insertTitle(T,"classTitleText",(null==b?void 0:b.titleTopMargin)??5,a.db.getDiagramTitle()),(0,i.o)(g,T,null==b?void 0:b.diagramPadding,null==b?void 0:b.useMaxWidth),!(null==b?void 0:b.htmlLabels)){const e="sandbox"===f?x.nodes()[0].contentDocument:document,l=e.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const t of l){const l=t.getBBox(),a=e.createElementNS("http://www.w3.org/2000/svg","rect");a.setAttribute("rx",0),a.setAttribute("ry",0),a.setAttribute("width",l.width),a.setAttribute("height",l.height),t.insertBefore(a,t.firstChild)}}}},f={parser:a.p,db:a.d,renderer:b,styles:a.s,init:e=>{e.class||(e.class={}),e.class.arrowMarkerAbsolute=e.arrowMarkerAbsolute,a.d.clear()}}}}]); \ No newline at end of file diff --git a/assets/chunk.b7ab05bb82a1a3c1693e.js.br b/assets/chunk.b7ab05bb82a1a3c1693e.js.br new file mode 100644 index 00000000..8b6bd255 Binary files /dev/null and b/assets/chunk.b7ab05bb82a1a3c1693e.js.br differ diff --git a/assets/chunk.b7ab05bb82a1a3c1693e.js.gz b/assets/chunk.b7ab05bb82a1a3c1693e.js.gz new file mode 100644 index 00000000..91610926 Binary files /dev/null and b/assets/chunk.b7ab05bb82a1a3c1693e.js.gz differ diff --git a/assets/chunk.d0465e0adadbc973a48d.js b/assets/chunk.d0465e0adadbc973a48d.js new file mode 100644 index 00000000..53e9def1 --- /dev/null +++ b/assets/chunk.d0465e0adadbc973a48d.js @@ -0,0 +1,2 @@ +/*! For license information please see chunk.d0465e0adadbc973a48d.js.LICENSE.txt */ +(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[89],{7108:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"YkBJCuAN",block:'[[[41,[30,1,["ok"]],[[[1," "],[10,"h1"],[12],[1,"You\'ve been added as a crate owner!"],[13],[1,"\\n "],[10,2],[12],[1,"Visit your "],[8,[39,3],null,[["@route"],["dashboard"]],[["default"],[[[[1,"dashboard"]],[]]]]],[1," to view all of your crates, or "],[8,[39,3],null,[["@route"],["me"]],[["default"],[[[[1,"account settings"]],[]]]]],[1," to manage email notification preferences for all of your crates."],[13],[1,"\\n"]],[]],[[[1," "],[10,"h1"],[12],[1,"Error in accepting crate ownership."],[13],[1,"\\n "],[10,2],[12],[1,"\\n"],[41,[30,1,["errorText"]],[[[1," "],[1,[30,1,["errorText"]]],[1,"\\n"]],[]],[[[1," You may want to visit "],[8,[39,3],null,[["@route"],["me.pending-invites"]],[["default"],[[[[1,"crates.io/me/pending-invites"]],[]]]]],[1," to try again.\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]]]],["@model"],false,["if","h1","p","link-to"]]',moduleName:"crates-io/templates/accept-invite.hbs",isStrictMode:!1})},98892:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"ehIN4YRH",block:'[[[8,[39,0],null,null,null],[1,"\\n\\n"],[1,[28,[35,1],["rustacean.info"],[["separator","prepend"],[" - ",true]]]],[1,"\\n"],[1,[28,[35,2],[[30,0,["colorScheme","scheme"]]],null]],[1,"\\n\\n"],[8,[39,3],null,null,null],[1,"\\n"],[8,[39,4],null,[["@position"],["top-right"]],null],[1,"\\n\\n"],[8,[39,5],null,[["@hero"],[[30,0,["isIndex"]]]],null],[1,"\\n\\n"],[10,"main"],[15,0,[29,[[28,[37,7],["main"],[["from"],["crates-io/styles/application"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,7],["inner-main"],[["from"],["crates-io/styles/application"]]]]]],[12],[1,"\\n "],[46,[28,[37,10],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,11],null,null,null]],[],false,["head-layout","page-title","set-color-scheme","progress-bar","notification-container","header","main","local-class","div","component","-outlet","footer"]]',moduleName:"crates-io/templates/application.hbs",isStrictMode:!1})},76803:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"7Ri2dU+/",block:'[[[46,[28,[37,1],null,null],null,null,null],[1,"\\n"]],[],false,["component","-outlet"]]',moduleName:"crates-io/templates/authenticated.hbs",isStrictMode:!1})},51617:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(23189);const i=(0,n(59165).createTemplateFactory)({id:"WPfkYdCq",block:'[[[10,0],[15,0,[29,[[28,[37,1],["wrapper"],[["from"],["crates-io/styles/catch-all"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["content"],[["from"],["crates-io/styles/catch-all"]]]]]],[12],[1,"\\n "],[1,[28,[35,2],["cuddlyferris"],[["class"],[[28,[37,3],[[28,[37,1],["logo"],[["from"],["crates-io/styles/catch-all"]]]],null]]]]],[1,"\\n\\n "],[10,"h1"],[15,0,[29,[[28,[37,1],["title"],[["from"],["crates-io/styles/catch-all"]]]]]],[12],[1,[28,[35,5],[[30,1,["title"]],"Page not found"],null]],[13],[1,"\\n\\n"],[41,[30,1,["loginNeeded"]],[[[1," "],[11,"button"],[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/styles/catch-all"]]]]]],[16,"disabled",[30,0,["session","loginTask","isRunning"]]],[24,4,"button"],[4,[32,0],["click",[28,[37,8],[[30,0,["session","loginTask"]]],null]],null],[12],[1,"\\n Log in with GitHub\\n "],[13],[1,"\\n"]],[]],[[[41,[30,1,["tryAgain"]],[[[1," "],[11,"button"],[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/styles/catch-all"]]]]]],[24,4,"button"],[4,[32,0],["click",[30,0,["reload"]]],null],[12],[1,"Try Again"],[13],[1,"\\n"]],[]],[[[1," "],[11,"button"],[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/styles/catch-all"]]]]]],[24,4,"button"],[4,[32,0],["click",[30,0,["back"]]],null],[12],[1,"Go Back"],[13],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n"],[13]],["@model"],false,["div","local-class","svg-jar","concat","h1","or","if","button","perform"]]',moduleName:"crates-io/templates/catch-all.hbs",scope:()=>[r.on],isStrictMode:!1})},71524:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"KvZnymz1",block:'[[[1,[28,[35,0],["Categories"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title"],["All Categories"]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["results-meta"],[["from"],["crates-io/styles/categories"]]]]]],[12],[1,"\\n "],[8,[39,4],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,3],["sort-by"],[["from"],["crates-io/styles/categories"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["sort-by-label"],[["from"],["crates-io/styles/categories"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,6],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["crates"]]]]],[["default"],[[[[1,"# Crates"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/categories"]]]]]],[12],[1,"\\n"],[42,[28,[37,9],[[28,[37,9],[[30,0,["model"]]],null]],null],null,[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["row"],[["from"],["crates-io/styles/categories"]]]]]],[12],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[39,10],[[16,0,[29,[[28,[37,3],["category-link"],[["from"],["crates-io/styles/categories"]]]]]]],[["@route","@model"],["category",[30,2,["slug"]]]],[["default"],[[[[1,[30,2,["category"]]]],[]]]]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["crate-count"],[["from"],["crates-io/styles/categories"]]]]]],[12],[1,"\\n "],[1,[28,[35,11],[[30,2,["crates_cnt"]]],null]],[1," "],[1,[52,[28,[37,13],[[30,2,["crates_cnt"]],1],null],"crate","crates"]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,3],["description"],[["from"],["crates-io/styles/categories"]]]]]],[12],[1,"\\n "],[1,[30,2,["description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[13],[1,"\\n\\n"],[8,[39,14],null,[["@pagination"],[[30,0,["pagination"]]]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["categories-footer"],[["from"],["crates-io/styles/categories"]]]]]],[12],[1,"\\n Want to categorize your crate?\\n "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata"],[12],[1,"Add metadata!"],[13],[1,"\\n"],[13],[1,"\\n"]],["sd","category"],false,["page-title","page-header","div","local-class","results-count","span","sort-dropdown","hash","each","-track-array","link-to","format-num","if","eq","pagination","a"]]',moduleName:"crates-io/templates/categories.hbs",isStrictMode:!1})},59775:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"yaAjb5k0",block:'[[[1,[28,[35,0],["Category Slugs"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title"],["All Valid Category Slugs"]],null],[1,"\\n\\n"],[10,"dl"],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/category-slugs"]]]]]],[12],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,0,["model"]]],null]],null],null,[[[1," "],[10,"dt"],[12],[1,[30,1,["slug"]]],[13],[1,"\\n "],[10,"dd"],[12],[1,[30,1,["description"]]],[13],[1,"\\n"]],[1]],null],[13],[1,"\\n"]],["category"],false,["page-title","page-header","dl","local-class","each","-track-array","dt","dd"]]',moduleName:"crates-io/templates/category-slugs.hbs",isStrictMode:!1})},97671:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"e3BEwjpb",block:'[[[1,[28,[35,0],["Category Not Found"],null]]],[],false,["page-title"]]',moduleName:"crates-io/templates/category/error.hbs",isStrictMode:!1})},1601:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"1gV2i9Sd",block:'[[[1,[28,[35,0],[[30,0,["category","category"]]," - Categories"],null]],[1,"\\n\\n"],[8,[39,1],[[16,0,[29,[[28,[37,2],["header"],[["from"],["crates-io/styles/category/index"]]]]]]],null,[["default"],[[[[1,"\\n "],[10,"h1"],[12],[1,"\\n "],[42,[28,[37,5],[[28,[37,5],[[30,0,["category","parent_categories"]]],null]],null],null,[[[8,[39,6],null,[["@route","@model"],["category",[30,1,["slug"]]]],[["default"],[[[[1,[30,1,["category"]]]],[]]]]],[1,"::"]],[1]],null],[1,[30,0,["category","category"]]],[1,"\\n "],[13],[1,"\\n"]],[]]]]],[1,"\\n\\n"],[10,0],[12],[1,"\\n "],[10,2],[12],[1,[30,0,["category","description"]]],[13],[1,"\\n"],[13],[1,"\\n\\n"],[41,[30,0,["category","subcategories"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,"h2"],[12],[1,"Subcategories"],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["subcategories"],[["from"],["crates-io/styles/category/index"]]]]]],[12],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,0,["category","subcategories"]]],null]],null],null,[[[1," "],[10,0],[15,0,[29,[[28,[37,2],["subcategory"],[["from"],["crates-io/styles/category/index"]]]]]],[12],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[39,6],null,[["@route","@model"],["category",[30,2,["slug"]]]],[["default"],[[[[1,[30,2,["category"]]]],[]]]]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["crate-count"],[["from"],["crates-io/styles/category/index"]]]]]],[12],[1,"\\n "],[1,[28,[35,12],[[30,2,["crates_cnt"]]],null]],[1," "],[1,[52,[28,[37,13],[[30,2,["crates_cnt"]],1],null],"crate","crates"]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["category-description"],[["from"],["crates-io/styles/category/index"]]]]]],[12],[1,"\\n "],[1,[30,2,["description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[10,"h2"],[12],[1,"Crates"],[13],[1,"\\n"],[10,0],[15,0,[29,[[28,[37,2],["results-meta"],[["from"],["crates-io/styles/category/index"]]]]]],[12],[1,"\\n "],[8,[39,14],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["sort-by-label"],[["from"],["crates-io/styles/category/index"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,15],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,3,["Option"]],null,[["@query"],[[28,[37,16],null,[["sort"],["alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,3,["Option"]],null,[["@query"],[[28,[37,16],null,[["sort"],["downloads"]]]]],[["default"],[[[[1,"All-Time Downloads"]],[]]]]],[1,"\\n "],[8,[30,3,["Option"]],null,[["@query"],[[28,[37,16],null,[["sort"],["recent-downloads"]]]]],[["default"],[[[[1,"Recent Downloads"]],[]]]]],[1,"\\n "],[8,[30,3,["Option"]],null,[["@query"],[[28,[37,16],null,[["sort"],["recent-updates"]]]]],[["default"],[[[[1,"Recent Updates"]],[]]]]],[1,"\\n "],[8,[30,3,["Option"]],null,[["@query"],[[28,[37,16],null,[["sort"],["new"]]]]],[["default"],[[[[1,"Newly Added"]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,17],[[16,0,[29,[[28,[37,2],["list"],[["from"],["crates-io/styles/category/index"]]]]]]],[["@crates"],[[30,0,["model"]]]],null],[1,"\\n\\n"],[8,[39,18],null,[["@pagination"],[[30,0,["pagination"]]]],null],[1,"\\n"]],["parent","subcategory","sd"],false,["page-title","page-header","local-class","h1","each","-track-array","link-to","div","p","if","h2","span","format-num","eq","results-count","sort-dropdown","hash","crate-list","pagination"]]',moduleName:"crates-io/templates/category/index.hbs",isStrictMode:!1})},45289:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"H/y5MsXm",block:'[[[1,[28,[35,0],[[30,0,["model","name"]]," - Related Articles"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@crate"],[[30,0,["model"]]]],null],[1,"\\n\\n"],[10,"ul"],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/crate/articles"]]]]]],[12],[1,"\\n"],[41,[30,0,["model","articles"]],[[[42,[28,[37,6],[[28,[37,6],[[30,0,["model","articles"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,8],[[16,0,[29,[[28,[37,3],["row"],[["from"],["crates-io/styles/crate/articles"]]]]]]],[["@link","@title"],[[30,1,["link"]],[30,1,["title"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[10,"br"],[12],[13],[1,"\\n Contribute and post more related articles on "],[10,3],[15,6,[30,0,["model","link_edit_articles"]]],[14,"target","_blank"],[12],[1,"GitHub"],[13],[1,"!\\n"]],[]],[[[1," Contribute and post the first related article on "],[10,3],[15,6,[30,0,["model","link_create_articles"]]],[14,"target","_blank"],[12],[1,"GitHub"],[13],[1,"!\\n"]],[]]],[1," Read contributing guide "],[10,3],[15,6,[30,0,["model","link_contribute_articles"]]],[14,"target","_blank"],[12],[1,"here"],[13],[1,".\\n"],[13],[1,"\\n"]],["article"],false,["page-title","crate-header","ul","local-class","if","each","-track-array","li","article-list/row","br","a"]]',moduleName:"crates-io/templates/crate/articles.hbs",isStrictMode:!1})},40485:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"IRBtSb8L",block:'[[[10,0],[14,1,"crates-heading"],[12],[1,"\\n "],[10,"h1"],[12],[1,"Documentation for "],[10,"em"],[12],[1,[30,0,["model","name"]]],[13],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,2],[12],[1,"\\n Redirecting you to "],[10,"code"],[12],[1,[30,0,["model","documentation"]]],[13],[1,"…\\n"],[13],[1,"\\n"]],[],false,["div","h1","em","p","code"]]',moduleName:"crates-io/templates/crate/docs.hbs",isStrictMode:!1})},49672:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"SYt/mjx1",block:'[[[1,[28,[35,0],["Crate Not Found"],null]],[1,"\\n"]],[],false,["page-title"]]',moduleName:"crates-io/templates/crate/error.hbs",isStrictMode:!1})},75964:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"6SrW/ljV",block:'[[[8,[39,0],null,[["@crate"],[[30,0,["crate"]]]],null],[1,"\\n\\n"],[41,[30,0,["model"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["results-meta"],[["from"],["crates-io/styles/crate/reverse-dependencies"]]]]]],[12],[1,"\\n "],[8,[39,4],null,[["@start","@end","@total","@name"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]],[29,["reverse dependencies of ",[30,0,["crate","name"]]]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"ul"],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/crate/reverse-dependencies"]]]]]],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["model"]]],null]],null],null,[[[1," "],[10,"li"],[15,0,[29,[[28,[37,3],["row"],[["from"],["crates-io/styles/crate/reverse-dependencies"]]]]]],[12],[1,"\\n "],[8,[39,9],null,[["@dependency"],[[30,1]]],null],[1,"\\n "],[13],[1,"\\n"]],[1,2]],null],[1," "],[13],[1,"\\n\\n "],[8,[39,10],null,[["@pagination"],[[30,0,["pagination"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["no-results"],[["from"],["crates-io/styles/crate/reverse-dependencies"]]]]]],[12],[1,"\\n This crate is not used as a dependency in any other crate on crates.io.\\n "],[13],[1,"\\n"]],[]]]],["dependency","index"],false,["crate-header","if","div","local-class","results-count","ul","each","-track-array","li","rev-dep-row","pagination"]]',moduleName:"crates-io/templates/crate/reverse-dependencies.hbs",isStrictMode:!1})},33219:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(23189);const i=(0,n(59165).createTemplateFactory)({id:"7ma8qiVj",block:'[[[1,[28,[35,0],["Manage Crate Settings"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@crate"],[[30,0,["crate"]]]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["me-email"],[["from"],["crates-io/styles/crate/settings"]]]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,"Add Owner"],[13],[1,"\\n\\n "],[11,"form"],[16,0,[29,[[28,[37,3],["email-form"],[["from"],["crates-io/styles/crate/settings"]]]]]],[4,[32,0],["submit",[28,[37,6],[[28,[37,7],[[30,0,["addOwnerTask"]]],null]],null]],null],[12],[1,"\\n "],[10,"label"],[15,0,[29,[[28,[37,3],["email-input-label"],[["from"],["crates-io/styles/crate/settings"]]]]]],[14,"for","new-owner-username"],[12],[1,"\\n Username\\n "],[13],[1,"\\n "],[8,[39,9],[[16,0,[29,[[28,[37,3],["email-input"],[["from"],["crates-io/styles/crate/settings"]]]]]],[24,1,"new-owner-username"],[24,"placeholder","Username"],[24,3,"username"]],[["@type","@value"],["text",[30,0,["username"]]]],null],[1,"\\n "],[10,"button"],[15,0,[29,[[28,[37,3],["submit-button"],[["from"],["crates-io/styles/crate/settings"]]]]]],[15,"disabled",[28,[37,11],[[30,0,["username"]]],null]],[14,4,"submit"],[12],[1,"Save"],[13],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,"h2"],[12],[1,"Owners"],[13],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/crate/settings"]]]]]],[12],[1,"\\n"],[42,[28,[37,13],[[28,[37,13],[[30,0,["crate","owner_team"]]],null]],null],null,[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["row"],[["from"],["crates-io/styles/crate/settings"]]]]]],[12],[1,"\\n "],[8,[39,14],null,[["@route","@model"],[[30,1,["kind"]],[30,1,["login"]]]],[["default"],[[[[1,"\\n "],[8,[39,15],null,[["@user","@size"],[[30,1],"medium-small"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[39,14],null,[["@route","@model"],[[30,1,["kind"]],[30,1,["login"]]]],[["default"],[[[[1,"\\n "],[1,[30,1,["display_name"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,3],["email-column"],[["from"],["crates-io/styles/crate/settings"]]]]]],[12],[1,"\\n "],[1,[30,1,["email"]]],[1,"\\n "],[13],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,3],["remove-button"],[["from"],["crates-io/styles/crate/settings"]]]]]],[24,4,"button"],[4,[32,0],["click",[28,[37,7],[[30,0,["removeOwnerTask"]],[30,1]],null]],null],[12],[1,"Remove"],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[42,[28,[37,13],[[28,[37,13],[[30,0,["crate","owner_user"]]],null]],null],null,[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["row"],[["from"],["crates-io/styles/crate/settings"]]]]]],[12],[1,"\\n "],[8,[39,14],null,[["@route","@model"],[[30,2,["kind"]],[30,2,["login"]]]],[["default"],[[[[1,"\\n "],[8,[39,15],null,[["@user","@size"],[[30,2],"medium-small"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[39,14],null,[["@route","@model"],[[30,2,["kind"]],[30,2,["login"]]]],[["default"],[[[[1,"\\n"],[41,[30,2,["name"]],[[[1," "],[1,[30,2,["name"]]],[1,"\\n"]],[]],[[[1," "],[1,[30,2,["login"]]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,3],["email-column"],[["from"],["crates-io/styles/crate/settings"]]]]]],[12],[1,"\\n "],[1,[30,2,["email"]]],[1,"\\n "],[13],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,3],["remove-button"],[["from"],["crates-io/styles/crate/settings"]]]]]],[24,4,"button"],[4,[32,0],["click",[28,[37,7],[[30,0,["removeOwnerTask"]],[30,2]],null]],null],[12],[1,"Remove"],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[13],[1,"\\n"]],["team","user"],false,["page-title","crate-header","div","local-class","h2","form","prevent-default","perform","label","input","button","not","each","-track-array","link-to","user-avatar","if"]]',moduleName:"crates-io/templates/crate/settings.hbs",scope:()=>[r.on],isStrictMode:!1})},36746:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"qlbprr/E",block:'[[[1,[28,[35,0],[[30,0,["crate","name"]]],null]],[1,"\\n\\n"],[8,[39,1],null,[["@crate","@version","@versionNum"],[[30,0,["crate"]],[30,0,["version"]],[30,0,["version","num"]]]],null],[1,"\\n\\n"],[10,"h2"],[15,0,[29,[[28,[37,3],["heading"],[["from"],["crates-io/styles/crate/version-dependencies"]]]]]],[12],[1,"Dependencies"],[13],[1,"\\n"],[41,[30,0,["version","normalDependencies"]],[[[1," "],[10,"ul"],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/crate/version-dependencies"]]]]]],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["version","normalDependencies"]]],null]],null],null,[[[1," "],[10,"li"],[12],[8,[39,9],null,[["@dependency"],[[30,1]]],null],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["no-deps"],[["from"],["crates-io/styles/crate/version-dependencies"]]]]]],[12],[1,"\\n This version of the \\""],[1,[30,0,["crate","name"]]],[1,"\\" crate has no dependencies\\n "],[13],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["version","buildDependencies"]],[[[1," "],[10,"h2"],[15,0,[29,[[28,[37,3],["heading"],[["from"],["crates-io/styles/crate/version-dependencies"]]]]]],[12],[1,"Build-Dependencies"],[13],[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/crate/version-dependencies"]]]]]],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["version","buildDependencies"]]],null]],null],null,[[[1," "],[10,"li"],[12],[8,[39,9],null,[["@dependency"],[[30,2]]],null],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["version","devDependencies"]],[[[1," "],[10,"h2"],[15,0,[29,[[28,[37,3],["heading"],[["from"],["crates-io/styles/crate/version-dependencies"]]]]]],[12],[1,"Dev-Dependencies"],[13],[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/crate/version-dependencies"]]]]]],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,0,["version","devDependencies"]]],null]],null],null,[[[1," "],[10,"li"],[12],[8,[39,9],null,[["@dependency"],[[30,3]]],null],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n"]],[]],null]],["dependency","dependency","dependency"],false,["page-title","crate-header","h2","local-class","if","ul","each","-track-array","li","dependency-list/row","div"]]',moduleName:"crates-io/templates/crate/version-dependencies.hbs",isStrictMode:!1})},44150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(23189);const i=(0,n(59165).createTemplateFactory)({id:"W5wYIB7l",block:'[[[1,[28,[35,0],[[30,0,["crate","name"]]],null]],[1,"\\n\\n"],[8,[39,1],null,[["@crate","@version","@versionNum"],[[30,0,["crate"]],[30,0,["currentVersion"]],[30,0,["requestedVersion"]]]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["crate-info"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,3],["docs"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n"],[41,[30,0,["loadReadmeTask","isRunning"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["readme-spinner"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-title"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-text"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-text"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-text"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-text"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-text"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-subtitle"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-text"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-text"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,3],["placeholder-text"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["readme"]],[[[1," "],[10,"article"],[14,"aria-label","Readme"],[12],[1,"\\n "],[8,[39,7],[[16,0,[29,[[28,[37,3],["readme"],[["from"],["crates-io/styles/crate/version"]]]]]]],[["@html"],[[30,0,["readme"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["no-readme"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[1,[30,0,["crate","name"]]],[1," v"],[1,[30,0,["currentVersion","num"]]],[1," appears to have no "],[10,"code"],[12],[1,"README.md"],[13],[1," file\\n "],[13],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n\\n "],[8,[39,9],[[16,0,[29,[[28,[37,3],["sidebar"],[["from"],["crates-io/styles/crate/version"]]]]]]],[["@crate","@version","@requestedVersion"],[[30,0,["crate"]],[30,0,["currentVersion"]],[30,0,["requestedVersion"]]]],null],[1,"\\n"],[13],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["crate-downloads"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,3],["stats"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n"],[41,[30,0,["downloadsContext","num"]],[[[1," "],[10,"h3"],[12],[1,"\\n Stats Overview for "],[1,[30,0,["downloadsContext","num"]]],[1,"\\n "],[8,[39,11],null,[["@route","@model"],["crate",[30,0,["crate"]]]],[["default"],[[[[1,"(see all)"]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"]],[]],[[[1," "],[10,"h3"],[12],[1,"Stats Overview"],[13],[1,"\\n"]],[]]],[1," "],[10,0],[15,0,[29,[[28,[37,3],["stat"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["num"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[1,[28,[35,13],["download"],null]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["num__align"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,[28,[35,14],[[30,0,["downloadsContext","downloads"]]],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["stat-description"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"Downloads all time"],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,3],["stat"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["num"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[1,[28,[35,13],["crate"],null]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["num__align"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,[30,0,["crate","versions","length"]]],[13],[1,"\\n "],[13],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["stat-description"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"Versions published"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,3],["graph"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[10,"h4"],[12],[1,"Downloads over the last 90 days"],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,3],["toggle-stacked"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["toggle-stacked-label"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"Display as "],[13],[1,"\\n "],[8,[39,16],null,null,[["default"],[[[[1,"\\n "],[8,[30,1,["Trigger"]],[[16,0,[29,[[28,[37,3],["trigger"],[["from"],["crates-io/styles/crate/version"]]]]]]],null,[["default"],[[[[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["trigger-label"],[["from"],["crates-io/styles/crate/version"]]]]]],[12],[1,"\\n"],[41,[30,0,["stackedGraph"]],[[[1," Stacked\\n"]],[]],[[[1," Unstacked\\n"]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,1,["Menu"]],null,null,[["default"],[[[[1,"\\n "],[8,[30,2,["Item"]],null,null,[["default"],[[[[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,3],["dropdown-button"],[["from"],["crates-io/styles/crate/version"]]]]]],[24,4,"button"],[4,[32,0],["click",[30,0,["setStackedGraph"]]],null],[12],[1,"\\n Stacked\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["Item"]],null,null,[["default"],[[[[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,3],["dropdown-button"],[["from"],["crates-io/styles/crate/version"]]]]]],[24,4,"button"],[4,[32,0],["click",[30,0,["setUnstackedGraph"]]],null],[12],[1,"\\n Unstacked\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n "],[8,[39,18],[[16,0,[29,[[28,[37,3],["graph-data"],[["from"],["crates-io/styles/crate/version"]]]]]]],[["@data","@stacked"],[[30,0,["downloads"]],[30,0,["stackedGraph"]]]],null],[1,"\\n "],[13],[1,"\\n"],[13]],["dd","menu"],false,["page-title","crate-header","div","local-class","if","placeholder","article","rendered-html","code","crate-sidebar","h3","link-to","span","svg-jar","format-num","h4","dropdown","button","download-graph"]]',moduleName:"crates-io/templates/crate/version.hbs",scope:()=>[r.on],isStrictMode:!1})},63887:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"IdTl/BLS",block:'[[[8,[39,0],null,[["@crate"],[[30,0,["model"]]]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,2],["results-meta"],[["from"],["crates-io/styles/crate/versions"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["page-description"],[["from"],["crates-io/styles/crate/versions"]]]]]],[12],[1,"\\n All "],[10,"strong"],[12],[1,[30,0,["model","versions","length"]]],[13],[1,"\\n versions of "],[10,"strong"],[12],[1,[30,0,["model","name"]]],[13],[1," since\\n "],[1,[28,[35,5],[[30,0,["model","created_at"]],"PPP"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["sort-by-label"],[["from"],["crates-io/styles/crate/versions"]]]]]],[12],[1,"Sort by "],[13],[1,"\\n "],[8,[39,6],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["date"]]]]],[["default"],[[[[1,"Date"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["semver"]]]]],[["default"],[[[[1,"SemVer"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,"ul"],[15,0,[29,[[28,[37,2],["list"],[["from"],["crates-io/styles/crate/versions"]]]]]],[12],[1,"\\n"],[42,[28,[37,10],[[28,[37,10],[[30,0,["sortedVersions"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,12],[[16,0,[29,[[28,[37,2],["row"],[["from"],["crates-io/styles/crate/versions"]]]]]]],[["@version"],[[30,2]]],null],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[13],[1,"\\n"]],["sd","version"],false,["crate-header","div","local-class","span","strong","date-format","sort-dropdown","hash","ul","each","-track-array","li","version-list/row"]]',moduleName:"crates-io/templates/crate/versions.hbs",isStrictMode:!1})},26792:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"6iAqWPfU",block:'[[[1,[28,[35,0],["Crates"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title","@suffix"],["All Crates",[52,[30,0,["letter"]],[28,[37,3],["starting with \'",[30,0,["letter"]],"\'"],null]]]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,5],["results-meta"],[["from"],["crates-io/styles/crates"]]]]]],[12],[1,"\\n "],[8,[39,6],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,5],["sort-by"],[["from"],["crates-io/styles/crates"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,5],["sort-by-label"],[["from"],["crates-io/styles/crates"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,8],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,9],null,[["page","sort"],[1,"alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,9],null,[["page","sort"],[1,"downloads"]]]]],[["default"],[[[[1,"All-Time Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,9],null,[["page","sort"],[1,"recent-downloads"]]]]],[["default"],[[[[1,"Recent Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,9],null,[["page","sort"],[1,"recent-updates"]]]]],[["default"],[[[[1,"Recent Updates"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,9],null,[["page","sort"],[1,"new"]]]]],[["default"],[[[[1,"Newly Added"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,10],[[16,0,[29,[[28,[37,5],["list"],[["from"],["crates-io/styles/crates"]]]]]]],[["@crates"],[[30,0,["model"]]]],null],[1,"\\n\\n"],[8,[39,11],null,[["@pagination"],[[30,0,["pagination"]]]],null],[1,"\\n"]],["sd"],false,["page-title","page-header","if","concat","div","local-class","results-count","span","sort-dropdown","hash","crate-list","pagination"]]',moduleName:"crates-io/templates/crates.hbs",isStrictMode:!1})},5682:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(23189);const i=(0,n(59165).createTemplateFactory)({id:"EAj7rhtz",block:'[[[1,[28,[35,0],["Dashboard"],null]],[1,"\\n\\n"],[8,[39,1],[[16,0,[29,[[28,[37,2],["header"],[["from"],["crates-io/styles/dashboard"]]]]]]],null,[["default"],[[[[1,"\\n "],[10,"h1"],[12],[1,"My Dashboard"],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["stats"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["downloads"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[1,[28,[35,5],["download"],[["class"],[[28,[37,6],[[28,[37,2],["header-icon"],[["from"],["crates-io/styles/dashboard"]]]],null]]]]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["num"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,[28,[35,8],[[30,0,["myStats","total_downloads"]]],null]],[13],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["stats-label"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"Total Downloads"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]]],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,2],["my-info"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["my-crate-lists"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["header"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,"\\n "],[1,[28,[35,5],["my-packages"],null]],[1,"\\n My Crates\\n "],[13],[1,"\\n\\n"],[41,[30,0,["hasMoreCrates"]],[[[1," "],[8,[39,11],[[16,0,[29,[[28,[37,2],["my-crates-link"],[["from"],["crates-io/styles/dashboard"]]]]]]],[["@route"],["me.crates"]],[["default"],[[[[1,"Show all"]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[8,[39,12],null,[["@crates"],[[30,0,["visibleCrates"]]]],null],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,2],["header"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,"\\n "],[1,[28,[35,5],["following"],null]],[1,"\\n Following\\n "],[13],[1,"\\n\\n"],[41,[30,0,["hasMoreFollowing"]],[[[1," "],[8,[39,11],[[16,0,[29,[[28,[37,2],["followed-crates-link"],[["from"],["crates-io/styles/dashboard"]]]]]]],[["@route"],["me.following"]],[["default"],[[[[1,"Show all"]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[8,[39,12],null,[["@crates"],[[30,0,["visibleFollowing"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,2],["my-feed"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,"\\n "],[1,[28,[35,5],["latest-updates"],null]],[1,"\\n Latest Updates\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,2],["feed"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,2],["feed-list"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n"],[42,[28,[37,15],[[28,[37,15],[[30,0,["myFeed"]]],null]],null],null,[[[1," "],[10,"li"],[15,0,[29,[[28,[37,2],["feed-row"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[8,[39,11],null,[["@route","@models"],["crate.version",[28,[37,17],[[30,1,["crateName"]],[30,1,["num"]]],null]]],[["default"],[[[[1,"\\n "],[1,[30,1,["crateName"]]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["feed-version"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,[30,1,["num"]]],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["feed-date"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[1,[28,[35,18],[[30,1,["created_at"]]],[["addSuffix"],[true]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["hasMore"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,2],["load-more"],[["from"],["crates-io/styles/dashboard"]]]]]],[12],[1,"\\n "],[11,"button"],[16,"disabled",[30,0,["loadMoreTask","isRunning"]]],[24,4,"button"],[4,[32,0],["click",[28,[37,20],[[30,0,["loadMoreTask"]]],null]],null],[12],[1,"\\n Load More\\n"],[41,[30,0,["loadMoreTask","isRunning"]],[[[1," "],[8,[39,21],null,null,null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n"]],["version"],false,["page-title","page-header","local-class","h1","div","svg-jar","concat","span","format-num","h2","if","link-to","crate-downloads-list","ul","each","-track-array","li","array","date-format-distance-to-now","button","perform","loading-spinner"]]',moduleName:"crates-io/templates/dashboard.hbs",scope:()=>[r.on],isStrictMode:!1})},39477:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"/AnR4uvY",block:'[[[8,[39,0],null,[["@title"],["Data Access Policy"]],null],[1,"\\n\\n"],[8,[39,1],null,[["@boxed"],[true]],[["default"],[[[[1,"\\n "],[10,2],[12],[1,"\\n crates.io provides several ways of accessing crate data and metadata,\\n depending on what you specifically need. Please try them in the order below.\\n "],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"crate-index"],[12],[10,3],[14,6,"#crate-index"],[12],[1,"Crate index"],[13],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n The crates.io sparse index is available at\\n "],[10,3],[14,6,"https://index.crates.io"],[12],[1,"index.crates.io"],[13],[1,", which adheres to the\\n "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/reference/registry-index.html"],[12],[1,"Cargo index format"],[13],[1,".\\n The sparse index provides an extremely efficient way of accessing metadata on\\n a single or small number of crates.\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n Each index file provides newline delimited JSON metadata on all published\\n versions of the crate, organised into\\n "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/reference/registry-index.html#index-files"],[12],[1,"index files"],[13],[1,".\\n For example, information on the "],[10,"code"],[12],[1,"base64"],[13],[1," crate can be found at\\n "],[10,3],[14,6,"https://index.crates.io/ba/se/base64"],[12],[1,"https://index.crates.io/ba/se/base64"],[13],[1,".\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n No rate limits are required to use data from the sparse crate index.\\n "],[13],[1,"\\n\\n "],[10,"h3"],[14,1,"legacy-git-index"],[12],[10,3],[14,6,"#legacy-git-index"],[12],[1,"Legacy Git crate index"],[13],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n Older versions of Cargo use the crate index provided in the\\n "],[10,3],[14,6,"https://github.com/rust-lang/crates.io-index"],[12],[10,"code"],[12],[1,"rust-lang/crates.io-index"],[13],[1," repository on GitHub"],[13],[1,".\\n This remains available for use, and may be a more efficient way of accessing\\n crate metadata for projects that require most or all crates to be included\\n than the sparse index.\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n As the Git index is hosted on GitHub, GitHub\'s\\n "],[10,3],[14,6,"https://docs.github.com/en/site-policy/acceptable-use-policies/github-acceptable-use-policies"],[12],[1,"Acceptable Use Policies"],[13],[1,"\\n apply.\\n "],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"database-dumps"],[12],[10,3],[14,6,"#database-dumps"],[12],[1,"Database dumps"],[13],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n crates.io database dumps contain all information available through the\\n crates.io API in a single download. They are updated every 24 hours.\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n The latest dump is available at the address\\n "],[10,3],[14,6,"https://static.crates.io/db-dump.tar.gz"],[12],[1,"https://static.crates.io/db-dump.tar.gz"],[13],[1,".\\n Information on using the dump is contained in the tarball. You can find the changelog for database dumps in\\n "],[10,3],[14,6,"https://github.com/rust-lang/crates.io/issues/3617"],[12],[1,"GitHub issue #3617"],[13],[1,".\\n "],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"api"],[12],[10,3],[14,6,"#api"],[12],[1,"crates.io API"],[13],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n crates.io provides an API that is a superset of the functionality required by\\n the\\n "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/reference/registry-web-api.html"],[12],[1,"Cargo Web API"],[13],[1,".\\n Should you be unable to use one of the previous options, you are welcome to\\n use the crates.io API provided you abide by the following limits:\\n "],[13],[1,"\\n\\n "],[10,"ol"],[12],[1,"\\n "],[10,"li"],[12],[1,"A maximum of 1 request per second, and"],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n A "],[10,"code"],[12],[1,"user-agent"],[13],[1," header that identifies your application. We\\n strongly suggest providing a way for us to contact you (whether through a\\n repository, or an e-mail address, or whatever is appropriate) so that we can\\n reach out to work with you should there be issues.\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"questions"],[12],[10,3],[14,6,"#questions"],[12],[1,"Questions"],[13],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n If none of the above options suit your needs, please contact the crates.io\\n team either at "],[10,3],[14,6,"mailto:help@crates.io"],[12],[1,"help@crates.io"],[13],[1,", or by\\n starting\\n "],[10,3],[14,6,"https://github.com/rust-lang/crates.io/discussions"],[12],[1,"a discussion on GitHub"],[13],[1,",\\n and we\'ll be happy to discuss solutions that might exist outside of the above\\n guidelines.\\n "],[13],[1,"\\n"]],[]]]]]],[],false,["page-header","text-content","p","h2","a","code","h3","ol","li"]]',moduleName:"crates-io/templates/data-access.hbs",isStrictMode:!1})},15672:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"B6qO8i+D",block:'[[[10,"h1"],[12],[1,"Something Went Wrong!"],[13],[1,"\\n"],[10,"h5"],[12],[1,[30,0,["model","message"]]],[13],[1,"\\n"],[10,"pre"],[14,0,"terminal"],[12],[1," "],[1,[30,0,["model","stack"]]],[1,""],[13],[1,"\\n"]],[],false,["h1","h5","pre"]]',moduleName:"crates-io/templates/error.hbs",isStrictMode:!1})},46154:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"CqNVBF4h",block:'[[[10,"meta"],[14,3,"description"],[15,"content",[30,0,["model","description"]]],[12],[13]],[],false,["meta"]]',moduleName:"crates-io/templates/head.hbs",isStrictMode:!1})},43490:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"CnyrL9UW",block:'[[[10,0],[15,0,[29,[[28,[37,1],["lists"],[["from"],["crates-io/styles/index"]]]]]],[12],[1,"\\n "],[10,"section"],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["logo-div"],[["from"],["crates-io/styles/index"]]]]]],[12],[1,"\\n "],[10,"img"],[15,0,[29,[[28,[37,1],["logo"],[["from"],["crates-io/styles/index"]]]]]],[14,"src","/assets/ferris.png"],[14,"role","none"],[14,"alt",""],[12],[13],[1,"\\n "],[13],[1,"\\n "],[10,"h1"],[15,0,[29,[[28,[37,1],["hero-title"],[["from"],["crates-io/styles/index"]]]]]],[12],[1,"\\n Your daily dose of Rust\\n "],[13],[1,"\\n "],[10,"ol"],[15,0,[29,[[28,[37,1],["list"],[["from"],["crates-io/styles/index"]]]]]],[15,"aria-busy",[29,[[30,0,["dataTask","isRunning"]]]]],[12],[1,"\\n"],[41,[30,0,["dataTask","isRunning"]],[[[42,[28,[37,8],[[28,[37,8],[[28,[37,9],[10],null]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,11],null,[["@withSubtitle"],[true]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],[[[42,[28,[37,8],[[28,[37,8],[[30,0,["model"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,12],null,[["@link","@title"],[[30,1,["link"]],[30,1,["title"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[1,2]],null]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"],[13]],["article","index"],false,["div","local-class","section","img","h1","ol","if","each","-track-array","placeholders","li","front-page-list/item/placeholder","front-page-list/item"]]',moduleName:"crates-io/templates/index.hbs",isStrictMode:!1})},52171:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"+CQwHt01",block:'[[[8,[39,0],null,[["@title"],["Install Cargo"]],null],[1,"\\n\\n"],[10,2],[12],[1,"\\n Redirecting you to "],[10,"code"],[12],[1,"https://doc.rust-lang.org/cargo/getting-started/installation.html"],[13],[1,"…\\n"],[13],[1,"\\n"]],[],false,["page-header","p","code"]]',moduleName:"crates-io/templates/install.hbs",isStrictMode:!1})},34591:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"hwnd6zYv",block:'[[[1,[28,[35,0],[[30,1,["keyword"]]," - Keywords"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title","@suffix"],["All Crates",[29,["for keyword \'",[30,1,["keyword"]],"\'"]]]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["results-meta"],[["from"],["crates-io/styles/keyword"]]]]]],[12],[1,"\\n "],[8,[39,4],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["sort-by-label"],[["from"],["crates-io/styles/keyword"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,6],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,2,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,2,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["downloads"]]]]],[["default"],[[[[1,"All-Time Downloads"]],[]]]]],[1,"\\n "],[8,[30,2,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["recent-downloads"]]]]],[["default"],[[[[1,"Recent Downloads"]],[]]]]],[1,"\\n "],[8,[30,2,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["recent-updates"]]]]],[["default"],[[[[1,"Recent Updates"]],[]]]]],[1,"\\n "],[8,[30,2,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["new"]]]]],[["default"],[[[[1,"Newly Added"]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,8],[[16,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/keyword"]]]]]]],[["@crates"],[[30,1,["crates"]]]],null],[1,"\\n\\n"],[8,[39,9],null,[["@pagination"],[[30,0,["pagination"]]]],null],[1,"\\n"]],["@model","sd"],false,["page-title","page-header","div","local-class","results-count","span","sort-dropdown","hash","crate-list","pagination"]]',moduleName:"crates-io/templates/keyword.hbs",isStrictMode:!1})},35508:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"lur2G1vT",block:'[[[1,[28,[35,0],["Keywords"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title"],["All Keywords"]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["results-meta"],[["from"],["crates-io/styles/keywords"]]]]]],[12],[1,"\\n "],[8,[39,4],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,3],["sort-by"],[["from"],["crates-io/styles/keywords"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["sort-by-label"],[["from"],["crates-io/styles/keywords"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,6],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["crates"]]]]],[["default"],[[[[1,"# Crates"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/keywords"]]]]]],[12],[1,"\\n"],[42,[28,[37,9],[[28,[37,9],[[30,0,["model"]]],null]],null],null,[[[1," "],[10,0],[15,0,[29,[[28,[37,3],["row"],[["from"],["crates-io/styles/keywords"]]]]]],[12],[1,"\\n "],[8,[39,10],null,[["@route","@model"],["keyword",[30,2,["id"]]]],[["default"],[[[[1,[30,2,["id"]]]],[]]]]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["crate-count"],[["from"],["crates-io/styles/keywords"]]]]]],[12],[1,"\\n "],[1,[28,[35,11],[[30,2,["crates_cnt"]]],null]],[1," "],[1,[52,[28,[37,13],[[30,2,["crates_cnt"]],1],null],"crate","crates"]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[13],[1,"\\n\\n"],[8,[39,14],null,[["@pagination"],[[30,0,["pagination"]]]],null],[1,"\\n"]],["sd","keyword"],false,["page-title","page-header","div","local-class","results-count","span","sort-dropdown","hash","each","-track-array","link-to","format-num","if","eq","pagination"]]',moduleName:"crates-io/templates/keywords.hbs",isStrictMode:!1})},52877:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"BeyJkoxM",block:'[[[1,"Redirecting you to github...\\n"]],[],false,[]]',moduleName:"crates-io/templates/login.hbs",isStrictMode:!1})},48386:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"Td3ALPyu",block:'[[[1,"Logging out...\\n"]],[],false,[]]',moduleName:"crates-io/templates/logout.hbs",isStrictMode:!1})},60307:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"bxFdT0Mp",block:'[[[1,[28,[35,0],["My Crates"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title"],["My Crates"]],null],[1,"\\n\\n"],[1,"\\n"],[10,0],[15,0,[29,[[28,[37,3],["results-meta"],[["from"],["crates-io/styles/me/crates"]]]]]],[12],[1,"\\n "],[8,[39,4],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["sort-by-label"],[["from"],["crates-io/styles/me/crates"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,6],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["downloads"]]]]],[["default"],[[[[1,"All-Time Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["recent-downloads"]]]]],[["default"],[[[[1,"Recent Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["recent-updates"]]]]],[["default"],[[[[1,"Recent Updates"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,7],null,[["sort"],["new"]]]]],[["default"],[[[[1,"Newly Added"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,8],[[16,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/me/crates"]]]]]]],[["@crates"],[[30,0,["model"]]]],null],[1,"\\n\\n"],[8,[39,9],null,[["@pagination"],[[30,0,["pagination"]]]],null],[1,"\\n"]],["sd"],false,["page-title","page-header","div","local-class","results-count","span","sort-dropdown","hash","crate-list","pagination"]]',moduleName:"crates-io/templates/me/crates.hbs",isStrictMode:!1})},83530:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"F7LW7v37",block:'[[[8,[39,0],null,[["@title"],["Followed Crates"]],null],[1,"\\n\\n"],[1,"\\n"],[10,0],[15,0,[29,[[28,[37,2],["results-meta"],[["from"],["crates-io/styles/me/following"]]]]]],[12],[1,"\\n "],[8,[39,3],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["sort-by-label"],[["from"],["crates-io/styles/me/following"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,5],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,6],null,[["sort"],["alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,6],null,[["sort"],["downloads"]]]]],[["default"],[[[[1,"All-Time Downloads"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,7],[[16,0,[29,[[28,[37,2],["list"],[["from"],["crates-io/styles/me/following"]]]]]]],[["@crates"],[[30,0,["model"]]]],null],[1,"\\n\\n"],[8,[39,8],null,[["@pagination"],[[30,0,["pagination"]]]],null]],["sd"],false,["page-header","div","local-class","results-count","span","sort-dropdown","hash","crate-list","pagination"]]',moduleName:"crates-io/templates/me/following.hbs",isStrictMode:!1})},35043:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"+yocqi0M",block:'[[[1,[28,[35,0],["Pending Invites"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title"],["Pending Owner Invites"]],null],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,3],["list"],[["from"],["crates-io/styles/me/pending-invites"]]]]]],[12],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,0,["model"]]],null]],null],null,[[[1," "],[8,[39,6],[[16,0,[29,[[28,[37,3],["row"],[["from"],["crates-io/styles/me/pending-invites"]]]]]]],[["@invite"],[[30,1]]],null],[1,"\\n"]],[1]],[[[1," "],[10,2],[15,0,[29,[[28,[37,3],["row"],[["from"],["crates-io/styles/me/pending-invites"]]]]]],[12],[1,"You don\'t seem to have any pending invitations."],[13],[1,"\\n"]],[]]],[13],[1,"\\n"]],["invite"],false,["page-title","page-header","div","local-class","each","-track-array","pending-owner-invite-row","p"]]',moduleName:"crates-io/templates/me/pending-invites.hbs",isStrictMode:!1})},94927:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"ptIwaueC",block:'[[[8,[39,0],null,[["@title"],["Usage Policy"]],null],[1,"\\n\\n"],[8,[39,1],null,[["@boxed"],[true]],[["default"],[[[[1,"\\n "],[10,2],[12],[10,"strong"],[12],[1,"Short version:"],[13],[1,"\\n "],[10,"em"],[12],[1,"crates.io is a critical resource for the Rust ecosystem, which hosts a variety of packages from a diverse group of\\n users. That resource is only effective when our users are able to work together as part of a community in good\\n faith. While using crates.io, you must comply with our Acceptable Use Policies, which include some restrictions on\\n content and conduct on crates.io related to user safety, intellectual property, privacy, authenticity, and other\\n limitations. In short, be excellent to each other!"],[13],[13],[1,"\\n\\n "],[10,2],[12],[1,"We do not allow content or activity on crates.io that:"],[13],[1,"\\n\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"violates the "],[10,3],[14,6,"https://www.rust-lang.org/policies/code-of-conduct"],[12],[1,"Code of Conduct"],[13],[1," of the Rust project"],[13],[1,"\\n "],[10,"li"],[12],[1,"is unlawful or promotes unlawful activities, incurring legal liability in the countries the Rust Foundation\\n officially operates in"],[13],[1,"\\n "],[10,"li"],[12],[1,"is libelous, defamatory, or fraudulent"],[13],[1,"\\n "],[10,"li"],[12],[1,"amounts to phishing or attempted phishing"],[13],[1,"\\n "],[10,"li"],[12],[1,"infringes any proprietary right of any party, including patent, trademark, trade secret, copyright, right of\\n publicity, or other right"],[13],[1,"\\n "],[10,"li"],[12],[1,"unlawfully shares unauthorized product licensing keys, software for generating unauthorized product licensing\\n keys, or software for bypassing checks for product licensing keys, including extension of a free license beyond its\\n trial period"],[13],[1,"\\n "],[10,"li"],[12],[1,"contains malicious code, such as computer viruses, computer worms, rootkits, back doors, or spyware, including\\n content submitted for research purposes (tools designed and documented explicitly to assist in security research are\\n acceptable, but exploits and malware that use the crates.io registry as a deployment or delivery vector are not)"],[13],[1,"\\n "],[10,"li"],[12],[1,"uses obfuscation to hide or mask functionality"],[13],[1,"\\n "],[10,"li"],[12],[1,"is discriminatory toward, harasses or abuses another individual or group"],[13],[1,"\\n "],[10,"li"],[12],[1,"threatens or incites violence toward any individual or group, especially on the basis of who they are"],[13],[1,"\\n "],[10,"li"],[12],[1,"is using crates.io as a platform for propagating abuse on other platforms"],[13],[1,"\\n "],[10,"li"],[12],[1,"violates the privacy of any third party, such as by posting another person\'s personal information without\\n consent"],[13],[1,"\\n "],[10,"li"],[12],[1,"gratuitously depicts or glorifies violence, including violent images"],[13],[1,"\\n "],[10,"li"],[12],[1,"is sexually obscene or relates to sexual exploitation or abuse, including of minors (see \\"Sexually Obscene\\n Content\\" section below)"],[13],[1,"\\n "],[10,"li"],[12],[1,"is off-topic, or interacts with platform features in a way that significantly or repeatedly disrupts the\\n experience of other users"],[13],[1,"\\n "],[10,"li"],[12],[1,"exists only to reserve a name for a prolonged period of time (often called \\"name squatting\\") without\\n having any genuine functionality, purpose, or significant development activity on the corresponding repository"],[13],[1,"\\n "],[10,"li"],[12],[1,"is related to buying, selling, or otherwise trading of package names or any other names on crates.io for money or\\n other compensation"],[13],[1,"\\n "],[10,"li"],[12],[1,"impersonates any person or entity, including through false association with crates.io, or by fraudulently\\n misrepresenting your identity or site\'s purpose"],[13],[1,"\\n "],[10,"li"],[12],[1,"is related to inauthentic interactions, such as fake accounts and automated inauthentic activity"],[13],[1,"\\n "],[10,"li"],[12],[1,"is using our servers for any form of excessive automated bulk activity, to place undue burden on our servers\\n through automated means, or to relay any form of unsolicited advertising or solicitation through our servers, such\\n as get-rich-quick schemes"],[13],[1,"\\n "],[10,"li"],[12],[1,"\\n is using our servers for other automated excessive bulk activity or coordinated inauthentic activity, such as:\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"spamming"],[13],[1,"\\n "],[10,"li"],[12],[1,"cryptocurrency mining"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[12],[1,"is not functionally compatible with the cargo build tool (for example, a \\"package\\" cannot simply be a\\n PNG or JPEG image, a movie file, or a text document uploaded directly to the registry)"],[13],[1,"\\n "],[10,"li"],[12],[1,"is abusing the package index for purposes it was not intended"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"You are responsible for using crates.io in compliance with all applicable laws, regulations, and all of our policies.\\n These policies may be updated from time to time. We will interpret our policies and resolve disputes in favor of\\n protecting users as a whole. The crates.io team reserves the possibility to evaluate each instance on a case-by-case\\n basis."],[13],[1,"\\n\\n "],[10,2],[12],[1,"For issues such as DMCA violations, or trademark and copyright infringements, the crates.io team will respect the\\n legal decisions of the "],[10,3],[14,6,"https://rustfoundation.org/"],[12],[1,"Rust Foundation"],[13],[1," as the official legal entity\\n providing the crates.io service."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"package-ownership"],[12],[1,"Package Ownership"],[13],[1,"\\n\\n "],[10,2],[12],[1,"crates.io has a first-come, first-serve policy on crate names. Upon publishing a package, the publisher will be made\\n owner of the package on crates.io."],[13],[1,"\\n\\n "],[10,2],[12],[1,"If you want to take over a package, we require you to first try and contact the current owner directly. If the\\n current owner agrees, they can add you as an owner of the crate, and you can then remove them, if necessary. If the\\n current owner is not reachable or has not published any contact information the crates.io team may reach out to help\\n mediate the process of the ownership transfer."],[13],[1,"\\n\\n "],[10,2],[12],[1,"Crate deletion by their owners is not possible to keep the registry as immutable as possible. If you want to flag\\n your crate as open for transferring ownership to others, you can publish a new version with a message in the README or\\n description communicating to the crates.io support team that you consent to transfer the crate to the first person who\\n asks for it:"],[13],[1,"\\n\\n "],[10,"blockquote"],[12],[1,"\\n I consent to the transfer of this crate to the first person who asks\\n help@crates.io for it.\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n Keep in mind that the new owner might develop your crate in a way you never intended it, or might completely\\n repurpose your crate. Transferring the crate to a malicious user could have a significant impact for any\\n existing users of your crate."],[13],[1,"\\n\\n "],[10,2],[12],[1,"The crates.io team may delete crates from the registry that do not comply with the policies on this document. In\\n larger cases of squatting attacks this may happen without prior notification to the author, but in most cases the team\\n will first give the author the chance to justify the purpose of the crate."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"data-access"],[12],[1,"Data Access"],[13],[1,"\\n\\n "],[10,2],[12],[1,"Details on how to access the crates.io data can be found on the dedicated "],[8,[39,10],null,[["@route"],["data-access"]],[["default"],[[[[1,"Data Access\\n Policy"]],[]]]]],[1," page."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"security"],[12],[1,"Security"],[13],[1,"\\n\\n "],[10,2],[12],[1,"Please see the "],[8,[39,10],null,[["@route"],["policies.security"]],[["default"],[[[[1,"Security page"]],[]]]]],[1,"."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"sexually-obscene-content"],[12],[1,"Sexually Obscene Content"],[13],[1,"\\n\\n "],[10,2],[12],[1,"We do not tolerate content associated with sexual exploitation or abuse of another individual, including where minors\\n are concerned. We do not allow sexually themed or suggestive content that serves little or no purpose other than to\\n solicit an erotic or shocking response, particularly where that content is amplified by its placement in profiles or\\n other social contexts."],[13],[1,"\\n\\n "],[10,2],[12],[1,"This includes:"],[13],[1,"\\n\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"Pornographic content"],[13],[1,"\\n "],[10,"li"],[12],[1,"Non-consensual intimate imagery"],[13],[1,"\\n "],[10,"li"],[12],[1,"Graphic depictions of sexual acts including photographs, video, animation, drawings, computer-generated images, or\\n text-based content\\n "],[13],[1,"\\n\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"We recognize that not all nudity or content related to sexuality is obscene. We may allow visual and/or textual\\n depictions in artistic, educational, historical or journalistic contexts, or as it relates to victim advocacy. In some\\n cases a disclaimer can help communicate the context of the project."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"violations-and-enforcement"],[12],[1,"Violations and Enforcement"],[13],[1,"\\n\\n "],[10,2],[12],[1,"crates.io retains full discretion to take action in response to a violation of these policies, including account\\n suspension, account termination, or removal of content."],[13],[1,"\\n\\n "],[10,2],[12],[1,"We will however not be proactively monitoring the site for these kinds of violations, but instead relying on the\\n community to draw them to our attention."],[13],[1,"\\n\\n "],[10,2],[12],[1,"While the majority of interactions between individuals in the Rust community falls within our policies, violations of\\n those policies do occur at times. When they do, the crates.io team may need to take enforcement action to address the\\n violations. In all cases, content and account deletion is permanent and there is no basis to reverse these moderation\\n actions taken by the crates.io team. Account suspension may be lifted at the team\'s discretion however, for\\n example in the case of someone\'s account being compromised."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"reporting"],[12],[1,"Reporting"],[13],[1,"\\n\\n "],[10,2],[12],[1,"Please report violations of this policy to "],[10,3],[14,6,"mailto:help@crates.io"],[12],[1,"help@crates.io"],[13],[1,"."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"credits-license"],[12],[1,"Credits & License"],[13],[1,"\\n\\n "],[10,2],[12],[1,"This policy is partially based on\\n "],[10,3],[14,6,"https://github.com/pypi/warehouse/blob/3c404ada9fed7a03bbf7c3c74e86c383f705d96a/policies/acceptable-use-policy.md"],[12],[1,"\\n PyPI’s Acceptable Use Policy"],[13],[1," and modified from its original form."],[13],[1,"\\n\\n "],[10,2],[12],[1,"Licensed under the\\n "],[10,3],[14,6,"https://creativecommons.org/licenses/by/4.0/"],[12],[1,"Creative Commons Attribution 4.0 International license"],[13],[1,"."],[13],[1,"\\n"]],[]]]]]],[],false,["page-header","text-content","p","strong","em","ul","li","a","h2","blockquote","link-to"]]',moduleName:"crates-io/templates/policies/index.hbs",isStrictMode:!1})},96321:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"aDRZhrTa",block:'[[[8,[39,0],null,[["@title"],["Security Information"]],null],[1,"\\n\\n"],[8,[39,1],null,[["@boxed"],[true]],[["default"],[[[[1,"\\n\\n "],[10,"h2"],[14,1,"crates-io-security"],[12],[1,"Security of crates.io itself"],[13],[1,"\\n\\n "],[10,2],[12],[1,"Safety is one of the core principles of Rust, and to that end, we would like to ensure that cargo, crates.io, docs.rs, and\\n related tools have secure implementations. To disclose security vulnerabilities in the crates.io service itself (as opposed\\n to crates hosted on crates.io) or any other "],[10,3],[14,6,"https://github.com/rust-lang"],[12],[1,"repository in the rust-lang\\n organization"],[13],[1,", please follow the "],[10,3],[14,6,"https://www.rust-lang.org/policies/security"],[12],[1,"Rust Security policy"],[13],[1,"."],[13],[1,"\\n\\n "],[10,2],[12],[1,"Thank you for taking the time to responsibly disclose any issues you find."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"crate-security"],[12],[1,"Security of crates hosted on crates.io"],[13],[1,"\\n\\n "],[10,2],[12],[1,"To disclose security vulnerabilities found in a crate that is hosted on crates.io, seek guidance from the individual crate\'s\\n owners and their specific policies. Commonly, projects include a file named "],[10,"code"],[12],[1,"SECURITY.md"],[13],[1," that contains the\\n crate\'s security policies and procedures."],[13],[1,"\\n\\n "],[10,2],[12],[1,"Intentionally malicious code is against "],[8,[39,6],null,[["@route"],["policies"]],[["default"],[[[[1,"crates.io\'s usage policies"]],[]]]]],[1,"; please report crates\\n violating these policies to "],[10,3],[14,6,"mailto:help@crates.io"],[12],[1,"help@crates.io"],[13],[1,"."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"rustsec"],[12],[1,"Rustsec Security Advisory Database for receiving security updates"],[13],[1,"\\n\\n "],[10,2],[12],[1,"The "],[10,3],[14,6,"https://rustsec.org/"],[12],[1,"Rustsec Security Advisory Database"],[13],[1," maintains advisories about vulnerabilities in\\n crates published on crates.io. Maintained by the "],[10,3],[14,6,"https://www.rust-lang.org/governance/wgs/wg-secure-code"],[12],[1,"Secure\\n Code Working Group"],[13],[1,", the information is available in a variety of forms to incorporate into your development practices.\\n See "],[10,3],[14,6,"https://rustsec.org/contributing.html"],[12],[1,"their steps to submit a vulnerability to the database"],[13],[1,"."],[13],[1,"\\n\\n "],[10,"h2"],[14,1,"ecosystem-security-help"],[12],[1,"Ecosystem security help for crate authors"],[13],[1,"\\n\\n "],[10,2],[12],[1,"Security is a value important to the Rust ecosystem as a whole, not just to the Rust language. If you are a crate author and\\n you have received a high impact/severity security bug report for your crate, the Rust Foundation and the Rust Project are\\n available to help manage the situation. The Rust Project or the Rust Foundation may also be the ones reaching out to you, if\\n they have been informed of a security issue."],[13],[1,"\\n\\n "],[10,2],[12],[1,"As part of its "],[10,3],[14,6,"https://foundation.rust-lang.org/tags/security%20initiative/"],[12],[1,"Security Initiative"],[13],[1,", the Rust\\n Foundation:"],[13],[1,"\\n\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"Employs security engineers who can help assessing the problem, developing mitigations, and estimating impact."],[13],[1,"\\n "],[10,"li"],[12],[1,"Has a network of member organizations that can help with testing resources and also employ security experts who can help\\n with assessing and fixing issues."],[13],[1,"\\n "],[10,"li"],[12],[1,"Employs communications staff who can manage publishing notifications and fielding inquiries."],[13],[1,"\\n "],[10,"li"],[12],[1,"Has contacts with government agencies tasked with cybersecurity protections who may have information on exploitation or\\n impact of a security problem."],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"The Rust Project can coordinate actions among other parts of the ecosystem that may need to be updated to address a fix."],[13],[1,"\\n\\n "],[10,2],[12],[1,"Please reach out to "],[10,3],[14,6,"mailto:contact@rustfoundation.org"],[12],[1,"contact@rustfoundation.org"],[13],[1," if either the Rust Project or\\n the Rust Foundation can help you by providing security support in the areas listed above or in another way! These are just a\\n few examples of the kind of help available to crate authors facing security challenges."],[13],[1,"\\n\\n"]],[]]]]],[1,"\\n"]],[],false,["page-header","text-content","h2","p","a","code","link-to","ul","li"]]',moduleName:"crates-io/templates/policies/security.hbs",isStrictMode:!1})},54624:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(23189);const i=(0,n(59165).createTemplateFactory)({id:"CPjrS83L",block:'[[[1,[28,[35,0],[[30,0,["pageTitle"]]],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title","@suffix","@showSpinner"],["Search Results",[52,[30,0,["q"]],[28,[37,3],["for \'",[30,0,["q"]],"\'"],null]],[30,0,["dataTask","isRunning"]]]],null],[1,"\\n\\n"],[41,[30,0,["hasMultiCategoryFilter"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,5],["warning"],[["from"],["crates-io/styles/search"]]]]]],[12],[1,"\\n Support for using multiple "],[10,"code"],[12],[1,"category:"],[13],[1," filters is not yet implemented.\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["firstResultPending"]],[[[1," "],[10,"h2"],[12],[1,"Loading search results..."],[13],[1,"\\n"]],[]],[[[41,[30,0,["dataTask","lastComplete","error"]],[[[1," "],[10,2],[12],[1,"\\n Unfortunately something went wrong while loading the search results. Feel\\n free to try again, or let the "],[10,3],[14,6,"mailto:help@crates.io"],[12],[1,"crates.io\\n team"],[13],[1," know if the problem persists.\\n "],[13],[1,"\\n\\n "],[11,"button"],[16,0,[29,[[28,[37,5],["try-again-button"],[["from"],["crates-io/styles/search"]]]]]],[16,"disabled",[30,0,["dataTask","isRunning"]]],[24,4,"button"],[4,[32,0],["click",[30,0,["fetchData"]]],null],[12],[1,"\\n Try Again\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["hasItems"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,5],["results-meta"],[["from"],["crates-io/styles/search"]]]]]],[12],[1,"\\n "],[8,[39,11],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,5],["sort-by"],[["from"],["crates-io/styles/search"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,5],["sort-by-label"],[["from"],["crates-io/styles/search"]]]]]],[12],[1,"Sort by "],[13],[1,"\\n "],[8,[39,13],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,14],null,[["page","sort"],[1,"relevance"]]]]],[["default"],[[[[1,"Relevance"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,14],null,[["page","sort"],[1,"downloads"]]]]],[["default"],[[[[1,"All-Time Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,14],null,[["page","sort"],[1,"recent-downloads"]]]]],[["default"],[[[[1,"Recent Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,14],null,[["page","sort"],[1,"recent-updates"]]]]],[["default"],[[[[1,"Recent Updates"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,14],null,[["page","sort"],[1,"new"]]]]],[["default"],[[[[1,"Newly Added"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[39,15],[[16,0,[29,[[28,[37,5],["list"],[["from"],["crates-io/styles/search"]]]]]]],[["@crates"],[[30,0,["model"]]]],null],[1,"\\n\\n "],[8,[39,16],null,[["@pagination"],[[30,0,["pagination"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,"h2"],[12],[1,"0 crates found. "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/getting-started/"],[12],[1,"Get started"],[13],[1," and create your own."],[13],[1,"\\n"]],[]]]],[]]]],[]]]],["sd"],false,["page-title","page-header","if","concat","div","local-class","code","h2","p","a","button","results-count","span","sort-dropdown","hash","crate-list","pagination"]]',moduleName:"crates-io/templates/search.hbs",scope:()=>[r.on],isStrictMode:!1})},73885:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(23189);const i=(0,n(59165).createTemplateFactory)({id:"kdPYD2Ms",block:'[[[1,[28,[35,0],["Settings"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title"],["Account Settings"]],null],[1,"\\n\\n"],[8,[39,2],null,null,[["default"],[[[[1,"\\n "],[11,"form"],[16,0,[29,[[28,[37,4],["me-email-notifications"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[4,[32,0],["submit",[28,[37,5],[[30,0,["saveEmailNotifications"]]],null]],null],[12],[1,"\\n "],[10,"h2"],[12],[1,"Email Notification Preferences"],[13],[1,"\\n\\n"],[41,[30,0,["hasEmailNotificationFeature"]],[[[1," "],[10,2],[12],[1,"\\n To aid detection of unauthorized crate changes, we email you each time a new version of a crate you own is pushed.\\n By receiving and reading these emails, you help protect the Rust ecosystem. You may also choose to turn these\\n emails off for any of your crates listed below.\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,4],["notifications-row"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[12],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,4],["select-all-button"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[24,4,"button"],[4,[32,0],["click",[30,0,["emailNotificationsSelectAll"]]],null],[12],[1,"Select All"],[13],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,4],["deselect-all-button"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[24,4,"button"],[4,[32,0],["click",[30,0,["emailNotificationsSelectNone"]]],null],[12],[1,"Deselect All"],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"ul"],[15,0,[29,[[28,[37,4],["notifications-list"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[12],[1,"\\n"],[42,[28,[37,13],[[28,[37,13],[[30,0,["ownedCrates"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,15],null,[["@ownedCrate"],[[30,1]]],null],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,4],["notifications-row"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[12],[1,"\\n"],[41,[30,0,["emailNotificationsError"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,4],["notifications-error"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[12],[1,"\\n An error occurred while saving your email preferences.\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["emailNotificationsSuccess"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,4],["notifications-success"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[12],[1,"\\n Your email notification preferences have been updated!\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[15,0,[29,[[28,[37,4],["right"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[12],[1,"\\n "],[10,"button"],[15,0,[29,[[28,[37,4],["update-notifications-button"],[["from"],["crates-io/styles/settings/email-notifications"]]]]]],[14,4,"submit"],[12],[1,"Update"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,2],[12],[1,"\\n To aid detection of unauthorized crate changes, we plan to email you each time a new version of a crate you own is\\n pushed. This feature is still work-in-progress, if you want to help out have a look at\\n "],[10,3],[14,6,"https://github.com/rust-lang/crates.io/issues/1895"],[12],[1,"#1895"],[13],[1,".\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]]]]]],["ownedCrate"],false,["page-title","page-header","settings-page","form","local-class","prevent-default","h2","if","p","div","button","ul","each","-track-array","li","owned-crate-row","a"]]',moduleName:"crates-io/templates/settings/email-notifications.hbs",scope:()=>[r.on],isStrictMode:!1})},81361:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"9w0tXIpv",block:'[[[1,[28,[35,0],["Settings"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title"],["Account Settings"]],null],[1,"\\n\\n"],[8,[39,2],null,null,[["default"],[[[[1,"\\n "],[10,0],[15,0,[29,[[28,[37,4],["me-profile"],[["from"],["crates-io/styles/settings/profile"]]]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,"Profile Information"],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,4],["info"],[["from"],["crates-io/styles/settings/profile"]]]]]],[12],[1,"\\n "],[8,[39,6],null,[["@user"],[[30,0,["model","user"]]]],[["default"],[[[[1," "],[8,[39,7],null,[["@user","@size"],[[30,0,["model","user"]],"medium"]],null],[1," "]],[]]]]],[1,"\\n\\n "],[10,"dl"],[12],[1,"\\n "],[10,"dt"],[12],[1,"Name"],[13],[1,"\\n "],[10,"dd"],[12],[1,[30,0,["model","user","name"]]],[13],[1,"\\n "],[10,"dt"],[12],[1,"GitHub Account"],[13],[1,"\\n "],[10,"dd"],[12],[1,[30,0,["model","user","login"]]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,2],[12],[1,"\\n To update your name and GitHub account, change them in your GitHub profile, then sign out and login again to\\n crates.io.\\n You cannot change these settings directly on crates.io, but we accept whatever values come from GitHub.\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,4],["me-email"],[["from"],["crates-io/styles/settings/profile"]]]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,"User Email"],[13],[1,"\\n "],[8,[39,12],null,[["@user"],[[30,0,["model","user"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]]]]]],[],false,["page-title","page-header","settings-page","div","local-class","h2","user-link","user-avatar","dl","dt","dd","p","email-input"]]',moduleName:"crates-io/templates/settings/profile.hbs",isStrictMode:!1})},23666:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"ezaT5PzP",block:'[[[1,[28,[35,0],["Settings"],null]],[1,"\\n\\n"],[8,[39,1],null,[["@title"],["Account Settings"]],null],[1,"\\n\\n"],[8,[39,2],null,null,[["default"],[[[[1,"\\n "],[46,[28,[37,4],null,null],null,null,null],[1,"\\n"]],[]]]]]],[],false,["page-title","page-header","settings-page","component","-outlet"]]',moduleName:"crates-io/templates/settings/tokens.hbs",isStrictMode:!1})},92843:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"uLJLoHvu",block:'[[[8,[39,0],null,[["@tokens"],[[30,1]]],null]],["@model"],false,["settings/api-tokens"]]',moduleName:"crates-io/templates/settings/tokens/index.hbs",isStrictMode:!1})},57305:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var r=n(23189),i=n(39652),s=n(86053);class o extends i.A{constructor(...e){var t,n,r;super(...e),t=this,r=!1,(n=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(n="didSetup"))in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}modify(e,t,n){if(this.didSetup)return;this.didSetup=!0;const{disabled:r}=n;if(r)return;const[i]=t;i&&(e=e.querySelector(i)),e&&(0,s.scheduleOnce)("afterRender",this,a,e)}}function a(e){e.contains(document.activeElement)||function(e){e.dataset.programmaticallyFocused="true",e.focus(),(0,s.next)((()=>delete e.dataset.programmaticallyFocused))}(e)}const l=(0,n(59165).createTemplateFactory)({id:"ewPx9fES",block:'[[[10,"h2"],[12],[1,"New API Token"],[13],[1,"\\n\\n"],[11,"form"],[16,0,[29,[[28,[37,2],["form"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[4,[32,0],["submit",[28,[37,3],[[28,[37,4],[[30,0,["saveTokenTask"]]],null]],null]],null],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["form-group"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n"],[44,[[28,[37,7],null,null]],[[[1," "],[10,"label"],[15,0,[29,[[28,[37,2],["form-group-name"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[15,"for",[30,1]],[12],[1,"Name"],[13],[1,"\\n\\n "],[8,[39,9],[[16,0,[29,[[28,[37,2],["name-input"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[16,1,[30,1]],[16,"disabled",[30,0,["saveTokenTask","isRunning"]]],[24,"autocomplete","off"],[24,"aria-required","true"],[16,"aria-invalid",[52,[30,0,["nameInvalid"]],"true","false"]],[4,[32,1],null,null],[4,[32,0],["input",[30,0,["resetNameValidation"]]],null]],[["@type","@value"],["text",[30,0,["name"]]]],null],[1,"\\n\\n"],[41,[30,0,["nameInvalid"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,2],["form-group-error"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n Please enter a name for this token.\\n "],[13],[1,"\\n"]],[]],null]],[1]]],[1," "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,2],["form-group"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n"],[44,[[28,[37,7],null,null]],[[[1," "],[10,"label"],[15,0,[29,[[28,[37,2],["form-group-name"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[15,"for",[30,2]],[12],[1,"Expiration"],[13],[1,"\\n\\n "],[11,"select"],[16,0,[29,[[28,[37,2],["expiry-select"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[16,1,[30,2]],[16,"disabled",[30,0,["saveTokenTask","isRunning"]]],[4,[32,0],["change",[30,0,["updateExpirySelection"]]],null],[12],[1,"\\n "],[10,"option"],[14,2,"none"],[14,"selected",""],[12],[1,"No expiration"],[13],[1,"\\n "],[10,"option"],[14,2,"7"],[12],[1,"7 days"],[13],[1,"\\n "],[10,"option"],[14,2,"30"],[12],[1,"30 days"],[13],[1,"\\n "],[10,"option"],[14,2,"60"],[12],[1,"60 days"],[13],[1,"\\n "],[10,"option"],[14,2,"90"],[12],[1,"90 days"],[13],[1,"\\n "],[10,"option"],[14,2,"365"],[12],[1,"365 days"],[13],[1,"\\n "],[10,"option"],[14,2,"custom"],[12],[1,"Custom..."],[13],[1,"\\n "],[13],[1,"\\n"]],[2]]],[1,"\\n"],[41,[28,[37,13],[[30,0,["expirySelection"]],"custom"],null],[[[1," "],[8,[39,9],[[16,0,[29,[[28,[37,2],["expiry-date-input"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[16,"min",[30,0,["today"]]],[16,"disabled",[30,0,["saveTokenTask","isRunning"]]],[16,"aria-invalid",[52,[30,0,["expiryDateInvalid"]],"true","false"]],[24,"aria-label","Custom expiration date"],[4,[32,0],["input",[30,0,["resetExpiryDateValidation"]]],null]],[["@type","@value"],["date",[30,0,["expiryDateInput"]]]],null],[1,"\\n"]],[]],[[[1," "],[10,1],[15,0,[29,[[28,[37,2],["expiry-description"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n "],[1,[30,0,["expiryDescription"]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,2],["form-group"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["form-group-name"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n Scopes\\n\\n "],[10,3],[15,0,[29,[[28,[37,2],["help-link"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[14,6,"https://rust-lang.github.io/rfcs/2947-crates-io-token-scopes.html"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["hidden-label"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"Help"],[13],[1,"\\n "],[1,[28,[35,16],["circle-question"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"ul"],[15,0,[29,[[28,[37,2],[[28,[37,18],["scopes-list ",[52,[30,0,["scopesInvalid"]],"invalid"]],null]],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[14,"role","list"],[12],[1,"\\n"],[42,[28,[37,20],[[28,[37,20],[[30,0,["ENDPOINT_SCOPES"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[10,"label"],[12],[1,"\\n "],[8,[39,9],[[16,"disabled",[30,0,["saveTokenTask","isRunning"]]],[4,[32,0],["change",[28,[37,22],[[30,0,["toggleScope"]],[30,3]],null]],null]],[["@type","@checked"],["checkbox",[28,[30,0,["isScopeSelected"]],[[30,3]],null]]],null],[1,"\\n\\n "],[10,1],[15,0,[29,[[28,[37,2],["scope-id"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,[30,3]],[13],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["scope-description"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,[28,[30,0,["scopeDescription"]],[[30,3]],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["scopesInvalid"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,2],["form-group-error"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n Please select at least one token scope.\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,2],["form-group"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["form-group-name"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n Crates\\n\\n "],[10,3],[15,0,[29,[[28,[37,2],["help-link"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[14,6,"https://rust-lang.github.io/rfcs/2947-crates-io-token-scopes.html"],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["hidden-label"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"Help"],[13],[1,"\\n "],[1,[28,[35,16],["circle-question"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"ul"],[15,0,[29,[[28,[37,2],["crates-list"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[14,"role","list"],[12],[1,"\\n"],[42,[28,[37,20],[[28,[37,20],[[30,0,["crateScopes"]]],null]],null],null,[[[1," "],[10,"li"],[15,0,[29,[[28,[37,2],[[28,[37,18],["crates-scope ",[52,[30,4,["showAsInvalid"]],"invalid"]],null]],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n "],[10,0],[12],[1,"\\n "],[8,[39,9],[[24,"aria-label","Crate name pattern"],[4,[32,0],["input",[30,4,["resetValidation"]]],null],[4,[32,0],["blur",[30,4,["validate"]]],null]],[["@value"],[[30,4,["pattern"]]]],null],[1,"\\n\\n "],[10,1],[15,0,[29,[[28,[37,2],["pattern-description"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n "],[1,[30,4,["description"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[11,"button"],[24,4,"button"],[4,[32,0],["click",[28,[37,22],[[30,0,["removeCrateScope"]],[30,5]],null]],null],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["hidden-label"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"Remove pattern"],[13],[1,"\\n "],[1,[28,[35,16],["trash"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[4,5]],[[[1," "],[10,"li"],[15,0,[29,[[28,[37,2],["crates-unrestricted"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n "],[10,"strong"],[12],[1,"Unrestricted"],[13],[1," – This token can be used for all of your crates.\\n "],[13],[1,"\\n"]],[]]],[1,"\\n "],[10,"li"],[15,0,[29,[[28,[37,2],["crates-pattern-button"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n "],[11,"button"],[24,4,"button"],[4,[32,0],["click",[28,[37,22],[[30,0,["addCratePattern"]],""],null]],null],[12],[1,"\\n Add pattern\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,2],["buttons"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[12],[1,"\\n "],[10,"button"],[15,0,[29,[[28,[37,2],["generate-button"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]],[15,"disabled",[30,0,["saveTokenTask","isRunning"]]],[14,4,"submit"],[12],[1,"\\n Generate Token\\n\\n"],[41,[30,0,["saveTokenTask","isRunning"]],[[[1," "],[8,[39,25],[[16,0,[29,[[28,[37,2],["spinner"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]]],null,null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[39,26],[[16,0,[29,[[28,[37,2],["cancel-button"],[["from"],["crates-io/styles/settings/tokens/new"]]]]]]],[["@route"],["settings.tokens.index"]],[["default"],[[[[1,"\\n Cancel\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[13],[1,"\\n"]],["id","id","scope","pattern","index"],false,["h2","form","local-class","prevent-default","perform","div","let","unique-id","label","input","if","select","option","eq","span","a","svg-jar","ul","concat","each","-track-array","li","fn","button","strong","loading-spinner","link-to"]]',moduleName:"crates-io/templates/settings/tokens/new.hbs",scope:()=>[r.on,o],isStrictMode:!1})},58471:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"UPrQYaek",block:'[[[8,[39,0],[[16,0,[29,[[28,[37,1],["header"],[["from"],["crates-io/styles/team"]]]]]]],null,[["default"],[[[[1,"\\n "],[8,[39,2],[[16,0,[29,[[28,[37,1],["avatar"],[["from"],["crates-io/styles/team"]]]]]]],[["@user","@size"],[[30,0,["model","team"]],"medium"]],null],[1,"\\n "],[10,0],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["header-row"],[["from"],["crates-io/styles/team"]]]]]],[12],[1,"\\n "],[10,"h1"],[12],[1,"\\n "],[1,[30,0,["model","team","org_name"]]],[1,"\\n "],[13],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,1],["github-link"],[["from"],["crates-io/styles/team"]]]]]]],[["@user"],[[30,0,["model","team"]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,6],["github"],[["alt"],["GitHub profile"]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,"h2"],[12],[1,"\\n "],[1,[30,0,["model","team","name"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]]],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,1],["results-meta"],[["from"],["crates-io/styles/team"]]]]]],[12],[1,"\\n "],[8,[39,8],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["sort-by-label"],[["from"],["crates-io/styles/team"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,10],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["downloads"]]]]],[["default"],[[[[1,"All-Time Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["recent-downloads"]]]]],[["default"],[[[[1,"Recent Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["recent-updates"]]]]],[["default"],[[[[1,"Recent Updates"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["new"]]]]],[["default"],[[[[1,"Newly Added"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,12],[[16,0,[29,[[28,[37,1],["list"],[["from"],["crates-io/styles/team"]]]]]]],[["@crates"],[[30,0,["model","crates"]]]],null],[1,"\\n\\n"],[8,[39,13],null,[["@pagination"],[[30,0,["pagination"]]]],null]],["sd"],false,["page-header","local-class","user-avatar","div","h1","user-link","svg-jar","h2","results-count","span","sort-dropdown","hash","crate-list","pagination"]]',moduleName:"crates-io/templates/team.hbs",isStrictMode:!1})},80981:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(59165).createTemplateFactory)({id:"fmZqpvum",block:'[[[1,[28,[35,0],[[30,0,["model","user","login"]]," - User"],null]],[1,"\\n\\n"],[8,[39,1],[[16,0,[29,[[28,[37,2],["header"],[["from"],["crates-io/styles/user"]]]]]]],null,[["default"],[[[[1,"\\n "],[8,[39,3],null,[["@user","@size"],[[30,0,["model","user"]],"medium"]],null],[1,"\\n "],[10,"h1"],[12],[1,"\\n "],[1,[30,0,["model","user","login"]]],[1,"\\n "],[13],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,2],["github-link"],[["from"],["crates-io/styles/user"]]]]]]],[["@user"],[[30,0,["model","user"]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,6],["github"],[["alt"],["GitHub profile"]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]]],[1,"\\n\\n"],[10,0],[15,0,[29,[[28,[37,2],["results-meta"],[["from"],["crates-io/styles/user"]]]]]],[12],[1,"\\n "],[8,[39,8],null,[["@start","@end","@total"],[[30,0,["pagination","currentPageStart"]],[30,0,["pagination","currentPageEnd"]],[30,0,["totalItems"]]]],null],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,2],["sort-by-label"],[["from"],["crates-io/styles/user"]]]]]],[12],[1,"Sort by"],[13],[1,"\\n "],[8,[39,10],null,[["@current"],[[30,0,["currentSortBy"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["alpha"]]]]],[["default"],[[[[1,"Alphabetical"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["downloads"]]]]],[["default"],[[[[1,"All-Time Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["recent-downloads"]]]]],[["default"],[[[[1,"Recent Downloads"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["recent-updates"]]]]],[["default"],[[[[1,"Recent Updates"]],[]]]]],[1,"\\n "],[8,[30,1,["Option"]],null,[["@query"],[[28,[37,11],null,[["sort"],["new"]]]]],[["default"],[[[[1,"Newly Added"]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[8,[39,12],[[16,0,[29,[[28,[37,2],["list"],[["from"],["crates-io/styles/user"]]]]]]],[["@crates"],[[30,0,["model","crates"]]]],null],[1,"\\n\\n"],[8,[39,13],null,[["@pagination"],[[30,0,["pagination"]]]],null]],["sd"],false,["page-title","page-header","local-class","user-avatar","h1","user-link","svg-jar","div","results-count","span","sort-dropdown","hash","crate-list","pagination"]]',moduleName:"crates-io/templates/user.hbs",isStrictMode:!1})},48055:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402),i=n(65613);class s extends i.default{constructor(...e){super(...e),(0,r.A)(this,"namespace","api/v1/me")}pathForType(){return"tokens"}createRecord(e,t,n){let r={},i=e.serializerFor(t.modelName),s=this.buildURL(t.modelName,null,n,"createRecord");return i.serializeIntoHash(r,t,n,{includeId:!0}),this.ajax(s,"PUT",{data:r})}}},65613:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402),i=n(53251);class s extends i.A{constructor(...e){super(...e),(0,r.A)(this,"host","https://crates.io"),(0,r.A)(this,"namespace","api/v1")}handleResponse(e,t,n,r){if("string"==typeof n)try{n=JSON.parse(n)}catch{}return super.handleResponse(e,t,n,r)}}},3539:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(68131),i=n(62542),s=n(65613);class o extends s.default{pathForType(e){let t=(0,r.z9)((0,r.aj)(e));return(0,i.td)(t)}}},98214:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402),i=n(65613);class s extends i.default{constructor(...e){super(...e),(0,r.A)(this,"namespace","api/v1/me")}pathForType(){return"crate_owner_invitations"}urlForQuery(){return"https://crates.io/api/private/crate_owner_invitations"}}},64580:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402),i=n(65613);class s extends i.default{constructor(...e){super(...e),(0,r.A)(this,"coalesceFindRequests",!0)}groupRecordsForFindMany(e,t){let n=[];for(let e=0;e{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(65613);class i extends r.default{query(e,t,n){let{crate:r,reverse:i,...s}=n;return i?this.ajax(`${this.urlPrefix()}/crates/${r.id}/reverse_dependencies`,"GET",{data:s}):super.query(...arguments)}}},14902:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(65613);class i extends r.default{queryRecord(e,t,n){let r=this.urlForFindRecord(n.team_id,"team");return this.ajax(r,"GET")}}},45708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(65613);class i extends r.default{queryRecord(e,t,n){let r=this.urlForFindRecord(n.user_id,"user");return this.ajax(r,"GET")}}},50704:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(75402),i=n(44688),s=n.n(i),o=n(87102),a=n.n(o);function l(e){var t=a()(e,null,null,!0);if(!t)throw new Error(e+" must export an initializer.");var n=t.default;if(!n)throw new Error(e+" must have a default export");return n.name||(n.name=e.slice(e.lastIndexOf("/")+1)),n}function c(e,t){return-1!==e.indexOf(t,e.length-t.length)}var u=n(20414),d=n(63820),h=n(23627);window.onerror=void 0,h.init();class p extends(s()){constructor(...e){super(...e),(0,r.A)(this,"modulePrefix",d.default.modulePrefix),(0,r.A)(this,"podModulePrefix",d.default.podModulePrefix),(0,r.A)(this,"Resolver",u.A),(0,r.A)(this,"customEvents",{touchstart:null,touchmove:null})}}!function(e,t){for(var n=t+"/initializers/",r=t+"/instance-initializers/",i=[],s=[],o=Object.keys(requirejs._eak_seen),a=0;a{"use strict";var r=n(57268);let i=window.define;(0,r.A)(n(72926)),i("crates-io/adapters/api-token",(function(){return(0,r.A)(n(48055))})),i("crates-io/adapters/application",(function(){return(0,r.A)(n(65613))})),i("crates-io/adapters/category-slug",(function(){return(0,r.A)(n(3539))})),i("crates-io/adapters/crate-owner-invite",(function(){return(0,r.A)(n(98214))})),i("crates-io/adapters/crate",(function(){return(0,r.A)(n(64580))})),i("crates-io/adapters/dependency",(function(){return(0,r.A)(n(43614))})),i("crates-io/adapters/team",(function(){return(0,r.A)(n(14902))})),i("crates-io/adapters/user",(function(){return(0,r.A)(n(45708))})),i("crates-io/app",(function(){return(0,r.A)(n(50704))})),i("crates-io/config/environment",(function(){return(0,r.A)(n(63820))})),i("crates-io/consts",(function(){return(0,r.A)(n(25652))})),i("crates-io/initializers/app-hook",(function(){return(0,r.A)(n(15305))})),i("crates-io/initializers/hashchange",(function(){return(0,r.A)(n(27388))})),i("crates-io/models/api-token",(function(){return(0,r.A)(n(38129))})),i("crates-io/models/category-slug",(function(){return(0,r.A)(n(52273))})),i("crates-io/models/category",(function(){return(0,r.A)(n(30397))})),i("crates-io/models/crate-owner-invite",(function(){return(0,r.A)(n(63576))})),i("crates-io/models/crate",(function(){return(0,r.A)(n(50858))})),i("crates-io/models/dependency",(function(){return(0,r.A)(n(61516))})),i("crates-io/models/keyword",(function(){return(0,r.A)(n(78522))})),i("crates-io/models/owned-crate",(function(){return(0,r.A)(n(40858))})),i("crates-io/models/team",(function(){return(0,r.A)(n(37456))})),i("crates-io/models/user",(function(){return(0,r.A)(n(26086))})),i("crates-io/models/version-download",(function(){return(0,r.A)(n(42470))})),i("crates-io/models/version",(function(){return(0,r.A)(n(67425))})),i("crates-io/router",(function(){return(0,r.A)(n(42249))})),i("crates-io/sentry",(function(){return(0,r.A)(n(23627))})),i("crates-io/serializers/api-token",(function(){return(0,r.A)(n(60180))})),i("crates-io/serializers/application",(function(){return(0,r.A)(n(59802))})),i("crates-io/serializers/crate-owner-invite",(function(){return(0,r.A)(n(36539))})),i("crates-io/serializers/crate",(function(){return(0,r.A)(n(55379))})),i("crates-io/serializers/dependency",(function(){return(0,r.A)(n(42143))})),i("crates-io/serializers/version-download",(function(){return(0,r.A)(n(89877))})),i("crates-io/serializers/version",(function(){return(0,r.A)(n(68808))})),i("crates-io/services/chartjs",(function(){return(0,r.A)(n(76275))})),i("crates-io/services/color-scheme",(function(){return(0,r.A)(n(40398))})),i("crates-io/services/head-data",(function(){return(0,r.A)(n(37310))})),i("crates-io/services/header",(function(){return(0,r.A)(n(15342))})),i("crates-io/services/intl",(function(){return(0,r.A)(n(67212))})),i("crates-io/services/mermaid",(function(){return(0,r.A)(n(91960))})),i("crates-io/services/playground",(function(){return(0,r.A)(n(90942))})),i("crates-io/services/progress",(function(){return(0,r.A)(n(11712))})),i("crates-io/services/redirector",(function(){return(0,r.A)(n(52510))})),i("crates-io/services/sentry",(function(){return(0,r.A)(n(92956))})),i("crates-io/services/session",(function(){return(0,r.A)(n(74707))})),i("crates-io/styles/application",(function(){return(0,r.A)(n(69603))})),i("crates-io/styles/catch-all",(function(){return(0,r.A)(n(19796))})),i("crates-io/styles/categories",(function(){return(0,r.A)(n(84209))})),i("crates-io/styles/category-slugs",(function(){return(0,r.A)(n(99720))})),i("crates-io/styles/category/index",(function(){return(0,r.A)(n(76218))})),i("crates-io/styles/crate/articles",(function(){return(0,r.A)(n(1566))})),i("crates-io/styles/crate/reverse-dependencies",(function(){return(0,r.A)(n(86957))})),i("crates-io/styles/crate/settings",(function(){return(0,r.A)(n(78744))})),i("crates-io/styles/crate/version-dependencies",(function(){return(0,r.A)(n(66831))})),i("crates-io/styles/crate/version",(function(){return(0,r.A)(n(32909))})),i("crates-io/styles/crate/versions",(function(){return(0,r.A)(n(73256))})),i("crates-io/styles/crates",(function(){return(0,r.A)(n(7245))})),i("crates-io/styles/dashboard",(function(){return(0,r.A)(n(52457))})),i("crates-io/styles/index",(function(){return(0,r.A)(n(69093))})),i("crates-io/styles/keyword/index",(function(){return(0,r.A)(n(30373))})),i("crates-io/styles/keywords",(function(){return(0,r.A)(n(87677))})),i("crates-io/styles/me/crates",(function(){return(0,r.A)(n(48150))})),i("crates-io/styles/me/following",(function(){return(0,r.A)(n(79723))})),i("crates-io/styles/me/pending-invites",(function(){return(0,r.A)(n(77064))})),i("crates-io/styles/search",(function(){return(0,r.A)(n(38657))})),i("crates-io/styles/settings/appearance",(function(){return(0,r.A)(n(43089))})),i("crates-io/styles/settings/email-notifications",(function(){return(0,r.A)(n(1470))})),i("crates-io/styles/settings/profile",(function(){return(0,r.A)(n(24898))})),i("crates-io/styles/settings/tokens/new",(function(){return(0,r.A)(n(48064))})),i("crates-io/styles/shared/a11y",(function(){return(0,r.A)(n(66551))})),i("crates-io/styles/shared/buttons",(function(){return(0,r.A)(n(69682))})),i("crates-io/styles/shared/sort-by",(function(){return(0,r.A)(n(78005))})),i("crates-io/styles/shared/typography",(function(){return(0,r.A)(n(71346))})),i("crates-io/styles/team",(function(){return(0,r.A)(n(60156))})),i("crates-io/styles/user",(function(){return(0,r.A)(n(14986))})),i("crates-io/utils/ajax",(function(){return(0,r.A)(n(2540))})),i("crates-io/utils/concurrency",(function(){return(0,r.A)(n(47787))})),i("crates-io/utils/license",(function(){return(0,r.A)(n(50111))})),i("crates-io/utils/local-storage",(function(){return(0,r.A)(n(2127))})),i("crates-io/utils/pagination",(function(){return(0,r.A)(n(85030))})),i("crates-io/utils/search",(function(){return(0,r.A)(n(85318))})),i("crates-io/utils/sentry",(function(){return(0,r.A)(n(97345))})),i("crates-io/utils/token-scopes",(function(){return(0,r.A)(n(51091))})),i("crates-io/services/notifications",(function(){return(0,r.A)(n(12084))})),i("crates-io/services/keyboard",(function(){return(0,r.A)(n(79882))})),i("crates-io/services/link-manager",(function(){return(0,r.A)(n(40844))})),i("crates-io/services/page-title",(function(){return(0,r.A)(n(16584))})),i("crates-io/component-managers/glimmer",(function(){return(0,r.A)(n(79232))})),i("crates-io/initializers/ensure-local-class-included",(function(){return(0,r.A)(n(7443))})),i("crates-io/instance-initializers/head-browser",(function(){return(0,r.A)(n(90857))})),i("crates-io/data-adapter",(function(){return(0,r.A)(n(56557))})),i("crates-io/initializers/ember-data-data-adapter",(function(){return(0,r.A)(n(70458))})),i("crates-io/adapters/-json-api",(function(){return(0,r.A)(n(11265))})),i("crates-io/initializers/ember-data",(function(){return(0,r.A)(n(10778))})),i("crates-io/instance-initializers/ember-data",(function(){return(0,r.A)(n(17463))})),i("crates-io/serializers/-default",(function(){return(0,r.A)(n(25256))})),i("crates-io/serializers/-json-api",(function(){return(0,r.A)(n(15398))})),i("crates-io/serializers/-rest",(function(){return(0,r.A)(n(75371))})),i("crates-io/services/store",(function(){return(0,r.A)(n(59740))})),i("crates-io/transforms/boolean",(function(){return(0,r.A)(n(84320))})),i("crates-io/transforms/date",(function(){return(0,r.A)(n(69638))})),i("crates-io/transforms/number",(function(){return(0,r.A)(n(72387))})),i("crates-io/transforms/string",(function(){return(0,r.A)(n(4379))})),i("crates-io/container-debug-adapter",(function(){return(0,r.A)(n(17545))})),i("crates-io/instance-initializers/ember-router-scroll",(function(){return(0,r.A)(n(29975))})),i("crates-io/services/router-scroll",(function(){return(0,r.A)(n(71202))})),i("crates-io/instance-initializers/sentry-performance",(function(){return(0,r.A)(n(39540))})),i("crates-io/components/article-list/row",(function(){return(0,r.A)(n(57515))})),i("crates-io/components/article-list/row.module.css",(function(){return(0,r.A)(n(43058))})),i("crates-io/components/color-scheme-menu",(function(){return(0,r.A)(n(42492))})),i("crates-io/components/color-scheme-menu.module.css",(function(){return(0,r.A)(n(66385))})),i("crates-io/components/copy-button",(function(){return(0,r.A)(n(86031))})),i("crates-io/components/crate-downloads-list",(function(){return(0,r.A)(n(33324))})),i("crates-io/components/crate-downloads-list.module.css",(function(){return(0,r.A)(n(11442))})),i("crates-io/components/crate-header",(function(){return(0,r.A)(n(93189))})),i("crates-io/components/crate-header.module.css",(function(){return(0,r.A)(n(27909))})),i("crates-io/components/crate-list",(function(){return(0,r.A)(n(72914))})),i("crates-io/components/crate-list.module.css",(function(){return(0,r.A)(n(52970))})),i("crates-io/components/crate-row",(function(){return(0,r.A)(n(55416))})),i("crates-io/components/crate-row.module.css",(function(){return(0,r.A)(n(74994))})),i("crates-io/components/crate-sidebar",(function(){return(0,r.A)(n(59490))})),i("crates-io/components/crate-sidebar.module.css",(function(){return(0,r.A)(n(22418))})),i("crates-io/components/crate-sidebar/install-instructions",(function(){return(0,r.A)(n(83693))})),i("crates-io/components/crate-sidebar/install-instructions.module.css",(function(){return(0,r.A)(n(11328))})),i("crates-io/components/crate-sidebar/link",(function(){return(0,r.A)(n(68953))})),i("crates-io/components/crate-sidebar/link.module.css",(function(){return(0,r.A)(n(6401))})),i("crates-io/components/dependency-list/row",(function(){return(0,r.A)(n(45584))})),i("crates-io/components/dependency-list/row.module.css",(function(){return(0,r.A)(n(25585))})),i("crates-io/components/download-graph",(function(){return(0,r.A)(n(20994))})),i("crates-io/components/download-graph.module.css",(function(){return(0,r.A)(n(81463))})),i("crates-io/components/dropdown",(function(){return(0,r.A)(n(6947))})),i("crates-io/components/dropdown.module.css",(function(){return(0,r.A)(n(21431))})),i("crates-io/components/dropdown/content",(function(){return(0,r.A)(n(70365))})),i("crates-io/components/dropdown/content.module.css",(function(){return(0,r.A)(n(44265))})),i("crates-io/components/dropdown/menu-item",(function(){return(0,r.A)(n(87455))})),i("crates-io/components/dropdown/menu-item.module.css",(function(){return(0,r.A)(n(25061))})),i("crates-io/components/dropdown/menu",(function(){return(0,r.A)(n(20412))})),i("crates-io/components/dropdown/menu.module.css",(function(){return(0,r.A)(n(53443))})),i("crates-io/components/dropdown/trigger",(function(){return(0,r.A)(n(50485))})),i("crates-io/components/dropdown/trigger.module.css",(function(){return(0,r.A)(n(37962))})),i("crates-io/components/email-input",(function(){return(0,r.A)(n(65239))})),i("crates-io/components/email-input.module.css",(function(){return(0,r.A)(n(25783))})),i("crates-io/components/ember-tooltip",(function(){return(0,r.A)(n(26744))})),i("crates-io/components/follow-button",(function(){return(0,r.A)(n(99995))})),i("crates-io/components/follow-button.module.css",(function(){return(0,r.A)(n(78104))})),i("crates-io/components/footer",(function(){return(0,r.A)(n(66202))})),i("crates-io/components/footer.module.css",(function(){return(0,r.A)(n(69493))})),i("crates-io/components/front-page-list/item",(function(){return(0,r.A)(n(46825))})),i("crates-io/components/front-page-list/item.module.css",(function(){return(0,r.A)(n(81826))})),i("crates-io/components/front-page-list/item/placeholder",(function(){return(0,r.A)(n(9142))})),i("crates-io/components/front-page-list/item/placeholder.module.css",(function(){return(0,r.A)(n(48116))})),i("crates-io/components/header",(function(){return(0,r.A)(n(82062))})),i("crates-io/components/header.module.css",(function(){return(0,r.A)(n(63767))})),i("crates-io/components/license-expression",(function(){return(0,r.A)(n(53623))})),i("crates-io/components/loading-spinner",(function(){return(0,r.A)(n(69265))})),i("crates-io/components/loading-spinner.module.css",(function(){return(0,r.A)(n(78620))})),i("crates-io/components/nav-tabs",(function(){return(0,r.A)(n(21728))})),i("crates-io/components/nav-tabs.module.css",(function(){return(0,r.A)(n(14072))})),i("crates-io/components/nav-tabs/tab",(function(){return(0,r.A)(n(1236))})),i("crates-io/components/nav-tabs/tab.module.css",(function(){return(0,r.A)(n(8220))})),i("crates-io/components/owned-crate-row",(function(){return(0,r.A)(n(45984))})),i("crates-io/components/owned-crate-row.module.css",(function(){return(0,r.A)(n(78678))})),i("crates-io/components/owners-list",(function(){return(0,r.A)(n(36653))})),i("crates-io/components/owners-list.module.css",(function(){return(0,r.A)(n(63141))})),i("crates-io/components/page-header",(function(){return(0,r.A)(n(49480))})),i("crates-io/components/page-header.module.css",(function(){return(0,r.A)(n(237))})),i("crates-io/components/pagination",(function(){return(0,r.A)(n(96666))})),i("crates-io/components/pagination.module.css",(function(){return(0,r.A)(n(92204))})),i("crates-io/components/pending-owner-invite-row",(function(){return(0,r.A)(n(83596))})),i("crates-io/components/pending-owner-invite-row.module.css",(function(){return(0,r.A)(n(21412))})),i("crates-io/components/placeholder",(function(){return(0,r.A)(n(16015))})),i("crates-io/components/placeholder.module.css",(function(){return(0,r.A)(n(41415))})),i("crates-io/components/privileged-action",(function(){return(0,r.A)(n(63192))})),i("crates-io/components/privileged-action.module.css",(function(){return(0,r.A)(n(47166))})),i("crates-io/components/progress-bar",(function(){return(0,r.A)(n(85019))})),i("crates-io/components/progress-bar.module.css",(function(){return(0,r.A)(n(62613))})),i("crates-io/components/rendered-html",(function(){return(0,r.A)(n(36526))})),i("crates-io/components/results-count",(function(){return(0,r.A)(n(15515))})),i("crates-io/components/results-count.module.css",(function(){return(0,r.A)(n(98652))})),i("crates-io/components/rev-dep-row",(function(){return(0,r.A)(n(37817))})),i("crates-io/components/rev-dep-row.module.css",(function(){return(0,r.A)(n(72692))})),i("crates-io/components/search-form",(function(){return(0,r.A)(n(16029))})),i("crates-io/components/search-form.module.css",(function(){return(0,r.A)(n(2667))})),i("crates-io/components/settings-page",(function(){return(0,r.A)(n(1253))})),i("crates-io/components/settings-page.module.css",(function(){return(0,r.A)(n(41277))})),i("crates-io/components/settings/api-tokens",(function(){return(0,r.A)(n(33500))})),i("crates-io/components/settings/api-tokens.module.css",(function(){return(0,r.A)(n(30357))})),i("crates-io/components/side-menu",(function(){return(0,r.A)(n(47486))})),i("crates-io/components/side-menu.module.css",(function(){return(0,r.A)(n(30927))})),i("crates-io/components/side-menu/item",(function(){return(0,r.A)(n(63780))})),i("crates-io/components/side-menu/item.module.css",(function(){return(0,r.A)(n(207))})),i("crates-io/components/sort-dropdown",(function(){return(0,r.A)(n(12946))})),i("crates-io/components/sort-dropdown.module.css",(function(){return(0,r.A)(n(11526))})),i("crates-io/components/sort-dropdown/option",(function(){return(0,r.A)(n(12100))})),i("crates-io/components/stats-value",(function(){return(0,r.A)(n(20013))})),i("crates-io/components/stats-value.module.css",(function(){return(0,r.A)(n(60797))})),i("crates-io/components/text-content",(function(){return(0,r.A)(n(48520))})),i("crates-io/components/text-content.module.css",(function(){return(0,r.A)(n(7289))})),i("crates-io/components/user-avatar",(function(){return(0,r.A)(n(64444))})),i("crates-io/components/user-link",(function(){return(0,r.A)(n(10870))})),i("crates-io/components/version-list/row",(function(){return(0,r.A)(n(11545))})),i("crates-io/components/version-list/row.module.css",(function(){return(0,r.A)(n(82228))})),i("crates-io/components/yank-button",(function(){return(0,r.A)(n(17710))})),i("crates-io/components/yank-button.module.css",(function(){return(0,r.A)(n(8604))})),i("crates-io/components/ecn-icon-close",(function(){return(0,r.A)(n(90283))})),i("crates-io/components/ecn-icon-error",(function(){return(0,r.A)(n(60493))})),i("crates-io/components/ecn-icon-info",(function(){return(0,r.A)(n(43796))})),i("crates-io/components/ecn-icon-success",(function(){return(0,r.A)(n(92303))})),i("crates-io/components/ecn-icon-warning",(function(){return(0,r.A)(n(68626))})),i("crates-io/components/notification-container",(function(){return(0,r.A)(n(7888))})),i("crates-io/components/notification-message",(function(){return(0,r.A)(n(24396))})),i("crates-io/components/head-content",(function(){return(0,r.A)(n(63555))})),i("crates-io/components/head-layout",(function(){return(0,r.A)(n(20483))})),i("crates-io/components/ember-popover",(function(){return(0,r.A)(n(7777))})),i("crates-io/helpers/date-format-distance-to-now",(function(){return(0,r.A)(n(63148))})),i("crates-io/helpers/date-format-iso",(function(){return(0,r.A)(n(89941))})),i("crates-io/helpers/date-format",(function(){return(0,r.A)(n(192))})),i("crates-io/helpers/focus",(function(){return(0,r.A)(n(66492))})),i("crates-io/helpers/format-email",(function(){return(0,r.A)(n(87008))})),i("crates-io/helpers/format-num",(function(){return(0,r.A)(n(32388))})),i("crates-io/helpers/format-req",(function(){return(0,r.A)(n(42020))})),i("crates-io/helpers/html-safe",(function(){return(0,r.A)(n(60745))})),i("crates-io/helpers/is-clipboard-supported",(function(){return(0,r.A)(n(46394))})),i("crates-io/helpers/parse-license",(function(){return(0,r.A)(n(89225))})),i("crates-io/helpers/placeholders",(function(){return(0,r.A)(n(91860))})),i("crates-io/helpers/pretty-bytes",(function(){return(0,r.A)(n(96574))})),i("crates-io/helpers/set-color-scheme",(function(){return(0,r.A)(n(6712))})),i("crates-io/helpers/set-theme",(function(){return(0,r.A)(n(7380))})),i("crates-io/helpers/sum",(function(){return(0,r.A)(n(84907))})),i("crates-io/helpers/truncate-text",(function(){return(0,r.A)(n(85538))})),i("crates-io/helpers/pluralize",(function(){return(0,r.A)(n(30608))})),i("crates-io/helpers/singularize",(function(){return(0,r.A)(n(52594))})),i("crates-io/helpers/cancel-all",(function(){return(0,r.A)(n(83733))})),i("crates-io/helpers/perform",(function(){return(0,r.A)(n(9538))})),i("crates-io/helpers/task",(function(){return(0,r.A)(n(32160))})),i("crates-io/helpers/if-key",(function(){return(0,r.A)(n(19991))})),i("crates-io/helpers/on-key",(function(){return(0,r.A)(n(4283))})),i("crates-io/helpers/link",(function(){return(0,r.A)(n(18748))})),i("crates-io/helpers/page-title",(function(){return(0,r.A)(n(48063))})),i("crates-io/helpers/and",(function(){return(0,r.A)(n(60861))})),i("crates-io/helpers/eq",(function(){return(0,r.A)(n(22620))})),i("crates-io/helpers/gt",(function(){return(0,r.A)(n(91374))})),i("crates-io/helpers/gte",(function(){return(0,r.A)(n(61272))})),i("crates-io/helpers/is-array",(function(){return(0,r.A)(n(96070))})),i("crates-io/helpers/is-empty",(function(){return(0,r.A)(n(52031))})),i("crates-io/helpers/is-equal",(function(){return(0,r.A)(n(41025))})),i("crates-io/helpers/lt",(function(){return(0,r.A)(n(8422))})),i("crates-io/helpers/lte",(function(){return(0,r.A)(n(99298))})),i("crates-io/helpers/not-eq",(function(){return(0,r.A)(n(42364))})),i("crates-io/helpers/not",(function(){return(0,r.A)(n(61353))})),i("crates-io/helpers/or",(function(){return(0,r.A)(n(18303))})),i("crates-io/helpers/xor",(function(){return(0,r.A)(n(48505))})),i("crates-io/helpers/local-class",(function(){return(0,r.A)(n(60287))})),i("crates-io/helpers/prevent-default",(function(){return(0,r.A)(n(90795))})),i("crates-io/helpers/stop-propagation",(function(){return(0,r.A)(n(33744))})),i("crates-io/helpers/route-idle",(function(){return(0,r.A)(n(65781))})),i("crates-io/helpers/svg-jar",(function(){return(0,r.A)(n(70743))})),i("crates-io/templates/application",(function(){return(0,r.A)(n(98892))})),i("crates-io/controllers/application",(function(){return(0,r.A)(n(57026))})),i("crates-io/routes/application",(function(){return(0,r.A)(n(61935))})),i("crates-io/templates/catch-all",(function(){return(0,r.A)(n(51617))})),i("crates-io/controllers/catch-all",(function(){return(0,r.A)(n(24397))})),i("crates-io/routes/catch-all",(function(){return(0,r.A)(n(13946))})),i("crates-io/templates/categories",(function(){return(0,r.A)(n(71524))})),i("crates-io/controllers/categories",(function(){return(0,r.A)(n(12106))})),i("crates-io/routes/categories",(function(){return(0,r.A)(n(22877))})),i("crates-io/routes/category",(function(){return(0,r.A)(n(92213))})),i("crates-io/templates/category/index",(function(){return(0,r.A)(n(1601))})),i("crates-io/controllers/category/index",(function(){return(0,r.A)(n(373))})),i("crates-io/routes/category/index",(function(){return(0,r.A)(n(4798))})),i("crates-io/templates/category/error",(function(){return(0,r.A)(n(97671))})),i("crates-io/routes/crate",(function(){return(0,r.A)(n(37586))})),i("crates-io/templates/crate/reverse-dependencies",(function(){return(0,r.A)(n(75964))})),i("crates-io/controllers/crate/reverse-dependencies",(function(){return(0,r.A)(n(72922))})),i("crates-io/routes/crate/reverse-dependencies",(function(){return(0,r.A)(n(91041))})),i("crates-io/templates/crate/settings",(function(){return(0,r.A)(n(33219))})),i("crates-io/controllers/crate/settings",(function(){return(0,r.A)(n(54347))})),i("crates-io/routes/crate/settings",(function(){return(0,r.A)(n(95436))})),i("crates-io/templates/crate/version",(function(){return(0,r.A)(n(44150))})),i("crates-io/controllers/crate/version",(function(){return(0,r.A)(n(66568))})),i("crates-io/routes/crate/version",(function(){return(0,r.A)(n(82705))})),i("crates-io/templates/crate/versions",(function(){return(0,r.A)(n(63887))})),i("crates-io/controllers/crate/versions",(function(){return(0,r.A)(n(97655))})),i("crates-io/routes/crate/dependencies",(function(){return(0,r.A)(n(88796))})),i("crates-io/templates/crate/docs",(function(){return(0,r.A)(n(40485))})),i("crates-io/routes/crate/docs",(function(){return(0,r.A)(n(53918))})),i("crates-io/routes/crate/index",(function(){return(0,r.A)(n(33137))})),i("crates-io/routes/crate/owners",(function(){return(0,r.A)(n(70381))})),i("crates-io/routes/crate/range",(function(){return(0,r.A)(n(75244))})),i("crates-io/routes/crate/repo",(function(){return(0,r.A)(n(86577))})),i("crates-io/templates/crate/version-dependencies",(function(){return(0,r.A)(n(36746))})),i("crates-io/routes/crate/version-dependencies",(function(){return(0,r.A)(n(1187))})),i("crates-io/templates/crate/articles",(function(){return(0,r.A)(n(45289))})),i("crates-io/templates/crate/error",(function(){return(0,r.A)(n(49672))})),i("crates-io/templates/crates",(function(){return(0,r.A)(n(26792))})),i("crates-io/controllers/crates",(function(){return(0,r.A)(n(55102))})),i("crates-io/routes/crates",(function(){return(0,r.A)(n(58833))})),i("crates-io/templates/dashboard",(function(){return(0,r.A)(n(5682))})),i("crates-io/controllers/dashboard",(function(){return(0,r.A)(n(88108))})),i("crates-io/routes/dashboard",(function(){return(0,r.A)(n(65645))})),i("crates-io/templates/index",(function(){return(0,r.A)(n(43490))})),i("crates-io/controllers/index",(function(){return(0,r.A)(n(97564))})),i("crates-io/routes/index",(function(){return(0,r.A)(n(96409))})),i("crates-io/templates/install",(function(){return(0,r.A)(n(52171))})),i("crates-io/controllers/install",(function(){return(0,r.A)(n(64843))})),i("crates-io/routes/install",(function(){return(0,r.A)(n(12394))})),i("crates-io/templates/keyword",(function(){return(0,r.A)(n(34591))})),i("crates-io/controllers/keyword",(function(){return(0,r.A)(n(59815))})),i("crates-io/routes/keyword",(function(){return(0,r.A)(n(99058))})),i("crates-io/templates/keywords",(function(){return(0,r.A)(n(35508))})),i("crates-io/controllers/keywords",(function(){return(0,r.A)(n(48466))})),i("crates-io/routes/keywords",(function(){return(0,r.A)(n(28721))})),i("crates-io/templates/me/crates",(function(){return(0,r.A)(n(60307))})),i("crates-io/controllers/me/crates",(function(){return(0,r.A)(n(2571))})),i("crates-io/routes/me/crates",(function(){return(0,r.A)(n(53290))})),i("crates-io/templates/me/following",(function(){return(0,r.A)(n(83530))})),i("crates-io/controllers/me/following",(function(){return(0,r.A)(n(10428))})),i("crates-io/routes/me/following",(function(){return(0,r.A)(n(96375))})),i("crates-io/routes/me/index",(function(){return(0,r.A)(n(7144))})),i("crates-io/templates/me/pending-invites",(function(){return(0,r.A)(n(35043))})),i("crates-io/routes/me/pending-invites",(function(){return(0,r.A)(n(91556))})),i("crates-io/templates/search",(function(){return(0,r.A)(n(54624))})),i("crates-io/controllers/search",(function(){return(0,r.A)(n(90494))})),i("crates-io/routes/search",(function(){return(0,r.A)(n(78173))})),i("crates-io/templates/settings/email-notifications",(function(){return(0,r.A)(n(73885))})),i("crates-io/controllers/settings/email-notifications",(function(){return(0,r.A)(n(27473))})),i("crates-io/routes/settings/email-notifications",(function(){return(0,r.A)(n(33914))})),i("crates-io/templates/settings/tokens",(function(){return(0,r.A)(n(23666))})),i("crates-io/routes/settings/tokens",(function(){return(0,r.A)(n(60189))})),i("crates-io/templates/settings/tokens/new",(function(){return(0,r.A)(n(57305))})),i("crates-io/controllers/settings/tokens/new",(function(){return(0,r.A)(n(38737))})),i("crates-io/routes/settings/tokens/new",(function(){return(0,r.A)(n(13980))})),i("crates-io/templates/settings/tokens/index",(function(){return(0,r.A)(n(92843))})),i("crates-io/routes/settings/tokens/index",(function(){return(0,r.A)(n(93606))})),i("crates-io/routes/settings/index",(function(){return(0,r.A)(n(74699))})),i("crates-io/templates/settings/profile",(function(){return(0,r.A)(n(81361))})),i("crates-io/routes/settings/profile",(function(){return(0,r.A)(n(43206))})),i("crates-io/templates/team",(function(){return(0,r.A)(n(58471))})),i("crates-io/controllers/team",(function(){return(0,r.A)(n(18703))})),i("crates-io/routes/team",(function(){return(0,r.A)(n(18776))})),i("crates-io/templates/user",(function(){return(0,r.A)(n(80981))})),i("crates-io/controllers/user",(function(){return(0,r.A)(n(45425))})),i("crates-io/routes/user",(function(){return(0,r.A)(n(90622))})),i("crates-io/routes/-authenticated-route",(function(){return(0,r.A)(n(96475))})),i("crates-io/templates/accept-invite",(function(){return(0,r.A)(n(7108))})),i("crates-io/routes/accept-invite",(function(){return(0,r.A)(n(45055))})),i("crates-io/templates/category-slugs",(function(){return(0,r.A)(n(59775))})),i("crates-io/routes/category-slugs",(function(){return(0,r.A)(n(85564))})),i("crates-io/routes/confirm",(function(){return(0,r.A)(n(19069))})),i("crates-io/routes/security",(function(){return(0,r.A)(n(54771))})),i("crates-io/templates/authenticated",(function(){return(0,r.A)(n(76803))})),i("crates-io/templates/data-access",(function(){return(0,r.A)(n(39477))})),i("crates-io/templates/error",(function(){return(0,r.A)(n(15672))})),i("crates-io/templates/head",(function(){return(0,r.A)(n(46154))})),i("crates-io/templates/login",(function(){return(0,r.A)(n(52877))})),i("crates-io/templates/logout",(function(){return(0,r.A)(n(48386))})),i("crates-io/templates/policies/index",(function(){return(0,r.A)(n(94927))})),i("crates-io/templates/policies/security",(function(){return(0,r.A)(n(96321))})),runningTests||(0,r.A)(n(50704)).default.create({})},57515:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(65010),i=n(8230),s=n(96639),o=n(94313),a=n(48338),l=n(59114),c=n(54521),u=n(43058);const d=(0,n(59165).createTemplateFactory)({id:"T16fLMzk",block:'[[[11,3],[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/components/article-list/row.module.css"]]]]]],[16,6,[30,1]],[24,"target","_blank"],[17,2],[12],[1,"\\n "],[11,0],[16,0,[29,[[28,[37,1],["row"],[["from"],["crates-io/components/article-list/row.module.css"]]]]]],[17,2],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["version"],[["from"],["crates-io/components/article-list/row.module.css"]]]]]],[12],[1,"\\n "],[1,[30,3]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[13]],["@link","&attrs","@title"],false,["a","local-class","div"]]',moduleName:"crates-io/components/article-list/row.hbs",isStrictMode:!1});var h,p,f,m=n(25313);let g=(h=class extends l.A{constructor(...e){super(...e),(0,r.A)(this,"session",p,this),(0,r.A)(this,"focused",f,this)}get releaseTrackTitle(){let{version:e}=this.args;if(e.yanked)return(0,a.htmlSafe)(`This version was yanked`);if(e.invalidSemver)return`Failed to parse version ${e.num}`;if(e.isFirst)return"This is the first version that was released";let{releaseTrack:t}=e,n=[];e.isPrerelease&&n.push("prerelease"),e.isHighestOfReleaseTrack&&n.push("latest");let r=`Release Track: ${t}`;return 0!==n.length&&(r+=` (${n.map((e=>{let t=u.default[`rt-${e}`];return t?`${e}`:e})).join(", ")})`),(0,a.htmlSafe)(r)}get isOwner(){return this.args.version.crate?.owner_user?.findBy("id",this.session.currentUser?.id)}setFocused(e){this.focused=e}},p=(0,i.A)(h.prototype,"session",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,i.A)(h.prototype,"focused",[c.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.A)(h.prototype,"setFocused",[s.action],Object.getOwnPropertyDescriptor(h.prototype,"setFocused"),h.prototype),h);(0,m.setComponentTemplate)(d,g)},43058:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={row:"_row_1hx43t",focused:"_focused_1hx43t",latest:"_latest_1hx43t",prerelease:"_prerelease_1hx43t",yanked:"_yanked_1hx43t",version:"_version_1hx43t","release-track":"_release-track_1hx43t","rt-latest":"_rt-latest_1hx43t","rt-prerelease":"_rt-prerelease_1hx43t","rt-yanked":"_rt-yanked_1hx43t","num-link":"_num-link_1hx43t",metadata:"_metadata_1hx43t",avatar:"_avatar_1hx43t","metadata-row":"_metadata-row_1hx43t",date:"_date_1hx43t",new:"_new_1hx43t",msrv:"_msrv_1hx43t",bytes:"_bytes_1hx43t","feature-list":"_feature-list_1hx43t","yank-button":"_yank-button_1hx43t"}},42492:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(65010),i=n(75402),s=n(8230),o=n(94313),a=n(59114),l=n(23189);const c=(0,n(59165).createTemplateFactory)({id:"8Il66U13",block:'[[[8,[39,0],[[16,0,[29,[[28,[37,1],["dropdown"],[["from"],["crates-io/components/color-scheme-menu.module.css"]]]]]],[17,1]],null,[["default"],[[[[1,"\\n "],[8,[30,2,["Trigger"]],[[16,0,[29,[[28,[37,1],["trigger"],[["from"],["crates-io/components/color-scheme-menu.module.css"]]]]]]],[["@hideArrow"],[true]],[["default"],[[[[1,"\\n "],[1,[28,[35,2],[[30,0,["icon"]]],[["class"],[[28,[37,3],[[28,[37,1],["icon"],[["from"],["crates-io/components/color-scheme-menu.module.css"]]]],null]]]]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["trigger-label"],[["from"],["crates-io/components/color-scheme-menu.module.css"]]]]]],[12],[1,"Change color scheme"],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,2,["Menu"]],[[16,0,[29,[[28,[37,1],["menu"],[["from"],["crates-io/components/color-scheme-menu.module.css"]]]]]]],null,[["default"],[[[[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,0,["colorSchemes"]]],null]],null],null,[[[1," "],[8,[30,3,["Item"]],null,null,[["default"],[[[[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,1],[[28,[37,3],["menu-button ",[52,[28,[37,9],[[30,4,["mode"]],[30,0,["colorScheme","scheme"]]],null],"selected"]],null]],[["from"],["crates-io/components/color-scheme-menu.module.css"]]]]]],[24,4,"button"],[4,[32,0],["click",[28,[37,10],[[30,0,["colorScheme","set"]],[30,4,["mode"]]],null]],null],[12],[1,"\\n "],[1,[28,[35,2],[[30,4,["svg"]]],[["class"],[[28,[37,3],[[28,[37,1],["icon"],[["from"],["crates-io/components/color-scheme-menu.module.css"]]]],null]]]]],[1," "],[1,[30,4,["mode"]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[4]],null],[1," "]],[3]]]]],[1,"\\n"]],[2]]]]]],["&attrs","dd","menu","colorScheme"],false,["dropdown","local-class","svg-jar","concat","span","each","-track-array","button","if","eq","fn"]]',moduleName:"crates-io/components/color-scheme-menu.hbs",scope:()=>[l.on],isStrictMode:!1});var u,d,h=n(25313);let p=(u=class extends a.A{constructor(...e){super(...e),(0,r.A)(this,"colorScheme",d,this),(0,i.A)(this,"colorSchemes",[{mode:"light",svg:"sun"},{mode:"dark",svg:"moon"},{mode:"system",svg:"color-mode"}])}get icon(){return this.colorSchemes.find((({mode:e})=>e===this.colorScheme.scheme))?.svg}},d=(0,s.A)(u.prototype,"colorScheme",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u);(0,h.setComponentTemplate)(c,p)},66385:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={dropdown:"_dropdown_vf10gd",icon:"_icon_vf10gd",trigger:"_trigger_vf10gd","trigger-label":"_trigger-label_vf10gd _sr-only_1igkyf",menu:"_menu_vf10gd","menu-button":"_menu-button_vf10gd _button-reset_g91299",selected:"_selected_vf10gd"}},86031:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(65010),i=n(75402),s=n(8230),o=n(94895),a=n(94313),l=n(59114),c=(n(30113),n(23189));const u=(0,n(59165).createTemplateFactory)({id:"Mm1j2o50",block:'[[[11,"button"],[24,4,"button"],[17,1],[4,[32,0],["click",[28,[37,1],[[30,0,["copyTask"]]],null]],null],[12],[1,"\\n "],[18,2,null],[1,"\\n"],[13]],["&attrs","&default"],false,["button","perform","yield"]]',moduleName:"crates-io/components/copy-button.hbs",scope:()=>[c.on],isStrictMode:!1});var d,h,p=n(25313);let f=(d=class extends l.A{constructor(...e){super(...e),(0,r.A)(this,"notifications",h,this),(0,i.A)(this,"copyTask",(0,o.I)((()=>({context:this,generator:function*(){let{copyText:e}=this.args;try{yield navigator.clipboard.writeText(e),this.notifications.success("Copied to clipboard!")}catch{this.notifications.error("Copy to clipboard failed!")}}})),null,"copyTask","restartable"))}},h=(0,s.A)(d.prototype,"notifications",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d);(0,p.setComponentTemplate)(u,f)},33324:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"t0PY4Z5f",block:'[[[10,"ul"],[15,0,[29,[[28,[37,1],["list"],[["from"],["crates-io/components/crate-downloads-list.module.css"]]]]]],[12],[1,"\\n"],[42,[28,[37,3],[[28,[37,3],[[30,1]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,5],[[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/components/crate-downloads-list.module.css"]]]]]]],[["@route","@model"],["crate",[30,2,["id"]]]],[["default"],[[[[1,"\\n "],[1,[30,2,["name"]]],[1," ("],[1,[30,2,["max_version"]]],[1,")\\n "],[1,[28,[35,6],["download-arrow"],[["class"],[[28,[37,7],[[28,[37,1],["download-icon"],[["from"],["crates-io/components/crate-downloads-list.module.css"]]]],null]]]]],[1,"\\n "],[1,[28,[35,8],[[30,2,["downloads"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[13],[1,"\\n"]],["@crates","crate"],false,["ul","local-class","each","-track-array","li","link-to","svg-jar","concat","format-num"]]',moduleName:"crates-io/components/crate-downloads-list.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},11442:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_1msd3z",link:"_link_1msd3z","download-icon":"_download-icon_1msd3z"}},93189:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(65010),i=n(8230),s=n(94313),o=n(59114);const a=(0,n(59165).createTemplateFactory)({id:"qFc5vkxQ",block:'[[[8,[39,0],[[16,0,[29,[[28,[37,1],["header"],[["from"],["crates-io/components/crate-header.module.css"]]]]]]],null,[["default"],[[[[1,"\\n "],[10,"h1"],[15,0,[29,[[28,[37,1],["heading"],[["from"],["crates-io/components/crate-header.module.css"]]]]]],[12],[1,"\\n "],[10,1],[12],[1,[30,1,["name"]]],[13],[1,"\\n"],[41,[30,2],[[[1," "],[10,"small"],[12],[1,"v"],[1,[30,2,["num"]]],[13],[1,"\\n\\n"],[41,[30,2,["yanked"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["yanked-badge"],[["from"],["crates-io/components/crate-header.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,6],["trash"],null]],[1,"\\n Yanked\\n\\n "],[8,[39,7],null,null,[["default"],[[[[1,"\\n This crate has been yanked, but it is still available for download for other crates that\\n may be depending on it.\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,1,["description"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["description"],[["from"],["crates-io/components/crate-header.module.css"]]]]]],[12],[1,"\\n "],[1,[30,1,["description"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["keywords"]],[[[1," "],[10,"ul"],[15,0,[29,[[28,[37,1],["keywords"],[["from"],["crates-io/components/crate-header.module.css"]]]]]],[12],[1,"\\n"],[42,[28,[37,11],[[28,[37,11],[[30,1,["keywords"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,13],null,[["@route","@model"],["keyword",[30,3,["id"]]]],[["default"],[[[[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["hash"],[["from"],["crates-io/components/crate-header.module.css"]]]]]],[12],[1,"#"],[13],[1,[30,3,["id"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["session","currentUser"]],[[[1," "],[8,[39,14],[[16,0,[29,[[28,[37,1],["follow-button"],[["from"],["crates-io/components/crate-header.module.css"]]]]]]],[["@crate"],[[30,1]]],null],[1,"\\n"]],[]],null]],[]]]]],[1,"\\n\\n"],[8,[39,15],[[16,0,[29,[[28,[37,1],["nav"],[["from"],["crates-io/components/crate-header.module.css"]]]]]],[16,"aria-label",[29,[[30,1,["name"]]," crate subpages"]]]],null,[["default"],[[[[1,"\\n "],[8,[30,4,["Tab"]],null,[["@link"],[[52,[30,5],[28,[37,16],["crate.version",[30,1],[30,5]],null],[28,[37,16],["crate.index",[30,1]],null]]]],[["default"],[[[[1,"\\n Readme\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,4,["Tab"]],null,[["@link"],[[28,[37,16],["crate.articles",[30,1]],null]]],[["default"],[[[[1,"\\n "],[1,[28,[35,17],[[30,1,["articles","length"]],"Related Article"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[4]]]]]],["@crate","@version","keyword","nav","@versionNum"],false,["page-header","local-class","h1","span","if","small","svg-jar","ember-tooltip","div","ul","each","-track-array","li","link-to","follow-button","nav-tabs","link","pluralize"]]',moduleName:"crates-io/components/crate-header.hbs",isStrictMode:!1});var l,c,u=n(25313);let d=(l=class extends o.A{constructor(...e){super(...e),(0,r.A)(this,"session",c,this)}get isOwner(){return this.args.crate.owner_user.findBy("id",this.session.currentUser?.id)}},c=(0,i.A)(l.prototype,"session",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l);(0,u.setComponentTemplate)(a,d)},27909:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={heading:"_heading_y99ls5","yanked-badge":"_yanked-badge_y99ls5",description:"_description_y99ls5",keywords:"_keywords_y99ls5",hash:"_hash_y99ls5","follow-button":"_follow-button_y99ls5",nav:"_nav_y99ls5",header:"_header_y99ls5"}},72914:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"b/v1AbIZ",block:'[[[11,0],[17,1],[12],[1,"\\n"],[1," "],[10,"ol"],[15,0,[29,[[28,[37,2],["list"],[["from"],["crates-io/components/crate-list.module.css"]]]]]],[12],[1,"\\n"],[42,[28,[37,4],[[28,[37,4],[[30,2]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,6],null,[["@crate"],[[30,3]]],null],[1,"\\n "],[13],[1,"\\n"]],[3,4]],null],[1," "],[13],[1,"\\n"],[13]],["&attrs","@crates","crate","index"],false,["div","ol","local-class","each","-track-array","li","crate-row"]]',moduleName:"crates-io/components/crate-list.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},52970:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_5hqme0"}},55416:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(23189);const o=(0,n(59165).createTemplateFactory)({id:"hLbjUe+P",block:'[[[11,0],[16,0,[29,[[28,[37,1],["crate-row"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[17,1],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["description-box"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[12],[1,"\\n "],[10,0],[12],[1,"\\n"],[44,[[28,[37,3],["crate",[30,2,["id"]]],null]],[[[1," "],[11,3],[16,0,[29,[[28,[37,1],["name"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[16,6,[30,3,["url"]]],[4,[32,0],["click",[30,3,["transitionTo"]]],null],[12],[1,"\\n "],[1,[30,2,["name"]]],[1,"\\n "],[13],[1,"\\n"]],[3]]],[41,[30,2,["defaultVersion"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["version"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[12],[1,"v"],[1,[30,2,["defaultVersion"]]],[13],[1,"\\n "],[8,[39,7],[[16,0,[29,[[28,[37,1],["copy-button"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[24,"title","Copy Cargo.toml snippet to clipboard"]],[["@copyText"],[[29,[[30,2,["name"]]," = \\"",[30,2,["defaultVersion"]],"\\""]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,8],["copy"],[["alt"],["Copy Cargo.toml snippet to clipboard"]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["description"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,9],[[30,2,["description"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["stats"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["downloads"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,8],["download"],[["class"],[[28,[37,10],[[28,[37,1],["download-icon"],[["from"],["crates-io/components/crate-row.module.css"]]]],null]]]]],[1,"\\n "],[10,1],[12],[1,"\\n "],[10,1],[12],[1,"\\n All-Time:\\n "],[8,[39,11],null,[["@text"],["Total number of downloads"]],null],[1,"\\n "],[13],[1,"\\n "],[1,[28,[35,12],[[30,2,["downloads"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["recent-downloads"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,8],["download"],[["class"],[[28,[37,10],[[28,[37,1],["download-icon"],[["from"],["crates-io/components/crate-row.module.css"]]]],null]]]]],[1,"\\n "],[10,1],[12],[1,"\\n "],[10,1],[12],[1,"\\n Recent:\\n "],[8,[39,11],null,[["@text"],["Downloads in the last 90 days"]],null],[1,"\\n "],[13],[1,"\\n "],[1,[28,[35,12],[[30,2,["recent_downloads"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["updated-at"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,8],["latest-updates"],[["height","width"],["32","32"]]]],[1,"\\n "],[10,1],[12],[1,"\\n "],[10,1],[12],[1,"\\n Updated:\\n "],[8,[39,11],null,[["@text"],["The last time the crate was updated"]],null],[1,"\\n "],[13],[1,"\\n "],[10,"time"],[15,"datetime",[29,[[28,[37,14],[[30,2,["updated_at"]]],null]]]],[12],[1,"\\n "],[1,[28,[35,15],[[30,2,["updated_at"]]],[["addSuffix"],[true]]]],[1,"\\n "],[8,[39,11],null,[["@text"],[[30,2,["updated_at"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,1],["quick-links"],[["from"],["crates-io/components/crate-row.module.css"]]]]]],[12],[1,"\\n"],[41,[30,2,["homepage"]],[[[1," "],[10,"li"],[12],[10,3],[15,6,[29,[[30,2,["homepage"]]]]],[12],[1,"Homepage"],[13],[13],[1,"\\n"]],[]],null],[41,[30,2,["documentation"]],[[[1," "],[10,"li"],[12],[10,3],[15,6,[29,[[30,2,["documentation"]]]]],[12],[1,"Documentation"],[13],[13],[1,"\\n"]],[]],null],[41,[30,2,["repository"]],[[[1," "],[10,"li"],[12],[10,3],[15,6,[29,[[30,2,["repository"]]]]],[12],[1,"Repository"],[13],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[13]],["&attrs","@crate","l"],false,["div","local-class","let","link","a","if","span","copy-button","svg-jar","truncate-text","concat","ember-tooltip","format-num","time","date-format-iso","date-format-distance-to-now","ul","li"]]',moduleName:"crates-io/components/crate-row.hbs",scope:()=>[s.on],isStrictMode:!1}),a=(0,n(25313).setComponentTemplate)(o,i()())},74994:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"crate-row":"_crate-row_1unvv5","description-box":"_description-box_1unvv5",name:"_name_1unvv5",version:"_version_1unvv5","copy-button":"_copy-button_1unvv5 _button-reset_g91299",description:"_description_1unvv5 _small_1oyocj",stats:"_stats_1unvv5","download-icon":"_download-icon_1unvv5",downloads:"_downloads_1unvv5","recent-downloads":"_recent-downloads_1unvv5","updated-at":"_updated-at_1unvv5","quick-links":"_quick-links_1unvv5"}},59490:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(65010),i=n(8230),s=n(94313),o=n(59114),a=n(30113),l=n(68953);const c=(0,n(59165).createTemplateFactory)({id:"JpzyObc6",block:'[[[11,"section"],[16,0,[29,[[28,[37,1],["sidebar"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[24,"aria-label","Crate metadata"],[17,1],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["metadata"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"\\n "],[10,"h2"],[15,0,[29,[[28,[37,1],["heading"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"Metadata"],[13],[1,"\\n\\n "],[10,"time"],[15,0,[29,[[28,[37,1],["date"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[15,"datetime",[28,[37,5],[[30,2,["created_at"]]],null]],[12],[1,"\\n "],[1,[28,[35,6],["calendar"],null]],[1,"\\n "],[10,1],[12],[1,"\\n "],[1,[28,[35,8],[[30,2,["created_at"]]],[["addSuffix"],[true]]]],[1,"\\n "],[8,[39,9],null,[["@text"],[[28,[37,10],[[30,2,["created_at"]],"PPP"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,2,["msrv"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["msrv"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,6],["rust"],null]],[1,"\\n "],[10,1],[12],[1,"\\n v"],[1,[30,2,["msrv"]]],[1,"\\n "],[8,[39,9],null,[["@text"],["Minimum Supported Rust Version"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["license"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["license"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,6],["license"],null]],[1,"\\n "],[10,1],[12],[1,"\\n "],[8,[39,12],null,[["@license"],[[30,2,["license"]]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["crate_size"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["bytes"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,6],["weight"],null]],[1,"\\n "],[1,[28,[35,13],[[30,2,["crate_size"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[51,[30,2,["yanked"]]],[[[1," "],[10,0],[12],[1,"\\n "],[10,"h2"],[15,0,[29,[[28,[37,1],["heading"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"Install"],[13],[1,"\\n\\n "],[8,[39,15],null,[["@crate","@version","@exactVersion","@hasLib","@binNames"],[[30,3,["name"]],[30,2,["num"]],[30,4],[28,[37,16],[[28,[37,17],[[30,2,["has_lib"]],false],null]],null],[30,2,["bin_names"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[37,18],[[30,0,["showHomepage"]],[30,2,["documentationLink"]],[30,3,["repository"]]],null],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["links"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"\\n"],[41,[30,0,["showHomepage"]],[[[1," "],[8,[39,19],null,[["@title","@url"],["Homepage",[30,3,["homepage"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,2,["documentationLink"]],[[[1," "],[8,[39,19],null,[["@title","@url"],["Documentation",[30,2,["documentationLink"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,3,["repository"]],[[[1," "],[8,[39,19],null,[["@title","@url"],["Repository",[30,3,["repository"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[12],[1,"\\n "],[10,"h2"],[15,0,[29,[[28,[37,1],["heading"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"Owners"],[13],[1,"\\n "],[8,[39,20],null,[["@owners"],[[30,3,["owners"]]]],null],[1,"\\n "],[13],[1,"\\n\\n"],[41,[51,[30,3,["categories","isPending"]]],[[[41,[30,3,["categories"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,"h2"],[15,0,[29,[[28,[37,1],["heading"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"Categories"],[13],[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,1],["categories"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"\\n"],[42,[28,[37,23],[[28,[37,23],[[30,3,["categories"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,25],null,[["@route","@model"],["category",[30,5,["slug"]]]],[["default"],[[[[1,[30,5,["category"]]]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[5]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1,"\\n"],[41,[30,0,["playgroundLink"]],[[[1," "],[10,0],[12],[1,"\\n "],[10,3],[15,0,[29,[[28,[37,1],["playground-button"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[15,6,[30,0,["playgroundLink"]]],[14,"target","_blank"],[14,"rel","noopener noreferrer"],[12],[1,"\\n Try on Rust Playground\\n\\n"],[41,[30,0,["canHover"]],[[[1," "],[8,[39,9],null,[["@text"],["The top 100 crates are available on the Rust Playground for you to try out directly in your browser."]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[41,[51,[30,0,["canHover"]]],[[[1," "],[10,2],[15,0,[29,[[28,[37,1],["playground-help"],[["from"],["crates-io/components/crate-sidebar.module.css"]]]]]],[12],[1,"\\n The top 100 crates are available on the Rust Playground for you to\\n try out directly in your browser.\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[13]],["&attrs","@version","@crate","@requestedVersion","category"],false,["section","local-class","div","h2","time","date-format-iso","svg-jar","span","date-format-distance-to-now","ember-tooltip","date-format","if","license-expression","pretty-bytes","unless","crate-sidebar/install-instructions","not","eq","or","crate-sidebar/link","owners-list","ul","each","-track-array","li","link-to","a","p"]]',moduleName:"crates-io/components/crate-sidebar.hbs",isStrictMode:!1});var u,d,h,p=n(25313);let f=(u=class extends o.A{get showHomepage(){let{repository:e,homepage:t}=this.args.crate;return t&&(!e||(0,l.simplifyUrl)(e)!==(0,l.simplifyUrl)(t))}get playgroundLink(){let e=this.playground.crates;if(!e)return;let t=e.find((e=>e.name===this.args.crate.name));return t?`https://play.rust-lang.org/?edition=2021&code=use%20${t.id}%3B%0A%0Afn%20main()%20%7B%0A%20%20%20%20%2F%2F%20try%20using%20the%20%60${t.id}%60%20crate%20here%0A%7D`:void 0}get canHover(){return window?.matchMedia("(hover: hover)").matches}constructor(){super(...arguments),(0,r.A)(this,"playground",d,this),(0,r.A)(this,"sentry",h,this),this.playground.loadCrates().catch((e=>{(0,a.iw)(e)||e.isServerError||e.isNetworkError||this.sentry.captureException(e)}))}},d=(0,i.A)(u.prototype,"playground",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.A)(u.prototype,"sentry",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u);(0,p.setComponentTemplate)(c,f)},22418:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={sidebar:"_sidebar_1nmwg6",heading:"_heading_1nmwg6",metadata:"_metadata_1nmwg6",date:"_date_1nmwg6",msrv:"_msrv_1nmwg6",license:"_license_1nmwg6",bytes:"_bytes_1nmwg6",links:"_links_1nmwg6","more-versions-link":"_more-versions-link_1nmwg6 _small_1oyocj","reverse-deps-link":"_reverse-deps-link_1nmwg6 _small_1oyocj",categories:"_categories_1nmwg6","playground-button":"_playground-button_1nmwg6 _yellow-button_g91299 _button_g91299 _small_g91299","playground-help":"_playground-help_1nmwg6 _small_1oyocj"}},83693:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(59114);const i=(0,n(59165).createTemplateFactory)({id:"tUBM7LxI",block:'[[[41,[30,1],[[[41,[28,[37,1],null,null],[[[1," "],[8,[39,2],[[16,0,[29,[[28,[37,3],["copy-button"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[24,"title","Copy command to clipboard"]],[["@copyText"],[[30,0,["cargoInstallCommand"]]]],[["default"],[[[[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["selectable"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[30,0,["cargoInstallCommand"]]],[13],[1,"\\n "],[1,[28,[35,5],["copy"],[["aria-hidden","class"],["true",[28,[37,6],[[28,[37,3],["copy-icon"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]],null]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[10,"code"],[15,0,[29,[[28,[37,3],["copy-fallback"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,"\\n "],[1,[30,0,["cargoInstallCommand"]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1,"\\n "],[10,2],[15,0,[29,[[28,[37,3],["copy-help"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,"\\n"],[41,[28,[37,9],[[30,1,["length"]],1],null],[[[1," Running the above command will globally install the\\n "],[10,1],[15,0,[29,[[28,[37,3],["bin-name"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[28,[35,10],[[30,1],0],null]],[13],[1,"\\n binary.\\n"]],[]],[[[41,[28,[37,9],[[30,1,["length"]],2],null],[[[1," Running the above command will globally install the\\n "],[10,1],[15,0,[29,[[28,[37,3],["bin-name"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[28,[35,10],[[30,1],0],null]],[13],[1,"\\n and\\n "],[10,1],[15,0,[29,[[28,[37,3],["bin-name"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[28,[35,10],[[30,1],1],null]],[13],[1,"\\n binaries.\\n"]],[]],[[[1," Running the above command will globally install these binaries:\\n"],[42,[28,[37,12],[[28,[37,12],[[30,1]],null]],null],null,[[[41,[28,[37,9],[[30,3],0],null],[[[10,1],[15,0,[29,[[28,[37,3],["bin-name"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[30,2]],[13]],[]],[[[41,[28,[37,9],[[30,3],[28,[37,13],[[30,1,["length"]],-1],null]],null],[[[1," and "],[10,1],[15,0,[29,[[28,[37,3],["bin-name"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[30,2]],[13]],[]],[[[1,", "],[10,1],[15,0,[29,[[28,[37,3],["bin-name"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[30,2]],[13]],[]]]],[]]]],[2,3]],null],[1," "]],[]]]],[]]],[1," "],[13],[1,"\\n\\n"]],[]],null],[1,"\\n"],[41,[28,[37,14],[[30,4],[30,1]],null],[[[1," "],[10,"h3"],[12],[1,"Install as library"],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,4],[[[1," "],[10,2],[15,0,[29,[[28,[37,3],["copy-help"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,"Run the following Cargo command in your project directory:"],[13],[1,"\\n\\n"],[41,[28,[37,1],null,null],[[[1," "],[8,[39,2],[[16,0,[29,[[28,[37,3],["copy-button"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[24,"title","Copy command to clipboard"]],[["@copyText"],[[30,0,["cargoAddCommand"]]]],[["default"],[[[[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["selectable"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[30,0,["cargoAddCommand"]]],[13],[1,"\\n "],[1,[28,[35,5],["copy"],[["aria-hidden","class"],["true",[28,[37,6],[[28,[37,3],["copy-icon"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]],null]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[10,"code"],[15,0,[29,[[28,[37,3],["copy-fallback"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,"\\n "],[1,[30,0,["cargoAddCommand"]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1,"\\n "],[10,2],[15,0,[29,[[28,[37,3],["copy-help"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,"Or add the following line to your Cargo.toml:"],[13],[1,"\\n\\n"],[41,[28,[37,1],null,null],[[[1," "],[8,[39,2],[[16,0,[29,[[28,[37,3],["copy-button"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[24,"title","Copy Cargo.toml snippet to clipboard"]],[["@copyText"],[[30,0,["tomlSnippet"]]]],[["default"],[[[[1,"\\n "],[10,1],[15,0,[29,[[28,[37,3],["selectable"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,[30,0,["tomlSnippet"]]],[13],[1,"\\n "],[1,[28,[35,5],["copy"],[["aria-hidden","class"],["true",[28,[37,6],[[28,[37,3],["copy-icon"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]],null]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[10,"code"],[15,0,[29,[[28,[37,3],["copy-fallback"],[["from"],["crates-io/components/crate-sidebar/install-instructions.module.css"]]]]]],[12],[1,"\\n "],[1,[30,0,["tomlSnippet"]]],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]],null]],["@binNames","binName","index","@hasLib"],false,["if","is-clipboard-supported","copy-button","local-class","span","svg-jar","concat","code","p","eq","get","each","-track-array","sum","and","h3"]]',moduleName:"crates-io/components/crate-sidebar/install-instructions.hbs",isStrictMode:!1});var s=n(25313);class o extends r.A{get cargoInstallCommand(){return this.args.exactVersion?`cargo install ${this.args.crate}@${this.args.version}`:`cargo install ${this.args.crate}`}get cargoAddCommand(){return this.args.exactVersion?`cargo add ${this.args.crate}@=${this.args.version}`:`cargo add ${this.args.crate}`}get tomlSnippet(){let e=this.args.version.split("+")[0],t=this.args.exactVersion?"=":"";return`${this.args.crate} = "${t}${e}"`}}(0,s.setComponentTemplate)(i,o)},11328:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"copy-help":"_copy-help_1asgho","copy-button":"_copy-button_1asgho","copy-fallback":"_copy-fallback_1asgho","copy-icon":"_copy-icon_1asgho",selectable:"_selectable_1asgho","bin-name":"_bin-name_1asgho"}},68953:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o,simplifyUrl:()=>a});var r=n(59114);const i=(0,n(59165).createTemplateFactory)({id:"1w4ZPR5C",block:'[[[11,0],[17,1],[12],[1,"\\n "],[10,"h2"],[15,0,[29,[[28,[37,2],["title"],[["from"],["crates-io/components/crate-sidebar/link.module.css"]]]]]],[12],[1,[30,2]],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["content"],[["from"],["crates-io/components/crate-sidebar/link.module.css"]]]]]],[12],[1,"\\n"],[41,[30,0,["isDocsRs"]],[[[1," "],[1,[28,[35,4],["docs-rs"],[["class"],[[28,[37,5],[[28,[37,2],["icon"],[["from"],["crates-io/components/crate-sidebar/link.module.css"]]]],null]]]]],[1,"\\n"]],[]],[[[41,[30,0,["isGitHub"]],[[[1," "],[1,[28,[35,4],["github"],[["class"],[[28,[37,5],[[28,[37,2],["icon"],[["from"],["crates-io/components/crate-sidebar/link.module.css"]]]],null]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[35,4],["link"],[["class"],[[28,[37,5],[[28,[37,2],["icon"],[["from"],["crates-io/components/crate-sidebar/link.module.css"]]]],null]]]]],[1,"\\n "]],[]]]],[]]],[1,"\\n "],[10,3],[15,0,[29,[[28,[37,2],["link"],[["from"],["crates-io/components/crate-sidebar/link.module.css"]]]]]],[15,6,[30,3]],[12],[1,"\\n "],[1,[30,0,["text"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[13]],["&attrs","@title","@url"],false,["div","h2","local-class","if","svg-jar","concat","a"]]',moduleName:"crates-io/components/crate-sidebar/link.hbs",isStrictMode:!1});var s=n(25313);class o extends r.A{get text(){let{url:e}=this.args;return a(e)}get isDocsRs(){return this.text.startsWith("docs.rs/")}get isGitHub(){return this.text.startsWith("github.com/")}}function a(e){return e.startsWith("https://")&&(e=e.slice(8)),e.startsWith("www.")&&(e=e.slice(4)),e.endsWith("/")&&(e=e.slice(0,-1)),e.startsWith("github.com/")&&e.endsWith(".git")&&(e=e.slice(0,-4)),e}(0,s.setComponentTemplate)(i,o)},6401:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:"_content_iw1br3",title:"_title_iw1br3 _heading_1nmwg6",icon:"_icon_iw1br3",link:"_link_iw1br3"}},45584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(65010),i=n(75402),s=n(8230),o=n(94895),a=n(96639),l=n(94313),c=n(59114),u=n(54521),d=(n(30113),n(23189));const h=(0,n(59165).createTemplateFactory)({id:"mjoxhvrt",block:'[[[11,0],[16,0,[29,[[28,[37,1],[[28,[37,2],["\\n row\\n ",[52,[30,1,["optional"]],"optional"],"\\n ",[52,[30,0,["focused"]],"focused"],"\\n "],null]],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[17,2],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["range-lg"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,5],[[30,1,["req"]]],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,1],["right"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["name-and-metadata"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["range-sm"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,5],[[30,1,["req"]]],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[39,6],[[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[4,[32,0],["focusin",[28,[37,8],[[30,0,["setFocused"]],true],null]],null],[4,[32,0],["focusout",[28,[37,8],[[30,0,["setFocused"]],false],null]],null]],[["@route","@models"],["crate.range",[28,[37,7],[[30,1,["crate_id"]],[30,1,["req"]]],null]]],[["default"],[[[[1,"\\n "],[1,[30,1,["crate_id"]]],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,1,["optional"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["optional-label"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[12],[1,"\\n optional\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["featuresDescription"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["features-label"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[12],[1,"\\n"],[1," "],[10,1],[12],[1,"\\n "],[1,[30,0,["featuresDescription"]]],[1,"\\n\\n "],[8,[39,9],null,null,[["default"],[[[[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,1],["feature-list"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[1,[28,[35,12],[[52,[30,1,["default_features"]],"checkbox","checkbox-empty"]],null]],[1," default features\\n "],[13],[1,"\\n"],[42,[28,[37,14],[[28,[37,14],[[30,1,["features"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[1,[28,[35,12],["checkbox"],null]],[1," "],[1,[30,3]],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[28,[37,15],[[30,0,["description"]],[30,0,["loadCrateTask","isRunning"]]],null],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["description"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]],[12],[1,"\\n"],[41,[30,0,["loadCrateTask","isRunning"]],[[[1," "],[8,[39,16],[[16,0,[29,[[28,[37,1],["description-placeholder"],[["from"],["crates-io/components/dependency-list/row.module.css"]]]]]]],null,null],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["description"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"],[13]],["@dependency","&attrs","feature"],false,["div","local-class","concat","if","span","format-req","link-to","array","fn","ember-tooltip","ul","li","svg-jar","each","-track-array","or","placeholder"]]',moduleName:"crates-io/components/dependency-list/row.hbs",scope:()=>[d.on],isStrictMode:!1});var p,f,m,g=n(25313);let y=(p=class extends c.A{setFocused(e){this.focused=e}constructor(){super(...arguments),(0,r.A)(this,"store",f,this),(0,r.A)(this,"focused",m,this),(0,i.A)(this,"loadCrateTask",(0,o.I)((()=>({context:this,generator:function*(){let{dependency:e}=this.args;return yield this.store.findRecord("crate",e.crate_id)}})),null,"loadCrateTask",null)),this.loadCrateTask.perform().catch((()=>{}))}get description(){return this.loadCrateTask.lastSuccessful?.value?.description}get featuresDescription(){let{default_features:e,features:t}=this.args.dependency,n=t.length;return 0!==n?e?`${n} extra feature${n>1?"s":""}`:`only ${n} feature${n>1?"s":""}`:e?void 0:"no default features"}},f=(0,s.A)(p.prototype,"store",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,s.A)(p.prototype,"focused",[u.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,s.A)(p.prototype,"setFocused",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"setFocused"),p.prototype),p);(0,g.setComponentTemplate)(h,y)},25585:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={row:"_row_vcihpv",focused:"_focused_vcihpv",optional:"_optional_vcihpv","range-lg":"_range-lg_vcihpv","range-sm":"_range-sm_vcihpv",right:"_right_vcihpv",link:"_link_vcihpv",metadata:"_metadata_vcihpv","optional-label":"_optional-label_vcihpv _metadata_vcihpv","features-label":"_features-label_vcihpv _metadata_vcihpv","feature-list":"_feature-list_vcihpv",description:"_description_vcihpv","description-placeholder":"_description-placeholder_vcihpv"}},20994:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>R,toChartData:()=>M});var r=n(65010),i=n(8230),s=n(96639),o=n(94313),a=n(10055),l=n(59114),c=n(26567);var u=n(9050),d=n(41384);var h=n(61204);function p(e,t){return function(e,t){const n=+(0,u.a)(e);return(0,d.w)(e,n+t)}(e,t*h.Cg)}var f=n(18457),m=n(46340),g=n.n(m),y=n(23189);const b=(0,y.setModifierManager)((()=>({capabilities:(0,y.capabilities)("3.22",{disableAutoTracking:!0}),createModifier(){},installModifier(e,t,{positional:[n,...r],named:i}){n(t,r,i)},updateModifier(){},destroyModifier(){}})),class{}),_=(0,n(57268).A)(n(43556)).untrack,v=(0,y.setModifierManager)((()=>({capabilities:(0,y.capabilities)("3.22",{disableAutoTracking:!1}),createModifier:()=>({element:null}),installModifier(e,t,n){e.element=t,n.positional.forEach((()=>{})),n.named&&Object.values(n.named)},updateModifier({element:e},t){let[n,...r]=t.positional;t.positional.forEach((()=>{})),t.named&&Object.values(t.named),_((()=>{n(e,r,t.named)}))},destroyModifier(){}})),class{}),w=(0,y.setModifierManager)((()=>({capabilities:(0,y.capabilities)("3.22",{disableAutoTracking:!0}),createModifier:()=>({element:null}),installModifier(e,t){e.element=t},updateModifier(){},destroyModifier({element:e},t){let[n,...r]=t.positional;n(e,r,t.named)}})),class{}),A=(0,n(59165).createTemplateFactory)({id:"7ZcoBlqh",block:'[[[11,0],[16,0,[29,[[28,[37,1],["wrapper"],[["from"],["crates-io/components/download-graph.module.css"]]]]]],[17,1],[4,[32,0],[[30,0,["loadChartJs"]]],null],[12],[1,"\\n"],[41,[30,0,["chartjs","loadTask","isRunning"]],[[[1," "],[8,[39,3],[[16,0,[29,[[28,[37,1],["spinner"],[["from"],["crates-io/components/download-graph.module.css"]]]]]]],null,null],[1,"\\n"]],[]],[[[41,[30,0,["chartjs","loadTask","lastSuccessful","value"]],[[[1," "],[11,"canvas"],[4,[32,0],[[30,0,["createChart"]]],null],[4,[32,1],[[30,0,["updateChart"]],[30,2]],null],[4,[32,1],[[30,0,["updateColorScheme"]],[30,0,["colorScheme","resolvedScheme"]]],null],[4,[32,1],[[30,0,["updateStacked"]],[30,3]],null],[4,[32,2],[[30,0,["destroyChart"]]],null],[12],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["error"],[["from"],["crates-io/components/download-graph.module.css"]]]]]],[12],[1,"\\n "],[10,2],[12],[1,"Sorry, there was a problem loading the graphing code."],[13],[1,"\\n "],[11,"button"],[24,4,"button"],[4,[32,3],["click",[30,0,["reloadPage"]]],null],[12],[1,"\\n Try again\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]],[]]],[13]],["&attrs","@data","@stacked"],false,["div","local-class","if","loading-spinner","canvas","p","button"]]',moduleName:"crates-io/components/download-graph.hbs",scope:()=>[b,v,w,y.on],isStrictMode:!1});var k,S,E,x=n(25313);const C=["#67001f","#b2182b","#d6604d","#f4a582","#92c5de","#4393c3","#2166ac","#053061"],T=["#d3b5bc","#eabdc0","#f3d0ca","#fce4d9","#deedf5","#c9deed","#2166ac","#053061"],O=864e5;let R=(k=class extends l.A{constructor(...e){super(...e),(0,r.A)(this,"chartjs",S,this),(0,r.A)(this,"colorScheme",E,this)}loadChartJs(){(0,a.YZ)(this.chartjs.loadTask.perform()).catch((()=>{}))}get fontColor(){return this.colorScheme.isDark?"#ADBABD":"#666"}get borderColor(){return this.colorScheme.isDark?"rgba(255, 255, 255, 0.1)":"rgba(0, 0, 0, 0.1)"}createChart(e){let t=this.chartjs.loadTask.lastSuccessful.value,{fontColor:n,borderColor:r}=this;this.chart=new t(e,{type:"line",data:this.data,options:{color:n,maintainAspectRatio:!1,layout:{padding:10},scales:{x:{type:"time",time:{tooltipFormat:"MMM d",unit:"day"},ticks:{maxTicksLimit:13,color:n},grid:{color:r}},y:{beginAtZero:!0,stacked:!0,ticks:{precision:0,color:n},grid:{color:r}}},interaction:{mode:"index",intersect:!1,position:"nearest"}}})}updateColorScheme(){let{chart:e}=this;if(e){let{fontColor:t,borderColor:n}=this;e.options.color=t,e.options.scales.x.ticks.color=t,e.options.scales.x.grid.color=n,e.options.scales.y.ticks.color=t,e.options.scales.y.grid.color=n,e.update()}}updateChart(){let{chart:e}=this;e&&(e.data=this.data,e.update())}updateStacked(){let{chart:e,data:t}=this;e&&(t.dataset=t.datasets.map((t=>(t.fill=!!this.args.stacked&&"origin",e.options.scales.y.stacked=this.args.stacked,t))),e.data=t,e.update())}destroyChart(){this.chart?.destroy()}reloadPage(){f.A.location.reload()}get data(){return M(this.args.data,this.args.versions)}},S=(0,i.A)(k.prototype,"chartjs",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.A)(k.prototype,"colorScheme",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.A)(k.prototype,"loadChartJs",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"loadChartJs"),k.prototype),(0,i.A)(k.prototype,"createChart",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"createChart"),k.prototype),(0,i.A)(k.prototype,"updateColorScheme",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"updateColorScheme"),k.prototype),(0,i.A)(k.prototype,"updateChart",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"updateChart"),k.prototype),(0,i.A)(k.prototype,"updateStacked",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"updateStacked"),k.prototype),(0,i.A)(k.prototype,"destroyChart",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"destroyChart"),k.prototype),(0,i.A)(k.prototype,"reloadPage",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"reloadPage"),k.prototype),k);function M(e){if(!e)return{datasets:[]};let t=e.meta?.extra_downloads??[],n={},r=new Map,i=null,s=new Date;for(let e=0;e<90;e++){let t=N(s,e);n[t.toISOString().slice(0,10)]={date:t,cnt:{}}}e.forEach((e=>{let t=e.version;if(!t)return;let s=t.num;r.set(s,t),t.crate&&(i=t.crate);let o=e.date;if(n[o]){let t=n[o].cnt[s]||0;n[o].cnt[s]=t+e.downloads}})),t.forEach((e=>{let t=e.date;if(n[t]){let r=n[t].cnt.Other||0;n[t].cnt.Other=r+e.downloads}}));let o=[...r.keys()];try{g()(o,{loose:!0})}catch{}0!==t.length&&o.unshift("Other");let a=Object.keys(n).map((e=>[n[e].date,...o.map((t=>n[e].cnt[t]||0))])),l=o.map(((e,t)=>{let n=a.map((e=>({x:e[0],y:e[t+1]}))),s=r.get(e);if(s?.created_at){let e=D(s.created_at)-O;n=n.filter((t=>D(t.x)>=e))}if(i?.created_at){let e=D(i.created_at)-O;n=n.filter((t=>D(t.x)>=e))}return{data:n,label:e}})).reverse().map((({label:e,data:t},n)=>({backgroundColor:T[n],borderColor:C[n],borderWidth:2,cubicInterpolationMode:"monotone",data:t,fill:"origin",label:e,pointHoverBorderWidth:2,pointHoverRadius:5})));return{datasets:l}}function D(e){return Date.parse(e.toISOString().slice(0,10))}function N(e,t){const n=e.getTimezoneOffset(),r=function(e,t){return(0,c.f)(e,-t)}(e,t),i=n-r.getTimezoneOffset();return i>=0?p(r,i):function(e,t){return p(e,-t)}(r,Math.abs(i))}(0,x.setComponentTemplate)(A,R)},81463:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={wrapper:"_wrapper_27k3er",spinner:"_spinner_27k3er",error:"_error_27k3er"}},6947:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>R});var r=n(65010),i=n(8230),s=n(96639),o=n(59114),a=n(54521),l=n(86053),c=n(97820),u=n(39652);function d(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const h="undefined"!=typeof Element?Element.prototype:{},p=h.matches||h.matchesSelector||h.webkitMatchesSelector||h.mozMatchesSelector||h.msMatchesSelector||h.oMatchesSelector;function f(e,t){if(!e||1!==e.nodeType)return!1;if(p)return p.call(e,t);for(var n=e.parentNode.querySelectorAll(t),r=0;r/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;class g extends u.A{constructor(){super(...arguments),d(this,"didSetup",!1),d(this,"action",null),d(this,"capture",null),d(this,"eventHandler",null),d(this,"eventType","click"),d(this,"exceptSelector",null),d(this,"cancelOutsideListenerSetup",null),d(this,"cleanup",(()=>{this._destroy(),m()&&(document.body.style.cursor="")})),(0,c.registerDestructor)(this,this.cleanup)}modify(e,[t],{capture:n,eventType:r,exceptSelector:i}){this.didSetup?this._destroy():(m()&&(document.body.style.cursor="pointer"),this.didSetup=!0),this._init({element:e,action:t,capture:n,eventType:r,exceptSelector:i})}_init({element:e,action:t,capture:n,eventType:r,exceptSelector:i}){t&&(this.action=t,this.exceptSelector=i,this.capture=n,r&&(this.eventType=r),this.eventHandler=this._createHandler(e,this.action,this.exceptSelector),this.cancelOutsideListenerSetup=(0,l.next)(this,this._addClickOutsideListener))}_destroy(){this.action&&((0,l.cancel)(this.cancelOutsideListenerSetup),this._removeClickOutsideListener())}_addClickOutsideListener(){let{capture:e,eventHandler:t,eventType:n}=this;document.addEventListener(n,t,{capture:e})}_removeClickOutsideListener(){let{capture:e,eventHandler:t,eventType:n}=this;document.removeEventListener(n,t,{capture:e})}_createHandler(e,t,n){return r=>{if(n&&function(e,t){if(f(e,t))return e;for(;e.parentNode;)if(f(e=e.parentNode,t))return e}(r.target,n))return;let i=r.path||r.composedPath&&r.composedPath();if(i)i.includes(e)||t(r);else{let n=!r.target||!(e=>"function"==typeof document.contains?document.contains(e):document.body.contains(e))(r.target),i=e===r.target||e.contains(r.target);n||i||t(r)}}}}var y=n(76287),b=n(94313),_=n(36832),v=n(96234);n(47980),n(84217),n(39844),n(56660),n(8659);const w=["input","select","textarea"];let A;var k,S;k=class extends u.A{constructor(e,t){super(e,t),(0,y.b)(this,"keyboard",S,this),(0,y._)(this,"element",void 0),(0,y._)(this,"keyboardPriority",0),(0,y._)(this,"activatedParamValue",!0),(0,y._)(this,"eventName","keydown"),(0,y._)(this,"onlyWhenFocused",!0),(0,y._)(this,"listenerName",void 0),(0,y._)(this,"removeEventListeners",(()=>{this.onlyWhenFocused&&(this.element.removeEventListener("click",this.onFocus,!0),this.element.removeEventListener("focus",this.onFocus,!0),this.element.removeEventListener("focusout",this.onFocusOut,!0))})),this.keyboard.register(this),(0,c.registerDestructor)(this,(()=>{this.removeEventListeners(),this.keyboard.unregister(this)}))}modify(e,t,n){this.element=e,this.removeEventListeners(),this.setupProperties(t,n),this.onlyWhenFocused&&this.addEventListeners()}setupProperties(e,t){let[n,r]=e,{activated:i,event:s,priority:o,onlyWhenFocused:a}=t;this.keyCombo=n,this.callback=r,this.eventName=s||"keydown",this.activatedParamValue="activated"in t?!!i:void 0,this.keyboardPriority=o?parseInt(o,10):0,this.listenerName=(0,_.A)(this.eventName,this.keyCombo),this.onlyWhenFocused=void 0!==a?a:w.includes(this.element.tagName.toLowerCase())}addEventListeners(){this.element.addEventListener("click",this.onFocus,!0),this.element.addEventListener("focus",this.onFocus,!0),this.element.addEventListener("focusout",this.onFocusOut,!0)}onFocus(){this.isFocused=!0}onFocusOut(){this.isFocused=!1}get keyboardActivated(){return!1!==this.activatedParamValue&&(!this.onlyWhenFocused||this.isFocused)}get keyboardFirstResponder(){return!!this.onlyWhenFocused&&this.isFocused}canHandleKeyboardEvent(e){return(0,v.A)(this.listenerName,e)}handleKeyboardEvent(e,t){(0,v.A)(this.listenerName,e)&&(this.callback?this.callback(e,t):this.element.click())}},S=(0,y.a)(k.prototype,"keyboard",[b.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,y.a)(k.prototype,"onFocus",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"onFocus"),k.prototype),(0,y.a)(k.prototype,"onFocusOut",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"onFocusOut"),k.prototype),A=k;var E=A;const x=(0,n(59165).createTemplateFactory)({id:"6e568qla",block:'[[[11,0],[16,0,[29,[[28,[37,1],["container"],[["from"],["crates-io/components/dropdown.module.css"]]]]]],[17,1],[4,[32,0],[[28,[37,2],[[28,[37,3],[[30,0,["dropdownExpanded"]]],null],false],null]],null],[4,[32,1],["Escape",[28,[37,2],[[28,[37,3],[[30,0,["dropdownExpanded"]]],null],false],null]],null],[12],[1,"\\n "],[18,2,[[28,[37,5],null,[["Trigger","Content","Menu"],[[50,"dropdown/trigger",0,null,[["toggle"],[[30,0,["toggleDropdown"]]]]],[50,"dropdown/content",0,null,[["isExpanded"],[[30,0,["dropdownExpanded"]]]]],[50,"dropdown/menu",0,null,[["Content"],[[50,"dropdown/content",0,null,[["isExpanded"],[[30,0,["dropdownExpanded"]]]]]]]]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["div","local-class","fn","mut","yield","hash","component"]]',moduleName:"crates-io/components/dropdown.hbs",scope:()=>[g,E],isStrictMode:!1});var C,T,O=n(25313);let R=(C=class extends o.A{constructor(...e){super(...e),(0,r.A)(this,"dropdownExpanded",T,this)}toggleDropdown(){this.dropdownExpanded=!this.dropdownExpanded}},T=(0,i.A)(C.prototype,"dropdownExpanded",[a.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.A)(C.prototype,"toggleDropdown",[s.action],Object.getOwnPropertyDescriptor(C.prototype,"toggleDropdown"),C.prototype),C);(0,O.setComponentTemplate)(x,R)},21431:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={container:"_container_j1fcml"}},70365:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"ft3B6Gih",block:'[[[11,0],[16,0,[29,[[28,[37,1],[[28,[37,2],["dropdown ",[52,[30,1],"open"]],null]],[["from"],["crates-io/components/dropdown/content.module.css"]]]]]],[17,2],[12],[18,3,null],[13]],["@isExpanded","&attrs","&default"],false,["div","local-class","concat","if","yield"]]',moduleName:"crates-io/components/dropdown/content.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},44265:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={dropdown:"_dropdown_16sxmz",open:"_open_16sxmz"}},87455:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"SyH0AvKG",block:'[[[11,"li"],[16,0,[29,[[28,[37,1],["item"],[["from"],["crates-io/components/dropdown/menu-item.module.css"]]]]]],[17,1],[12],[18,2,null],[13]],["&attrs","&default"],false,["li","local-class","yield"]]',moduleName:"crates-io/components/dropdown/menu-item.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},25061:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={item:"_item_1xureq"}},20412:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"BxzeBItD",block:'[[[8,[30,1],[[17,2]],null,[["default"],[[[[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,1],["list"],[["from"],["crates-io/components/dropdown/menu.module.css"]]]]]],[12],[1,"\\n "],[18,3,[[28,[37,3],null,[["Item"],[[50,"dropdown/menu-item",0,null,null]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]]]]],["@Content","&attrs","&default"],false,["ul","local-class","yield","hash","component"]]',moduleName:"crates-io/components/dropdown/menu.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},53443:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_12bw3u"}},50485:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(23189);const o=(0,n(59165).createTemplateFactory)({id:"Jv/0O7gC",block:'[[[11,"button"],[16,0,[29,[[28,[37,1],["button"],[["from"],["crates-io/components/dropdown/trigger.module.css"]]]]]],[24,4,"button"],[17,1],[4,[32,0],["click",[30,2]],null],[12],[1,"\\n "],[18,4,null],[1,"\\n"],[41,[51,[30,3]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["arrow"],[["from"],["crates-io/components/dropdown/trigger.module.css"]]]]]],[12],[13],[1,"\\n"]],[]],null],[13]],["&attrs","@toggle","@hideArrow","&default"],false,["button","local-class","yield","unless","span"]]',moduleName:"crates-io/components/dropdown/trigger.hbs",scope:()=>[s.on],isStrictMode:!1}),a=(0,n(25313).setComponentTemplate)(o,i()())},37962:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={button:"_button_x5sxkq",arrow:"_arrow_x5sxkq",active:"_active_x5sxkq"}},65239:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(65010),i=n(75402),s=n(8230),o=n(94895),a=n(96639),l=n(94313),c=n(59114),u=n(54521),d=(n(30113),n(23189));const h=(0,n(59165).createTemplateFactory)({id:"srxtDHbT",block:'[[[11,0],[17,1],[12],[1,"\\n"],[41,[51,[30,2,["email"]]],[[[1," "],[10,0],[15,0,[29,[[28,[37,2],["friendly-message"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[10,2],[12],[1,"\\n Please add your email address. We will only use\\n it to contact you about your account. We promise we\'ll never share it!\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isEditing"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,2],["row"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["label"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[10,"label"],[14,"for","email-input"],[12],[1,"Email"],[13],[1,"\\n "],[13],[1,"\\n "],[11,"form"],[16,0,[29,[[28,[37,2],["email-form"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[4,[32,0],["submit",[28,[37,7],[[28,[37,8],[[30,0,["saveEmailTask"]]],null]],null]],null],[12],[1,"\\n "],[8,[39,9],[[16,0,[29,[[28,[37,2],["input"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[24,1,"email-input"],[24,"placeholder","Email"]],[["@type","@value"],["email",[30,0,["value"]]]],null],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,2],["actions"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[10,"button"],[15,0,[29,[[28,[37,2],["save-button"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[15,"disabled",[28,[37,11],[[30,0,["value"]]],null]],[14,4,"submit"],[12],[1,"\\n Save\\n "],[13],[1,"\\n\\n "],[11,"button"],[16,0,[29,[[28,[37,2],["cancel-button"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[24,4,"button"],[4,[32,0],["click",[28,[37,12],[[28,[37,13],[[30,0,["isEditing"]]],null],false],null]],null],[12],[1,"\\n Cancel\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[15,0,[29,[[28,[37,2],["row"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["label"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[10,"dt"],[12],[1,"Email"],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["email-column"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[10,"dd"],[12],[1,"\\n "],[1,[30,2,["email"]]],[1,"\\n"],[41,[30,2,["email_verified"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,2],["verified"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"Verified!"],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["actions"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,2],["edit-button"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[24,4,"button"],[4,[32,0],["click",[30,0,["editEmail"]]],null],[12],[1,"\\n Edit\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[28,[37,17],[[30,2,["email"]],[28,[37,11],[[30,2,["email_verified"]]],null]],null],[[[1," "],[10,0],[15,0,[29,[[28,[37,2],["row"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["label"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n"],[41,[30,2,["email_verification_sent"]],[[[1," "],[10,2],[12],[1,"We have sent a verification email to your address."],[13],[1,"\\n"]],[]],null],[1," "],[10,2],[12],[1,"Your email has not yet been verified."],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,2],["actions"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[12],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,2],["resend-button"],[["from"],["crates-io/components/email-input.module.css"]]]]]],[16,"disabled",[30,0,["disableResend"]]],[24,4,"button"],[4,[32,0],["click",[28,[37,8],[[30,0,["resendEmailTask"]]],null]],null],[12],[1,"\\n"],[41,[30,0,["disableResend"]],[[[1," Sent!\\n"]],[]],[[[41,[30,2,["email_verification_sent"]],[[[1," Resend\\n"]],[]],[[[1," Send verification email\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]]],[1,"\\n"],[13]],["&attrs","@user"],false,["div","unless","local-class","p","if","label","form","prevent-default","perform","input","button","not","fn","mut","dt","dd","span","and"]]',moduleName:"crates-io/components/email-input.hbs",scope:()=>[d.on],isStrictMode:!1});var p,f,m,g,y,b=n(25313);let _=(p=class extends c.A{constructor(...e){super(...e),(0,r.A)(this,"notifications",f,this),(0,r.A)(this,"value",m,this),(0,r.A)(this,"isEditing",g,this),(0,r.A)(this,"disableResend",y,this),(0,i.A)(this,"resendEmailTask",(0,o.I)((()=>({context:this,generator:function*(){try{yield this.args.user.resendVerificationEmail(),this.disableResend=!0}catch(e){let t=e.errors?.[0]?.detail;t&&!t.startsWith("{")?this.notifications.error(`Error in resending message: ${t}`):this.notifications.error("Unknown error in resending message")}}})),null,"resendEmailTask",null)),(0,i.A)(this,"saveEmailTask",(0,o.I)((()=>({context:this,generator:function*(){let e=this.value,t=this.args.user;try{yield t.changeEmail(e),this.isEditing=!1,this.disableResend=!1}catch(e){let t=e.errors?.[0]?.detail,n=t&&!t.startsWith("{")?`An error occurred while saving this email, ${t}`:"An unknown error occurred while saving this email.";this.notifications.error(`Error in saving email: ${n}`)}}})),null,"saveEmailTask",null))}editEmail(){this.value=this.args.user.email,this.isEditing=!0}},f=(0,s.A)(p.prototype,"notifications",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,s.A)(p.prototype,"value",[u.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,s.A)(p.prototype,"isEditing",[u.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),y=(0,s.A)(p.prototype,"disableResend",[u.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,s.A)(p.prototype,"editEmail",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"editEmail"),p.prototype),p);(0,b.setComponentTemplate)(h,_)},25783:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"friendly-message":"_friendly-message_fp7kwx",row:"_row_fp7kwx",label:"_label_fp7kwx","email-column":"_email-column_fp7kwx",verified:"_verified_fp7kwx","email-form":"_email-form_fp7kwx",input:"_input_fp7kwx",actions:"_actions_fp7kwx","save-button":"_save-button_fp7kwx _yellow-button_g91299 _button_g91299 _small_g91299","cancel-button":"_cancel-button_fp7kwx _yellow-button_g91299 _button_g91299 _small_g91299","edit-button":"_edit-button_fp7kwx _yellow-button_g91299 _button_g91299 _small_g91299","resend-button":"_resend-button_fp7kwx _yellow-button_g91299 _button_g91299 _small_g91299"}},26744:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402);const i=n(1355).A.extend({_tooltipVariantClass:"ember-tooltip"}),s=class extends i{constructor(...e){super(...e),(0,r.A)(this,"delay",200)}}},99995:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(65010),i=n(75402),s=n(8230),o=n(94895),a=n(94313),l=n(59114),c=n(54521),u=n(30113),d=n(2540),h=n(23189);const p=(0,n(59165).createTemplateFactory)({id:"Rik8FIDF",block:'[[[11,"button"],[16,0,[29,[[28,[37,1],["button"],[["from"],["crates-io/components/follow-button.module.css"]]]]]],[24,4,"button"],[16,"disabled",[28,[37,2],[[30,0,["followStateTask","isRunning"]],[30,0,["followStateTask","last","error"]],[30,0,["toggleFollowTask","isRunning"]]],null]],[17,1],[4,[32,0],["click",[28,[37,3],[[30,0,["toggleFollowTask"]]],null]],null],[12],[1,"\\n"],[41,[28,[37,2],[[30,0,["followStateTask","isRunning"]],[30,0,["toggleFollowTask","isRunning"]]],null],[[[1," "],[8,[39,5],null,null,null],[1,"\\n"]],[]],[[[41,[30,0,["following"]],[[[1," Unfollow\\n"]],[]],[[[1," Follow\\n"]],[]]]],[]]],[13]],["&attrs"],false,["button","local-class","or","perform","if","loading-spinner"]]',moduleName:"crates-io/components/follow-button.hbs",scope:()=>[h.on],isStrictMode:!1});var f,m,g,y=n(25313);let b=(f=class extends l.A{constructor(){super(...arguments),(0,r.A)(this,"notifications",m,this),(0,r.A)(this,"following",g,this),(0,i.A)(this,"followStateTask",(0,o.I)((()=>({context:this,generator:function*(){let e=yield(0,d.default)(`https://crates.io/api/v1/crates/${this.args.crate.name}/following`);this.following=e.following}})),null,"followStateTask","drop")),(0,i.A)(this,"toggleFollowTask",(0,o.I)((()=>({context:this,generator:function*(){let e=this.args.crate;try{this.following?yield e.unfollow():yield e.follow(),this.following=!this.following}catch{this.notifications.error(`Something went wrong when ${this.following?"unfollowing":"following"} the ${e.name} crate. Please try again later!`)}}})),null,"toggleFollowTask",null)),this.followStateTask.perform().catch((e=>{(0,u.iw)(e)||this.notifications.error(`Something went wrong while trying to figure out if you are already following the ${this.args.crate.name} crate. Please try again later!`)}))}},m=(0,s.A)(f.prototype,"notifications",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,s.A)(f.prototype,"following",[c.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),f);(0,y.setComponentTemplate)(p,b)},78104:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={button:"_button_1pva0m _tan-button_g91299 _button_g91299"}},66202:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"Q0Wmezri",block:"[[],[],false,[]]",moduleName:"crates-io/components/footer.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},69493:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={footer:"_footer_hautyr",content:"_content_hautyr _width-limit_17u5gr"}},46825:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"YdkDlgbC",block:'[[[11,3],[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/components/front-page-list/item.module.css"]]]]]],[16,6,[30,1]],[24,"target","_blank"],[17,2],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["left"],[["from"],["crates-io/components/front-page-list/item.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["title"],[["from"],["crates-io/components/front-page-list/item.module.css"]]]]]],[12],[1,[30,3]],[13],[1,"\\n "],[13],[1,"\\n"],[13]],["@link","&attrs","@title"],false,["a","local-class","div"]]',moduleName:"crates-io/components/front-page-list/item.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},81826:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={link:"_link_1k20sr",left:"_left_1k20sr",title:"_title_1k20sr",subtitle:"_subtitle_1k20sr",right:"_right_1k20sr"}},9142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"XR1AMZO6",block:'[[[11,0],[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/components/front-page-list/item/placeholder.module.css"]]]]]],[17,1],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["left"],[["from"],["crates-io/components/front-page-list/item/placeholder.module.css"]]]]]],[12],[1,"\\n "],[8,[39,2],[[16,0,[29,[[28,[37,1],["title"],[["from"],["crates-io/components/front-page-list/item/placeholder.module.css"]]]]]]],null,null],[1,"\\n "],[13],[1,"\\n "],[1,[28,[35,3],["chevron-right"],[["class"],[[28,[37,4],[[28,[37,1],["right"],[["from"],["crates-io/components/front-page-list/item/placeholder.module.css"]]]],null]]]]],[1,"\\n"],[13]],["&attrs"],false,["div","local-class","placeholder","svg-jar","concat"]]',moduleName:"crates-io/components/front-page-list/item/placeholder.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},48116:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={link:"_link_kq6lyo",left:"_left_kq6lyo",title:"_title_kq6lyo",subtitle:"_subtitle_kq6lyo",right:"_right_kq6lyo"}},82062:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r=n(65010),i=n(8230),s=n(96639),o=n(94313),a=n(59114);const l=(0,n(59165).createTemplateFactory)({id:"u/6YVfp2",block:'[[[10,"header"],[15,0,[29,[[28,[37,1],[[28,[37,2],["header ",false],null]],[["from"],["crates-io/components/header.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["header-inner"],[["from"],["crates-io/components/header.module.css"]]]]]],[12],[1,"\\n "],[8,[39,4],[[16,0,[29,[[28,[37,1],["index-link"],[["from"],["crates-io/components/header.module.css"]]]]]]],[["@route"],["index"]],[["default"],[[[[1,"\\n "],[10,"img"],[15,0,[29,[[28,[37,1],["logo"],[["from"],["crates-io/components/header.module.css"]]]]]],[14,"src","/assets/ferris.png"],[14,"role","none"],[14,"alt",""],[12],[13],[1,"\\n "],[10,"h1"],[12],[1,"rustacean.info"],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,1],["search-form"],[["from"],["crates-io/components/header.module.css"]]]]]],[12],[1,"\\n"],[1,"\\n"],[1," "],[8,[39,7],null,[["@size"],[false]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"nav"],[15,0,[29,[[28,[37,1],["nav"],[["from"],["crates-io/components/header.module.css"]]]]]],[12],[1,"\\n "],[8,[39,4],null,[["@route","@query"],["crates",[28,[37,9],null,[["letter","page"],[null,1]]]]],[["default"],[[[[1,"\\n Browse All Crates\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,1],["menu"],[["from"],["crates-io/components/header.module.css"]]]]]],[12],[1,"\\n "],[8,[39,10],null,null,[["default"],[[[[1,"\\n "],[8,[30,1,["Trigger"]],[[16,0,[29,[[28,[37,1],["dropdown-button"],[["from"],["crates-io/components/header.module.css"]]]]]]],null,[["default"],[[[[1,"\\n Menu\\n "]],[]]]]],[1,"\\n "],[8,[30,1,["Menu"]],[[16,0,[29,[[28,[37,1],["current-user-links"],[["from"],["crates-io/components/header.module.css"]]]]]]],null,[["default"],[[[[1,"\\n "],[8,[30,2,["Item"]],null,null,[["default"],[[[[8,[39,4],null,[["@route"],["crates"]],[["default"],[[[[1,"Browse All Crates"]],[]]]]]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[13]],["dd","menu"],false,["header","local-class","concat","div","link-to","img","h1","search-form","nav","hash","dropdown"]]',moduleName:"crates-io/components/header.hbs",isStrictMode:!1});var c,u,d=n(25313);let h=(c=class extends a.A{constructor(...e){super(...e),(0,r.A)(this,"session",u,this)}enableSudo(){this.session.setSudo(216e5)}disableSudo(){this.session.setSudo(0)}},u=(0,i.A)(c.prototype,"session",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.A)(c.prototype,"enableSudo",[s.action],Object.getOwnPropertyDescriptor(c.prototype,"enableSudo"),c.prototype),(0,i.A)(c.prototype,"disableSudo",[s.action],Object.getOwnPropertyDescriptor(c.prototype,"disableSudo"),c.prototype),c);(0,d.setComponentTemplate)(l,h)},63767:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={header:"_header_1hc36y","header-inner":"_header-inner_1hc36y _width-limit_17u5gr",hero:"_hero_1hc36y","index-link":"_index-link_1hc36y",logo:"_logo_1hc36y","search-form":"_search-form_1hc36y","hero-title":"_hero-title_1hc36y",sep:"_sep_1hc36y",nav:"_nav_1hc36y",menu:"_menu_1hc36y","menu-item-with-separator":"_menu-item-with-separator_1hc36y","color-scheme-menu":"_color-scheme-menu_1hc36y","login-button":"_login-button_1hc36y _button-reset_g91299",spinner:"_spinner_1hc36y","login-icon":"_login-icon_1hc36y",avatar:"_avatar_1hc36y","wizard-hat":"_wizard-hat_1hc36y","current-user-links":"_current-user-links_1hc36y","dropdown-button":"_dropdown-button_1hc36y","login-menu-item":"_login-menu-item_1hc36y _button-reset_g91299","logout-menu-item":"_logout-menu-item_1hc36y _button-reset_g91299","sudo-menu-item":"_sudo-menu-item_1hc36y _button-reset_g91299","expires-in":"_expires-in_1hc36y"}},53623:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"krwDE3/W",block:'[[[42,[28,[37,1],[[28,[37,1],[[28,[37,2],[[30,1]],null]],null]],null],null,[[[41,[30,2,["isKeyword"]],[[[1," "],[10,"small"],[12],[1,[30,2,["text"]]],[13],[1,"\\n"]],[]],[[[41,[30,2,["link"]],[[[1," "],[10,3],[15,6,[30,2,["link"]]],[14,"rel","noreferrer"],[12],[1,"\\n "],[1,[30,2,["text"]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[1,[30,2,["text"]]],[1,"\\n "]],[]]]],[]]]],[2]],null]],["@license","part"],false,["each","-track-array","parse-license","if","small","a"]]',moduleName:"crates-io/components/license-expression.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},69265:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"tbTa1rBE",block:'[[[11,0],[16,0,[29,[[28,[37,1],["spinner"],[["from"],["crates-io/components/loading-spinner.module.css"]]]]]],[17,1],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["message"],[["from"],["crates-io/components/loading-spinner.module.css"]]]]]],[12],[1,"Loading…"],[13],[1,"\\n"],[13]],["&attrs"],false,["div","local-class","span"]]',moduleName:"crates-io/components/loading-spinner.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},78620:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={spinner:"_spinner_quttc0",message:"_message_quttc0 _sr-only_1igkyf"}},21728:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"+iIcvbi4",block:'[[[11,"nav"],[17,1],[12],[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,2],["list"],[["from"],["crates-io/components/nav-tabs.module.css"]]]]]],[12],[1,"\\n "],[18,2,[[28,[37,4],null,[["Tab"],[[50,"nav-tabs/tab",0,null,null]]]]]],[1,"\\n "],[13],[1,"\\n"],[13]],["&attrs","&default"],false,["nav","ul","local-class","yield","hash","component"]]',moduleName:"crates-io/components/nav-tabs.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},14072:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_1mso79"}},1236:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(23189);const o=(0,n(59165).createTemplateFactory)({id:"0Gvdd0gX",block:'[[[11,"li"],[17,1],[12],[1,"\\n "],[11,3],[16,0,[29,[[28,[37,2],[[28,[37,3],["link ",[52,[30,2,["isActive"]],"active"]],null]],[["from"],["crates-io/components/nav-tabs/tab.module.css"]]]]]],[16,6,[30,2,["url"]]],[4,[32,0],["click",[30,2,["transitionTo"]]],null],[12],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n"],[13]],["&attrs","@link","&default"],false,["li","a","local-class","concat","if","yield"]]',moduleName:"crates-io/components/nav-tabs/tab.hbs",scope:()=>[s.on],isStrictMode:!1}),a=(0,n(25313).setComponentTemplate)(o,i()())},8220:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={link:"_link_y1a82m",active:"_active_y1a82m"}},45984:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(8230),i=n(96639),s=n(59114),o=n(23189);const a=(0,n(59165).createTemplateFactory)({id:"btdjxx2Q",block:'[[[11,"label"],[16,0,[29,[[28,[37,1],[[28,[37,2],["label ",[52,[30,1,["email_notifications"]],"checked"]],null]],[["from"],["crates-io/components/owned-crate-row.module.css"]]]]]],[17,2],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["name"],[["from"],["crates-io/components/owned-crate-row.module.css"]]]]]],[12],[1,"\\n "],[1,[30,1,["name"]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,1],["checkbox"],[["from"],["crates-io/components/owned-crate-row.module.css"]]]]]],[14,"aria-hidden","true"],[12],[1,"\\n"],[41,[30,1,["email_notifications"]],[[[1," "],[1,[28,[35,6],["check-mark"],null]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[11,"input"],[16,0,[29,[[28,[37,1],["input"],[["from"],["crates-io/components/owned-crate-row.module.css"]]]]]],[16,"checked",[30,1,["email_notifications"]]],[24,4,"checkbox"],[4,[32,0],["change",[30,0,["setEmailNotifications"]]],null],[12],[13],[1,"\\n"],[13]],["@ownedCrate","&attrs"],false,["label","local-class","concat","if","span","div","svg-jar","input"]]',moduleName:"crates-io/components/owned-crate-row.hbs",scope:()=>[o.on],isStrictMode:!1});var l,c=n(25313);let u=(l=class extends s.A{setEmailNotifications(e){let{checked:t}=e.target;this.args.ownedCrate.set("email_notifications",t)}},(0,r.A)(l.prototype,"setEmailNotifications",[i.action],Object.getOwnPropertyDescriptor(l.prototype,"setEmailNotifications"),l.prototype),l);(0,c.setComponentTemplate)(a,u)},78678:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={label:"_label_otuoju",checked:"_checked_otuoju",name:"_name_otuoju",checkbox:"_checkbox_otuoju",input:"_input_otuoju _sr-only_1igkyf"}},36653:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(59114);const i=(0,n(59165).createTemplateFactory)({id:"1l8Kix3Z",block:'[[[10,"ul"],[15,0,[29,[[28,[37,1],[[28,[37,2],["list ",[52,[30,0,["showDetailedList"]],"detailed"]],null]],[["from"],["crates-io/components/owners-list.module.css"]]]]]],[14,"role","list"],[12],[1,"\\n"],[42,[28,[37,5],[[28,[37,5],[[30,1]],null]],null],null,[[[1," "],[10,"li"],[15,0,[29,[[28,[37,1],[[28,[37,2],[[52,[28,[37,7],[[30,2,["kind"]],"team"],null],"team"]],null]],[["from"],["crates-io/components/owners-list.module.css"]]]]]],[12],[1,"\\n "],[8,[39,8],[[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/components/owners-list.module.css"]]]]]]],[["@route","@model"],[[30,2,["kind"]],[30,2,["login"]]]],[["default"],[[[[1,"\\n "],[8,[39,9],[[16,0,[29,[[28,[37,1],["avatar"],[["from"],["crates-io/components/owners-list.module.css"]]]]]],[24,"aria-hidden","true"]],[["@user","@size"],[[30,2],"medium-small"]],null],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],[[28,[37,2],["name ",[52,[51,[30,0,["showDetailedList"]]],"hidden-name"]],null]],[["from"],["crates-io/components/owners-list.module.css"]]]]]],[12],[1,[28,[35,12],[[30,2,["display_name"]],[30,2,["name"]],[30,2,["login"]]],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[13]],["@owners","owner"],false,["ul","local-class","concat","if","each","-track-array","li","eq","link-to","user-avatar","span","unless","or"]]',moduleName:"crates-io/components/owners-list.hbs",isStrictMode:!1});var s=n(25313);class o extends r.A{get showDetailedList(){return this.args.owners.length<=5}}(0,s.setComponentTemplate)(i,o)},63141:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_1ipg5d",detailed:"_detailed_1ipg5d",link:"_link_1ipg5d",avatar:"_avatar_1ipg5d",name:"_name_1ipg5d",team:"_team_1ipg5d","hidden-name":"_hidden-name_1ipg5d _sr-only_1igkyf"}},49480:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"5z5WSWl+",block:'[[[11,0],[16,0,[29,[[28,[37,1],["header"],[["from"],["crates-io/components/page-header.module.css"]]]]]],[17,1],[12],[1,"\\n"],[41,[48,[30,5]],[[[1," "],[18,5,null],[1,"\\n"]],[]],[[[1," "],[10,"h1"],[15,0,[29,[[28,[37,1],["heading"],[["from"],["crates-io/components/page-header.module.css"]]]]]],[12],[1,"\\n "],[1,[30,2]],[1,"\\n"],[41,[30,3],[[[1," "],[10,"small"],[15,0,[29,[[28,[37,1],["suffix"],[["from"],["crates-io/components/page-header.module.css"]]]]]],[12],[1,[30,3]],[13],[1,"\\n"]],[]],null],[41,[30,4],[[[1," "],[8,[39,7],[[16,0,[29,[[28,[37,1],["loading-spinner"],[["from"],["crates-io/components/page-header.module.css"]]]]]]],null,null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]]],[13]],["&attrs","@title","@suffix","@showSpinner","&default"],false,["div","local-class","if","has-block","yield","h1","small","loading-spinner"]]',moduleName:"crates-io/components/page-header.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},237:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={header:"_header_81knqv",heading:"_heading_81knqv",suffix:"_suffix_81knqv","loading-spinner":"_loading-spinner_81knqv"}},96666:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"l1zIIPzA",block:'[[[10,"nav"],[15,0,[29,[[28,[37,1],["pagination"],[["from"],["crates-io/components/pagination.module.css"]]]]]],[14,"aria-label","Pagination navigation"],[12],[1,"\\n "],[8,[39,2],[[16,0,[29,[[28,[37,1],["prev"],[["from"],["crates-io/components/pagination.module.css"]]]]]],[24,"rel","prev"],[24,"title","previous page"]],[["@query"],[[28,[37,3],null,[["page"],[[30,1,["prevPage"]]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,4],["left-pag"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[10,"ol"],[12],[1,"\\n"],[42,[28,[37,7],[[28,[37,7],[[30,1,["pages"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[8,[39,2],[[16,"title",[28,[37,9],["Go to page ",[30,2]],null]]],[["@query"],[[28,[37,3],null,[["page"],[[30,2]]]]]],[["default"],[[[[1,"\\n "],[1,[30,2]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[2]],null],[1," "],[13],[1,"\\n "],[8,[39,2],[[16,0,[29,[[28,[37,1],["next"],[["from"],["crates-io/components/pagination.module.css"]]]]]],[24,"rel","next"],[24,"title","next page"]],[["@query"],[[28,[37,3],null,[["page"],[[30,1,["nextPage"]]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,4],["right-pag"],null]],[1,"\\n "]],[]]]]],[1,"\\n"],[13]],["@pagination","page"],false,["nav","local-class","link-to","hash","svg-jar","ol","each","-track-array","li","concat"]]',moduleName:"crates-io/components/pagination.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},92204:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={pagination:"_pagination_h31eca",prev:"_prev_h31eca",next:"_next_h31eca"}},83596:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(65010),i=n(75402),s=n(8230),o=n(94895),a=n(94313),l=n(59114),c=n(54521),u=(n(30113),n(23189));const d=(0,n(59165).createTemplateFactory)({id:"Nnizk5HX",block:'[[[41,[30,0,["isAccepted"]],[[[1," "],[11,2],[17,1],[12],[1,"\\n Success! You\'ve been added as an owner of crate\\n "],[8,[39,2],null,[["@route","@model"],["crate",[30,2,["crate_name"]]]],[["default"],[[[[1,[30,2,["crate_name"]]]],[]]]]],[1,".\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["isDeclined"]],[[[1," "],[11,2],[17,1],[12],[1,"\\n Declined. You have not been added as an owner of crate\\n "],[8,[39,2],null,[["@route","@model"],["crate",[30,2,["crate_name"]]]],[["default"],[[[[1,[30,2,["crate_name"]]]],[]]]]],[1,".\\n "],[13],[1,"\\n"]],[]],[[[1," "],[11,0],[16,0,[29,[[28,[37,4],["row"],[["from"],["crates-io/components/pending-owner-invite-row.module.css"]]]]]],[17,1],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,4],["crate-column"],[["from"],["crates-io/components/pending-owner-invite-row.module.css"]]]]]],[12],[1,"\\n "],[10,"h3"],[12],[1,"\\n "],[8,[39,2],null,[["@route","@model"],["crate",[30,2,["crate_name"]]]],[["default"],[[[[1,"\\n "],[1,[30,2,["crate_name"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n Invited by:\\n "],[8,[39,2],null,[["@route","@model"],["user",[30,2,["inviter","login"]]]],[["default"],[[[[1,"\\n "],[1,[30,2,["inviter","login"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,4],["date-column"],[["from"],["crates-io/components/pending-owner-invite-row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,6],[[30,2,["created_at"]]],[["addSuffix"],[true]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,4],["accept-button"],[["from"],["crates-io/components/pending-owner-invite-row.module.css"]]]]]],[24,4,"button"],[4,[32,0],["click",[28,[37,8],[[30,0,["acceptInvitationTask"]]],null]],null],[12],[1,"Accept"],[13],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,4],["decline-button"],[["from"],["crates-io/components/pending-owner-invite-row.module.css"]]]]]],[24,4,"button"],[4,[32,0],["click",[28,[37,8],[[30,0,["declineInvitationTask"]]],null]],null],[12],[1,"Decline"],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]]]],["&attrs","@invite"],false,["if","p","link-to","div","local-class","h3","date-format-distance-to-now","button","perform"]]',moduleName:"crates-io/components/pending-owner-invite-row.hbs",scope:()=>[u.on],isStrictMode:!1});var h,p,f,m,g=n(25313);let y=(h=class extends l.A{constructor(...e){super(...e),(0,r.A)(this,"notifications",p,this),(0,r.A)(this,"isAccepted",f,this),(0,r.A)(this,"isDeclined",m,this),(0,i.A)(this,"acceptInvitationTask",(0,o.I)((()=>({context:this,generator:function*(){this.args.invite.set("accepted",!0);try{yield this.args.invite.save(),this.isAccepted=!0}catch(e){let t=e.errors?.[0]?.detail;t&&!t.startsWith("{")?this.notifications.error(`Error in accepting invite: ${t}`):this.notifications.error("Error in accepting invite")}}})),null,"acceptInvitationTask",null)),(0,i.A)(this,"declineInvitationTask",(0,o.I)((()=>({context:this,generator:function*(){this.args.invite.set("accepted",!1);try{yield this.args.invite.save(),this.isDeclined=!0}catch(e){let t=e.errors?.[0]?.detail;t&&!t.startsWith("{")?this.notifications.error(`Error in declining invite: ${t}`):this.notifications.error("Error in declining invite")}}})),null,"declineInvitationTask",null))}},p=(0,s.A)(h.prototype,"notifications",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,s.A)(h.prototype,"isAccepted",[c.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),m=(0,s.A)(h.prototype,"isDeclined",[c.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h);(0,g.setComponentTemplate)(d,y)},21412:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={row:"_row_g17iti","crate-column":"_crate-column_g17iti","date-column":"_date-column_g17iti _small_1oyocj","accept-button":"_accept-button_g17iti _yellow-button_g91299 _button_g91299 _small_g91299","decline-button":"_decline-button_g17iti _yellow-button_g91299 _button_g91299 _small_g91299"}},16015:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"bjevNZKc",block:'[[[11,0],[16,0,[29,[[28,[37,1],["placeholder"],[["from"],["crates-io/components/placeholder.module.css"]]]]]],[17,1],[12],[13]],["&attrs"],false,["div","local-class"]]',moduleName:"crates-io/components/placeholder.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},41415:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={placeholder:"_placeholder_el4r1x",backgroundAnimation:"_backgroundAnimation_el4r1x"}},63192:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(65010),i=n(8230),s=n(94313),o=n(59114);const a=(0,n(59165).createTemplateFactory)({id:"XdHe8Jd7",block:'[[[41,[30,0,["isPrivileged"]],[[[1," "],[10,0],[12],[1,"\\n "],[18,1,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["canBePrivileged"]],[[[41,[48,[30,2]],[[[1," "],[10,0],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[15,0,[29,[[28,[37,4],["placeholder"],[["from"],["crates-io/components/privileged-action.module.css"]]]]]],[12],[1,"\\n "],[10,"fieldset"],[14,"disabled","disabled"],[12],[1,"\\n "],[18,1,null],[1,"\\n "],[13],[1,"\\n "],[8,[39,6],null,null,[["default"],[[[[1,"\\n You must enable admin actions before you can perform this operation.\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]],[[[1," "],[10,0],[12],[1,"\\n"],[41,[48,[30,3]],[[[1," "],[18,3,null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]]]],[]]]],["&default","&placeholder","&unprivileged"],false,["if","div","yield","has-block","local-class","fieldset","ember-tooltip"]]',moduleName:"crates-io/components/privileged-action.hbs",isStrictMode:!1});var l,c,u=n(25313);let d=(l=class extends o.A{constructor(...e){super(...e),(0,r.A)(this,"session",c,this)}get isPrivileged(){return this.session.isSudoEnabled||this.args.userAuthorised}get canBePrivileged(){return!this.args.userAuthorised&&this.session.currentUser?.is_admin&&!this.session.isSudoEnabled}},c=(0,i.A)(l.prototype,"session",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l);(0,u.setComponentTemplate)(a,d)},47166:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={placeholder:"_placeholder_lh28ym","yellow-button":"_yellow-button_lh28ym","tan-button":"_tan-button_lh28ym"}},85019:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(65010),i=n(8230),s=n(94313),o=n(59114);const a=(0,n(59165).createTemplateFactory)({id:"/CgTQcBY",block:'[[[10,0],[15,0,[29,[[28,[37,1],["progress-bar"],[["from"],["crates-io/components/progress-bar.module.css"]]]]]],[15,5,[30,0,["progress","style"]]],[12],[13]],[],false,["div","local-class"]]',moduleName:"crates-io/components/progress-bar.hbs",isStrictMode:!1});var l,c,u=n(25313);let d=(l=class extends o.A{constructor(...e){super(...e),(0,r.A)(this,"progress",c,this)}},c=(0,i.A)(l.prototype,"progress",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l);(0,u.setComponentTemplate)(a,d)},62613:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"progress-bar":"_progress-bar_14e9bq"}},36526:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>N});var r=n(65010),i=n(8230),s=n(94313),o=n(59114),a=n(39652);const l=n(48339),c="[A-Za-z$_][0-9A-Za-z$_]*",u=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],d=["true","false","null","undefined","NaN","Infinity"],h=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],p=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],f=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],m=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],g=[].concat(f,h,p),y=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video","defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],b=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),_=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),v=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),w=["accent-color","align-content","align-items","align-self","alignment-baseline","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-end-end-radius","border-end-start-radius","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","cx","cy","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","empty-cells","enable-background","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","flood-color","flood-opacity","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","kerning","justify-content","justify-items","justify-self","left","letter-spacing","lighting-color","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-start","mask","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","scale","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","speak","speak-as","src","tab-size","table-layout","text-anchor","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-offset","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","vector-effect","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index"].sort().reverse();l.registerLanguage("bash",(function(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},a={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(a);const l={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},c=e.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),u={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],literal:["true","false"],built_in:["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset","alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias","set","shopt","autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp","chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"]},contains:[c,e.SHEBANG(),u,l,s,o,{match:/(\/[a-z._-]+)+/},a,{match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}})),l.registerLanguage("c",(function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",s="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},a={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},p=[c,o,n,e.C_BLOCK_COMMENT_MODE,l,a],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:p.concat([{begin:/\(/,end:/\)/,keywords:h,contains:p.concat(["self"]),relevance:0}]),relevance:0},m={begin:"("+s+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,a,l,o,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,a,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:h,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:a,keywords:h}}})),l.registerLanguage("cpp",(function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",s="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",o={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},a={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(a,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",h={type:["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],keyword:["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"]},p={className:"function.dispatch",relevance:0,keywords:{_hint:["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"]},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},f=[p,c,o,n,e.C_BLOCK_COMMENT_MODE,l,a],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:h,contains:f.concat([{begin:/\(/,end:/\)/,keywords:h,contains:f.concat(["self"]),relevance:0}]),relevance:0},g={className:"function",begin:"("+s+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:h,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:h,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[a,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,a,l,o,{begin:/\(/,end:/\)/,keywords:h,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,a,l,o]}]},o,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:h,illegal:"",keywords:h,contains:["self",o]},{begin:e.IDENT_RE+"::",keywords:h},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}})),l.registerLanguage("csharp",(function(e){const t={keyword:["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"].concat(["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"]),built_in:["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],literal:["default","false","null","true"]},n=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),r={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},i={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},s=e.inherit(i,{illegal:/\n/}),o={className:"subst",begin:/\{/,end:/\}/,keywords:t},a=e.inherit(o,{illegal:/\n/}),l={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,a]},c={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},o]},u=e.inherit(c,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},a]});o.contains=[c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],a.contains=[u,l,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const d={variants:[{className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},c,l,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},h={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]},p=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",f={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},d,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[n,h,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+p+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:t,contains:[{beginKeywords:["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"].join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,h],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[d,r,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}})),l.registerLanguage("glsl",(function(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}})),l.registerLanguage("go",(function(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"|\/>/,isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n];if("<"===r||","===r)return void t.ignoreMatch();let i;">"===r&&(((e,{after:t})=>{const n="`${e}\\s*\\(`)),t.concat("(?!",M.join("|"),")")),n,t.lookahead(/\s*\(/)),className:"title.function",relevance:0};var M;const D={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},x]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",F={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[x]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,b,_,v,w,A,{match:/\$\d+/},l,T,{className:"attr",begin:n+t.lookahead(":"),relevance:0},F,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[A,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:"<>",end:""},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{begin:r.begin,"on:begin":r.isTrulyOpeningTag,end:r.end}],subLanguage:"xml",contains:[{begin:r.begin,end:r.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[x,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},D,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[x]},R,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},C,N,{match:/\$[(.]/}]}})),l.registerLanguage("json",(function(e){const t=["true","false","null"],n={scope:"literal",beginKeywords:t.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:t},contains:[{className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},{match:/[{}[\],:]/,className:"punctuation",relevance:0},e.QUOTE_STRING_MODE,n,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}})),l.registerLanguage("protobuf",(function(e){const t={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:["package","import","option","optional","required","repeated","group","oneof"],type:["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}})),l.registerLanguage("ruby",(function(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),s={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},o={className:"doctag",begin:"@[A-Za-z]+"},a={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[o]}),e.COMMENT("^=begin","^=end",{contains:[o],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:s},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[0-9](_?[0-9])*",h={className:"number",relevance:0,variants:[{begin:`\\b([1-9](_?[0-9])*|0)(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},p={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:s}]},f=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:s},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[p]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},h,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:s},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(a,l),relevance:0}].concat(a,l);c.contains=f,p.contains=f;const m=[{begin:/^\s*=>/,starts:{end:"$",contains:f}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:s,contains:f}}];return l.unshift(a),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:s,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(f)}})),l.registerLanguage("rust",(function(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),s={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",a=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],l=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:l,keyword:["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],literal:["true","false","Some","None","Ok","Err"],built_in:a},illegal:""},s]}})),l.registerLanguage("scss",(function(e){const t=(e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}))(e),n=v,r=_,i="@[a-z-]+",s={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+y.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},s,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+w.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,s,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:b.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},s,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}})),l.registerLanguage("sql",(function(e){const t=e.regex,n=e.COMMENT("--","$"),r=["true","false","unknown"],i=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],s=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],o=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],a=s,l=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year","add","asc","collation","desc","final","first","last","view"].filter((e=>!s.includes(e))),c={begin:t.concat(/\b/,t.either(...a),/\s*\(/),relevance:0,keywords:{built_in:a}};return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:function(e,{exceptions:t,when:n}={}){const r=n;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))}(l,{when:e=>e.length<3}),literal:r,type:i,built_in:["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"]},contains:[{begin:t.either(...o),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:l.concat(o),literal:r,type:i}},{className:"type",begin:t.either("double precision","large object","with timezone","without timezone")},c,{className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},{className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},{begin:/"/,end:/"/,contains:[{begin:/""/}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0}]}})),l.registerLanguage("xml",(function(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},i={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},s=e.inherit(i,{begin:/\(/,end:/\)/}),o=e.inherit(e.APOS_STRING_MODE,{className:"string"}),a=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[i,a,o,s,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[i,s,a,o]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[a]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}})),l.registerLanguage("yaml",(function(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},i=e.inherit(r,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),s={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},o={begin:/\{/,end:/\}/,contains:[s],illegal:"\\n",relevance:0},a={begin:"\\[",end:"\\]",contains:[s],illegal:"\\n",relevance:0},l=[{className:"attr",variants:[{begin:/\w[\w :()\./-]*:(?=[ \t]|$)/},{begin:/"\w[\w :()\./-]*":(?=[ \t]|$)/},{begin:/'\w[\w :()\./-]*':(?=[ \t]|$)/}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},{className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},o,a,r],c=[...l];return c.pop(),c.push(i),s.contains=c,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:l}})),l.registerAliases("clike",{languageName:"c"}),l.registerAliases("markup",{languageName:"xml"}),l.registerAliases("rs",{languageName:"rust"});const A=(0,a.W)(((e,t,{selector:n})=>{let r=n?e.querySelectorAll(n):[e];for(let e of r)[...e.classList].some((e=>/^language-.+/.test(e)))||e.classList.add("no-highlight"),l.highlightElement(e)})),k=(0,a.W)(((e,[t])=>{e.querySelectorAll("picture").forEach((e=>{e.querySelectorAll('source[media*="prefers-color-scheme"], source[data-media*="prefers-color-scheme"]').forEach((e=>{e.media?.includes("prefers-color-scheme")&&(e.dataset.media=e.media),e.dataset.media.includes(t)?e.media="all":e&&(e.media="none")}))}))}));var S,E,x,C=n(10055);let T=(S=class extends a.A{constructor(...e){super(...e),(0,r.A)(this,"notifications",E,this),(0,r.A)(this,"mermaid",x,this)}modify(e){let t=this.mermaid.loadTask.lastSuccessful?.value;if(t){let n=e.querySelectorAll(".language-mermaid");(0,C.YZ)(t.run({nodes:n})).catch((e=>{console.error(e.error||e),this.notifications.warning("Failed to render mermaid diagram.")}))}}},E=(0,i.A)(S.prototype,"notifications",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,i.A)(S.prototype,"mermaid",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S);const O=(0,n(59165).createTemplateFactory)({id:"whgLOpyh",block:'[[[8,[39,0],[[17,1],[4,[32,0],null,[["selector"],["pre > code:not(.language-mermaid)"]]],[4,[32,1],[[30,0,["colorScheme","resolvedScheme"]]],null],[4,[32,2],null,null]],null,[["default"],[[[[1,"\\n "],[1,[28,[35,1],[[30,2]],null]],[1,"\\n"]],[]]]]]],["&attrs","@html"],false,["text-content","html-safe"]]',moduleName:"crates-io/components/rendered-html.hbs",scope:()=>[A,k,T],isStrictMode:!1});var R,M,D=n(25313);let N=(R=class extends o.A{constructor(...e){super(...e),(0,r.A)(this,"colorScheme",M,this)}},M=(0,i.A)(R.prototype,"colorScheme",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R);(0,D.setComponentTemplate)(O,N)},15515:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"HRgt/akD",block:'[[[11,1],[16,0,[29,[[28,[37,1],["results-count"],[["from"],["crates-io/components/results-count.module.css"]]]]]],[17,1],[12],[1,"\\n Displaying\\n "],[10,1],[15,0,[29,[[28,[37,1],["highlight"],[["from"],["crates-io/components/results-count.module.css"]]]]]],[12],[1,[30,2]],[1,"-"],[1,[30,3]],[13],[1,"\\n of "],[10,1],[15,0,[29,[[28,[37,1],["highlight"],[["from"],["crates-io/components/results-count.module.css"]]]]]],[12],[1,[30,4]],[13],[1," "],[1,[52,[30,5],[30,5],"total results"]],[1,"\\n"],[13],[1,"\\n"]],["&attrs","@start","@end","@total","@name"],false,["span","local-class","if"]]',moduleName:"crates-io/components/results-count.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},98652:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-count":"_results-count_13ksgr _small_1oyocj",highlight:"_highlight_13ksgr"}},37817:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(65010),i=n(75402),s=n(8230),o=n(94895),a=n(96639),l=n(94313),c=n(59114),u=n(54521),d=(n(30113),n(23189));const h=(0,n(59165).createTemplateFactory)({id:"M7pFWHAo",block:'[[[11,0],[16,0,[29,[[28,[37,1],[[28,[37,2],["row ",[52,[30,0,["focused"]],"focused"]],null]],[["from"],["crates-io/components/rev-dep-row.module.css"]]]]]],[17,1],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["top"],[["from"],["crates-io/components/rev-dep-row.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["left"],[["from"],["crates-io/components/rev-dep-row.module.css"]]]]]],[12],[1,"\\n "],[8,[39,4],[[16,0,[29,[[28,[37,1],["link"],[["from"],["crates-io/components/rev-dep-row.module.css"]]]]]],[4,[32,0],["focusin",[28,[37,5],[[30,0,["setFocused"]],true],null]],null],[4,[32,0],["focusout",[28,[37,5],[[30,0,["setFocused"]],false],null]],null]],[["@route","@model"],["crate",[30,2,["version","crateName"]]]],[["default"],[[[[1,"\\n "],[1,[30,2,["version","crateName"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["range"],[["from"],["crates-io/components/rev-dep-row.module.css"]]]]]],[12],[1,"\\n depends on "],[1,[30,2,["req"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["downloads"],[["from"],["crates-io/components/rev-dep-row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,7],["download-arrow"],[["class"],[[28,[37,2],[[28,[37,1],["download-icon"],[["from"],["crates-io/components/rev-dep-row.module.css"]]]],null]]]]],[1,"\\n "],[1,[28,[35,8],[[30,2,["downloads"]]],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[28,[37,9],[[30,0,["description"]],[30,0,["loadCrateTask","isRunning"]]],null],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["description"],[["from"],["crates-io/components/rev-dep-row.module.css"]]]]]],[12],[1,"\\n"],[41,[30,0,["loadCrateTask","isRunning"]],[[[1," "],[8,[39,10],[[16,0,[29,[[28,[37,1],["description-placeholder"],[["from"],["crates-io/components/rev-dep-row.module.css"]]]]]]],null,null],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["description"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[13],[1,"\\n"]],["&attrs","@dependency"],false,["div","local-class","concat","if","link-to","fn","span","svg-jar","format-num","or","placeholder"]]',moduleName:"crates-io/components/rev-dep-row.hbs",scope:()=>[d.on],isStrictMode:!1});var p,f,m,g=n(25313);let y=(p=class extends c.A{setFocused(e){this.focused=e}constructor(){super(...arguments),(0,r.A)(this,"store",f,this),(0,r.A)(this,"focused",m,this),(0,i.A)(this,"loadCrateTask",(0,o.I)((()=>({context:this,generator:function*(){let{dependency:e}=this.args;return yield this.store.findRecord("crate",e.version.crateName)}})),null,"loadCrateTask",null)),this.loadCrateTask.perform().catch((()=>{}))}get description(){return this.loadCrateTask.lastSuccessful?.value?.description}},f=(0,s.A)(p.prototype,"store",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,s.A)(p.prototype,"focused",[u.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,s.A)(p.prototype,"setFocused",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"setFocused"),p.prototype),p);(0,g.setComponentTemplate)(h,y)},72692:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={row:"_row_qc6rd8",focused:"_focused_qc6rd8",top:"_top_qc6rd8",left:"_left_qc6rd8",link:"_link_qc6rd8",range:"_range_qc6rd8",downloads:"_downloads_qc6rd8","download-icon":"_download-icon_qc6rd8",description:"_description_qc6rd8","description-placeholder":"_description-placeholder_qc6rd8"}},16029:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(65010),i=n(8230),s=n(96639),o=n(94313),a=n(59114),l=n(23189);const c=(0,n(59165).createTemplateFactory)({id:"r4gs6Zwi",block:'[[[11,"form"],[16,0,[29,[[28,[37,1],[[28,[37,2],["form ",[52,[28,[37,4],[[30,1],"big"],null],"size-big"]],null]],[["from"],["crates-io/components/search-form.module.css"]]]]]],[24,"action","/search"],[24,"role","search"],[24,"autocapitalize","off"],[24,"autocomplete","off"],[24,"autocorrect","off"],[24,"spellcheck","false"],[17,2],[4,[32,0],["submit",[28,[37,5],[[30,0,["search"]]],null]],null],[12],[1,"\\n"],[1,"\\n"],[1,"\\n "],[10,"input"],[15,0,[29,[[28,[37,1],["input-lg"],[["from"],["crates-io/components/search-form.module.css"]]]]]],[14,"inputmode","search"],[14,3,"q"],[14,1,"cargo-desktop-search"],[14,"placeholder","Type \'S\' or \'/\' to search"],[15,2,[30,0,["header","searchValue"]]],[15,"oninput",[30,0,["updateSearchValue"]]],[14,"autofocus","autofocus"],[14,"required",""],[14,"aria-label","Search"],[14,4,"text"],[12],[13],[1,"\\n\\n"],[1," "],[10,"input"],[15,0,[29,[[28,[37,1],["input-sm"],[["from"],["crates-io/components/search-form.module.css"]]]]]],[14,"inputmode","search"],[14,3,"q"],[14,"placeholder","Search"],[15,2,[30,0,["header","searchValue"]]],[15,"oninput",[30,0,["updateSearchValue"]]],[14,"required",""],[14,"aria-label","Search"],[14,4,"text"],[12],[13],[1,"\\n\\n "],[10,"button"],[15,0,[29,[[28,[37,1],["submit-button"],[["from"],["crates-io/components/search-form.module.css"]]]]]],[14,4,"submit"],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["submit-label"],[["from"],["crates-io/components/search-form.module.css"]]]]]],[12],[1,"Submit"],[13],[1,"\\n "],[1,[28,[35,9],["search"],[["class"],[[28,[37,2],[[28,[37,1],["submit-icon"],[["from"],["crates-io/components/search-form.module.css"]]]],null]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[1,[28,[35,10],["s",[28,[37,11],["#cargo-desktop-search"],null]],null]],[1,"\\n "],[1,[28,[35,10],["S",[28,[37,11],["#cargo-desktop-search"],null]],null]],[1,"\\n "],[1,[28,[35,10],["shift+s",[28,[37,11],["#cargo-desktop-search"],null]],null]],[1,"\\n "],[1,[28,[35,10],["/",[28,[37,11],["#cargo-desktop-search"],null]],null]],[1,"\\n"],[13],[1,"\\n"]],["@size","&attrs"],false,["form","local-class","concat","if","eq","prevent-default","input","button","span","svg-jar","on-key","focus"]]',moduleName:"crates-io/components/search-form.hbs",scope:()=>[l.on],isStrictMode:!1});var u,d,h,p=n(25313);let f=(u=class extends a.A{constructor(...e){super(...e),(0,r.A)(this,"header",d,this),(0,r.A)(this,"router",h,this)}updateSearchValue(e){let{value:t}=e.target;this.header.searchValue=t}search(){this.router.transitionTo("search",{queryParams:{q:this.header.searchValue,page:1}})}},d=(0,i.A)(u.prototype,"header",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.A)(u.prototype,"router",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.A)(u.prototype,"updateSearchValue",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"updateSearchValue"),u.prototype),(0,i.A)(u.prototype,"search",[s.action],Object.getOwnPropertyDescriptor(u.prototype,"search"),u.prototype),u);(0,p.setComponentTemplate)(c,f)},2667:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={form:"_form_17hnvp","size-big":"_size-big_17hnvp",input:"_input_17hnvp","input-lg":"_input-lg_17hnvp _input_17hnvp","input-sm":"_input-sm_17hnvp _input_17hnvp","submit-button":"_submit-button_17hnvp _button-reset_g91299","submit-label":"_submit-label_17hnvp _sr-only_1igkyf","submit-icon":"_submit-icon_17hnvp"}},1253:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"jrfHMx/o",block:'[[[11,0],[16,0,[29,[[28,[37,1],["page"],[["from"],["crates-io/components/settings-page.module.css"]]]]]],[17,1],[12],[1,"\\n "],[8,[39,2],null,null,[["default"],[[[[1,"\\n "],[8,[30,2,["Item"]],null,[["@link"],[[28,[37,3],["settings.profile"],null]]],[["default"],[[[[1,"Profile"]],[]]]]],[1,"\\n "],[8,[30,2,["Item"]],null,[["@link"],[[28,[37,3],["settings.tokens"],null]]],[["default"],[[[[1,"API Tokens"]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,1],["content"],[["from"],["crates-io/components/settings-page.module.css"]]]]]],[12],[1,"\\n "],[18,3,null],[1,"\\n "],[13],[1,"\\n"],[13]],["&attrs","menu","&default"],false,["div","local-class","side-menu","link","yield"]]',moduleName:"crates-io/components/settings-page.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},41277:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={page:"_page_ddckb1",content:"_content_ddckb1"}},33500:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(65010),i=n(75402),s=n(8230),o=n(94895),a=n(96639),l=n(94313),c=n(59114),u=(n(30113),n(51091)),d=n(23189);const h=(0,n(59165).createTemplateFactory)({id:"sL50bQKL",block:'[[[10,0],[15,0,[29,[[28,[37,1],["me-subheading"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n "],[10,"h2"],[12],[1,"API Tokens"],[13],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["right"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n "],[8,[39,3],[[16,0,[29,[[28,[37,1],["new-token-button"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]]],[["@route"],["settings.tokens.new"]],[["default"],[[[[1,"\\n New Token\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"],[13],[1,"\\n\\n"],[10,2],[15,0,[29,[[28,[37,1],["explainer"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n You can use the API tokens generated on this page to run "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/"],[12],[1,"cargo"],[13],[1,"\\n commands that need write access to crates.io. If you want to publish your own\\n crates then this is required.\\n"],[13],[1,"\\n\\n"],[10,2],[15,0,[29,[[28,[37,1],["explainer"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n To prevent keys being silently leaked they are stored on crates.io in hashed form. This means you\\n can only download keys when you first create them. If you have old unused keys you can safely delete\\n them and create a new one.\\n"],[13],[1,"\\n\\n"],[10,2],[15,0,[29,[[28,[37,1],["explainer"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n To use an API token, run "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/commands/cargo-login.html"],[12],[10,"code"],[12],[1,"cargo login"],[13],[13],[1,"\\n on the command line and paste the key when prompted. This will save it to a\\n "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/reference/config.html#credentials"],[12],[1,"local credentials file"],[13],[1,".\\n For CI systems you can use the\\n "],[10,3],[14,6,"https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials"],[12],[10,"code"],[12],[1,"CARGO_REGISTRY_TOKEN"],[13],[13],[1,"\\n environment variable, but make sure that the token stays secret!\\n"],[13],[1,"\\n\\n"],[41,[30,0,["sortedTokens"]],[[[1," "],[10,"ul"],[15,0,[29,[[28,[37,1],["token-list"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[14,"role","list"],[12],[1,"\\n"],[42,[28,[37,10],[[28,[37,10],[[30,0,["sortedTokens"]]],null]],null],null,[[[1," "],[10,"li"],[15,0,[29,[[28,[37,1],[[28,[37,12],["row ",[52,[30,1,["isExpired"]],"expired"]],null]],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n "],[10,"h3"],[15,0,[29,[[28,[37,1],["name"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n "],[1,[30,1,["name"]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[28,[37,14],[[30,1,["endpoint_scopes"]],[30,1,["crate_scopes"]]],null],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["scopes"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n"],[41,[30,1,["endpoint_scopes"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["endpoint-scopes"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n Scopes:\\n\\n"],[42,[28,[37,10],[[28,[37,10],[[28,[30,0,["listToParts"]],[[30,1,["endpoint_scopes"]]],null]],null]],null],null,[[[41,[28,[37,15],[[30,2,["type"]],"element"],null],[[[1," "],[10,"strong"],[12],[1,[30,2,["value"]]],[8,[39,17],null,[["@text"],[[28,[30,0,["scopeDescription"]],[[30,2,["value"]]],null]]],null],[13]],[]],[[[1,[30,2,["value"]]],[1,"\\n"]],[]]]],[2]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["crate_scopes"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["crate-scopes"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n Crates:\\n\\n"],[42,[28,[37,10],[[28,[37,10],[[28,[30,0,["listToParts"]],[[30,1,["crate_scopes"]]],null]],null]],null],null,[[[41,[28,[37,15],[[30,3,["type"]],"element"],null],[[[1," "],[10,"strong"],[12],[1,[30,3,["value"]]],[8,[39,17],null,[["@text"],[[28,[30,0,["patternDescription"]],[[30,3,["value"]]],null]]],null],[13]],[]],[[[1,[30,3,["value"]]],[1,"\\n"]],[]]]],[3]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["metadata"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["last-used-at"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[15,"title",[30,1,["last_used_at"]]],[12],[1,"\\n"],[41,[30,1,["last_used_at"]],[[[1," Last used "],[1,[28,[35,18],[[30,1,["last_used_at"]]],[["addSuffix"],[true]]]],[1,"\\n"]],[]],[[[1," Never used\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,1],["created-at"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[15,"title",[30,1,["created_at"]]],[12],[1,"\\n Created "],[1,[28,[35,18],[[30,1,["created_at"]]],[["addSuffix"],[true]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["expired_at"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["expired-at"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[15,"title",[30,1,["expired_at"]]],[12],[1,"\\n "],[1,[52,[30,1,["isExpired"]],"Expired","Expires"]],[1," "],[1,[28,[35,18],[[30,1,["expired_at"]]],[["addSuffix"],[true]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,1,["token"]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["new-token"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["new-token-explainer"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n Make sure to copy your API token now. You won’t be able to see it again!\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,1],["token-display"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["token-value"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,[30,1,["token"]]],[13],[1,"\\n\\n"],[41,[28,[37,20],null,null],[[[1," "],[8,[39,21],[[16,0,[29,[[28,[37,1],["copy-button"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]]],[["@copyText"],[[30,1,["token"]]]],[["default"],[[[[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["copy-button-label"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"Copy"],[13],[1,"\\n "],[1,[28,[35,22],["copy"],[["aria-hidden","class"],["true",[28,[37,12],[[28,[37,1],["copy-button-icon"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]],null]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["actions"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n"],[41,[51,[30,1,["isExpired"]]],[[[1," "],[8,[39,3],[[16,0,[29,[[28,[37,1],["regenerate-button"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]]],[["@route","@query"],["settings.tokens.new",[28,[37,24],null,[["from"],[[30,1,["id"]]]]]]],[["default"],[[[[1,"\\n Regenerate\\n "]],[]]]]],[1,"\\n "],[11,"button"],[16,0,[29,[[28,[37,1],["revoke-button"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[16,"disabled",[30,1,["isSaving"]]],[24,4,"button"],[4,[32,0],["click",[28,[37,26],[[30,0,["revokeTokenTask"]],[30,1]],null]],null],[12],[1,"\\n Revoke\\n "],[13],[1,"\\n"],[41,[30,1,["isSaving"]],[[[1," "],[8,[39,27],[[16,0,[29,[[28,[37,1],["spinner"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]]],null,null],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["empty-state"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["empty-state-label"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]],[12],[1,"\\n You have not generated any API tokens yet.\\n "],[13],[1,"\\n\\n "],[8,[39,3],[[16,0,[29,[[28,[37,1],["empty-state-button"],[["from"],["crates-io/components/settings/api-tokens.module.css"]]]]]]],[["@route"],["settings.tokens.new"]],[["default"],[[[[1,"\\n New Token\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]]],["token","part","part"],false,["div","local-class","h2","link-to","p","a","code","if","ul","each","-track-array","li","concat","h3","or","eq","strong","ember-tooltip","date-format-distance-to-now","span","is-clipboard-supported","copy-button","svg-jar","unless","hash","button","perform","loading-spinner"]]',moduleName:"crates-io/components/settings/api-tokens.hbs",scope:()=>[d.on],isStrictMode:!1});var p,f,m,g,y=n(25313);let b=(p=class extends c.A{constructor(...e){super(...e),(0,r.A)(this,"store",f,this),(0,r.A)(this,"notifications",m,this),(0,r.A)(this,"router",g,this),(0,i.A)(this,"scopeDescription",u.scopeDescription),(0,i.A)(this,"patternDescription",u.patternDescription),(0,i.A)(this,"revokeTokenTask",(0,o.I)((()=>({context:this,generator:function*(e){try{yield e.destroyRecord();let t=this.args.tokens.indexOf(e);-1!==t&&this.args.tokens.splice(t,1)}catch(e){let t=e.errors?.[0]?.detail,n=t&&!t.startsWith("{")?`An error occurred while revoking this token, ${t}`:"An unknown error occurred while revoking this token";this.notifications.error(n)}}})),null,"revokeTokenTask",null))}get sortedTokens(){return this.args.tokens.filter((e=>!e.isNew)).sort(((e,t)=>e.isExpired&&!t.isExpired?1:t.isExpired&&!e.isExpired?-1:e.created_at{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"me-subheading":"_me-subheading_p8odmp",right:"_right_p8odmp","new-token-button":"_new-token-button_p8odmp _yellow-button_g91299 _button_g91299",explainer:"_explainer_p8odmp","token-list":"_token-list_p8odmp",name:"_name_p8odmp",scopes:"_scopes_p8odmp _small_1oyocj",metadata:"_metadata_p8odmp _small_1oyocj","new-token-form":"_new-token-form_p8odmp",input:"_input_p8odmp",actions:"_actions_p8odmp",spinner:"_spinner_p8odmp","save-button":"_save-button_p8odmp _yellow-button_g91299 _button_g91299 _small_g91299","revoke-button":"_revoke-button_p8odmp _tan-button_g91299 _button_g91299 _small_g91299","regenerate-button":"_regenerate-button_p8odmp _yellow-button_g91299 _button_g91299 _small_g91299","new-token":"_new-token_p8odmp","new-token-explainer":"_new-token-explainer_p8odmp","token-display":"_token-display_p8odmp","token-value":"_token-value_p8odmp","copy-button":"_copy-button_p8odmp _button-reset_g91299","copy-button-label":"_copy-button-label_p8odmp _sr-only_1igkyf","copy-button-icon":"_copy-button-icon_p8odmp","empty-state":"_empty-state_p8odmp","empty-state-label":"_empty-state-label_p8odmp","empty-state-button":"_empty-state-button_p8odmp _yellow-button_g91299 _button_g91299 _small_g91299",expired:"_expired_p8odmp",row:"_row_p8odmp"}},47486:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"RXTkR5U5",block:'[[[11,"ul"],[16,0,[29,[[28,[37,1],["list"],[["from"],["crates-io/components/side-menu.module.css"]]]]]],[24,"role","list"],[17,1],[12],[1,"\\n "],[18,2,[[28,[37,3],null,[["Item"],[[50,"side-menu/item",0,null,null]]]]]],[1,"\\n"],[13]],["&attrs","&default"],false,["ul","local-class","yield","hash","component"]]',moduleName:"crates-io/components/side-menu.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},30927:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_16lti8"}},63780:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(23189);const o=(0,n(59165).createTemplateFactory)({id:"FxN+2C+9",block:'[[[11,"li"],[17,1],[12],[1,"\\n "],[11,3],[16,0,[29,[[28,[37,2],[[28,[37,3],["link ",[52,[30,2,["isActive"]],"active"]],null]],[["from"],["crates-io/components/side-menu/item.module.css"]]]]]],[16,6,[30,2,["url"]]],[4,[32,0],["click",[30,2,["transitionTo"]]],null],[12],[18,3,null],[13],[1,"\\n"],[13]],["&attrs","@link","&default"],false,["li","a","local-class","concat","if","yield"]]',moduleName:"crates-io/components/side-menu/item.hbs",scope:()=>[s.on],isStrictMode:!1}),a=(0,n(25313).setComponentTemplate)(o,i()())},207:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={link:"_link_15zaly",active:"_active_15zaly"}},12946:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"LvoEz1kh",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[30,1,["Trigger"]],[[16,0,[29,[[28,[37,1],["trigger"],[["from"],["crates-io/components/sort-dropdown.module.css"]]]]]]],null,[["default"],[[[[1,"\\n "],[1,[28,[35,2],["sort"],[["class"],[[28,[37,3],[[28,[37,1],["icon"],[["from"],["crates-io/components/sort-dropdown.module.css"]]]],null]]]]],[1,"\\n "],[1,[30,2]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,1,["Menu"]],null,null,[["default"],[[[[1,"\\n "],[18,4,[[28,[37,5],null,[["Option"],[[50,"sort-dropdown/option",0,null,[["menu"],[[30,3]]]]]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],[1]]]]]],["dd","@current","menu","&default"],false,["dropdown","local-class","svg-jar","concat","yield","hash","component"]]',moduleName:"crates-io/components/sort-dropdown.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},11526:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={trigger:"_trigger_xsqxju",icon:"_icon_xsqxju"}},12100:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"sRZz6QAK",block:'[[[8,[30,1,["Item"]],[[17,2]],null,[["default"],[[[[1,"\\n "],[8,[39,0],null,[["@query"],[[30,3]]],[["default"],[[[[18,4,null]],[]]]]],[1,"\\n"]],[]]]]]],["@menu","&attrs","@query","&default"],false,["link-to","yield"]]',moduleName:"crates-io/components/sort-dropdown/option.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},20013:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"ypXTZMrl",block:'[[[11,0],[16,0,[29,[[28,[37,1],["stats-value"],[["from"],["crates-io/components/stats-value.module.css"]]]]]],[17,1],[12],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["value"],[["from"],["crates-io/components/stats-value.module.css"]]]]]],[12],[1,[30,2]],[13],[1,"\\n "],[10,1],[15,0,[29,[[28,[37,1],["label"],[["from"],["crates-io/components/stats-value.module.css"]]]]]],[12],[1,[30,3]],[13],[1,"\\n "],[1,[28,[35,3],[[30,4]],[["role","aria-hidden","class"],["img","true",[28,[37,4],[[28,[37,1],["icon"],[["from"],["crates-io/components/stats-value.module.css"]]]],null]]]]],[1,"\\n"],[13]],["&attrs","@value","@label","@icon"],false,["div","local-class","span","svg-jar","concat"]]',moduleName:"crates-io/components/stats-value.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},60797:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"stats-value":"_stats-value_1laxax",value:"_value_1laxax",label:"_label_1laxax",icon:"_icon_1laxax"}},48520:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"8HhgXkek",block:'[[[11,0],[16,0,[29,[[28,[37,1],[[28,[37,2],["wrapper ",[52,[30,1],"boxed"]],null]],[["from"],["crates-io/components/text-content.module.css"]]]]]],[17,2],[12],[1,"\\n "],[18,3,null],[1,"\\n"],[13]],["@boxed","&attrs","&default"],false,["div","local-class","concat","if","yield"]]',moduleName:"crates-io/components/text-content.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},7289:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={boxed:"_boxed_g1cur3",wrapper:"_wrapper_g1cur3"}},64444:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(59114);const i=(0,n(59165).createTemplateFactory)({id:"vD2c00fS",block:'[[[11,"img"],[16,"src",[30,0,["src"]]],[16,"width",[30,0,["size"]]],[16,"height",[30,0,["size"]]],[16,"alt",[30,0,["alt"]]],[16,"title",[30,0,["title"]]],[24,"decoding","async"],[17,1],[12],[13]],["&attrs"],false,["img"]]',moduleName:"crates-io/components/user-avatar.hbs",isStrictMode:!1});var s=n(25313);class o extends r.A{get size(){return"medium"===this.args.size?85:"medium-small"===this.args.size?32:22}get alt(){return null===this.args.user.name?`(${this.args.user.login})`:`${this.args.user.name} (${this.args.user.login})`}get title(){let e=this.args.user;return e.kind&&"user"!==e.kind?"team"===e.kind?`${e.name} team`:`${e.name} (${e.kind})`:e.name}get src(){return`${this.args.user.avatar}&s=${2*this.size}`}}(0,s.setComponentTemplate)(i,o)},10870:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(7795),i=n.n(r);const s=(0,n(59165).createTemplateFactory)({id:"uypF7wKd",block:'[[[11,3],[16,6,[30,1,["url"]]],[16,"title",[30,1,["login"]]],[17,2],[12],[18,3,null],[13]],["@user","&attrs","&default"],false,["a","yield"]]',moduleName:"crates-io/components/user-link.hbs",isStrictMode:!1}),o=(0,n(25313).setComponentTemplate)(s,i()())},11545:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(65010),i=n(8230),s=n(96639),o=n(94313),a=n(48338),l=n(59114),c=n(54521),u=n(82228),d=n(23189);const h=(0,n(59165).createTemplateFactory)({id:"9BROtZtO",block:'[[[11,0],[16,0,[29,[[28,[37,1],[[28,[37,2],["\\n row\\n ",[52,[30,1,["isHighestOfReleaseTrack"]],"latest"],"\\n ",[52,[30,1,["yanked"]],"yanked"],"\\n ",[52,[30,1,["isPrerelease"]],"prerelease"],"\\n ",[52,[30,0,["focused"]],"focused"],"\\n "],null]],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[17,2],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["version"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["release-track"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n"],[41,[30,1,["yanked"]],[[[1," "],[1,[28,[35,4],["trash"],null]],[1,"\\n"]],[]],[[[41,[30,1,["invalidSemver"]],[[[1," ?\\n"]],[]],[[[41,[30,1,["isFirst"]],[[[1," "],[1,[28,[35,4],["star"],null]],[1,"\\n"]],[]],[[[1," "],[1,[30,1,["releaseTrack"]]],[1,"\\n "]],[]]]],[]]]],[]]],[1,"\\n "],[8,[39,5],null,[["@side"],["right"]],[["default"],[[[[1,"\\n "],[1,[30,0,["releaseTrackTitle"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[39,6],[[16,0,[29,[[28,[37,1],["num-link"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[4,[32,0],["focusin",[28,[37,7],[[30,0,["setFocused"]],true],null]],null],[4,[32,0],["focusout",[28,[37,7],[[30,0,["setFocused"]],false],null]],null]],[["@route","@model"],["crate.version",[30,1,["num"]]]],[["default"],[[[[1,"\\n "],[1,[30,1,["num"]]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[15,0,[29,[[28,[37,1],["metadata"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n "],[10,0],[15,0,[29,[[28,[37,1],["metadata-row"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n"],[41,[30,1,["published_by"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["publisher"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n by\\n "],[8,[39,6],null,[["@route","@model"],["user",[30,1,["published_by","login"]]]],[["default"],[[[[1,"\\n "],[8,[39,9],[[16,0,[29,[[28,[37,1],["avatar"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]]],[["@user"],[[30,1,["published_by"]]]],null],[1,"\\n "],[1,[28,[35,10],[[30,1,["published_by","name"]],[30,1,["published_by","login"]]],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"time"],[15,0,[29,[[28,[37,1],[[28,[37,2],["date ",[52,[30,1,["isNew"]],"new"]],null]],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[15,"datetime",[28,[37,12],[[30,1,["created_at"]]],null]],[12],[1,"\\n "],[1,[28,[35,4],["calendar"],null]],[1,"\\n "],[1,[28,[35,13],[[30,1,["created_at"]]],[["addSuffix"],[true]]]],[1,"\\n\\n "],[8,[39,5],null,null,[["default"],[[[[1,"\\n "],[1,[28,[35,14],[[30,1,["created_at"]],"PPP"],null]],[1,"\\n"],[41,[30,1,["isNew"]],[[[1," ("],[10,1],[15,0,[29,[[28,[37,1],["new"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"new"],[13],[1,")\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[28,[37,10],[[30,1,["crate_size"]],[30,1,["license"]],[30,1,["featureList"]]],null],[[[1," "],[10,0],[15,0,[29,[[28,[37,1],["metadata-row"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n"],[41,[30,1,["msrv"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["msrv"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,4],["rust"],null]],[1,"\\n v"],[1,[30,1,["msrv"]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["crate_size"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["bytes"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,4],["weight"],null]],[1,"\\n "],[1,[28,[35,15],[[30,1,["crate_size"]]],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["license"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["license"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,4],["license"],null]],[1,"\\n "],[8,[39,16],null,[["@license"],[[30,1,["license"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["featureList"]],[[[1," "],[10,1],[15,0,[29,[[28,[37,1],["num-features"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n "],[1,[28,[35,4],["checkbox"],null]],[1,"\\n "],[1,[30,1,["featureList","length"]]],[1," "],[1,[52,[28,[37,17],[[30,1,["featureList","length"]],1],null],"Feature","Features"]],[1,"\\n\\n "],[8,[39,5],null,null,[["default"],[[[[1,"\\n "],[10,"ul"],[15,0,[29,[[28,[37,1],["feature-list"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]],[12],[1,"\\n"],[42,[28,[37,20],[[28,[37,20],[[30,1,["featureList"]]],null]],null],null,[[[1," "],[10,"li"],[12],[1,"\\n "],[1,[28,[35,4],[[52,[30,3,["isDefault"]],"checkbox","checkbox-empty"]],null]],[1,"\\n "],[1,[30,3,["name"]]],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[39,22],null,[["@userAuthorised"],[[30,0,["isOwner"]]]],[["default"],[[[[1,"\\n "],[8,[39,23],[[16,0,[29,[[28,[37,1],["yank-button"],[["from"],["crates-io/components/version-list/row.module.css"]]]]]]],[["@version"],[[30,1]]],null],[1,"\\n "]],[]]]]],[1,"\\n"],[13]],["@version","&attrs","feature"],false,["div","local-class","concat","if","svg-jar","ember-tooltip","link-to","fn","span","user-avatar","or","time","date-format-iso","date-format-distance-to-now","date-format","pretty-bytes","license-expression","eq","ul","each","-track-array","li","privileged-action","yank-button"]]',moduleName:"crates-io/components/version-list/row.hbs",scope:()=>[d.on],isStrictMode:!1});var p,f,m,g=n(25313);let y=(p=class extends l.A{constructor(...e){super(...e),(0,r.A)(this,"session",f,this),(0,r.A)(this,"focused",m,this)}get releaseTrackTitle(){let{version:e}=this.args;if(e.yanked)return(0,a.htmlSafe)(`This version was yanked`);if(e.invalidSemver)return`Failed to parse version ${e.num}`;if(e.isFirst)return"This is the first version that was released";let{releaseTrack:t}=e,n=[];e.isPrerelease&&n.push("prerelease"),e.isHighestOfReleaseTrack&&n.push("latest");let r=`Release Track: ${t}`;return 0!==n.length&&(r+=` (${n.map((e=>{let t=u.default[`rt-${e}`];return t?`${e}`:e})).join(", ")})`),(0,a.htmlSafe)(r)}get isOwner(){return this.args.version.crate?.owner_user?.findBy("id",this.session.currentUser?.id)}setFocused(e){this.focused=e}},f=(0,i.A)(p.prototype,"session",[o.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,i.A)(p.prototype,"focused",[c.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.A)(p.prototype,"setFocused",[s.action],Object.getOwnPropertyDescriptor(p.prototype,"setFocused"),p.prototype),p);(0,g.setComponentTemplate)(h,y)},82228:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={row:"_row_ofj1qe",focused:"_focused_ofj1qe",latest:"_latest_ofj1qe",prerelease:"_prerelease_ofj1qe",yanked:"_yanked_ofj1qe",version:"_version_ofj1qe","release-track":"_release-track_ofj1qe","rt-latest":"_rt-latest_ofj1qe","rt-prerelease":"_rt-prerelease_ofj1qe","rt-yanked":"_rt-yanked_ofj1qe","num-link":"_num-link_ofj1qe",metadata:"_metadata_ofj1qe",avatar:"_avatar_ofj1qe","metadata-row":"_metadata-row_ofj1qe",date:"_date_ofj1qe",new:"_new_ofj1qe",msrv:"_msrv_ofj1qe",bytes:"_bytes_ofj1qe","feature-list":"_feature-list_ofj1qe","yank-button":"_yank-button_ofj1qe"}},17710:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(59114),i=n(23189);const s=(0,n(59165).createTemplateFactory)({id:"eRgETztZ",block:'[[[41,[30,1,["yanked"]],[[[1," "],[11,"button"],[16,0,[29,[[28,[37,2],[[28,[37,3],[[30,0,["localClass"]]],null]],[["from"],["crates-io/components/yank-button.module.css"]]]]]],[24,4,"button"],[17,2],[16,"disabled",[30,1,["unyankTask","isRunning"]]],[4,[32,0],["click",[28,[37,4],[[30,1,["unyankTask"]]],null]],null],[12],[1,"\\n"],[41,[30,1,["unyankTask","isRunning"]],[[[1," Unyanking...\\n"]],[]],[[[1," Unyank\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[11,"button"],[16,0,[29,[[28,[37,2],[[28,[37,3],[[30,0,["localClass"]]],null]],[["from"],["crates-io/components/yank-button.module.css"]]]]]],[24,4,"button"],[17,2],[16,"disabled",[30,1,["yankTask","isRunning"]]],[4,[32,0],["click",[28,[37,4],[[30,1,["yankTask"]]],null]],null],[12],[1,"\\n"],[41,[30,1,["yankTask","isRunning"]],[[[1," Yanking...\\n"]],[]],[[[1," Yank\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]]]],["@version","&attrs"],false,["if","button","local-class","concat","perform"]]',moduleName:"crates-io/components/yank-button.hbs",scope:()=>[i.on],isStrictMode:!1});var o=n(25313);class a extends r.A{get tagName(){return""}get localClass(){return this.args.tan?"tan-button":"yellow-button"}}(0,o.setComponentTemplate)(s,a)},8604:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"yellow-button":"_yellow-button_1u6878 _yellow-button_g91299 _button_g91299 _small_g91299","tan-button":"_tan-button_1u6878 _tan-button_g91299 _button_g91299 _small_g91299"}},63820:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=function(){try{var e="crates-io/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(decodeURIComponent(t))};return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(t){throw new Error('Could not read config from meta tag with name "'+e+'".')}}().default},25652:(e,t,n)=>{"use strict";n.r(t),n.d(t,{APP_HOOK_CUSTOM_EVENTS:()=>i,APP_HOOK_KEY:()=>r,SENTRY_HOOK_KEY:()=>s});const r="hook:ember:app",i={initialize:"hook:ember:initialize"},s="hook:sentry-service"},57026:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r,i,s,o,a=n(65010),l=n(8230),c=n(84532),u=n.n(c),d=n(94313);let h=(r=class extends(u()){constructor(...e){super(...e),(0,a.A)(this,"colorScheme",i,this),(0,a.A)(this,"progress",s,this),(0,a.A)(this,"router",o,this)}get isIndex(){return"index"===this.router.currentRouteName}},i=(0,l.A)(r.prototype,"colorScheme",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.A)(r.prototype,"progress",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,l.A)(r.prototype,"router",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},24397:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r,i,s,o=n(65010),a=n(8230),l=n(84532),c=n.n(l),u=n(96639),d=n(94313);let h=(r=class extends(c()){constructor(...e){super(...e),(0,o.A)(this,"router",i,this),(0,o.A)(this,"session",s,this)}reload(){this.router.replaceWith(this.router.currentURL)}back(){history.back()}},i=(0,a.A)(r.prototype,"router",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a.A)(r.prototype,"session",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a.A)(r.prototype,"reload",[u.action],Object.getOwnPropertyDescriptor(r.prototype,"reload"),r.prototype),(0,a.A)(r.prototype,"back",[u.action],Object.getOwnPropertyDescriptor(r.prototype,"back"),r.prototype),r)},12106:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}get currentSortBy(){return"crates"===this.sort?"# Crates":"Alphabetical"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 100}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"alpha"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},373:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this),(0,h.A)(this,"category",null)}get currentSortBy(){return"downloads"===this.sort?"All-Time Downloads":"alpha"===this.sort?"Alphabetical":"new"===this.sort?"Newly Added":"recent-updates"===this.sort?"Recent Updates":"Recent Downloads"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"recent-downloads"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},72922:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"crate",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),l=(0,p.A)(s.prototype,"crate",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},54347:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(94895),c=n(84532),u=n.n(c),d=n(94313);n(30113);let h=(r=class extends(u()){constructor(...e){super(...e),(0,s.A)(this,"notifications",i,this),(0,o.A)(this,"crate",null),(0,o.A)(this,"username",""),(0,o.A)(this,"addOwnerTask",(0,l.I)((()=>({context:this,generator:function*(){const e=this.username;try{yield this.crate.inviteOwner(e),this.notifications.success(`An invite has been sent to ${e}`)}catch(e){let t=e.errors?.[0]?.detail;t&&!t.startsWith("{")?this.notifications.error(`Error sending invite: ${t}`):this.notifications.error("Error sending invite")}}})),null,"addOwnerTask",null)),(0,o.A)(this,"removeOwnerTask",(0,l.I)((()=>({context:this,generator:function*(e){try{yield this.crate.removeOwner(e.get("login")),"team"===e.kind?(this.notifications.success(`Team ${e.get("display_name")} removed as crate owner`),this.crate.owner_team.removeObject(e)):(this.notifications.success(`User ${e.get("login")} removed as crate owner`),this.crate.owner_user.removeObject(e))}catch(t){let n=`Failed to remove the ${"team"===e.kind?`team ${e.get("display_name")}`:`user ${e.get("login")}`} as crate owner`,r=t.errors?.[0]?.detail;r&&!r.startsWith("{")&&(n+=`: ${r}`),this.notifications.error(n)}}})),null,"removeOwnerTask",null))}},i=(0,a.A)(r.prototype,"notifications",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},66568:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>C});var r,i,s,o,a,l,c,u,d,h,p,f,m,g,y=n(65010),b=n(75402),_=n(8230),v=n(94895),w=n(84532),A=n.n(w),k=n(96639),S=n(94313),E=n(54521),x=(n(30113),n(96876));let C=(r=(0,x.nK)("downloadsContext.version_downloads.content"),i=(0,x.nK)("model.crate"),s=(0,x.nK)("model.requestedVersion"),o=(0,x.nK)("model.version"),a=(0,x.nK)("loadReadmeTask.last.value"),l=class extends(A()){constructor(...e){super(...e),(0,y.A)(this,"mermaid",c,this),(0,y.A)(this,"session",u,this),(0,y.A)(this,"stackedGraph",d,this),(0,y.A)(this,"downloads",h,this),(0,y.A)(this,"crate",p,this),(0,y.A)(this,"requestedVersion",f,this),(0,y.A)(this,"currentVersion",m,this),(0,y.A)(this,"readme",g,this),(0,b.A)(this,"loadReadmeTask",(0,v.I)((()=>({context:this,generator:function*(){let e=this.currentVersion,t=e.loadReadmeTask.lastSuccessful?e.loadReadmeTask.lastSuccessful.value:yield e.loadReadmeTask.perform();if(t.includes("language-mermaid")&&!this.mermaid.loadTask.lastSuccessful?.value)try{yield this.mermaid.loadTask.perform()}catch(e){console.error(e)}return"undefined"!=typeof document&&setTimeout((()=>{let e=new CustomEvent("hashchange");window.dispatchEvent(e)})),t}})),null,"loadReadmeTask",null))}get downloadsContext(){return this.requestedVersion?this.currentVersion:this.crate}setStackedGraph(){this.stackedGraph=!0}setUnstackedGraph(){this.stackedGraph=!1}get isOwner(){return this.crate.owner_user.findBy("id",this.session.currentUser?.id)}},c=(0,_.A)(l.prototype,"mermaid",[S.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,_.A)(l.prototype,"session",[S.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,_.A)(l.prototype,"stackedGraph",[E.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,_.A)(l.prototype,"setStackedGraph",[k.action],Object.getOwnPropertyDescriptor(l.prototype,"setStackedGraph"),l.prototype),(0,_.A)(l.prototype,"setUnstackedGraph",[k.action],Object.getOwnPropertyDescriptor(l.prototype,"setUnstackedGraph"),l.prototype),h=(0,_.A)(l.prototype,"downloads",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,_.A)(l.prototype,"crate",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,_.A)(l.prototype,"requestedVersion",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,_.A)(l.prototype,"currentVersion",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,_.A)(l.prototype,"readme",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l)},97655:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(84532),c=n.n(l),u=n(54521);let d=(r=class extends(c()){constructor(...e){super(...e),(0,o.A)(this,"queryParams",["sort"]),(0,s.A)(this,"sort",i,this)}get currentSortBy(){return"semver"===this.sort?"SemVer":"Date"}get sortedVersions(){let{versionIdsBySemver:e,versionIdsByDate:t,versionsObj:n}=this.model;return("semver"===this.sort?e:t).map((e=>n[e]))}},i=(0,a.A)(r.prototype,"sort",[u.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},55102:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}get currentSortBy(){return"downloads"===this.sort?"All-Time Downloads":"recent-downloads"===this.sort?"Recent Downloads":"recent-updates"===this.sort?"Recent Updates":"new"===this.sort?"Newly Added":"Alphabetical"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 50}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"recent-downloads"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},88108:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(94895),m=n(16895),g=n(84532),y=n.n(g),b=n(94313),_=(n(30113),n(96876)),v=n(2540);let w=(r=(0,_.nK)("model.myCrates"),i=(0,_.nK)("model.myFollowing"),s=(0,_.nK)("model.myStats"),o=class extends(y()){constructor(...e){super(...e),(0,d.A)(this,"store",a,this),(0,h.A)(this,"hasMore",!1),(0,h.A)(this,"myFeed",(0,m.A)()),(0,d.A)(this,"myCrates",l,this),(0,d.A)(this,"myFollowing",c,this),(0,d.A)(this,"myStats",u,this),(0,h.A)(this,"loadMoreTask",(0,f.I)((()=>({context:this,generator:function*(){let e=this.myFeed.length/10+1,t=yield(0,v.default)(`https://crates.io/api/v1/me/updates?page=${e}`),n=t.versions.map((e=>this.store.push(this.store.normalize("version",e))));this.myFeed.pushObjects(n),this.set("hasMore",t.meta.more)}})),null,"loadMoreTask",null))}get visibleCrates(){return this.myCrates.slice(0,5)}get visibleFollowing(){return this.myFollowing.slice(0,5)}get hasMoreCrates(){return this.myCrates.length>5}get hasMoreFollowing(){return this.myFollowing.length>5}},a=(0,p.A)(o.prototype,"store",[b.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,p.A)(o.prototype,"myCrates",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,p.A)(o.prototype,"myFollowing",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(o.prototype,"myStats",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o)},97564:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r,i,s,o,a=n(65010),l=n(75402),c=n(8230),u=n(94895),d=n(84532),h=n.n(d),p=n(96639),f=n(94313),m=(n(30113),n(96876)),g=n(2540);let y=(r=(0,m.Um)("dataTask.lastSuccessful.value"),i=class extends(h()){constructor(...e){super(...e),(0,a.A)(this,"store",s,this),(0,a.A)(this,"model",o,this),(0,l.A)(this,"dataTask",(0,u.I)((()=>({context:this,generator:function*(){let e=yield(0,g.ajax_fail)("https://raw.githubusercontent.com/billy1624/crates.io/rustacean.info/public/related-articles.json");return function(e){let t=e.length;for(;0!=t;){let n=Math.floor(Math.random()*t);t--,[e[t],e[n]]=[e[n],e[t]]}}(e),e.slice(0,100)}})),null,"dataTask","drop"))}get hasData(){return this.dataTask.lastSuccessful&&!this.dataTask.isRunning}fetchData(){return this.dataTask.perform().catch((()=>{}))}},s=(0,c.A)(i.prototype,"store",[f.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,c.A)(i.prototype,"model",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,c.A)(i.prototype,"fetchData",[p.action],Object.getOwnPropertyDescriptor(i.prototype,"fetchData"),i.prototype),i)},64843:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(75402),i=n(84532),s=n.n(i);function o(e){return`https://static.rust-lang.org/cargo-dist/cargo-nightly-${e}.tar.gz`}class a extends(s()){constructor(...e){super(...e),(0,r.A)(this,"linux64",o("x86_64-unknown-linux-gnu")),(0,r.A)(this,"linux32",o("i686-unknown-linux-gnu")),(0,r.A)(this,"mac64",o("x86_64-apple-darwin")),(0,r.A)(this,"mac32",o("i686-apple-darwin")),(0,r.A)(this,"win64",o("x86_64-pc-windows-gnu")),(0,r.A)(this,"win32",o("i686-pc-windows-gnu"))}}},59815:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.crates.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}get currentSortBy(){return"downloads"===this.sort?"All-Time Downloads":"alpha"===this.sort?"Alphabetical":"new"===this.sort?"Newly Added":"recent-updates"===this.sort?"Recent Updates":"Recent Downloads"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"recent-downloads"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},48466:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}get currentSortBy(){return"crates"===this.sort?"# Crates":"Alphabetical"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"crates"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},2571:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}get currentSortBy(){return"downloads"===this.sort?"All-Time Downloads":"recent-downloads"===this.sort?"Recent Downloads":"recent-updates"===this.sort?"Recent Updates":"new"===this.sort?"Newly Added":"Alphabetical"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"alpha"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},10428:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}get currentSortBy(){return"downloads"===this.sort?"Downloads":"Alphabetical"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"alpha"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},90494:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>R});var r,i,s,o,a,l,c,u,d,h,p,f,m,g,y,b=n(65010),_=n(75402),v=n(8230),w=n(94895),A=n(84532),k=n.n(A),S=n(96639),E=n(94313),x=n(54521),C=(n(30113),n(96876)),T=n(85030),O=n(85318);let R=(r=(0,C.Um)("dataTask.lastSuccessful.value"),i=(0,C.Um)("model.meta.total"),s=(0,T.pagination)(),o=(0,C.lc)("totalItems"),a=class extends(k()){constructor(...e){super(...e),(0,b.A)(this,"store",l,this),(0,_.A)(this,"queryParams",["all_keywords","page","per_page","q","sort"]),(0,b.A)(this,"all_keywords",c,this),(0,b.A)(this,"q",u,this),(0,b.A)(this,"page",d,this),(0,b.A)(this,"per_page",h,this),(0,b.A)(this,"sort",p,this),(0,b.A)(this,"model",f,this),(0,b.A)(this,"totalItems",m,this),(0,b.A)(this,"pagination",g,this),(0,b.A)(this,"hasItems",y,this),(0,_.A)(this,"dataTask",(0,w.I)((()=>({context:this,generator:function*(){let{all_keywords:e,page:t,per_page:n,q:r,sort:i}=this,s=r.trim(),o=e?{page:t,per_page:n,sort:i,q:s,all_keywords:e}:{page:t,per_page:n,sort:i,...(0,O.processSearchQuery)(s)};return yield this.store.query("crate",o)}})),null,"dataTask","restartable"))}get hasData(){return this.dataTask.lastSuccessful||!this.dataTask.isRunning}get firstResultPending(){return!this.dataTask.lastComplete&&this.dataTask.isRunning}get pageTitle(){return"Search Results"+(this.q?` for '${this.q}'`:"")}get currentSortBy(){return"downloads"===this.sort?"All-Time Downloads":"recent-downloads"===this.sort?"Recent Downloads":"recent-updates"===this.sort?"Recent Updates":"new"===this.sort?"Newly Added":"Relevance"}get hasMultiCategoryFilter(){return this.q.trim().split(/\s+/).filter((e=>e.startsWith(O.CATEGORY_PREFIX))).length>1}fetchData(){this.dataTask.perform().catch((()=>{}))}},l=(0,v.A)(a.prototype,"store",[E.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,v.A)(a.prototype,"all_keywords",[x.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,v.A)(a.prototype,"q",[x.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),d=(0,v.A)(a.prototype,"page",[x.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),h=(0,v.A)(a.prototype,"per_page",[x.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),p=(0,v.A)(a.prototype,"sort",[x.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,v.A)(a.prototype,"model",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,v.A)(a.prototype,"totalItems",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,v.A)(a.prototype,"pagination",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,v.A)(a.prototype,"hasItems",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,v.A)(a.prototype,"fetchData",[S.action],Object.getOwnPropertyDescriptor(a.prototype,"fetchData"),a.prototype),a)},27473:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r,i,s,o=n(65010),a=n(75402),l=n(8230),c=n(84532),u=n.n(c),d=n(96639),h=n(21266),p=n.n(h),f=n(96876),m=n(2540);let g=(r=(0,f.nK)("model.ownedCrates"),i=class extends(u()){constructor(...e){super(...e),(0,a.A)(this,"isResetting",!1),(0,o.A)(this,"ownedCrates",s,this),(0,a.A)(this,"emailNotificationsError",!1),(0,a.A)(this,"emailNotificationsSuccess",!1)}get hasEmailNotificationFeature(){return p().testing}setAllEmailNotifications(e){this.ownedCrates.forEach((t=>{t.set("email_notifications",e)}))}async saveEmailNotifications(){try{await(0,m.default)("https://crates.io/api/v1/me/email_notifications",{method:"PUT",body:JSON.stringify(this.ownedCrates.map((e=>({id:parseInt(e.id,10),email_notifications:e.email_notifications}))))}),this.setProperties({emailNotificationsError:!1,emailNotificationsSuccess:!0})}catch(e){console.error(e),this.setProperties({emailNotificationsError:!0,emailNotificationsSuccess:!1})}}emailNotificationsSelectAll(){this.setAllEmailNotifications(!0)}emailNotificationsSelectNone(){this.setAllEmailNotifications(!1)}},s=(0,l.A)(i.prototype,"ownedCrates",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.A)(i.prototype,"saveEmailNotifications",[d.action],Object.getOwnPropertyDescriptor(i.prototype,"saveEmailNotifications"),i.prototype),(0,l.A)(i.prototype,"emailNotificationsSelectAll",[d.action],Object.getOwnPropertyDescriptor(i.prototype,"emailNotificationsSelectAll"),i.prototype),(0,l.A)(i.prototype,"emailNotificationsSelectNone",[d.action],Object.getOwnPropertyDescriptor(i.prototype,"emailNotificationsSelectNone"),i.prototype),i)},38737:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>R});var r,i,s,o,a,l,c,u,d,h,p,f,m,g,y,b,_=n(65010),v=n(75402),w=n(8230),A=n(94895),k=n(84532),S=n.n(k),E=n(96639),x=n(94313),C=n(54521),T=(n(30113),n(53271)),O=n(51091);let R=(o=class extends(S()){constructor(){super(...arguments),(0,_.A)(this,"notifications",a,this),(0,_.A)(this,"sentry",l,this),(0,_.A)(this,"store",c,this),(0,_.A)(this,"router",u,this),(0,_.A)(this,"name",d,this),(0,_.A)(this,"nameInvalid",h,this),(0,_.A)(this,"expirySelection",p,this),(0,_.A)(this,"expiryDateInput",f,this),(0,_.A)(this,"expiryDateInvalid",m,this),(0,_.A)(this,"scopes",g,this),(0,_.A)(this,"scopesInvalid",y,this),(0,_.A)(this,"crateScopes",b,this),(0,v.A)(this,"ENDPOINT_SCOPES",["change-owners","publish-new","publish-update","yank"]),(0,v.A)(this,"scopeDescription",O.scopeDescription),(0,v.A)(this,"saveTokenTask",(0,A.I)((()=>({context:this,generator:function*(){if(!this.validate())return;let{name:e,scopes:t}=this,n=this.crateScopes.map((e=>e.pattern));0===n.length&&(n=null);let r=this.store.createRecord("api-token",{name:e,endpoint_scopes:t,crate_scopes:n,expired_at:this.expiryDate});try{yield r.save(),this.reset(),this.router.transitionTo("settings.tokens.index")}catch(e){this.notifications.error("An error has occurred while generating your API token. Please try again later!"),this.sentry.captureException(e),console.error(e)}}})),null,"saveTokenTask",null)),this.reset()}get today(){return(new Date).toISOString().slice(0,10)}get expiryDate(){if("none"===this.expirySelection)return null;if("custom"===this.expirySelection){if(!this.expiryDateInput)return null;let e=(new Date).toISOString().slice(10);return new Date(this.expiryDateInput+e)}let e=new Date;return e.setDate(e.getDate()+Number(this.expirySelection)),e}get expiryDescription(){return"none"===this.expirySelection?"The token will never expire":`The token will expire on ${this.expiryDate.toLocaleDateString(void 0,{dateStyle:"long"})}`}isScopeSelected(e){return this.scopes.includes(e)}reset(){this.name="",this.nameInvalid=!1,this.expirySelection="none",this.expiryDateInput=null,this.expiryDateInvalid=!1,this.scopes=[],this.scopesInvalid=!1,this.crateScopes=T.I0.of()}validate(){this.nameInvalid=!this.name,this.expiryDateInvalid="custom"===this.expirySelection&&!this.expiryDateInput,this.scopesInvalid=0===this.scopes.length;let e=this.crateScopes.map((e=>e.validate(!1))).every(Boolean);return!this.nameInvalid&&!this.expiryDateInvalid&&!this.scopesInvalid&&e}resetNameValidation(){this.nameInvalid=!1}updateExpirySelection(e){this.expiryDateInput=this.expiryDate?.toISOString().slice(0,10),this.expirySelection=e.target.value}resetExpiryDateValidation(){this.expiryDateInvalid=!1}toggleScope(e){this.scopes=this.scopes.includes(e)?this.scopes.filter((t=>t!==e)):[...this.scopes,e],this.scopesInvalid=!1}addCratePattern(e){this.crateScopes.push(new M(e))}removeCrateScope(e){this.crateScopes.splice(e,1)}},a=(0,w.A)(o.prototype,"notifications",[x.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,w.A)(o.prototype,"sentry",[x.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,w.A)(o.prototype,"store",[x.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,w.A)(o.prototype,"router",[x.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,w.A)(o.prototype,"name",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,w.A)(o.prototype,"nameInvalid",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,w.A)(o.prototype,"expirySelection",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,w.A)(o.prototype,"expiryDateInput",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,w.A)(o.prototype,"expiryDateInvalid",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,w.A)(o.prototype,"scopes",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,w.A)(o.prototype,"scopesInvalid",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,w.A)(o.prototype,"crateScopes",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,w.A)(o.prototype,"isScopeSelected",[E.action],Object.getOwnPropertyDescriptor(o.prototype,"isScopeSelected"),o.prototype),(0,w.A)(o.prototype,"resetNameValidation",[E.action],Object.getOwnPropertyDescriptor(o.prototype,"resetNameValidation"),o.prototype),(0,w.A)(o.prototype,"updateExpirySelection",[E.action],Object.getOwnPropertyDescriptor(o.prototype,"updateExpirySelection"),o.prototype),(0,w.A)(o.prototype,"resetExpiryDateValidation",[E.action],Object.getOwnPropertyDescriptor(o.prototype,"resetExpiryDateValidation"),o.prototype),(0,w.A)(o.prototype,"toggleScope",[E.action],Object.getOwnPropertyDescriptor(o.prototype,"toggleScope"),o.prototype),(0,w.A)(o.prototype,"addCratePattern",[E.action],Object.getOwnPropertyDescriptor(o.prototype,"addCratePattern"),o.prototype),(0,w.A)(o.prototype,"removeCrateScope",[E.action],Object.getOwnPropertyDescriptor(o.prototype,"removeCrateScope"),o.prototype),o),M=(r=class{constructor(e){(0,_.A)(this,"pattern",i,this),(0,_.A)(this,"showAsInvalid",s,this),this.pattern=e}get isValid(){return!!(e=this.pattern)&&("*"===e||(e.endsWith("*")&&(e=e.slice(0,-1)),function(e){return[...e].every((e=>function(e){return e>="0"&&e<="9"||e>="A"&&e<="Z"||e>="a"&&e<="z"}(e)||"_"===e||"-"===e))&&"_"!==e[0]&&"-"!==e[0]}(e)));var e}get hasWildcard(){return this.pattern.endsWith("*")}get description(){return this.pattern?this.isValid?(0,O.patternDescription)(this.pattern):"Invalid crate name pattern":"Please enter a crate name pattern"}resetValidation(){this.showAsInvalid=!1}validate(e=!0){let t=this.isValid||e&&""===this.pattern;return this.showAsInvalid=!t,t}},i=(0,w.A)(r.prototype,"pattern",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,w.A)(r.prototype,"showAsInvalid",[C.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,w.A)(r.prototype,"resetValidation",[E.action],Object.getOwnPropertyDescriptor(r.prototype,"resetValidation"),r.prototype),(0,w.A)(r.prototype,"validate",[E.action],Object.getOwnPropertyDescriptor(r.prototype,"validate"),r.prototype),r)},18703:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.crates.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}get currentSortBy(){return"downloads"===this.sort?"All-Time Downloads":"recent-downloads"===this.sort?"Recent Downloads":"recent-updates"===this.sort?"Recent Updates":"new"===this.sort?"Newly Added":"Alphabetical"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"alpha"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},45425:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r,i,s,o,a,l,c,u,d=n(65010),h=n(75402),p=n(8230),f=n(84532),m=n.n(f),g=n(54521),y=n(96876),b=n(85030);let _=(r=(0,y.Um)("model.crates.meta.total"),i=(0,b.pagination)(),s=class extends(m()){constructor(...e){super(...e),(0,h.A)(this,"queryParams",["page","per_page","sort"]),(0,d.A)(this,"page",o,this),(0,d.A)(this,"per_page",a,this),(0,d.A)(this,"sort",l,this),(0,d.A)(this,"totalItems",c,this),(0,d.A)(this,"pagination",u,this)}get currentSortBy(){return"downloads"===this.sort?"All-Time Downloads":"recent-downloads"===this.sort?"Recent Downloads":"recent-updates"===this.sort?"Recent Updates":"new"===this.sort?"Newly Added":"Alphabetical"}},o=(0,p.A)(s.prototype,"page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"1"}}),a=(0,p.A)(s.prototype,"per_page",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),l=(0,p.A)(s.prototype,"sort",[g.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"alpha"}}),c=(0,p.A)(s.prototype,"totalItems",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.A)(s.prototype,"pagination",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},63148:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r=n(9294),i=n(41384);var s=n(9050);function o(e,t){const n=(0,s.a)(e),r=(0,s.a)(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var a=n(61204);var l=n(55319);function c(e){const t=(0,s.a)(e);return+(0,l.D)(t)==+function(e){const t=(0,s.a)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}(t)}function u(e,t){const n=(0,s.a)(e),r=(0,s.a)(t),i=o(n,r),a=Math.abs(function(e,t){const n=(0,s.a)(e),r=(0,s.a)(t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(n,r));let l;if(a<1)l=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-i*a);let t=o(n,r)===-i;c((0,s.a)(e))&&1===a&&1===o(e,r)&&(t=!1),l=i*(a-Number(t))}return 0===l?0:l}function d(e,t,n){const r=function(e,t){return+(0,s.a)(e)-+(0,s.a)(t)}(e,t)/1e3;return(i=n?.roundingMethod,e=>{const t=(i?Math[i]:Math.trunc)(e);return 0===t?0:t})(r);var i}var h=n(22444),p=n(45087),f=n(63807);const m=function(e,t){return function(e,t,n){const r=(0,p.q)(),i=n?.locale??r.locale??h.c,l=o(e,t);if(isNaN(l))throw new RangeError("Invalid time value");const c=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:l});let m,g;l>0?(m=(0,s.a)(t),g=(0,s.a)(e)):(m=(0,s.a)(e),g=(0,s.a)(t));const y=d(g,m),b=((0,f.G)(g)-(0,f.G)(m))/1e3,_=Math.round((y-b)/60);let v;if(_<2)return n?.includeSeconds?y<5?i.formatDistance("lessThanXSeconds",5,c):y<10?i.formatDistance("lessThanXSeconds",10,c):y<20?i.formatDistance("lessThanXSeconds",20,c):y<40?i.formatDistance("halfAMinute",0,c):y<60?i.formatDistance("lessThanXMinutes",1,c):i.formatDistance("xMinutes",1,c):0===_?i.formatDistance("lessThanXMinutes",1,c):i.formatDistance("xMinutes",_,c);if(_<45)return i.formatDistance("xMinutes",_,c);if(_<90)return i.formatDistance("aboutXHours",1,c);if(_{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(9294),i=n(9050),s=n(73638);const o=(0,r.helper)((function([e],t){if(e)return function(e,t){const n=(0,i.a)(e);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");const r=t?.format??"extended",o=t?.representation??"complete";let a="",l="";const c="extended"===r?"-":"",u="extended"===r?":":"";if("time"!==o){const e=(0,s.F)(n.getDate(),2),t=(0,s.F)(n.getMonth()+1,2);a=`${(0,s.F)(n.getFullYear(),4)}${c}${t}${c}${e}`}if("date"!==o){const e=n.getTimezoneOffset();if(0!==e){const t=Math.abs(e);l=`${e<0?"+":"-"}${(0,s.F)(Math.trunc(t/60),2)}:${(0,s.F)(t%60,2)}`}else l="Z";a=`${a}${""===a?"":"T"}${[(0,s.F)(n.getHours(),2),(0,s.F)(n.getMinutes(),2),(0,s.F)(n.getSeconds(),2)].join(u)}${l}`}return a}(e,{...t})}))},192:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9294),i=n(78836);const s=(0,r.helper)((function([e,t],n){if(e)return(0,i.Ay)(e,t,{...n})}))},66492:(e,t,n)=>{"use strict";function r([e]){return function(t){document.activeElement===document.body&&(t.preventDefault(),document.querySelector(e).focus())}}n.r(t),n.d(t,{default:()=>i,focus:()=>r});const i=(0,n(9294).helper)(r)},87008:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l,formatEmail:()=>a});var r=n(9294),i=n(48338),s=n(21266);const o=n.n(s)().Handlebars.Utils.escapeExpression;function a(e){let t=e.match(/^(.*?)\s*(?:<(.*)>)?$/),n="";return n+=o(t[1]),t[2]&&(n=`
${n}`),(0,i.htmlSafe)(n)}const l=(0,r.helper)((e=>a(e[0])))},32388:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(9294),l=n.n(a),c=n(94313);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"intl",i,this)}compute([e]){return this.intl.formatNumber(e)}},i=(0,o.A)(r.prototype,"intl",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},42020:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(9294).helper)((function(e){let[t]=e;return"*"===t?"":t}))},60745:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o,htmlSafe:()=>s});var r=n(9294),i=n(48338);function s([e]){return(0,i.htmlSafe)(e)}const o=(0,r.helper)(s)},46394:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9294);const i=Boolean(navigator.clipboard?.writeText),s=(0,r.helper)((()=>i))},89225:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9294),i=n(50111);const s=(0,r.helper)((function([e]){if(e)return(0,i.parseLicense)(e)}))},91860:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(9294).helper)((([e])=>Array.from({length:e})))},96574:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(9294);const i=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],s=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],o=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],a=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],l=(e,t,n)=>{let r=e;return"string"==typeof t||Array.isArray(t)?r=e.toLocaleString(t,n):!0!==t&&void 0===n||(r=e.toLocaleString(void 0,n)),r},c=(0,r.helper)((([e],t)=>function(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);const n=(t={bits:!1,binary:!1,space:!0,...t}).bits?t.binary?a:o:t.binary?s:i,r=t.space?" ":"";if(t.signed&&0===e)return` 0${r}${n[0]}`;const c=e<0,u=c?"-":t.signed?"+":"";let d;if(c&&(e=-e),void 0!==t.minimumFractionDigits&&(d={minimumFractionDigits:t.minimumFractionDigits}),void 0!==t.maximumFractionDigits&&(d={maximumFractionDigits:t.maximumFractionDigits,...d}),e<1)return u+l(e,t.locale,d)+r+n[0];const h=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1);return e/=(t.binary?1024:1e3)**h,d||(e=e.toPrecision(3)),u+l(Number(e),t.locale,d)+r+n[h]}(e,{binary:!0,...t})))},6712:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(9294).helper)((function([e]){e?window.document.documentElement.dataset.colorScheme=e:delete window.document.documentElement.dataset.colorScheme}))},7380:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(9294).helper)((function([e]){window.document&&(e?window.document.documentElement.dataset.theme=e:delete window.document.documentElement.dataset.theme)}))},84907:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(9294).helper)((function([...e]){return e.reduce(((e,t)=>e+t),0)}))},85538:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r=(0,n(9294).helper)((function(e){let[t]=e;return t&&t.length>200?`${t.slice(0,200)} ...`:t}))},15305:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a,initialize:()=>o});var r=n(63820),i=n(25652),s=n(97345);function o(e){if("production"===r.default.environment)return;const t=e.__container__?.owner;t&&(e.register(i.SENTRY_HOOK_KEY,s.MockSentryService,{instantiate:!1}),e.deferReadiness(),async function(e,t){const n=window[Symbol.for(i.APP_HOOK_KEY)];if(n&&Array.isArray(n))for(let r of n)await r(e,t)}(t,e).then((()=>e.advanceReadiness())),window.dispatchEvent(new CustomEvent(i.APP_HOOK_CUSTOM_EVENTS.initialize,{detail:{owner:t}})))}const a={name:"app.hook",initialize:o}},27388:(e,t,n)=>{"use strict";function r(){if(document.querySelector(":target"))return;const e=function(e){try{return decodeURIComponent(e.slice(1))}catch{return""}}(location.hash),t=function(e,t){if(""!==t)try{return e.querySelector(`#${t}`)||e.getElementsByName(t)[0]}catch{return}}(document,`user-content-${e}`);t&&t.scrollIntoView()}function i(){window.addEventListener("hashchange",r),document.addEventListener("click",(function(e){"A"===e.target.tagName&&this.href===location.href&&location.hash.length>1&&setTimeout((function(){e.defaultPrevented||r()}))}))}n.r(t),n.d(t,{default:()=>s,initialize:()=>i});const s={name:"app.hashchange",initialize:i}},38129:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r,i,s,o,a,l,c,u,d,h,p,f=n(65010),m=n(8230),g=n(33337);let y=(r=(0,g.CF)("date"),i=(0,g.CF)("date"),s=(0,g.CF)("date"),o=class extends g.Ay{constructor(...e){super(...e),(0,f.A)(this,"name",a,this),(0,f.A)(this,"token",l,this),(0,f.A)(this,"created_at",c,this),(0,f.A)(this,"last_used_at",u,this),(0,f.A)(this,"crate_scopes",d,this),(0,f.A)(this,"endpoint_scopes",h,this),(0,f.A)(this,"expired_at",p,this)}get isExpired(){return!!this.expired_at&&Date.now()>this.expired_at.getTime()}},a=(0,m.A)(o.prototype,"name",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,m.A)(o.prototype,"token",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,m.A)(o.prototype,"created_at",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,m.A)(o.prototype,"last_used_at",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,m.A)(o.prototype,"crate_scopes",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,m.A)(o.prototype,"endpoint_scopes",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,m.A)(o.prototype,"expired_at",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o)},52273:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r,i,s,o=n(65010),a=n(8230),l=n(33337);let c=(r=class extends l.Ay{constructor(...e){super(...e),(0,o.A)(this,"slug",i,this),(0,o.A)(this,"description",s,this)}},i=(0,a.A)(r.prototype,"slug",[l.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a.A)(r.prototype,"description",[l.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},30397:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r,i,s,o,a,l,c,u,d,h,p,f=n(65010),m=n(8230),g=n(33337);let y=(r=(0,g.CF)("date"),i=(0,g.iQ)("crate",{async:!0,inverse:null}),s=class extends g.Ay{constructor(...e){super(...e),(0,f.A)(this,"category",o,this),(0,f.A)(this,"slug",a,this),(0,f.A)(this,"description",l,this),(0,f.A)(this,"created_at",c,this),(0,f.A)(this,"crates_cnt",u,this),(0,f.A)(this,"subcategories",d,this),(0,f.A)(this,"parent_categories",h,this),(0,f.A)(this,"crates",p,this)}},o=(0,m.A)(s.prototype,"category",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,m.A)(s.prototype,"slug",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,m.A)(s.prototype,"description",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,m.A)(s.prototype,"created_at",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,m.A)(s.prototype,"crates_cnt",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,m.A)(s.prototype,"subcategories",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,m.A)(s.prototype,"parent_categories",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,m.A)(s.prototype,"crates",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},63576:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r,i,s,o,a,l,c,u,d,h,p=n(65010),f=n(8230),m=n(33337);let g=(r=(0,m.CF)("date"),i=(0,m.g4)("user",{async:!1,inverse:null}),s=(0,m.g4)("user",{async:!1,inverse:null}),o=class extends m.Ay{constructor(...e){super(...e),(0,p.A)(this,"crate_name",a,this),(0,p.A)(this,"crate_id",l,this),(0,p.A)(this,"created_at",c,this),(0,p.A)(this,"accepted",u,this),(0,p.A)(this,"invitee",d,this),(0,p.A)(this,"inviter",h,this)}},a=(0,f.A)(o.prototype,"crate_name",[m.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,f.A)(o.prototype,"crate_id",[m.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,f.A)(o.prototype,"created_at",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,f.A)(o.prototype,"accepted",[m.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,f.A)(o.prototype,"invitee",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,f.A)(o.prototype,"inviter",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o)},50858:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>L});var r,i,s,o,a,l,c,u,d,h,p,f,m,g,y,b,_,v,w,A,k,S,E,x,C,T,O,R,M,D=n(65010),N=n(8230),P=n(33337),F=n(10055),j=n(42796),I=n(13703);let L=(r=(0,P.CF)("date"),i=(0,P.CF)("date"),s=(0,P.iQ)("version",{async:!0,inverse:"crate"}),o=(0,P.iQ)("team",{async:!0,inverse:null}),a=(0,P.iQ)("user",{async:!0,inverse:null}),l=(0,P.iQ)("version-download",{async:!0,inverse:null}),c=(0,P.iQ)("keyword",{async:!0,inverse:null}),u=(0,P.iQ)("category",{async:!0,inverse:null}),d=(0,P.iQ)("dependency",{async:!0,inverse:null}),h=class extends P.Ay{constructor(...e){super(...e),(0,D.A)(this,"name",p,this),(0,D.A)(this,"downloads",f,this),(0,D.A)(this,"recent_downloads",m,this),(0,D.A)(this,"created_at",g,this),(0,D.A)(this,"updated_at",y,this),(0,D.A)(this,"max_version",b,this),(0,D.A)(this,"max_stable_version",_,this),(0,D.A)(this,"newest_version",v,this),(0,D.A)(this,"description",w,this),(0,D.A)(this,"homepage",A,this),(0,D.A)(this,"documentation",k,this),(0,D.A)(this,"repository",S,this),(0,D.A)(this,"versions",E,this),(0,D.A)(this,"owner_team",x,this),(0,D.A)(this,"owner_user",C,this),(0,D.A)(this,"version_downloads",T,this),(0,D.A)(this,"keywords",O,this),(0,D.A)(this,"categories",R,this),(0,D.A)(this,"reverse_dependencies",M,this)}get defaultVersion(){return this.max_stable_version?this.max_stable_version:this.max_version&&"0.0.0"!==this.max_version?this.max_version:void 0}get versionIdsBySemver(){return(this.versions.toArray()??[]).sort(z).map((e=>e.id))}get versionIdsByDate(){return(this.versions.toArray()??[]).sort($).map((e=>e.id))}get firstVersionId(){return this.versionIdsByDate.at(-1)}get versionsObj(){let e=this.versions.toArray()??[];return Object.fromEntries(e.map((e=>[e.id,e])))}get releaseTrackSet(){let e=new Map,{versionsObj:t,versionIdsBySemver:n}=this;for(let r of n){let{releaseTrack:n,isPrerelease:i,yanked:s}=t[r];!n||i||s||e.has(n)||e.set(n,r)}return new Set(e.values())}get owners(){return[...this.owner_team.toArray()??[],...this.owner_user.toArray()??[]]}async follow(){return await(0,F.YZ)((0,j.x)(this,{method:"PUT",path:"follow"}))}async unfollow(){return await(0,F.YZ)((0,j.x)(this,{method:"DELETE",path:"follow"}))}async inviteOwner(e){let t=await(0,F.YZ)((0,j.x)(this,{method:"PUT",path:"owners",data:{owners:[e]}}));if(t.ok)return t;throw t}async removeOwner(e){let t=await(0,F.YZ)((0,j.x)(this,{method:"DELETE",path:"owners",data:{owners:[e]}}));if(t.ok)return t;throw t}},p=(0,N.A)(h.prototype,"name",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,N.A)(h.prototype,"downloads",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,N.A)(h.prototype,"recent_downloads",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,N.A)(h.prototype,"created_at",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,N.A)(h.prototype,"updated_at",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,N.A)(h.prototype,"max_version",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,N.A)(h.prototype,"max_stable_version",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,N.A)(h.prototype,"newest_version",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,N.A)(h.prototype,"description",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,N.A)(h.prototype,"homepage",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,N.A)(h.prototype,"documentation",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,N.A)(h.prototype,"repository",[P.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,N.A)(h.prototype,"versions",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,N.A)(h.prototype,"owner_team",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,N.A)(h.prototype,"owner_user",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,N.A)(h.prototype,"version_downloads",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,N.A)(h.prototype,"keywords",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,N.A)(h.prototype,"categories",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,N.A)(h.prototype,"reverse_dependencies",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,N.A)(h.prototype,"versionIdsBySemver",[I.PO],Object.getOwnPropertyDescriptor(h.prototype,"versionIdsBySemver"),h.prototype),(0,N.A)(h.prototype,"versionIdsByDate",[I.PO],Object.getOwnPropertyDescriptor(h.prototype,"versionIdsByDate"),h.prototype),(0,N.A)(h.prototype,"firstVersionId",[I.PO],Object.getOwnPropertyDescriptor(h.prototype,"firstVersionId"),h.prototype),(0,N.A)(h.prototype,"versionsObj",[I.PO],Object.getOwnPropertyDescriptor(h.prototype,"versionsObj"),h.prototype),(0,N.A)(h.prototype,"releaseTrackSet",[I.PO],Object.getOwnPropertyDescriptor(h.prototype,"releaseTrackSet"),h.prototype),h);function z(e,t){let n=e.semver,r=t.semver;return n===r?t.created_at-e.created_at:null===n?1:null===r?-1:r.compare(n)}function $(e,t){let n=t.created_at.getTime(),r=e.created_at.getTime();return n===r?parseInt(t.id)-parseInt(e.id):n-r}},61516:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r,i,s,o,a,l,c,u,d,h,p,f=n(65010),m=n(8230),g=n(33337);n(62542).Ay.inflector.irregular("dependency","dependencies");let y=(r=(0,g.CF)({defaultValue:()=>[]}),i=(0,g.g4)("version",{async:!1,inverse:"dependencies"}),s=class extends g.Ay{constructor(...e){super(...e),(0,f.A)(this,"crate_id",o,this),(0,f.A)(this,"req",a,this),(0,f.A)(this,"optional",l,this),(0,f.A)(this,"default_features",c,this),(0,f.A)(this,"features",u,this),(0,f.A)(this,"kind",d,this),(0,f.A)(this,"downloads",h,this),(0,f.A)(this,"version",p,this)}},o=(0,m.A)(s.prototype,"crate_id",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,m.A)(s.prototype,"req",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,m.A)(s.prototype,"optional",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,m.A)(s.prototype,"default_features",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,m.A)(s.prototype,"features",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,m.A)(s.prototype,"kind",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,m.A)(s.prototype,"downloads",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,m.A)(s.prototype,"version",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},78522:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r,i,s,o,a,l,c,u=n(65010),d=n(8230),h=n(33337);let p=(r=(0,h.CF)("date"),i=(0,h.iQ)("crate",{async:!0,inverse:null}),s=class extends h.Ay{constructor(...e){super(...e),(0,u.A)(this,"keyword",o,this),(0,u.A)(this,"created_at",a,this),(0,u.A)(this,"crates_cnt",l,this),(0,u.A)(this,"crates",c,this)}},o=(0,d.A)(s.prototype,"keyword",[h.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,d.A)(s.prototype,"created_at",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,d.A)(s.prototype,"crates_cnt",[h.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,d.A)(s.prototype,"crates",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},40858:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r,i,s,o=n(65010),a=n(8230),l=n(33337);let c=(r=class extends l.Ay{constructor(...e){super(...e),(0,o.A)(this,"name",i,this),(0,o.A)(this,"email_notifications",s,this)}},i=(0,a.A)(r.prototype,"name",[l.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a.A)(r.prototype,"email_notifications",[l.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},37456:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,i,s,o,a,l,c,u,d=n(65010),h=n(8230),p=n(33337);let f=(r=class extends p.Ay{constructor(...e){super(...e),(0,d.A)(this,"email",i,this),(0,d.A)(this,"name",s,this),(0,d.A)(this,"login",o,this),(0,d.A)(this,"api_token",a,this),(0,d.A)(this,"avatar",l,this),(0,d.A)(this,"url",c,this),(0,d.A)(this,"kind",u,this)}get org_name(){return this.login.split(":")[1]}get display_name(){return`${this.org_name}/${this.name}`}},i=(0,h.A)(r.prototype,"email",[p.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,h.A)(r.prototype,"name",[p.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,h.A)(r.prototype,"login",[p.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,h.A)(r.prototype,"api_token",[p.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,h.A)(r.prototype,"avatar",[p.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,h.A)(r.prototype,"url",[p.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,h.A)(r.prototype,"kind",[p.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},26086:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r,i,s,o,a,l,c,u,d,h,p,f=n(65010),m=n(8230),g=n(33337),y=n(94313),b=n(10055),_=n(42796);let v=(r=class extends g.Ay{constructor(...e){super(...e),(0,f.A)(this,"store",i,this),(0,f.A)(this,"email",s,this),(0,f.A)(this,"email_verified",o,this),(0,f.A)(this,"email_verification_sent",a,this),(0,f.A)(this,"name",l,this),(0,f.A)(this,"is_admin",c,this),(0,f.A)(this,"login",u,this),(0,f.A)(this,"avatar",d,this),(0,f.A)(this,"url",h,this),(0,f.A)(this,"kind",p,this)}async stats(){return await(0,b.YZ)((0,_.x)(this,{method:"GET",path:"stats"}))}async changeEmail(e){await(0,b.YZ)((0,_.x)(this,{method:"PUT",data:{user:{email:e}}})),this.store.pushPayload({user:{id:this.id,email:e,email_verified:!1,email_verification_sent:!0}})}async resendVerificationEmail(){return await(0,b.YZ)((0,_.x)(this,{method:"PUT",path:"resend"}))}},i=(0,m.A)(r.prototype,"store",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,m.A)(r.prototype,"email",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,m.A)(r.prototype,"email_verified",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,m.A)(r.prototype,"email_verification_sent",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,m.A)(r.prototype,"name",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,m.A)(r.prototype,"is_admin",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,m.A)(r.prototype,"login",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,m.A)(r.prototype,"avatar",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,m.A)(r.prototype,"url",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,m.A)(r.prototype,"kind",[g.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},42470:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s,o,a,l=n(65010),c=n(8230),u=n(33337);let d=(r=(0,u.g4)("version",{async:!1,inverse:null}),i=class extends u.Ay{constructor(...e){super(...e),(0,l.A)(this,"downloads",s,this),(0,l.A)(this,"date",o,this),(0,l.A)(this,"version",a,this)}},s=(0,c.A)(i.prototype,"downloads",[u.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,c.A)(i.prototype,"date",[u.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,c.A)(i.prototype,"version",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i)},67425:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>U});var r,i,s,o,a,l,c,u,d,h,p,f,m,g,y,b,_,v,w,A,k,S,E,x,C,T,O,R,M=n(65010),D=n(75402),N=n(8230),P=n(94895),F=n(33337),j=(n(30113),n(20561)),I=n.n(j),L=n(96876),z=n(71093),$=n.n(z),q=n(13703),B=n(2540);let U=(r=(0,F.CF)("date"),i=(0,F.g4)("crate",{async:!1,inverse:"versions"}),s=(0,F.g4)("user",{async:!1,inverse:null}),o=(0,F.iQ)("dependency",{async:!0,inverse:"version"}),a=(0,F.iQ)("version-download",{async:!0,inverse:null}),l=(0,L.nK)("loadDepsTask.last.value.normal"),c=(0,L.nK)("loadDepsTask.last.value.build"),u=(0,L.nK)("loadDepsTask.last.value.dev"),d=class extends F.Ay{constructor(...e){super(...e),(0,M.A)(this,"num",h,this),(0,M.A)(this,"dl_path",p,this),(0,M.A)(this,"readme_path",f,this),(0,M.A)(this,"created_at",m,this),(0,M.A)(this,"downloads",g,this),(0,M.A)(this,"features",y,this),(0,M.A)(this,"yanked",b,this),(0,M.A)(this,"license",_,this),(0,M.A)(this,"crate_size",v,this),(0,M.A)(this,"rust_version",w,this),(0,M.A)(this,"has_lib",A,this),(0,M.A)(this,"bin_names",k,this),(0,M.A)(this,"crate",S,this),(0,M.A)(this,"published_by",E,this),(0,M.A)(this,"dependencies",x,this),(0,M.A)(this,"version_downloads",C,this),(0,M.A)(this,"normalDependencies",T,this),(0,M.A)(this,"buildDependencies",O,this),(0,M.A)(this,"devDependencies",R,this),(0,D.A)(this,"loadDepsTask",(0,P.I)((()=>({context:this,generator:function*(){let e=yield this.dependencies;return{normal:e.filter((e=>"normal"===e.kind)),build:e.filter((e=>"build"===e.kind)),dev:e.filter((e=>"dev"===e.kind))}}})),null,"loadDepsTask","keepLatest")),(0,D.A)(this,"loadReadmeTask",(0,P.I)((()=>({context:this,generator:function*(){if(this.readme_path){let e=yield I()("https://crates.io"+this.readme_path);if(!e.ok)throw new Error(`README request for ${this.crateName} v${this.num} failed`);return yield e.text()}}})),null,"loadReadmeTask","keepLatest")),(0,D.A)(this,"loadDocsStatusTask",(0,P.I)((()=>({context:this,generator:function*(){return yield(0,B.default)(`https://docs.rs/crate/${this.crateName}/=${this.num}/status.json`)}})),null,"loadDocsStatusTask",null)),(0,D.A)(this,"yankTask",(0,P.I)((()=>({context:this,generator:function*(){let e=yield I()(`https://crates.io/api/v1/crates/${this.crate.id}/${this.num}/yank`,{method:"DELETE"});if(!e.ok)throw new Error(`Yank request for ${this.crateName} v${this.num} failed`);return this.set("yanked",!0),yield e.text()}})),null,"yankTask","keepLatest")),(0,D.A)(this,"unyankTask",(0,P.I)((()=>({context:this,generator:function*(){let e=yield I()(`https://crates.io/api/v1/crates/${this.crate.id}/${this.num}/unyank`,{method:"PUT"});if(!e.ok)throw new Error(`Unyank request for ${this.crateName} v${this.num} failed`);return this.set("yanked",!1),yield e.text()}})),null,"unyankTask","keepLatest"))}get crateName(){return this.belongsTo("crate").id()}get msrv(){let e=this.rust_version;return/^[^.]+\.[^.]+$/.test(e)?`${e}.0`:e}get isNew(){return Date.now()-this.created_at.getTime()<6912e5}get isFirst(){return this.id===this.crate?.firstVersionId}get semver(){return $()(this.num,{loose:!0})}get invalidSemver(){return null===this.semver}get isPrerelease(){return!this.invalidSemver&&0!==this.semver.prerelease.length}get releaseTrack(){if(this.invalidSemver)return null;let{semver:e}=this;return e.major>=100?String(e.major):`${e.major}.${0===e.major?e.minor:"x"}`}get isHighestOfReleaseTrack(){return!this.isPrerelease&&!this.invalidSemver&&this.crate?.releaseTrackSet.has(this.id)}get featureList(){let{features:e}=this;if("object"!=typeof e||null===e)return[];let t=e.default??[];return Object.keys(e).filter((e=>"default"!==e)).sort().map((n=>({name:n,isDefault:t.includes(n),dependencies:e[n]})))}get hasDocsRsLink(){let e=this.loadDocsStatusTask.lastSuccessful?.value;return!0===e?.doc_status}get docsRsLink(){if(this.hasDocsRsLink)return`https://docs.rs/${this.crateName}/${this.num}`}get documentationLink(){let e=this.crate.documentation;if(e&&!e.startsWith("https://docs.rs/"))return e;let{docsRsLink:t}=this;return t||e||null}},h=(0,N.A)(d.prototype,"num",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,N.A)(d.prototype,"dl_path",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,N.A)(d.prototype,"readme_path",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,N.A)(d.prototype,"created_at",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,N.A)(d.prototype,"downloads",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,N.A)(d.prototype,"features",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,N.A)(d.prototype,"yanked",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,N.A)(d.prototype,"license",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,N.A)(d.prototype,"crate_size",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,N.A)(d.prototype,"rust_version",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,N.A)(d.prototype,"has_lib",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,N.A)(d.prototype,"bin_names",[F.CF],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,N.A)(d.prototype,"crate",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,N.A)(d.prototype,"published_by",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,N.A)(d.prototype,"dependencies",[o],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,N.A)(d.prototype,"version_downloads",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,N.A)(d.prototype,"isFirst",[q.PO],Object.getOwnPropertyDescriptor(d.prototype,"isFirst"),d.prototype),(0,N.A)(d.prototype,"isHighestOfReleaseTrack",[q.PO],Object.getOwnPropertyDescriptor(d.prototype,"isHighestOfReleaseTrack"),d.prototype),T=(0,N.A)(d.prototype,"normalDependencies",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,N.A)(d.prototype,"buildDependencies",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,N.A)(d.prototype,"devDependencies",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d)},42249:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(75402),i=n(7608),s=n.n(i),o=n(63820);class a extends(s()){constructor(...e){super(...e),(0,r.A)(this,"location",o.default.locationType),(0,r.A)(this,"rootURL",o.default.rootURL)}}a.map((function(){this.route("crates"),this.route("crate",{path:"/crates/:crate_id"},(function(){this.route("articles")})),this.route("user",{path:"/users/:user_id"}),this.route("search"),this.route("keywords"),this.route("keyword",{path:"/keywords/:keyword_id"},(function(){this.route("index",{path:"/"})})),this.route("categories"),this.route("category",{path:"/categories/:category_id"},(function(){this.route("index",{path:"/"})})),this.route("catch-all",{path:"*path"})}))},96475:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s,o=n(65010),a=n(8230),l=n(23648),c=n.n(l),u=n(94313);let d=(r=class extends(c()){constructor(...e){super(...e),(0,o.A)(this,"router",i,this),(0,o.A)(this,"session",s,this)}async beforeModel(e){(await this.session.loadUserTask.last).currentUser||(this.session.savedTransition=e,this.router.replaceWith("catch-all",{transition:e,loginNeeded:!0,title:"This page requires authentication"}))}},i=(0,a.A)(r.prototype,"router",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a.A)(r.prototype,"session",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},45055:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(23648),i=n.n(r),s=n(2540);class o extends(i()){async model(e){try{return await(0,s.default)(`https://crates.io/api/v1/me/crate_owner_invitations/accept/${e.token}`,{method:"PUT",body:"{}"}),{ok:!0}}catch(e){let t=await(e.json?.()),n=t?.errors?.[0]?.detail;return{ok:!1,errorText:n}}}}},61935:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r,i,s,o,a,l,c,u=n(65010),d=n(75402),h=n(8230),p=n(94895),f=n(96639),m=n(23648),g=n.n(m),y=n(94313),b=n(21266),_=n.n(b),v=n(30113),w=n(2540);let A=(r=class extends(g()){constructor(...e){super(...e),(0,u.A)(this,"notifications",i,this),(0,u.A)(this,"progress",s,this),(0,u.A)(this,"router",o,this),(0,u.A)(this,"session",a,this),(0,u.A)(this,"playground",l,this),(0,u.A)(this,"sentry",c,this),(0,d.A)(this,"preloadPlaygroundCratesTask",(0,p.I)((()=>({context:this,generator:function*(){yield(0,v.Oc)(1e3),yield this.playground.loadCrates()}})),null,"preloadPlaygroundCratesTask",null)),(0,d.A)(this,"checkReadOnlyStatusTask",(0,p.I)((()=>({context:this,generator:function*(){let e=_().testing?0:1e3;yield(0,v.Oc)(e);let{read_only:t}=yield(0,w.default)("https://crates.io/api/v1/site_metadata");if(t){let e="crates.io is currently in read-only mode for maintenance reasons. Some functionality will be temporarily unavailable.";this.notifications.info(e,{autoClear:!1})}}})),null,"checkReadOnlyStatusTask","drop"))}async beforeModel(e){if(this.setSentryTransaction(e),this.router.on("routeWillChange",(e=>this.setSentryTransaction(e))),this.router.on("routeDidChange",(e=>this.setSentryTransaction(e))),this.session.loadUserTask.perform(),this.preloadPlaygroundCratesTask.perform().catch((()=>{})),this.checkReadOnlyStatusTask.perform().catch((e=>{(0,v.iw)(e)||e.isServerError||e.isNetworkError||this.sentry.captureException(e)})),!("ResizeObserver"in window)){console.debug("Loading ResizeObserver polyfill…");let e=await n.e(785).then(n.bind(n,85785));window.ResizeObserver=e.ResizeObserver}}loading(e){return this.progress.handle(e),!0}setSentryTransaction(e){let t=e.to?.name;t&&this.sentry.getCurrentScope().setTransactionName(t)}},i=(0,h.A)(r.prototype,"notifications",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,h.A)(r.prototype,"progress",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,h.A)(r.prototype,"router",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,h.A)(r.prototype,"session",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,h.A)(r.prototype,"playground",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,h.A)(r.prototype,"sentry",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.A)(r.prototype,"loading",[f.action],Object.getOwnPropertyDescriptor(r.prototype,"loading"),r.prototype),r)},13946:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r,i,s=n(65010),o=n(8230),a=n(44688),l=n(23648),c=n.n(l),u=n(94313);let d=(r=class extends(c()){constructor(...e){super(...e),(0,s.A)(this,"router",i,this)}serialize({transition:e}){let t=this.urlForRouteInfo(e.to),{rootURL:n}=(0,a.getOwner)(this).resolveRegistration("config:environment");return t.startsWith(n)&&(t=t.slice(n.length)),{path:t}}urlForRouteInfo(e){let t=e.name,n=function(e){let t=[...h(e)].reverse(),n=[];for(let e of t)for(let t of e.paramNames)n.push(e.params[t]);return n}(e),r=e.queryParams;return this.router.urlFor(t,...n,{queryParams:r})}},i=(0,o.A)(r.prototype,"router",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r);function*h(e){for(yield e;e=e.parent;)yield e}class p extends d{}},22877:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(23648),c=n.n(l),u=n(94313);let d=(r=class extends(c()){constructor(...e){super(...e),(0,s.A)(this,"store",i,this),(0,o.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}model(e){return this.store.query("category",e)}},i=(0,a.A)(r.prototype,"store",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},85564:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(23648),c=n.n(l),u=n(94313);let d=(r=class extends(c()){constructor(...e){super(...e),(0,s.A)(this,"store",i,this),(0,o.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}model(e){return this.store.query("category-slug",e)}},i=(0,a.A)(r.prototype,"store",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},92213:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r,i,s,o,a=n(65010),l=n(8230),c=n(40959),u=n(23648),d=n.n(u),h=n(94313);let p=(r=class extends(d()){constructor(...e){super(...e),(0,a.A)(this,"router",i,this),(0,a.A)(this,"store",s,this),(0,a.A)(this,"header",o,this)}async model(e,t){let n=e.category_id;this.header.searchValue="category:"+e.category_id+" ";try{return await this.store.findRecord("category",n)}catch(e){if(e instanceof c.m_){let e=`${n}: Category not found`;this.router.replaceWith("catch-all",{transition:t,title:e})}else{let r=`${n}: Failed to load category data`;this.router.replaceWith("catch-all",{transition:t,error:e,title:r,tryAgain:!0})}}}deactivate(){super.deactivate(...arguments),this.header.searchValue=null}},i=(0,l.A)(r.prototype,"router",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.A)(r.prototype,"store",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,l.A)(r.prototype,"header",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},4798:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(23648),c=n.n(l),u=n(94313);let d=(r=class extends(c()){constructor(...e){super(...e),(0,s.A)(this,"store",i,this),(0,o.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}model(e){return e.category=this.paramsFor("category").category_id,this.store.query("crate",e)}setupController(e){super.setupController(...arguments);let t=this.modelFor("category");e.set("category",t)}},i=(0,a.A)(r.prototype,"store",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},19069:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,i,s,o,a,l=n(65010),c=n(8230),u=n(23648),d=n.n(u),h=n(94313),p=n(2540);let f=(r=class extends(d()){constructor(...e){super(...e),(0,l.A)(this,"notifications",i,this),(0,l.A)(this,"router",s,this),(0,l.A)(this,"session",o,this),(0,l.A)(this,"store",a,this)}async model(e){try{await(0,p.default)(`https://crates.io/api/v1/confirm/${e.email_token}`,{method:"PUT",body:"{}"}),await this.session.loadUserTask.last,this.session.currentUser&&this.store.pushPayload({user:{id:this.session.currentUser.id,email_verified:!0}}),this.notifications.success("Thank you for confirming your email! :)")}catch(e){let t=e.errors?.[0]?.detail;t&&!t.startsWith("{")?this.notifications.error(`Error in email confirmation: ${t}`):this.notifications.error("Unknown error in email confirmation")}this.router.replaceWith("index")}},i=(0,c.A)(r.prototype,"notifications",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,c.A)(r.prototype,"router",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,c.A)(r.prototype,"session",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,c.A)(r.prototype,"store",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},37586:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,i,s,o,a=n(65010),l=n(8230),c=n(40959),u=n(23648),d=n.n(u),h=n(94313),p=n(2540);let f=(r=class extends(d()){constructor(...e){super(...e),(0,a.A)(this,"headData",i,this),(0,a.A)(this,"router",s,this),(0,a.A)(this,"store",o,this)}async model(e,t){let n=e.crate_id;try{return(async()=>{const e=await(0,p.ajax_fail)(`https://raw.githubusercontent.com/billy1624/crates.io/rustacean.info/public/related-articles/${n}.json`),t=await this.store.findRecord("crate",n);return Object.assign(t,{articles:e,link_contribute_articles:"https://github.com/billy1624/crates.io/blob/rustacean.info/public/related-articles/_CONTRIBUTING.md",link_create_articles:"https://github.com/billy1624/crates.io/tree/rustacean.info/public/related-articles",link_edit_articles:`https://github.com/billy1624/crates.io/edit/rustacean.info/public/related-articles/${n}.json`}),t})()}catch(e){if(e instanceof c.m_){let r=`${n}: Crate not found`;this.router.replaceWith("catch-all",{transition:t,error:e,title:r})}else{let r=`${n}: Failed to load crate data`;this.router.replaceWith("catch-all",{transition:t,error:e,title:r,tryAgain:!0})}}}setupController(e,t){super.setupController(...arguments),this.headData.crate=t}resetController(){super.resetController(...arguments),this.headData.crate=null}},i=(0,l.A)(r.prototype,"headData",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.A)(r.prototype,"router",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,l.A)(r.prototype,"store",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},88796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(23648),l=n.n(a),c=n(94313);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"router",i,this)}async model(){let e=this.modelFor("crate"),t=await e.get("versions"),{defaultVersion:n}=e,r=t.find((e=>e.num===n))??t.lastObject;this.router.replaceWith("crate.version-dependencies",e,r.num)}},i=(0,o.A)(r.prototype,"router",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},53918:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r,i,s,o,a=n(65010),l=n(8230),c=n(23648),u=n.n(c),d=n(94313);let h=(r=class extends(u()){constructor(...e){super(...e),(0,a.A)(this,"notifications",i,this),(0,a.A)(this,"redirector",s,this),(0,a.A)(this,"router",o,this)}redirect(){let e=this.modelFor("crate"),t=e.get("documentation");if(t)this.redirector.redirectTo(t);else{let t="Crate does not supply a documentation URL";this.notifications.error(t),this.router.replaceWith("crate",e)}}},i=(0,l.A)(r.prototype,"notifications",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.A)(r.prototype,"redirector",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,l.A)(r.prototype,"router",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},33137:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402),i=n(82705);class s extends i.default{constructor(...e){super(...e),(0,r.A)(this,"controllerName","crate.version"),(0,r.A)(this,"templateName","crate/version")}}},70381:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(23648),l=n.n(a),c=n(94313);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"router",i,this)}redirect(){let e=this.modelFor("crate");this.router.transitionTo("crate.settings",e)}},i=(0,o.A)(r.prototype,"router",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},75244:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r,i,s,o=n(65010),a=n(8230),l=n(23648),c=n.n(l),u=n(94313),d=n(68861),h=n.n(d);let p=(r=class extends(c()){constructor(...e){super(...e),(0,o.A)(this,"notifications",i,this),(0,o.A)(this,"router",s,this)}async model({range:e},t){let n=this.modelFor("crate");try{let r=await n.hasMany("versions").load(),i=r.map((e=>e.num)),s=r.filter((e=>!e.yanked)).map((e=>e.num)),o=function(e){return e.replace(","," ")}(e),a=h()(s,o)??h()(i,o);if(a)this.router.replaceWith("crate.version",a);else{let r=`${n.name}: No matching version found for ${e}`;this.router.replaceWith("catch-all",{transition:t,title:r})}}catch(e){let r=`${n.name}: Failed to load version data`;this.router.replaceWith("catch-all",{transition:t,error:e,title:r,tryAgain:!0})}}},i=(0,a.A)(r.prototype,"notifications",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a.A)(r.prototype,"router",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},86577:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r,i,s,o,a=n(65010),l=n(8230),c=n(23648),u=n.n(c),d=n(94313);let h=(r=class extends(u()){constructor(...e){super(...e),(0,a.A)(this,"notifications",i,this),(0,a.A)(this,"redirector",s,this),(0,a.A)(this,"router",o,this)}redirect(){let e=this.modelFor("crate"),t=e.get("repository");if(t)this.redirector.redirectTo(t);else{let t="Crate does not supply a repository URL";this.notifications.error(t),this.router.replaceWith("crate",e)}}},i=(0,l.A)(r.prototype,"notifications",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.A)(r.prototype,"redirector",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,l.A)(r.prototype,"router",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},91041:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r,i,s,o,a=n(65010),l=n(75402),c=n(8230),u=n(23648),d=n.n(u),h=n(94313);let p=(r=class extends(d()){constructor(...e){super(...e),(0,a.A)(this,"notifications",i,this),(0,a.A)(this,"router",s,this),(0,a.A)(this,"store",o,this),(0,l.A)(this,"queryParams",{page:{refreshModel:!0}})}async model(e){e.reverse=!0,e.crate=this.modelFor("crate");let t=e.crate.name;try{return await this.store.query("dependency",e)}catch(e){let n=`Could not load reverse dependencies for the "${t}" crate`,r=e.errors?.[0]?.detail;r&&!r.startsWith("{")&&(n+=`: ${r}`),this.notifications.error(n),this.router.replaceWith("index")}}setupController(e){super.setupController(...arguments);let t=this.modelFor("crate");e.set("crate",t)}},i=(0,c.A)(r.prototype,"notifications",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,c.A)(r.prototype,"router",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,c.A)(r.prototype,"store",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},95436:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(96475);class i extends r.default{setupController(e){super.setupController(...arguments);let t=this.modelFor("crate");e.set("crate",t)}}},1187:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(23648),l=n.n(a),c=n(94313);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"router",i,this)}async model(e,t){let n,r=this.modelFor("crate");try{n=await r.get("versions")}catch(e){let n=`${r.name}: Failed to load version data`;return this.router.replaceWith("catch-all",{transition:t,error:e,title:n,tryAgain:!0})}let i=e.version_num,s=n.find((e=>e.num===i));if(!s){let e=`${r.name}: Version ${i} not found`;return this.router.replaceWith("catch-all",{transition:t,title:e})}try{await s.loadDepsTask.perform()}catch(e){let n=`${r.name}: Failed to load dependencies`;return this.router.replaceWith("catch-all",{transition:t,error:e,title:n,tryAgain:!0})}return s}setupController(e,t){e.set("version",t),e.set("crate",this.modelFor("crate"))}},i=(0,o.A)(r.prototype,"router",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},82705:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r,i,s,o=n(65010),a=n(8230),l=n(23648),c=n.n(l),u=n(94313),d=n(10055),h=n(30113),p=n(75476),f=n.n(p),m=n(2540);let g=(r=class extends(c()){constructor(...e){super(...e),(0,o.A)(this,"router",i,this),(0,o.A)(this,"sentry",s,this)}async model(e,t){let n,r,i=this.modelFor("crate");try{n=await i.get("versions")}catch(e){let n=`${i.name}: Failed to load version data`;return this.router.replaceWith("catch-all",{transition:t,error:e,title:n,tryAgain:!0})}let s=e.version_num;if(s){if(r=n.find((e=>e.num===s)),!r){let e=`${i.name}: Version ${s} not found`;return this.router.replaceWith("catch-all",{transition:t,title:e})}}else{let{defaultVersion:e}=i;if(r=n.find((t=>t.num===e)),!r){let e=n.map((e=>e.num));f()(e,{loose:!0}),r=n.find((t=>t.num===e[0]))}}return{crate:i,requestedVersion:s,version:r}}setupController(e,t){super.setupController(...arguments),(0,d.YZ)(e.loadReadmeTask.perform()).catch((()=>{}));let{crate:n,version:r}=t;n.documentation&&!n.documentation.startsWith("https://docs.rs/")||r.loadDocsStatusTask.perform().catch((e=>{(0,h.iw)(e)||e instanceof m.AjaxError||this.sentry.captureException(e)}))}serialize(e){return{version_num:e.num}}},i=(0,a.A)(r.prototype,"router",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a.A)(r.prototype,"sentry",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},58833:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(23648),c=n.n(l),u=n(94313);let d=(r=class extends(c()){constructor(...e){super(...e),(0,s.A)(this,"store",i,this),(0,o.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}model(e){return this.store.query("crate",e)}},i=(0,a.A)(r.prototype,"store",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},65645:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>m});var r,i,s,o=n(65010),a=n(8230),l=n(16895),c=n(94313),u=n(75076),d=n.n(u),h=n(30113),p=n(2540),f=n(96475);let m=(r=class extends f.default{constructor(...e){super(...e),(0,o.A)(this,"store",i,this),(0,o.A)(this,"sentry",s,this)}async model(){let e=this.session.currentUser,t=this.store.query("crate",{user_id:e.get("id")}),n=this.store.query("crate",{following:1}),r=e.stats();return await d().hash({myCrates:t,myFollowing:n,myStats:r})}setupController(e){super.setupController(...arguments),e.isRunning||(e.set("myFeed",(0,l.A)()),e.loadMoreTask.perform().catch((e=>{(0,h.iw)(e)||e instanceof p.AjaxError||this.sentry.captureException(e)})))}},i=(0,a.A)(r.prototype,"store",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a.A)(r.prototype,"sentry",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},96409:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(23648),i=n.n(r);class s extends(i()){setupController(e){e.hasData||e.fetchData()}}},12394:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(23648),l=n.n(a),c=n(94313);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"redirector",i,this)}redirect(){this.redirector.redirectTo("https://doc.rust-lang.org/cargo/getting-started/installation.html")}},i=(0,o.A)(r.prototype,"redirector",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},99058:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r,i,s,o=n(65010),a=n(75402),l=n(8230),c=n(23648),u=n.n(c),d=n(94313);let h=(r=class extends(u()){constructor(...e){super(...e),(0,o.A)(this,"router",i,this),(0,o.A)(this,"store",s,this),(0,a.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}async model(e,t){let{keyword_id:n,page:r,sort:i}=e;try{return{keyword:n,crates:await this.store.query("crate",{keyword:n,page:r,sort:i})}}catch(e){let r=`${n}: Failed to load crates`;this.router.replaceWith("catch-all",{transition:t,error:e,title:r,tryAgain:!0})}}},i=(0,l.A)(r.prototype,"router",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.A)(r.prototype,"store",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},28721:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(23648),c=n.n(l),u=n(94313);let d=(r=class extends(c()){constructor(...e){super(...e),(0,s.A)(this,"store",i,this),(0,o.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}model(e){return this.store.query("keyword",e)}},i=(0,a.A)(r.prototype,"store",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},53290:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(94313),c=n(96475);let u=(r=class extends c.default{constructor(...e){super(...e),(0,s.A)(this,"store",i,this),(0,o.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}model(e){return e.user_id=this.session.currentUser.id,this.store.query("crate",e)}},i=(0,a.A)(r.prototype,"store",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},96375:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(94313),c=n(96475);let u=(r=class extends c.default{constructor(...e){super(...e),(0,s.A)(this,"store",i,this),(0,o.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}model(e){return e.following=1,this.store.query("crate",e)}},i=(0,a.A)(r.prototype,"store",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},7144:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(23648),l=n.n(a),c=n(94313);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"router",i,this)}redirect(){this.router.replaceWith("settings.tokens")}},i=(0,o.A)(r.prototype,"router",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},91556:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s,o=n(65010),a=n(8230),l=n(94313),c=n(96475);let u=(r=class extends c.default{constructor(...e){super(...e),(0,o.A)(this,"session",i,this),(0,o.A)(this,"store",s,this)}model(){let e=this.session.currentUser;return this.store.query("crate-owner-invite",{invitee_id:e.id})}},i=(0,a.A)(r.prototype,"session",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,a.A)(r.prototype,"store",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},78173:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s=n(65010),o=n(75402),a=n(8230),l=n(23648),c=n.n(l),u=n(94313);let d=(r=class extends(c()){constructor(...e){super(...e),(0,s.A)(this,"header",i,this),(0,o.A)(this,"queryParams",{all_keywords:{refreshModel:!0},page:{refreshModel:!0},q:{refreshModel:!0},sort:{refreshModel:!0}})}model(e){return e}setupController(e,t){this.header.searchValue=t.q,e.fetchData()}deactivate(){super.deactivate(...arguments),this.header.searchValue=null}},i=(0,a.A)(r.prototype,"header",[u.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},54771:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(23648),l=n.n(a),c=n(94313);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"router",i,this)}redirect(){this.router.replaceWith("policies.security")}},i=(0,o.A)(r.prototype,"router",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},33914:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r,i,s=n(65010),o=n(8230),a=n(94313),l=n(96475);let c=(r=class extends l.default{constructor(...e){super(...e),(0,s.A)(this,"store",i,this)}async model(){let{ownedCrates:e,currentUser:t}=this.session;return e||(await this.session.fetchUser(),({ownedCrates:e}=this.session)),{user:t,ownedCrates:e}}setupController(e){super.setupController(...arguments),e.setProperties({emailNotificationsSuccess:!1,emailNotificationsError:!1})}},i=(0,o.A)(r.prototype,"store",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},74699:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(23648),l=n.n(a),c=n(94313);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"router",i,this)}redirect(){this.router.replaceWith("settings.profile")}},i=(0,o.A)(r.prototype,"router",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},43206:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r,i,s=n(65010),o=n(8230),a=n(94313),l=n(96475);let c=(r=class extends l.default{constructor(...e){super(...e),(0,s.A)(this,"session",i,this)}async model(){return{user:this.session.currentUser}}},i=(0,o.A)(r.prototype,"session",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},60189:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(96475);class i extends r.default{}},93606:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s=n(65010),o=n(8230),a=n(23648),l=n.n(a),c=n(94313),u=n(53271);let d=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"store",i,this)}async model(){let e=await this.store.query("api-token",{expired_days:30});return u.I0.from(e.slice())}resetController(e){for(let t of e.model)t.token&&(t.token=void 0)}},i=(0,o.A)(r.prototype,"store",[c.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},13980:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r,i,s,o=n(65010),a=n(75402),l=n(8230),c=n(40959),u=n(23648),d=n.n(u),h=n(94313);let p=(r=class extends(d()){constructor(...e){super(...e),(0,o.A)(this,"router",i,this),(0,o.A)(this,"store",s,this),(0,a.A)(this,"queryParams",{from:{refreshModel:!0}})}async model(e,t){let n=e.from;if(!n)return null;try{return await this.store.findRecord("api-token",n)}catch(e){if(e instanceof c.m_){let e="Token not found";this.router.replaceWith("catch-all",{transition:t,title:e})}else{let n="Failed to load token data";this.router.replaceWith("catch-all",{transition:t,error:e,title:n,tryAgain:!0})}}}setupController(e,t){if(super.setupController(e,t),t){const{name:n,endpoint_scopes:r,crate_scopes:i}=t;if(e.name=n,r&&(e.scopes=r),i)for(let t of i)e.addCratePattern(t)}}resetController(e){e.saveTokenTask.cancelAll(),e.set("from",null)}},i=(0,l.A)(r.prototype,"router",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,l.A)(r.prototype,"store",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},18776:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,i,s,o,a=n(65010),l=n(75402),c=n(8230),u=n(40959),d=n(23648),h=n.n(d),p=n(94313);let f=(r=class extends(h()){constructor(...e){super(...e),(0,a.A)(this,"notifications",i,this),(0,a.A)(this,"router",s,this),(0,a.A)(this,"store",o,this),(0,l.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}async model(e){const{team_id:t}=e;try{let n=await this.store.queryRecord("team",{team_id:t});return e.team_id=n.get("id"),e.include_yanked="n",{crates:await this.store.query("crate",e),team:n}}catch(t){if(t instanceof u.m_)return this.notifications.error(`Team '${e.team_id}' does not exist`),this.router.replaceWith("index");throw t}}},i=(0,c.A)(r.prototype,"notifications",[p.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,c.A)(r.prototype,"router",[p.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,c.A)(r.prototype,"store",[p.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},90622:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,i,s,o,a=n(65010),l=n(75402),c=n(8230),u=n(40959),d=n(23648),h=n.n(d),p=n(94313);let f=(r=class extends(h()){constructor(...e){super(...e),(0,a.A)(this,"notifications",i,this),(0,a.A)(this,"router",s,this),(0,a.A)(this,"store",o,this),(0,l.A)(this,"queryParams",{page:{refreshModel:!0},sort:{refreshModel:!0}})}async model(e){const{user_id:t}=e;try{let n=await this.store.queryRecord("user",{user_id:t});return e.user_id=n.get("id"),e.include_yanked="n",{crates:await this.store.query("crate",e),user:n}}catch(t){if(t instanceof u.m_)return this.notifications.error(`User '${e.user_id}' does not exist`),this.router.replaceWith("index");throw t}}},i=(0,c.A)(r.prototype,"notifications",[p.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,c.A)(r.prototype,"router",[p.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,c.A)(r.prototype,"store",[p.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},23627:(e,t,n)=>{"use strict";n.r(t),n.d(t,{init:()=>s});var r=n(22283),i=n(63820);function s(){let e="crates.io"===location.hostname||!0,t="staging.crates.io"===location.hostname,n=e?"production":t?"staging":"unknown";r.Ts({environment:n,...i.default.sentry,allowUrls:["crates.io","crates-io.herokuapp.com","staging.crates.io","staging-crates-io.herokuapp.com"],beforeSend(e,t){let n=t?.originalException;return n&&"TransitionAborted"===n.name?null:e}})}},60180:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(59802);class i extends r.default{payloadKeyFromModelName(){return"api_token"}}},59802:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(72956);class i extends r.A{}},36539:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402),i=n(59802);class s extends i.default{constructor(...e){super(...e),(0,r.A)(this,"primaryKey","crate_id")}modelNameFromPayloadKey(e){return"users"===e?"user":"crate-owner-invite"}payloadKeyFromModelName(){return"crate_owner_invite"}keyForRelationship(e){return`${e}_id`}}},55379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402),i=n(59802);class s extends i.default{constructor(...e){super(...e),(0,r.A)(this,"isNewSerializerAPI",!0)}extractRelationships(e,t){return null==t.versions&&delete t.versions,super.extractRelationships(...arguments)}}},42143:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(75402),i=n(59802);class s extends i.default{constructor(...e){super(...e),(0,r.A)(this,"attrs",{version:"version_id"})}}},89877:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(59802);class i extends r.default{extractId(e,t){return`${t.date}-${t.version}`}}},68808:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(72956);const i=n(59802).default.extend(r.i,{attrs:{published_by:{embedded:"always"}}})},76275:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r=n(75402),i=n(94895),s=(n(31837),n(94313)),o=n.n(s),a=n(26567),l=n(58890),c=n(9050);function u(e,t){const n=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return n<0?-1:n>0?1:n}var d=n(55319),h=n(78836),p=n(49962);n(30113);class f extends(o()){constructor(...e){super(...e),(0,r.A)(this,"loadTask",(0,i.I)((()=>({context:this,generator:function*(){return yield this._load()}})),null,"loadTask","drop"))}async _load(){let{Chart:e,LineController:t,LineElement:r,PointElement:i,TimeScale:s,LinearScale:o,Filler:f,Legend:m,Tooltip:g,_adapters:y}=await n.e(546).then(n.bind(n,60546));return e.register(t,r,i,o,s,f,m,g),y._date.override({_id:"date-fns",formats:()=>({day:"MMM d"}),parse:e=>null==e||isNaN(e)?null:e.getTime(),format(e,t){return(0,h.Ay)(e,t,this.options)},add:(e,t,n)=>(0,a.A)(e,t),diff:(e,t,n)=>function(e,t){const n=(0,c.a)(e),r=(0,c.a)(t),i=u(n,r),s=Math.abs((0,l.m)(n,r));n.setDate(n.getDate()-i*s);const o=i*(s-Number(u(n,r)===-i));return 0===o?0:o}(e,t),startOf:(e,t)=>(0,p.A)(e),endOf:(e,t)=>(0,d.A)(e)}),e}}},40398:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r,i,s,o=n(65010),a=n(75402),l=n(8230),c=n(94895),u=n(96639),d=n(94313),h=n.n(d),p=n(54521),f=n(30113),m=n(2127);const g=new Set(["light","dark","system"]),y="color-scheme";let b=(r=class extends(h()){constructor(){super(...arguments),(0,o.A)(this,"_scheme",i,this),(0,o.A)(this,"resolvedScheme",s,this),(0,a.A)(this,"watcherTask",(0,c.I)((()=>({context:this,generator:function*(){let e=window.matchMedia("(prefers-color-scheme: dark)");for(;;){let t=this.scheme;"system"===t&&(t=e.matches?"dark":"light"),this.resolvedScheme!==t&&(this.resolvedScheme=t),yield(0,f.lA)(e,"change")}}})),null,"watcherTask","restartable")),this.restartWatcherTask()}get isDark(){return"dark"===this.resolvedScheme}get scheme(){return g.has(this._scheme)?this._scheme:"dark"}set(e){this._scheme=e,m.setItem(y,e),this.restartWatcherTask()}restartWatcherTask(){this.watcherTask.perform().catch((()=>{}))}},i=(0,l.A)(r.prototype,"_scheme",[p.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return m.getItem(y)}}),s=(0,l.A)(r.prototype,"resolvedScheme",[p.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,l.A)(r.prototype,"set",[u.action],Object.getOwnPropertyDescriptor(r.prototype,"set"),r.prototype),r)},37310:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(94313),l=n.n(a),c=n(54521);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"crate",i,this)}get description(){return this.crate?this.crate.description||"A package for Rust.":"rustacean.info"}},i=(0,o.A)(r.prototype,"crate",[c.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},15342:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(65010),o=n(8230),a=n(94313),l=n.n(a),c=n(54521);let u=(r=class extends(l()){constructor(...e){super(...e),(0,s.A)(this,"searchValue",i,this)}},i=(0,o.A)(r.prototype,"searchValue",[c.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),r)},67212:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(75402),i=n(94313),s=n.n(i);class o extends(s()){constructor(...e){super(...e),(0,r.A)(this,"locale",void 0)}formatNumber(e){return Number(e).toLocaleString(this.locale)}}},91960:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(75402),i=n(94895),s=n(94313),o=n.n(s);n(30113);class a extends(o()){constructor(...e){super(...e),(0,r.A)(this,"loadTask",(0,i.I)((()=>({context:this,generator:function*(){let{default:e}=yield n.e(682).then(n.bind(n,46682));return e.initialize({startOnLoad:!1,securityLevel:"strict"}),e}})),null,"loadTask","drop"))}}},90942:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,i,s,o=n(65010),a=n(75402),l=n(8230),c=n(94895),u=n(94313),d=n.n(u),h=(n(30113),n(96876)),p=n(2540);let f=(r=(0,h.nK)("loadCratesTask.lastSuccessful.value"),i=class extends(d()){constructor(...e){super(...e),(0,o.A)(this,"crates",s,this),(0,a.A)(this,"loadCratesTask",(0,c.I)((()=>({context:this,generator:function*(){return(yield(0,p.default)("https://play.rust-lang.org/meta/crates")).crates}})),null,"loadCratesTask","drop"))}async loadCrates(){if(!this.crates)return this.loadCratesTask.perform()}},s=(0,l.A)(i.prototype,"crates",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i)},11712:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r,i,s,o,a=n(65010),l=n(75402),c=n(8230),u=n(94895),d=n(94313),h=n.n(d),p=n(48338),f=n(54521),m=n(21266),g=n.n(m),y=n(30113);let b=(r=class extends(h()){constructor(...e){super(...e),(0,a.A)(this,"router",i,this),(0,a.A)(this,"sentry",s,this),(0,a.A)(this,"_style",o,this),(0,l.A)(this,"counterTask",(0,u.I)((()=>({context:this,generator:function*(e){this.updateTask.perform().catch((e=>{(0,y.iw)(e)||this.sentry.captureException(e)})),yield e}})),null,"counterTask",null)),(0,l.A)(this,"updateTask",(0,u.I)((()=>({context:this,generator:function*(){if(g().testing)return;let e=0;for(this._style="width: 0%";this.counterTask.isRunning;){let t;yield(0,y.Oc)(200),t=e>=0&&e<.2?.1:e>=.2&&e<.5?.04:e>=.5&&e<.8?.02:e>=.8&&e<.99?.005:0,e+=t,e>.998&&(e=.998),this._style=`transition: width 200ms linear; width: ${100*e}%`}this._style="transition: width 200ms linear; width: 100%",yield(0,y.Oc)(200),this._style="transition: opacity 400ms linear; width: 100%; opacity: 0"}})),null,"updateTask","drop"))}get style(){return(0,p.htmlSafe)(this._style)}handle(e){this.counterTask.perform(e).catch((()=>{}))}},i=(0,c.A)(r.prototype,"router",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,c.A)(r.prototype,"sentry",[d.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,c.A)(r.prototype,"_style",[f.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),r)},52510:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(94313),i=n.n(r),s=n(18457);class o extends(i()){redirectTo(e){s.A.location=e}}},92956:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(94313),i=n.n(r),s=n(22283);class o extends(i()){captureException(e,t){s.Cp(e,t)}getCurrentScope(){return s.o5()}setUser(e){s.gV(e)}}},74707:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r,i,s,o,a,l,c,u,d,h,p=n(65010),f=n(75402),m=n(8230),g=n(94895),y=n(94313),b=n.n(y),_=n(54521),v=n(30113),w=n(18457),A=n(96876),k=n(2540),S=n(2127);let E=(r=(0,A.nK)("loadUserTask.last.value.currentUser"),i=(0,A.nK)("loadUserTask.last.value.ownedCrates"),s=class extends(b()){constructor(...e){super(...e),(0,p.A)(this,"store",o,this),(0,p.A)(this,"notifications",a,this),(0,p.A)(this,"router",l,this),(0,p.A)(this,"sentry",c,this),(0,f.A)(this,"savedTransition",null),(0,p.A)(this,"sudoEnabledUntil",u,this),(0,p.A)(this,"currentUser",d,this),(0,p.A)(this,"ownedCrates",h,this),(0,f.A)(this,"loginTask",(0,g.I)((()=>({context:this,generator:function*(){let e=["width=1000","height=450","toolbar=0","scrollbars=1","status=1","resizable=1","location=1","menuBar=0"].join(","),t=w.A.open("","_blank",e);if(!t)return;t.document.write("Please wait while we redirect you…"),t.document.close();let{url:n}=yield(0,k.default)("https://crates.io/api/private/session/begin");t.location=n;let r=yield(0,v.O4)([this.windowEventWatcherTask.perform(),this.windowCloseWatcherTask.perform(t)]);if(r.closed)return void this.notifications.warning("Login was canceled because the popup window was closed.");t.close();let{code:i,state:s}=r,o=yield fetch(`https://crates.io/api/private/session/authorize?code=${i}&state=${s}`);if(!o.ok){let e=yield o.json();return void(e&&e.errors?this.notifications.error(`Failed to log in: ${e.errors[0].detail}`):this.notifications.error("Failed to log in"))}this.isLoggedIn=!0,yield this.loadUserTask.perform();let a=this.savedTransition;a&&a.retry()}})),null,"loginTask",null)),(0,f.A)(this,"windowEventWatcherTask",(0,g.I)((()=>({context:this,generator:function*(){for(;;){let e=yield(0,v.lA)(w.A,"message");if(e.origin!==w.A.location.origin||!e.data)continue;let{code:t,state:n}=e.data;if(t&&n)return{code:t,state:n}}}})),null,"windowEventWatcherTask",null)),(0,f.A)(this,"windowCloseWatcherTask",(0,g.I)((()=>({context:this,generator:function*(e){for(;;){if(e.closed)return{closed:!0};yield(0,v.Oc)(10)}}})),null,"windowCloseWatcherTask",null)),(0,f.A)(this,"logoutTask",(0,g.I)((()=>({context:this,generator:function*(){yield(0,k.default)("https://crates.io/api/private/session",{method:"DELETE"}),this.isLoggedIn=!1,w.A.location.assign("/")}})),null,"logoutTask",null)),(0,f.A)(this,"loadUserTask",(0,g.I)((()=>({context:this,generator:function*(){if(!this.isLoggedIn)return{};let e;try{e=yield(0,k.default)("https://crates.io/api/v1/me")}catch{return{}}let t=this.store.push(this.store.normalize("user",e.user)),n=e.owned_crates.map((e=>this.store.push(this.store.normalize("owned-crate",e)))),{id:r}=t;if(this.sentry.setUser({id:r}),t?.is_admin){const e=S.getItem("sudo");if(null!==e)try{this.sudoTask.perform(+e)}catch{}}return{currentUser:t,ownedCrates:n}}})),null,"loadUserTask","drop")),(0,f.A)(this,"sudoTask",(0,g.I)((()=>({context:this,generator:function*(e){try{const t=Date.now();e>t&&(S.setItem("sudo",e.toString()),this.sudoEnabledUntil=e,yield(0,v.Oc)(e-t))}finally{S.removeItem("sudo"),this.sudoEnabledUntil=null}}})),null,"sudoTask","restartable"))}get isLoggedIn(){return"1"===S.getItem("isLoggedIn")}set isLoggedIn(e){e?S.setItem("isLoggedIn","1"):S.removeItem("isLoggedIn")}get isAdmin(){return!0===this.currentUser?.is_admin}get isSudoEnabled(){return this.isAdmin&&this.sudoTask.isRunning}setSudo(e){this.isAdmin&&(e?this.sudoTask.perform(Date.now()+e):this.sudoTask.cancelAll())}},o=(0,m.A)(s.prototype,"store",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,m.A)(s.prototype,"notifications",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,m.A)(s.prototype,"router",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,m.A)(s.prototype,"sentry",[y.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,m.A)(s.prototype,"sudoEnabledUntil",[_.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),d=(0,m.A)(s.prototype,"currentUser",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,m.A)(s.prototype,"ownedCrates",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)},69603:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={link:"_link_17u5gr","width-limit":"_width-limit_17u5gr",main:"_main_17u5gr","inner-main":"_inner-main_17u5gr _width-limit_17u5gr"}},19796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={wrapper:"_wrapper_1keoc8",content:"_content_1keoc8",logo:"_logo_1keoc8",link:"_link_1keoc8 _button-reset_g91299 _link_17u5gr"}},84209:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_3a7a8o","sort-by":"_sort-by_3a7a8o _v-center_3bemis","sort-by-label":"_sort-by-label_3a7a8o _small_1oyocj",list:"_list_3a7a8o","crate-count":"_crate-count_3a7a8o _small_1oyocj",description:"_description_3a7a8o _small_1oyocj","categories-footer":"_categories-footer_3a7a8o"}},99720:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_1ohwnv"}},76218:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={header:"_header_1tl449",subcategories:"_subcategories_1tl449","crate-count":"_crate-count_1tl449 _small_1oyocj","category-description":"_category-description_1tl449 _small_1oyocj","results-meta":"_results-meta_1tl449","sort-by-label":"_sort-by-label_1tl449 _small_1oyocj",list:"_list_1tl449"}},1566:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_1gkckt","page-description":"_page-description_1gkckt _small_1oyocj",list:"_list_1gkckt"}},86957:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_hm3gzo",list:"_list_hm3gzo","no-results":"_no-results_hm3gzo"}},78744:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"email-form":"_email-form_ill4ud","email-input-label":"_email-input-label_ill4ud","email-input":"_email-input_ill4ud","submit-button":"_submit-button_ill4ud _small_g91299 _yellow-button_g91299 _button_g91299",list:"_list_ill4ud","email-column":"_email-column_ill4ud","remove-button":"_remove-button_ill4ud _small_g91299 _yellow-button_g91299 _button_g91299"}},66831:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_157kuh",heading:"_heading_157kuh"}},32909:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"crate-info":"_crate-info_1ph5zq",docs:"_docs_1ph5zq","no-readme":"_no-readme_1ph5zq","placeholder-title":"_placeholder-title_1ph5zq","placeholder-subtitle":"_placeholder-subtitle_1ph5zq","placeholder-text":"_placeholder-text_1ph5zq",sidebar:"_sidebar_1ph5zq","crate-downloads":"_crate-downloads_1ph5zq",stats:"_stats_1ph5zq",stat:"_stat_1ph5zq",num:"_num_1ph5zq",num__align:"_num__align_1ph5zq","stat-description":"_stat-description_1ph5zq _small_1oyocj",graph:"_graph_1ph5zq","graph-data":"_graph-data_1ph5zq","toggle-stacked":"_toggle-stacked_1ph5zq",trigger:"_trigger_1ph5zq","trigger-label":"_trigger-label_1ph5zq","dropdown-button":"_dropdown-button_1ph5zq"}},73256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_i58y6h","page-description":"_page-description_i58y6h _small_1oyocj",list:"_list_i58y6h"}},7245:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_ouu1ss","sort-by":"_sort-by_ouu1ss _v-center_3bemis","sort-by-label":"_sort-by-label_ouu1ss _small_1oyocj",list:"_list_ouu1ss"}},52457:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={header:"_header_10qjad","header-icon":"_header-icon_10qjad",stats:"_stats_10qjad",num:"_num_10qjad",downloads:"_downloads_10qjad","stats-label":"_stats-label_10qjad _small_1oyocj","my-info":"_my-info_10qjad","my-crate-lists":"_my-crate-lists_10qjad","my-crates-link":"_my-crates-link_10qjad","followed-crates-link":"_followed-crates-link_10qjad","my-feed":"_my-feed_10qjad",feed:"_feed_10qjad","feed-list":"_feed-list_10qjad","feed-version":"_feed-version_10qjad _small_1oyocj","feed-date":"_feed-date_10qjad _small_1oyocj","load-more":"_load-more_10qjad"}},69093:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"logo-div":"_logo-div_slqo1c",logo:"_logo_slqo1c","hero-title":"_hero-title_slqo1c","hero-buttons":"_hero-buttons_slqo1c","hero-button":"_hero-button_slqo1c _yellow-button_g91299 _button_g91299",icon:"_icon_slqo1c",blurb:"_blurb_slqo1c",intro:"_intro_slqo1c",stats:"_stats_slqo1c",lists:"_lists_slqo1c",list:"_list_slqo1c","error-message":"_error-message_slqo1c","try-again-button":"_try-again-button_slqo1c _yellow-button_g91299 _button_g91299",spinner:"_spinner_slqo1c"}},30373:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_1nkvlm","sort-by-label":"_sort-by-label_1nkvlm _small_1oyocj",list:"_list_1nkvlm"}},87677:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_gf7abo","sort-by":"_sort-by_gf7abo _v-center_3bemis","sort-by-label":"_sort-by-label_gf7abo _small_1oyocj",list:"_list_gf7abo","crate-count":"_crate-count_gf7abo _small_1oyocj"}},48150:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_iujxqz","sort-by-label":"_sort-by-label_iujxqz _small_1oyocj",list:"_list_iujxqz"}},79723:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_4xxflk","sort-by-label":"_sort-by-label_4xxflk _small_1oyocj",list:"_list_4xxflk"}},77064:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={list:"_list_sj17up"}},38657:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"results-meta":"_results-meta_1eivf7",warning:"_warning_1eivf7","sort-by":"_sort-by_1eivf7 _v-center_3bemis","sort-by-label":"_sort-by-label_1eivf7 _small_1oyocj",list:"_list_1eivf7","try-again-button":"_try-again-button_1eivf7 _yellow-button_g91299 _button_g91299"}},43089:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"themes-form":"_themes-form_110lt5","theme-label":"_theme-label_110lt5","theme-preview":"_theme-preview_110lt5"}},1470:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"me-email-notifications":"_me-email-notifications_1li3qv",right:"_right_1li3qv","notifications-list":"_notifications-list_1li3qv","notifications-row":"_notifications-row_1li3qv","select-all-button":"_select-all-button_1li3qv _yellow-button_g91299 _button_g91299 _small_g91299","deselect-all-button":"_deselect-all-button_1li3qv _yellow-button_g91299 _button_g91299 _small_g91299","notifications-error":"_notifications-error_1li3qv","notifications-success":"_notifications-success_1li3qv","update-notifications-button":"_update-notifications-button_1li3qv _yellow-button_g91299 _button_g91299"}},24898:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"me-profile":"_me-profile_y8b1zj",info:"_info_y8b1zj","me-email":"_me-email_y8b1zj"}},48064:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"form-group":"_form-group_6v2mdb",buttons:"_buttons_6v2mdb","form-group-name":"_form-group-name_6v2mdb","help-link":"_help-link_6v2mdb","hidden-label":"_hidden-label_6v2mdb _sr-only_1igkyf","form-group-error":"_form-group-error_6v2mdb","base-input":"_base-input_6v2mdb","name-input":"_name-input_6v2mdb _base-input_6v2mdb","expiry-select":"_expiry-select_6v2mdb _base-input_6v2mdb","expiry-date-input":"_expiry-date-input_6v2mdb _base-input_6v2mdb","expiry-description":"_expiry-description_6v2mdb","scopes-list":"_scopes-list_6v2mdb",invalid:"_invalid_6v2mdb","scope-id":"_scope-id_6v2mdb","scope-description":"_scope-description_6v2mdb","crates-list":"_crates-list_6v2mdb","crates-unrestricted":"_crates-unrestricted_6v2mdb","crates-scope":"_crates-scope_6v2mdb","pattern-description":"_pattern-description_6v2mdb","crates-pattern-button":"_crates-pattern-button_6v2mdb","generate-button":"_generate-button_6v2mdb _yellow-button_g91299 _button_g91299 _small_g91299",spinner:"_spinner_6v2mdb","cancel-button":"_cancel-button_6v2mdb _tan-button_g91299 _button_g91299 _small_g91299"}},66551:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"sr-only":"_sr-only_1igkyf"}},69682:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"button-reset":"_button-reset_g91299",button:"_button_g91299",active:"_active_g91299","yellow-button":"_yellow-button_g91299 _button_g91299","tan-button":"_tan-button_g91299 _button_g91299",small:"_small_g91299"}},78005:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={"v-center":"_v-center_3bemis"}},71346:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={small:"_small_1oyocj"}},60156:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={header:"_header_ass69f",avatar:"_avatar_ass69f","header-row":"_header-row_ass69f","github-link":"_github-link_ass69f","results-meta":"_results-meta_ass69f","sort-by-label":"_sort-by-label_ass69f _small_1oyocj",list:"_list_ass69f"}},14986:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={header:"_header_1wv204","github-link":"_github-link_1wv204","results-meta":"_results-meta_1wv204","sort-by-label":"_sort-by-label_1wv204 _small_1oyocj",list:"_list_1wv204"}},2540:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AjaxError:()=>c,HttpError:()=>l,ajax_fail:()=>a,default:()=>o});var r=n(31837),i=n(20561),s=n.n(i);async function o(e,t){let n,r=t?.method??"GET",i=e;i.startsWith("http")||(i="https://crates.io/"+i.replace(/^(\/)/,""));try{let e=await s()(i,t);if(e.ok)return await e.json();n=new l({url:i,method:r,response:e})}catch(e){n=e}throw new c({url:i,method:r,cause:n})}async function a(e,t){let n=e;n.startsWith("http")||(n="https://crates.io/"+n.replace(/^(\/)/,""));try{let e=await s()(n,t);if(e.ok)return await e.json()}catch{return[]}return[]}class l extends Error{constructor({url:e,method:t,response:n}){super(`${t} ${e} failed with: ${n.status} ${n.statusText}`),this.name="HttpError",this.method=t,this.url=e,this.response=n}}class c extends Error{constructor({url:e,method:t,cause:n}){let i=`${t} ${e} failed`;(0,r.runInDebug)((()=>{n?.stack&&(i+=`\n\ncaused by: ${n.stack}`)})),super(i),this.name="AjaxError",this.method=t,this.url=e,this.cause=n}get isJsonError(){return this.cause instanceof SyntaxError}get isNetworkError(){return this.cause instanceof TypeError}get isHttpError(){return this.cause instanceof l}get isServerError(){return this.isHttpError&&this.cause.response.status>=500&&this.cause.response.status<600}get isClientError(){return this.isHttpError&&this.cause.response.status>=400&&this.cause.response.status<500}async json(){try{return await this.cause.response.json()}catch{}}}},47787:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ignoreCancellation:()=>i});var r=n(30113);function i(e){if(!(0,r.iw)(e))throw e}},50111:(e,t,n)=>{"use strict";n.r(t),n.d(t,{parseLicense:()=>a});const r=["0bsd","afl-3.0","agpl-3.0","apache-2.0","artistic-2.0","bsd-2-clause","bsd-3-clause-clear","bsd-3-clause","bsd-4-clause","bsl-1.0","cc-by-4.0","cc-by-sa-4.0","cc0-1.0","cecill-2.1","cern-ohl-p-2.0","cern-ohl-s-2.0","cern-ohl-w-2.0","ecl-2.0","epl-1.0","epl-2.0","eupl-1.1","eupl-1.2","gpl-2.0","gpl-3.0","isc","lgpl-2.1","lgpl-3.0","lppl-1.3c","mit","mit-0","mpl-2.0","ms-pl","ms-rl","mulanpsl-2.0","ncsa","odbl-1.0","ofl-1.1","osl-3.0","postgresql","unlicense","upl-1.0","vim","wtfpl","zlib"],i=["0BSD","AAL","ADSL","AFL-1.1","AFL-1.2","AFL-2.0","AFL-2.1","AFL-3.0","AGPL-1.0-only","AGPL-1.0-or-later","AGPL-3.0-only","AGPL-3.0-or-later","AMDPLPA","AML","AMPAS","ANTLR-PD","ANTLR-PD-fallback","APAFML","APL-1.0","APSL-1.0","APSL-1.1","APSL-1.2","APSL-2.0","Abstyles","Adobe-2006","Adobe-Glyph","Afmparse","Aladdin","Apache-1.0","Apache-1.1","Apache-2.0","App-s2p","Arphic-1999","Artistic-1.0","Artistic-1.0-Perl","Artistic-1.0-cl8","Artistic-2.0","BSD-1-Clause","BSD-2-Clause","BSD-2-Clause-Patent","BSD-2-Clause-Views","BSD-3-Clause","BSD-3-Clause-Attribution","BSD-3-Clause-Clear","BSD-3-Clause-LBNL","BSD-3-Clause-Modification","BSD-3-Clause-No-Military-License","BSD-3-Clause-No-Nuclear-License","BSD-3-Clause-No-Nuclear-License-2014","BSD-3-Clause-No-Nuclear-Warranty","BSD-3-Clause-Open-MPI","BSD-4-Clause","BSD-4-Clause-Shortened","BSD-4-Clause-UC","BSD-Protection","BSD-Source-Code","BSL-1.0","BUSL-1.1","Baekmuk","Bahyph","Barr","Beerware","BitTorrent-1.0","BitTorrent-1.1","Bitstream-Vera","BlueOak-1.0.0","Borceux","C-UDA-1.0","CAL-1.0","CAL-1.0-Combined-Work-Exception","CATOSL-1.1","CC-BY-1.0","CC-BY-2.0","CC-BY-2.5","CC-BY-2.5-AU","CC-BY-3.0","CC-BY-3.0-AT","CC-BY-3.0-DE","CC-BY-3.0-NL","CC-BY-3.0-US","CC-BY-4.0","CC-BY-NC-1.0","CC-BY-NC-2.0","CC-BY-NC-2.5","CC-BY-NC-3.0","CC-BY-NC-3.0-DE","CC-BY-NC-4.0","CC-BY-NC-ND-1.0","CC-BY-NC-ND-2.0","CC-BY-NC-ND-2.5","CC-BY-NC-ND-3.0","CC-BY-NC-ND-3.0-DE","CC-BY-NC-ND-3.0-IGO","CC-BY-NC-ND-4.0","CC-BY-NC-SA-1.0","CC-BY-NC-SA-2.0","CC-BY-NC-SA-2.0-FR","CC-BY-NC-SA-2.0-UK","CC-BY-NC-SA-2.5","CC-BY-NC-SA-3.0","CC-BY-NC-SA-3.0-DE","CC-BY-NC-SA-3.0-IGO","CC-BY-NC-SA-4.0","CC-BY-ND-1.0","CC-BY-ND-2.0","CC-BY-ND-2.5","CC-BY-ND-3.0","CC-BY-ND-3.0-DE","CC-BY-ND-4.0","CC-BY-SA-1.0","CC-BY-SA-2.0","CC-BY-SA-2.0-UK","CC-BY-SA-2.1-JP","CC-BY-SA-2.5","CC-BY-SA-3.0","CC-BY-SA-3.0-AT","CC-BY-SA-3.0-DE","CC-BY-SA-4.0","CC-PDDC","CC0-1.0","CDDL-1.0","CDDL-1.1","CDL-1.0","CDLA-Permissive-1.0","CDLA-Permissive-2.0","CDLA-Sharing-1.0","CECILL-1.0","CECILL-1.1","CECILL-2.0","CECILL-2.1","CECILL-B","CECILL-C","CERN-OHL-1.1","CERN-OHL-1.2","CERN-OHL-P-2.0","CERN-OHL-S-2.0","CERN-OHL-W-2.0","CNRI-Jython","CNRI-Python","CNRI-Python-GPL-Compatible","COIL-1.0","CPAL-1.0","CPL-1.0","CPOL-1.02","CUA-OPL-1.0","Caldera","ClArtistic","Community-Spec-1.0","Condor-1.1","Crossword","CrystalStacker","Cube","D-FSL-1.0","DL-DE-BY-2.0","DOC","DRL-1.0","DSDP","Dotseqn","ECL-1.0","ECL-2.0","EFL-1.0","EFL-2.0","EPICS","EPL-1.0","EPL-2.0","EUDatagrid","EUPL-1.0","EUPL-1.1","EUPL-1.2","Elastic-2.0","Entessa","ErlPL-1.1","Eurosym","FDK-AAC","FSFAP","FSFUL","FSFULLR","FTL","Fair","Frameworx-1.0","FreeBSD-DOC","FreeImage","GD","GFDL-1.1-invariants-only","GFDL-1.1-invariants-or-later","GFDL-1.1-no-invariants-only","GFDL-1.1-no-invariants-or-later","GFDL-1.1-only","GFDL-1.1-or-later","GFDL-1.2-invariants-only","GFDL-1.2-invariants-or-later","GFDL-1.2-no-invariants-only","GFDL-1.2-no-invariants-or-later","GFDL-1.2-only","GFDL-1.2-or-later","GFDL-1.3-invariants-only","GFDL-1.3-invariants-or-later","GFDL-1.3-no-invariants-only","GFDL-1.3-no-invariants-or-later","GFDL-1.3-only","GFDL-1.3-or-later","GL2PS","GLWTPL","GPL-1.0-only","GPL-1.0-or-later","GPL-2.0-only","GPL-2.0-or-later","GPL-3.0-only","GPL-3.0-or-later","Giftware","Glide","Glulxe","HPND","HPND-sell-variant","HTMLTIDY","HaskellReport","Hippocratic-2.1","IBM-pibs","ICU","IJG","IPA","IPL-1.0","ISC","ImageMagick","Imlib2","Info-ZIP","Intel","Intel-ACPI","Interbase-1.0","JPNIC","JSON","Jam","JasPer-2.0","LAL-1.2","LAL-1.3","LGPL-2.0-only","LGPL-2.0-or-later","LGPL-2.1-only","LGPL-2.1-or-later","LGPL-3.0-only","LGPL-3.0-or-later","LGPLLR","LPL-1.0","LPL-1.02","LPPL-1.0","LPPL-1.1","LPPL-1.2","LPPL-1.3a","LPPL-1.3c","Latex2e","Leptonica","LiLiQ-P-1.1","LiLiQ-R-1.1","LiLiQ-Rplus-1.1","Libpng","Linux-OpenIB","Linux-man-pages-copyleft","MIT","MIT-0","MIT-CMU","MIT-Modern-Variant","MIT-advertising","MIT-enna","MIT-feh","MIT-open-group","MITNFA","MPL-1.0","MPL-1.1","MPL-2.0","MPL-2.0-no-copyleft-exception","MS-PL","MS-RL","MTLL","MakeIndex","Minpack","MirOS","Motosoto","MulanPSL-1.0","MulanPSL-2.0","Multics","Mup","NAIST-2003","NASA-1.3","NBPL-1.0","NCGL-UK-2.0","NCSA","NGPL","NIST-PD","NIST-PD-fallback","NLOD-1.0","NLOD-2.0","NLPL","NOSL","NPL-1.0","NPL-1.1","NPOSL-3.0","NRL","NTP","NTP-0","Naumen","Net-SNMP","NetCDF","Newsletr","Nokia","Noweb","O-UDA-1.0","OCCT-PL","OCLC-2.0","ODC-By-1.0","ODbL-1.0","OFL-1.0","OFL-1.0-RFN","OFL-1.0-no-RFN","OFL-1.1","OFL-1.1-RFN","OFL-1.1-no-RFN","OGC-1.0","OGDL-Taiwan-1.0","OGL-Canada-2.0","OGL-UK-1.0","OGL-UK-2.0","OGL-UK-3.0","OGTSL","OLDAP-1.1","OLDAP-1.2","OLDAP-1.3","OLDAP-1.4","OLDAP-2.0","OLDAP-2.0.1","OLDAP-2.1","OLDAP-2.2","OLDAP-2.2.1","OLDAP-2.2.2","OLDAP-2.3","OLDAP-2.4","OLDAP-2.5","OLDAP-2.6","OLDAP-2.7","OLDAP-2.8","OML","OPL-1.0","OPUBL-1.0","OSET-PL-2.1","OSL-1.0","OSL-1.1","OSL-2.0","OSL-2.1","OSL-3.0","OpenSSL","PDDL-1.0","PHP-3.0","PHP-3.01","PSF-2.0","Parity-6.0.0","Parity-7.0.0","Plexus","PolyForm-Noncommercial-1.0.0","PolyForm-Small-Business-1.0.0","PostgreSQL","Python-2.0","QPL-1.0","Qhull","RHeCos-1.1","RPL-1.1","RPL-1.5","RPSL-1.0","RSA-MD","RSCPL","Rdisc","Ruby","SAX-PD","SCEA","SGI-B-1.0","SGI-B-1.1","SGI-B-2.0","SHL-0.5","SHL-0.51","SISSL","SISSL-1.2","SMLNJ","SMPPL","SNIA","SPL-1.0","SSH-OpenSSH","SSH-short","SSPL-1.0","SWL","Saxpath","SchemeReport","Sendmail","Sendmail-8.23","SimPL-2.0","Sleepycat","Spencer-86","Spencer-94","Spencer-99","SugarCRM-1.1.3","TAPR-OHL-1.0","TCL","TCP-wrappers","TMate","TORQUE-1.1","TOSL","TU-Berlin-1.0","TU-Berlin-2.0","UCL-1.0","UPL-1.0","Unicode-DFS-2015","Unicode-DFS-2016","Unicode-TOU","Unlicense","VOSTROM","VSL-1.0","Vim","W3C","W3C-19980720","W3C-20150513","WTFPL","Watcom-1.0","Wsuipa","X11","X11-distribute-modifications-variant","XFree86-1.1","XSkat","Xerox","Xnet","YPL-1.0","YPL-1.1","ZPL-1.1","ZPL-2.0","ZPL-2.1","Zed","Zend-2.0","Zimbra-1.3","Zimbra-1.4","Zlib","blessing","bzip2-1.0.6","copyleft-next-0.3.0","copyleft-next-0.3.1","curl","diffmark","dvipdfm","eGenix","etalab-2.0","gSOAP-1.3b","gnuplot","iMatix","libpng-2.0","libselinux-1.0","libtiff","mpich2","mplus","psfrag","psutils","xinetd","xpp","zlib-acknowledgement"],s=["389-exception","Autoconf-exception-2.0","Autoconf-exception-3.0","Bison-exception-2.2","Bootloader-exception","CLISP-exception-2.0","Classpath-exception-2.0","DigiRule-FOSS-exception","FLTK-exception","Fawkes-Runtime-exception","Font-exception-2.0","GCC-exception-2.0","GCC-exception-3.1","GPL-3.0-linking-exception","GPL-3.0-linking-source-exception","GPL-CC-1.0","GStreamer-exception-2005","GStreamer-exception-2008","KiCad-libraries-exception","LGPL-3.0-linking-exception","LLVM-exception","LZMA-exception","Libtool-exception","Linux-syscall-note","OCCT-exception-1.0","OCaml-LGPL-linking-exception","OpenJDK-assembly-exception-1.0","PS-or-PDF-font-exception-20170817","Qt-GPL-exception-1.0","Qt-LGPL-exception-1.1","Qwt-exception-1.0","SHL-2.0","SHL-2.1","Swift-exception","Universal-FOSS-exception-1.0","WxWindows-exception-3.1","eCos-exception-2.0","freertos-exception-2.0","gnu-javamail-exception","i2p-gpl-java-exception","mif-exception","openvpn-openssl-exception","u-boot-exception-2.0"],o=new Set(["OR","AND","WITH","(",")"]);function a(e){return e.trim().replace(/\//g," OR ").replace(/(^\(| \()/g," ( ").replace(/(\)$|\) )/g," ) ").replace(/ +/g," ").split(" ").filter(Boolean).map((e=>{let t=o.has(e),n=t?void 0:function(e){let t=e.toLowerCase(),n=r.find((e=>e===t));if(n)return`https://choosealicense.com/licenses/${n}`;let o=i.find((e=>e.toLowerCase()===t))||s.find((e=>e.toLowerCase()===t));return o?`https://spdx.org/licenses/${o}.html`:void 0}(e);return{isKeyword:t,text:e,link:n}}))}},2127:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getItem:()=>i,removeItem:()=>o,setItem:()=>s});var r=n(18457);function i(e){try{return r.A.localStorage.getItem(e)}catch{return null}}function s(e,t){try{r.A.localStorage.setItem(e,t)}catch{}}function o(e){try{r.A.localStorage.removeItem(e)}catch{}}},85030:(e,t,n)=>{"use strict";n.r(t),n.d(t,{pagination:()=>s});var r=n(96876);const i=9;function s(){return(0,r.Ay)((function(){let{page:e,per_page:t,totalItems:n}=this;return function(e,t,n){let r=parseInt(e,10)||1,s=0===n?0:(r-1)*t+1,o=Math.min(r*t,n),a=Math.ceil(n/t||1),l=r+1;l>a&&(l=r);let c,u,d=r-1;d<=0&&(d=r),a-r{"use strict";n.r(t),n.d(t,{CATEGORY_PREFIX:()=>r,processSearchQuery:()=>s});const r="category:",i="keyword:";function s(e){let t=e.trim().split(/\s+/),n=[],s=[],o=null;for(let e of t)if(e.startsWith(r)){let t=e.slice(r.length).trim();t&&(o=t)}else if(e.startsWith(i)){let t=e.slice(i.length).trim();t&&s.push(t)}else n.push(e);let a={q:n.join(" ")};return 1===s.length?a.keyword=s[0]:0!==s.length&&(a.all_keywords=s.join(" ")),o&&(a.category=o),a}},97345:(e,t,n)=>{"use strict";n.r(t),n.d(t,{MockSentryService:()=>o});var r=n(75402),i=n(94313),s=n.n(i);class o extends(s()){constructor(...e){super(...e),(0,r.A)(this,"events",[]),(0,r.A)(this,"scope",new a)}captureException(e){let{scope:t,user:n}=this,{tags:r}=t,i={error:e,tags:r,user:n};this.events.push(i)}getCurrentScope(){return this.scope}setUser(e){this.user=e}}class a{constructor(){(0,r.A)(this,"transaction",null),(0,r.A)(this,"tags",{})}setTag(e,t){this.tags[e]=t}setTransactionName(e){this.transaction=e}}},51091:(e,t,n)=>{"use strict";n.r(t),n.d(t,{patternDescription:()=>o,scopeDescription:()=>s});var r=n(48338);const i={"change-owners":"Invite new crate owners or remove existing ones","publish-new":"Publish new crates","publish-update":"Publish new versions of existing crates",yank:"Yank and unyank crate versions"};function s(e){return i[e]}function o(e){return"*"===e?"Matches all crates on crates.io":e.endsWith("*")?(0,r.htmlSafe)(`Matches all crates starting with ${e.slice(0,-1)}`):(0,r.htmlSafe)(`Matches only the ${e} crate`)}},98986:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r=n(35423),i=n.n(r),s=n(68131),o=n(62542);const a={buildURL:function(e,t,n,r,i){switch(r){case"findRecord":return this.urlForFindRecord(t,e,n);case"findAll":return this.urlForFindAll(e,n);case"query":return this.urlForQuery(i||{},e);case"queryRecord":return this.urlForQueryRecord(i||{},e);case"findMany":return this.urlForFindMany(t,e,n);case"findHasMany":return this.urlForFindHasMany(t,e,n);case"findBelongsTo":return this.urlForFindBelongsTo(t,e,n);case"createRecord":return this.urlForCreateRecord(e,n);case"updateRecord":return this.urlForUpdateRecord(t,e,n);case"deleteRecord":return this.urlForDeleteRecord(t,e,n);default:return this._buildURL(e,t)}},_buildURL:function(e,t){let n,r=[],{host:i}=this,s=this.urlPrefix();e&&(n=this.pathForType(e),n&&r.push(n)),t&&r.push(encodeURIComponent(t)),s&&r.unshift(s);let o=r.join("/");return!i&&o&&"/"!==o.charAt(0)&&(o="/"+o),o},urlForFindRecord:function(e,t,n){return this._buildURL(t,e)},urlForFindAll:function(e,t){return this._buildURL(e)},urlForQueryRecord:function(e,t){return this._buildURL(t)},urlForQuery:function(e,t){return this._buildURL(t)},urlForFindMany:function(e,t,n){return this._buildURL(t)},urlForFindHasMany:function(e,t,n){return this._buildURL(t,e)},urlForFindBelongsTo:function(e,t,n){return this._buildURL(t,e)},urlForCreateRecord:function(e,t){return this._buildURL(e)},urlForDeleteRecord:function(e,t,n){return this._buildURL(t,e)},urlForUpdateRecord:function(e,t,n){return this._buildURL(t,e)},urlPrefix:function(e,t){let{host:n,namespace:r}=this;if(n&&"/"!==n||(n=""),e)return/^\/\//.test(e)||/http(s)?:\/\//.test(e)?e:"/"===e.charAt(0)?`${n}${e}`:`${t}/${e}`;let i=[];return n&&i.push(n),r&&i.push(r),i.join("/")},pathForType:function(e){let t=(0,s.PT)(e);return(0,o.td)(t)}};var l=i().create(a)},40959:(e,t,n)=>{"use strict";function r(e,t="Adapter operation failed"){this.isAdapterError=!0;let n=Error.call(this,t);n&&(this.stack=n.stack,this.description=n.description,this.fileName=n.fileName,this.lineNumber=n.lineNumber,this.message=n.message,this.name=n.name,this.number=n.number),this.errors=e||[{title:"Adapter Error",detail:t}]}function i(e){return function({message:t}={}){return s(e,t)}}function s(e,t){let n=function(n,r){e.call(this,n,r||t)};return n.prototype=Object.create(e.prototype),n.extend=i(n),n}n.d(t,{Ay:()=>r,D_:()=>c,MU:()=>a,W2:()=>y,aB:()=>o,fK:()=>h,gP:()=>p,lc:()=>l,m_:()=>d,qQ:()=>u,w_:()=>b}),n(31837),r.prototype=Object.create(Error.prototype),r.prototype.code="AdapterError",r.extend=i(r);const o=s(r,"The adapter rejected the commit because it was invalid");o.prototype.code="InvalidError";const a=s(r,"The adapter operation timed out");a.prototype.code="TimeoutError";const l=s(r,"The adapter operation was aborted");l.prototype.code="AbortError";const c=s(r,"The adapter operation is unauthorized");c.prototype.code="UnauthorizedError";const u=s(r,"The adapter operation is forbidden");u.prototype.code="ForbiddenError";const d=s(r,"The adapter could not find the resource");d.prototype.code="NotFoundError";const h=s(r,"The adapter operation failed due to a conflict");h.prototype.code="ConflictError";const p=s(r,"The adapter operation failed due to a server error");p.prototype.code="ServerError";const f=/^\/?data\/(attributes|relationships)\/(.*)/,m=/^\/?data/,g="base";function y(e){{let t=[];return e&&Object.keys(e).forEach((n=>{let r=(i=e[n],Array.isArray(i)?i:[i]);var i;for(let e=0;e{if(e.source&&e.source.pointer){let n=e.source.pointer.match(f);n?n=n[2]:-1!==e.source.pointer.search(m)&&(n=g),n&&(t[n]=t[n]||[],t[n].push(e.detail||e.title))}})),t}}},21983:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,_:()=>l});var r,i,s=n(96639),o=n.n(s),a=n(94313);function l(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}let c=(r=class extends(o()){constructor(...e){var t;super(...e),(t=i)&&Object.defineProperty(this,"store",{enumerable:t.enumerable,configurable:t.configurable,writable:t.writable,value:t.initializer?t.initializer.call(this):void 0})}findRecord(e,t,n,r){}findAll(e,t,n,r){}query(e,t,n){}queryRecord(e,t,n,r){}serialize(e,t){return e.serialize(t)}createRecord(e,t,n){}updateRecord(e,t,n){}deleteRecord(e,t,n){}get coalesceFindRequests(){let e=this._coalesceFindRequests;return"boolean"==typeof e?e:this._coalesceFindRequests=!0}set coalesceFindRequests(e){this._coalesceFindRequests=e}groupRecordsForFindMany(e,t){return[t]}shouldReloadRecord(e,t){return!1}shouldReloadAll(e,t){return!t.length}shouldBackgroundReloadRecord(e,t){return!0}shouldBackgroundReloadAll(e,t){return!0}},i=l(r.prototype,"store",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},73294:(e,t,n)=>{"use strict";n.d(t,{A:()=>a}),n(31837);var r=n(68131),i=n(62542),s=n(2611),o=n(53251);class a extends o.A{constructor(...e){super(...e),this._defaultContentType="application/vnd.api+json"}ajaxOptions(e,t,n={}){let r=super.ajaxOptions(e,t,n);return r.headers.Accept=r.headers.Accept||"application/vnd.api+json",r}get coalesceFindRequests(){let e=this._coalesceFindRequests;return"boolean"==typeof e?e:this._coalesceFindRequests=!1}set coalesceFindRequests(e){this._coalesceFindRequests=e}findMany(e,t,n,r){let i=this.buildURL(t.modelName,n,r,"findMany");return this.ajax(i,"GET",{data:{filter:{id:n.join(",")}}})}pathForType(e){let t=(0,r._k)(e);return(0,i.td)(t)}updateRecord(e,t,n){const r=(0,s.b)(e,t,n),i=n.modelName,o=n.id;let a=this.buildURL(i,o,n,"updateRecord");return this.ajax(a,"PATCH",{data:r})}}},53251:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r,i,s=n(21983),o=n(44688),a=(n(31837),n(96639)),l=n(86053),c=n(2611),u=n(98986),d=n(40959);let h=(r=(0,a.computed)(),i=class extends(s.A.extend(u.B)){constructor(...e){super(...e),this.useFetch=!0,this._defaultContentType="application/json; charset=utf-8",this.maxURLLength=2048}get fastboot(){return this._fastboot||(this._fastboot=(0,o.getOwner)(this).lookup("service:fastboot"))}set fastboot(e){this._fastboot=e}sortQueryParams(e){let t=Object.keys(e),n=t.length;if(n<2)return e;let r={},i=t.sort();for(let t=0;t{let i=r._stripIDFromURL(e,t);n.has(i)||n.set(i,[]),n.get(i).push(t)}));let s=[];return n.forEach(((t,n)=>{let o=function(t,n){let i=0,s=r._stripIDFromURL(e,t[0]),o=[[]];return t.forEach((e=>{let t=encodeURIComponent(e.id).length+11;s.length+i+t>=n&&(i=0,o.push([])),i+=t;let r=o.length-1;o[r].push(e)})),o}(t,i);o.forEach((e=>s.push(e)))})),s}handleResponse(e,t,n,r){if(this.isSuccess(e,t,n))return n;if(this.isInvalid(e,t,n))return new d.aB("object"==typeof n&&"errors"in n?n.errors:void 0);let i=this.normalizeErrorResponse(e,t,n),s=this.generatedDetailedMessage(e,t,n,r);switch(e){case 401:return new d.D_(i,s);case 403:return new d.qQ(i,s);case 404:return new d.m_(i,s);case 409:return new d.fK(i,s);default:if(e>=500)return new d.gP(i,s)}return new d.Ay(i,s)}isSuccess(e,t,n){return e>=200&&e<300||304===e}isInvalid(e,t,n){return 422===e}async ajax(e,t,n={}){let r=this,i={url:e,method:t};if(this.useFetch){let s=r.ajaxOptions(e,t,n),o=await this._fetchRequest(s),a=await(0,c.d)(o,i);if(!o.ok||a instanceof Error)throw function(e,t,n,r,i){let s=m(n);return 200===s.status&&t instanceof Error?(s.errorThrown=t,t=s.errorThrown.payload):(s.errorThrown=null,"string"==typeof t&&(t=e.parseErrorResponse(t))),f(e,t,i,s)}(r,a,o,0,i);return function(e,t,n,r){return p(e,t,r,m(n))}(r,a,o,i)}{let s=r.ajaxOptions(e,t,n);return new Promise((function(e,t){s.success=function(t,n,s){let o=function(e,t,n,r){return p(e,t,r,g(n))}(r,t,s,i);(0,l.join)(null,e,o)},s.error=function(e,n,s){let o=function(e,t,n,r){let i=g(t);i.errorThrown=n;let s=e.parseErrorResponse(t.responseText);return f(e,s,r,i)}(r,e,s,i);(0,l.join)(null,t,o)},r._ajax(s)}))}}_ajaxRequest(e){"undefined"!=typeof jQuery&&jQuery.ajax(e)}_fetchRequest(e){return(0,c.g)()(e.url,e)}_ajax(e){this.useFetch?this._fetchRequest(e):this._ajaxRequest(e)}ajaxOptions(e,t,n){let r=Object.assign({url:e,method:t,type:t},n);void 0!==this.headers?r.headers={...this.headers,...r.headers}:n.headers||(r.headers={});let i=r.contentType||this._defaultContentType;return this.useFetch?(r.data&&"GET"!==r.type&&r.headers&&(r.headers["Content-Type"]||r.headers["content-type"]||(r.headers["content-type"]=i)),r=function(e){if(e.credentials=e.credentials||"same-origin",e.data)if("GET"===e.method||"HEAD"===e.method){if(Object.keys(e.data).length&&e.url){const t=e.url.indexOf("?")>-1?"&":"?";e.url+=`${t}${(0,c.s)(e.data)}`}}else"[object Object]"===Object.prototype.toString.call(e.data)?e.body=JSON.stringify(e.data):e.body=e.data;return e}(r)):(r.data&&"GET"!==r.type&&(r={...r,contentType:i}),r=function(e,t){return e.dataType="json",e.context=t,e.data&&"GET"!==e.type&&(e.data=JSON.stringify(e.data)),e.beforeSend=function(t){e.headers&&Object.keys(e.headers).forEach((n=>{let r=e.headers&&e.headers[n];"string"==typeof r&&t.setRequestHeader(n,r)}))},e}(r,this)),r.url=this._ajaxURL(r.url),r}_ajaxURL(e){if(this.fastboot?.isFastBoot){let t=/^https?:\/\//,n=/^\/\//,r=this.fastboot.request.protocol,i=this.fastboot.request.host;if(n.test(e))return`${r}${e}`;if(!t.test(e))try{return`${r}//${i}${e}`}catch(e){throw new Error("You are using Ember Data with no host defined in your adapter. This will attempt to use the host of the FastBoot request, which is not configured for the current host of this request. Please set the hostWhitelist property for in your environment.js. FastBoot Error: "+e.message)}}return e}parseErrorResponse(e){let t=e;try{t=JSON.parse(e)}catch(e){}return t}normalizeErrorResponse(e,t,n){return n&&"object"==typeof n&&"errors"in n&&Array.isArray(n.errors)?n.errors:[{status:`${e}`,title:"The backend responded with an error",detail:"string"==typeof n?n:JSON.stringify(n)}]}generatedDetailedMessage(e,t,n,r){let i,s=t["content-type"]||"Empty Content-Type";return i="text/html"===s&&"string"==typeof n&&n.length>250?"[Omitted Lengthy HTML]":n,["Ember Data Request "+r.method+" "+r.url+" returned a "+e,"Payload ("+s+")",i].join("\n")}buildQuery(e){let t={};if(e){let{include:n}=e;n&&(t.include=n)}return t}},(0,s._)(i.prototype,"fastboot",[r],Object.getOwnPropertyDescriptor(i.prototype,"fastboot"),i.prototype),i);function p(e,t,n,r){let i;try{i=e.handleResponse(r.status,r.headers,t,n)}catch(e){return Promise.reject(e)}return i&&i.isAdapterError?Promise.reject(i):i}function f(e,t,n,r){let i;if(r.errorThrown instanceof Error&&""!==t)i=r.errorThrown;else if("timeout"===r.textStatus)i=new d.MU;else if("abort"===r.textStatus||0===r.status)i=function(e,t){let{method:n,url:r,errorThrown:i}=e,{status:s}=t,o=[{title:"Adapter Error",detail:`Request failed: ${n} ${r} ${i||""}`.trim(),status:s}];return new d.lc(o)}(n,r);else try{i=e.handleResponse(r.status,r.headers,t||r.errorThrown,n)}catch(e){i=e}return i}function m(e){return{status:e.status,textStatus:e.statusText,headers:y(e.headers)}}function g(e){return{status:e.status,textStatus:e.statusText,headers:(0,c.p)(e.getAllResponseHeaders())}}function y(e){let t={};return e&&e.forEach(((e,n)=>t[n]=e)),t}},2611:(e,t,n)=>{"use strict";n.d(t,{b:()=>h,d:()=>s,g:()=>d,p:()=>i,s:()=>a}),n(31837);const r=/\r?\n/;function i(e){const t=Object.create(null);if(!e)return t;const n=e.split(r);for(let e=0;ee))).then((n=>function(e,t,n){let r=n,i=null;if(!e.ok)return n;let s=e.status,o=""===n||null===n,a=204===s||205===s||"HEAD"===t.method;if(!e.ok||!a&&!o){try{r=JSON.parse(n)}catch(e){if(!(e instanceof SyntaxError))return e;e.payload=n,i=e}return i||r}}(e,t,n)));var n}const o=/\[\]$/;function a(e){let t=[];return function e(n,r){let i,s,a;if(n)if(Array.isArray(r))for(i=0,s=r.length;ifetch;else if("undefined"!=typeof FastBoot)try{const e=FastBoot.require("node-fetch"),t=/^https?:\/\//,n=/^\/\//;function r(e){if(null===e)throw new Error("Trying to fetch with relative url but the application hasn't finished loading FastBootInfo, see details at https://github.com/ember-cli/ember-fetch#relative-url");const t="undefined:"===e.protocol?"http:":e.protocol;return[e.get("host"),t]}function i(e){if(n.test(e)){let[t]=r(u);e=t+e}else if(!t.test(e)){let[t,n]=r(u);e=n+"//"+t+e}return e}function s(t,n){return t&&t.href?t.url=i(t.href):"string"==typeof t&&(t=i(t)),e(t,n)}c=()=>s}catch(o){throw new Error("Unable to create a compatible 'fetch' for FastBoot with node-fetch")}return c()}function h(e,t,n,r={includeId:!0}){const i=e.serializerFor(t.modelName);if("function"==typeof i.serializeIntoHash){const e={};return i.serializeIntoHash(e,t,n,r),e}return i.serialize(n,r)}},56557:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.default});var r=n(88565)},70458:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(90096)},88565:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(16895),i=(n(31837),n(58944)),s=n.n(i),o=n(12413),a=n(94313),l=n(68131),c=n(86053),u=n(90096);const d=s().extend({store:(0,a.inject)("store"),getFilters:()=>[{name:"isNew",desc:"New"},{name:"isModified",desc:"Modified"},{name:"isClean",desc:"Clean"}],_nameToClass(e){return this.store.modelFor(e)},watchModelTypes(e,t){const{store:n}=this,r=n._instanceCache.getResourceCache,i=[],s=(0,u.x)(n);s.forEach(((r,o)=>{this.watchTypeIfUnseen(n,s,o,e,t,i)})),n._instanceCache.getResourceCache=o=>((0,c.next)((()=>this.watchTypeIfUnseen(n,s,o.type,e,t,i))),r.call(n._instanceCache,o));let o=()=>{i.forEach((e=>e())),n._instanceCache.getResourceCache=r,s.forEach(((e,t)=>{s.set(t,!1)})),this.releaseMethods.removeObject(o)};return this.releaseMethods.pushObject(o),o},watchTypeIfUnseen(e,t,n,r,i,s){if(!0!==t.get(n)){let o=e.modelFor(n),a=this.wrapModelType(o,n);s.push(this.observeModelType(n,i)),r([a]),t.set(n,!0)}},columnNameToDesc:e=>(0,l.ZH)((0,l.z9)(e).replace(/_/g," ").trim()),columnsForType(e){let t=[{name:"id",desc:"Id"}],n=0,r=this;return e.attributes.forEach(((e,i)=>{if(n++>r.attributeLimit)return!1;let s=this.columnNameToDesc(i);t.push({name:i,desc:s})})),t},getRecords(e,t){if(arguments.length<2){let n=e._debugContainerKey;if(n){let e=n.match(/model:(.*)/);null!==e&&(t=e[1])}}return this.store.peekAll(t)},getRecordColumnValues(e){let t=0,n={id:e.id};return e.eachAttribute((r=>{if(t++>this.attributeLimit)return!1;n[r]=e[r]})),n},getRecordKeywords(e){let t=[],n=(0,r.A)(["id"]);return e.eachAttribute((e=>n.push(e))),n.forEach((n=>t.push(e[n]))),t},getRecordFilterValues:e=>({isNew:e.isNew,isModified:e.hasDirtyAttributes&&!e.isNew,isClean:!e.hasDirtyAttributes}),getRecordColor(e){let t="black";return e.isNew?t="green":e.hasDirtyAttributes&&(t="blue"),t},observeRecord(e,t){let n=(0,r.A)(),i=(0,r.A)(["id","isNew","hasDirtyAttributes"]);e.eachAttribute((e=>i.push(e)));let s=this;return i.forEach((function(r){let i=function(){t(s.wrapRecord(e))};(0,o.addObserver)(e,r,i),n.push((function(){(0,o.removeObserver)(e,r,i)}))})),function(){n.forEach((e=>e()))}}})},90096:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,x:()=>s});var r=n(30263);const i=new WeakMap;function s(e){let t=i.get(e);return void 0===t&&(t=new Map,i.set(e,t)),t}Object.defineProperty(r.Ay.prototype,"_instanceCache",{get(){return this.__instanceCache},set(e){const t=e.getResourceCache,n=this;e.getResourceCache=function(e){const r=s(n);return r.has(e.type)||r.set(e.type,!1),t.call(this,e)},this.__instanceCache=e}});const o=r.Ay.prototype._createRecordData;r.Ay.prototype._createRecordData=function(e){const t=s(this);return t.has(e.type)||t.set(e.type,!1),o.call(this,e)};const a={name:"@ember-data/data-adapter",initialize(){}}},24730:(e,t,n)=>{"use strict";n.r(t),n.d(t,{graphFor:()=>N,peekGraph:()=>D}),n(31837);var r=n(88393);function i(e){return e._store}function s(e,t,n){return(e[t]=e[t]||Object.create(null))[n]}function o(e,t,n,r){(e[t]=e[t]||Object.create(null))[n]=r}function a(e){if(!e.id)return!0;const t=(0,r.oX)(e);return Boolean(t?.isNew(e))}function l(e){return"belongsTo"===e.definition.kind}function c(e){return e.definition.isImplicit}function u(e){return"hasMany"===e.definition.kind}function d(e,t){if(l(e))e.remoteState&&t(e.remoteState),e.localState&&e.localState!==e.remoteState&&t(e.localState);else if(u(e)){let n=new Set;for(let r=0;r{n.has(e)||(n.add(e),t(e))})),e.remoteMembers.forEach((e=>{n.has(e)||(n.add(e),t(e))}))}}function h(e,t,n,r){if(l(t))t.remoteState===n&&(t.remoteState=null),t.localState===n&&(t.localState=null,r||p(e,t.identifier,t.definition.key));else if(u(t)){t.remoteMembers.delete(n),t.localMembers.delete(n);const i=t.remoteState.indexOf(n);-1!==i&&t.remoteState.splice(i,1);const s=t.localState.indexOf(n);-1!==s&&(t.localState.splice(s,1),r||p(e,t.identifier,t.definition.key))}else t.remoteMembers.delete(n),t.localMembers.delete(n)}function p(e,t,n){t!==e._removing&&e.store.notifyChange(t,"relationships",n)}class f{constructor(e,t){this.definition=e,this.identifier=t,this._state=null,this.transactionRef=0,this.meta=null,this.links=null,this.localState=null,this.remoteState=null}get state(){let{_state:e}=this;return e||(e=this._state={hasReceivedData:!1,isEmpty:!0,isStale:!1,hasFailedLoadAttempt:!1,shouldForceReload:!1,hasDematerializedInverse:!1}),e}getData(){let e,t={};return this.localState&&(e=this.localState),null===this.localState&&this.state.hasReceivedData&&(e=null),this.links&&(t.links=this.links),void 0!==e&&(t.data=e),this.meta&&(t.meta=this.meta),t}}class m{constructor(e,t){this.definition=e,this.identifier=t,this._state=null,this.transactionRef=0,this.localMembers=new Set,this.remoteMembers=new Set,this.meta=null,this.links=null,this.remoteState=[],this.localState=[]}get state(){let{_state:e}=this;return e||(e=this._state={hasReceivedData:!1,isEmpty:!0,isStale:!1,hasFailedLoadAttempt:!1,shouldForceReload:!1,hasDematerializedInverse:!1}),e}getData(){let e={};return this.state.hasReceivedData&&(e.data=this.localState.slice()),this.links&&(e.links=this.links),this.meta&&(e.meta=this.meta),e}}const g=null,y="",b=Date.now();function _(e,t){e.inverseKind=t.kind,e.inverseKey=t.key,e.inverseType=t.type,e.inverseIsAsync=t.isAsync,e.inverseIsCollection=t.isCollection,e.inverseIsPolymorphic=t.isPolymorphic,e.inverseIsImplicit=t.isImplicit}function v(e){let t={},n=e.options;return t.kind=e.kind,t.key=e.name,t.type=e.type,t.isAsync=n.async,t.isImplicit=!1,t.isCollection="hasMany"===e.kind,t.isPolymorphic=n&&!!n.polymorphic,t.inverseKey=n&&n.inverse||y,t.inverseType=y,t.inverseIsAsync=g,t.inverseIsImplicit=n&&null===n.inverse||g,t.inverseIsCollection=g,t}function w(e,t,n,r,i){const s=e.get(t,n),{type:o}=s.definition;o!==r.type&&e.registerPolymorphicType(o,r.type),l(s)?(s.state.hasReceivedData=!0,s.state.isEmpty=!1,i&&(e._addToTransaction(s),null!==s.remoteState&&A(e,s.remoteState,s.definition.inverseKey,t,i),s.remoteState=r),s.localState!==r&&(!i&&s.localState&&A(e,s.localState,s.definition.inverseKey,t,i),s.localState=r,p(e,s.identifier,s.definition.key))):u(s)?i?s.remoteMembers.has(r)||(e._addToTransaction(s),s.remoteState.push(r),s.remoteMembers.add(r),s.state.hasReceivedData=!0,k(e,s)):s.localMembers.has(r)||(s.localState.push(r),s.localMembers.add(r),s.state.hasReceivedData=!0,p(e,s.identifier,s.definition.key)):i?s.remoteMembers.has(r)||(s.remoteMembers.add(r),s.localMembers.add(r)):s.localMembers.has(r)||s.localMembers.add(r)}function A(e,t,n,r,i){const s=e.get(t,n);if(l(s))s.state.isEmpty=!0,i&&(e._addToTransaction(s),s.remoteState=null),s.localState===r&&(s.localState=null,p(e,t,n));else if(u(s)){if(i){e._addToTransaction(s);let t=s.remoteState.indexOf(r);-1!==t&&(s.remoteMembers.delete(r),s.remoteState.splice(t,1))}let t=s.localState.indexOf(r);-1!==t&&(s.localMembers.delete(r),s.localState.splice(t,1)),p(e,s.identifier,s.definition.key)}else i?(s.remoteMembers.delete(r),s.localMembers.delete(r)):r&&s.localMembers.has(r)&&s.localMembers.delete(r)}function k(e,t){e._scheduleLocalSync(t)}function S(e,t,n,r,i,s){const{localMembers:o,localState:a}=t;if(o.has(r))return;const{type:l}=t.definition;l!==r.type&&e.registerPolymorphicType(r.type,l),t.state.hasReceivedData=!0,o.add(r),void 0===i?a.push(r):a.splice(i,0,r),w(e,r,t.definition.inverseKey,n,s)}function E(e,t,n,r,i){const{localMembers:s,localState:o}=t;if(!s.has(r))return;s.delete(r);let a=o.indexOf(r);o.splice(a,1),A(e,r,t.definition.inverseKey,n,i)}function x(e){switch(typeof e){case"object":return e;case"string":return{href:e}}}const C=new Map;class T{constructor(e){this._definitionCache=Object.create(null),this._potentialPolymorphicTypes=Object.create(null),this.identifiers=new Map,this.store=e,this.isDestroyed=!1,this._willSyncRemote=!1,this._willSyncLocal=!1,this._pushedUpdates={belongsTo:[],hasMany:[],deletions:[]},this._updatedRelationships=new Set,this._transaction=null,this._removing=null}has(e,t){let n=this.identifiers.get(e);return!!n&&void 0!==n[t]}get(e,t){let n=this.identifiers.get(e);n||(n=Object.create(null),this.identifiers.set(e,n));let r=n[t];if(!r){const a=function(e,t,n){const r=e._definitionCache,a=e.store,l=e._potentialPolymorphicTypes,{type:c}=t;let u=s(r,c,n);if(void 0!==u)return u;let d=a.getSchemaDefinitionService().relationshipsDefinitionFor(t)[n];if(!d){if(l[c]){const e=Object.keys(l[c]);for(let t=0;t{let r=n[e];r&&(function(e,t,n){if(c(t))return void(e.isReleasable(t.identifier)&&R(e,t));const{identifier:r}=t,{inverseKey:i}=t.definition;t.definition.inverseIsImplicit||d(t,(t=>function(e,t,n,r,i){if(!e.has(t,n))return;let s=e.get(t,n);l(s)&&s.localState&&r!==s.localState||function(e,t,n,r){if(l(t)){const n=t.localState;!t.definition.isAsync||n&&a(n)?(t.localState===n&&null!==n&&(t.localState=null),t.remoteState===n&&null!==n&&(t.remoteState=null,t.state.hasReceivedData=!0,t.state.isEmpty=!0,t.localState&&!a(t.localState)&&(t.localState=null))):t.state.hasDematerializedInverse=!0,r||p(e,t.identifier,t.definition.key)}else!t.definition.isAsync||n&&a(n)?h(e,t,n):t.state.hasDematerializedInverse=!0,r||p(e,t.identifier,t.definition.key)}(e,s,r,i)}(e,t,i,r,n))),t.definition.inverseIsImplicit||t.definition.inverseIsAsync||(t.state.isStale=!0,O(t),t.definition.isAsync||n||p(e,t.identifier,t.definition.key))}(this,r,t),c(r)&&(n[e]=void 0))}))}remove(e){this._removing=e,this.unload(e),this.identifiers.delete(e),this._removing=null}push(e){if("deleteRecord"===e.op)this._pushedUpdates.deletions.push(e);else if("replaceRelatedRecord"===e.op)this._pushedUpdates.belongsTo.push(e);else{const t=this.get(e.record,e.field);this._pushedUpdates[t.definition.kind].push(e)}this._willSyncRemote||(this._willSyncRemote=!0,i(this.store)._schedule("coalesce",(()=>this._flushRemoteQueue())))}update(e,t=!1){switch(e.op){case"mergeIdentifiers":{const t=this.identifiers.get(e.record);t&&function(e,t,n){Object.keys(n).forEach((r=>{const i=n[r];i&&function(e,t,n){n.identifier=t.value,d(n,(r=>{const i=e.get(r,n.definition.inverseKey);!function(e,t,n){l(t)?function(e,t,n){t.remoteState===n.record&&(t.remoteState=n.value),t.localState===n.record&&(t.localState=n.value,p(e,t.identifier,t.definition.key))}(e,t,n):u(t)?function(e,t,n){if(t.remoteMembers.has(n.record)){t.remoteMembers.delete(n.record),t.remoteMembers.add(n.value);const e=t.remoteState.indexOf(n.record);t.remoteState.splice(e,1,n.value)}if(t.localMembers.has(n.record)){t.localMembers.delete(n.record),t.localMembers.add(n.value);const r=t.localState.indexOf(n.record);t.localState.splice(r,1,n.value),p(e,t.identifier,t.definition.key)}}(e,t,n):function(e,t,n){t.remoteMembers.has(n.record)&&(t.remoteMembers.delete(n.record),t.remoteMembers.add(n.value)),t.localMembers.has(n.record)&&(t.localMembers.delete(n.record),t.localMembers.add(n.value))}(0,t,n)}(e,i,t)}))}(e,t,i)}))}(this,e,t);break}case"updateRelationship":!function(e,t){const n=e.get(t.record,t.field),{definition:r,state:i,identifier:s}=n,{isCollection:o}=r,a=t.value;let l=!1,c=!1;if(a.meta&&(n.meta=a.meta),void 0!==a.data)if(l=!0,o){null===a.data&&(a.data=[]);const n=e.store.identifierCache;e.update({op:"replaceRelatedRecords",record:s,field:t.field,value:a.data.map((e=>n.getOrCreateRecordIdentifier(e)))},!0)}else e.update({op:"replaceRelatedRecord",record:s,field:t.field,value:a.data?e.store.identifierCache.getOrCreateRecordIdentifier(a.data):null},!0);else!1!==r.isAsync||i.hasReceivedData||(l=!0,o?e.update({op:"replaceRelatedRecords",record:s,field:t.field,value:[]},!0):e.update({op:"replaceRelatedRecord",record:s,field:t.field,value:null},!0));if(a.links){let e=n.links;if(n.links=a.links,a.links.related){let t=x(a.links.related),n=e&&e.related?x(e.related):null,r=n?n.href:null;t&&t.href&&t.href!==r&&(c=!0)}}if(n.state.hasFailedLoadAttempt=!1,l){let e=null===a.data||Array.isArray(a.data)&&0===a.data.length;n.state.hasReceivedData=!0,n.state.isStale=!1,n.state.hasDematerializedInverse=!1,n.state.isEmpty=e}else c&&(o||!n.state.hasReceivedData||0===n.transactionRef?(n.state.isStale=!0,p(e,n.identifier,n.definition.key)):n.state.isStale=!1)}(this,e);break;case"deleteRecord":{const t=e.record,n=this.identifiers.get(t);n&&(Object.keys(n).forEach((e=>{const t=n[e];t&&(n[e]=void 0,R(this,t))})),this.identifiers.delete(t));break}case"replaceRelatedRecord":!function(e,t,n=!1){const r=e.get(t.record,t.field);n&&e._addToTransaction(r);const{definition:i,state:s}=r,o=n?"remoteState":"localState",l=r[o];if(t.value!==l)if(l&&A(e,l,i.inverseKey,t.record,n),r[o]=t.value,s.hasReceivedData=!0,s.isEmpty=null===t.value,s.isStale=!1,s.hasFailedLoadAttempt=!1,t.value&&(i.type!==t.value.type&&e.registerPolymorphicType(i.type,t.value.type),w(e,t.value,i.inverseKey,t.record,n)),n){const{localState:t,remoteState:n}=r;if(t&&a(t)&&!n)return;t!==n&&(r.localState=n,p(e,r.identifier,r.definition.key))}else p(e,r.identifier,r.definition.key);else if(s.hasReceivedData=!0,n){const{localState:s}=r;if(s&&a(s)&&!l)return;l&&s===l?function(e,t,n,r,i){const s=e.get(t,n);u(s)&&i&&s.remoteMembers.has(r)&&p(e,s.identifier,s.definition.key)}(e,l,i.inverseKey,t.record,n):(r.localState=l,p(e,r.identifier,r.definition.key))}}(this,e,t);break;case"addToRelatedRecords":!function(e,t,n){const{record:r,value:i,index:s}=t,o=e.get(r,t.field);if(Array.isArray(i))for(let t=0;tc?f:c,g=f===c;for(let i=0,y=0;ic?m:c,y=m===c;for(let i=0,p=0;ithis._flushLocalQueue())))}_flushRemoteQueue(){if(!this._willSyncRemote)return;this._transaction=new Set,this._willSyncRemote=!1;const{deletions:e,hasMany:t,belongsTo:n}=this._pushedUpdates;this._pushedUpdates.deletions=[],this._pushedUpdates.hasMany=[],this._pushedUpdates.belongsTo=[];for(let t=0;te.transactionRef=0)),this._transaction=null)}_flushLocalQueue(){if(!this._willSyncLocal)return;this._willSyncLocal=!1;let e=this._updatedRelationships;this._updatedRelationships=new Set,e.forEach((e=>function(e,t){let n=t.remoteState,r=t.localState.filter((e=>a(e)&&-1===n.indexOf(e))),i=t.localState;t.localState=n.concat(r);let s=t.localMembers=new Set;t.remoteMembers.forEach((e=>s.add(e)));for(let e=0;e{e.has(t,r)&&h(e,e.get(t,r),n)})),l(t)?(t.definition.isAsync||O(t),t.localState=null):u(t)?t.definition.isAsync||(O(t),p(e,t.identifier,t.definition.key)):(t.remoteMembers.clear(),t.localMembers.clear())}function M(e){return void 0!==e._instanceCache?e._instanceCache._storeWrapper:e}function D(e){return C.get(M(e))}function N(e){const t=M(e);let n=C.get(t);return n||(n=new T(t),C.set(t,n)),n}},50309:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o}),n(31837);var r=n(86053),i=n(24730);const s={iterator:()=>({next:()=>({done:!0,value:void 0})})};class o{constructor(e){this.version="2",this.__storeWrapper=e,this.__cache=new Map,this.__destroyedCache=new Map,this.__documents=new Map}put(e){if(g(e))return this._putDocument(e);if(function(e){return!(e instanceof Error||"data"in e.content||"included"in e.content||!("meta"in e.content))}(e))return this._putDocument(e);const t=e.content;let n,r,i=t.included;const{identifierCache:s}=this.__storeWrapper;if(i)for(n=0,r=i.length;n{const t=l[e];t&&!t.definition.isImplicit&&(a[e]=t.getData())})),{type:n,id:r,lid:s,attributes:o,relationships:a}}const t=this.peekRequest(e);return t&&"content"in t?t.content:null}peekRequest(e){return this.__documents.get(e.lid)||null}upsert(e,t,n){let r;const i=this.__safePeek(e,!1),s=!!i,o=i||this._createCache(e),a=function(e,t,n){const r=t._store.getRequestStateService();return!d(e)&&r.getPendingRequestsForRecord(n).some((e=>"query"===e.type))}(i,this.__storeWrapper,e)||!d(i);let f=!function(e){if(!e)return!0;const t=e.isNew,n=e.isDeleted,r=u(e);return(!t||n)&&r}(i)&&!a;return o.isNew&&(o.isNew=!1,this.__storeWrapper.notifyChange(e,"identity"),this.__storeWrapper.notifyChange(e,"state")),n&&(r=s?c(o,t.attributes):Object.keys(t.attributes||{})),o.remoteAttrs=Object.assign(o.remoteAttrs||Object.create(null),t.attributes),o.localAttrs&&p(o)&&this.__storeWrapper.notifyChange(e,"state"),f||this.__storeWrapper.notifyChange(e,"added"),t.id&&(o.id=t.id),t.relationships&&h(this.__storeWrapper,e,t),r&&r.length&&l(this.__storeWrapper,e,r),r}fork(){throw new Error("Not Implemented")}merge(e){throw new Error("Not Implemented")}diff(){throw new Error("Not Implemented")}dump(){throw new Error("Not Implemented")}hydrate(e){throw new Error("Not Implemented")}clientDidCreate(e,t){this._createCache(e).isNew=!0;let n={};if(void 0!==t){const r=this.__storeWrapper;let s=r.getSchemaDefinitionService().attributesDefinitionFor(e),o=r.getSchemaDefinitionService().relationshipsDefinitionFor(e);const a=(0,i.graphFor)(r);let l=Object.keys(t);for(let r=0;r0){let t=n.localAttrs=n.localAttrs||Object.create(null);for(let r=0;r0;){let s=r.shift();n.push(s),i.add(s);const o=m(e,t).iterator();for(let e=o.next();!e.done;e=o.next()){const t=e.value;t&&!i.has(t)&&(i.add(t),r.push(t))}}return n}(t,e);if(function(e,t){for(let n=0;n{setTimeout((()=>{this.__destroyedCache.clear()}),100)})),!s&&n&&t.notifyChange(e,"removed")}getAttr(e,t){const n=this.__peek(e,!0);if(n){if(n.localAttrs&&t in n.localAttrs)return n.localAttrs[t];if(n.inflightAttrs&&t in n.inflightAttrs)return n.inflightAttrs[t];if(n.remoteAttrs&&t in n.remoteAttrs)return n.remoteAttrs[t];{const n=this.__storeWrapper.getSchemaDefinitionService().attributesDefinitionFor(e)[t];return function(e){if(e)return"function"==typeof e.defaultValue?e.defaultValue():e.defaultValue}(n?.options)}}}setAttr(e,t,n){const r=this.__peek(e,!1),i=r.inflightAttrs&&t in r.inflightAttrs?r.inflightAttrs[t]:r.remoteAttrs&&t in r.remoteAttrs?r.remoteAttrs[t]:void 0;i!==n?(r.localAttrs=r.localAttrs||Object.create(null),r.localAttrs[t]=n,r.changes=r.changes||Object.create(null),r.changes[t]=[i,n]):r.localAttrs&&(delete r.localAttrs[t],delete r.changes[t]),this.__storeWrapper.notifyChange(e,"attributes",t)}changedAttrs(e){const t=this.__peek(e,!1);return t&&t.changes||Object.create(null)}hasChangedAttrs(e){const t=this.__peek(e,!0);return!!t&&(null!==t.inflightAttrs&&Object.keys(t.inflightAttrs).length>0||null!==t.localAttrs&&Object.keys(t.localAttrs).length>0)}rollbackAttrs(e){const t=this.__peek(e,!1);let n;return t.isDeleted=!1,null!==t.localAttrs&&(n=Object.keys(t.localAttrs),t.localAttrs=null,t.changes=null),t.isNew&&((0,i.graphFor)(this.__storeWrapper).push({op:"deleteRecord",record:e,isNew:!0}),t.isDeleted=!0,t.isNew=!1),t.inflightAttrs=null,t.errors&&(t.errors=null,this.__storeWrapper.notifyChange(e,"errors")),this.__storeWrapper.notifyChange(e,"state"),n&&n.length&&l(this.__storeWrapper,e,n),n||[]}getRelationship(e,t){return(0,i.graphFor)(this.__storeWrapper).get(e,t).getData()}setIsDeleted(e,t){const n=this.__peek(e,!1);n.isDeleted=t,n.isNew&&(0,i.graphFor)(this.__storeWrapper).push({op:"deleteRecord",record:e,isNew:!0}),this.__storeWrapper.notifyChange(e,"state")}getErrors(e){return this.__peek(e,!0).errors||[]}isEmpty(e){const t=this.__safePeek(e,!0);return!t||null===t.remoteAttrs&&null===t.inflightAttrs&&null===t.localAttrs}isNew(e){return this.__safePeek(e,!0)?.isNew||!1}isDeleted(e){return this.__safePeek(e,!0)?.isDeleted||!1}isDeletionCommitted(e){return this.__safePeek(e,!0)?.isDeletionCommitted||!1}_createCache(e){const t={id:null,remoteAttrs:null,localAttrs:null,inflightAttrs:null,changes:null,errors:null,isNew:!1,isDeleted:!1,isDeletionCommitted:!1};return this.__cache.set(e,t),t}__safePeek(e,t){let n=this.__cache.get(e);return!n&&t&&(n=this.__destroyedCache.get(e)),n}__peek(e,t){return this.__safePeek(e,t)}}function a(e){return"belongsTo"===e.definition.kind?e.remoteState?[e.remoteState]:[]:e.remoteState}function l(e,t,n){if(n)for(let r=0;r{const t=r[e];t&&!t.definition.isImplicit&&o.push(t)}));let l=0,c=0,u=0;return{iterator:()=>({next:()=>{const e=(()=>{for(;l{"use strict";n.r(t),n.d(t,{FetchManager:()=>r.F,SaveOp:()=>r.a,Snapshot:()=>r.b,SnapshotRecordArray:()=>r.S});var r=n(96930)},96930:(e,t,n)=>{"use strict";n.d(t,{F:()=>g,S:()=>o,_:()=>c,a:()=>m,b:()=>f,c:()=>l,d:()=>a,e:()=>d,g:()=>u,i:()=>h,n:()=>p}),n(31837);var r=n(88393),i=n(97570),s=n(57268);class o{constructor(e,t,n={}){this.__store=e,this._snapshots=null,this.modelName=t,this.adapterOptions=n.adapterOptions,this.include=n.include}get _recordArray(){return this.__store.peekAll(this.modelName)}get length(){return this._recordArray.length}snapshots(){if(null!==this._snapshots)return this._snapshots;const{_fetchManager:e}=this.__store;return this._snapshots=this._recordArray[r.u2].map((t=>e.createSnapshot(t))),this._snapshots}}function a(e,...t){return function(){return e.apply(void 0,t)}}function l(e,t){let n=e.finally((()=>{t()||n._subscribers&&(n._subscribers.length=0)}));return n}function c(e){return!(e.isDestroyed||e.isDestroying)}function u(e,t){return e.then((e=>(c(t),e)))}function d(e){}function h(e,t){return Array.isArray(e)?e.map(t):t(e)}function p(e,t,n,r,i,s){return e?e.normalizeResponse(t,n,r,i,s):r}Object.defineProperty(o.prototype,"type",{get(){return this._recordArray.type}});class f{constructor(e,t,n){this._store=n,this.__attributes=null,this._belongsToRelationships=Object.create(null),this._belongsToIds=Object.create(null),this._hasManyRelationships=Object.create(null),this._hasManyIds=Object.create(null);const r=!!n._instanceCache.peek({identifier:t,bucket:"record"});if(this.modelName=t.type,this.identifier=t,r&&this._attributes,this.id=t.id,this.adapterOptions=e.adapterOptions,this.include=e.include,this.modelName=t.type,r){const e=this._store._instanceCache.getResourceCache(t);this._changedAttributes=e.changedAttrs(t)}}get record(){return this._store.peekRecord(this.identifier)}get _attributes(){if(null!==this.__attributes)return this.__attributes;const e=this.__attributes=Object.create(null),{identifier:t}=this,n=Object.keys(this._store.getSchemaDefinitionService().attributesDefinitionFor(t)),r=this._store._instanceCache.getResourceCache(t);return n.forEach((n=>{e[n]=r.getAttr(t,n)})),e}get isNew(){const e=this._store._instanceCache.peek({identifier:this.identifier,bucket:"resourceCache"});return e?.isNew(this.identifier)||!1}attr(e){if(e in this._attributes)return this._attributes[e]}attributes(){return{...this._attributes}}changedAttributes(){let e=Object.create(null);if(!this._changedAttributes)return e;let t=Object.keys(this._changedAttributes);for(let n=0,r=t.length;n{let t=l.identifierCache.getOrCreateRecordIdentifier(e);l._instanceCache.getResourceCache(t).isDeleted(t)||(i?r.push(t.id):r.push(l._fetchManager.createSnapshot(t)))}))),i?this._hasManyIds[e]=r:this._hasManyRelationships[e]=r,r}eachAttribute(e,t){let n=this._store.getSchemaDefinitionService().attributesDefinitionFor(this.identifier);Object.keys(n).forEach((r=>{e.call(t,r,n[r])}))}eachRelationship(e,t){let n=this._store.getSchemaDefinitionService().relationshipsDefinitionFor(this.identifier);Object.keys(n).forEach((r=>{e.call(t,r,n[r])}))}serialize(e){return this._store.serializerFor(this.modelName).serialize(this,e)}}Object.defineProperty(f.prototype,"type",{get(){return this._store.modelFor(this.identifier.type)}});const m=Symbol("SaveOp");class g{constructor(e){this._store=e,this._pendingFetch=new Map,this.requestCache=e.getRequestStateService(),this.isDestroyed=!1}createSnapshot(e,t={}){return new f(t,e,this._store)}scheduleSave(e,t){let n=(0,i.ud)(),r={data:[{op:"saveRecord",recordIdentifier:e,options:t}]};const s={snapshot:this.createSnapshot(e,t),resolver:n,identifier:e,options:t,queryRequest:r},o=this.requestCache._enqueue(n.promise,s.queryRequest);return function(e,t){const{snapshot:n,resolver:r,identifier:i,options:s}=t,o=e.adapterFor(i.type),a=s[m];let l=n.modelName,u=e.modelFor(l);const d=e._instanceCache.getRecord(i);let h=Promise.resolve().then((()=>o[a](e,u,n))),f=e.serializerFor(l);h=h.then((t=>{if(c(d),t)return p(f,e,u,t,n.id,a)})),r.resolve(h)}(this._store,s),o}scheduleFetch(e,t,r){let o={data:[{op:"findRecord",recordIdentifier:e,options:t}]},a=this.getPendingFetch(e,t);if(a)return a;let l=e.type;const c=(0,i.ud)(),u={identifier:e,resolver:c,options:t,queryRequest:o};let d=c.promise;const h=this._store,p=!h._instanceCache.recordIsLoaded(e);let f=this.requestCache._enqueue(d,u.queryRequest).then((n=>{n.data&&!Array.isArray(n.data)&&(n.data.lid=e.lid);let r=h._push(n,t.reload);return r&&!Array.isArray(r)?r:e}),(t=>{const r=h._instanceCache.peek({identifier:e,bucket:"resourceCache"});if(!r||r.isEmpty(e)||p){let t=!0;if(!r){const r=(0,(0,s.A)(n(24730)).graphFor)(h);t=r.isReleasable(e),t||r.unload(e,!0)}(r||t)&&(h._enableAsyncFlush=!0,h._instanceCache.unloadRecord(e),h._enableAsyncFlush=null)}throw t}));0===this._pendingFetch.size&&new Promise((e=>setTimeout(e,0))).then((()=>{this.flushAllPendingFetches()}));let m=this._pendingFetch,g=m.get(l);g||(g=new Map,m.set(l,g));let y=g.get(e);return y||(y=[],g.set(e,y)),y.push(u),u.promise=f,f}getPendingFetch(e,t){let n=this._pendingFetch.get(e.type)?.get(e);if(n){let e=n.find((e=>function(e={},t={}){return n=e.adapterOptions,r=t.adapterOptions,(!n||n===r||0===Object.keys(n).length)&&function(e,t){if(!e?.length)return!0;if(!t?.length)return!1;const n=(Array.isArray(e)?e:e.split(",")).sort(),r=(Array.isArray(t)?t:t.split(",")).sort();if(n.join(",")===r.join(","))return!0;for(let e=0;efunction(e,t,n){let r=e.adapterFor(n);if(r.findMany&&r.coalesceFindRequests){const i=[];t.forEach(((e,n)=>{e.length>1||(t.delete(n),i.push(e[0]))}));let s=i.length;if(s>1){let t,o=new Array(s),a=new Map;for(let t=0;t{t.forEach((t=>{b(e,r,t)}))}))}(e,t,n))),this._pendingFetch.clear()}fetchDataIfNeededForIdentifier(e,t={},n){const r=function(e,t){const n=e.__instances.resourceCache.get(t);if(!n)return!0;const r=n.isNew(t),i=n.isDeleted(t),s=n.isEmpty(t);return(!r||i)&&s}(this._store._instanceCache,e),i=function(e,t){const n=e.store.getRequestStateService();return!e.recordIsLoaded(t)&&n.getPendingRequestsForRecord(t).some((e=>"query"===e.type))}(this._store._instanceCache,e);let s;return r?(t.reload=!0,s=this.scheduleFetch(e,t,n)):s=i?this.getPendingFetch(e,t):Promise.resolve(e),s}destroy(){this.isDestroyed=!0}}function y(e,t,n){for(let r=0,i=t.length;r' to be present in the adapter provided payload, but it was not found.`))}}function b(e,t,n){let r=n.identifier,i=r.type,s=e._fetchManager.createSnapshot(r,n.options),o=e.modelFor(r.type),a=r.id,l=Promise.resolve().then((()=>t.findRecord(e,o,r.id,s)));l=l.then((t=>p(e.serializerFor(i),e,o,t,a,"findRecord"))),n.resolver.resolve(l)}function _(e,t,n,r,i){n.length>1?function(e,t,n,r){let i=e.modelFor(n),s=Promise.resolve().then((()=>{const n=r.map((e=>e.id));return t.findMany(e,i,n,r)}));return s=u(s,e),s.then((t=>p(e.serializerFor(n),e,i,t,null,"findMany")))}(e,r,i,n).then((r=>{!function(e,t,n,r){let i=new Map;for(let e=0;e{t.get(e).resolver.resolve({data:n})})):s.push(n)}if(s.length>0&&e._push({data:null,included:s},!0),0===i.size)return;let a=[];i.forEach((e=>{a.push(...e)})),y(t,a)}(e,t,n,r)})).catch((e=>{y(t,n,e)})):1===n.length&&b(e,r,t.get(n[0]))}},65075:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Errors:()=>r.E,LEGACY_SUPPORT:()=>r.L,ManyArray:()=>r.R,Model:()=>r.M,PromiseBelongsTo:()=>r.P,PromiseManyArray:()=>r.c,_modelForMixin:()=>s,attr:()=>r.a,belongsTo:()=>r.b,diffArray:()=>o,hasMany:()=>r.h});var r=n(85531),i=n(44688);function s(e,t){let n=(0,i.getOwner)(e),s=n.factoryFor(`mixin:${t}`),o=s&&s.class;if(o){let e=r.M.extend(o);e.__isMixin=!0,e.__mixin=o,n.register("model:"+t,e)}return n.factoryFor(`model:${t}`)}function o(e,t){const n=e.length,r=t.length,i=Math.min(n,r);let s=null;for(let n=0;n{"use strict";n.d(t,{E:()=>q,L:()=>Ie,M:()=>qe,P:()=>Q,R:()=>B,a:()=>T,b:()=>Ue,c:()=>se,h:()=>We}),n(31837);var r=n(96639),i=n.n(r),s=n(30263),o=n(88393),a=n(68131),l=n(16895),c=n.n(l),u=n(62542),d=n(46958),h=n(86053),p=n(91065),f=n(21266),m=n.n(f),g=n(37022),y=n.n(g),b=n(68750),_=n.n(b),v=n(88046),w=n.n(v),A=n(37407),k=n(70918),S=n(61920),E=n(57268);let x=(0,E.A)(n(7510)).cached;function C(e){return(...t)=>function(e){let[t,n,r]=e;return 3===e.length&&("function"==typeof t||"object"==typeof t&&null!==t)&&"string"==typeof n&&("object"==typeof r&&null!==r&&"enumerable"in r&&"configurable"in r||void 0===r)}(t)?e()(...t):e(...t)}var T=C((function(e,t){"object"==typeof e?(t=e,e=void 0):t=t||{};let n={type:e,isAttribute:!0,options:t};return(0,r.computed)({get(e){if(!this.isDestroyed&&!this.isDestroying)return(0,o.oX)(this).getAttr((0,s.o)(this),e)},set(e,t){const n=(0,s.o)(this),r=(0,o.oX)(this);if(r.getAttr(n,e)!==t&&(r.setAttr(n,e,t),!this.isValid)){const{errors:t}=this;t.get(e)&&(t.remove(e),this.currentState.cleanErrorRequests())}return t}}).meta(n)}));function O(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function R(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}const M=_().extend(y());function D(e){const t=function(e){return M.create({promise:e})}(e);return t}var N,P,F,j,I,L,z;String(Symbol.for("PROXY_CONTENT"));const $=w();let q=(N=(0,r.computed)(),P=(0,A.mapBy)("content","message"),F=(0,r.computed)(),j=(0,A.not)("length"),R((I=class extends ${constructor(...e){super(...e),O(this,"messages",L,this),O(this,"isEmpty",z,this)}get errorsByAttributeName(){return new Map}errorsFor(e){let t=this.errorsByAttributeName,n=t.get(e);return void 0===n&&(n=(0,l.A)(),t.set(e,n)),(0,r.get)(n,"[]"),n}get content(){return(0,l.A)()}unknownProperty(e){let t=this.errorsFor(e);if(0!==t.length)return t}add(e,t){const n=this._findOrCreateMessages(e,t);this.addObjects(n),this.errorsFor(e).addObjects(n),this.__record.currentState.notify("isValid"),this.notifyPropertyChange(e)}_findOrCreateMessages(e,t){let n=this.errorsFor(e),r=Array.isArray(t)?t:[t],i=new Array(r.length);for(let t=0;t{this.notifyPropertyChange(e)})),this.__record.currentState.notify("isValid"),super.clear()}has(e){return this.errorsFor(e).length>0}}).prototype,"errorsByAttributeName",[N],Object.getOwnPropertyDescriptor(I.prototype,"errorsByAttributeName"),I.prototype),L=R(I.prototype,"messages",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R(I.prototype,"content",[F],Object.getOwnPropertyDescriptor(I.prototype,"content"),I.prototype),z=R(I.prototype,"isEmpty",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I);class B extends o.Bm{constructor(e){super(e),this.isLoaded=e.isLoaded||!1,this.isAsync=e.isAsync||!1,this.isPolymorphic=e.isPolymorphic||!1,this.identifier=e.identifier,this.key=e.key}[o.XK](e,t,n,r,i){switch(n){case"length 0":return Reflect.set(e,"length",0),K(this,[],i),!0;case"replace cell":{const[t,n,s]=r;return e[t]=s,function(e,t,n){V(e,{op:"replaceRelatedRecord",record:e.identifier,field:e.key,...t},n)}(this,{value:s,prior:n,index:t},i),!0}case"push":{const s=new Set(e),a=new Set;r.forEach((e=>{const t=(0,o.o)(e);s.has(t)||(s.add(t),a.add(e))}));const l=Array.from(a),c=Reflect.apply(e[n],t,l);return l.length&&W(this,{value:U(l)},i),c}case"pop":{const s=Reflect.apply(e[n],t,r);return s&&G(this,{value:(0,o.o)(s)},i),s}case"unshift":{const s=new Set(e),a=new Set;r.forEach((e=>{const t=(0,o.o)(e);s.has(t)||(s.add(t),a.add(e))}));const l=Array.from(a),c=Reflect.apply(e[n],t,l);return l.length&&W(this,{value:U(l),index:0},i),c}case"shift":{const s=Reflect.apply(e[n],t,r);return s&&G(this,{value:(0,o.o)(s),index:0},i),s}case"sort":{const s=Reflect.apply(e[n],t,r);return function(e,t,n){V(e,{op:"sortRelatedRecords",record:e.identifier,field:e.key,value:t},n)}(this,s.map(o.o),i),s}case"splice":{const[s,a,...l]=r;if(0===s&&a===this[o.u2].length){const r=new Set(l),o=Array.from(r),c=[s,a].concat(o),u=Reflect.apply(e[n],t,c);return K(this,U(o),i),u}{const r=e.slice();r.splice(s,a);const c=new Set(r),u=[];l.forEach((e=>{const t=(0,o.o)(e);c.has(t)||(c.add(t),u.push(e))}));const d=[s,a,...u],h=Reflect.apply(e[n],t,d);return a>0&&G(this,{value:h.map(o.o),index:s},i),u.length>0&&W(this,{value:U(u),index:s},i),h}}}}notify(){this[o.$U].shouldReset=!0,(0,o.J4)(this)}reload(e){return this._manager.reloadHasMany(this.key,e)}createRecord(e){const{store:t}=this,n=t.createRecord(this.modelName,e);return this.push(n),n}destroy(){super.destroy(!1)}}function U(e){return e.map(H)}function H(e){if(e.then){let t=e.content;return(0,o.o)(t)}return(0,o.o)(e)}function W(e,t,n){V(e,{op:"addToRelatedRecords",record:e.identifier,field:e.key,...t},n)}function G(e,t,n){V(e,{op:"removeFromRelatedRecords",record:e.identifier,field:e.key,...t},n)}function K(e,t,n){V(e,{op:"replaceRelatedRecords",record:e.identifier,field:e.key,value:t},n)}function V(e,t,n){e._manager.mutate(t),(0,k.RH)(n)}var Y,X;B.prototype.isAsync=!1,B.prototype.isPolymorphic=!1,B.prototype.identifier=null,B.prototype.cache=null,B.prototype._inverseIsAsync=!1,B.prototype.key="",B.prototype.DEPRECATED_CLASS_NAME="ManyArray";const J=M;let Q=(Y=(0,r.computed)(),R((X=class extends J{get id(){const{key:e,legacySupport:t}=this._belongsToState;return t.referenceFor("belongsTo",e).id()}get meta(){}async reload(e){let{key:t,legacySupport:n}=this._belongsToState;return await n.reloadBelongsTo(t,e),this}}).prototype,"id",[x],Object.getOwnPropertyDescriptor(X.prototype,"id"),X.prototype),R(X.prototype,"meta",[Y],Object.getOwnPropertyDescriptor(X.prototype,"meta"),X.prototype),X);var Z,ee,te,ne,re,ie;let se=(ee=R((Z=class{constructor(e,t){O(this,"content",ee,this),O(this,"isPending",te,this),O(this,"isRejected",ne,this),O(this,"isFulfilled",re,this),O(this,"isSettled",ie,this),this._update(e,t),this.isDestroyed=!1,this.isDestroying=!1,m().meta(this).hasMixin=e=>e===l.NativeArray||e===c()}get length(){return this["[]"],this.content?this.content.length:0}get"[]"(){return this.content?.length&&this.content}forEach(e){this.content&&this.length&&this.content.forEach(e)}reload(e){return this.content.reload(e),this}then(e,t){return this.promise.then(e,t)}catch(e){return this.promise.catch(e)}finally(e){return this.promise.finally(e)}destroy(){this.isDestroying=!0,this.isDestroyed=!0,this.content=null,this.promise=null}get links(){return this.content?this.content.links:void 0}get meta(){return this.content?this.content.meta:void 0}_update(e,t){void 0!==t&&(this.content=t),this.promise=function(e,t){return e.isPending=!0,e.isSettled=!1,e.isFulfilled=!1,e.isRejected=!1,Promise.resolve(t).then((t=>(e.isPending=!1,e.isFulfilled=!0,e.isSettled=!0,e.content=t,t)),(t=>{throw e.isPending=!1,e.isFulfilled=!1,e.isRejected=!0,e.isSettled=!0,t}))}(this,e)}static create({promise:e,content:t}){return new this(e,t)}}).prototype,"content",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),R(Z.prototype,"length",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Z.prototype,"length"),Z.prototype),R(Z.prototype,"[]",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Z.prototype,"[]"),Z.prototype),te=R(Z.prototype,"isPending",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ne=R(Z.prototype,"isRejected",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),re=R(Z.prototype,"isFulfilled",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ie=R(Z.prototype,"isSettled",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),R(Z.prototype,"links",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Z.prototype,"links"),Z.prototype),R(Z.prototype,"meta",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Z.prototype,"meta"),Z.prototype),Z);var oe,ae;function le(e){return Boolean(e&&e.links&&e.links.related)}se.prototype.createRecord=function(...e){return this.content.createRecord(...e)},Object.defineProperty(se.prototype,"firstObject",{get(){return this.content?this.content.firstObject:void 0}}),Object.defineProperty(se.prototype,"lastObject",{get(){return this.content?this.content.lastObject:void 0}}),["addObserver","cacheFor","decrementProperty","get","getProperties","incrementProperty","notifyPropertyChange","removeObserver","set","setProperties","toggleProperty"].forEach((e=>{se.prototype[e]=function(...t){return m()[e](this,...t)}})),["addArrayObserver","addObject","addObjects","any","arrayContentDidChange","arrayContentWillChange","clear","compact","every","filter","filterBy","find","findBy","getEach","includes","indexOf","insertAt","invoke","isAny","isEvery","lastIndexOf","map","mapBy","objectAt","objectsAt","popObject","pushObject","pushObjects","reduce","reject","rejectBy","removeArrayObserver","removeAt","removeObject","removeObjects","replace","reverseObjects","setEach","setObjects","shiftObject","slice","sortBy","toArray","uniq","uniqBy","unshiftObject","unshiftObjects","without"].forEach((e=>{se.prototype[e]=function(...t){return this.content[e](...t)}}));let ce=(ae=R((oe=class{constructor(e,t,n,r,i){this.___identifier=void 0,this.___token=void 0,this.___relatedToken=null,O(this,"_ref",ae,this),this.graph=t,this.key=i,this.belongsToRelationship=r,this.type=r.definition.type,this.store=e,this.___identifier=n,this.___token=e.notifications.subscribe(n,((e,t,n)=>{"relationships"===t&&n===i&&this._ref++}))}destroy(){this.store.notifications.unsubscribe(this.___token),this.___token=null,this.___relatedToken&&(this.store.notifications.unsubscribe(this.___relatedToken),this.___relatedToken=null)}get identifier(){this.___relatedToken&&(this.store.notifications.unsubscribe(this.___relatedToken),this.___relatedToken=null);let e=this._resource();if(e&&e.data){const t=this.store.identifierCache.getOrCreateRecordIdentifier(e.data);return this.___relatedToken=this.store.notifications.subscribe(t,((e,t,n)=>{("identity"===t||"attributes"===t&&"id"===n)&&this._ref++})),t}return null}id(){return this.identifier?.id||null}link(){let e=this._resource();if(le(e)&&e.links){let t=e.links.related;return t&&"string"!=typeof t?t.href:t}return null}links(){let e=this._resource();return e&&e.links?e.links:null}meta(){let e=null,t=this._resource();return t&&t.meta&&"object"==typeof t.meta&&(e=t.meta),e}_resource(){return this._ref,this.store._instanceCache.getResourceCache(this.___identifier).getRelationship(this.___identifier,this.key)}remoteType(){return le(this._resource())?"link":"id"}async push(e){let t=e;e.then&&(t=await e);let n=this.store.push(t);const{identifier:r}=this.belongsToRelationship;return this.store._join((()=>{this.graph.push({op:"replaceRelatedRecord",record:r,field:this.key,value:(0,o.o)(n)})})),n}value(){let e=this._resource();return e&&e.data?this.store.peekRecord(e.data):null}load(e){const t=Ie.get(this.___identifier);return this.belongsToRelationship.definition.isAsync||ge(this.store,this._resource())?t.getBelongsTo(this.key,e):t.reloadBelongsTo(this.key,e).then((()=>this.value()))}reload(e){return Ie.get(this.___identifier).reloadBelongsTo(this.key,e).then((()=>this.value()))}}).prototype,"_ref",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),R(oe.prototype,"identifier",[x,d.dependentKeyCompat],Object.getOwnPropertyDescriptor(oe.prototype,"identifier"),oe.prototype),oe);var ue,de;let he=(de=R((ue=class{constructor(e,t,n,r,i){this.___token=void 0,this.___identifier=void 0,this.___relatedTokenMap=void 0,O(this,"_ref",de,this),this.graph=t,this.key=i,this.hasManyRelationship=r,this.type=r.definition.type,this.store=e,this.___identifier=n,this.___token=e.notifications.subscribe(n,((e,t,n)=>{"relationships"===t&&n===i&&this._ref++})),this.___relatedTokenMap=new Map}destroy(){this.store.notifications.unsubscribe(this.___token),this.___relatedTokenMap.forEach((e=>{this.store.notifications.unsubscribe(e)})),this.___relatedTokenMap.clear()}get identifiers(){this._ref;let e=this._resource(),t=this.___relatedTokenMap;return this.___relatedTokenMap=new Map,e&&e.data?e.data.map((e=>{const n=this.store.identifierCache.getOrCreateRecordIdentifier(e);let r=t.get(n);return r?t.delete(n):r=this.store.notifications.subscribe(n,((e,t,n)=>{("identity"===t||"attributes"===t&&"id"===n)&&this._ref++})),this.___relatedTokenMap.set(n,r),n})):(t.forEach((e=>{this.store.notifications.unsubscribe(e)})),t.clear(),[])}_resource(){return this.store._instanceCache.getResourceCache(this.___identifier).getRelationship(this.___identifier,this.key)}remoteType(){let e=this._resource();return e&&e.links&&e.links.related?"link":"ids"}ids(){return this.identifiers.map((e=>e.id))}link(){let e=this._resource();if(t=e,Boolean(t&&t.links&&t.links.related)&&e.links){let t=e.links.related;return t&&"string"!=typeof t?t.href:t}var t;return null}links(){let e=this._resource();return e&&e.links?e.links:null}meta(){let e=null,t=this._resource();return t&&t.meta&&"object"==typeof t.meta&&(e=t.meta),e}async push(e){let t,n=e;e.then&&(n=await e),t=!Array.isArray(n)&&"object"==typeof n&&Array.isArray(n.data)?n.data:n;const{store:r}=this;let i=t.map((e=>{let t;return t="data"in e?r.push(e):r.push({data:e}),(0,s.o)(t)}));const{identifier:o}=this.hasManyRelationship;return r._join((()=>{this.graph.push({op:"replaceRelatedRecords",record:o,field:this.key,value:i})})),this.load()}_isLoaded(){return!!this.hasManyRelationship.state.hasReceivedData&&this.hasManyRelationship.localState.every((e=>!0===this.store._instanceCache.recordIsLoaded(e,!0)))}value(){const e=Ie.get(this.___identifier);return this._isLoaded()?e.getManyArray(this.key):(this._ref,null)}async load(e){const t=Ie.get(this.___identifier);return this.hasManyRelationship.definition.isAsync||ge(this.store,this._resource())?t.getHasMany(this.key,e):t.reloadHasMany(this.key,e)}reload(e){return Ie.get(this.___identifier).reloadHasMany(this.key,e)}}).prototype,"_ref",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),R(ue.prototype,"identifiers",[x,d.dependentKeyCompat],Object.getOwnPropertyDescriptor(ue.prototype,"identifiers"),ue.prototype),ue);class pe{constructor(e){this.record=e,this.store=(0,o.fV)(e),this.identifier=(0,o.o)(e),this.cache=(0,o.oX)(e),this._manyArrayCache=Object.create(null),this._relationshipPromisesCache=Object.create(null),this._relationshipProxyCache=Object.create(null),this._pending=Object.create(null),this.references=Object.create(null)}_syncArray(e){if(this.isDestroyed||this.isDestroying)return;const t=e[o.u2],n=this.identifier;let[r,i]=this._getCurrentState(n,e.key);i.meta&&(e.meta=i.meta),i.links&&(e.links=i.links),t.length=0,(0,o.RX)(t,r)}mutate(e){this.cache.mutate(e)}_findBelongsTo(e,t,n,r){return this._findBelongsToByJsonApiResource(t,this.identifier,n,r).then((t=>fe(this,e,n,t)),(t=>fe(this,e,n,null,t)))}reloadBelongsTo(e,t){let r=this._relationshipPromisesCache[e];if(r)return r;const i=(0,(0,E.A)(n(24730)).graphFor)(this.store).get(this.identifier,e);let s=this.cache.getRelationship(this.identifier,e);i.state.hasFailedLoadAttempt=!1,i.state.shouldForceReload=!0;let o=this._findBelongsTo(e,s,i,t);return this._relationshipProxyCache[e]?this._updatePromiseProxyFor("belongsTo",e,{promise:o}):o}getBelongsTo(e,t){const{identifier:r,cache:i}=this;let s=i.getRelationship(this.identifier,e),o=s&&s.data?s.data:null;const a=this.store,l=(0,(0,E.A)(n(24730)).graphFor)(a).get(this.identifier,e);let c=l.definition.isAsync,u={key:e,store:a,legacySupport:this,modelName:l.definition.type};if(c){if(l.state.hasFailedLoadAttempt)return this._relationshipProxyCache[e];let n=this._findBelongsTo(e,s,l,t);const r=o&&a._instanceCache.recordIsLoaded(o);return this._updatePromiseProxyFor("belongsTo",e,{promise:n,content:r?a._instanceCache.getRecord(o):null,_belongsToState:u})}return null===o?null:a._instanceCache.getRecord(o)}setDirtyBelongsTo(e,t){return this.cache.mutate({op:"replaceRelatedRecord",record:this.identifier,field:e,value:me(t)},!0)}_getCurrentState(e,t){let n=this.cache.getRelationship(e,t,!0);const r=this.store._instanceCache;let i=[];if(n.data)for(let e=0;efe(this,e,t,n)),(r=>fe(this,e,t,n,r))),this._relationshipPromisesCache[e]=i,i):(n.isLoaded=!0,Promise.resolve(n))}}reloadHasMany(e,t){{let r=this._relationshipPromisesCache[e];if(r)return r;const i=(0,(0,E.A)(n(24730)).graphFor)(this.store).get(this.identifier,e),{definition:s,state:o}=i;o.hasFailedLoadAttempt=!1,o.shouldForceReload=!0;let a=this.getManyArray(e,s),l=this.fetchAsyncHasMany(e,i,a,t);return this._relationshipProxyCache[e]?this._updatePromiseProxyFor("hasMany",e,{promise:l}):l}}getHasMany(e,t){{const r=(0,(0,E.A)(n(24730)).graphFor)(this.store).get(this.identifier,e),{definition:i,state:s}=r;let o=this.getManyArray(e,i);if(i.isAsync){if(s.hasFailedLoadAttempt)return this._relationshipProxyCache[e];let n=this.fetchAsyncHasMany(e,r,o,t);return this._updatePromiseProxyFor("hasMany",e,{promise:n,content:o})}return o}}_updatePromiseProxyFor(e,t,n){let r=this._relationshipProxyCache[t];if("hasMany"===e){const{promise:e,content:i}=n;return r?r._update(e,i):r=this._relationshipProxyCache[t]=new se(e,i),r}if(r){const{promise:e,content:t}=n;void 0!==t&&r.set("content",t),r.set("promise",e)}else r=Q.create(n),this._relationshipProxyCache[t]=r;return r}referenceFor(e,t){let r=this.references[t];if(!r){const e=(0,(0,E.A)(n(24730)).graphFor)(this.store),i=e.get(this.identifier,t);let s=i.definition.kind;"belongsTo"===s?r=new ce(this.store,e,this.identifier,i,t):"hasMany"===s&&(r=new he(this.store,e,this.identifier,i,t)),this.references[t]=r}return r}_findHasManyByJsonApiResource(e,t,n,r={}){{if(!e)return;const{definition:i,state:s}=n,o=this.store.adapterFor(i.type),{isStale:a,hasDematerializedInverse:l,hasReceivedData:c,isEmpty:u,shouldForceReload:d}=s,h=ge(this.store,e),p=e.data,f=e.links&&e.links.related&&("function"==typeof o.findHasMany||void 0===p)&&(d||l||a||!h&&!u),m={useLink:f,field:this.store.getSchemaDefinitionService().relationshipsDefinitionFor({type:i.inverseType})[i.key],links:e.links,meta:e.meta,options:r,record:t};if(f)return this.store.request({op:"findHasMany",records:p||[],data:m,cacheOptions:{[Symbol.for("ember-data:skip-cache")]:!0}});const g=c&&!u,y=l||u&&Array.isArray(p)&&p.length>0,b=!d&&!a&&(g||y);if(b&&h)return;return b||c&&!u||y?(r.reload=r.reload||!b||void 0,this.store.request({op:"findHasMany",records:p,data:m,cacheOptions:{[Symbol.for("ember-data:skip-cache")]:!0}})):void 0}}_findBelongsToByJsonApiResource(e,t,n,r={}){if(!e)return Promise.resolve(null);const i=n.definition.key;if(this._pending[i])return this._pending[i];const s=e.data?e.data:null;let{isStale:o,hasDematerializedInverse:a,hasReceivedData:l,isEmpty:c,shouldForceReload:u}=n.state;const d=ge(this.store,e),h=e.links?.related&&(u||a||o||!d&&!c),p={useLink:h,field:this.store.getSchemaDefinitionService().relationshipsDefinitionFor(this.identifier)[n.definition.key],links:e.links,meta:e.meta,options:r,record:t};if(h){const e=this.store.request({op:"findBelongsTo",records:s?[s]:[],data:p,cacheOptions:{[Symbol.for("ember-data:skip-cache")]:!0}});return this._pending[i]=e.then((e=>e.content)).finally((()=>{this._pending[i]=void 0})),this._pending[i]}const f=l&&d&&!c,m=a||c&&e.data,g=!u&&!o&&(f||m);return g&&!s?Promise.resolve(null):g&&d||null===s?.id?Promise.resolve(s):s?(r.reload=r.reload||!g||void 0,this._pending[i]=this.store.request({op:"findBelongsTo",records:[s],data:p,cacheOptions:{[Symbol.for("ember-data:skip-cache")]:!0}}).then((e=>e.content)).finally((()=>{this._pending[i]=void 0})),this._pending[i]):Promise.resolve(null)}destroy(){this.isDestroying=!0;let e=this._manyArrayCache;this._manyArrayCache=Object.create(null),Object.keys(e).forEach((t=>{e[t].destroy()})),e=this._relationshipProxyCache,this._relationshipProxyCache=Object.create(null),Object.keys(e).forEach((t=>{const n=e[t];n.destroy&&n.destroy()})),e=this.references,this.references=Object.create(null),Object.keys(e).forEach((t=>{e[t].destroy()})),this.isDestroyed=!0}}function fe(e,t,n,r,i){delete e._relationshipPromisesCache[t],n.state.shouldForceReload=!1;const s="hasMany"===n.definition.kind;if(s&&r.notify(),i){n.state.hasFailedLoadAttempt=!0;let r=e._relationshipProxyCache[t];throw r&&!s&&(r.content&&r.content.isDestroying&&r.set("content",null),e.store.notifications._flush()),i}return s?r.isLoaded=!0:e.store.notifications._flush(),n.state.hasFailedLoadAttempt=!1,n.state.isStale=!1,s||!r?r:e.store.peekRecord(r)}function me(e){if(!e)return null;if(e.then){let t=e.content;return t?(0,o.o)(t):null}return(0,o.o)(e)}function ge(e,t){const n=e._instanceCache,r=t.data;return Array.isArray(r)?r.every((e=>n.recordIsLoaded(e))):!r||n.recordIsLoaded(r)}function ye(e,t,n,r){if("belongsTo"===r.kind)n.notifyPropertyChange(t);else if("hasMany"===r.kind){let i=Ie.get(e),s=i&&i._manyArrayCache[t],o=i&&i._relationshipPromisesCache[t];if(s&&o)return;s&&(s.notify(),r.options&&!r.options.async&&void 0!==r.options.async||n.notifyPropertyChange(t))}}function be(e,t,n,r){(0,S.cacheFor)(r,n)!==(0,o.oX)(r).getAttr(t,n)&&r.notifyPropertyChange(n)}var _e,ve,we,Ae;const ke=/^\/?data\/(attributes|relationships)\/(.*)/,Se=/^\/?data/;function Ee(e){return e&&!0===e.isAdapterError&&"InvalidError"===e.code}let xe=(ve=R((_e=class{constructor(){O(this,"ref",ve,this),this.rev=1,this.isDirty=!0,this.value=void 0,this.t=!1}notify(){this.isDirty=!0,(0,k.RH)(this),this.rev++}consume(e){this.isDirty=!1,this.value=e}}).prototype,"ref",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),_e);const Ce=new WeakMap;function Te(e,t){let n=Ce.get(e);return n||(n=Object.create(null),Ce.set(e,n)),n[t]=n[t]||new xe}function Oe(e,t,n){const r=n.get,i=n.set;return n.get=function(){let e=Te(this,t);return(0,k.B1)(e),e.isDirty&&e.consume(r.call(this)),e.value},n.set=function(e){Te(this,t),i.call(this,e)},(0,d.dependentKeyCompat)(n),n}let Re=(Ae=R((we=class{constructor(e){O(this,"isSaving",Ae,this);const t=(0,s.fV)(e),n=(0,o.o)(e);this.identifier=n,this.record=e,this.cache=(0,o.oX)(e),this.pendingCount=0,this.fulfilledCount=0,this.rejectedCount=0,this._errorRequests=[],this._lastError=null;let r=t.getRequestStateService(),i=t.notifications;const a=e=>{if("mutation"===e.type)switch(e.state){case"pending":this.isSaving=!0;break;case"rejected":this.isSaving=!1,this._lastError=e,e.response&&Ee(e.response.data)||this._errorRequests.push(e),Me(this);break;case"fulfilled":this._errorRequests=[],this._lastError=null,this.isSaving=!1,Me(this)}else switch(e.state){case"pending":this.pendingCount++,this.notify("isLoading");break;case"rejected":this.pendingCount--,this._lastError=e,e.response&&Ee(e.response.data)||this._errorRequests.push(e),this.notify("isLoading"),Me(this);break;case"fulfilled":this.pendingCount--,this.fulfilledCount++,this.notify("isLoading"),this.notify("isDirty"),Me(this),this._errorRequests=[],this._lastError=null}};r.subscribeForRecord(n,a);{const e=r.getLastRequestForRecord(n);e&&a(e)}this.handler=i.subscribe(n,((e,t,n)=>{switch(t){case"state":this.notify("isNew"),this.notify("isDeleted"),this.notify("isDirty");break;case"attributes":this.notify("isEmpty"),this.notify("isDirty");break;case"errors":this.updateInvalidErrors(this.record.errors),this.notify("isValid")}}))}destroy(){(0,s.fV)(this.record).notifications.unsubscribe(this.handler)}notify(e){Te(this,e).notify()}updateInvalidErrors(e){let t=this.cache.getErrors(this.identifier);e.clear();for(let n=0;n0&&0===this.fulfilledCount}get isLoaded(){return!!this.isNew||this.fulfilledCount>0||!this.isEmpty}get isSaved(){let e=this.cache;return this.isDeleted?e.isDeletionCommitted(this.identifier):!(this.isNew||this.isEmpty||!this.isValid||this.isDirty||this.isLoading)}get isEmpty(){let e=this.cache;return!this.isNew&&e.isEmpty(this.identifier)}get isNew(){return this.cache.isNew(this.identifier)}get isDeleted(){return this.cache.isDeleted(this.identifier)}get isValid(){return 0===this.record.errors.length}get isDirty(){let e=this.cache;return!(e.isDeletionCommitted(this.identifier)||this.isDeleted&&this.isNew)&&(this.isNew||e.hasChangedAttrs(this.identifier))}get isError(){return!!this._errorRequests[this._errorRequests.length-1]}get adapterError(){let e=this._lastError;return e?"rejected"===e.state&&e.response.data:null}get isPreloaded(){return!this.isEmpty&&this.isLoading}get stateName(){return this.isLoading?"root.loading":this.isEmpty?"root.empty":this.isDeleted?this.isSaving?"root.deleted.inFlight":this.isSaved?"root.deleted.saved":this.isValid?"root.deleted.uncommitted":"root.deleted.invalid":this.isNew?this.isSaving?"root.loaded.created.inFlight":this.isValid?"root.loaded.created.uncommitted":"root.loaded.created.invalid":this.isSaving?"root.loaded.updated.inFlight":this.isValid?this.isDirty?"root.loaded.updated.uncommitted":"root.loaded.saved":"root.loaded.updated.invalid"}get dirtyType(){return this.isLoading||this.isEmpty?"":this.isDeleted?"deleted":this.isNew?"created":this.isSaving||!this.isValid||this.isDirty?"updated":""}}).prototype,"isSaving",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),R(we.prototype,"isLoading",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isLoading"),we.prototype),R(we.prototype,"isLoaded",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isLoaded"),we.prototype),R(we.prototype,"isSaved",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isSaved"),we.prototype),R(we.prototype,"isEmpty",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isEmpty"),we.prototype),R(we.prototype,"isNew",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isNew"),we.prototype),R(we.prototype,"isDeleted",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isDeleted"),we.prototype),R(we.prototype,"isValid",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isValid"),we.prototype),R(we.prototype,"isDirty",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isDirty"),we.prototype),R(we.prototype,"isError",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"isError"),we.prototype),R(we.prototype,"adapterError",[Oe],Object.getOwnPropertyDescriptor(we.prototype,"adapterError"),we.prototype),R(we.prototype,"isPreloaded",[x],Object.getOwnPropertyDescriptor(we.prototype,"isPreloaded"),we.prototype),R(we.prototype,"stateName",[x],Object.getOwnPropertyDescriptor(we.prototype,"stateName"),we.prototype),R(we.prototype,"dirtyType",[x],Object.getOwnPropertyDescriptor(we.prototype,"dirtyType"),we.prototype),we);function Me(e){e.notify("isValid"),e.notify("isError"),e.notify("adapterError")}class De{constructor(e){this._type="",this.__inverseKey="",this.__hasCalculatedInverse=!1,this.parentModelName=e.parentModelName,this.meta=e}get key(){return this.meta.key}get kind(){return this.meta.kind}get type(){return this._type||(this._type=function(e){let t=(0,a._k)(e.type||e.key);return"hasMany"===e.kind&&(t=(0,u.ES)(t)),t}(this.meta)),this._type}get options(){return this.meta.options}get name(){return this.meta.name}_inverseKey(e,t){return!1===this.__hasCalculatedInverse&&this._calculateInverse(e,t),this.__inverseKey}_calculateInverse(e,t){let n;this.__hasCalculatedInverse=!0;let r=null;(function(e){let t=e.options;return!(t&&null===t.inverse)})(this.meta)&&(r=t.inverseFor(this.key,e)),n=r?r.name:null,this.__inverseKey=n}}var Ne,Pe,Fe;const{changeProperties:je}=m(),Ie=new Map;function Le(e){const t=(0,s.o)(e);let n=Ie.get(t);return n||(n=new pe(e),Ie.set(t,n),Ie.set(e,n)),n}function ze(e,t,n,r){let i=r||[],s=t.relationships;if(!s)return i;let o=s.get(e.modelName),a=Array.isArray(o)?o.filter((e=>{let t=e.options;return!t.inverse&&null!==t.inverse||n===t.inverse})):null;return a&&i.push.apply(i,a),e.superclass&&ze(e.superclass,t,n,i),i}function $e(e,t,n){const r=new WeakMap;let i=n.get;return n.get=function(){let e=r.get(this);return e||(e={hasComputed:!1,value:void 0},r.set(this,e)),e.hasComputed||(e.value=i.call(this),e.hasComputed=!0),e.value},n}let qe=((Fe=class extends(i()){constructor(...e){super(...e),this.___private_notifications=void 0,O(this,"isReloading",Pe,this)}init(e={}){const t=e._createProps,n=e._secretInit;e._createProps=null,e._secretInit=null;let r=this.store=n.store;super.init(e);let i=n.identifier;n.cb(this,n.cache,i,n.store),this.___recordState=null,this.setProperties(t);let s=r.notifications;this.___private_notifications=s.subscribe(i,((e,t,n)=>{!function(e,t,n,r){if("attributes"===t)n?be(0,e,n,r):r.eachAttribute((t=>{be(0,e,t,r)}));else if("relationships"===t)if(n){let t=r.constructor.relationshipsByName.get(n);ye(e,n,r,t)}else r.eachRelationship(((t,n)=>{ye(e,t,r,n)}));else"identity"===t&&r.notifyPropertyChange("id")}(e,t,n,this)}))}destroy(){const e=(0,s.o)(this);this.___recordState?.destroy(),(0,s.fV)(this).notifications.unsubscribe(this.___private_notifications),this.eachRelationship(((e,t)=>{"belongsTo"===t.kind&&this.notifyPropertyChange(e)})),Ie.get(this)?.destroy(),Ie.delete(this),Ie.delete(e),super.destroy()}get isEmpty(){return this.currentState.isEmpty}get isLoading(){return this.currentState.isLoading}get isLoaded(){return this.currentState.isLoaded}get hasDirtyAttributes(){return this.currentState.isDirty}get isSaving(){return this.currentState.isSaving}get isDeleted(){return this.currentState.isDeleted}get isNew(){return this.currentState.isNew}get isValid(){return this.currentState.isValid}get dirtyType(){return this.currentState.dirtyType}get isError(){return this.currentState.isError}set isError(e){}get id(){return(0,s.o)(this).id}set id(e){const t=(0,o.pG)(e),n=(0,s.o)(this);let r=t!==n.id;null!==t&&r&&(this.store._instanceCache.setRecordId(n,t),this.store.notifications.notify(n,"identity"))}toString(){return``}get currentState(){return this.___recordState||(this.___recordState=new Re(this)),this.___recordState}set currentState(e){throw new Error("cannot set currentState")}get errors(){let e=q.create({__record:this});return this.currentState.updateInvalidErrors(e),e}get adapterError(){return this.currentState.adapterError}set adapterError(e){throw new Error("adapterError is not directly settable")}serialize(e){return(0,s.fV)(this).serializeRecord(this,e)}notifyPropertyChange(e){let t=function(e,t){let n=Ce.get(e);return n&&n[t]}(this,e);t&&t.notify(),super.notifyPropertyChange(e)}deleteRecord(){this.currentState&&(0,s.fV)(this).deleteRecord(this)}destroyRecord(e){const{isNew:t}=this.currentState;return this.deleteRecord(),t?Promise.resolve(this):this.save(e).then((e=>((0,h.run)((()=>{this.unloadRecord()})),this)))}unloadRecord(){this.currentState.isNew&&(this.isDestroyed||this.isDestroying)||(0,s.fV)(this).unloadRecord(this)}_notifyProperties(e){je((()=>{let t;for(let n=0,r=e.length;n{(0,o.oX)(this).rollbackAttrs((0,s.o)(this)),this.errors.clear(),e.cleanErrorRequests(),t&&this.unloadRecord()}))}_createSnapshot(){const e=(0,s.fV)(this);if(!e._fetchManager){const t=(0,E.A)(n(59893)).FetchManager;e._fetchManager=new t(e)}return e._fetchManager.createSnapshot((0,s.o)(this))}save(e){let t;return t=this.currentState.isNew&&this.currentState.isDeleted?Promise.resolve(this):(0,s.fV)(this).saveRecord(this,e),D(t)}reload(e={}){e.isReloading=!0,e.reload=!0;const t=(0,s.o)(this);this.isReloading=!0;return D((0,s.fV)(this).request({op:"findRecord",data:{options:e,record:t},cacheOptions:{[Symbol.for("ember-data:skip-cache")]:!0}}).then((()=>this)).finally((()=>{this.isReloading=!1})))}attr(){}belongsTo(e){return Le(this).referenceFor("belongsTo",e)}hasMany(e){return Le(this).referenceFor("hasMany",e)}eachRelationship(e,t){this.constructor.eachRelationship(e,t)}relationshipFor(e){return this.constructor.relationshipsByName.get(e)}inverseFor(e){return this.constructor.inverseFor(e,(0,s.fV)(this))}eachAttribute(e,t){this.constructor.eachAttribute(e,t)}static typeForRelationship(e,t){let n=this.relationshipsByName.get(e);return n&&t.modelFor(n.type)}static get inverseMap(){return Object.create(null)}static inverseFor(e,t){let n=this.inverseMap;if(n[e])return n[e];{let r=this._findInverseFor(e,t);return n[e]=r,r}}static _findInverseFor(e,t){const n=this.relationshipsByName.get(e),{options:r}=n,i=r.polymorphic,s=null===r.inverse,o=!s&&i&&!t.getSchemaDefinitionService().doesTypeExist(n.type);if(s||o)return null;let a,l,c,u,d=this.typeForRelationship(e,t);if(void 0!==r.inverse)a=r.inverse,c=d&&d.relationshipsByName.get(a),l=c.kind,u=c.options;else{n.type,n.parentModelName;let t=ze(this,d,e);if(0===t.length)return null;let r=t.find((t=>t.options.inverse===e));r&&(t=[r]),a=t[0].name,l=t[0].kind,u=t[0].options}return{type:d,name:a,kind:l,options:u}}static get relationships(){let e=new Map;return this.relationshipsByName.forEach((t=>{let{type:n}=t;e.has(n)||e.set(n,[]),e.get(n).push(t)})),e}static get relationshipNames(){let e={hasMany:[],belongsTo:[]};return this.eachComputedProperty(((t,n)=>{n.isRelationship&&e[n.kind].push(t)})),e}static get relatedTypes(){let e=[],t=this.relationshipsObject,n=Object.keys(t);for(let r=0;r{r.isRelationship&&(r.key=n,r.name=n,r.parentModelName=t,e[n]=function(e){return new De(e)}(r))})),e}static get fields(){let e=new Map;return this.eachComputedProperty(((t,n)=>{n.isRelationship?e.set(t,n.kind):n.isAttribute&&e.set(t,"attribute")})),e}static eachRelationship(e,t){this.relationshipsByName.forEach(((n,r)=>{e.call(t,r,n)}))}static eachRelatedType(e,t){let n=this.relatedTypes;for(let r=0;r{n.isAttribute&&(n.name=t,e.set(t,n))})),e}static get transformedAttributes(){let e=new Map;return this.eachAttribute(((t,n)=>{n.type&&e.set(t,n.type)})),e}static eachAttribute(e,t){this.attributes.forEach(((n,r)=>{e.call(t,r,n)}))}static eachTransformedAttribute(e,t){this.transformedAttributes.forEach(((n,r)=>{e.call(t,r,n)}))}static toString(){return`model:${this.modelName}`}}).isModel=!0,Fe.modelName=null,R((Ne=Fe).prototype,"isEmpty",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"isEmpty"),Ne.prototype),R(Ne.prototype,"isLoading",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"isLoading"),Ne.prototype),R(Ne.prototype,"isLoaded",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"isLoaded"),Ne.prototype),R(Ne.prototype,"hasDirtyAttributes",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"hasDirtyAttributes"),Ne.prototype),R(Ne.prototype,"isSaving",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"isSaving"),Ne.prototype),R(Ne.prototype,"isDeleted",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"isDeleted"),Ne.prototype),R(Ne.prototype,"isNew",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"isNew"),Ne.prototype),R(Ne.prototype,"isValid",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"isValid"),Ne.prototype),R(Ne.prototype,"dirtyType",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"dirtyType"),Ne.prototype),R(Ne.prototype,"isError",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"isError"),Ne.prototype),Pe=R(Ne.prototype,"isReloading",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),R(Ne.prototype,"id",[Oe],Object.getOwnPropertyDescriptor(Ne.prototype,"id"),Ne.prototype),R(Ne.prototype,"currentState",[Oe],Object.getOwnPropertyDescriptor(Ne.prototype,"currentState"),Ne.prototype),R(Ne.prototype,"errors",[$e],Object.getOwnPropertyDescriptor(Ne.prototype,"errors"),Ne.prototype),R(Ne.prototype,"adapterError",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ne.prototype,"adapterError"),Ne.prototype),R(Ne,"inverseMap",[$e],Object.getOwnPropertyDescriptor(Ne,"inverseMap"),Ne),R(Ne,"relationships",[$e],Object.getOwnPropertyDescriptor(Ne,"relationships"),Ne),R(Ne,"relationshipNames",[$e],Object.getOwnPropertyDescriptor(Ne,"relationshipNames"),Ne),R(Ne,"relatedTypes",[$e],Object.getOwnPropertyDescriptor(Ne,"relatedTypes"),Ne),R(Ne,"relationshipsByName",[$e],Object.getOwnPropertyDescriptor(Ne,"relationshipsByName"),Ne),R(Ne,"relationshipsObject",[$e],Object.getOwnPropertyDescriptor(Ne,"relationshipsObject"),Ne),R(Ne,"fields",[$e],Object.getOwnPropertyDescriptor(Ne,"fields"),Ne),R(Ne,"attributes",[$e],Object.getOwnPropertyDescriptor(Ne,"attributes"),Ne),R(Ne,"transformedAttributes",[$e],Object.getOwnPropertyDescriptor(Ne,"transformedAttributes"),Ne),Ne);function Be(e){if(e)return(0,a._k)(e)}qe.prototype._createProps=null,qe.prototype._secretInit=null;var Ue=C((function(e,t){let n=t,i=e;"string"==typeof e&&e.length||("object"==typeof e?(n=e,i=void 0):(n=t,i=e)),n&&"boolean"==typeof n.async||(n=n||{},"async"in n||(n.async=!0)),null!==n.inverse&&("string"!=typeof n.inverse||n.inverse.length);let s={type:Be(i),isRelationship:!0,options:n,kind:"belongsTo",name:"Belongs To",key:null};return(0,r.computed)({get(e){return this.isDestroying||this.isDestroyed?null:Le(this).getBelongsTo(e)},set(e,t){const n=Le(this);return this.store._join((()=>{n.setDirtyBelongsTo(e,t)})),n.getBelongsTo(e)}}).meta(s)}));function He(e){if(e)return(0,u.ES)((0,a._k)(e))}var We=C((function(e,t){"string"==typeof e&&e.length||"object"==typeof e&&(t=e,e=void 0),t&&"boolean"==typeof t.async||"async"in(t=t||{})||(t.async=!0),null!==t.inverse&&("string"!=typeof t.inverse||t.inverse.length);let n={type:He(e),options:t,isRelationship:!0,kind:"hasMany",name:"Has Many",key:null};return(0,r.computed)({get(e){return this.isDestroying||this.isDestroyed?(0,l.A)():Le(this).getHasMany(e)},set(e,t){const n=Le(this),r=n.getManyArray(e);return this.store._join((()=>{r.splice(0,r.length,...t)})),n.getHasMany(e)}}).meta(n)}))},33337:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r.M,CF:()=>r.a,g4:()=>r.b,iQ:()=>r.h});var r=n(85531)},33648:(e,t,n)=>{"use strict";function r(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}n.d(t,{I:()=>p,_:()=>r,b:()=>c,c:()=>A,d:()=>s,e:()=>y,f:()=>_,g:()=>u,s:()=>d,u:()=>v});var i=0;function s(e){return"__private_"+i+++"_"+e}new Map([["records","array"],["data","json"],["body",{type:"string",klass:["Blob","ArrayBuffer","TypedArray","DataView","FormData","URLSearchParams","ReadableStream"]}],["disableTestWaiter","boolean"],["options","object"],["cacheOptions","object"],["op","string"],["store","object"],["url","string"],["cache",["default","force-cache","no-cache","no-store","only-if-cached","reload"]],["credentials",["include","omit","same-origin"]],["destination",["","object","audio","audioworklet","document","embed","font","frame","iframe","image","manifest","paintworklet","report","script","sharedworker","style","track","video","worker","xslt"]],["headers","headers"],["integrity","string"],["keepalive","boolean"],["method",["GET","PUT","PATCH","DELETE","POST","OPTIONS"]],["mode",["same-origin","cors","navigate","no-cors"]],["redirect",["error","follow","manual"]],["referrer","string"],["signal","AbortSignal"],["controller","AbortController"],["referrerPolicy",["","same-origin","no-referrer","no-referrer-when-downgrade","origin","origin-when-cross-origin","strict-origin","strict-origin-when-cross-origin","unsafe-url"]]]),Symbol("FROZEN"),Symbol.for("Collection"),new Set([]);const o=new WeakMap,a=new Map;function l(e,t){a.set(e,t)}function c(e){a.delete(e)}function u(e){return a.get(e)}function d(e,t){o.set(e,t)}const h=Symbol("DOC"),p=Symbol("IS_CACHE_HANDLER");function f(e){return e&&!0===e[h]}function m(e){return new DOMException(e||"The user aborted a request.","AbortError")}function g(e,t){return 0===t&&Boolean(e[p])}function y(e,t,n,r){const i=new k(t,r,0===n),s=new E(i);let o;try{o=e[n].request(s,(function(t){return i.nextCalled++,y(e,t,n+1,r)})),o&&g(e[n],n)&&(o instanceof Promise||(l(i.requestId,{isError:!1,result:o}),o=Promise.resolve(o)))}catch(t){g(e[n],n)&&l(i.requestId,{isError:!0,result:t}),o=Promise.reject(t)}const a=function(e){const t=_();let n,{promise:r}=t;return r=r.finally((()=>{e.resolveStream(),n&&n.forEach((e=>e()))})),r.onFinalize=e=>{n=n||[],n.push(e)},r[b]=!0,r.getStream=()=>e.getStream(),r.abort=t=>{e.abort(m(t))},t.promise=r,t}(i);return c=o,Boolean(c&&c instanceof Promise&&!0===c[b])?function(e,t,n){return e.setStream(t.getStream()),t.then((t=>{const r={[h]:!0,request:e.request,response:t.response,content:t.content};n.resolve(r)}),(t=>{if(f(t)&&e.setStream(e.god.stream),!(t&&t instanceof Error))try{throw new Error(t||"Request Rejected with an Unknown Error")}catch(e){t&&"object"==typeof t&&(Object.assign(e,t),e.message=t.message||"Request Rejected with an Unknown Error"),t=e}t[h]=!0,t.request=e.request,t.response=e.getResponse(),t.error=t.error||t.message,n.reject(t)})),n.promise}(i,o,a):function(e,t,n){return t.then((t=>{if(e.controller.signal.aborted)return void n.reject(m(e.controller.signal.reason));f(t)&&(e.setStream(e.god.stream),t=t.content);const r={[h]:!0,request:e.request,response:e.getResponse(),content:t};n.resolve(r)}),(t=>{if(f(t)&&e.setStream(e.god.stream),!(t&&t instanceof Error))try{throw new Error(t||"Request Rejected with an Unknown Error")}catch(e){t&&"object"==typeof t&&(Object.assign(e,t),e.message=t.message||"Request Rejected with an Unknown Error"),t=e}t[h]=!0,t.request=e.request,t.response=e.getResponse(),t.error=t.error||t.message,n.reject(t)})),n.promise}(i,o,a);var c}const b=Symbol("IS_FUTURE");function _(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));return{resolve:e,reject:t,promise:n}}function v(e,t){return e[b]=!0,e.getStream=t.getStream,e.abort=t.abort,e.onFinalize=t.onFinalize,e}function w(e){return e.clone=()=>new Headers(e),e.toJSON=()=>Array.from(e),e}function A(e){const{headers:t,ok:n,redirected:r,status:i,statusText:s,type:o,url:a}=e;return w(t),{headers:t,ok:n,redirected:r,status:i,statusText:s,type:o,url:a}}Symbol.for("ember-data:skip-cache");class k{constructor(e,t,n=!1){this.hasSetStream=!1,this.hasSetResponse=!1,this.hasSubscribers=!1,this.stream=_(),this.response=null,this.nextCalled=0,this.isRoot=n,this.requestId=t.id,this.controller=e.controller||t.controller,this.stream.promise.sizeHint=0,e.controller&&(e.controller!==t.controller&&t.controller.signal.addEventListener("abort",(()=>{this.controller.abort(t.controller.signal.reason)})),delete e.controller);let r=Object.assign({signal:this.controller.signal},e);e.headers&&w(e.headers),this.enhancedRequest=r,this.request=e,this.god=t,this.stream.promise=this.stream.promise.then((e=>(this.god.stream===e&&this.hasSubscribers&&(this.god.stream=null),e)))}get hasRequestedStream(){return this.god.hasRequestedStream}getResponse(){return this.hasSetResponse?this.response:1===this.nextCalled?this.god.response:null}getStream(){if(this.isRoot&&(this.god.hasRequestedStream=!0),!this.hasSetResponse){const e=this.god.response?.headers?.get("content-length");this.stream.promise.sizeHint=e?parseInt(e,10):0}return this.hasSubscribers=!0,this.stream.promise}abort(e){this.controller.abort(e)}setStream(e){this.hasSetStream||(this.hasSetStream=!0,e instanceof Promise||(this.god.stream=e),this.stream.resolve(e))}resolveStream(){this.setStream(1===this.nextCalled?this.god.stream:null)}setResponse(e){if(!this.hasSetResponse)if(this.hasSetResponse=!0,e instanceof Response){let t=A(e);this.response=t,this.god.response=t;const n=e.headers?.get("content-length");this.stream.promise.sizeHint=n?parseInt(n,10):0}else this.response=e,this.god.response=e}}var S=s("owner");class E{constructor(e){Object.defineProperty(this,S,{writable:!0,value:void 0}),this.id=e.requestId,r(this,S)[S]=e,this.request=e.enhancedRequest}setStream(e){r(this,S)[S].setStream(e)}setResponse(e){r(this,S)[S].setResponse(e)}get hasRequestedStream(){return r(this,S)[S].hasRequestedStream}}},97570:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o,ud:()=>r.f});var r=n(33648);let i=0;var s=(0,r.d)("handlers");class o{constructor(e){Object.defineProperty(this,s,{writable:!0,value:[]}),Object.assign(this,e),this._pending=new Map}useCache(e){e[r.I]=!0,(0,r._)(this,s)[s].unshift(e)}use(e){(0,r._)(this,s)[s].push(...e)}request(e){const t=(0,r._)(this,s)[s],n=e.controller||new AbortController;e.controller&&delete e.controller;const o=i++,a=(0,r.e)(t,e,0,{controller:n,response:null,stream:null,hasRequestedStream:!1,id:o}),l=(0,r.g)(o),c=(0,r.u)(a.then((e=>((0,r.s)(c,{isError:!1,result:e}),(0,r.b)(o),e)),(e=>{throw(0,r.s)(c,{isError:!0,result:e}),(0,r.b)(o),e})),a);return l&&(0,r.s)(c,l),c}static create(e){return new this(e)}}},88560:(e,t,n)=>{"use strict";n.d(t,{Go:()=>o,Z$:()=>i,le:()=>r,sF:()=>a}),n(67222),n(96639);class r{deserialize(e,t){if(null==e&&!0===t.allowNull)return null;let n=typeof e;return"boolean"===n?e:"string"===n?/^(true|t|1)$/i.test(e):"number"===n&&1===e}serialize(e,t){return null==e&&!0===t.allowNull?null:Boolean(e)}static create(){return new this}}class i{deserialize(e){let t=typeof e;if("string"===t){let t=e.indexOf("+");return-1!==t&&e.length-5===t?(t+=3,new Date(e.slice(0,t)+":"+e.slice(t))):new Date(e)}return"number"===t?new Date(e):null==e?e:null}serialize(e){return e instanceof Date&&!isNaN(e)?e.toISOString():null}static create(){return new this}}function s(e){return e==e&&e!==1/0&&e!==-1/0}class o{deserialize(e){let t;return""===e||null==e?null:(t=Number(e),s(t)?t:null)}serialize(e){let t;return""===e||null==e?null:(t=Number(e),s(t)?t:null)}static create(){return new this}}class a{deserialize(e){return e||""===e?String(e):null}serialize(e){return e||""===e?String(e):null}static create(){return new this}}},67222:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var r=n(16895),i=(n(31837),n(35423)),s=n.n(i),o=n(68131),a=s().create({normalize(e,t,n){let r=this._super(e,t,n);return this._extractEmbeddedRecords(this,this.store,e,r)},keyForRelationship(e,t,n){return"serialize"===n&&this.hasSerializeRecordsOption(e)||"deserialize"===n&&this.hasDeserializeRecordsOption(e)?this.keyForAttribute(e,n):this._super(e,t,n)||e},serializeBelongsTo(e,t,n){let r=n.key;if(this.noSerializeOptionSpecified(r))return void this._super(e,t,n);let i=this.hasSerializeIdsOption(r),s=this.hasSerializeRecordsOption(r),o=e.belongsTo(r);if(i){let r=this.store.modelFor(e.modelName),i=this._getMappedKey(n.key,r);i===n.key&&this.keyForRelationship&&(i=this.keyForRelationship(n.key,n.kind,"serialize")),o?(t[i]=o.id,n.options.polymorphic&&this.serializePolymorphicType(e,t,n)):t[i]=null}else s&&this._serializeEmbeddedBelongsTo(e,t,n)},_serializeEmbeddedBelongsTo(e,t,n){let r=e.belongsTo(n.key),i=this.store.modelFor(e.modelName),s=this._getMappedKey(n.key,i);s===n.key&&this.keyForRelationship&&(s=this.keyForRelationship(n.key,n.kind,"serialize")),r?(t[s]=r.serialize({includeId:!0}),this.removeEmbeddedForeignKey(e,r,n,t[s]),n.options.polymorphic&&this.serializePolymorphicType(e,t,n)):t[s]=null},serializeHasMany(e,t,n){let r=n.key;if(this.noSerializeOptionSpecified(r))this._super(e,t,n);else if(this.hasSerializeIdsOption(r)){let i=this.store.modelFor(e.modelName),s=this._getMappedKey(n.key,i);s===n.key&&this.keyForRelationship&&(s=this.keyForRelationship(n.key,n.kind,"serialize")),t[s]=e.hasMany(r,{ids:!0})}else this.hasSerializeRecordsOption(r)?this._serializeEmbeddedHasMany(e,t,n):this.hasSerializeIdsAndTypesOption(r)&&this._serializeHasManyAsIdsAndTypes(e,t,n)},_serializeHasManyAsIdsAndTypes(e,t,n){let i=this.keyForAttribute(n.key,"serialize"),s=e.hasMany(n.key);t[i]=(0,r.A)(s).map((function(e){return{id:e.id,type:e.modelName}}))},_serializeEmbeddedHasMany(e,t,n){let r=this.store.modelFor(e.modelName),i=this._getMappedKey(n.key,r);i===n.key&&this.keyForRelationship&&(i=this.keyForRelationship(n.key,n.kind,"serialize")),t[i]=this._generateSerializedHasMany(e,n)},_generateSerializedHasMany(e,t){let n=e.hasMany(t.key),i=(0,r.A)(n),s=new Array(i.length);for(let n=0;n{e.hasDeserializeRecordsOption(n)&&("hasMany"===i.kind&&this._extractEmbeddedHasMany(t,n,r,i),"belongsTo"===i.kind&&this._extractEmbeddedBelongsTo(t,n,r,i))})),r},_extractEmbeddedHasMany(e,t,n,r){let i=n.data?.relationships?.[t]?.data;if(!i)return;let s=new Array(i.length);for(let t=0;t{"use strict";n.d(t,{A:()=>l});var r,i,s=n(96639),o=n.n(s),a=n(94313);let l=(r=class extends(o()){constructor(...e){var t;super(...e),(t=i)&&Object.defineProperty(this,"store",{enumerable:t.enumerable,configurable:t.configurable,writable:t.writable,value:t.initializer?t.initializer.call(this):void 0})}normalize(e,t){return t}},c=r.prototype,u="store",d=[a.inject],h={configurable:!0,enumerable:!0,writable:!0,initializer:null},p={},Object.keys(h).forEach((function(e){p[e]=h[e]})),p.enumerable=!!p.enumerable,p.configurable=!!p.configurable,("value"in p||p.initializer)&&(p.writable=!0),void 0===(p=d.slice().reverse().reduce((function(e,t){return t(c,u,e)||e}),p)).initializer&&(Object.defineProperty(c,u,p),p=null),i=p,r);var c,u,d,h,p},97161:(e,t,n)=>{"use strict";n.d(t,{A:()=>s}),n(31837);var r=n(68131),i=n(62542);const s=n(43392).A.extend({_normalizeDocumentHelper(e){if(Array.isArray(e.data)){let t=new Array(e.data.length);for(let n=0;n{let r=this.keyForAttribute(e,"deserialize");void 0!==t.attributes[r]&&(n[e]=t.attributes[r])})),n},extractRelationship(e){if(Array.isArray(e.data)){let t=new Array(e.data.length);for(let n=0;n{let i=this.keyForRelationship(e,r.kind,"deserialize");if(void 0!==t.relationships[i]){let r=t.relationships[i];n[e]=this.extractRelationship(r)}})),n},_extractType(e,t){return this.modelNameFromPayloadKey(t.type)},modelNameFromPayloadKey:e=>(0,i.ES)((0,r._k)(e)),payloadKeyFromModelName:e=>(0,i.td)(e),normalize(e,t){t.attributes&&this.normalizeUsingDeclaredMapping(e,t.attributes),t.relationships&&this.normalizeUsingDeclaredMapping(e,t.relationships);let n={id:this.extractId(e,t),type:this._extractType(e,t),attributes:this.extractAttributes(e,t),relationships:this.extractRelationships(e,t)};return this.applyTransforms(e,n.attributes),{data:n}},keyForAttribute:(e,t)=>(0,r._k)(e),keyForRelationship:(e,t,n)=>(0,r._k)(e),serialize(e,t){let n=this._super(...arguments);return n.type=this.payloadKeyFromModelName(e.modelName),{data:n}},serializeAttribute(e,t,n,r){let i=r.type;if(this._canSerialize(n)){t.attributes=t.attributes||{};let s=e.attr(n);i&&(s=this.transformFor(i).serialize(s,r.options));let o=this.store.modelFor(e.modelName),a=this._getMappedKey(n,o);a===n&&(a=this.keyForAttribute(n,"serialize")),t.attributes[a]=s}},serializeBelongsTo(e,t,n){let r=n.key;if(this._canSerialize(r)){let n=e.belongsTo(r),i=n&&!n.isNew;if(null===n||i){t.relationships=t.relationships||{};let i=this.store.modelFor(e.modelName),s=this._getMappedKey(r,i);s===r&&(s=this.keyForRelationship(r,"belongsTo","serialize"));let o=null;n&&(o={type:this.payloadKeyFromModelName(n.modelName),id:n.id}),t.relationships[s]={data:o}}}},serializeHasMany(e,t,n){let r=n.key;if(this.shouldSerializeHasMany(e,r,n)){let n=e.hasMany(r);if(void 0!==n){t.relationships=t.relationships||{};let i=this.store.modelFor(e.modelName),s=this._getMappedKey(r,i);s===r&&this.keyForRelationship&&(s=this.keyForRelationship(r,"hasMany","serialize"));let o=n.filter((e=>!e.isNew)),a=new Array(o.length);for(let e=0;e{"use strict";n.d(t,{A:()=>c});var r=n(44688),i=(n(31837),n(68131)),s=n(88393),o=n(6280);const a=/^\/?data\/(attributes|relationships)\/(.*)/,l=/^\/?data/,c=o.A.extend({primaryKey:"id",mergedProperties:["attrs"],applyTransforms(e,t){let n=e.attributes;return e.eachTransformedAttribute(((e,r)=>{if(void 0===t[e])return;let i=this.transformFor(r),s=n.get(e);t[e]=i.deserialize(t[e],s.options)})),t},normalizeResponse(e,t,n,r,i){switch(i){case"findRecord":return this.normalizeFindRecordResponse(...arguments);case"queryRecord":return this.normalizeQueryRecordResponse(...arguments);case"findAll":return this.normalizeFindAllResponse(...arguments);case"findBelongsTo":return this.normalizeFindBelongsToResponse(...arguments);case"findHasMany":return this.normalizeFindHasManyResponse(...arguments);case"findMany":return this.normalizeFindManyResponse(...arguments);case"query":return this.normalizeQueryResponse(...arguments);case"createRecord":return this.normalizeCreateRecordResponse(...arguments);case"deleteRecord":return this.normalizeDeleteRecordResponse(...arguments);case"updateRecord":return this.normalizeUpdateRecordResponse(...arguments)}},normalizeFindRecordResponse(e,t,n,r,i){return this.normalizeSingleResponse(...arguments)},normalizeQueryRecordResponse(e,t,n,r,i){return this.normalizeSingleResponse(...arguments)},normalizeFindAllResponse(e,t,n,r,i){return this.normalizeArrayResponse(...arguments)},normalizeFindBelongsToResponse(e,t,n,r,i){return this.normalizeSingleResponse(...arguments)},normalizeFindHasManyResponse(e,t,n,r,i){return this.normalizeArrayResponse(...arguments)},normalizeFindManyResponse(e,t,n,r,i){return this.normalizeArrayResponse(...arguments)},normalizeQueryResponse(e,t,n,r,i){return this.normalizeArrayResponse(...arguments)},normalizeCreateRecordResponse(e,t,n,r,i){return this.normalizeSaveResponse(...arguments)},normalizeDeleteRecordResponse(e,t,n,r,i){return this.normalizeSaveResponse(...arguments)},normalizeUpdateRecordResponse(e,t,n,r,i){return this.normalizeSaveResponse(...arguments)},normalizeSaveResponse(e,t,n,r,i){return this.normalizeSingleResponse(...arguments)},normalizeSingleResponse(e,t,n,r,i){return this._normalizeResponse(e,t,n,r,i,!0)},normalizeArrayResponse(e,t,n,r,i){return this._normalizeResponse(e,t,n,r,i,!1)},_normalizeResponse(e,t,n,r,i,s){let o={data:null,included:[]},a=this.extractMeta(e,t,n);if(a&&(o.meta=a),s){let{data:e,included:r}=this.normalize(t,n);o.data=e,r&&(o.included=r)}else{let e=new Array(n.length);for(let r=0,i=n.length;r{n=this.keyForAttribute(e,"deserialize"),void 0!==t[n]&&(r[e]=t[n])})),r},extractRelationship(e,t){if(!t)return null;if(t&&"object"==typeof t&&!Array.isArray(t)){t.id&&(t.id=(0,s.pG)(t.id));let n=this.store.modelFor(e);return t.type&&!n.fields.has("type")&&(t.type=this.modelNameFromPayloadKey(t.type)),t}return{id:(0,s.pG)(t),type:e}},extractPolymorphicRelationship(e,t,n){return this.extractRelationship(e,t)},extractRelationships(e,t){let n={};return e.eachRelationship(((e,r)=>{let i=null,s=this.keyForRelationship(e,r.kind,"deserialize");if(void 0!==t[s]){let n=null,o=t[s];if("belongsTo"===r.kind)n=r.options.polymorphic?this.extractPolymorphicRelationship(r.type,o,{key:e,resourceHash:t,relationshipMeta:r}):this.extractRelationship(r.type,o);else if("hasMany"===r.kind&&o)if(n=new Array(o.length),r.options.polymorphic)for(let i=0,s=o.length;i(0,i._k)(e),normalizeRelationships(e,t){let n;this.keyForRelationship&&e.eachRelationship(((e,r)=>{n=this.keyForRelationship(e,r.kind,"deserialize"),e!==n&&void 0!==t[n]&&(t[e]=t[n],delete t[n])}))},normalizeUsingDeclaredMapping(e,t){let n,r,i=this.attrs;if(i)for(let s in i)n=r=this._getMappedKey(s,e),void 0!==t[r]&&(e.attributes.has(s)&&(n=this.keyForAttribute(s,"deserialize")),e.relationshipsByName.has(s)&&(n=this.keyForRelationship(s,e,"deserialize")),r!==n&&(t[n]=t[r],delete t[r]))},_getMappedKey(e,t){let n,r=this.attrs;return r&&r[e]&&(n=r[e],n.key&&(n=n.key),"string"==typeof n&&(e=n)),e},_canSerialize(e){let t=this.attrs;return!t||!t[e]||!1!==t[e].serialize},_mustSerialize(e){let t=this.attrs;return t&&t[e]&&!0===t[e].serialize},shouldSerializeHasMany(e,t,n){let r=this.store.modelFor(e.modelName).determineRelationshipType(n,this.store);return!!this._mustSerialize(t)||this._canSerialize(t)&&("manyToNone"===r||"manyToMany"===r)},serialize(e,t){let n={};if(t&&t.includeId){const t=e.id;t&&(n[this.primaryKey]=t)}return e.eachAttribute(((t,r)=>{this.serializeAttribute(e,n,t,r)})),e.eachRelationship(((t,r)=>{"belongsTo"===r.kind?this.serializeBelongsTo(e,n,r):"hasMany"===r.kind&&this.serializeHasMany(e,n,r)})),n},serializeIntoHash(e,t,n,r){Object.assign(e,this.serialize(n,r))},serializeAttribute(e,t,n,r){if(this._canSerialize(n)){let i=r.type,s=e.attr(n);i&&(s=this.transformFor(i).serialize(s,r.options));let o=this.store.modelFor(e.modelName),a=this._getMappedKey(n,o);a===n&&this.keyForAttribute&&(a=this.keyForAttribute(n,"serialize")),t[a]=s}},serializeBelongsTo(e,t,n){let r=n.key;if(this._canSerialize(r)){let i=e.belongsTo(r,{id:!0}),s=this.store.modelFor(e.modelName),o=this._getMappedKey(r,s);o===r&&this.keyForRelationship&&(o=this.keyForRelationship(r,"belongsTo","serialize")),t[o]=i||null,n.options.polymorphic&&this.serializePolymorphicType(e,t,n)}},serializeHasMany(e,t,n){let r=n.key;if(this.shouldSerializeHasMany(e,r,n)){let n=e.hasMany(r,{ids:!0});if(void 0!==n){let i=this.store.modelFor(e.modelName),s=this._getMappedKey(r,i);s===r&&this.keyForRelationship&&(s=this.keyForRelationship(r,"hasMany","serialize")),t[s]=n}}},serializePolymorphicType(){},extractMeta(e,t,n){if(n&&void 0!==n.meta){let e=n.meta;return delete n.meta,e}},extractErrors(e,t,n,r){if(n&&"object"==typeof n&&n.errors){const e={};return n.errors.forEach((t=>{if(t.source&&t.source.pointer){let n=t.source.pointer.match(a);n?n=n[2]:-1!==t.source.pointer.search(l)&&(n="base"),n&&(e[n]=e[n]||[],e[n].push(t.detail||t.title))}})),this.normalizeUsingDeclaredMapping(t,e),t.eachAttribute((t=>{let n=this.keyForAttribute(t,"deserialize");n!==t&&void 0!==e[n]&&(e[t]=e[n],delete e[n])})),t.eachRelationship((t=>{let n=this.keyForRelationship(t,"deserialize");n!==t&&void 0!==e[n]&&(e[t]=e[n],delete e[n])})),e}return n},keyForAttribute:(e,t)=>e,keyForRelationship:(e,t,n)=>e,keyForLink:(e,t)=>e,transformFor(e,t){return(0,r.getOwner)(this).lookup("transform:"+e)}})},72956:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,i:()=>a.e}),n(31837);var r=n(68131),i=n(62542),s=n(88393),o=n(43392),a=n(67222);function l(e){return Array.isArray(e)?e:[e]}const c=o.A.extend({keyForPolymorphicType(e,t,n){return`${this.keyForRelationship(e)}Type`},_normalizeArray(e,t,n,r){let i={data:[],included:[]},s=e.modelFor(t),o=e.serializerFor(t);return l(n).forEach((t=>{let{data:n,included:a}=this._normalizePolymorphicRecord(e,t,r,s,o);i.data.push(n),a&&(i.included=i.included.concat(a))})),i},_normalizePolymorphicRecord(e,t,n,r,i){let s=i,o=r;if(!r.fields.has("type")&&t.type){let n=this.modelNameFromPayloadKey(t.type);e.getSchemaDefinitionService().doesTypeExist(n)&&(s=e.serializerFor(n),o=e.modelFor(n))}return s.normalize(o,t,n)},_normalizeResponse(e,t,n,r,i,o){let a={data:null,included:[]},l=this.extractMeta(e,t,n);l&&(a.meta=l);let c=Object.keys(n);for(var u=0,d=c.length;u{let t=g&&(0,s.pG)(e.id)===r;g&&!r&&!a.data||t?a.data=e:a.included.push(e)})):g?a.data=i:i&&(a.included=a.included.concat(i))}return a},isPrimaryType:(e,t,n)=>(0,r._k)(t)===n.modelName,pushPayload(e,t){let n={data:[],included:[]};for(var r in t){var i=this.modelNameFromPayloadKey(r);if(e.getSchemaDefinitionService().doesTypeExist(i)){var s=e.modelFor(i),o=e.serializerFor(s.modelName);l(t[r]).forEach((e=>{let{data:t,included:i}=o.normalize(s,e,r);n.data.push(t),i&&(n.included=n.included.concat(i))}))}}e.push(n)},modelNameFromPayloadKey:e=>(0,i.ES)((0,r._k)(e)),serialize(e,t){return this._super(...arguments)},serializeIntoHash(e,t,n,r){e[this.payloadKeyFromModelName(t.modelName)]=this.serialize(n,r)},payloadKeyFromModelName:e=>(0,r.PT)(e),serializePolymorphicType(e,t,n){let i=n.key,s=this.keyForPolymorphicType(i,n.type,"serialize"),o=e.belongsTo(i);t[s]=o?(0,r.PT)(o.modelName):null},extractPolymorphicRelationship(e,t,n){let{key:r,resourceHash:i,relationshipMeta:s}=n,o=s.options.polymorphic,a=this.keyForPolymorphicType(r,e,"deserialize");return o&&void 0!==i[a]&&"object"!=typeof t?{id:t,type:this.modelNameFromPayloadKey(i[a])}:this._super(...arguments)}})},88393:(e,t,n)=>{"use strict";n.d(t,{$U:()=>r.l,Bm:()=>r.I,G:()=>r.R,J4:()=>r.j,RX:()=>r.m,XK:()=>r.M,fV:()=>r.s,o:()=>r.r,oX:()=>r.p,pG:()=>r.f,u2:()=>r.k,xm:()=>r.i});var r=n(76559)},76559:(e,t,n)=>{"use strict";n.d(t,{C:()=>K,I:()=>pt,M:()=>at,R:()=>bt,S:()=>Et,f:()=>Z,i:()=>ie,j:()=>ut,k:()=>ot,l:()=>st,m:()=>yt,n:()=>Rt,p:()=>Q,r:()=>Ce,s:()=>Re}),n(31837);var r=n(68131),i=n(44688),s=n(96639),o=n.n(s),a=n(86053),l=n(54521),c=n(70918),u=n(92253),d=n(46958),h=n(8659),p=n(43556),f=n(21266),m=n.n(f),g=n(37407),y=n(88046),b=n.n(y),_=n(37022),v=n.n(_),w=n(68750),A=n.n(w),k=n(57268);function S(e){return(0,r._k)(e)}function E(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function x(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}var C,T,O,R,M,D,N,P=0;function F(e){return"__private_"+P+++"_"+e}function j(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}function I(e){return"string"==typeof e?e:e.href}let L=(D=F("store"),N=F("request"),T=j((C=class{constructor(e,t){Object.defineProperty(this,N,{value:z}),E(this,"links",T,this),E(this,"data",O,this),E(this,"errors",R,this),E(this,"meta",M,this),Object.defineProperty(this,D,{writable:!0,value:void 0}),x(this,D)[D]=e,this.identifier=t}fetch(e={}){return e.cacheOptions=e.cacheOptions||{},e.cacheOptions.key=this.identifier?.lid,x(this,N)[N]("self",e)}next(e){return x(this,N)[N]("next",e)}prev(e){return x(this,N)[N]("prev",e)}first(e){return x(this,N)[N]("first",e)}last(e){return x(this,N)[N]("last",e)}toJSON(){const e={};return e.identifier=this.identifier,void 0!==this.data&&(e.data=this.data),void 0!==this.links&&(e.links=this.links),void 0!==this.errors&&(e.errors=this.errors),void 0!==this.meta&&(e.meta=this.meta),e}}).prototype,"links",[l.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=j(C.prototype,"data",[l.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=j(C.prototype,"errors",[l.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=j(C.prototype,"meta",[l.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C);async function z(e,t={}){const n=this.links?.[e];return n?(await x(this,D)[D].request(Object.assign(t,{url:I(n)}))).content:null}const $=new Set(["createRecord","updateRecord","deleteRecord"]);function q(e,t,n,r,i){const{identifier:s}=n;if(!r)return r;if(function(e){return"errors"in e}(r)){if(!s&&!n.shouldHydrate)return r;let t;return s&&(t=e._documentCache.get(s)),t?i||(t.data=void 0,V(t,r)):(t=new L(e,s),V(t,r),s&&e._documentCache.set(s,t)),n.shouldHydrate?t:r}if(Array.isArray(r.data)){const{recordArrayManager:o}=e;if(!s){if(!n.shouldHydrate)return r;const i=o.createArray({type:t.url,identifiers:r.data,doc:r,query:t}),s=new L(e,null);return s.data=i,s.meta=r.meta,s.links=r.links,s}let a=o._keyedArrays.get(s.lid);if(a){const t=e._documentCache.get(s);return i||(o.populateManagedArray(a,r.data,r),t.data=a,t.meta=r.meta,t.links=r.links),n.shouldHydrate?t:r}{a=o.createArray({type:s.lid,identifiers:r.data,doc:r}),o._keyedArrays.set(s.lid,a);const t=new L(e,s);return t.data=a,t.meta=r.meta,t.links=r.links,e._documentCache.set(s,t),n.shouldHydrate?t:r}}{if(!s&&!n.shouldHydrate)return r;const t=r.data?e.peekRecord(r.data):null;let o;return s&&(o=e._documentCache.get(s)),o?i||(o.data=t,V(o,r)):(o=new L(e,s),o.data=t,V(o,r),s&&e._documentCache.set(s,o)),n.shouldHydrate?o:r}}function B(e){return Boolean(e.op&&$.has(e.op))}function U(e,t,n,r,i){const{store:s}=t.request,o=t.request[G]||!1;let a=!1;if(B(t.request)){a=!0;const e=t.request.data?.record||t.request.records?.[0];e&&s.cache.willCommit(e,t)}s.lifetimes?.willRequest&&s.lifetimes.willRequest(t.request,n,s);const l=e(t.request).then((e=>{let a;if(s.requestManager._pending.delete(t.id),s._enableAsyncFlush=!0,s._join((()=>{if(B(t.request)){const n=t.request.data?.record||t.request.records?.[0];n?a=s.cache.didCommit(n,e):function(e){return!B(e.request)||("createRecord"===e.request.op&&201===e.response?.status?!!e.content&&Object.keys(e.content).length>0:204!==e.response?.status)}(e)&&(a=s.cache.put(e))}else a=s.cache.put(e);a=q(s,t.request,{shouldHydrate:o,shouldFetch:r,shouldBackgroundFetch:i,identifier:n},a,!1)})),s._enableAsyncFlush=null,s.lifetimes?.didRequest&&s.lifetimes.didRequest(t.request,e.response,n,s),r)return a;i&&s.notifications._flush()}),(e=>{if(s.requestManager._pending.delete(t.id),t.request.signal?.aborted)throw e;let a;if(s.requestManager._pending.delete(t.id),s._enableAsyncFlush=!0,s._join((()=>{if(B(t.request)){const n=e&&e.content&&"object"==typeof e.content&&"errors"in e.content&&Array.isArray(e.content.errors)?e.content.errors:void 0,r=t.request.data?.record||t.request.records?.[0];throw s.cache.commitWasRejected(r,n),e}a=s.cache.put(e),a=q(s,t.request,{shouldHydrate:o,shouldFetch:r,shouldBackgroundFetch:i,identifier:n},a,!1)})),s._enableAsyncFlush=null,n&&s.lifetimes?.didRequest&&s.lifetimes.didRequest(t.request,e.response,n,s),!i){const t=H(e);throw t.content=a,t}s.notifications._flush()}));if(!a)return l;const c=t.request.data?.record||t.request.records?.[0];return s._requestCache._enqueue(l,{data:[{op:"saveRecord",recordIdentifier:c,options:void 0}]})}function H(e){const t=function(e){return e instanceof AggregateError||"AggregateError"===e.name&&Array.isArray(e.errors)}(e),n=t?new AggregateError(structuredClone(e.errors),e.message):new Error(e.message);return n.stack=e.stack,n.error=e.error,Object.assign(n,e),n}const W=Symbol.for("ember-data:skip-cache"),G=Symbol.for("ember-data:enable-hydration"),K={request(e,t){if(!e.request.store||e.request.cacheOptions?.[W])return t(e.request);const{store:n}=e.request,r=n.identifierCache.getOrCreateDocumentIdentifier(e.request),i=r?n.cache.peekRequest(r):null;if(function(e,t,n,r){const{cacheOptions:i}=t;return t.op&&$.has(t.op)||i?.reload||!n||!(!e.lifetimes||!r)&&e.lifetimes.isHardExpired(r,e)}(n,e.request,!!i,r))return U(t,e,r,!0,!1);if(function(e,t,n,r){const{cacheOptions:i}=t;return i?.backgroundReload||!(!e.lifetimes||!r)&&e.lifetimes.isSoftExpired(r,e)}(n,e.request,0,r)){const i=U(t,e,r,!1,!0);n.requestManager._pending.set(e.id,i)}const s=e.request[G]||!1;if("error"in i){const t=s?q(n,e.request,{shouldHydrate:s,identifier:r},i.content,!0):i.content,o=H(i);throw o.content=t,o}return s?q(n,e.request,{shouldHydrate:s,identifier:r},i.content,!0):i.content}};function V(e,t){"links"in t&&(e.links=t.links),"meta"in t&&(e.meta=t.meta),"errors"in t&&(e.errors=t.errors)}const Y=new Map;function X(e,t){Y.set(e,t)}function J(e){Y.delete(e)}function Q(e){return Y.has(e)?Y.get(e):null}function Z(e){return null==e||""===e?null:"string"==typeof e?e:"symbol"==typeof e?e.toString():""+e}function ee(e){let t=null;if("string"==typeof e?t=e.length>0?e:null:"number"!=typeof e||isNaN(e)||(t=""+e),null===t)throw new Error(`Expected id to be a string or number, received ${String(e)}`);return t}function te(e){return e&&"string"==typeof e}Symbol("record-originated-on-client"),Symbol("identifier-bucket");const ne=new Set,re=new Set;function ie(e){return ne.has(e)}function se(e){return re.has(e)}const oe="undefined"!=typeof FastBoot?FastBoot.require("crypto"):window.crypto;function ae(e,t){if("record"===t){if(te(e.lid))return e.lid;if(void 0!==e.id){let{type:t,id:n}=e;if(te(Z(n)))return`@lid:${S(t)}-${n}`}return oe.randomUUID()}if("document"===t)return e.url?e.method&&"GET"!==e.method.toUpperCase()?null:e.url:null}function le(...e){}class ce{constructor(){this._cache={lids:new Map,types:Object.create(null),documents:new Map},this._generate=ae,this._update=le,this._forget=le,this._reset=le,this._merge=le,this._isDefaultConfig=!0}__configureMerge(e){this._merge=e||le}_getRecordIdentifier(e,t=!1){if(ie(e))return e;let n=Z(e.lid),r=null!==n?this._cache.lids.get(n):void 0;if(void 0!==r)return r;if(!(!1!==t||e.type&&e.id))return;let i=e.type&&S(e.type),s=Z(e.id),o=ue(this._cache.types,i);if(null!==n&&(r=o.lid.get(n)),void 0===r&&null!==s&&(r=o.id.get(s)),void 0===r){let a=this._generate(e,"record");if(null!==n&&a!==n)throw new Error("You should not change the of a RecordIdentifier");null!==n||this._isDefaultConfig||(r=o.lid.get(a)),!0===t&&(void 0===r&&(r=de(s,i,a,0,!1),this._cache.lids.set(r.lid,r),o.lid.set(r.lid,r)),null!==r.id&&o.id.set(r.id,r))}return r}peekRecordIdentifier(e){return this._getRecordIdentifier(e,!1)}getOrCreateDocumentIdentifier(e){let t=e.cacheOptions?.key;if(t||(t=this._generate(e,"document")),!t)return null;let n=this._cache.documents.get(t);return void 0===n&&(n={lid:t},re.add(n),this._cache.documents.set(t,n)),n}getOrCreateRecordIdentifier(e){return this._getRecordIdentifier(e,!0)}createIdentifierForNewRecord(e){let t=this._generate(e,"record"),n=de(e.id||null,e.type,t,0,!0),r=ue(this._cache.types,e.type);return this._cache.lids.set(n.lid,n),r.lid.set(t,n),e.id&&r.id.set(e.id,n),n}updateRecordIdentifier(e,t){let n=this.getOrCreateRecordIdentifier(e),r=void 0!==t.id?Z(t.id):null,i=function(e,t,n,r,i){const{id:s,type:o,lid:a}=t;if(null!==s&&s!==r&&null!==r){let n=ue(e,t.type).id.get(r);return void 0!==n&&n}{let t=n.type&&S(n.type);if(null!==s&&s===r&&t===o&&n.lid&&n.lid!==a){let e=i.get(n.lid);return void 0!==e&&e}if(null!==s&&s===r&&t&&t!==o&&n.lid&&n.lid===a){let n=ue(e,t).id.get(s);return void 0!==n&&n}}return!1}(this._cache.types,n,t,r,this._cache.lids);if(!i&&t.type&&n.type!==S(t.type)){let e={...t};delete e.lid,i=this.getOrCreateRecordIdentifier(e)}if(i){let e=ue(this._cache.types,n.type),s=n;n=this._mergeRecordIdentifiers(e,s,i,t,r)}let s=n.id;if(function(e,t,n){n(e,t,"record"),void 0!==t.id&&(e.id=Z(t.id))}(n,t,this._update),r=n.id,s!==r&&null!==r){let e=ue(this._cache.types,n.type);e.id.set(r,n),null!==s&&e.id.delete(s)}return n}_mergeRecordIdentifiers(e,t,n,r,i){let s=this._merge(t,n,r),o=s===t?n:t;return this.forgetRecordIdentifier(o),e.id.set(i,s),ue(this._cache.types,n.type).id.set(i,s),r.lid=s.lid,s}forgetRecordIdentifier(e){let t=this.getOrCreateRecordIdentifier(e),n=ue(this._cache.types,t.type);null!==t.id&&n.id.delete(t.id),this._cache.lids.delete(t.lid),n.lid.delete(t.lid),ne.delete(e),this._forget(t,"record")}destroy(){this._cache.documents.forEach((e=>{re.delete(e)})),this._reset()}}function ue(e,t){let n=e[t];return void 0===n&&(n={lid:new Map,id:new Map},e[t]=n),n}function de(e,t,n,r,i=!1){let s={lid:n,id:e,type:t};return ne.add(s),s}var he,pe;let fe=(he=class{constructor(e,t){this.___token=void 0,this.___identifier=void 0,E(this,"_ref",pe,this),this.store=e,this.___identifier=t,this.___token=e.notifications.subscribe(t,((e,t,n)=>{("identity"===t||"attributes"===t&&"id"===n)&&this._ref++}))}destroy(){this.store.notifications.unsubscribe(this.___token)}get type(){return this.identifier().type}id(){return this._ref,this.___identifier.id}identifier(){return this.___identifier}remoteType(){return"identity"}push(e){return Promise.resolve(e).then((e=>this.store.push(e)))}value(){return this.store.peekRecord(this.___identifier)}load(){const e=this.id();if(null!==e)return this.store.findRecord(this.type,e)}reload(){const e=this.id();if(null!==e)return this.store.findRecord(this.type,e,{reload:!0})}},pe=j(he.prototype,"_ref",[l.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),he);function me(e,t){const n=t.content;let r;return e._join((()=>{let t,i,s=n.included;if(s)for(t=0,i=s.length;tr.getResourceCache(e))),e.index);case"removeFromRelatedRecords":return void n.removeFromHasMany(e.field,e.value.map((e=>r.getResourceCache(e))));case"replaceRelatedRecords":return void n.setDirtyHasMany(e.field,e.value.map((e=>r.getResourceCache(e))));case"replaceRelatedRecord":return t?void n.setDirtyBelongsTo(e.field,e.value?r.getResourceCache(e.value):null):(n.removeFromHasMany(e.field,[r.getResourceCache(e.prior)]),void n.addToHasMany(e.field,[r.getResourceCache(e.value)],e.index));default:return}}else n.mutate(e)}peek(e){const t=x(this,ye)[ye];if(x(this,_e)[_e](t))throw new Error("Expected cache to implement peek");return t.peek(e)}peekRequest(e){const t=x(this,ye)[ye];if(x(this,_e)[_e](t))throw new Error("Expected cache to implement peekRequest");return t.peekRequest(e)}upsert(e,t,n){const r=x(this,ye)[ye];return ie(e)||(n=t=e,e=x(this,be)[be]),x(this,_e)[_e](r)?r.pushData(t,n):r.upsert(e,t,n)}fork(){const e=x(this,ye)[ye];if(x(this,_e)[_e](e))throw new Error("Expected cache to implement fork");return e.fork()}merge(e){const t=x(this,ye)[ye];if(x(this,_e)[_e](t))throw new Error("Expected cache to implement merge");return t.merge(e)}diff(){const e=x(this,ye)[ye];if(x(this,_e)[_e](e))throw new Error("Expected cache to implement diff");return e.diff()}dump(){const e=x(this,ye)[ye];if(x(this,_e)[_e](e))throw new Error("Expected cache to implement dump");return e.dump()}hydrate(e){const t=x(this,ye)[ye];if(x(this,_e)[_e](t))throw new Error("Expected cache to implement hydrate");return t.hydrate(e)}getResourceIdentifier(){return x(this,be)[be]}pushData(e,t){return this.upsert(x(this,be)[be],e,t)}clientDidCreate(e,t){ie(e)||(t=e,e=x(this,be)[be]);const n=x(this,ye)[ye];return x(this,_e)[_e](n)?(n.clientDidCreate(),n._initRecordCreateOptions(t)):n.clientDidCreate(e,t)}_initRecordCreateOptions(e){const t=x(this,ye)[ye];if(x(this,_e)[_e](t))return t._initRecordCreateOptions(e)}willCommit(e,t){ie(e)||(e=x(this,be)[be]);const n=x(this,ye)[ye];x(this,_e)[_e](n)?n.willCommit():n.willCommit(e,t)}didCommit(e,t){const n=x(this,ye)[ye];return x(this,_e)[_e](n)?ie(e)?(n.didCommit(t.content?.data),{data:x(this,be)[be]}):(n.didCommit(e),{data:x(this,be)[be]}):ie(e)?n.didCommit(e,t):(n.didCommit(x(this,be)[be],{content:{data:e}}),{data:x(this,be)[be]})}commitWasRejected(e,t){x(this,ye)[ye].commitWasRejected(e||x(this,be)[be],t)}unloadRecord(e){const t=x(this,ye)[ye];x(this,_e)[_e](t)?t.unloadRecord():t.unloadRecord(e||x(this,be)[be])}getAttr(e,t){ie(e)||(t=e,e=x(this,be)[be]);const n=x(this,ye)[ye];return x(this,_e)[_e](n)?n.getAttr(t):n.getAttr(e,t)}setAttr(e,t,n){const r=x(this,ye)[ye];x(this,_e)[_e](r)?r.setDirtyAttribute(t,n):r.setAttr(e,t,n)}setDirtyAttribute(e,t){const n=x(this,ye)[ye];x(this,_e)[_e](n)?n.setDirtyAttribute(e,t):n.setAttr(x(this,be)[be],e,t)}changedAttributes(){const e=x(this,ye)[ye];return x(this,_e)[_e](e)?e.changedAttributes():e.changedAttrs(x(this,be)[be])}changedAttrs(e){const t=x(this,ye)[ye];return x(this,_e)[_e](t)?t.changedAttributes():t.changedAttrs(e)}hasChangedAttributes(){const e=x(this,ye)[ye];return x(this,_e)[_e](e)?e.hasChangedAttributes():e.hasChangedAttrs(x(this,be)[be])}hasChangedAttrs(e){const t=x(this,ye)[ye];return x(this,_e)[_e](t)?t.hasChangedAttributes():t.hasChangedAttrs(e)}rollbackAttributes(){const e=x(this,ye)[ye];return x(this,_e)[_e](e)?e.rollbackAttributes():e.rollbackAttrs(x(this,be)[be])}rollbackAttrs(e){const t=x(this,ye)[ye];return x(this,_e)[_e](t)?t.rollbackAttributes():t.rollbackAttrs(e)}getRelationship(e,t,n=!1){const r=x(this,ye)[ye];return x(this,_e)[_e](r)?n?r.getHasMany(t):r.getBelongsTo(t):r.getRelationship(e,t)}getBelongsTo(e){const t=x(this,ye)[ye];if(x(this,_e)[_e](t))return t.getBelongsTo(e);{let n=x(this,be)[be];return t.getRelationship(n,e)}}getHasMany(e){const t=x(this,ye)[ye];if(x(this,_e)[_e](t))return t.getHasMany(e);{let n=x(this,be)[be];return t.getRelationship(n,e)}}setDirtyBelongsTo(e,t){const n=x(this,ye)[ye];x(this,_e)[_e](n)?n.setDirtyBelongsTo(e,t):n.mutate({op:"replaceRelatedRecord",record:x(this,be)[be],field:e,value:t?t.getResourceIdentifier():null})}addToHasMany(e,t,n){const r=x(this,be)[be],i=x(this,ye)[ye];x(this,_e)[_e](i)?i.addToHasMany(e,t,n):i.mutate({op:"addToRelatedRecords",field:e,record:r,value:t.map((e=>e.getResourceIdentifier()))})}removeFromHasMany(e,t){const n=x(this,be)[be],r=x(this,ye)[ye];x(this,_e)[_e](r)?r.removeFromHasMany(e,t):r.mutate({op:"removeFromRelatedRecords",record:n,field:e,value:t.map((e=>e.getResourceIdentifier()))})}setDirtyHasMany(e,t){const n=x(this,ye)[ye];x(this,_e)[_e](n)?n.setDirtyHasMany(e,t):n.mutate({op:"replaceRelatedRecords",record:x(this,be)[be],field:e,value:t.map((e=>e.getResourceIdentifier()))})}setIsDeleted(e,t){ie(e)||(t=e,e=x(this,be)[be]);const n=x(this,ye)[ye];x(this,_e)[_e](n)?n.setIsDeleted(t):n.setIsDeleted(e,t)}getErrors(e){return x(this,ye)[ye].getErrors(e||x(this,be)[be])}isEmpty(e){const t=x(this,ye)[ye];return x(this,_e)[_e](t)?t.isEmpty?.(e||x(this,be)[be])||!1:t.isEmpty(e||x(this,be)[be])}isNew(e){return x(this,ye)[ye].isNew(e||x(this,be)[be])}isDeleted(e){return x(this,ye)[ye].isDeleted(e||x(this,be)[be])}isDeletionCommitted(e){return x(this,ye)[ye].isDeletionCommitted(e||x(this,be)[be])}}function we(e){return(e.version||"1")!==this.version}function Ae(e,t,n){if("object"==typeof e&&null!==e){let t=e;return ie(t)||"id"in t&&(t.id=Z(t.id)),t}{const r=Z(t);if(!te(r)){if(te(n))return{lid:n};throw new Error("Expected either id or lid to be a valid string")}return te(n)?{type:e,id:r,lid:n}:{type:e,id:r}}}const ke=class{constructor(e){this._store=e,this._willNotify=!1,this._pendingNotifies=new Map}get identifierCache(){return this._store.identifierCache}_scheduleNotification(e,t){let n=this._pendingNotifies.get(e);n||(n=new Set,this._pendingNotifies.set(e,n)),n.add(t),!0!==this._willNotify&&(this._willNotify=!0,this._store._cbs?this._store._schedule("notify",(()=>this._flushNotifications())):this._flushNotifications())}_flushNotifications(){if(!1===this._willNotify)return;let e=this._pendingNotifies;this._pendingNotifies=new Map,this._willNotify=!1,e.forEach(((e,t)=>{e.forEach((e=>{this._store.notifications.notify(t,"relationships",e)}))}))}notifyChange(e,t,n){"relationships"===t&&n?this._scheduleNotification(e,n):this._store.notifications.notify(e,t,n)}notifyErrorsChange(e,t,n){const r=Ae(e,t,n),i=this.identifierCache.getOrCreateRecordIdentifier(r);this._store.notifications.notify(i,"errors")}attributesDefinitionFor(e){return this._store.getSchemaDefinitionService().attributesDefinitionFor({type:e})}relationshipsDefinitionFor(e){return this._store.getSchemaDefinitionService().relationshipsDefinitionFor({type:e})}getSchemaDefinitionService(){return this._store.getSchemaDefinitionService()}notifyPropertyChange(e,t,n,r){const i=Ae(e,t,n),s=this.identifierCache.getOrCreateRecordIdentifier(i);this._store.notifications.notify(s,"attributes",r)}notifyHasManyChange(e,t,n,r){const i=Ae(e,t,n),s=this.identifierCache.getOrCreateRecordIdentifier(i);this._scheduleNotification(s,r)}notifyBelongsToChange(e,t,n,r){const i=Ae(e,t,n),s=this.identifierCache.getOrCreateRecordIdentifier(i);this._scheduleNotification(s,r)}notifyStateChange(e,t,n,r){const i=Ae(e,t,n),s=this.identifierCache.getOrCreateRecordIdentifier(i);this._store.notifications.notify(s,"state")}recordDataFor(e,t,n){let r;r=ie(e)?e:t||n?this.identifierCache.getOrCreateRecordIdentifier(Ae(e,t,n)):this.identifierCache.createIdentifierForNewRecord({type:e});const i=this._store._instanceCache.getResourceCache(r);return t||n||"string"!=typeof e||(i.clientDidCreate(r),this._store.recordArrayManager.identifierAdded(r)),i}setRecordId(e,t,n){let r;if(ie(e))r=e;else{const t=Ae(S(e),null,Z(n));r=this.identifierCache.peekRecordIdentifier(t)}this._store._instanceCache.setRecordId(r,t)}isRecordInUse(e,t,n){const r=Ae(e,t,n),i=this.identifierCache.peekRecordIdentifier(r),s=i&&this._store._instanceCache.peek({identifier:i,bucket:"record"});return!!s&&!(s.isDestroyed||s.isDestroying)}hasRecord(e){return Boolean(this._store._instanceCache.peek({identifier:e,bucket:"record"}))}disconnectRecord(e,t,n){let r;if("string"==typeof e){let i=Ae(e,t,n);r=this.identifierCache.peekRecordIdentifier(i)}else r=e;this._store._instanceCache.disconnect(r),this._pendingNotifies.delete(r)}};let Se;{let e;Se=t=>{let r=(0,k.A)(n(24730)).peekGraph;return e=e||r,e(t)}}const Ee=new Map;function xe(e){return Ee.get(e)}function Ce(e){return Ee.get(e)}function Te(e,t){Ee.set(e,t)}const Oe=new Map;function Re(e){return Oe.get(e)}class Me{constructor(e){this.__instances={record:new Map,resourceCache:new Map,reference:new WeakMap},this.store=e,this._storeWrapper=new ke(this.store),this.__cacheFor=e=>{const t=this.store.identifierCache.getOrCreateRecordIdentifier(e);return this.getResourceCache(t)},e.identifierCache.__configureMerge(((e,t,n)=>{let r=e;e.id!==t.id?r="id"in n&&e.id===n.id?e:t:e.type!==t.type&&(r="type"in n&&e.type===n.type?e:t);let i=e===r?t:e,s=this.__instances.record.has(r),o=this.__instances.record.has(i),a=this.__instances.resourceCache.get(r)||null,l=this.__instances.resourceCache.get(i)||null;if(s&&o&&"id"in n)throw new Error(`Failed to update the 'id' for the RecordIdentifier '${e.type}:${String(e.id)} (${e.lid})' to '${String(n.id)}', because that id is already in use by '${t.type}:${String(t.id)} (${t.lid})'`);let c=a||l;return c?c.patch({op:"mergeIdentifiers",record:i,value:r}):this.store.cache.patch({op:"mergeIdentifiers",record:i,value:r}),null===l||this.unloadRecord(i),r}))}peek({identifier:e,bucket:t}){return this.__instances[t]?.get(e)}getRecord(e,t){let n=this.__instances.record.get(e);if(!n){const r=this.getResourceCache(e);this.store.instantiateRecord.length,n=this.store.instantiateRecord(e,t||{},this.__cacheFor,this.store.notifications),Te(n,e),X(n,r),Oe.set(n,this.store),this.__instances.record.set(e,n)}return n}getResourceCache(e){let t=this.__instances.resourceCache.get(e);if(t)return t;if(this.store.createRecordDataFor){if(this.store.createRecordDataFor.length>2){let n=this.store.createRecordDataFor(e.type,e.id,e.lid,this._storeWrapper);t=new ve(this.store,n,e)}if(!t){let n=this.store.createRecordDataFor(e,this._storeWrapper);t="2"===n.version?n:new ve(this.store,n,e)}}else t=this.store.cache;return X(e,t),this.__instances.resourceCache.set(e,t),t}getReference(e){let t=this.__instances.reference,n=t.get(e);return n||(n=new fe(this.store,e),t.set(e,n)),n}recordIsLoaded(e,t=!1){const n=this.__instances.resourceCache.get(e)||this.cache;if(!n)return!1;const r=n.isNew(e),i=n.isEmpty(e);return r?!n.isDeleted(e):!(t&&n.isDeletionCommitted(e)||i)}disconnect(e){this.__instances.record.get(e);{let t=Se(this.store);t&&t.remove(e)}this.store.identifierCache.forgetRecordIdentifier(e),this.__instances.resourceCache.delete(e),J(e),this.store._requestCache._clearEntries(e)}unloadRecord(e){this.store._join((()=>{const t=this.__instances.record.get(e),n=this.__instances.resourceCache.get(e);t&&(this.store.teardownRecord(t),this.__instances.record.delete(e),Oe.delete(t),Ee.delete(t),J(t)),n?(n.unloadRecord(e),this.__instances.resourceCache.delete(e),J(e)):this.disconnect(e),this.store._requestCache._clearEntries(e)}))}clear(e){const t=this.store.identifierCache._cache;if(void 0===e)t.lids.forEach((e=>{this.unloadRecord(e)}));else{const n=t.types;let r=n[e]?.lid;r&&r.forEach((e=>{this.unloadRecord(e)}))}}setRecordId(e,t){const{type:n,lid:r}=e;null!==e.id&&null===t||(this.store.identifierCache.peekRecordIdentifier({type:n,id:t}),null===e.id&&this.store.identifierCache.updateRecordIdentifier(e,{type:n,id:t}),this.store.notifications.notify(e,"identity"))}loadData(e){e.type;const t=Ae(S(e.type),ee(e.id),Z(e.lid));let n=this.store.identifierCache.peekRecordIdentifier(t),r=!1;if(n){const t=function(e,t){const n=e.store.getRequestStateService();return!e.recordIsLoaded(t)&&n.getPendingRequestsForRecord(t).some((e=>"query"===e.type))}(this,n)||!this.recordIsLoaded(n);r=!function(e,t){const n=e.__instances.resourceCache.get(t);if(!n)return!0;const r=n.isNew(t),i=n.isDeleted(t),s=n.isEmpty(t);return(!r||i)&&s}(this,n)&&!t,(r||t)&&(n=this.store.identifierCache.updateRecordIdentifier(n,e))}else n=this.store.identifierCache.getOrCreateRecordIdentifier(e);const i=this.getResourceCache(n),s=this.__instances.record.has(n);return i.upsert(n,e,s),n}}function De(e,t){return"string"==typeof e||"number"==typeof e?{type:t,id:e}:Ce(e)}let Ne;{let e;Ne=function(){return e||(e=(0,k.A)(n(65075))._modelForMixin),e(...arguments)}}class Pe{constructor(e){this.store=e,this._relationshipsDefCache=Object.create(null),this._attributesDefCache=Object.create(null)}attributesDefinitionFor(e){let t,n;if(t="string"==typeof e?e:e.type,n=this._attributesDefCache[t],void 0===n){let e=this.store.modelFor(t).attributes;n=Object.create(null),e.forEach(((e,t)=>n[t]=e)),this._attributesDefCache[t]=n}return n}relationshipsDefinitionFor(e){let t,n;return t="string"==typeof e?e:e.type,n=this._relationshipsDefCache[t],void 0===n&&(n=this.store.modelFor(t).relationshipsObject||null,this._relationshipsDefCache[t]=n),n}doesTypeExist(e){let t=S(e);return null!==Fe(this.store,this.store._modelFactoryCache,t)}}function Fe(e,t,n){let r=t[n];if(!r){if(r=(0,i.getOwner)(e).factoryFor(`model:${n}`),r||(r=Ne(e,n)),!r)return null;let s=r.class;s.isModel&&(s.modelName&&Object.prototype.hasOwnProperty.call(s,"modelName")||Object.defineProperty(s,"modelName",{value:n})),t[n]=r}return r}const je=new WeakMap;function Ie(e){let t=new Map;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.set(n,e[n]);return t}class Le{constructor(e,t){this.__store=e,this.modelName=t}get fields(){let e=this.__store.getSchemaDefinitionService().attributesDefinitionFor({type:this.modelName}),t=this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({type:this.modelName}),n=new Map;return Object.keys(e).forEach((e=>n.set(e,"attribute"))),Object.keys(t).forEach((e=>n.set(e,t[e].kind))),n}get attributes(){return Ie(this.__store.getSchemaDefinitionService().attributesDefinitionFor({type:this.modelName}))}get relationshipsByName(){return Ie(this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({type:this.modelName}))}eachAttribute(e,t){let n=this.__store.getSchemaDefinitionService().attributesDefinitionFor({type:this.modelName});Object.keys(n).forEach((r=>{e.call(t,r,n[r])}))}eachRelationship(e,t){let n=this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({type:this.modelName});Object.keys(n).forEach((r=>{e.call(t,r,n[r])}))}eachTransformedAttribute(e,t){const n=this.__store.getSchemaDefinitionService().attributesDefinitionFor({type:this.modelName});Object.keys(n).forEach((r=>{n[r].type&&e.call(t,r,n[r]?.type??null)}))}}const ze=new Set(["added","removed","state","updated"]);function $e(e){return ze.has(e)}function qe(){return!!a._backburner.currentInstance&&!0!==a._backburner._autorun}class Be{constructor(e){this.store=e,this.isDestroyed=!1,this._buffered=new Map,this._hasFlush=!1,this._cache=new Map,this._tokens=new Map}subscribe(e,t){let n=this._cache.get(e);n||(n=new Map,this._cache.set(e,n));let r={};return n.set(r,t),this._tokens.set(r,e),r}unsubscribe(e){this.isDestroyed||function(e,t,n){let r=e.get(t);if(r){e.delete(t);const i=n.get(r);i?.delete(t)}}(this._tokens,e,this._cache)}notify(e,t,n){if(!ie(e)&&!se(e))return!1;const r=Boolean(this._cache.get(e)?.size);if($e(t)||r){let r=this._buffered.get(e);r||(r=[],this._buffered.set(e,r)),r.push([t,n]),this._scheduleNotify()}return r}_onNextFlush(e){this._onFlushCB=e}_scheduleNotify(){const e=this.store._enableAsyncFlush;this._hasFlush&&!1!==e&&!qe()||(!e||qe()?this._flush():this._hasFlush=!0)}_flush(){this._buffered.size&&(this._buffered.forEach(((e,t)=>{e.forEach((e=>{this._flushNotification(t,e[0],e[1])}))})),this._buffered=new Map),this._hasFlush=!1,this._onFlushCB?.(),this._onFlushCB=void 0}_flushNotification(e,t,n){if($e(t)){let n=this._cache.get(se(e)?"document":"resource");n&&n.forEach((n=>{n(e,t)}))}let r=this._cache.get(e);return!(!r||!r.size||(r.forEach((r=>{r(e,t,n)})),0))}destroy(){this.isDestroyed=!0,this._tokens.clear(),this._cache.clear()}}const Ue=b().extend(v()),He=A().extend(v());var We,Ge,Ke;let Ve=(We=(0,g.reads)("content.meta"),Ke=j((Ge=class extends Ue{constructor(...e){super(...e),E(this,"meta",Ke,this)}}).prototype,"meta",[We],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ge);function Ye(e){const t=function(e){return Ve.create({promise:e})}(e);return t}function Xe(e){const t=function(e){return He.create({promise:e})}(e);return t}var Je,Qe,Ze,et;String(Symbol.for("PROXY_CONTENT"));const tt=new Set([Symbol.iterator,"concat","entries","every","fill","filter","find","findIndex","flat","flatMap","forEach","includes","indexOf","join","keys","lastIndexOf","map","reduce","reduceRight","slice","some","values"]),nt=new Set(["push","pop","unshift","shift","splice","sort"]),rt=new Set(["[]","length","links","meta"]);function it(e){return tt.has(e)}const st=Symbol("#tag"),ot=Symbol("#source"),at=Symbol("#update"),lt=Symbol("#notify"),ct=Symbol.for("Collection");function ut(e){(0,c.RH)(e[st]),(0,p.dirtyTag)((0,u.tagForProperty)(e,"length")),(0,p.dirtyTag)((0,u.tagForProperty)(e,"[]"))}function dt(e){if("symbol"==typeof e)return null;const t=Number(e);return isNaN(t)?null:t%1==0?t:null}let ht=(Qe=j((Je=class{constructor(){E(this,"ref",Qe,this),this.shouldReset=!1,this.t=!1}}).prototype,"ref",[l.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Je),pt=(Ze=class e{[lt](){ut(this)}destroy(e){this.isDestroying=!e,this[ot].length=0,this[lt](),this.isDestroyed=!e}get length(){return this[ot].length}set length(e){this[ot].length=e}get"[]"(){return this}constructor(t){E(this,"isUpdating",et,this),this.isLoaded=!0,this.isDestroying=!1,this.isDestroyed=!1,this._updatingPromise=null,this[ct]=!0,this[ot]=void 0;const n=this;this.modelName=t.type,this.store=t.store,this._manager=t.manager,this[ot]=t.identifiers,this[st]=new ht;const r=t.store,i=new Map,s=this[st],o={links:t.links||null,meta:t.meta||null};let a=!1;const l=new Proxy(this[ot],{get(e,l,u){let d=dt(l);if(s.shouldReset&&(null!==d||rt.has(l)||it(l))&&(t.manager._syncArray(u),s.t=!1,s.shouldReset=!1),null!==d){const t=e[d];return a||(0,c.B1)(s),t&&r._instanceCache.getRecord(t)}if("meta"===l)return(0,c.B1)(s),o.meta;if("links"===l)return(0,c.B1)(s),o.links;if("[]"===l)return(0,c.B1)(s),u;if(it(l)){let t=i.get(l);return void 0===t&&(t="forEach"===l?function(){(0,c.B1)(s),a=!0;const t=function(e,t,n,r,i){void 0===i&&(i=null);const s=(t=t.slice()).length;for(let o=0;oe.length){if(null!==c&&a){const t=Ce(i);return e[c]=t,!0}return r in n&&(n[r]=i,!0)}if(!t.allowMutation)return!1;let u=e[c],d=function(e){if(!e)return null;if(e.then){let t=e.content;return Ce(t)}return Ce(e)}(i);return a?e[c]=d:n[at](e,l,"replace cell",[c,u,d],s),!0},deleteProperty:(e,t)=>!!a&&Reflect.deleteProperty(e,t),getPrototypeOf:()=>e.prototype});return m().meta(this).hasMixin=e=>e===NativeArray||e===ArrayMixin,this[lt]=this[lt].bind(l),l}update(){if(this.isUpdating)return this._updatingPromise;this.isUpdating=!0;let e=this._update();return e.finally((()=>{this._updatingPromise=null,this.isDestroying||this.isDestroyed||(this.isUpdating=!1)})),this._updatingPromise=e,e}_update(){return this.store.findAll(this.modelName,{reload:!0})}save(){return Ye(Promise.all(this.map((e=>this.store.saveRecord(e)))).then((()=>this)))}},et=j(Ze.prototype,"isUpdating",[l.r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),j(Ze.prototype,"length",[d.dependentKeyCompat],Object.getOwnPropertyDescriptor(Ze.prototype,"length"),Ze.prototype),Ze);Object.defineProperty(pt.prototype,"type",{get(){return this.modelName?this.store.modelFor(this.modelName):null}});class ft extends pt{constructor(e){super(e),this.query=null,this.query=e.query||null,this.isLoaded=e.isLoaded||!1}_update(){const{store:e,query:t}=this;return Ye(e.query(this.modelName,t,{_recordArray:this}))}destroy(e){super.destroy(e),this._manager._managed.delete(this),this._manager._pending.delete(this)}}ft.prototype.query=null,pt.prototype.DEPRECATED_CLASS_NAME="RecordArray",ft.prototype.DEPRECATED_CLASS_NAME="RecordArray",["addObserver","cacheFor","decrementProperty","get","getProperties","incrementProperty","notifyPropertyChange","removeObserver","set","setProperties","toggleProperty"].forEach((e=>{pt.prototype[e]=function(...t){return m()[e](this,...t)}})),pt.prototype.addObject=function(e){return this.DEPRECATED_CLASS_NAME,-1===this.indexOf(e)&&this.push(e),this},pt.prototype.addObjects=function(e){return this.DEPRECATED_CLASS_NAME,e.forEach((e=>{-1===this.indexOf(e)&&this.push(e)})),this},pt.prototype.popObject=function(){return this.DEPRECATED_CLASS_NAME,this.pop()},pt.prototype.pushObject=function(e){return this.DEPRECATED_CLASS_NAME,this.push(e),e},pt.prototype.pushObjects=function(e){return this.DEPRECATED_CLASS_NAME,this.push(...e),this},pt.prototype.shiftObject=function(){return this.DEPRECATED_CLASS_NAME,this.shift()},pt.prototype.unshiftObject=function(e){return this.DEPRECATED_CLASS_NAME,this.unshift(e),e},pt.prototype.unshiftObjects=function(e){return this.DEPRECATED_CLASS_NAME,this.unshift(...e),this},pt.prototype.objectAt=function(e){return this.DEPRECATED_CLASS_NAME,this[-1===Math.sign(e)?this.length+e:e]},pt.prototype.objectsAt=function(e){return this.DEPRECATED_CLASS_NAME,e.map((e=>this.objectAt(e)))},pt.prototype.removeAt=function(e){return this.DEPRECATED_CLASS_NAME,this.splice(e,1),this},pt.prototype.insertAt=function(e,t){return this.DEPRECATED_CLASS_NAME,this.splice(e,0,t),this},pt.prototype.removeObject=function(e){this.DEPRECATED_CLASS_NAME;const t=this.indexOf(e);return-1!==t&&this.splice(t,1),this},pt.prototype.removeObjects=function(e){return this.DEPRECATED_CLASS_NAME,e.forEach((e=>{const t=this.indexOf(e);-1!==t&&this.splice(t,1)})),this},pt.prototype.toArray=function(){return this.DEPRECATED_CLASS_NAME,this.slice()},pt.prototype.replace=function(e,t,n){this.DEPRECATED_CLASS_NAME,n?this.splice(e,t,...n):this.splice(e,t)},pt.prototype.clear=function(){return this.DEPRECATED_CLASS_NAME,this.splice(0,this.length),this},pt.prototype.setObjects=function(e){return this.DEPRECATED_CLASS_NAME,this.splice(0,this.length),this.push(...e),this},pt.prototype.reverseObjects=function(){return this.DEPRECATED_CLASS_NAME,this.reverse(),this},pt.prototype.compact=function(){return this.DEPRECATED_CLASS_NAME,this.filter((e=>null!=e))},pt.prototype.any=function(e,t){return this.DEPRECATED_CLASS_NAME,this.some(e,t)},pt.prototype.isAny=function(e,t){this.DEPRECATED_CLASS_NAME;let n=2===arguments.length;return this.some((r=>n?r[e]===t:!0===r[e]))},pt.prototype.isEvery=function(e,t){this.DEPRECATED_CLASS_NAME;let n=2===arguments.length;return this.every((r=>n?r[e]===t:!0===r[e]))},pt.prototype.getEach=function(e){return this.DEPRECATED_CLASS_NAME,this.map((t=>(0,s.get)(t,e)))},pt.prototype.mapBy=function(e){return this.DEPRECATED_CLASS_NAME,this.map((t=>(0,s.get)(t,e)))},pt.prototype.findBy=function(e,t){return this.DEPRECATED_CLASS_NAME,2===arguments.length?this.find((n=>(0,s.get)(n,e)===t)):this.find((t=>Boolean((0,s.get)(t,e))))},pt.prototype.filterBy=function(e,t){return this.DEPRECATED_CLASS_NAME,2===arguments.length?this.filter((n=>(0,s.get)(n,e)===t)):this.filter((t=>Boolean((0,s.get)(t,e))))},pt.prototype.sortBy=function(...e){return this.DEPRECATED_CLASS_NAME,this.slice().sort(((t,n)=>{for(let r=0;rn[e](...t)))},pt.prototype.addArrayObserver=function(){this.DEPRECATED_CLASS_NAME},pt.prototype.removeArrayObserver=function(){this.DEPRECATED_CLASS_NAME},pt.prototype.arrayContentWillChange=function(){this.DEPRECATED_CLASS_NAME},pt.prototype.arrayContentDidChange=function(){this.DEPRECATED_CLASS_NAME},pt.prototype.reject=function(e,t){return this.DEPRECATED_CLASS_NAME,this.filter(((...n)=>!e.apply(t,n)))},pt.prototype.rejectBy=function(e,t){return this.DEPRECATED_CLASS_NAME,2===arguments.length?this.filter((n=>(0,s.get)(n,e)!==t)):this.filter((t=>!(0,s.get)(t,e)))},pt.prototype.setEach=function(e,t){this.DEPRECATED_CLASS_NAME,this.forEach((n=>(0,s.set)(n,e,t)))},pt.prototype.uniq=function(){return this.DEPRECATED_CLASS_NAME,this.slice()},pt.prototype.uniqBy=function(e){this.DEPRECATED_CLASS_NAME;let t=new Set,n=[];return this.forEach((r=>{let i=(0,s.get)(r,e);t.has(i)||(t.add(i),n.push(r))})),n},pt.prototype.without=function(e){this.DEPRECATED_CLASS_NAME;const t=this.slice(),n=this.indexOf(e);return-1!==n&&t.splice(n,1),t},pt.prototype.firstObject=null,pt.prototype.lastObject=null;const mt={},gt=1200;function yt(e,t){let n=0,r=t.length;for(;r-n>gt;)e.push.apply(e,t.slice(n,n+gt)),n+=gt;e.push.apply(e,t.slice(n))}class bt{constructor(e){this.store=e.store,this.isDestroying=!1,this.isDestroyed=!1,this._live=new Map,this._managed=new Set,this._pending=new Map,this._staged=new Map,this._keyedArrays=new Map,this._identifiers=new Map,this._set=new Map,this._visibilitySet=new Map,this._subscription=this.store.notifications.subscribe("resource",((e,t)=>{"added"===t?(this._visibilitySet.set(e,!0),this.identifierAdded(e)):"removed"===t?(this._visibilitySet.set(e,!1),this.identifierRemoved(e)):"state"===t&&this.identifierChanged(e)}))}_syncArray(e){const t=this._pending.get(e);!t||this.isDestroying||this.isDestroyed||(function(e,t,n){let r=e[ot];const i=[],s=[];t.forEach(((e,t)=>{if("add"===e){if(n.has(t))return;i.push(t),n.add(t)}else n.has(t)&&(s.push(t),n.delete(t))})),s.length&&(s.length===r.length?r.length=0:s.forEach((e=>{const t=r.indexOf(e);-1!==t&&(r.splice(t,1),n.delete(e))}))),i.length&&yt(r,i)}(e,t,this._set.get(e)),this._pending.delete(e))}liveArrayFor(e){let t=this._live.get(e),n=[],r=this._staged.get(e);return r&&(r.forEach(((e,t)=>{"add"===e&&n.push(t)})),this._staged.delete(e)),t||(t=new pt({type:e,identifiers:n,store:this.store,allowMutation:!1,manager:this}),this._live.set(e,t),this._set.set(t,new Set(n))),t}createArray(e){let t={type:e.type,links:e.doc?.links||null,meta:e.doc?.meta||null,query:e.query||null,identifiers:e.identifiers||[],isLoaded:!!e.identifiers?.length,allowMutation:!1,store:this.store,manager:this},n=new ft(t);return this._managed.add(n),this._set.set(n,new Set(t.identifiers||[])),e.identifiers&&_t(this._identifiers,n,e.identifiers),n}dirtyArray(e,t){if(e===mt)return;let n=e[st];n.shouldReset?t>0&&!n.t&&(0,c.Fe)(e[lt]):(n.shouldReset=!0,(0,c.Fe)(e[lt]))}_getPendingFor(e,t,n){if(this.isDestroying||this.isDestroyed)return;let r=this._live.get(e.type);const i=this._pending;let s=new Map;if(t){let t=this._identifiers.get(e);t&&t.forEach((e=>{let t=i.get(e);t||(t=new Map,i.set(e,t)),s.set(e,t)}))}if(r&&0===r[ot].length&&n){const e=i.get(r);if(!e||0===e.size)return s}if(r){let e=i.get(r);e||(e=new Map,i.set(r,e)),s.set(r,e)}else{let t=this._staged.get(e.type);t||(t=new Map,this._staged.set(e.type,t)),s.set(mt,t)}return s}populateManagedArray(e,t,n){this._pending.delete(e);const r=e[ot],i=r.slice();r.length=0,yt(r,t),this._set.set(e,new Set(t)),ut(e),e.meta=n.meta||null,e.links=n.links||null,e.isLoaded=!0,function(e,t,n){for(let r=0;r{"del"===t.get(e)?t.delete(e):(t.set(e,"add"),this.dirtyArray(n,t.size))}))}identifierRemoved(e){let t=this._getPendingFor(e,!0,!0);t&&t.forEach(((t,n)=>{"add"===t.get(e)?t.delete(e):(t.set(e,"del"),this.dirtyArray(n,t.size))}))}identifierChanged(e){let t=this.store._instanceCache.recordIsLoaded(e,!0);this._visibilitySet.get(e)!==t&&(t?this.identifierAdded(e):this.identifierRemoved(e))}clear(e=!0){this._live.forEach((t=>t.destroy(e))),this._managed.forEach((t=>t.destroy(e))),this._managed.clear(),this._identifiers.clear(),this._pending.clear(),this._set.forEach((e=>e.clear())),this._visibilitySet.clear()}destroy(){this.isDestroying=!0,this.clear(!1),this._live.clear(),this.isDestroyed=!0,this.store.notifications.unsubscribe(this._subscription)}}function _t(e,t,n){for(let r=0;r{this._dequeue(r,s);let n={state:"fulfilled",request:t,type:i,response:{data:e}};return n[wt]=s[wt],this._addDone(n),this._triggerSubscriptions(n),e}),(e=>{this._dequeue(r,s);let n={state:"rejected",request:t,type:i,response:{data:e}};throw n[wt]=s[wt],this._addDone(n),this._triggerSubscriptions(n),e}))}}_triggerSubscriptions(e){"pending"!==e.state?(this._toFlush.push(e),1===this._toFlush.length&&this._store.notifications._onNextFlush((()=>{this._flush()}))):this._flushRequest(e)}_flush(){this._toFlush.forEach((e=>{this._flushRequest(e)})),this._toFlush=[]}_flushRequest(e){e[wt].forEach((t=>{this._subscriptions[t.lid]&&this._subscriptions[t.lid].forEach((t=>t(e)))}))}_dequeue(e,t){this._pending[e]=this._pending[e].filter((e=>e!==t))}_addDone(e){e[wt].forEach((t=>{let n=e.request.data[0].op,r=this._done.get(t);r&&(r=r.filter((e=>{let t;return t=e.request.data instanceof Array?e.request.data[0]:e.request.data,t.op!==n}))),r=r||[],r.push(e),this._done.set(t,r)}))}subscribeForRecord(e,t){this._subscriptions[e.lid]||(this._subscriptions[e.lid]=[]),this._subscriptions[e.lid].push(t)}getPendingRequestsForRecord(e){return this._pending[e.lid]?this._pending[e.lid]:[]}getLastRequestForRecord(e){let t=this._done.get(e);return t?t[t.length-1]:null}}let St;class Et extends(o()){get schema(){return this.getSchemaDefinitionService()}get isDestroying(){return this._isDestroying}set isDestroying(e){this._isDestroying=e}get isDestroyed(){return this._isDestroyed}set isDestroyed(e){this._isDestroyed=e}constructor(e){super(e),Object.assign(this,e),this.identifierCache=new ce,this.notifications=new Be(this),this.recordArrayManager=new bt({store:this}),this._requestCache=new kt(this),this._instanceCache=new Me(this),this._adapterCache=Object.create(null),this._serializerCache=Object.create(null),this._modelFactoryCache=Object.create(null),this._documentCache=new Map,this.isDestroying=!1,this.isDestroyed=!1}_run(e){const t=this._cbs={};e(),t.coalesce&&t.coalesce(),t.sync&&t.sync(),t.notify&&t.notify(),this._cbs=null}_join(e){this._cbs?e():this._run(e)}_schedule(e,t){this._cbs[e]=t}getRequestStateService(){return this._requestCache}_getAllPending(){}request(e){let t={store:this,[G]:!0};const n=this.requestManager.request(Object.assign(e,t));return n.onFinalize((()=>{("findBelongsTo"!==e.op||e.url)&&this.notifications._flush()})),n}instantiateRecord(e,t){{let n=e.type,r={_createProps:t,_secretInit:{identifier:e,cache:this._instanceCache.getResourceCache(e),store:this,cb:Ot}};return(0,i.setOwner)(r,(0,i.getOwner)(this)),Fe(this,this._modelFactoryCache,n).class.create(r)}}teardownRecord(e){e.destroy()}getSchemaDefinitionService(){return this._schema||(this._schema=new Pe(this)),this._schema}registerSchemaDefinitionService(e){this._schema=e}registerSchema(e){this._schema=e}modelFor(e){{let t=S(e),n=Fe(this,this._modelFactoryCache,t);const r=n&&n.class?n.class:null;return r&&r.isModel&&!this._forceShim?r:function(e,t){let n=je.get(e);n||(n=Object.create(null),je.set(e,n));let r=n[t];return void 0===r&&(r=n[t]=new Le(e,t)),r}(this,e)}}createRecord(e,t){let n;return a._backburner.join((()=>{this._join((()=>{let r=S(e),i={...t};if(null===i.id||void 0===i.id){let t=this.adapterFor(e);t&&t.generateIdForRecord?i.id=t.generateIdForRecord(this,e,i):i.id=null}i.id=Z(i.id);const s={type:r,id:i.id};s.id&&this.identifierCache.peekRecordIdentifier(s);const o=this.identifierCache.createIdentifierForNewRecord(s),a=this._instanceCache.getResourceCache(o),l=function(e,t,n,r=!1){if(void 0!==n){const{type:i}=t;let s=e.getSchemaDefinitionService().relationshipsDefinitionFor({type:i});if(null!==s){let e,t=Object.keys(n);for(let i=0;i{n.setIsDeleted(t,!0),n.isNew(t)&&a._backburner.join((()=>{this._instanceCache.unloadRecord(t)}))}))}unloadRecord(e){const t=xe(e);t&&this._instanceCache.unloadRecord(t)}find(e,t,n){return this.findRecord(e,t)}findRecord(e,t,n){xt(e)?n=t:e=Ae(S(e),ee(t));const r=this.identifierCache.getOrCreateRecordIdentifier(e);(n=n||{}).preload&&(this._instanceCache.recordIsLoaded(r)||(n.reload=!0),this._join((()=>{!function(e,t,n){let r={};const i=e.getSchemaDefinitionService().relationshipsDefinitionFor(t);Object.keys(n).forEach((e=>{let t=n[e],s=i[e];s?(r.relationships||(r.relationships={}),r.relationships[e]=function(e,t){const n=e.type;return"hasMany"===e.kind?{data:t.map((e=>De(e,n)))}:{data:t?De(t,n):null}}(s,t)):(r.attributes||(r.attributes={}),r.attributes[e]=t)}));const s=e._instanceCache.getResourceCache(t),o=Boolean(e._instanceCache.peek({identifier:t,bucket:"record"}));s.upsert(t,r,o)}(this,r,n.preload)})));return Xe(this.request({op:"findRecord",data:{record:r,options:n},cacheOptions:{[W]:!0}}).then((e=>e.content)))}getReference(e,t){let n;n=1===arguments.length&&xt(e)?e:Ae(S(e),ee(t));let r=this.identifierCache.getOrCreateRecordIdentifier(n);return this._instanceCache.getReference(r)}peekRecord(e,t){if(1===arguments.length&&xt(e)){const t=this.identifierCache.peekRecordIdentifier(e);return t&&this._instanceCache.recordIsLoaded(t)?this._instanceCache.getRecord(t):null}const n={type:S(e),id:ee(t)},r=this.identifierCache.peekRecordIdentifier(n);return r&&this._instanceCache.recordIsLoaded(r)?this._instanceCache.getRecord(r):null}hasRecordForId(e,t){{const n={type:S(e),id:ee(t)},r=this.identifierCache.peekRecordIdentifier(n);return Boolean(r&&this._instanceCache.recordIsLoaded(r))}}query(e,t,n){return Ye(this.request({op:"query",data:{type:S(e),query:t,options:n||{}},cacheOptions:{[W]:!0}}).then((e=>e.content)))}queryRecord(e,t,n){return Xe(this.request({op:"queryRecord",data:{type:S(e),query:t,options:n||{}},cacheOptions:{[W]:!0}}).then((e=>e.content)))}findAll(e,t={}){return Ye(this.request({op:"findAll",data:{type:S(e),options:t||{}},cacheOptions:{[W]:!0}}).then((e=>e.content)))}peekAll(e){let t=S(e);return this.recordArrayManager.liveArrayFor(t)}unloadAll(e){this._join((()=>{if(void 0===e){{const e=(0,(0,k.A)(n(24730)).peekGraph)(this);e&&e.identifiers.clear()}this.recordArrayManager.clear(),this._instanceCache.clear()}else{let t=S(e);this._instanceCache.clear(t)}}))}push(e){let t=this._push(e,!1);return Array.isArray(t)?t.map((e=>this._instanceCache.getRecord(e))):null===t?null:this._instanceCache.getRecord(t)}_push(e,t){let n;return t&&(this._enableAsyncFlush=!0),this._join((()=>{n=me(this,{content:e})})),this._enableAsyncFlush=null,n.data}pushPayload(e,t){let n,r;if(t){r=t;let i=S(e);n=this.serializerFor(i)}else r=e,n=this.serializerFor("application");n.pushPayload(this,r)}serializeRecord(e,t){if(!this._fetchManager){const e=(0,k.A)(n(59893)).FetchManager;this._fetchManager=new e(this)}return this._fetchManager.createSnapshot(Ce(e)).serialize(t)}saveRecord(e,t={}){let n=Ce(e);const r=n&&this._instanceCache.peek({identifier:n,bucket:"resourceCache"});if(!r)return Promise.reject("Record Is Disconnected");if(function(e,t){const n=e.__instances.resourceCache.get(t);return!n||function(e,t){return t.isDeletionCommitted(e)||t.isNew(e)&&t.isDeleted(e)}(t,n)}(this._instanceCache,n))return Promise.resolve(e);(function(e){return!!e&&"constructor"in e&&"isModel"in e.constructor&&!0===e.constructor.isModel})(e)&&e.errors.clear(),t||(t={});let i="updateRecord";r.isNew(n)?i="createRecord":r.isDeleted(n)&&(i="deleteRecord");const s={op:i,data:{options:t,record:n},cacheOptions:{[W]:!0}};return this.request(s).then((e=>e.content))}createCache(e){return void 0===St&&(St=(0,k.A)(n(50309)).default),new St(e)}get cache(){let{cache:e}=this._instanceCache;return e||(e=this._instanceCache.cache=this.createCache(this._instanceCache._storeWrapper)),e}normalize(e,t){let n=S(e),r=this.serializerFor(n),i=this.modelFor(n);return r.normalize(i,t)}adapterFor(e){let t=S(e),{_adapterCache:n}=this,r=n[t];if(r)return r;let s=(0,i.getOwner)(this);return r=s.lookup(`adapter:${t}`),void 0!==r?(n[t]=r,r):(r=n.application||s.lookup("adapter:application"),void 0!==r?(n[t]=r,n.application=r,r):(r=n["-json-api"]||s.lookup("adapter:-json-api"),void 0!==r?(n[t]=r,n["-json-api"]=r,r):void 0))}serializerFor(e){let t=S(e),{_serializerCache:n}=this,r=n[t];if(r)return r;let s=(0,i.getOwner)(this);return r=s.lookup(`serializer:${t}`),void 0!==r?(n[t]=r,r):(r=n.application||s.lookup("serializer:application"),void 0!==r?(n[t]=r,n.application=r,r):null)}destroy(){if(!this.isDestroyed){this.isDestroying=!0;for(let e in this._adapterCache){let t=this._adapterCache[e];"function"==typeof t.destroy&&t.destroy()}for(let e in this._serializerCache){let t=this._serializerCache[e];"function"==typeof t.destroy&&t.destroy()}{let e=(0,(0,k.A)(n(24730)).peekGraph)(this);e&&e.destroy()}this.notifications.destroy(),this.recordArrayManager.destroy(),this.identifierCache.destroy(),this.unloadAll(),this.isDestroyed=!0}}static create(e){return new this(e)}}function xt(e){return Boolean(null!==e&&"object"==typeof e&&("id"in e&&"type"in e&&e.id&&e.type||e.lid))}function Ct(e,t=!1){return e.map((e=>Tt(e,t)))}function Tt(e,t=!1){if(!e)return null;const n=t?Q:Ce;if(e.then){let t=e.content;return t?n(t):null}return n(e)}function Ot(e,t,n,r){Te(e,n),Oe.set(e,r),X(e,t)}function Rt(e){return S(e)}},30263:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>r.S,fV:()=>r.s,gW:()=>r.n,lL:()=>r.C,o:()=>r.r});var r=n(76559)},70918:(e,t,n)=>{"use strict";n.d(t,{B1:()=>i,Fe:()=>o,RH:()=>s});let r=null;function i(e){r?r.sub.add(e):e.ref}function s(e){r?r.props.add(e):function(e){e.ref=null}(e)}function o(e){r?r.cbs.add(e):e()}},68131:(e,t,n)=>{"use strict";n.d(t,{PT:()=>k,ZH:()=>E,_k:()=>A,aj:()=>w,z9:()=>S,w:()=>v});var r=n(75402);class i{constructor(e,t,n){(0,r.A)(this,"size",0),(0,r.A)(this,"misses",0),(0,r.A)(this,"hits",0),this.limit=e,this.func=t,this.store=n,this.store=n||new Map}get(e){let t=this.store.get(e);return this.store.has(e)?(this.hits++,this.store.get(e)):(this.misses++,t=this.set(e,this.func(e)),t)}set(e,t){return this.limit>this.size&&(this.size++,this.store.set(e,t)),t}purge(){this.store.clear(),this.size=0,this.hits=0,this.misses=0}}const s=/[ _]/g,o=new i(1e3,(e=>w(e).replace(s,"-"))),a=/(\-|\_|\.|\s)+(.)?/g,l=/(^|\/)([A-Z])/g,c=new i(1e3,(e=>e.replace(a,((e,t,n)=>n?n.toUpperCase():"")).replace(l,(e=>e.toLowerCase())))),u=/^(\-|_)+(.)?/,d=/(.)(\-|\_|\.|\s)+(.)?/g,h=/(^|\/|\.)([a-z])/g,p=(new i(1e3,(e=>{const t=(e,t,n)=>n?`_${n.toUpperCase()}`:"",n=(e,t,n,r)=>t+(r?r.toUpperCase():""),r=e.split("/");for(let e=0;ee.toUpperCase()))})),/([a-z\d])([A-Z]+)/g),f=/\-|\s+/g,m=new i(1e3,(e=>e.replace(p,"$1_$2").replace(f,"_").toLowerCase())),g=/(^|\/)([a-z\u00C0-\u024F])/g,y=new i(1e3,(e=>e.replace(g,(e=>e.toUpperCase())))),b=/([a-z\d])([A-Z])/g,_=new i(1e3,(e=>e.replace(b,"$1_$2").toLowerCase()));function v(e){return e.split(/\s+/)}function w(e){return _.get(e)}function A(e){return o.get(e)}function k(e){return c.get(e)}function S(e){return m.get(e)}function E(e){return y.get(e)}},10055:(e,t,n)=>{"use strict";n.d(t,{lQ:()=>c,YZ:()=>u});var r=n(21266),i=n.n(r),s=n(30380);const o=function(){let e="TEST_WAITERS",t="undefined"!=typeof Symbol?Symbol.for(e):e,n=a(),r=n[t];return void 0===r&&(r=n[t]=new Map),r}();function a(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}i().Test&&(0,s.registerWaiter)((()=>!(function(){let e={pending:0,waiters:{}};return o.forEach((t=>{if(!t.waitUntil()){e.pending++;let n=t.debugInfo();e.waiters[t.name]=n||!0}})),e}().pending>0))),n(31837);class l{constructor(e){this.name=e}beginAsync(){return this}endAsync(){}waitUntil(){return!0}debugInfo(){return[]}reset(){}}function c(e){return new l(e)}function u(e,t){return e}c("@ember/test-waiters:promise-waiter"),c("@ember/test-waiters:generator-waiter")},91359:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(44688),i=n(84478);class s{constructor(e,t){var n,i,s;n=this,s=void 0,(i=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(i="args"))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s,this.args=t,(0,r.setOwner)(this,e)}get isDestroying(){return(0,i.Z)(this)}get isDestroyed(){return(0,i.E)(this)}willDestroy(){}}},84478:(e,t,n)=>{"use strict";n.d(t,{E:()=>o,Z:()=>s});var r=n(21266),i=n.n(r);const s=i()._isDestroying,o=i()._isDestroyed},73682:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(21266),i=n.n(r),s=(n(96639),n(44688)),o=n(25313);n(86053),n(91359);var a=n(84478);const{setDestroyed:l,setDestroying:c}=a,u=(0,o.capabilities)("3.13",{destructor:!0,asyncLifecycleCallbacks:!1,updateHook:!1}),d=i().destroy,h=i()._registerDestructor;class p extends(function(e,t,n){return class{static create(e){return new this(t(e))}constructor(t){var r,i,s;r=this,s=n,(i=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(i="capabilities"))in r?Object.defineProperty(r,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):r[i]=s,e(this,t)}createComponent(e,n){return new e(t(this),n.named)}getContext(e){return e}}}(s.setOwner,s.getOwner,u)){createComponent(e,t){const n=super.createComponent(e,t);return h(n,(()=>{n.willDestroy()})),n}destroyComponent(e){d(e)}}const f=p},79232:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(73682)},59114:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(25313),i=n(73682);let s=n(91359).A;(0,r.setComponentManager)((e=>new i.A(e)),s);const o=s},54521:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var r=n(92253);const{cached:i,tracked:s}=r},42796:(e,t,n)=>{"use strict";async function r(e,{requestType:t="updateRecord",method:n,path:r,data:i,adapterOptions:s}){let o=e.constructor.modelName,a=e.store.adapterFor(o),l=e._createSnapshot();s&&(l.adapterOptions=s);let c=function(e,t){if(!t)return e;let n=new URL(e,location.href),[r,i]=t.split("?",2);return n.pathname+=`/${r}`,i&&new URLSearchParams(i).forEach(((e,t)=>{n.searchParams.append(t,e)})),n.href}(a.buildURL(o,e.id,l,t),r);return await a.ajax(c,n,{data:i})}n.d(t,{x:()=>r}),n(31837)},39540:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g,initialize:()=>h});var r=n(98772),i=n(86053),s=n(10598),o=n(80405),a=n(3393),l=n(56013),c=n(36123),u=n(4331);function d(){const e=c.O;e.__sentryEmberConfig=e.__sentryEmberConfig??{};const t={disablePerformance:!0};return t.sentry||(t.sentry={browserTracingOptions:{}}),Object.assign(t.sentry,e.__sentryEmberConfig),t}function h(e){const t=e.lookup("service:fastboot");t?.isFastBoot||d().disablePerformance||async function(e){const t=d(),c=t.browserTracingOptions||t.sentry.browserTracingOptions||{},{browserTracingIntegration:h,startBrowserTracingNavigationSpan:g,startBrowserTracingPageLoadSpan:b}=await Promise.resolve().then(n.bind(n,8338)),_=h({idleTimeout:t.transitionTimeout||5e3,...c,instrumentNavigation:!1,instrumentPageLoad:!1}),v=(0,s.KU)();v&&v.addIntegration&&v.addIntegration(_),function(e,t,n,r){const i=e.lookup("router:main");let l=e.lookup("service:router");l.externalRouter&&(l=l.externalRouter),l._hasMountedSentryPerformanceRouting||l.recognize&&(l._hasMountedSentryPerformanceRouting=!0,function(e,t,n,r,i){const{disableRunloopPerformance:l}=n,c=t.location;let u,d;const h=n.browserTracingOptions||n.sentry.browserTracingOptions||{},f=function(e){if(!e||!e.getURL||!e.formatURL)return"";const t=e.formatURL(e.getURL());return"hash"===e.implementation?`${e.rootURL}${t}`:t}(c),m=(0,s.KU)();if(!m)return;if(f&&!1!==h.instrumentPageLoad){const t=e.recognize(f);u=r(m,{name:`route:${t.name}`,attributes:{[o.i_]:"route",[o.JD]:"auto.pageload.ember",url:f,toRoute:t.name}})}const g=(e,t)=>{t||(u?.end(),p().off("end",g))};!1!==h.instrumentNavigation&&(e.on("routeWillChange",(t=>{const{fromRoute:n,toRoute:r}=function(e,t){const n=e?.from?.name;return{fromRoute:n,toRoute:e?.to?.name||t.currentRouteName}}(t,e);y(t)||(u?.end(),u=i(m,{name:`route:${r}`,attributes:{[o.i_]:"route",[o.JD]:"auto.navigation.ember",fromRoute:n,toRoute:r}}),d=(0,a.Uk)({attributes:{[o.JD]:"auto.ui.ember"},op:"ui.ember.transition",name:`route:${n} -> route:${r}`,onlyIfParent:!0}))})),e.on("routeDidChange",(e=>{d&&u&&!y(e)&&(d.end(),l?u.end():p().on("end",g))})))}(l,i,t,n,r))}(e,t,b,g),function(e){const{disableRunloopPerformance:t,minimumRunloopQueueDuration:n}=e;if(t)return;let r,s;const c=["actions","routerTransitions","render","afterRender","destroy"];p().on("begin",((e,t)=>{if(t)return;if(!(0,l.Bk)())return;s&&s.end(),r=(0,u.zf)();const d=e=>{if(r){const t=(0,u.zf)();1e3*(t-r)>=(n??5)&&(0,a.Uk)({attributes:{[o.JD]:"auto.ui.ember"},name:"runloop",op:`ui.ember.runloop.${e}`,startTime:r,onlyIfParent:!0})?.end(t),r=void 0}(0,l.Bk)()&&(r=(0,u.zf)())};c.forEach((e=>{(0,i.scheduleOnce)(e,null,d,e)}))})),p().on("end",((e,t)=>{t||s&&(s.end(),s=void 0)}))}(t),function(e){const{disableInstrumentComponents:t,minimumComponentRenderDuration:n,enableComponentDefinitions:i}=e;if(t)return;const s=n??2,o={},a={};(0,r.subscribe)("render.component",{before(e,t,n){f(n,o)},after(e,t,n,r){m(n,o,"ui.ember.component.render",s)}}),i&&(0,r.subscribe)("render.getComponentDefinition",{before(e,t,n){f(n,a)},after(e,t,n,r){m(n,a,"ui.ember.component.definition",0)}})}(t),function(e){const t="@sentry/ember:initial-load-start",n="@sentry/ember:initial-load-end",{HAS_PERFORMANCE:r,HAS_PERFORMANCE_TIMING:i}=function(){const e=window.performance;return{HAS_PERFORMANCE:Boolean(e&&e.clearMarks&&e.clearMeasures),HAS_PERFORMANCE_TIMING:Boolean(e.measure&&e.getEntriesByName&&void 0!==u.k3)}}();if(!r)return;const{performance:s}=window;if(e.disableInitialLoadInstrumentation)return s.clearMarks(t),void s.clearMarks(n);if(!i||void 0===u.k3)return;const l="@sentry/ember:initial-load",c=s.getEntriesByName(t).length>0,d=s.getEntriesByName(n).length>0;if(!c||!d)return;s.measure(l,t,n);const h=s.getEntriesByName(l)[0],p=(h.startTime+u.k3)/1e3,f=p+h.duration/1e3;(0,a.Uk)({op:"ui.ember.init",name:"init",attributes:{[o.JD]:"auto.ui.ember"},startTime:p,onlyIfParent:!0})?.end(f),s.clearMarks(t),s.clearMarks(n),s.clearMeasures(l)}(t)}(e)}function p(){return i._backburner?i._backburner:i.run.backburner?i.run.backburner:{on(){},off(){}}}function f(e,t){const n={payload:e,now:(0,u.zf)()};t[e.object]=n}function m(e,t,n,r){const i=t[e.object];if(!i)return;const s=(0,u.zf)();1e3*(s-i.now)>=r&&(0,a.Uk)({name:e.containerKey||e.object,op:n,startTime:i.now,attributes:{[o.JD]:"auto.ui.ember"},onlyIfParent:!0})?.end(s)}const g={initialize:h};function y(e){const t=e.isIntermediate;return"boolean"==typeof t?t:"loading"===e.to?.localName||"error"===e.to?.localName}},22283:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>tt.Cp,o5:()=>tt.o5,Ts:()=>nt,gV:()=>tt.gV}),n(31837),n(86053);var r=n(39414),i=n(79170),s=n(77351),o=n(78340);const a=[];function l(e){const t=e.defaultIntegrations||[],n=e.integrations;let r;t.forEach((e=>{e.isDefaultInstance=!0})),r=Array.isArray(n)?[...t,...n]:"function"==typeof n?(0,i.k9)(n(t)):t;const s=function(e){const t={};return e.forEach((e=>{const{name:n}=e,r=t[n];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[n]=e)})),Object.values(t)}(r),o=s.findIndex((e=>"Debug"===e.name));if(o>-1){const[e]=s.splice(o,1);s.push(e)}return s}function c(e,t){for(const n of t)n&&n.afterAllSetup&&n.afterAllSetup(e)}function u(e,t,n){if(n[t.name])o.T&&r.vF.log(`Integration skipped because it was already installed: ${t.name}`);else{if(n[t.name]=t,-1===a.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),a.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){const n=t.preprocessEvent.bind(t);e.on("preprocessEvent",((t,r)=>n(t,r,e)))}if("function"==typeof t.processEvent){const n=t.processEvent.bind(t),r=Object.assign(((t,r)=>n(t,r,e)),{id:t.name});e.addEventProcessor(r)}o.T&&r.vF.log(`Integration installed: ${t.name}`)}}const d=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,"undefined is not an object (evaluating 'a.L')",'can\'t redefine non-configurable property "solana"',"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler"],h=(e={})=>({name:"InboundFilters",processEvent(t,n,a){const l=a.getOptions(),c=function(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:d],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(e,l);return function(e,t){return t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e)?(o.T&&r.vF.warn(`Event dropped due to being internal Sentry Error.\nEvent: ${(0,i.$X)(e)}`),!0):function(e,t){return!(e.type||!t||!t.length)&&function(e){const t=[];let n;e.message&&t.push(e.message);try{n=e.exception.values[e.exception.values.length-1]}catch(e){}return n&&n.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`)),t}(e).some((e=>(0,s.Xr)(e,t)))}(e,t.ignoreErrors)?(o.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${(0,i.$X)(e)}`),!0):function(e){return!e.type&&(!(!e.exception||!e.exception.values||0===e.exception.values.length)&&(!e.message&&!e.exception.values.some((e=>e.stacktrace||e.type&&"Error"!==e.type||e.value))))}(e)?(o.T&&r.vF.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${(0,i.$X)(e)}`),!0):function(e,t){if("transaction"!==e.type||!t||!t.length)return!1;const n=e.transaction;return!!n&&(0,s.Xr)(n,t)}(e,t.ignoreTransactions)?(o.T&&r.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${(0,i.$X)(e)}`),!0):function(e,t){if(!t||!t.length)return!1;const n=p(e);return!!n&&(0,s.Xr)(n,t)}(e,t.denyUrls)?(o.T&&r.vF.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${(0,i.$X)(e)}.\nUrl: ${p(e)}`),!0):!function(e,t){if(!t||!t.length)return!0;const n=p(e);return!n||(0,s.Xr)(n,t)}(e,t.allowUrls)&&(o.T&&r.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${(0,i.$X)(e)}.\nUrl: ${p(e)}`),!0)}(t,c)?null:t}});function p(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?function(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(t):null}catch(t){return o.T&&r.vF.error(`Cannot extract url for event ${(0,i.$X)(e)}`),null}}var f=n(4269),m=n(10598);let g;const y=new WeakMap,b=()=>({name:"FunctionToString",setupOnce(){g=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=(0,f.sp)(this),n=y.has((0,m.KU)())&&void 0!==t?t:this;return g.apply(n,e)}}catch(e){}},setup(e){y.set(e,!0)}});var _=n(80947);const v=()=>{let e;return{name:"Dedupe",processEvent(t){if(t.type)return t;try{if(function(e,t){return!!t&&(!!function(e,t){const n=e.message,r=t.message;return!(!n&&!r)&&(!(n&&!r||!n&&r)&&(n===r&&(!!A(e,t)&&!!w(e,t))))}(e,t)||!!function(e,t){const n=k(t),r=k(e);return!(!n||!r)&&(n.type===r.type&&n.value===r.value&&(!!A(e,t)&&!!w(e,t)))}(e,t))}(t,e))return o.T&&r.vF.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}};function w(e,t){let n=(0,_.RV)(e),r=(0,_.RV)(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let e=0;ethis._captureEvent(e,a,n)))),a.event_id}captureMessage(e,t,n,r){const s={event_id:(0,i.eJ)(),...n},o=(0,T.NF)(e)?e:String(e),a=(0,T.sO)(e)?this.eventFromMessage(o,t,s):this.eventFromException(e,s);return this._process(a.then((e=>this._captureEvent(e,s,r)))),s.event_id}captureEvent(e,t,n){const s=(0,i.eJ)();if(t&&t.originalException&&(0,i.GR)(t.originalException))return o.T&&r.vF.log(L),s;const a={event_id:s,...t},l=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,a,l||n)),a.event_id}captureSession(e){"string"!=typeof e.release?o.T&&r.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),(0,P.qO)(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){const t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then((n=>t.flush(e).then((e=>n&&e))))):(0,O.XW)(!0)}close(e){return this.flush(e).then((e=>(this.getOptions().enabled=!1,this.emit("close"),e)))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){const t=this._integrations[e.name];u(this,e,this._integrations),t||c(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let n=(0,N.V7)(e,this._dsn,this._options._metadata,this._options.tunnel);for(const e of t.attachments||[])n=(0,R.W3)(n,(0,R.bm)(e));const r=this.sendEnvelope(n);r&&r.then((t=>this.emit("afterSendEvent",e,t)),null)}sendSession(e){const t=(0,N.LE)(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,n){if(this._options.sendClientReports){const n=`${e}:${t}`;o.T&&r.vF.log(`Adding outcome: "${n}"`),this._outcomes[n]=(this._outcomes[n]||0)+1}}on(e,t){const n=this._hooks[e]=this._hooks[e]||[];return n.push(t),()=>{const e=n.indexOf(t);e>-1&&n.splice(e,1)}}emit(e,...t){const n=this._hooks[e];n&&n.forEach((e=>e(...t)))}sendEnvelope(e){return this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport?this._transport.send(e).then(null,(e=>(o.T&&r.vF.error("Error while sending event:",e),e))):(o.T&&r.vF.error("Transport disabled"),(0,O.XW)({}))}_setupIntegrations(){const{integrations:e}=this._options;this._integrations=function(e,t){const n={};return t.forEach((t=>{t&&u(e,t,n)})),n}(this,e),c(this,e)}_updateSessionFromEvent(e,t){let n=!1,r=!1;const i=t.exception&&t.exception.values;if(i){r=!0;for(const e of i){const t=e.mechanism;if(t&&!1===t.handled){n=!0;break}}}const s="ok"===e.status;(s&&0===e.errors||s&&n)&&((0,P.qO)(e,{...n&&{status:"crashed"},errors:e.errors||Number(r||n)}),this.captureSession(e))}_isClientDoneProcessing(e){return new O.T2((t=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),t(!0)):(n+=1,e&&n>=e&&(clearInterval(r),t(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,n,r=(0,m.rm)()){const i=this.getOptions(),s=Object.keys(this._integrations);return!t.integrations&&s.length>0&&(t.integrations=s),this.emit("preprocessEvent",e,t),e.type||r.setLastEventId(e.event_id||t.event_id),(0,I.mG)(i,e,t,n,this,r).then((e=>{if(null===e)return e;const t={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if((!e.contexts||!e.contexts.trace)&&t){const{traceId:n,spanId:r,parentSpanId:i,dsc:s}=t;e.contexts={trace:(0,f.Ce)({trace_id:n,span_id:r,parent_span_id:i}),...e.contexts};const o=s||(0,F.lF)(n,this);e.sdkProcessingMetadata={dynamicSamplingContext:o,...e.sdkProcessingMetadata}}return e}))}_captureEvent(e,t={},n){return this._processEvent(e,t,n).then((e=>e.event_id),(e=>{if(o.T){const t=e;"log"===t.logLevel?r.vF.log(t.message):r.vF.warn(t)}}))}_processEvent(e,t,n){const r=this.getOptions(),{sampleRate:i}=r,s=q(e),o=$(e),a=e.type||"error",l=`before send for type \`${a}\``,c=void 0===i?void 0:(0,j.i)(i);if(o&&"number"==typeof c&&Math.random()>c)return this.recordDroppedEvent("sample_rate","error",e),(0,O.xg)(new M(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));const u="replay_event"===a?"replay":a,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,n,d).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,e),new M("An event processor returned `null`, will not send event.","log");if(t.data&&!0===t.data.__sentry__)return n;const i=function(e,t,n,r){const{beforeSend:i,beforeSendTransaction:s,beforeSendSpan:o}=t;if($(n)&&i)return i(n,r);if(q(n)){if(n.spans&&o){const t=[];for(const r of n.spans){const n=o(r);n?t.push(n):e.recordDroppedEvent("before_send","span")}n.spans=t}if(s)return s(n,r)}return n}(this,r,n,t);return function(e,t){const n=`${t} must return \`null\` or a valid event.`;if((0,T.Qg)(e))return e.then((e=>{if(!(0,T.Qd)(e)&&null!==e)throw new M(n);return e}),(e=>{throw new M(`${t} rejected with ${e}`)}));if(!(0,T.Qd)(e)&&null!==e)throw new M(n);return e}(i,l)})).then((r=>{if(null===r){if(this.recordDroppedEvent("before_send",u,e),q(e)){const t=1+(e.spans||[]).length;this._outcomes.span=(this._outcomes.span||0)+t}throw new M(`${l} returned \`null\`, will not send event.`,"log")}const i=n&&n.getSession();!s&&i&&this._updateSessionFromEvent(i,r);const o=r.transaction_info;if(s&&o&&r.transaction!==e.transaction){const e="custom";r.transaction_info={...o,source:e}}return this.sendEvent(r,t),r})).then(null,(e=>{if(e instanceof M)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new M(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`)}))}_process(e){this._numProcessing++,e.then((e=>(this._numProcessing--,e)),(e=>(this._numProcessing--,e)))}_clearOutcomes(){const e=this._outcomes;return this._outcomes={},Object.entries(e).map((([e,t])=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t}}))}_flushOutcomes(){o.T&&r.vF.log("Flushing outcomes...");const e=this._clearOutcomes();if(0===e.length)return void(o.T&&r.vF.log("No outcomes to send"));if(!this._dsn)return void(o.T&&r.vF.log("No dsn provided, will not send outcomes"));o.T&&r.vF.log("Sending outcomes:",e);const t=function(e,t){const n=[{type:"client_report"},{timestamp:(0,D.lu)(),discarded_events:e}];return(0,R.h4)(t?{dsn:t}:{},[n])}(e,this._options.tunnel&&(0,C.SB)(this._dsn));this.sendEnvelope(t)}}function $(e){return void 0===e.type}function q(e){return"transaction"===e.type}var B=n(58564);function U(e,t,n=[t],r="npm"){const i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:n.map((e=>({name:`${r}:@sentry/${e}`,version:B.M}))),version:B.M}),e._metadata=i}var H=n(34784),W=n(43578);function G(e,t){const n=V(e,t),r={type:t&&t.name,value:X(t)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function K(e,t){return{exception:{values:[G(e,t)]}}}function V(e,t){const n=t.stacktrace||t.stack||"",r=function(e){return e&&Y.test(e.message)?1:0}(t),i=function(e){return"number"==typeof e.framesToPop?e.framesToPop:0}(t);try{return e(n,r,i)}catch(e){}return[]}const Y=/Minified React error #\d+;/i;function X(e){const t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function J(e,t,n,r,s){let o;if((0,T.T2)(t)&&t.error)return K(e,t.error);if((0,T.BD)(t)||(0,T.W6)(t)){const s=t;if("stack"in t)o=K(e,t);else{const t=s.name||((0,T.BD)(s)?"DOMError":"DOMException"),a=s.message?`${t}: ${s.message}`:t;o=Q(e,a,n,r),(0,i.gO)(o,a)}return"code"in s&&(o.tags={...o.tags,"DOMException.code":`${s.code}`}),o}return(0,T.bJ)(t)?K(e,t):(0,T.Qd)(t)||(0,T.xH)(t)?(o=function(e,t,n,r){const i=(0,m.KU)(),s=i&&i.getOptions().normalizeDepth,o=function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}(t),a={__serialized__:(0,W.cd)(t,s)};if(o)return{exception:{values:[G(e,o)]},extra:a};const l={exception:{values:[{type:(0,T.xH)(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:Z(t,{isUnhandledRejection:r})}]},extra:a};if(n){const t=V(e,n);t.length&&(l.exception.values[0].stacktrace={frames:t})}return l}(e,t,n,s),(0,i.M6)(o,{synthetic:!0}),o):(o=Q(e,t,n,r),(0,i.gO)(o,`${t}`,void 0),(0,i.M6)(o,{synthetic:!0}),o)}function Q(e,t,n,r){const i={};if(r&&n){const r=V(e,n);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if((0,T.NF)(t)){const{__sentry_template_string__:e,__sentry_template_values__:n}=t;return i.logentry={message:e,params:n},i}return i.message=t,i}function Z(e,{isUnhandledRejection:t}){const n=(0,f.HF)(e),r=t?"promise rejection":"exception";return(0,T.T2)(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:(0,T.xH)(e)?`Event \`${function(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}var ee=n(53587);class te extends z{constructor(e){const t={parentSpanIsAlwaysRootSpan:!0,...e};U(t,"browser",["browser"],ee.jf.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&ee.jf.document&&ee.jf.document.addEventListener("visibilitychange",(()=>{"hidden"===ee.jf.document.visibilityState&&this._flushOutcomes()}))}eventFromException(e,t){return function(e,t,n,r){const s=J(e,t,n&&n.syntheticException||void 0,r);return(0,i.M6)(s),s.level="error",n&&n.event_id&&(s.event_id=n.event_id),(0,O.XW)(s)}(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",n){return function(e,t,n="info",r,i){const s=Q(e,t,r&&r.syntheticException||void 0,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),(0,O.XW)(s)}(this._options.stackParser,e,t,n,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled())return void(H.T&&r.vF.warn("SDK not enabled, will not capture user feedback."));const t=function(e,{metadata:t,tunnel:n,dsn:r}){const i={event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!n&&!!r&&{dsn:(0,C.SB)(r)}},s=function(e){return[{type:"user_report"},e]}(e);return(0,R.h4)(i,[s])}(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,n){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,n)}}var ne=n(59335),re=n(48101);const ie=1e3;let se,oe,ae;function le(){if(!re.j.document)return;const e=ne.aj.bind(null,"dom"),t=ce(e,!0);re.j.document.addEventListener("click",t,!1),re.j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((t=>{const n=re.j[t]&&re.j[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,f.GS)(n,"addEventListener",(function(t){return function(n,r,i){if("click"===n||"keypress"==n)try{const r=this,s=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},o=s[n]=s[n]||{refCount:0};if(!o.handler){const r=ce(e);o.handler=r,t.call(this,n,r,i)}o.refCount++}catch(e){}return t.call(this,n,r,i)}})),(0,f.GS)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{const n=this,i=n.__sentry_instrumentation_handlers__||{},s=i[t];s&&(s.refCount--,s.refCount<=0&&(e.call(this,t,s.handler,r),s.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete n.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}function ce(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=function(e){try{return e.target}catch(e){return null}}(n);if(function(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}(n.type,r))return;(0,f.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,f.my)(r,"_sentryId",(0,i.eJ)());const s="keypress"===n.type?"input":n.type;(function(e){if(e.type!==oe)return!1;try{if(!e.target||e.target._sentryId!==ae)return!1}catch(e){}return!0})(n)||(e({event:n,name:s,global:t}),oe=n.type,ae=r?r._sentryId:void 0),clearTimeout(se),se=re.j.setTimeout((()=>{ae=void 0,oe=void 0}),ie)}}var ue=n(73846);const de=100;function he(e,t){const n=(0,m.KU)(),i=(0,m.rm)();if(!n)return;const{beforeBreadcrumb:s=null,maxBreadcrumbs:o=de}=n.getOptions();if(o<=0)return;const a={timestamp:(0,D.lu)(),...e},l=s?(0,r.pq)((()=>s(a,t))):a;null!==l&&(n.emit&&n.emit("beforeAddBreadcrumb",l,t),i.addBreadcrumb(l,o))}var pe=n(36123);function fe(){"console"in pe.O&&r.Ow.forEach((function(e){e in pe.O.console&&(0,f.GS)(pe.O.console,e,(function(t){return r.Z9[e]=t,function(...t){const n={args:t,level:e};(0,ne.aj)("console",n);const i=r.Z9[e];i&&i.apply(pe.O.console,t)}}))}))}var me=n(60944),ge=n(2516);const ye=["fatal","error","warning","log","info","debug"];var be=n(49177);const _e=(e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:"Breadcrumbs",setup(e){var n;t.console&&function(e){const t="console";(0,ne.s5)(t,e),(0,ne.AS)(t,fe)}(function(e){return function(t){if((0,m.KU)()!==e)return;const n={category:"console",data:{arguments:t.args,logger:"console"},level:(r=t.level,"warn"===r?"warning":ye.includes(r)?r:"log"),message:(0,s.gt)(t.args," ")};var r;if("assert"===t.level){if(!1!==t.args[0])return;n.message=`Assertion failed: ${(0,s.gt)(t.args.slice(1)," ")||"console.assert"}`,n.data.arguments=t.args.slice(1)}he(n,{input:t.args,level:t.level})}}(e)),t.dom&&(n=function(e,t){return function(n){if((0,m.KU)()!==e)return;let i,s,o="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>1024&&(H.T&&r.vF.warn(`\`dom.maxStringLength\` cannot exceed 1024, but a value of ${a} was configured. Sentry will use 1024 instead.`),a=1024),"string"==typeof o&&(o=[o]);try{const e=n.event,t=function(e){return!!e&&!!e.target}(e)?e.target:e;i=(0,ge.Hd)(t,{keyAttrs:o,maxStringLength:a}),s=(0,ge.xE)(t)}catch(e){i=""}if(0===i.length)return;const l={category:`ui.${n.name}`,message:i};s&&(l.data={"ui.component_name":s}),he(l,{event:n.event,name:n.name,global:n.global})}}(e,t.dom),(0,ne.s5)("dom",n),(0,ne.AS)("dom",le)),t.xhr&&(0,ue.Mn)(function(e){return function(t){if((0,m.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t,i=t.xhr[ue.Er];if(!n||!r||!i)return;const{method:s,url:o,status_code:a,body:l}=i;he({category:"xhr",data:{method:s,url:o,status_code:a},type:"http"},{xhr:t.xhr,input:l,startTimestamp:n,endTimestamp:r})}}(e)),t.fetch&&(0,me.u)(function(e){return function(t){if((0,m.KU)()!==e)return;const{startTimestamp:n,endTimestamp:r}=t;if(r&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error)he({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:n,endTimestamp:r});else{const e=t.response;he({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:n,endTimestamp:r})}}}(e)),t.history&&(0,x._)(function(e){return function(t){if((0,m.KU)()!==e)return;let n=t.from,r=t.to;const i=(0,be.Dl)(ee.jf.location.href);let s=n?(0,be.Dl)(n):void 0;const o=(0,be.Dl)(r);s&&s.path||(s=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),he({category:"navigation",data:{from:n,to:r}})}}(e)),t.sentry&&e.on("beforeSendEvent",function(e){return function(t){(0,m.KU)()===e&&he({category:"sentry."+("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:(0,i.$X)(t)},{event:t})}}(e))}}},ve=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],we=(e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:"BrowserApiErrors",setupOnce(){t.setTimeout&&(0,f.GS)(ee.jf,"setTimeout",Ae),t.setInterval&&(0,f.GS)(ee.jf,"setInterval",Ae),t.requestAnimationFrame&&(0,f.GS)(ee.jf,"requestAnimationFrame",ke),t.XMLHttpRequest&&"XMLHttpRequest"in ee.jf&&(0,f.GS)(XMLHttpRequest.prototype,"send",Se);const e=t.eventTarget;e&&(Array.isArray(e)?e:ve).forEach(Ee)}}};function Ae(e){return function(...t){const n=t[0];return t[0]=(0,ee.LV)(n,{mechanism:{data:{function:(0,_.qQ)(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function ke(e){return function(t){return e.apply(this,[(0,ee.LV)(t,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,_.qQ)(e)},handled:!1,type:"instrument"}})])}}function Se(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach((e=>{e in n&&"function"==typeof n[e]&&(0,f.GS)(n,e,(function(t){const n={mechanism:{data:{function:e,handler:(0,_.qQ)(t)},handled:!1,type:"instrument"}},r=(0,f.sp)(t);return r&&(n.mechanism.data.handler=(0,_.qQ)(r)),(0,ee.LV)(t,n)}))})),e.apply(this,t)}}function Ee(e){const t=ee.jf,n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,f.GS)(n,"addEventListener",(function(t){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=(0,ee.LV)(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,_.qQ)(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[n,(0,ee.LV)(r,{mechanism:{data:{function:"addEventListener",handler:(0,_.qQ)(r),target:e},handled:!1,type:"instrument"}}),i])}})),(0,f.GS)(n,"removeEventListener",(function(e){return function(t,n,r){const i=n;try{const n=i&&i.__sentry_wrapped__;n&&e.call(this,t,n,r)}catch(e){}return e.call(this,t,i,r)}})))}var xe=n(66871),Ce=n(28711);const Te=(e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:"GlobalHandlers",setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(function(e){(0,xe.L)((t=>{const{stackParser:n,attachStacktrace:r}=Re();if((0,m.KU)()!==e||(0,ee.jN)())return;const{msg:i,url:s,line:o,column:a,error:l}=t,c=function(e,t,n,r){const i=e.exception=e.exception||{},s=i.values=i.values||[],o=s[0]=s[0]||{},a=o.stacktrace=o.stacktrace||{},l=a.frames=a.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=(0,T.Kg)(t)&&t.length>0?t:(0,ge.$N)();return 0===l.length&&l.push({colno:c,filename:d,function:_.yF,in_app:!0,lineno:u}),e}(J(n,l||i,void 0,r,!1),s,o,a);c.level="error",(0,S.r)(c,{originalException:l,mechanism:{handled:!1,type:"onerror"}})}))}(e),Oe("onerror")),t.onunhandledrejection&&(function(e){(0,Ce.r)((t=>{const{stackParser:n,attachStacktrace:r}=Re();if((0,m.KU)()!==e||(0,ee.jN)())return;const i=function(e){if((0,T.sO)(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}(t),s=(0,T.sO)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:J(n,i,void 0,r,!0);s.level="error",(0,S.r)(s,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})}))}(e),Oe("onunhandledrejection"))}}};function Oe(e){H.T&&r.vF.log(`Global Handler attached: ${e}`)}function Re(){const e=(0,m.KU)();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}const Me=()=>({name:"HttpContext",preprocessEvent(e){if(!ee.jf.navigator&&!ee.jf.location&&!ee.jf.document)return;const t=e.request&&e.request.url||ee.jf.location&&ee.jf.location.href,{referrer:n}=ee.jf.document||{},{userAgent:r}=ee.jf.navigator||{},i={...e.request&&e.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...e.request,...t&&{url:t},headers:i};e.request=s}});function De(e,t,n=250,r,i,o,a){if(!(o.exception&&o.exception.values&&a&&(0,T.tH)(a.originalException,Error)))return;const l=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;var c,u;l&&(o.exception.values=(c=Ne(e,t,i,a.originalException,r,o.exception.values,l,0),u=n,c.map((e=>(e.value&&(e.value=(0,s.xv)(e.value,u)),e)))))}function Ne(e,t,n,r,i,s,o,a){if(s.length>=n+1)return s;let l=[...s];if((0,T.tH)(r[i],Error)){Pe(o,a);const s=e(t,r[i]),c=l.length;Fe(s,i,c,a),l=Ne(e,t,n,r[i],i,[s,...l],s,c)}return Array.isArray(r.errors)&&r.errors.forEach(((r,s)=>{if((0,T.tH)(r,Error)){Pe(o,a);const c=e(t,r),u=l.length;Fe(c,`errors[${s}]`,u,a),l=Ne(e,t,n,r,i,[c,...l],c,u)}})),l}function Pe(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function Fe(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}const je=(e={})=>{const t=e.limit||5,n=e.key||"cause";return{name:"LinkedErrors",preprocessEvent(e,r,i){const s=i.getOptions();De(G,s.stackParser,s.maxValueLength,n,t,e,r)}}};function Ie(e,t,n,r){const i={filename:e,function:""===t?_.yF:t,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}const Le=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,ze=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,$e=/\((\S*)(?::(\d+))(?::(\d+))\)/,qe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Be=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,Ue=[[30,e=>{const t=Le.exec(e);if(t){const[,e,n,r]=t;return Ie(e,_.yF,+n,+r)}const n=ze.exec(e);if(n){if(n[2]&&0===n[2].indexOf("eval")){const e=$e.exec(n[2]);e&&(n[2]=e[1],n[3]=e[2],n[4]=e[3])}const[e,t]=We(n[1]||_.yF,n[2]);return Ie(t,e,n[3]?+n[3]:void 0,n[4]?+n[4]:void 0)}}],[50,e=>{const t=qe.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const e=Be.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],n=t[1]||_.yF;return[n,e]=We(n,e),Ie(e,n,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]],He=(0,_.gd)(...Ue),We=(e,t)=>{const n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:_.yF,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};var Ge=n(15358);const Ke={};function Ve(e){Ke[e]=void 0}const Ye=6e4;const Xe=64;function Je(e,t,n=function(e){const t=[];function n(e){return t.splice(t.indexOf(e),1)[0]||Promise.resolve(void 0)}return{$:t,add:function(r){if(!(void 0===e||t.lengthn(i))).then(null,(()=>n(i).then(null,(()=>{})))),i},drain:function(e){return new O.T2(((n,r)=>{let i=t.length;if(!i)return n(!0);const s=setTimeout((()=>{e&&e>0&&n(!1)}),e);t.forEach((e=>{(0,O.XW)(e).then((()=>{--i||(clearTimeout(s),n(!0))}),r)}))}))}}}(e.bufferSize||Xe)){let i={};return{send:function(s){const a=[];if((0,R.yH)(s,((t,n)=>{const r=(0,R.zk)(n);if(function(e,t,n=Date.now()){return function(e,t){return e[t]||e.all||0}(e,t)>n}(i,r)){const i=Qe(t,n);e.recordDroppedEvent("ratelimit_backoff",r,i)}else a.push(t)})),0===a.length)return(0,O.XW)({});const l=(0,R.h4)(s[0],a),c=t=>{(0,R.yH)(l,((n,r)=>{const i=Qe(n,r);e.recordDroppedEvent(t,(0,R.zk)(r),i)}))};return n.add((()=>t({body:(0,R.bN)(l)}).then((e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&o.T&&r.vF.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),i=function(e,{statusCode:t,headers:n},r=Date.now()){const i={...e},s=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(s)for(const e of s.trim().split(",")){const[t,n,,,s]=e.split(":",5),o=parseInt(t,10),a=1e3*(isNaN(o)?60:o);if(n)for(const e of n.split(";"))"metric_bucket"===e&&s&&!s.split(";").includes("custom")||(i[e]=r+a);else i.all=r+a}else o?i.all=r+function(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return 1e3*n;const r=Date.parse(`${e}`);return isNaN(r)?Ye:r-t}(o,r):429===t&&(i.all=r+6e4);return i}(i,e),e)),(e=>{throw c("network_error"),e})))).then((e=>e),(e=>{if(e instanceof M)return o.T&&r.vF.error("Skipped sending event because buffer is full."),c("queue_overflow"),(0,O.XW)({});throw e}))},flush:e=>n.drain(e)}}function Qe(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function Ze(e,t=function(e){const t=Ke[e];if(t)return t;let n=re.j[e];if((0,E.a3)(n))return Ke[e]=n.bind(re.j);const i=re.j.document;if(i&&"function"==typeof i.createElement)try{const t=i.createElement("iframe");t.hidden=!0,i.head.appendChild(t);const r=t.contentWindow;r&&r[e]&&(n=r[e]),i.head.removeChild(t)}catch(t){Ge.T&&r.vF.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,t)}return n?Ke[e]=n.bind(re.j):n}("fetch")){let n=0,i=0;return Je(e,(function(r){const s=r.body.length;n+=s,i++;const o={body:r.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:n<=6e4&&i<15,...e.fetchOptions};if(!t)return Ve("fetch"),(0,O.xg)("No fetch implementation available");try{return t(e.url,o).then((e=>(n-=s,i--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}})))}catch(e){return Ve("fetch"),n-=s,i--,(0,O.xg)(e)}}))}function et(e={}){const t=function(e={}){return{defaultIntegrations:[h(),b(),we(),_e(),Te(),je(),v(),Me()],release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:ee.jf.SENTRY_RELEASE&&ee.jf.SENTRY_RELEASE.id?ee.jf.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0,...e}}(e);if(function(){const e=ee.jf,t=e[e.chrome?"chrome":"browser"],n=t&&t.runtime&&t.runtime.id,r=ee.jf.location&&ee.jf.location.href||"",i=!!n&&ee.jf===ee.jf.top&&["chrome-extension:","moz-extension:","ms-browser-extension:"].some((e=>r.startsWith(`${e}//`))),s=void 0!==e.nw;return!!n&&!i&&!s}())return void(0,r.pq)((()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")}));H.T&&((0,E.vm)()||r.vF.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."));const n={...t,stackParser:(0,_.vk)(t.stackParser||He),integrations:l(t),transport:t.transport||Ze},i=function(e,t){!0===t.debug&&(o.T?r.vF.enable():(0,r.pq)((()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")}))),(0,m.o5)().update(t.initialScope);const n=new e(t);return function(e){(0,m.o5)().setClient(e)}(n),n.init(),n}(te,n);return t.autoSessionTracking&&(void 0!==ee.jf.document?((0,S.J0)({ignoreDuration:!0}),(0,S.J5)(),(0,x._)((({from:e,to:t})=>{void 0!==e&&e!==t&&((0,S.J0)({ignoreDuration:!0}),(0,S.J5)())}))):H.T&&r.vF.warn("Session tracking in non-browser environment with @sentry/browser is not supported.")),i}n(21266);var tt=n(8338);function nt(e){const t={disablePerformance:!0};t.sentry||(t.sentry={...e}),Object.assign(t.sentry,e||{});const n=Object.assign({},t.sentry);U(n,"ember");const r=function(){const e=pe.O;return e.__sentryEmberConfig=e.__sentryEmberConfig??{},e.__sentryEmberConfig}();return Object.assign(r,n),et(n)}},65781:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(9294),i=n.n(r),s=n(74618);class o extends(i()){compute(){return s.Ay.isIdle}}},74618:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>S,HU:()=>C,oH:()=>O});var r,i,s=n(97820),o=n(93081),a=n(86053),l=n(10055),c=n(91065),u=n(75076);const d="ember-app-scheduler",h="__APP_SCHEDULER_HAS_SETUP__";let p,f;const m=void 0!==window.FastBoot,g=(0,l.lQ)("ember-app-scheduler-waiter");T();let y=(r=class{constructor(){var e;(e=i)&&Object.defineProperty(this,"isIdle",{enumerable:e.enumerable,configurable:e.configurable,writable:e.writable,value:e.initializer?e.initializer.call(this):void 0})}},b=r.prototype,_="isIdle",v=[c.tracked],w={configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}},A={},Object.keys(w).forEach((function(e){A[e]=w[e]})),A.enumerable=!!A.enumerable,A.configurable=!!A.configurable,("value"in A||A.initializer)&&(A.writable=!0),A=v.slice().reverse().reduce((function(e,t){return t(b,_,e)||e}),A),i=void 0===A.initializer?(Object.defineProperty(b,_,A),null):A,r);var b,_,v,w,A;const k=new y,S=k;function E(){p.isResolved&&(p=R(d),f=p.promise.then((()=>{let e=g.beginAsync();return new u.Promise((e=>{(0,a.schedule)("afterRender",null,(()=>{requestAnimationFrame((()=>{requestAnimationFrame(e)}))}))})).finally((()=>{g.endAsync(e),M("appSchedulerEnd"),function(){try{performance.measure("appScheduler","appSchedulerStart","appSchedulerEnd")}catch(e){console.warn(`performance.measure could not be executed because of ${e.message}`)}}()}))})),k.isIdle=!1)}function x(){p.resolve(),k.isIdle=!0,M("appSchedulerStart")}function C(e){m||e[h]||(e[h]=!0,(0,o.addListener)(e,"routeWillChange",E),(0,o.addListener)(e,"routeDidChange",x),(0,s.registerDestructor)(e,T))}function T(){p=R(d),f=p.promise.then(),g.reset(),m||p.resolve()}function O(){return f}function R(e){let t,n,r=!1;return{promise:new u.Promise(((e,i)=>{t=()=>{r=!0,e()},n=i}),e),resolve:t,reject:n,get isResolved(){return r}}}function M(e){try{performance.mark(e)}catch(e){console.warn(`performance.mark could not be executed because of ${e.message}`)}}},7510:(e,t,n)=>{"use strict";n.r(t),n.d(t,{cached:()=>i});var r=n(92253);function i(...e){const[t,n,i]=e,s=new WeakMap,o=i.get;i.get=function(){return s.has(this)||s.set(this,(0,r.createCache)(o.bind(this))),(0,r.getValue)(s.get(this))}}n(31837)},63555:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var r,i,s,o=n(65010),a=n(8230),l=n(94313),c=n(59114),u=n(46154),d=n(25313);let h=(r=(0,l.inject)("head-data"),i=class extends c.A{constructor(...e){super(...e),(0,o.A)(this,"model",s,this)}},s=(0,a.A)(i.prototype,"model",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i);(0,d.setComponentTemplate)(u.default,h)},20483:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(59114),i=n(94313);const s=(0,n(59165).createTemplateFactory)({id:"WePR633/",block:'[[[40,[[[1," "],[10,"meta"],[14,3,"ember-cli-head-start"],[14,"content",""],[12],[13],[8,[39,3],null,null,null],[10,"meta"],[14,3,"ember-cli-head-end"],[14,"content",""],[12],[13],[1,"\\n"]],[]],"%cursor:0%",[28,[37,1],[[30,0,["headElement"]]],null],null]],[],false,["in-element","-in-el-null","meta","head-content"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.embroider/rewritten-packages/ember-cli-head.eaf1b269/node_modules/ember-cli-head/components/head-layout.hbs",isStrictMode:!1});var o,a,l,c=n(25313);function u(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let d=(o=(0,i.inject)("-document"),a=class extends r.A{constructor(){var e;super(...arguments),(e=l)&&Object.defineProperty(this,"document",{enumerable:e.enumerable,configurable:e.configurable,writable:e.writable,value:e.initializer?e.initializer.call(this):void 0}),u(this,"shouldTearDownOnInit",!0),u(this,"headElement",this.args.headElement||this.document.head),this.shouldTearDownOnInit&&this._tearDownHead()}_tearDownHead(){if(this._isFastboot())return;let e=this.document,t=e.querySelector('meta[name="ember-cli-head-start"]'),n=e.querySelector('meta[name="ember-cli-head-end"]');if(t&&n){let r=t.nextSibling;for(;r&&r!==n;)e.head.removeChild(r),r=t.nextSibling;e.head.removeChild(t),e.head.removeChild(n)}}_isFastboot(){return"undefined"!=typeof FastBoot}},h=a.prototype,p="document",f=[o],m={configurable:!0,enumerable:!0,writable:!0,initializer:null},g={},Object.keys(m).forEach((function(e){g[e]=m[e]})),g.enumerable=!!g.enumerable,g.configurable=!!g.configurable,("value"in g||g.initializer)&&(g.writable=!0),g=f.slice().reverse().reduce((function(e,t){return t(h,p,e)||e}),g),l=void 0===g.initializer?(Object.defineProperty(h,p,g),null):g,a);var h,p,f,m,g;(0,c.setComponentTemplate)(s,d)},90857:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={name:"head-browser",initialize(){}}},60287:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a,localClass:()=>o});var r=n(9294),i=(n(31837),n(87102)),s=n.n(i);function o(e,t){if(!t.from)return"";let n=function(e){if("string"==typeof e){if(s().has(e))return s()(e).default;throw new Error(`Unable to resolve local class names from ${e}; does the styles file exist?`)}return e}(t.from);return(e[0]||"").split(/\s+/).map((e=>n[e])).filter(Boolean).join(" ")}const a=(0,r.helper)(o)},7443:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r}),(0,n(59165).createTemplateFactory)({id:"Lquzxigp",block:'[[[1,[28,[35,0],["hello"],null]],[1,"\\n"]],[],false,["local-class"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.embroider/rewritten-packages/ember-css-modules.415a50c3/node_modules/ember-css-modules/templates/static-helpers-hack.hbs",isStrictMode:!1});const r={initialize(){}}},37245:(e,t,n)=>{"use strict";n.d(t,{DS:()=>R,I:()=>C.Errors,hZ:()=>C.ManyArray,Nt:()=>D,gs:()=>C.PromiseManyArray,BO:()=>N,G:()=>O.G,Fm:()=>T.Snapshot,il:()=>M});var r=n(88046),i=n.n(r),s=n(37022),o=n.n(s),a=n(68750),l=n.n(a),c=(n(31837),n(96930));function u(e,t,n,r){let i=t.data?(0,c.i)(t.data,((t,i)=>{const{id:s,type:o}=t;return function(e,t,n,r){let{id:i,type:s}=e;e.relationships||(e.relationships={});let{relationships:o}=e,a=function(e,t,n,r){let{name:i}=n,{type:s}=t,o=function(e,t,n){const r=e.getSchemaDefinitionService().relationshipsDefinitionFor(t)[n];if(!r)return null;if("function"==typeof r._inverseKey){const n=e.modelFor(t.type);return r._inverseKey(e,n)}return r.options.inverse}(e,{type:s},i);if(o){const t=e.getSchemaDefinitionService().relationshipsDefinitionFor({type:r});let{kind:n}=t[o];return{inverseKey:o,kind:n}}}(n,t,r,s);if(a){let{inverseKey:e,kind:n}=a,r=o[e]&&o[e].data;"hasMany"===n&&void 0===r||(o[e]=o[e]||{},o[e].data=function(e,t,{id:n,type:r}){let i,s={id:n,type:r};return"hasMany"===t?(i=e||[],e&&e.find((e=>e.type===s.type&&e.id===s.id))||i.push(s)):(i=e||{},Object.assign(i,s)),i}(r,n,t))}}(t,n,e,r),{id:s,type:o}})):null;const s={};"meta"in t&&(s.meta=t.meta),"links"in t&&(s.links=t.links),"data"in t&&(s.data=i);const o={id:n.id,type:n.type,relationships:{[r.key]:s}};return Array.isArray(t.included)||(t.included=[]),t.included.push(o),t}const d=new Set(["findRecord","findAll","query","queryRecord","findBelongsTo","findHasMany","updateRecord","createRecord","deleteRecord"]),h={request(e,t){if(e.request.url||!e.request.op||!d.has(e.request.op))return t(e.request);const{store:n}=e.request;switch(n._fetchManager||(n._fetchManager=new c.F(n)),e.request.op){case"findRecord":return function(e){const{store:t,data:n}=e.request,{record:r,options:i}=n;let s;if(t._instanceCache.recordIsLoaded(r))if(i.reload)(0,c.e)(r),s=t._fetchManager.scheduleFetch(r,i,e.request);else{let n=null,o=t.adapterFor(r.type);void 0===i.reload&&o.shouldReloadRecord&&o.shouldReloadRecord(t,n=t._fetchManager.createSnapshot(r,i))?((0,c.e)(r),i.reload=!0,s=t._fetchManager.scheduleFetch(r,i,e.request)):(!1===i.backgroundReload||!i.backgroundReload&&o.shouldBackgroundReloadRecord&&!o.shouldBackgroundReloadRecord(t,n=n||t._fetchManager.createSnapshot(r,i))||((0,c.e)(r),i.backgroundReload=!0,t._fetchManager.scheduleFetch(r,i,e.request)),s=Promise.resolve(r))}else s=t._fetchManager.fetchDataIfNeededForIdentifier(r,i,e.request);return s.then((e=>t.peekRecord(e)))}(e);case"findAll":return function(e){const{store:t,data:n}=e.request,{type:r,options:i}=n,s=t.adapterFor(r),o=t.recordArrayManager._live.get(r),a=new c.S(t,r,i);let l;return i.reload||!1!==i.reload&&(s.shouldReloadAll&&s.shouldReloadAll(t,a)||!s.shouldReloadAll&&0===a.length)?(o&&(o.isUpdating=!0),l=f(s,t,r,a,e.request,!0)):(l=Promise.resolve(t.peekAll(r)),(i.backgroundReload||!1!==i.backgroundReload&&(!s.shouldBackgroundReloadAll||s.shouldBackgroundReloadAll(t,a)))&&(o&&(o.isUpdating=!0),f(s,t,r,a,e.request,!1))),l}(e);case"query":return function(e){const{store:t,data:n}=e.request;let{options:r}=n;const{type:i,query:s}=n,o=t.adapterFor(i),a=r._recordArray||t.recordArrayManager.createArray({type:i,query:s});delete r._recordArray;const l=t.modelFor(i);let u=Promise.resolve().then((()=>o.query(t,l,s,a,r)));return u=(0,c.g)(u,t),u.then((e=>{const n=t.serializerFor(i),r=(0,c.n)(n,t,l,e,null,"query"),s=t._push(r,!0);return t.recordArrayManager.populateManagedArray(a,s,r),a}))}(e);case"queryRecord":return function(e){const{store:t,data:n}=e.request,{type:r,query:i,options:s}=n,o=t.adapterFor(r),a=t.modelFor(r);let l=Promise.resolve().then((()=>o.queryRecord(t,a,i,s)));return l=(0,c.g)(l,t),l.then((e=>{const n=t.serializerFor(r),i=(0,c.n)(n,t,a,e,null,"queryRecord"),s=t._push(i,!0);return s?t.peekRecord(s):null}))}(e);case"findBelongsTo":return function(e){const{store:t,data:n,records:r}=e.request,{options:i,record:s,links:o,useLink:a,field:l}=n,d=r?.[0];let h=d&&t._fetchManager.getPendingFetch(d,i);if(h)return h;if(a)return function(e,t,n,r,i){let s=Promise.resolve().then((()=>{let s=e.adapterFor(t.type),o=e._fetchManager.createSnapshot(t,i),a=n&&"string"!=typeof n?n.href:n;return s.findBelongsTo(e,o,a,r)}));{const n=e._instanceCache.getRecord(t);s=(0,c.g)(s,e),s=(0,c.c)(s,(0,c.d)(c._,n))}return s=s.then((n=>{{const n=e._instanceCache.getRecord(t);(0,c._)(n)}let i=e.modelFor(r.type),s=e.serializerFor(r.type),o=(0,c.n)(s,e,i,n,null,"findBelongsTo");return o.data||o.links||o.meta?(o=u(e,o,t,r),e._push(o,!0)):null}),null,`DS: Extract payload of ${t.type} : ${r.type}`),s}(t,s,o.related,l,i);const p=t._fetchManager;return(0,c.e)(d),i.reload?p.scheduleFetch(d,i,e.request):p.fetchDataIfNeededForIdentifier(d,i,e.request)}(e);case"findHasMany":return function(e){const{store:t,data:n,records:r}=e.request,{options:i,record:s,links:o,useLink:a,field:l}=n;if(a)return function(e,t,n,r,i,s){let o=Promise.resolve().then((()=>{const o=t._fetchManager.createSnapshot(n,s);let a=r&&"string"!=typeof r?r.href:r;return e.findHasMany(t,o,a,i)}));o=(0,c.g)(o,t),o=o.then((e=>{const r=t._instanceCache.getRecord(n);(0,c._)(r);const s=t.modelFor(i.type);let o=t.serializerFor(i.type),a=(0,c.n)(o,t,s,e,null,"findHasMany");return a=u(t,a,n,i),t._push(a,!0)}),null,`DS: Extract payload of '${n.type}' : hasMany '${i.type}'`);{const e=t._instanceCache.getRecord(n);o=(0,c.c)(o,(0,c.d)(c._,e))}return o}(t.adapterFor(s.type),t,s,o.related,l,i);const d=new Array(r.length),h=t._fetchManager;for(let t=0;t{let r;return t._join((()=>{const i=t._instanceCache.getResourceCache(s);r=i.didCommit(s,{request:e.request,content:n}),n&&n.included&&t._push({data:null,included:n.included},!0)})),t.peekRecord(r.data)})).catch((e=>{let n=e;throw e?"string"==typeof e&&(n=new Error(e)):n=new Error("Unknown Error Occurred During Request"),function(e,t,n){if(n&&!0===n.isAdapterError&&"InvalidError"===n.code){let r=e.serializerFor(t.type);if(r&&"function"==typeof r.extractErrors){let i=r.extractErrors(e,e.modelFor(t.type),n,t.id);n.errors=function(e){const t=[];return e&&Object.keys(e).forEach((n=>{let r=(i=e[n],Array.isArray(i)?i:[i]);var i;for(let e=0;ee.findAll(t,o,null,r)));return a=(0,c.g)(a,t),a=a.then((e=>{const i=t.serializerFor(n),a=(0,c.n)(i,t,o,e,null,"findAll");return t._push(a,s),r._recordArray.isUpdating=!1,r._recordArray})),a}var m=n(97570),g=n(33648);const y="undefined"!=typeof fetch?(...e)=>fetch(...e):"undefined"!=typeof FastBoot?(...e)=>FastBoot.require("node-fetch")(...e):()=>{throw new Error("No Fetch Implementation Found")},b=new Set(["updateRecord","createRecord","deleteRecord"]),_=new Map([[400,"Bad Request"],[401,"Unauthorized"],[402,"Payment Required"],[403,"Forbidden"],[404,"Not Found"],[405,"Method Not Allowed"],[406,"Not Acceptable"],[407,"Proxy Authentication Required"],[408,"Request Timeout"],[409,"Conflict"],[410,"Gone"],[411,"Length Required"],[412,"Precondition Failed"],[413,"Payload Too Large"],[414,"URI Too Long"],[415,"Unsupported Media Type"],[416,"Range Not Satisfiable"],[417,"Expectation Failed"],[419,"Page Expired"],[420,"Enhance Your Calm"],[421,"Misdirected Request"],[422,"Unprocessable Entity"],[423,"Locked"],[424,"Failed Dependency"],[425,"Too Early"],[426,"Upgrade Required"],[428,"Precondition Required"],[429,"Too Many Requests"],[430,"Request Header Fields Too Large"],[431,"Request Header Fields Too Large"],[450,"Blocked By Windows Parental Controls"],[451,"Unavailable For Legal Reasons"],[500,"Internal Server Error"],[501,"Not Implemented"],[502,"Bad Gateway"],[503,"Service Unavailable"],[504,"Gateway Timeout"],[505,"HTTP Version Not Supported"],[506,"Variant Also Negotiates"],[507,"Insufficient Storage"],[508,"Loop Detected"],[509,"Bandwidth Limit Exceeded"],[510,"Not Extended"],[511,"Network Authentication Required"]]),v={async request(e){let t;try{t=await y(e.request.url,e.request)}catch(e){throw e instanceof DOMException&&"AbortError"===e.name?(e.statusText="Aborted",e.status=20,e.isRequestError=!0):(e.statusText="Unknown Network Error",e.status=0,e.isRequestError=!0),e}const n=!t.ok||t.status>=400,r=e.request.op,i=Boolean(r&&b.has(r));if(!n&&!i&&204!==t.status&&!t.headers.has("date")){const e=new Headers(t.headers);e.set("date",(new Date).toUTCString()),t=function(e,t){const n=(0,g.c)(e);return new Response(e.body,Object.assign(n,t))}(t,{headers:e})}if(e.setResponse(t),204===t.status)return null;let s="";{const n=t.body.getReader(),r=new TextDecoder;let i=e.hasRequestedStream,o=i?new TransformStream:null,a=o?.writable.getWriter();for(i&&(e.request.signal?.addEventListener("abort",(()=>{i&&(o.writable.abort("Request Aborted"),o.readable.cancel("Request Aborted"))})),e.setStream(o.readable));;){const{done:t,value:l}=await n.read();if(t){i&&(i=!1,await a.ready,await a.close());break}if(s+=r.decode(l,{stream:!0}),i)await a.ready,await a.write(l);else if(e.hasRequestedStream){const t=new TextEncoder;i=!0,o=new TransformStream,e.request.signal?.addEventListener("abort",(()=>{i&&(o.writable.abort("Request Aborted"),o.readable.cancel("Request Aborted"))})),e.setStream(o.readable),a=o.writable.getWriter(),await a.ready,await a.write(t.encode(s)),await a.ready,await a.write(l)}}i&&(i=!1,await a.ready,await a.close())}if(n){let n;try{n=JSON.parse(s)}catch{}const r=Array.isArray(n)?n:null!==(o=n)&&"object"==typeof o&&Array.isArray(n.errors)?n.errors:null,i=t.statusText||_.get(t.status)||"Unknown Request Error",a=`[${t.status} ${i}] ${e.request.method??"GET"} (${t.type}) - ${t.url}`,l=r?new AggregateError(r,a):new Error(a);throw l.status=t.status,l.statusText=i,l.isRequestError=!0,l.code=l.status,l.name=l.statusText.replaceAll(" ","")+"Error",l.content=n,l}return JSON.parse(s);var o}};var w=n(30263),A=n(13474),k=n.n(A),S=n(21266),E=n.n(S);const x="4.12.8";var C=n(65075),T=n(59893),O=n(88393);const R=k().create({VERSION:x,name:"DS"});E().libraries&&E().libraries.registerCoreLibrary("Ember Data",x);class M extends w.Ay{constructor(e){super(e),this.requestManager=new m.Ay,this.requestManager.use([h,v]),this.requestManager.useCache(w.lL)}}const D=i().extend(o()),N=l().extend(o())},11265:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(73294)},10778:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r=n(21983),i=n(98986),s=n(40959),o=n(73294),a=n(53251),l=n(33337),c=n(6280),u=n(88560),d=n(43392),h=n(97161),p=n(72956),f=n(96639),m=n.n(f),g=n(30263),y=n(37245);function b(e){!function(e){e.registerOptionsForType("serializer",{singleton:!1}),e.registerOptionsForType("adapter",{singleton:!1})}(e)}var _=n(57268);y.DS.Store=y.il,y.DS.PromiseArray=y.Nt,y.DS.PromiseObject=y.BO,y.DS.PromiseManyArray=y.gs,y.DS.Model=l.Ay,y.DS.attr=l.CF,y.DS.Errors=y.I,y.DS.Snapshot=y.Fm,y.DS.Adapter=r.A,y.DS.AdapterError=s.Ay,y.DS.InvalidError=s.aB,y.DS.TimeoutError=s.MU,y.DS.AbortError=s.lc,y.DS.UnauthorizedError=s.D_,y.DS.ForbiddenError=s.qQ,y.DS.NotFoundError=s.m_,y.DS.ConflictError=s.fK,y.DS.ServerError=s.gP,y.DS.errorsHashToArray=s.W2,y.DS.errorsArrayToHash=s.w_,y.DS.Serializer=c.A,y.DS.DebugAdapter=(0,_.A)(n(88565)).default,y.DS.ManyArray=y.hZ,y.DS.RecordArrayManager=y.G,y.DS.RESTAdapter=a.A,y.DS.BuildURLMixin=i.B,y.DS.RESTSerializer=p.A,y.DS.JSONSerializer=d.A,y.DS.JSONAPIAdapter=o.A,y.DS.JSONAPISerializer=h.A,y.DS.Transform=m(),y.DS.DateTransform=u.Z$,y.DS.StringTransform=u.sF,y.DS.NumberTransform=u.Go,y.DS.BooleanTransform=u.le,y.DS.EmbeddedRecordsMixin=p.i,y.DS.belongsTo=l.g4,y.DS.hasMany=l.iQ,y.DS._setupContainer=b,Object.defineProperty(y.DS,"normalizeModelName",{enumerable:!0,writable:!1,configurable:!1,value:g.gW});const v={name:"ember-data",initialize:b}},17463:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={name:"ember-data",initialize(){}}},25256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(43392)},15398:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(97161)},75371:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.A});var r=n(72956)},59740:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.il});var r=n(37245)},84320:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.le});var r=n(88560)},69638:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Z$});var r=n(88560)},72387:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.Go});var r=n(88560)},4379:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.sF});var r=n(88560)},90795:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,preventDefault:()=>i});var r=n(9294);function i([e]){return function(t){t.preventDefault(),e&&e(t)}}n(31837);const s=(0,r.helper)(i)},33744:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,stopPropagation:()=>i});var r=n(9294);function i([e]){return function(t){t.stopPropagation(),e&&e(t)}}n(31837);const s=(0,r.helper)(i)},17545:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r=n(16895),i=n(62699),s=n.n(i),o=n(20414),a=n(44688);function l(e,t,n){let r=t.match(new RegExp("^/?"+n+"/(.+)/"+e+"$"));if(null!==r)return r[1]}const c=s().extend({_moduleRegistry:null,init(){this._super(...arguments),this.namespace=(0,a.getOwner)(this).lookup("application:main"),this._moduleRegistry||(this._moduleRegistry=new o.s)},canCatalogEntriesByType(e){return"model"===e||this._super(...arguments)},catalogEntriesByType(e){let t=this._moduleRegistry.moduleNames(),n=(0,r.A)(),i=this.namespace.modulePrefix;for(let r=0,s=t.length;r{"use strict";n.d(t,{s:()=>_,A:()=>w});var r=n(75402),i=(n(31837),n(96639)),s=n.n(i);class o{constructor(e,t,n){this.limit=e,this.func=t,this.store=n,this.size=0,this.misses=0,this.hits=0,this.store=n||new Map}get(e){let t=this.store.get(e);return this.store.has(e)?(this.hits++,this.store.get(e)):(this.misses++,t=this.set(e,this.func(e)),t)}set(e,t){return this.limit>this.size&&(this.size++,this.store.set(e,t)),t}purge(){this.store.clear(),this.size=0,this.hits=0,this.misses=0}}const a=/[ _]/g,l=new o(1e3,(e=>{return(t=e,y.get(t)).replace(a,"-");var t})),c=/^(\-|_)+(.)?/,u=/(.)(\-|\_|\.|\s)+(.)?/g,d=/(^|\/|\.)([a-z])/g,h=new o(1e3,(e=>{const t=(e,t,n)=>n?`_${n.toUpperCase()}`:"",n=(e,t,n,r)=>t+(r?r.toUpperCase():""),r=e.split("/");for(let e=0;ee.toUpperCase()))})),p=/([a-z\d])([A-Z]+)/g,f=/\-|\s+/g,m=new o(1e3,(e=>e.replace(p,"$1_$2").replace(f,"_").toLowerCase())),g=/([a-z\d])([A-Z])/g,y=new o(1e3,(e=>e.replace(g,"$1_$2").toLowerCase()));var b=n(68417);void 0===requirejs.entries&&(requirejs.entries=requirejs._eak_seen);class _{constructor(e){this._entries=e||requirejs.entries}moduleNames(){return Object.keys(this._entries)}has(e){return e in this._entries}get(...e){return window.require(...e)}}class v extends(s()){constructor(){super(...arguments),(0,r.A)(this,"moduleBasedResolver",!0),(0,r.A)(this,"_deprecatedPodModulePrefix",!1),(0,r.A)(this,"_normalizeCache",Object.create(null)),(0,r.A)(this,"moduleNameLookupPatterns",[this.podBasedModuleName,this.podBasedComponentsInSubdir,this.mainModuleName,this.defaultModuleName,this.nestedColocationComponentModuleName]),this._moduleRegistry||(this._moduleRegistry=new _),this.pluralizedTypes=this.pluralizedTypes||Object.create(null),this.pluralizedTypes.config||(this.pluralizedTypes.config="config")}makeToString(e,t){return this.namespace.modulePrefix+"@"+t+":"}shouldWrapInClassFactory(){return!1}parseName(e){if(!0===e.parsedName)return e;let t,n,r,i=e.split("@");if(3===i.length){if(0===i[0].length){t=`@${i[1]}`;let e=i[2].split(":");n=e[0],r=e[1]}else t=`@${i[1]}`,n=i[0].slice(0,-1),r=i[2];"template:components"===n&&(r=`components/${r}`,n="template")}else if(2===i.length){let e=i[0].split(":");if(2===e.length)0===e[1].length?(n=e[0],r=`@${i[1]}`):(t=e[1],n=e[0],r=i[1]);else{let e=i[1].split(":");t=i[0],n=e[0],r=e[1]}"template"===n&&0===t.lastIndexOf("components/",0)&&(r=`components/${r}`,t=t.slice(11))}else i=e.split(":"),n=i[0],r=i[1];let s=r,o=this.namespace;return{parsedName:!0,fullName:e,prefix:t||this.prefix({type:n}),type:n,fullNameWithoutType:s,name:r,root:o,resolveMethodName:"resolve"+(a=n,h.get(a))};var a}resolveOther(e){let t=this.findModuleName(e);if(t){let r=this._extractDefaultExport(t,e);if(void 0===r)throw new Error(` Expected to find: '${e.fullName}' within '${t}' but got 'undefined'. Did you forget to 'export default' within '${t}'?`);return this.shouldWrapInClassFactory(r,e)&&(n=r,r={create:e=>"function"==typeof n.extend?n.extend(e):n}),r}var n}normalize(e){return this._normalizeCache[e]||(this._normalizeCache[e]=this._normalize(e))}resolve(e){let t,n=this.parseName(e),r=n.resolveMethodName;return"function"==typeof this[r]&&(t=this[r](n)),null==t&&(t=this.resolveOther(n)),t}_normalize(e){let t=e.split(":");if(t.length>1){let e=t[0];return"component"===e||"helper"===e||"modifier"===e||"template"===e&&0===t[1].indexOf("components/")?e+":"+t[1].replace(/_/g,"-"):e+":"+(n=t[1].replace(/\./g,"/"),l.get(n))}return e;var n}pluralize(e){return this.pluralizedTypes[e]||(this.pluralizedTypes[e]=e+"s")}podBasedLookupWithPrefix(e,t){let n=t.fullNameWithoutType;return"template"===t.type&&(n=n.replace(/^components\//,"")),e+"/"+n+"/"+t.type}podBasedModuleName(e){let t=this.namespace.podModulePrefix||this.namespace.modulePrefix;return this.podBasedLookupWithPrefix(t,e)}podBasedComponentsInSubdir(e){let t=this.namespace.podModulePrefix||this.namespace.modulePrefix;if(t+="/components","component"===e.type||/^components/.test(e.fullNameWithoutType))return this.podBasedLookupWithPrefix(t,e)}resolveEngine(e){let t=e.fullNameWithoutType+"/engine";if(this._moduleRegistry.has(t))return this._extractDefaultExport(t)}resolveRouteMap(e){let t=e.fullNameWithoutType+"/routes";if(this._moduleRegistry.has(t))return this._extractDefaultExport(t)}resolveTemplate(e){return this.resolveOther(e)}mainModuleName(e){if("main"===e.fullNameWithoutType)return e.prefix+"/"+e.type}defaultModuleName(e){return e.prefix+"/"+this.pluralize(e.type)+"/"+e.fullNameWithoutType}nestedColocationComponentModuleName(e){if("component"===e.type)return e.prefix+"/"+this.pluralize(e.type)+"/"+e.fullNameWithoutType+"/index"}prefix(e){let t=this.namespace.modulePrefix;return this.namespace[e.type+"Prefix"]&&(t=this.namespace[e.type+"Prefix"]),t}findModuleName(e,t){let n,r=this.moduleNameLookupPatterns;for(let i=0,s=r.length;i60?".":new Array(60-t.fullName.length).join("."),n||(n=this.lookupDescription(t)),console&&console.info&&console.info(o,t.fullName,r,n)}knownForType(e){let t=this._moduleRegistry.moduleNames(),n=Object.create(null);for(let r=0,i=t.length;rr.length+i.length)return e+":"+t.slice(s+r.length,o);let a=n+"/"+this.pluralize(e)+"/";return 0===t.indexOf(a)&&t.length>a.length?e+":"+t.slice(a.length):void 0}_extractDefaultExport(e){let t=this._moduleRegistry.get(e,null,null,!0);return t&&t.default&&(t=t.default),t}}(0,r.A)(v,"moduleBasedResolver",!0);const w=v},29975:(e,t,n)=>{"use strict";function r(e){e.lookup("service:router-scroll")}n.r(t),n.d(t,{default:()=>i,initialize:()=>r});const i={initialize:r}},71202:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>v});var r,i,s=n(94313),o=n.n(s),a=n(96639),l=n(8659),c=(n(31837),n(44688)),u=n(86053),d=n(93081),h=n(74618);function p(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer?(Object.defineProperty(e,t,s),null):s}let m,g=0;function y(e,t,n,r){let i;if(n)i=Math.max(n.scrollHeight,n.offsetHeight,n.clientHeight);else{const{body:e,documentElement:t}=document;i=Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight)}m=window.requestAnimationFrame((()=>{if(r&&r.indexOf("#")>-1){const e=document.getElementById(r.split("#").pop());e&&(t={x:e.offsetLeft,y:e.offsetTop})}i>=t.y||g>=100?(g=0,e.call(null,t.x,t.y)):(g++,y(e,t,n,r))}))}const b=function(e){this.updateScrollPosition(e)};let _=(r=class extends(o()){get isFastBoot(){const e=(0,c.getOwner)(this).lookup("service:fastboot");return!!e&&e.get("isFastBoot")}constructor(){var e;super(...arguments),(e=i)&&Object.defineProperty(this,"router",{enumerable:e.enumerable,configurable:e.configurable,writable:e.writable,value:e.initializer?e.initializer.call(this):void 0}),p(this,"key",void 0),p(this,"targetElement",void 0),p(this,"scrollElement","window"),p(this,"isFirstLoad",!0),p(this,"preserveScrollPosition",!1),p(this,"scrollWhenIdle",!1),p(this,"scrollWhenAfterRender",!1),(0,h.HU)(this.router)}init(...e){super.init(...e),this._loadConfig(),(0,a.set)(this,"scrollMap",{default:{x:0,y:0}}),(0,d.addListener)(this.router,"routeWillChange",this._routeWillChange),(0,d.addListener)(this.router,"routeDidChange",this._routeDidChange)}willDestroy(){(0,d.removeListener)(this.router,"routeWillChange",this._routeWillChange),(0,d.removeListener)(this.router,"routeDidChange",this._routeDidChange),m&&window.cancelAnimationFrame(m),super.willDestroy(...arguments)}updateScrollPosition(e){this.isFirstLoad&&this.unsetFirstLoad();let t=this.position;if(!(e.router.currentRouteInfos||[]).some((e=>e.route.controller.preserveScrollPosition))&&!this.preserveScrollPosition){const{scrollElement:e,targetElement:n,currentURL:r}=this;if(n||"window"===e)y(window.scrollTo,t,null,r);else if("#"===e.charAt(0)){const n=document.getElementById(e.substring(1));n&&y(((e,t)=>{n.scrollLeft=e,n.scrollTop=t}),t,n,r)}}(0,d.sendEvent)(this,"didScroll",e)}_routeWillChange(){this.isFastBoot||this.update()}_routeDidChange(e){if(this.isFastBoot)return;const t=this.scrollWhenIdle,n=this.scrollWhenAfterRender;t||n?n&&!t?(0,u.scheduleOnce)("afterRender",this,b,e):(0,h.oH)().then((()=>{this.updateScrollPosition(e)})):(0,u.scheduleOnce)("render",this,b,e)}unsetFirstLoad(){(0,a.set)(this,"isFirstLoad",!1)}update(){if(this.isFastBoot||this.isFirstLoad)return;const e=this.scrollElement,t=this.targetElement,n=this.scrollMap,r=this.key;let i,s;if(t){let e=document.querySelector(t);e&&(i=e.offsetLeft,s=e.offsetTop,(0,a.set)(n,"default",{x:i,y:s}))}else if("window"===e)i=window.scrollX,s=window.scrollY;else if("#"===e.charAt(0)){let t=document.getElementById(e.substring(1));t&&(i=t.scrollLeft,s=t.scrollTop)}r&&"number"===(0,l.typeOf)(i)&&"number"===(0,l.typeOf)(s)&&(0,a.set)(n,r,{x:i,y:s})}_loadConfig(){const e=(0,c.getOwner)(this).resolveRegistration("config:environment");if(e&&e.routerScroll){const t=e.routerScroll.scrollElement,n=e.routerScroll.targetElement;"string"===(0,l.typeOf)(t)&&(0,a.set)(this,"scrollElement",t),"string"===(0,l.typeOf)(n)&&(0,a.set)(this,"targetElement",n);const{scrollWhenIdle:r=!1,scrollWhenAfterRender:i=!1}=e.routerScroll;(0,a.set)(this,"scrollWhenIdle",r),(0,a.set)(this,"scrollWhenAfterRender",i)}}},i=f(r.prototype,"router",[s.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f(r.prototype,"_routeWillChange",[a.action],Object.getOwnPropertyDescriptor(r.prototype,"_routeWillChange"),r.prototype),f(r.prototype,"_routeDidChange",[a.action],Object.getOwnPropertyDescriptor(r.prototype,"_routeDidChange"),r.prototype),r);Object.defineProperty(_.prototype,"position",{configurable:!0,get(){const e=this.scrollMap,t=window.history.state?.uuid;(0,a.set)(this,"key",t);const n=this.key||"-1";return(0,a.get)(e,n)||e.default}});const v=_},70743:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y,svgJar:()=>g});var r=n(9294),i=n(8659),s=n(48338);function o(){return([3e7]+-1e3+-4e3+-2e3+-1e11).replace(/[0-3]/g,(e=>(4*e^16*Math.random()>>(2&e)).toString(16)))}const a=["title","desc"],l={'"':""","&":"&","<":"<",">":">"};function c(e){return l[e]}function u(e){const{title:t,desc:n}=e;return t||n?a.reduce(((t,n)=>e[n]?t.concat(`<${n} id="${e[n].id}">${e[n].text}`):t),""):""}function d(e){const{title:t,desc:n}=e;return t||n?`aria-labelledby="${a.filter((t=>e[t])).map((t=>e[t].id)).join(" ")}"`:""}function h(e){return Object.keys(e).filter((e=>!a.includes(e))).map((t=>!(0,i.isNone)(e[t])&&`${t}="${e[t]}"`)).filter((e=>e)).join(" ")}function p(e,t={},n){if(!e)return void console.warn("ember-svg-jar: asset name should not be undefined or null");t=function(e){return e.title&&(e.title={id:o(),text:e.title}),e.desc&&(e.desc={id:o(),text:e.desc}),e}(t=function(e){let t=Object.assign({},e);return Object.keys(t).forEach((e=>{var n;t[e]="number"==typeof(n=t[e])?n:null===n?null:"string"!=typeof n?"":n.indexOf(">")>-1||n.indexOf("<")>-1||n.indexOf("&")>-1||n.indexOf('"')>-1?n.replace(/[&"<>]/g,c):n})),t}(t));let r=0===e.lastIndexOf("#",0)?function(e,t={}){return`${u(t)}`}(e,t):function(e,t,n={}){let r=t(e);if(!r)return void console.warn(`ember-svg-jar: Missing inline SVG for ${e}`);let i=r.attrs?Object.assign({},r.attrs,n):n,{size:s}=n;return s&&(i.width=parseFloat(i.width)*s||i.width,i.height=parseFloat(i.height)*s||i.height,delete i.size),`${u(n)}${r.content}`}(e,n,t);return(0,s.htmlSafe)(r)}var f=n(57268);function m(e){let t=null;try{t=window.require(`ember-svg-jar/inlined/${e}`).default}catch(e){}try{t=(0,f.A)(n(39547)(`./${e}`)).default}catch(e){}return t}function g(e,t){return p(e,t,m)}const y=(0,r.helper)((function([e],t){return g(e,t)}))},13417:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",height:"512",width:"512",viewBox:"0 0 512 512"}}},37376:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--! Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--\x3e',attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"100",height:"100"}}},43968:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"25",height:"23",viewBox:"0 0 25 23",xmlns:"http://www.w3.org/2000/svg"}}},24711:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--! Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--\x3e',attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"100",height:"100"}}},28075:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--! Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--\x3e',attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"100",height:"100"}}},67804:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 512"}}},59667:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc.--\x3e',attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}}},45147:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16.5 16.5"}}},54863:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"24",height:"25",viewBox:"0 0 24 25",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},63267:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"}}},12044:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{viewBox:"0 0 4417 3259",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"1.414"}}},8817:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"512",height:"512",fill:"currentColor"}}},83298:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"14",height:"17",viewBox:"0 0 14 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},34550:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"32",height:"33",viewBox:"0 0 32 33",xmlns:"http://www.w3.org/2000/svg"}}},60059:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{viewBox:"0 0 16 16",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},36627:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",height:"512",width:"384",viewBox:"0 0 384 512"}}},59208:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"13",height:"15",viewBox:"0 0 13 15",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},85851:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"15",height:"15",viewBox:"0 0 15 15",xmlns:"http://www.w3.org/2000/svg"}}},64569:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{height:"512",width:"512",viewBox:"0 0 512 512",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},69782:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"}}},6590:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"29",height:"29",viewBox:"0 0 29 29",xmlns:"http://www.w3.org/2000/svg"}}},3311:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--! Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--\x3e',attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"100",height:"100"}}},38022:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",width:"100",height:"100",viewBox:"0 0 24 24",fill:"currentColor"}}},9369:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"10",height:"13",viewBox:"0 0 10 13",xmlns:"http://www.w3.org/2000/svg"}}},12211:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"}}},59708:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"15",height:"17",viewBox:"0 0 15 17",xmlns:"http://www.w3.org/2000/svg"}}},31422:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}}},83711:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"29",height:"29",viewBox:"0 0 29 29",xmlns:"http://www.w3.org/2000/svg"}}},70088:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}}},98198:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{height:"512",width:"512",viewBox:"0 0 512 512",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},74110:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{width:"11",height:"12",viewBox:"0 0 11 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},99790:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--! Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--\x3e',attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"100",height:"100"}}},41246:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"}}},71050:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--! Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--\x3e',attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"100",height:"100",fill:"currentColor"}}},7151:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--\x3e',attrs:{height:"512",width:"512",viewBox:"0 0 512 512",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},71414:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'\x3c!--! Font Awesome Free 5.15.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)--\x3e',attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 100 100",width:"100",height:"100"}}},57282:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={content:'',attrs:{height:"512",width:"512",viewBox:"0 0 512 512",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}}},7777:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(86053);const i=n(1355).A.extend({popoverHideDelay:250,_tooltipVariantClass:"ember-popover",_isMouseInside:!1,actions:{hide(){this.set("_isMouseInside",!1),this.hide()}},addTargetEventListeners(){this.addTooltipTargetEventListeners(),this.addPopoverTargetEventListeners()},addTooltipBaseEventListeners(){const{target:e,_tooltip:t}=this.getProperties("target","_tooltip");this.addPopoverEventListeners(),this._addEventListener("click",(n=>{const{target:r}=n,i=r==t.popperInstance.popper,s=r==e;this.get("hideOn")&&"none"!==this.get("hideOn")&&!this.get("_isMouseInside")&&!i&&!s&&this.get("isShown")&&this.hide()}),document)},addPopoverTargetEventListeners(){this._addEventListener("mouseenter",(()=>{this.set("_isMouseInside",!0)})),this._addEventListener("mouseleave",(()=>{this.set("_isMouseInside",!1)})),this._addEventListener("focusout",(()=>{this.get("_isMouseInside")||"none"===this.get("hideOn")||this.hide()}))},addPopoverEventListeners(){const e=this.get("_tooltip").popperInstance.popper;this._addEventListener("mouseenter",(()=>{this.set("_isMouseInside",!0),"mouseenter"!==this.get("showOn")||this.get("isShown")||this.show()}),e),this._addEventListener("mouseleave",(()=>{this.set("_isMouseInside",!1),"mouseleave"===this.get("hideOn")&&this.get("isShown")&&this.hide()}),e),this._addEventListener("focusout",(()=>{!this.get("_isMouseInside")&&this.get("isShown")&&"none"!==this.get("hideOn")&&this.hide()}),e)},hide(){this.get("isDestroying")||((0,r.cancel)(this.get("_showTimer")),(0,r.later)((()=>{this.get("_isMouseInside")&&this.get("isShown")||this._hideTooltip()}),+this.get("popoverHideDelay")))}})},1355:(e,t,n)=>{"use strict";n.d(t,{A:()=>we});var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}(),s=r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),i))}};function o(e){return e&&"[object Function]"==={}.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:c(l(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var d=r&&!(!window.MSInputMethodContext||!document.documentMode),h=r&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?d:10===e?h:d||h}function f(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?f(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,s=document.createRange();s.setStart(r,0),s.setEnd(i,0);var o,a,l=s.commonAncestorContainer;if(e!==l&&t!==l||r.contains(i))return"BODY"===(a=(o=l).nodeName)||"HTML"!==a&&f(o.firstElementChild)!==o?f(l):l;var c=m(e);return c.host?g(c.host,t):g(e,m(t).host)}function y(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var r=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||r)[t]}return e[t]}function b(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function _(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function v(e){var t=e.body,n=e.documentElement,r=p(10)&&getComputedStyle(n);return{height:_("Height",t,n,r),width:_("Width",t,n,r)}}var w=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],r=p(10),i="HTML"===t.nodeName,s=E(e),o=E(t),l=c(e),u=a(t),d=parseFloat(u.borderTopWidth),h=parseFloat(u.borderLeftWidth);n&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var f=S({top:s.top-o.top-d,left:s.left-o.left-h,width:s.width,height:s.height});if(f.marginTop=0,f.marginLeft=0,!r&&i){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);f.top-=d-m,f.bottom-=d-m,f.left-=h-g,f.right-=h-g,f.marginTop=m,f.marginLeft=g}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(f=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=y(t,"top"),i=y(t,"left"),s=n?-1:1;return e.top+=r*s,e.bottom+=r*s,e.left+=i*s,e.right+=i*s,e}(f,t)),f}function C(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=l(e);return!!n&&C(n)}function T(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function O(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},o=i?T(e):g(e,u(t));if("viewport"===r)s=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=x(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),s=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:y(n),a=t?0:y(n,"left");return S({top:o-r.top+r.marginTop,left:a-r.left+r.marginLeft,width:i,height:s})}(o,i);else{var a=void 0;"scrollParent"===r?"BODY"===(a=c(l(t))).nodeName&&(a=e.ownerDocument.documentElement):a="window"===r?e.ownerDocument.documentElement:r;var d=x(a,o,i);if("HTML"!==a.nodeName||C(o))s=d;else{var h=v(e.ownerDocument),p=h.height,f=h.width;s.top+=d.top-d.marginTop,s.bottom=p+d.top,s.left+=d.left-d.marginLeft,s.right=f+d.left}}var m="number"==typeof(n=n||0);return s.left+=m?n:n.left||0,s.top+=m?n:n.top||0,s.right-=m?n:n.right||0,s.bottom-=m?n:n.bottom||0,s}function R(e,t,n,r,i){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var o=O(n,r,s,i),a={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},l=Object.keys(a).map((function(e){return k({key:e},a[e],{area:(t=a[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return x(n,r?T(t):g(t,u(n)),r)}function D(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function N(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function P(e,t,n){n=n.split("-")[0];var r=D(e),i={width:r.width,height:r.height},s=-1!==["right","left"].indexOf(n),o=s?"top":"left",a=s?"left":"top",l=s?"height":"width",c=s?"width":"height";return i[o]=t[o]+t[l]/2-r[l]/2,i[a]=n===a?t[a]-r[c]:t[N(a)],i}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function j(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&o(n)&&(t.offsets.popper=S(t.offsets.popper),t.offsets.reference=S(t.offsets.reference),t=n(t,e))})),t}function I(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=M(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=R(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=P(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=j(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function L(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r1&&void 0!==arguments[1]&&arguments[1],n=J.indexOf(e),r=J.slice(n+1).concat(J.slice(0,n));return t?r.reverse():r}var Z={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,s=i.reference,o=i.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:A({},l,s[l]),end:A({},l,s[l]+s[c]-o[c])};e.offsets.popper=k({},o,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n,r=t.offset,i=e.placement,s=e.offsets,o=s.popper,a=s.reference,l=i.split("-")[0];return n=G(+r)?[+r,0]:function(e,t,n,r){var i=[0,0],s=-1!==["right","left"].indexOf(r),o=e.split(/(\+|\-)/).map((function(e){return e.trim()})),a=o.indexOf(F(o,(function(e){return-1!==e.search(/,|\s/)})));o[a]&&-1===o[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[o.slice(0,a).concat([o[a].split(l)[0]]),[o[a].split(l)[1]].concat(o.slice(a+1))]:[o];return(c=c.map((function(e,r){var i=(1===r?!s:s)?"height":"width",o=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,o=!0,e):o?(e[e.length-1]+=t,o=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),s=+i[1],o=i[2];return s?0===o.indexOf("%")?S("%p"===o?n:r)[t]/100*s:"vh"===o||"vw"===o?("vh"===o?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*s:s:e}(e,i,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){G(n)&&(i[t]+=n*("-"===e[r-1]?-1:1))}))})),i}(r,o,a,l),"left"===l?(o.top+=n[0],o.left-=n[1]):"right"===l?(o.top+=n[0],o.left+=n[1]):"top"===l?(o.left+=n[0],o.top-=n[1]):"bottom"===l&&(o.left+=n[0],o.top+=n[1]),e.popper=o,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||f(e.instance.popper);e.instance.reference===n&&(n=f(n));var r=z("transform"),i=e.instance.popper.style,s=i.top,o=i.left,a=i[r];i.top="",i.left="",i[r]="";var l=O(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=s,i.left=o,i[r]=a,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),A({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],s=Math.floor,o=-1!==["top","bottom"].indexOf(i),a=o?"right":"bottom",l=o?"left":"top",c=o?"width":"height";return n[a]s(r[a])&&(e.offsets.popper[l]=s(r[a])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Y(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],s=e.offsets,o=s.popper,l=s.reference,c=-1!==["left","right"].indexOf(i),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),p=c?"left":"top",f=c?"bottom":"right",m=D(r)[u];l[f]-mo[f]&&(e.offsets.popper[h]+=l[h]+m-o[f]),e.offsets.popper=S(e.offsets.popper);var g=l[h]+l[u]/2-m/2,y=a(e.instance.popper),b=parseFloat(y["margin"+d]),_=parseFloat(y["border"+d+"Width"]),v=g-e.offsets.popper[h]-b-_;return v=Math.max(Math.min(o[u]-m,v),0),e.arrowElement=r,e.offsets.arrow=(A(n={},h,Math.round(v)),A(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(L(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=O(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=N(r),s=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case"flip":o=[r,i];break;case"clockwise":o=Q(r);break;case"counterclockwise":o=Q(r,!0);break;default:o=t.behavior}return o.forEach((function(a,l){if(r!==a||o.length===l+1)return e;r=e.placement.split("-")[0],i=N(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,h="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)d(u.top)||"bottom"===r&&d(c.top)d(n.right),m=d(c.top)d(n.bottom),y="left"===r&&p||"right"===r&&f||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),_=!!t.flipVariations&&(b&&"start"===s&&p||b&&"end"===s&&f||!b&&"start"===s&&m||!b&&"end"===s&&g),v=!!t.flipVariationsByContent&&(b&&"start"===s&&f||b&&"end"===s&&p||!b&&"start"===s&&g||!b&&"end"===s&&m),w=_||v;(h||y||w)&&(e.flipped=!0,(h||y)&&(r=o[l+1]),w&&(s=function(e){return"end"===e?"start":"start"===e?"end":e}(s)),e.placement=r+(s?"-"+s:""),e.offsets.popper=k({},e.offsets.popper,P(e.instance.popper,e.offsets.reference,e.placement)),e=j(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,i=r.popper,s=r.reference,o=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return i[o?"left":"top"]=s[n]-(a?i[o?"width":"height"]:0),e.placement=N(t),e.offsets.popper=S(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Y(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=s(this.update.bind(this)),this.options=k({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,i.modifiers)).forEach((function(t){r.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&o(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return w(e,[{key:"update",value:function(){return I.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return H.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),e}();te.Utils=("undefined"!=typeof window?window:global).PopperUtils,te.placements=X,te.Defaults=ee;const ne=te;var re=function(){function e(e,t){for(var n=0;n
',trigger:"hover focus",offset:0,arrowSelector:".tooltip-arrow, .tooltip__arrow",innerSelector:".tooltip-inner, .tooltip__inner"},oe=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),ae.call(this),n=ie({},se,n),t.jquery&&(t=t[0]),this.reference=t,this.options=n;var r="string"==typeof n.trigger?n.trigger.split(" ").filter((function(e){return-1!==["click","hover","focus"].indexOf(e)})):[];this._isOpen=!1,this._popperOptions={},this._setEventListeners(t,r,n)}return re(e,[{key:"_create",value:function(e,t,n,r){var i=window.document.createElement("div");i.innerHTML=t.trim();var s=i.childNodes[0];s.id="tooltip_"+Math.random().toString(36).substr(2,10),s.setAttribute("aria-hidden","false");var o=i.querySelector(this.options.innerSelector);return this._addTitleContent(e,n,r,o),s}},{key:"_addTitleContent",value:function(e,t,n,r){var i;1===t.nodeType||11===t.nodeType?n&&r.appendChild(t):(i=t)&&"[object Function]"==={}.toString.call(i)?this._addTitleContent(e,t.call(e),n,r):n?r.innerHTML=t:r.textContent=t}},{key:"_show",value:function(e,t){if(this._isOpen&&!this._isOpening)return this;if(this._isOpen=!0,this._tooltipNode)return this._tooltipNode.style.visibility="visible",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.update(),this;var n=e.getAttribute("title")||t.title;if(!n)return this;var r=this._create(e,t.template,n,t.html);e.setAttribute("aria-describedby",r.id);var i=this._findContainer(t.container,e);return this._append(r,i),this._popperOptions=ie({},t.popperOptions,{placement:t.placement}),this._popperOptions.modifiers=ie({},this._popperOptions.modifiers,{arrow:ie({},this._popperOptions.modifiers&&this._popperOptions.modifiers.arrow,{element:t.arrowSelector}),offset:ie({},this._popperOptions.modifiers&&this._popperOptions.modifiers.offset,{offset:t.offset||this._popperOptions.modifiers&&this._popperOptions.modifiers.offset&&this._popperOptions.modifiers.offset.offset||t.offset})}),t.boundariesElement&&(this._popperOptions.modifiers.preventOverflow={boundariesElement:t.boundariesElement}),this.popperInstance=new ne(e,r,this._popperOptions),this._tooltipNode=r,this}},{key:"_hide",value:function(){return this._isOpen?(this._isOpen=!1,this._tooltipNode.style.visibility="hidden",this._tooltipNode.setAttribute("aria-hidden","true"),this):this}},{key:"_dispose",value:function(){var e=this;return this._events.forEach((function(t){var n=t.func,r=t.event;e.reference.removeEventListener(r,n)})),this._events=[],this._tooltipNode&&(this._hide(),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)),this}},{key:"_findContainer",value:function(e,t){return"string"==typeof e?e=window.document.querySelector(e):!1===e&&(e=t.parentNode),e}},{key:"_append",value:function(e,t){t.appendChild(e)}},{key:"_setEventListeners",value:function(e,t,n){var r=this,i=[],s=[];t.forEach((function(e){switch(e){case"hover":i.push("mouseenter"),s.push("mouseleave");break;case"focus":i.push("focus"),s.push("blur");break;case"click":i.push("click"),s.push("click")}})),i.forEach((function(t){var i=function(t){!0!==r._isOpening&&(t.usedByTooltip=!0,r._scheduleShow(e,n.delay,n,t))};r._events.push({event:t,func:i}),e.addEventListener(t,i)})),s.forEach((function(t){var i=function(t){!0!==t.usedByTooltip&&r._scheduleHide(e,n.delay,n,t)};r._events.push({event:t,func:i}),e.addEventListener(t,i),"click"===t&&n.closeOnClickOutside&&document.addEventListener("mousedown",(function(t){if(r._isOpening){var n=r.popperInstance.popper;e.contains(t.target)||n.contains(t.target)||i(t)}}),!0)}))}},{key:"_scheduleShow",value:function(e,t,n){var r=this;this._isOpening=!0;var i=t&&t.show||t||0;this._showTimeout=window.setTimeout((function(){return r._show(e,n)}),i)}},{key:"_scheduleHide",value:function(e,t,n,r){var i=this;this._isOpening=!1;var s=t&&t.hide||t||0;window.clearTimeout(this._showTimeout),window.setTimeout((function(){if(!1!==i._isOpen&&document.body.contains(i._tooltipNode)){if("mouseleave"===r.type&&i._setTooltipNodeEvent(r,e,t,n))return;i._hide(e,n)}}),s)}},{key:"_updateTitleContent",value:function(e){if(void 0!==this._tooltipNode){var t=this._tooltipNode.querySelector(this.options.innerSelector);this._clearTitleContent(t,this.options.html,this.reference.getAttribute("title")||this.options.title),this._addTitleContent(this.reference,e,this.options.html,t),this.options.title=e,this.popperInstance.update()}else void 0!==this.options.title&&(this.options.title=e)}},{key:"_clearTitleContent",value:function(e,t,n){1===n.nodeType||11===n.nodeType?t&&e.removeChild(n):t?e.innerHTML="":e.textContent=""}}]),e}(),ae=function(){var e=this;this.show=function(){return e._show(e.reference,e.options)},this.hide=function(){return e._hide()},this.dispose=function(){return e._dispose()},this.toggle=function(){return e._isOpen?e.hide():e.show()},this.updateTitleContent=function(t){return e._updateTitleContent(t)},this._events=[],this._setTooltipNodeEvent=function(t,n,r,i){var s=t.relatedreference||t.toElement||t.relatedTarget;return!!e._tooltipNode.contains(s)&&(e._tooltipNode.addEventListener(t.type,(function r(s){var o=s.relatedreference||s.toElement||s.relatedTarget;e._tooltipNode.removeEventListener(t.type,r),n.contains(o)||e._scheduleHide(n,i.delay,i,s)})),!0)}};const le=oe;var ce=n(44688),ue=n(96639),de=n(37407),he=(n(31837),n(86053)),pe=n(68131),fe=n(25313),me=n.n(fe);const ge=(0,n(59165).createTemplateFactory)({id:"hstMRe1w",block:'[[[41,[30,0,["_awaitingTooltipElementRendered"]],[[[1," "],[10,0],[12],[1,"\\n"],[41,[30,0,["_shouldRenderContent"]],[[[41,[48,[30,1]],[[[1," "],[18,1,[[30,0]]],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["text"]]],[1,"\\n"]],[]]]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[40,[[[1," "],[10,0],[12],[1,"\\n"],[41,[48,[30,1]],[[[1," "],[18,1,[[30,0]]],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["text"]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],"%cursor:0%",[28,[37,5],[[30,0,["_renderElement"]]],null]]],[]]]],["&default"],false,["if","div","has-block","yield","in-element","-in-el-null"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.embroider/rewritten-packages/ember-tooltips.a09ad070/node_modules/ember-tooltips/templates/components/ember-tooltip-base.hbs",isStrictMode:!1}),ye="ember-tooltip-show",be={flip:{enabled:!0},preventOverflow:{escapeWithReference:!0}};function _e(e){if(!e)return null;const[t]=e.split("-");let n;switch(t){case"top":n="bottom";break;case"right":n="left";break;case"bottom":n="top";break;case"left":n="right"}return n}function ve(e){let t;return e&&"string"==typeof e?(t=parseInt(e,10),!isNaN(t)&&isFinite(t)||(t=0)):t=e,t}const we=me().extend({classNames:["ember-tooltip-base"],delay:0,delayOnChange:!0,duration:0,effect:"slide",event:"hover",tooltipClass:"tooltip",arrowClass:"tooltip-arrow",innerClass:"tooltip-inner",tooltipClassName:(0,de.deprecatingAlias)("_tooltipVariantClass",{id:"EmberTooltipBase._tooltipVariantClass",for:"ember-tooltips",since:{enabled:"3.3.0"},until:"4.0.0"}),isShown:!1,text:null,side:"top",spacing:10,targetId:null,targetElement:null,layout:ge,updateFor:null,popperOptions:null,popperContainer:!1,animationDuration:200,onDestroy:null,onHide:null,onRender:null,onShow:null,_hideOn:null,hideOn:(0,ue.computed)("event",{get(){if(this.get("_hideOn"))return this.get("_hideOn");const e=this.get("event");let t;switch(e){case"hover":t="mouseleave";break;case"focus":t="blur";break;case"ready":t=null;break;default:t=e}return t},set(e,t){return this._hideOn=t}}),_showOn:null,showOn:(0,ue.computed)("event",{get(){if(this.get("_showOn"))return this.get("_showOn");const e=this.get("event");let t;return t="hover"===e?"mouseenter":e,t},set(e,t){return this._showOn=t}}),target:(0,ue.computed)("targetId","targetElement",(function(){const e=this.get("targetId");let t;return t=e?document.getElementById(e):this.get("targetElement")||this.element.parentNode,t})),_renderElementId:(0,ue.computed)("elementId",(function(){const e=this.get("elementId");return e?`${e}-et-target`:null})),_renderElement:(0,ue.computed)("_renderElementId",(function(){const e=this.get("_renderElementId");return e?document.getElementById(e):null})),_fastboot:(0,ue.computed)((function(){return(0,ce.getOwner)(this).lookup("service:fastboot")})),_shouldRenderContent:(0,ue.computed)("_fastboot.isFastBoot","_awaitingTooltipElementRendered",(function(){return this.get("_fastboot.isFastBoot")||!this.get("_awaitingTooltipElementRendered")})),_awaitingTooltipElementRendered:!0,_tooltipEvents:null,_tooltip:null,_spacingRequestId:null,_animationDuration:(0,ue.computed)("animationDuration",(function(){return"test"===(0,ce.getOwner)(this).resolveRegistration("config:environment").environment?0:this.get("animationDuration")})),init(){this._super(...arguments),this.set("_tooltipEvents",[])},didInsertElement(){this._super(...arguments),this.createTooltip()},didUpdateAttrs(){this._super(...arguments),this.get("isShown")?(this.show(),null!==this.get("updateFor")&&this.get("_tooltip").popperInstance&&this._updatePopper()):this.hide()},willDestroyElement(){this._super(...arguments),this.get("_tooltipEvents").forEach((({callback:e,target:t,eventName:n}={})=>{t.removeEventListener(n,e)})),this._cleanupTimers(),this.get("_tooltip").dispose(),this._dispatchAction("onDestroy",this)},addTargetEventListeners(){this.addTooltipTargetEventListeners()},addTooltipBaseEventListeners(){},addTooltipTargetEventListeners(){const e=this.get("event");if("none"===e)return;const t=this.get("hideOn"),n=this.get("showOn");n===t?this._addEventListener(n,(()=>{this.toggle()})):("none"!==n&&this._addEventListener(n,(()=>{this.show()})),"none"!==t&&this._addEventListener(t,(()=>{this.hide()}))),"focus"!==e&&("click"!==e&&this._addEventListener("focusin",(()=>{this.show()})),this._addEventListener("focusout",(()=>{this.hide()}))),this._addEventListener("keydown",(e=>{if(27===e.which&&this.get("isShown"))return this.hide(),e.stopImmediatePropagation(),e.preventDefault(),!1}),document)},createTooltip(){const e=this.get("target"),t=this.get("tooltipClass"),n=this.get("arrowClass"),r=this.get("innerClass"),i=this.get("_tooltipVariantClass"),s=`${(0,pe.w)(i).join("-arrow ")}-arrow`,o=`${(0,pe.w)(i).join("-inner ")}-inner`,a=e.title;e.removeAttribute("title");const l=new le(e,{container:this.get("popperContainer"),html:!0,placement:this.get("side"),title:"",trigger:"manual",arrowSelector:`.${(0,pe.w)(s).join(".")}`,innerSelector:`.${(0,pe.w)(o).join(".")}`,template:`\n
\n
\n `,popperOptions:{modifiers:Ae(be,this.get("popperOptions.modifiers")),onCreate:()=>{(0,he.run)((()=>{this._dispatchAction("onRender",this),this.set("_awaitingTooltipElementRendered",!1),this.addTooltipBaseEventListeners(),(0,he.scheduleOnce)("afterRender",this,this._updatePopper),e.setAttribute("title",a)}))},onUpdate:()=>{this.setSpacing()}}});e.classList.add("ember-tooltip-target"),this.addTargetEventListeners(),this.set("_tooltip",l),this.get("isShown")&&this.show()},_updatePopper(){const{popperInstance:e}=this.get("_tooltip");e.update()},setSpacing(){this.get("isShown")&&!this.get("isDestroying")&&(this._spacingRequestId=requestAnimationFrame((()=>{if(this._spacingRequestId=null,!this.get("isShown")||this.get("isDestroying"))return;const{popperInstance:e}=this.get("_tooltip"),{popper:t}=e,n=_e(t.getAttribute("x-placement")),{style:r}=t;r.marginTop=0,r.marginRight=0,r.marginBottom=0,r.marginLeft=0,t.style[`margin${(0,pe.ZH)(n)}`]=`${this.get("spacing")}px`})))},hide(){this.get("isDestroying")||((0,he.cancel)(this.get("_showTimer")),this._hideTooltip())},show(){if(this.get("isDestroying"))return;const e=this.get("delay"),t=this.get("duration");(0,he.cancel)(this.get("_showTimer")),(0,he.cancel)(this.get("_completeHideTimer")),t&&this.setHideTimer(t),e?this.setShowTimer(e):this._showTooltip()},setHideTimer(e){if(e=ve(e),(0,he.cancel)(this.get("_hideTimer")),e){const t=(0,he.later)(this,this.hide,e);this.set("_hideTimer",t)}},setShowTimer(e){e=ve(e),this.get("delayOnChange")||document.querySelectorAll(`.${ye}`).length&&(e=0);const t=(0,he.later)(this,(()=>{this._showTooltip()}),e);this.set("_showTimer",t)},_hideTooltip(){const e=this.get("_tooltip");if(!e||this.get("isDestroying"))return;e.popperInstance&&e.popperInstance.popper.classList.remove(ye);const t=(0,he.later)((()=>{this.get("isDestroying")||(cancelAnimationFrame(this._spacingRequestId),e.hide(),this.set("_isHiding",!1),this.set("isShown",!1),this._dispatchAction("onHide",this))}),this.get("_animationDuration"));this.set("_completeHideTimer",t)},_showTooltip(){if(this.get("isDestroying"))return;const e=this.get("_tooltip");e.show(),this.set("isShown",!0),(0,he.run)((()=>{this.get("isDestroying")||(e.popperInstance.popper.classList.add(ye),this._dispatchAction("onShow",this))}))},toggle(){this.get("isShown")?this.hide():this.show()},_addEventListener(e,t,n){const r=n||this.get("target"),i=(0,he.bind)(this,t);this.get("_tooltipEvents").push({callback:i,target:r,eventName:e}),r.addEventListener(e,i)},_dispatchAction(e,...t){const n=this.get(e);this.isDestroying||this.isDestroyed||!n||n(...t)},_cleanupTimers(){(0,he.cancel)(this.get("_showTimer")),cancelAnimationFrame(this._spacingRequestId)}});function Ae(e,t={}){const n=Object.keys(e),r=Object.keys(t),i=[].concat(n,r).reduce(((e,t)=>(-1===e.indexOf(t)&&e.push(t),e)),[]),s={...e};return i.forEach((i=>{-1!==n.indexOf(i)&&-1!==r.indexOf(i)?s[i]={...e[i],...t[i]}:-1!==r.indexOf(i)&&(s[i]=t[i])})),s}},57268:(e,t,n)=>{"use strict";function r(e){return e?.__esModule?e:{default:e,...e}}n.d(t,{A:()=>r})},90283:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(25313),o=(0,n(59165).createTemplateFactory)({id:"G9zZiptO",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"width","16"],[24,"height","16"],[24,"viewBox","0 0 16 16"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[12],[10,"path"],[14,"d","M14.29 12.783l-1.51 1.508a.708.708 0 01-1.005 0L8 10.518l-3.773 3.773a.712.712 0 01-1.008 0l-1.51-1.508a.712.712 0 010-1.007L5.482 8 1.709 4.227a.717.717 0 010-1.007l1.51-1.51a.712.712 0 011.008 0L8 5.484l3.775-3.776a.708.708 0 011.005 0l1.51 1.508c.279.279.28.73.003 1.01L10.518 8l3.772 3.776a.712.712 0 010 1.007z"],[14,"fill","currentColor"],[14,"fill-rule","nonzero"],[12],[13],[13]],["&attrs"],false,["svg","path"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.pnpm/ember-cli-notifications@9.0.0/node_modules/ember-cli-notifications/dist/components/ecn-icon-close.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},60493:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(25313),o=(0,n(59165).createTemplateFactory)({id:"HyecvGvi",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"width","16"],[24,"height","16"],[24,"viewBox","0 0 16 16"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[12],[10,"path"],[14,"d","M13.714 0H2.286A2.286 2.286 0 000 2.286v11.428A2.286 2.286 0 002.286 16h11.428A2.286 2.286 0 0016 13.714V2.286A2.287 2.287 0 0013.714 0zM7 4.086c0-.472.529-.857 1-.857s1 .383 1 .857v4.571c0 .473-.527.857-1 .857s-1-.382-1-.857V4.086zm1 8.934a1.3 1.3 0 110-2.6 1.3 1.3 0 010 2.6z"],[14,"fill","currentColor"],[14,"fill-rule","nonzero"],[12],[13],[13]],["&attrs"],false,["svg","path"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.pnpm/ember-cli-notifications@9.0.0/node_modules/ember-cli-notifications/dist/components/ecn-icon-error.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},43796:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(25313),o=(0,n(59165).createTemplateFactory)({id:"xhvYK7rq",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[24,"viewBox","0 0 16 16"],[24,"width","16"],[24,"height","16"],[12],[10,"path"],[14,"fill","currentColor"],[14,"d","M7.75 0a7.751 7.751 0 000 15.5 7.75 7.75 0 100-15.5zm0 3.438a1.312 1.312 0 110 2.624 1.312 1.312 0 010-2.625zm1.248 7.937a.375.375 0 01-.375.375H6.928a.375.375 0 01-.375-.375v-.75-3.254c0-.207.168-.375.375-.375h1.695c.207 0 .375.168.375.375v4.004z"],[12],[13],[13]],["&attrs"],false,["svg","path"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.pnpm/ember-cli-notifications@9.0.0/node_modules/ember-cli-notifications/dist/components/ecn-icon-info.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},92303:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(25313),o=(0,n(59165).createTemplateFactory)({id:"T+/OerqT",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[24,"viewBox","0 0 512 512"],[24,"width","16"],[24,"height","16"],[12],[10,"path"],[14,"fill","currentColor"],[14,"d","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"],[12],[13],[13]],["&attrs"],false,["svg","path"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.pnpm/ember-cli-notifications@9.0.0/node_modules/ember-cli-notifications/dist/components/ecn-icon-success.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},68626:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(7795),i=n.n(r),s=n(25313),o=(0,n(59165).createTemplateFactory)({id:"Eo7ajkxo",block:'[[[11,"svg"],[17,1],[24,"aria-hidden","true"],[24,"focusable","false"],[24,"role","img"],[24,"xmlns","http://www.w3.org/2000/svg","http://www.w3.org/2000/xmlns/"],[24,"viewBox","0 0 576 512"],[24,"width","16"],[24,"height","16"],[12],[10,"path"],[14,"fill","currentColor"],[14,"d","M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"],[12],[13],[13]],["&attrs"],false,["svg","path"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.pnpm/ember-cli-notifications@9.0.0/node_modules/ember-cli-notifications/dist/components/ecn-icon-warning.js",isStrictMode:!1}),a=(0,s.setComponentTemplate)(o,i()())},7888:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var r,i,s,o,a=n(62728),l=n(25313),c=n.n(l),u=n(96639),d=n(48338),h=n(94313),p=(0,n(59165).createTemplateFactory)({id:"lepjcTxp",block:'[[[10,0],[15,0,[29,["ember-cli-notifications-notification__container ",[30,0,["positionClass"]]]]],[15,5,[30,0,["inlineStyle"]]],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,0,["notifications","content"]]],null]],null],null,[[[1," "],[8,[39,3],null,[["@notification"],[[30,1]]],null],[1,"\\n"]],[1]],null],[13]],["notification"],false,["div","each","-track-array","notification-message"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.pnpm/ember-cli-notifications@9.0.0/node_modules/ember-cli-notifications/dist/components/notification-container.js",isStrictMode:!1});let f=(r=(0,u.computed)("position"),i=(0,u.computed)("zindex"),s=class extends(c()){constructor(...e){super(...e),(0,a.a)(this,"notifications",o,this),(0,a.b)(this,"tagName",""),(0,a.b)(this,"position","top"),(0,a.b)(this,"zindex","1060")}get positionClass(){return`ember-cli-notifications-notification__container--${this.position}`}get inlineStyle(){return(0,d.htmlSafe)(`z-index: ${this.zindex};`)}},o=(0,a._)(s.prototype,"notifications",[h.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,a._)(s.prototype,"positionClass",[r],Object.getOwnPropertyDescriptor(s.prototype,"positionClass"),s.prototype),(0,a._)(s.prototype,"inlineStyle",[i],Object.getOwnPropertyDescriptor(s.prototype,"inlineStyle"),s.prototype),s);(0,l.setComponentTemplate)(p,f)},24396:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var r,i,s,o,a,l,c,u,d,h,p=n(62728),f=n(25313),m=n.n(f),g=n(48338),y=n(96639),b=n(94313),_=n(23189),v=(0,n(59165).createTemplateFactory)({id:"f34sRSu8",block:'[[[11,0],[16,0,[29,["c-notification\\n ",[30,0,["dismissClass"]],"\\n ",[30,0,["clickableClass"]],"\\n ",[52,[30,0,["validType"]],[28,[37,2],["c-notification--",[30,0,["validType"]]],null],""],"\\n ",[30,1,["cssClasses"]]]]],[4,[32,0],["mouseenter",[30,0,["handleMouseEnter"]]],null],[4,[32,0],["mouseleave",[30,0,["handleMouseLeave"]]],null],[12],[1,"\\n "],[10,0],[14,0,"c-notification__icon"],[12],[1,"\\n"],[41,[30,0,["validType"]],[[[41,[30,0,["isInfo"]],[[[1," "],[8,[39,3],[[24,0,"c-notification__svg"]],null,null],[1,"\\n"]],[]],[[[41,[30,0,["isSuccess"]],[[[1," "],[8,[39,4],[[24,0,"c-notification__svg"]],null,null],[1,"\\n"]],[]],[[[41,[30,0,["isWarning"]],[[[1," "],[8,[39,5],[[24,0,"c-notification__svg"]],null,null],[1,"\\n"]],[]],[[[41,[30,0,["isError"]],[[[1," "],[8,[39,6],[[24,0,"c-notification__svg"]],null,null],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]]],[]],null],[1," "],[13],[1,"\\n "],[11,0],[24,0,"c-notification__content"],[4,[32,0],["click",[30,0,["handleOnClick"]]],null],[12],[1,"\\n"],[41,[30,1,["htmlContent"]],[[[1," "],[2,[30,1,["message"]]],[1,"\\n"]],[]],[[[1," "],[1,[30,1,["message"]]],[1,"\\n"]],[]]],[1," "],[11,0],[24,0,"c-notification__close"],[24,"title","Dismiss this notification"],[4,[32,0],["click",[30,0,["removeNotification"]]],null],[12],[1,"\\n "],[8,[39,7],[[24,0,"c-notification__svg"]],null,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["autoClear"]],[[[1," "],[10,0],[14,0,"c-notification__countdown"],[15,5,[30,0,["notificationClearDuration"]]],[12],[13],[1,"\\n"]],[]],null],[13]],["@notification"],false,["div","if","concat","ecn-icon-info","ecn-icon-success","ecn-icon-warning","ecn-icon-error","ecn-icon-close"]]',moduleName:"/Users/billy/Projects/crates.io/node_modules/.pnpm/ember-cli-notifications@9.0.0/node_modules/ember-cli-notifications/dist/components/notification-message.js",scope:()=>[_.on],isStrictMode:!1});const w=["info","success","warning","error"];let A=(r=(0,y.computed)("notification.dismiss"),i=(0,y.computed)("notification.onClick"),s=(0,y.computed)("notification.type"),o=(0,y.computed)("validType"),a=(0,y.computed)("validType"),l=(0,y.computed)("validType"),c=(0,y.computed)("validType"),u=(0,y.computed)("paused","notification.clearDuration"),d=class extends(m()){constructor(...e){super(...e),(0,p.b)(this,"tagName",""),(0,p.a)(this,"notifications",h,this),(0,p.b)(this,"paused",!1)}get dismissClass(){return this.notification.dismiss?"":"c-notification--in"}get clickableClass(){return this.notification.onClick?"c-notification--clickable":""}get validType(){let e=this.notification.type;return e&&-1!==w.indexOf(e)?e:""}get isInfo(){return"info"===this.validType}get isSuccess(){return"success"===this.validType}get isWarning(){return"warning"===this.validType}get isError(){return"error"===this.validType}get notificationClearDuration(){const e=[`animation-duration: ${Number.parseInt(this.notification.clearDuration,10)}ms`,"animation-play-state: "+(this.paused?"paused":"running")].join(";");return(0,g.htmlSafe)(e)}handleOnClick(e){e.preventDefault(),this.notification.onClick?.(this.notification)}removeNotification(e){e.preventDefault(),e.stopPropagation(),this.notifications.removeNotification(this.notification)}handleMouseEnter(){this.notification.autoClear&&((0,y.set)(this,"paused",!0),this.notifications.pauseAutoClear(this.notification))}handleMouseLeave(){this.notification.autoClear&&((0,y.set)(this,"paused",!1),this.notifications.setupAutoClear(this.notification))}},h=(0,p._)(d.prototype,"notifications",[b.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,p._)(d.prototype,"dismissClass",[r],Object.getOwnPropertyDescriptor(d.prototype,"dismissClass"),d.prototype),(0,p._)(d.prototype,"clickableClass",[i],Object.getOwnPropertyDescriptor(d.prototype,"clickableClass"),d.prototype),(0,p._)(d.prototype,"validType",[s],Object.getOwnPropertyDescriptor(d.prototype,"validType"),d.prototype),(0,p._)(d.prototype,"isInfo",[o],Object.getOwnPropertyDescriptor(d.prototype,"isInfo"),d.prototype),(0,p._)(d.prototype,"isSuccess",[a],Object.getOwnPropertyDescriptor(d.prototype,"isSuccess"),d.prototype),(0,p._)(d.prototype,"isWarning",[l],Object.getOwnPropertyDescriptor(d.prototype,"isWarning"),d.prototype),(0,p._)(d.prototype,"isError",[c],Object.getOwnPropertyDescriptor(d.prototype,"isError"),d.prototype),(0,p._)(d.prototype,"notificationClearDuration",[u],Object.getOwnPropertyDescriptor(d.prototype,"notificationClearDuration"),d.prototype),(0,p._)(d.prototype,"handleOnClick",[y.action],Object.getOwnPropertyDescriptor(d.prototype,"handleOnClick"),d.prototype),(0,p._)(d.prototype,"removeNotification",[y.action],Object.getOwnPropertyDescriptor(d.prototype,"removeNotification"),d.prototype),(0,p._)(d.prototype,"handleMouseEnter",[y.action],Object.getOwnPropertyDescriptor(d.prototype,"handleMouseEnter"),d.prototype),(0,p._)(d.prototype,"handleMouseLeave",[y.action],Object.getOwnPropertyDescriptor(d.prototype,"handleMouseLeave"),d.prototype),d);(0,f.setComponentTemplate)(v,A)},12084:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(62728),i=n(94313),s=n.n(i),o=n(16895),a=n(96639),l=n.n(a),c=n(86053),u=n(44688);class d extends(s()){constructor(...e){super(...e),(0,r.b)(this,"content",(0,o.A)());const t=(0,u.getOwner)(this).resolveRegistration("config:environment");this.globals=t["ember-cli-notifications"]||{}}addNotification(e){if(!e.message)throw new Error("No notification message set");const t=l().create({message:e.message,type:e.type||"info",autoClear:e.autoClear??this.globals.autoClear??!1,clearDuration:e.clearDuration??this.globals.clearDuration??3200,onClick:e.onClick,htmlContent:e.htmlContent||!1,cssClasses:e.cssClasses});return this.content.pushObject(t),t.autoClear&&((0,a.set)(t,"remaining",t.clearDuration),this.setupAutoClear(t)),t}error(e,t){return this.addNotification({...t,message:e,type:"error"})}success(e,t){return this.addNotification({...t,message:e,type:"success"})}info(e,t){return this.addNotification({...t,message:e,type:"info"})}warning(e,t){return this.addNotification({...t,message:e,type:"warning"})}removeNotification(e){e&&(e.set("dismiss",!0),(0,c.later)(this,(()=>{this.content.removeObject(e)}),500))}setupAutoClear(e){e.set("startTime",Date.now());const t=(0,c.later)(this,(()=>{this.content.indexOf(e)>=0&&this.removeNotification(e)}),e.remaining);(0,a.set)(e,"timer",t)}pauseAutoClear(e){(0,c.cancel)(e.timer);const t=Date.now()-e.startTime,n=e.clearDuration-t;(0,a.set)(e,"remaining",n)}clearAll(){return this.content.forEach((e=>{this.removeNotification(e)})),this}setDefaultAutoClear(e){this.globals.autoClear=e}setDefaultClearDuration(e){this.globals.clearDuration=e}}},62728:(e,t,n)=>{"use strict";function r(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function s(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}n.d(t,{_:()=>s,a:()=>i,b:()=>r})},64835:(e,t,n)=>{"use strict";n.d(t,{w:()=>c});var r=n(21266),i=n.n(r),s=n(75076),o=n(24007),a=(n(31837),n(86053));class l extends o.O{assert(...e){}async(e){(0,a.join)((()=>(0,a.schedule)("actions",e)))}reportUncaughtRejection(e){(0,a.next)(null,(function(){if(!i().onerror)throw e;i().onerror(e)}))}defer(){return(0,s.defer)()}globalDebuggingEnabled(){return i().ENV.DEBUG_TASKS}}const c=new l},24007:(e,t,n)=>{"use strict";n.d(t,{O:()=>r,U:()=>i});class r{assert(){}async(e){Promise.resolve().then(e)}reportUncaughtRejection(){this.async((e=>{throw e}))}defer(){let e={promise:null,resolve:null,reject:null},t=new Promise(((t,n)=>{e.resolve=t,e.reject=n}));return e.promise=t,e}globalDebuggingEnabled(){return!1}}const i=new r},30813:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});class r{constructor(e){this.maxConcurrency=e||1}}},33817:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(30813),i=n(52756);const s=(0,i.kw)("it belongs to a 'drop' Task that was already running");class o{constructor(e){this.remainingSlots=e}step(){return this.remainingSlots>0?(this.remainingSlots--,i.su):s}}class a extends r.A{makeReducer(){return new o(this.maxConcurrency)}}},16272:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(30813),i=n(52756);class s{constructor(e){this.remainingSlots=e}step(){return this.remainingSlots>0?(this.remainingSlots--,i.su):i.I$}}class o extends r.A{makeReducer(){return new s(this.maxConcurrency)}}},52756:(e,t,n)=>{"use strict";n.d(t,{Hs:()=>s,I$:()=>a,Tb:()=>r,dJ:()=>i,kw:()=>l,su:()=>o});const r="CANCELLED",i="STARTED",s="QUEUED",o={type:i},a={type:s},l=e=>({type:r,reason:e})},23475:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(30813),i=n(52756);const s=(0,i.kw)("it belongs to a 'keepLatest' Task that was already running");class o{constructor(e,t){this.remainingSlots=e,this.numToCancel=t}step(){return this.remainingSlots>0?(this.remainingSlots--,i.su):this.numToCancel>0?(this.numToCancel--,s):i.I$}}class a extends r.A{makeReducer(e,t){let n=e+t;return new o(this.maxConcurrency,n-this.maxConcurrency-1)}}},50731:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(30813),i=n(52756);const s=(0,i.kw)("it belongs to a 'restartable' Task that was .perform()ed again");class o{constructor(e){this.numToCancel=e}step(){return this.numToCancel>0?(this.numToCancel--,s):i.su}}class a extends r.A{makeReducer(e,t){return new o(e+t-this.maxConcurrency)}}},96567:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(52756);const i=new Map;class s{constructor(e,t,n){this.stateTracker=t,this.schedulerPolicy=e,this.initialTaskInstances=n,this.startingInstances=[]}process(){let[e,t,n]=this.filterFinishedTaskInstances(),r=this.schedulerPolicy.makeReducer(t,n),i=e.filter((e=>this.setTaskInstanceExecutionState(e,r.step())));return this.stateTracker.computeFinalStates((e=>this.applyState(e))),this.startingInstances.forEach((e=>e.start())),i}filterFinishedTaskInstances(){let e=0,t=0;return[this.initialTaskInstances.filter((n=>{let r=this.stateTracker.stateFor(n.task),i=n.executor.state;return i.isFinished?(r.onCompletion(n),!1):(i.hasStarted?e+=1:t+=1,!0)})),e,t]}setTaskInstanceExecutionState(e,t){let n=this.stateTracker.stateFor(e.task);switch(e.executor.counted||(e.executor.counted=!0,n.onPerformed(e)),t.type){case r.Tb:return e.cancel(t.reason),!1;case r.dJ:return e.executor.state.hasStarted||(this.startingInstances.push(e),n.onStart(e)),n.onRunning(e),!0;case r.Hs:return n.onQueued(e),!0}}applyState(e){let{taskable:t}=e;if(!t.onState)return;const{guid:n}=t;if(i.has(n)&&e.tage(t)))}computeRecursiveState(){this.forEachState((e=>{let t=e;e.recurseTaskGroups((e=>{let n=this.stateFor(e);n.applyStateFrom(t),t=n}))}))}forEachState(e){this.states.forEach((t=>e(t)))}}const u=new class{onCompletion(){}onPerformed(){}onStart(){}onRunning(){}onQueued(){}};class d{stateFor(){return u}computeFinalStates(){}}class h{constructor(e,t){this.schedulerPolicy=e,this.stateTrackingEnabled=t,this.taskInstances=[]}cancelAll(e,t){let n=this.taskInstances.map((n=>{n.task.guids[e]&&n.executor.cancel(t)})).filter((e=>!!e));return Promise.all(n)}perform(e){e.onFinalize((()=>this.scheduleRefresh())),this.taskInstances.push(e),this.refresh()}scheduleRefresh(){Promise.resolve().then((()=>this.refresh()))}refresh(){let e=this.stateTrackingEnabled?new c:new d,t=new s(this.schedulerPolicy,e,this.taskInstances);this.taskInstances=t.process()}}},12297:(e,t,n)=>{"use strict";n.d(t,{Ag:()=>y,Zm:()=>g});var r=n(75402),i=n(96567),s=n(52756);const o=new class{step(){return s.su}};class a{makeReducer(){return o}}var l=n(16272),c=n(33817),u=n(23475),d=n(50731),h=n(39293),p=n(22819),f=n(24007);const m={enqueue:(e,t)=>t&&e.setBufferPolicy(l.A),evented:(e,t)=>t&&e.setEvented(t),debug:(e,t)=>t&&e.setDebug(t),drop:(e,t)=>t&&e.setBufferPolicy(c.A),group:(e,t)=>e.setGroup(t),keepLatest:(e,t)=>t&&e.setBufferPolicy(u.A),maxConcurrency:(e,t)=>e.setMaxConcurrency(t),onState:(e,t)=>e.setOnState(t),restartable:(e,t)=>t&&e.setBufferPolicy(d.A)};function g(e,t){if(m[e])throw new Error(`A modifier with the name '${e}' has already been defined.`);m[e]=t}let y=class{constructor(e="",t=null,n={}){(0,r.A)(this,"env",f.U),(0,r.A)(this,"_debug",null),(0,r.A)(this,"_enabledModifiers",[]),(0,r.A)(this,"_hasSetConcurrencyConstraint",!1),(0,r.A)(this,"_hasSetBufferPolicy",!1),(0,r.A)(this,"_hasEnabledEvents",!1),(0,r.A)(this,"_maxConcurrency",null),(0,r.A)(this,"_onStateCallback",((e,t)=>t.setState(e))),(0,r.A)(this,"_schedulerPolicyClass",a),(0,r.A)(this,"_taskGroupPath",null),this.name=e,this.taskDefinition=t,this.options=n,this._processModifierOptions(n)}createTask(e){let t=this.getTaskOptions(e);return new h.Y(Object.assign({generatorFactory:t=>this.taskDefinition.apply(e,t)},t))}createTaskGroup(e){let t=this.getTaskOptions(e);return new p.N(t)}getModifier(e){if(function(e){return e in m}(e))return m[e].bind(null,this)}getOptions(){return this.options}getScheduler(e,t){return new i.A(e,t)}getTaskOptions(e){let t,n,r=this._onStateCallback;if(this._taskGroupPath){if(t=e[this._taskGroupPath],!(t instanceof p.N))throw new Error(`Expected group '${this._taskGroupPath}' to be defined but was not found.`);n=t.scheduler}else{let e=new this._schedulerPolicyClass(this._maxConcurrency);n=this.getScheduler(e,r&&"function"==typeof r)}return{context:e,debug:this._debug,env:this.env,name:this.name,group:t,scheduler:n,hasEnabledEvents:this._hasEnabledEvents,onStateCallback:r,enabledModifiers:this._enabledModifiers,modifierOptions:this.getOptions()}}setBufferPolicy(e){return function(e){if(e._hasSetBufferPolicy)throw new Error(`Cannot set multiple buffer policies on a task or task group. ${e._schedulerPolicyClass} has already been set for task or task group '${e.name}'`)}(this),this._hasSetBufferPolicy=!0,this._hasSetConcurrencyConstraint=!0,this._schedulerPolicyClass=e,function(e){if(e._hasSetConcurrencyConstraint&&e._taskGroupPath)throw new Error("Cannot use both 'group' and other concurrency-constraining task modifiers (e.g. 'drop', 'enqueue', 'restartable')")}(this),this}setDebug(e){return this._debug=e,this}setEvented(e){return this._hasEnabledEvents=e,this}setMaxConcurrency(e){return this._hasSetConcurrencyConstraint=!0,this._maxConcurrency=e,this}setGroup(e){return this._taskGroupPath=e,this}setName(e){return this.name=e,this}setOnState(e){return this._onStateCallback=e,this}setTaskDefinition(e){return this.taskDefinition=e,this}_processModifierOptions(e){if(e)for(let t of Object.keys(e)){let n=e[t],r=this.getModifier(t);"function"==typeof r&&r(n)&&this._enabledModifiers.push(t)}}}},37129:(e,t,n)=>{"use strict";n.d(t,{Jn:()=>s,Vt:()=>a,W5:()=>r,aV:()=>l,f6:()=>o,iw:()=>i,qs:()=>c});const r="TaskCancelation";function i(e){return e&&e.name===r}const s="explicit",o="yielded",a="lifespan_end",l="parent_cancel";class c{constructor(e,t){this.kind=e,this.reason=t,this.promise=new Promise((e=>{this.finalize=e}))}}},10541:(e,t,n)=>{"use strict";n.d(t,{KH:()=>s,R5:()=>i,XS:()=>r,kY:()=>o});const r=0,i=1,s=2,o=3},96069:(e,t,n)=>{"use strict";n.d(t,{Ni:()=>c,B0:()=>d,wA:()=>u,_p:()=>m,Px:()=>f});class r{constructor(e,t,n){this.value=e,this.done=t,this.errored=n}}class i{constructor(e){this.done=!1,this.generatorFactory=e,this.iterator=null}step(e,t){try{let n=this.getIterator(),{value:i,done:s}=n[t](e);return s?this.finalize(i,!1):new r(i,!1,!1)}catch(e){return this.finalize(e,!0)}}getIterator(){return this.iterator||this.done||(this.iterator=this.generatorFactory()),this.iterator}finalize(e,t){return this.done=!0,this.iterator=null,new r(e,!0,t)}}var s=n(98042),o=n(22958),a=n(10541),l=n(37129);const c="PERFORM_TYPE_DEFAULT",u="PERFORM_TYPE_UNLINKED",d="PERFORM_TYPE_LINKED",h={};let p=[];function f(){return p[p.length-1]}class m{constructor({generatorFactory:e,env:t,debug:n}){this.generatorState=new i(e),this.state=Object.assign({},s.N),this.index=1,this.disposers=[],this.finalizeCallbacks=[],this.env=t,this.debug=n,this.cancelRequest=null}start(){this.state.hasStarted||this.cancelRequest||(this.setState({hasStarted:!0}),this.proceedSync(o.MM,void 0),this.taskInstance.onStarted())}cancel(e){return this.requestCancel(e)?(this.state.hasStarted?this.proceedWithCancelAsync():this.finalizeWithCancel(),this.cancelRequest.promise):(e.finalize(),e.promise)}setState(e){Object.assign(this.state,e),this.taskInstance.setState(this.state)}proceedChecked(e,t,n){this.state.isFinished||this.advanceIndex(e)&&(t===o.X7?(this.requestCancel(new l.qs(l.f6),n),this.proceedWithCancelAsync()):this.proceedAsync(t,n))}proceedWithCancelAsync(){this.proceedAsync(o.HD,h)}proceedAsync(e,t){this.advanceIndex(this.index),this.env.async((()=>this.proceedSync(e,t)))}proceedSync(e,t){this.state.isFinished||(this.dispose(),this.generatorState.done?this.handleResolvedReturnedValue(e,t):this.handleResolvedContinueValue(e,t))}handleResolvedContinueValue(e,t){let n=this.index,r=this.generatorStep(t,e);this.advanceIndex(n)&&(r.errored?this.finalize(r.value,a.KH):this.handleYieldedValue(r))}handleResolvedReturnedValue(e,t){switch(e){case o.MM:case o.HD:this.finalize(t,a.R5);break;case o.pA:this.finalize(t,a.KH)}}handleYieldedUnknownThenable(e){let t=this.index;e.then((e=>{this.proceedChecked(t,o.MM,e)}),(e=>{this.proceedChecked(t,o.pA,e)}))}advanceIndex(e){if(this.index===e)return++this.index}handleYieldedValue(e){let t=e.value;t?(this.addDisposer(t[o.Zp]),t[o.Sx]?this.invokeYieldable(t):"function"==typeof t.then?this.handleYieldedUnknownThenable(t):this.proceedWithSimpleValue(t)):this.proceedWithSimpleValue(t)}proceedWithSimpleValue(e){this.proceedAsync(o.MM,e)}addDisposer(e){"function"==typeof e&&this.disposers.push(e)}dispose(){let e=this.disposers;0!==e.length&&(this.disposers=[],e.forEach((e=>e())))}generatorStep(e,t){p.push(this);let n=this.generatorState.step(e,t);if(p.pop(),this._expectsLinkedYield){let e=n.value;e&&e.performType===d||console.warn("You performed a .linked() task without immediately yielding/returning it. This is currently unsupported (but might be supported in future version of ember-concurrency)."),this._expectsLinkedYield=!1}return n}maybeResolveDefer(){this.defer&&this.state.isFinished&&(this.state.completionState===a.R5?this.defer.resolve(this.state.value):this.defer.reject(this.state.error))}onFinalize(e){this.finalizeCallbacks.push(e),this.state.isFinished&&this.runFinalizeCallbacks()}runFinalizeCallbacks(){this.finalizeCallbacks.forEach((e=>e())),this.finalizeCallbacks=[],this.maybeResolveDefer(),this.maybeThrowUnhandledTaskErrorLater()}promise(){return this.defer||(this.defer=this.env.defer(),this.asyncErrorsHandled=!0,this.maybeResolveDefer()),this.defer.promise}maybeThrowUnhandledTaskErrorLater(){this.asyncErrorsHandled||this.state.completionState!==a.KH||(0,l.iw)(this.state.error)||this.env.async((()=>{this.asyncErrorsHandled||this.env.reportUncaughtRejection(this.state.error)}))}requestCancel(e){return!this.cancelRequest&&!this.state.isFinished&&(this.cancelRequest=e,!0)}finalize(e,t){if(this.cancelRequest)return this.finalizeWithCancel();let n={completionState:t};t===a.R5?(n.isSuccessful=!0,n.value=e):t===a.KH?(n.isError=!0,n.error=e):t===a.kY&&(n.error=e),this.finalizeShared(n)}finalizeWithCancel(){let e=this.taskInstance.formatCancelReason(this.cancelRequest.reason),t=new Error(e);this.debugEnabled()&&console.log(e),t.name=l.W5,this.finalizeShared({isCanceled:!0,completionState:a.kY,error:t,cancelReason:e}),this.cancelRequest.finalize()}debugEnabled(){return this.debug||this.env.globalDebuggingEnabled()}finalizeShared(e){this.index++,e.isFinished=!0,this.setState(e),this.runFinalizeCallbacks(),this.dispatchFinalizeEvents(e.completionState)}dispatchFinalizeEvents(e){switch(e){case a.R5:this.taskInstance.onSuccess();break;case a.KH:this.taskInstance.onError(this.state.error);break;case a.kY:this.taskInstance.onCancel(this.state.cancelReason)}}invokeYieldable(e){try{let t=e[o.Sx](this.taskInstance,this.index);this.addDisposer(t)}catch(e){this.env.reportUncaughtRejection(e)}}onYielded(e,t){this.asyncErrorsHandled=!0,this.onFinalize((()=>{let n=this.state.completionState;n===a.R5?e.proceed(t,o.MM,this.state.value):n===a.KH?e.proceed(t,o.pA,this.state.error):n===a.kY&&e.proceed(t,o.X7,null)}));let n=this.getPerformType();if(n!==u)return()=>{this.detectSelfCancelLoop(n,e),this.cancel(new l.qs(l.aV))}}getPerformType(){return this.taskInstance.performType||c}detectSelfCancelLoop(e,t){if(e!==c)return;let n=t.executor&&t.executor.cancelRequest;!n||n.kind!==l.Vt||this.cancelRequest||this.state.isFinished||this.taskInstance.selfCancelLoopWarning(t)}}},98042:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});const r={completionState:n(10541).XS,value:null,error:null,isSuccessful:!1,isError:!1,isCanceled:!1,hasStarted:!1,isFinished:!1}},37307:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});const r={last:null,lastRunning:null,lastPerformed:null,lastSuccessful:null,lastComplete:null,lastErrored:null,lastCanceled:null,lastIncomplete:null,performCount:0};Object.freeze(r)},22819:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(43609);let i=class extends r.c{}},39293:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var r=n(43609),i=n(96069);class s{constructor(e,t,n){this.task=e,this.performType=t,this.linkedObject=n}perform(...e){return this.task._performShared(e,this.performType,this.linkedObject)}}let o=class e extends r.c{constructor(e){super(e),this.generatorFactory=e.generatorFactory,this.perform=this._perform.bind(this)}linked(){let e=(0,i.Px)();if(!e)throw new Error("You can only call .linked() from within a task.");return new s(this,i.B0,e)}unlinked(){return new s(this,i.wA,null)}toString(){return``}_clone(){return new e({context:this.context,debug:this.debug,env:this.env,generatorFactory:this.generatorFactory,group:this.group,hasEnabledEvents:this.hasEnabledEvents,name:this.name,onStateCallback:this.onStateCallback,scheduler:this.scheduler})}_curry(...e){let t=this._clone();return t._curryArgs=[...this._curryArgs||[],...e],t}_perform(...e){return this._performShared(e,i.Ni,null)}_performShared(e,t,n){let r=this._curryArgs?[...this._curryArgs,...e]:e,s=this._taskInstanceFactory(r,t,n);return t===i.B0&&(n._expectsLinkedYield=!0),this._isAlive||s.cancel(),this.scheduler.perform(s),s}_taskInstanceOptions(e,t,n){return{task:this,args:e,executor:new i._p({generatorFactory:()=>this.generatorFactory(e),env:this.env,debug:this.debug}),performType:t,hasEnabledEvents:this.hasEnabledEvents}}}},43609:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(37307),i=n(37129);let s=0;class o{constructor(e){this.context=e.context,this.debug=e.debug||!1,this.enabledModifiers=e.enabledModifiers,this.env=e.env,this.group=e.group,this.hasEnabledEvents=e.hasEnabledEvents,this.modifierOptions=e.modifierOptions,this.name=e.name,this.onStateCallback=e.onStateCallback,this.scheduler=e.scheduler,this.guid="ec_"+s++,this.guids={},this.guids[this.guid]=!0,this.group&&Object.assign(this.guids,this.group.guids)}cancelAll(e){let{reason:t,cancelRequestKind:n,resetState:r}=e||{};t=t||".cancelAll() was explicitly called on the Task";let s=new i.qs(n||i.Jn,t);return this.scheduler.cancelAll(this.guid,s).then((()=>{r&&this._resetState()}))}get _isAlive(){return!0}_resetState(){this.setState(r.K)}setState(){}}Object.assign(o.prototype,r.K),Object.assign(o.prototype,{numRunning:0,numQueued:0,isRunning:!1,isQueued:!1,isIdle:!0,state:"idle"})},22958:(e,t,n)=>{"use strict";n.d(t,{HD:()=>a,MM:()=>s,Oc:()=>h,Sx:()=>i,X7:()=>l,Zp:()=>r,_d:()=>u,pA:()=>o});const r="__ec_cancel__",i="__ec_yieldable__",s="next",o="throw",a="return",l="cancel";class c{constructor(e,t){this._taskInstance=e,this._resumeIndex=t}getTaskInstance(){return this._taskInstance}cancel(){let e=this._taskInstance;e.proceed.call(e,this._resumeIndex,l)}next(e){let t=this._taskInstance;t.proceed.call(t,this._resumeIndex,s,e)}return(e){let t=this._taskInstance;t.proceed.call(t,this._resumeIndex,a,e)}throw(e){let t=this._taskInstance;t.proceed.call(t,this._resumeIndex,o,e)}}class u{constructor(){this[i]=this[i].bind(this)}onYield(){}_deferable(){let e={resolve:void 0,reject:void 0};return e.promise=new Promise(((t,n)=>{e.resolve=t,e.reject=n})),e}_toPromise(){let e=this._deferable(),t={proceed(t,n,r){n==s||n==a?e.resolve(r):e.reject(r)}},n=this[i](t,0);return e.promise[r]=n,e.promise}then(...e){return this._toPromise().then(...e)}catch(...e){return this._toPromise().catch(...e)}finally(...e){return this._toPromise().finally(...e)}[i](e,t){let n=new c(e,t);return this.onYield(n)}}class d extends u{constructor(e){super(),this.ms=e}onYield(e){let t=setTimeout((()=>e.next()),this.ms);return()=>clearTimeout(t)}}function h(e){return new d(e)}new class extends u{onYield(){}}},62869:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});var r=n(96639);function i(e,t,n,i){let s=n[0],o=n.slice(1);return function(...e){if(s&&"function"==typeof s[t]){if(i&&i.value){let t=e.pop();e.push((0,r.get)(t,i.value))}return s[t](...o,...e)}}}n(31837)},94937:(e,t,n)=>{"use strict";n.d(t,{A:()=>_});var r=n(75402),i=(n(31837),n(96639)),s=n(93081),o=n(12413),a=n(86053),l=n(12297),c=n(81859),u=n(15117),d=n(63133),h=n(96567);class p extends h.A{scheduleRefresh(){(0,a.once)(this,this.refresh)}}var f=n(64835);let m=0;function g(e,t,n,r,i,s){if(n&&n.length>0)for(let o=0;oArray.isArray(e)?e:[e];(0,l.Zm)("cancelOn",((e,t)=>e.addCancelEvents(...b(t)))),(0,l.Zm)("observes",((e,t)=>e.addObserverKeys(...b(t)))),(0,l.Zm)("on",((e,t)=>e.addPerformEvents(...b(t))));class _ extends l.Ag{constructor(...e){super(...e),(0,r.A)(this,"env",f.w)}createTask(e){let t=this.getTaskOptions(e);return"object"==typeof this.taskDefinition?new c.N(Object.assign({taskObj:this.taskDefinition},t)):new c.Y(Object.assign({generatorFactory:t=>this.taskDefinition.apply(e,t)},t))}createTaskGroup(e){let t=this.getTaskOptions(e);return new d.N(t)}addCancelEvents(...e){return this._cancelEventNames=this._cancelEventNames||[],this._cancelEventNames.push(...e),this}addObserverKeys(...e){return this._observes=this._observes||[],this._observes.push(...e),this}addPerformEvents(...e){return this._eventNames=this._eventNames||[],this._eventNames.push(...e),this}getModifier(e){let t=super.getModifier(e);return t||"function"!=typeof u.BA.prototype[e]||(t=u.BA.prototype[e].bind(this)),t}getScheduler(e,t){return new p(e,t)}_setupEmberKVO(e){g(s.addListener,e,this._eventNames,this.name,"perform",!1),g(s.addListener,e,this._cancelEventNames,this.name,"cancelAll",!1),g(o.addObserver,e,this._observes,this.name,"perform",!0)}get taskFn(){return this.taskDefinition}set taskFn(e){this.setTaskDefinition(e)}}},63133:(e,t,n)=>{"use strict";n.d(t,{N:()=>o});var r=n(22819),i=n(13823),s=n(79038);class o extends r.N{}s.e&&Object.defineProperties(o.prototype,s.e),Object.assign(o.prototype,i.W)},57327:(e,t,n)=>{"use strict";n.d(t,{H:()=>l});var r=n(98042),i=n(22958),s=n(37129);class o{constructor({task:e,args:t,executor:n,performType:r,hasEnabledEvents:i}){this.task=e,this.args=t,this.performType=r,this.executor=n,this.executor.taskInstance=this,this.hasEnabledEvents=i}setState(){}onStarted(){}onSuccess(){}onError(){}onCancel(){}formatCancelReason(){}selfCancelLoopWarning(){}onFinalize(e){this.executor.onFinalize(e)}proceed(e,t,n){this.executor.proceedChecked(e,t,n)}[i.Sx](e,t){return this.executor.onYielded(e,t)}cancel(e=".cancel() was explicitly called"){this.executor.cancel(new s.qs(s.Jn,e))}then(...e){return this.executor.promise().then(...e)}catch(...e){return this.executor.promise().catch(...e)}finally(...e){return this.executor.promise().finally(...e)}toString(){return`${this.task} TaskInstance`}start(){return this.executor.start(),this}}Object.assign(o.prototype,r.N),Object.assign(o.prototype,{state:"waiting",isDropped:!1,isRunning:!0});var a=n(79038);class l extends o{setState(e){let t=this._recomputeState(e);Object.assign(this,{...e,isRunning:!e.isFinished,isDropped:"dropped"===t,state:t})}_recomputeState(e){return e.isDropped?"dropped":e.isCanceled?e.hasStarted?"canceled":"dropped":e.isFinished?"finished":e.hasStarted?"running":"waiting"}onStarted(){this.triggerEvent("started",this)}onSuccess(){this.triggerEvent("succeeded",this)}onError(e){this.triggerEvent("errored",this,e)}onCancel(e){this.triggerEvent("canceled",this,e)}formatCancelReason(e){return`TaskInstance '${this.getName()}' was canceled because ${e}. For more information, see: http://ember-concurrency.com/docs/task-cancelation-help`}getName(){return this.name||(this.name=this.task&&this.task.name||""),this.name}selfCancelLoopWarning(e){let t=`\`${e.getName()}\``,n=`\`${this.getName()}\``;console.warn(`ember-concurrency detected a potentially hazardous "self-cancel loop" between parent task ${t} and child task ${n}. If you want child task ${n} to be canceled when parent task ${t} is canceled, please change \`.perform()\` to \`.linked().perform()\`. If you want child task ${n} to keep running after parent task ${t} is canceled, change it to \`.unlinked().perform()\``)}triggerEvent(...e){if(!this.hasEnabledEvents)return;let t=this.task,n=t.context,r=t&&t.name;if(n&&n.trigger&&r){let[t,...i]=e;n.trigger(`${r}:${t}`,...i)}}}a.O&&Object.defineProperties(l.prototype,a.O)},15117:(e,t,n)=>{"use strict";n.d(t,{BA:()=>d});var r=n(21266),i=n.n(r),s=(n(96639),n(16272)),o=n(33817),a=n(23475),l=n(50731);let c="__ec_task_factory";const u={restartable(){return this[c].setBufferPolicy(l.A),this},enqueue(){return this[c].setBufferPolicy(s.A),this},drop(){return this[c].setBufferPolicy(o.A),this},keepLatest(){return this[c].setBufferPolicy(a.A),this},maxConcurrency(e){return this[c].setMaxConcurrency(e),this},group(e){return this[c].setGroup(e),this},evented(){return this[c].setEvented(!0),this},debug(){return this[c].setDebug(!0),this},onState(e){return this[c].setOnState(e),this}};class d{}Object.assign(class{}.prototype,u),Object.assign(d.prototype,u,{setup(e,t){this.callSuperSetup&&this.callSuperSetup(...arguments),this[c].setName(t),this[c]._setupEmberKVO(e)},on(){return this[c].addPerformEvents(...arguments),this},cancelOn(){return this[c].addCancelEvents(...arguments),this},observes(){return this[c].addObserverKeys(...arguments),this}}),i()._setClassicDecorator||i()._setComputedDecorator},81859:(e,t,n)=>{"use strict";n.d(t,{N:()=>m,Y:()=>p});var r=n(44688),i=n(96639),s=n.n(i),o=n(97820),a=n(39293),l=n(57327),c=n(96069),u=n(13823),d=n(79038),h=n(37129);class p extends a.Y{constructor(e){super(e),(0,o.isDestroying)(this.context)||(0,o.registerDestructor)(this.context,(()=>{this.cancelAll({reason:"the object it lives on was destroyed or unrendered",cancelRequestKind:h.Vt})}))}get _isAlive(){return!(0,o.isDestroying)(this.context)}_taskInstanceFactory(e,t,n){let r=this._taskInstanceOptions(e,t,n);return new l.H(r)}_clone(){return new p({context:this.context,debug:this.debug,env:this.env,generatorFactory:this.generatorFactory,group:this.group,hasEnabledEvents:this.hasEnabledEvents,name:this.name,onStateCallback:this.onStateCallback,scheduler:this.scheduler})}}d.e&&Object.defineProperties(p.prototype,d.e),Object.assign(p.prototype,u.W);const f="__ec__encap_current_ti";class m extends p{constructor(e){super(e),this.taskObj=e.taskObj,this._encapsulatedTaskStates=new WeakMap,this._encapsulatedTaskInstanceProxies=new WeakMap}_getEncapsulatedTaskClass(){let e=this._encapsulatedTaskImplClass;return e||(e=s().extend(this.taskObj,{unknownProperty(e){let t=this[f];return t?t[e]:void 0}})),e}_taskInstanceFactory(e,t){let n,i=(0,r.getOwner)(this.context),s=this._getEncapsulatedTaskClass().create({context:this.context});(0,r.setOwner)(s,i);let o=new l.H({task:this,args:e,executor:new c._p({generatorFactory:()=>s.perform.apply(n,e),env:this.env,debug:this.debug}),performType:t,hasEnabledEvents:this.hasEnabledEvents});return s[f]=o,this._encapsulatedTaskStates.set(o,s),n=this._wrappedEncapsulatedTaskInstance(o),n}_wrappedEncapsulatedTaskInstance(e){if(!e)return null;let t=this._encapsulatedTaskInstanceProxies,n=t.get(e);if(!n){let r=this._encapsulatedTaskStates.get(e);n=new Proxy(e,{get:(e,t)=>t in e?e[t]:(0,i.get)(r,t.toString()),set:(e,t,n)=>(t in e?e[t]=n:(0,i.set)(r,t.toString(),n),!0),has:(e,t)=>t in e||t in r,ownKeys:e=>Reflect.ownKeys(e).concat(Reflect.ownKeys(r)),defineProperty(n,i,s){let o=t.get(e);return o&&(s.get?s.get=s.get.bind(o):o&&s.set&&(s.set=s.set.bind(o))),Reflect.defineProperty(r,i,s)},getOwnPropertyDescriptor:(e,t)=>t in e?Reflect.getOwnPropertyDescriptor(e,t):Reflect.getOwnPropertyDescriptor(r,t)}),t.set(e,n)}return n}}},13823:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r={_performCount:0,setState(e){this._performCount=this._performCount+(e.numPerformedInc||0);let t=e.numRunning>0,n=e.numQueued>0,r=Object.assign({},e,{performCount:this._performCount,isRunning:t,isQueued:n,isIdle:!t&&!n,state:t?"running":"idle"});Object.assign(this,r)},onState(e,t){t.onStateCallback&&t.onStateCallback(e,t)}}},79038:(e,t,n)=>{"use strict";n.d(t,{O:()=>l,e:()=>a});var r=n(54521),i=n(37307),s=n(98042);function o(e,t){return Object.keys(e).reduce(((t,n)=>function(e,t,n){const i=Object.getOwnPropertyDescriptor(e,n);i.initializer=i.initializer||(()=>e[n]),delete i.value;const s=(0,r.r)(t,n,i);return t[n]=s,t}(e,t,n)),t)}let a,l;a=o(i.K,{}),a=o({numRunning:0,numQueued:0,isRunning:!1,isQueued:!1,isIdle:!0,state:"idle"},a),l=o(s.N,{}),l=o({state:"waiting",isDropped:!1,isRunning:!1},l),Object.freeze(a),Object.freeze(l)},83733:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(9294),i=(n(31837),n(62869)),s=(0,r.helper)((function(e){let t=e[0];return!t||t.cancelAll,(0,i.F)("cancel-all","cancelAll",[t,{reason:"the 'cancel-all' template helper was invoked"}])}))},9538:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(9294),i=(n(31837),n(62869));function s(e){return function(t){"function"==typeof e&&e(t)}}var o=(0,r.helper)((function(e,t){let n=(0,i.F)("perform","perform",e,t);return t&&void 0!==t.onError?function(...e){try{return n(...e).catch(s(t.onError))}catch{s(t.onError)}}:n}))},32160:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});var r=(0,n(9294).helper)((function(e){let[t,...n]=e;return t._curry(...n)}))},94895:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=n(94937);function i(e,t,n,i){let s=t;i&&(s=Object.assign({},s),s[i]=!0);const o=e();return new r.A(n||"",o.generator,s).createTask(o.context)}},30113:(e,t,n)=>{"use strict";n.d(t,{iw:()=>S.iw,O4:()=>y,Oc:()=>i.Oc,lA:()=>k}),n(86053);var r=n(64835),i=n(22958);class s extends i._d{_deferable(){return r.w.defer()}}n(15117);var o=n(94937),a=n(12297);function l(e,t,n,r=[],i=a.Ag){let s,{initializer:o,get:l,value:c}=n;o?s=o.call(void 0):l?s=l.call(void 0):c&&(s=c),s.displayName=`${t} (task)`;let u=new WeakMap,d=new i(t,s,r[0]||{});return d._setupEmberKVO(e),{get(){let e=u.get(this);return e||(e=d.createTask(this),u.set(this,e)),e}}}function c(e,t,n,r=[],i=a.Ag){let s=new WeakMap,o=new i(t,null,r[0]||{});return{get(){let e=s.get(this);return e||(e=o.createTaskGroup(this),s.set(this,e)),e}}}function u(e){return function(...t){return function(e){let[t,n,r]=e;return 3===e.length&&"object"==typeof t&&null!==t&&"string"==typeof n&&("object"==typeof r&&null!==r&&"enumerable"in r&&"configurable"in r||void 0===r)}(t)?e(...t):(...n)=>e(...n,t)}}function d(e,t={},n=a.Ag){return u(((r,i,s,[o]=[])=>{let a=Object.assign({},{...t,...o});return e(r,i,s,[a],n)}))}function h(e={},t=a.Ag){return d(l,e,t)}function p(e={},t=a.Ag){return d(c,e,t)}u(((e,t,n,[r]=[])=>{const{initializer:i}=n;return delete n.initializer,{get(){let e=this[r].lastSuccessful;return e?e.value:i?i.call(this):void 0}}})),h({},o.A),h({drop:!0},o.A),h({enqueue:!0},o.A),h({keepLatest:!0},o.A),h({restartable:!0},o.A),p({},o.A),p({drop:!0},o.A),p({enqueue:!0},o.A),p({keepLatest:!0},o.A),p({restartable:!0},o.A),n(31837),n(63133);var f=n(57327),m=n(75076),g=n.n(m);w(g().Promise,"all",b),w(g(),"allSettled",b);const y=w(m.Promise,"race",b);function b(e){return e}function _(e){return Object.keys(e).map((t=>e[t]))}function v(e){if(e)if(e instanceof f.H)e.executor.asyncErrorsHandled=!0;else if(e instanceof i._d)return e._toPromise();return e}function w(e,t,n){return function(r){let s=function(e,t){if(Array.isArray(e))return e.map(t);if("object"==typeof e&&null!==e){let n={};return Object.keys(e).forEach((r=>{n[r]=t(e[r])})),n}return e}(r,v),o=n(s),a=g().defer();e[t](s).then(a.resolve,a.reject);let l=!1,c=()=>{l||(l=!0,o.forEach((e=>{e&&(e instanceof f.H?e.cancel():"function"==typeof e[i.Zp]&&e[i.Zp]())})))},u=a.promise.finally(c);return u[i.Zp]=c,u}}w(g(),"hash",_),w(g(),"hashSettled",_),n(96639),n(12413);class A extends s{constructor(e,t){super(),this.object=e,this.eventName=t,this.usesDOMEvents=!1}on(e){"function"==typeof this.object.addEventListener?(this.usesDOMEvents=!0,this.object.addEventListener(this.eventName,e)):this.object.on(this.eventName,e)}off(e){this.usesDOMEvents?this.object.removeEventListener(this.eventName,e):this.object.off(this.eventName,e)}onYield(e){let t=null,n=()=>{t&&this.off(t),t=null};return t=t=>{n(),e.next(t)},this.on(t),n}}function k(e,t){return new A(e,t)}var S=n(37129);n(81859)},30608:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(62542),i=(0,n(55524).A)((function(e,t){let n=new Array(...e);return 2===n.length&&n.push({withoutCount:t["without-count"]}),(0,r.td)(...n)}))},52594:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(62542),i=(0,n(55524).A)((function(e){return(0,r.ES)(e[0])}))},62542:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h,td:()=>f,ES:()=>m});var r={plurals:[[/$/,"s"],[/s$/i,"s"],[/^(ax|test)is$/i,"$1es"],[/(octop|vir)us$/i,"$1i"],[/(octop|vir)i$/i,"$1i"],[/(alias|status|bonus)$/i,"$1es"],[/(bu)s$/i,"$1ses"],[/(buffal|tomat)o$/i,"$1oes"],[/([ti])um$/i,"$1a"],[/([ti])a$/i,"$1a"],[/sis$/i,"ses"],[/(?:([^f])fe|([lr])f)$/i,"$1$2ves"],[/(hive)$/i,"$1s"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/(x|ch|ss|sh)$/i,"$1es"],[/(matr|vert|ind)(?:ix|ex)$/i,"$1ices"],[/^(m|l)ouse$/i,"$1ice"],[/^(m|l)ice$/i,"$1ice"],[/^(ox)$/i,"$1en"],[/^(oxen)$/i,"$1"],[/(quiz)$/i,"$1zes"]],singular:[[/s$/i,""],[/(ss)$/i,"$1"],[/(n)ews$/i,"$1ews"],[/([ti])a$/i,"$1um"],[/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/i,"$1sis"],[/(^analy)(sis|ses)$/i,"$1sis"],[/([^f])ves$/i,"$1fe"],[/(hive)s$/i,"$1"],[/(tive)s$/i,"$1"],[/([lr])ves$/i,"$1f"],[/([^aeiouy]|qu)ies$/i,"$1y"],[/(s)eries$/i,"$1eries"],[/(m)ovies$/i,"$1ovie"],[/(x|ch|ss|sh)es$/i,"$1"],[/^(m|l)ice$/i,"$1ouse"],[/(bus)(es)?$/i,"$1"],[/(o)es$/i,"$1"],[/(shoe)s$/i,"$1"],[/(cris|test)(is|es)$/i,"$1is"],[/^(a)x[ie]s$/i,"$1xis"],[/(octop|vir)(us|i)$/i,"$1us"],[/(alias|status|bonus)(es)?$/i,"$1"],[/^(ox)en/i,"$1"],[/(vert|ind)ices$/i,"$1ex"],[/(matr)ices$/i,"$1ix"],[/(quiz)zes$/i,"$1"],[/(database)s$/i,"$1"]],irregularPairs:[["person","people"],["man","men"],["child","children"],["sex","sexes"],["move","moves"],["cow","kine"],["zombie","zombies"]],uncountable:["equipment","information","rice","money","species","series","fish","sheep","jeans","police"]};const i=/^\s*$/,s=/([\w/-]+[_/\s-])([a-z\d]+$)/,o=/([\w/\s-]+)([A-Z][a-z\d]*$)/,a=/[A-Z][a-z\d]*$/,l=/(^|\/)([a-z\u00C0-\u024F])/g;function c(e){return e.replace(l,(e=>e.toUpperCase()))}function u(e,t){for(let n=0,r=t.length;n0&&(r=t[b-1],g=r[0],!g.test(e));b--);return r=r||[],g=r[0],l=r[1],u=e.replace(g,l),u}},h.defaultRules=r,h.inflector=new h(r)},55524:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(21266),i=n.n(r),s=n(9294),o=n.n(s);function a(e){return o()?o().helper(e):i().HTMLBars?i().HTMLBars.makeBoundHelper(e):i().Handlebars.makeBoundHelper(e)}},19991:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(9294),i=(n(31837),n(96234)),s=n(36832),o=(n(47980),n(84217),n(39844),n(56660),n(8659),(0,r.helper)((function([e,t]){return function(n){(0,i.A)((0,s.A)(n.type,e),n)&&t(n)}})))},4283:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r,i,s=n(76287),o=n(9294),a=n.n(o),l=(n(31837),n(94313)),c=n(36832);let u=(r=class extends(a()){constructor(...e){super(...e),(0,s.b)(this,"keyboard",i,this),(0,s._)(this,"keyCombo",void 0),(0,s._)(this,"callback",void 0),(0,s._)(this,"keyboardActivated",!0),(0,s._)(this,"keyboardPriority",0),(0,s._)(this,"eventName","keydown"),(0,s._)(this,"keyboardHandlers",void 0)}compute([e,t],{event:n="keydown",activated:r=!0,priority:i=0}){this.keyCombo=e,this.callback=t,this.eventName=n,this.keyboardActivated=r,this.keyboardPriority=i,this.keyboardHandlers={},this.keyboardHandlers[(0,c.A)(n,e)]=t,this.keyboard.register(this)}willDestroy(){this.keyboard.unregister(this),super.willDestroy(...arguments)}},i=(0,s.a)(r.prototype,"keyboard",[l.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r)},79882:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r,i=n(76287),s=n(94313),o=n.n(s),a=n(44688),l=n(96639),c=n(86053),u=n(36832),d=n(96234);function h(e,t,n=null){if(e.handleKeyboardEvent){if(e.canHandleKeyboardEvent&&!e.canHandleKeyboardEvent(t))return;e.handleKeyboardEvent(t,n)}else{if(!e.keyboardHandlers)throw new Error("A responder registered with the ember-keyboard service must implement either `keyboardHandlers` (property returning a dictionary of listenerNames to handler functions), or `handleKeyboardEvent(event)`)");Object.keys(e.keyboardHandlers).forEach((r=>{(0,d.A)(r,t)&&(n?e.keyboardHandlers[r](t,n):e.keyboardHandlers[r](t))}))}}n(47980),n(84217),n(39844),n(56660),n(8659);let p=(r=class extends(o()){get activeResponders(){let{registeredResponders:e}=this;return Array.from(e).filter((e=>e.keyboardActivated))}get sortedResponders(){return this.activeResponders.sort(((e,t)=>function(e,t,n,r=null){return function(e,t,n,r){return function(e,t){let n=e-t;return(n>0)-(n<0)}(r?r((0,l.get)(e,n)):(0,l.get)(e,n),r?r((0,l.get)(t,n)):(0,l.get)(t,n))}(t,e,n,r)}(e,t,"keyboardPriority")))}get firstResponders(){return this.sortedResponders.filter((e=>e.keyboardFirstResponder))}get normalResponders(){return this.sortedResponders.filter((e=>!e.keyboardFirstResponder))}constructor(...e){if(super(...e),(0,i._)(this,"registeredResponders",new Set),"undefined"!=typeof FastBoot)return;let t=((0,a.getOwner)(this).resolveRegistration("config:environment")||{}).emberKeyboard||{};t.disableOnInputFields&&(this._disableOnInput=!0),this._listeners=t.listeners||["keyUp","keyDown","keyPress"],this._listeners=this._listeners.map((e=>e.toLowerCase())),this._listeners.forEach((e=>{document.addEventListener(e,this._respond)}))}willDestroy(...e){super.willDestroy(...e),"undefined"==typeof FastBoot&&this._listeners.forEach((e=>{document.removeEventListener(e,this._respond)}))}_respond(e){if(this._disableOnInput&&e.target){const t=e.composedPath()[0]??e.target,n=t.tagName;if(t.getAttribute&&null!=t.getAttribute("contenteditable")||"TEXTAREA"===n||"INPUT"===n)return}(0,c.run)((()=>{let{firstResponders:t,normalResponders:n}=this;!function(e,{firstResponders:t,normalResponders:n}){let r=!1,i=!1;const s={stopImmediatePropagation(){r=!0},stopPropagation(){i=!0}};for(const n of t)if(h(n,e,s),r)break;if(i)return;r=!1;let o=Number.POSITIVE_INFINITY;for(const t of n){const n=Number(t.keyboardPriority);if(!r||n!==o){if(n{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function s(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}n.d(t,{_:()=>r,a:()=>s,b:()=>i})},39844:(e,t,n)=>{"use strict";n.d(t,{A:()=>r,H$:()=>i,Ys:()=>s});const r={A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=","<":",",">":".","?":"/",":":";",'"':"'","~":"`","{":"[","}":"]","|":"\\"},i={å:"a",b:"b",ç:"c","∂":"d",ƒ:"f","©":"g","˙":"h","∆":"j","˚":"k","¬":"l",µ:"m",ø:"o",π:"p",œ:"q","®":"r",ß:"s","†":"t","√":"v","∑":"w","≈":"x","¥":"y",Ω:"z","¡":"1","™":"2","£":"3","¢":"4","∞":"5","§":"6","¶":"7","•":"8",ª:"9",º:"0","–":"-","≠":"=","≤":",","≥":".","÷":"/","…":";",æ:"'","“":"[","‘":"]","«":"\\"},s={Å:"a",ı:"b",Î:"d",Ï:"f","˝":"g",Ó:"h",ˆ:"i",Ô:"j","":"k",Ò:"l",Â:"m","˜":"n",Ø:"o",Œ:"q","‰":"r",Í:"s",ˇ:"t","¨":"u","◊":"v","„":"w","˛":"x",Á:"y","¸":"z","⁄":"1","€":"2","‹":"3","›":"4",fi:"5",fl:"6","‡":"7","°":"8","·":"9","‚":"0","—":"-","±":"=","¯":",","˘":".","¿":"/",Ú:";",Æ:"'","`":"`","”":"[","’":"]","»":"\\"}},56660:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(8659);function i(e){if(!(0,r.isNone)(e))switch(e){case 0:return"left";case 1:return"middle";case 2:return"right"}}},96234:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(47980),i=n(84217),s=n(39844),o=n(56660);n(8659);const a="_all";function l(e,t,n=(0,i.A)()){let l;if(e instanceof r.A)l=e;else{if("string"!=typeof e)throw new Error("Expected a `string` or `KeyCombo` as `keyComboOrKeyComboString` argument to `isKey`");l=r.A.parse(e,n)}return l.type===t.type&&(!!function(e){return e.keyOrCode===a&&!1===e.altKey&&!1===e.ctrlKey&&!1===e.metaKey&&!1===e.shiftKey}(l)||!(!function(e,t){return e.type===t.type&&e.altKey===t.altKey&&e.ctrlKey===t.ctrlKey&&e.metaKey===t.metaKey&&e.shiftKey===t.shiftKey}(l,t)||!function(e,t){return t instanceof KeyboardEvent&&(e.keyOrCode===a||(e.keyOrCode===t.code||e.keyOrCode===t.key))}(l,t)&&!function(e,t){return t instanceof MouseEvent&&(e.keyOrCode===a||e.keyOrCode===(0,o.A)(t.button))}(l,t))||function(e,t,n){return u([],e)&&u(["shift"],t)?t.key===e.keyOrCode:u(["shift"],e)&&u(["shift"],t)?(r=t.key,(s.A[r]||r)===e.keyOrCode):"Macintosh"===n&&u(["alt"],e)&&u(["alt"],t)?function(e){return s.H$[e]||e}(t.key)===e.keyOrCode:!("Macintosh"!==n||!u(["shift","alt"],e)||!u(["shift","alt"],t))&&function(e){return s.Ys[e]||e}(t.key)===e.keyOrCode;var r}(l,t,n))}const c=["alt","ctrl","meta","shift","cmd"].filter((e=>"cmd"!=e));function u(e,t){for(let n of c){if(e.includes(n)&&!t[`${n}Key`])return!1;if(!e.includes(n)&&t[`${n}Key`])return!1}return!0}},47980:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(76287),i=n(84217);const s=/^alt$/i,o=/^shift$/i,a=/^ctrl$/i,l=/^meta$/i,c=/^cmd$/i;class u{constructor(e=(0,i.A)()){(0,r._)(this,"type",void 0),(0,r._)(this,"altKey",!1),(0,r._)(this,"ctrlKey",!1),(0,r._)(this,"shiftKey",!1),(0,r._)(this,"metaKey",!1),(0,r._)(this,"keyOrCode",void 0),(0,r._)(this,"platform",void 0),this.platform=e}static parse(e,t=(0,i.A)()){let n=new u(t),[r,...d]=e.split(":");return d=d.join(":"),n.type=r,"+"===d?(n.keyOrCode=d,n):(d.split("+").forEach((e=>{s.test(e)?n.altKey=!0:a.test(e)?n.ctrlKey=!0:l.test(e)?n.metaKey=!0:o.test(e)?n.shiftKey=!0:c.test(e)?t.indexOf("Mac")>-1?n.metaKey=!0:n.ctrlKey=!0:n.keyOrCode=e})),n)}createMatchingKeyboardEvent(e={}){return new KeyboardEvent(this.type,Object.assign({key:this.keyOrCode,code:this.keyOrCode,altKey:this.altKey,ctrlKey:this.ctrlKey,metaKey:this.metaKey,shiftKey:this.shiftKey},e))}}},36832:(e,t,n)=>{"use strict";function r(e,t=[]){let n=t;"string"==typeof t&&(n=t.split("+")),n.indexOf("cmd")>-1&&(n[n.indexOf("cmd")]=function(e){if("undefined"==typeof FastBoot)return void 0===e&&(e=navigator.platform),e.indexOf("Mac")>-1?"meta":"ctrl"}());let r=function(e){return e.sort().join("+")}(n||[]);return""===r&&(r="_all"),`${e}:${r}`}n.d(t,{A:()=>r})},84217:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(31837);let i;function s(e=navigator.userAgent){if((0,r.runInDebug)((()=>{i=null})),!i){let t="Unknown OS";-1!=e.indexOf("Win")&&(t="Windows"),-1!=e.indexOf("Mac")&&(t="Macintosh"),-1!=e.indexOf("Linux")&&(t="Linux"),-1!=e.indexOf("Android")&&(t="Android"),-1!=e.indexOf("like Mac")&&(t="iOS"),i=t}return i}},57393:(e,t,n)=>{"use strict";function r(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function i(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}function s(e){return void 0!==e?.isQueryParams&&"object"==typeof e.values}function o(e){return e}n.d(t,{_:()=>i,a:()=>r,f:()=>o,i:()=>s})},18748:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var r,i,s,o=n(57393),a=n(9294),l=n.n(a);n(31837);let c=(r=(0,n(94313).inject)("link-manager"),i=class extends(l()){constructor(...e){super(...e),(0,o.a)(this,"linkManager",s,this)}normalizeLinkParams(e,t){if(t.fromURL)return this.linkManager.getLinkParamsFromURL(t.fromURL);t.query;const n=e.length>0&&(0,o.i)(e?.[e.length-1])?e[e.length-1]:void 0;return{route:t.route??e[0],models:Array.isArray(t.models)?t.models:t.model?[t.model]:e.length>1?e.slice(1,n?-1:void 0):void 0,query:t.query??n,onTransitionTo:t.onTransitionTo,onReplaceWith:t.onReplaceWith,behavior:t.behavior}}compute(e,t){const n=this.normalizeLinkParams(e,t);return this.linkManager.createLink(n)}},s=(0,o._)(i.prototype,"linkManager",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i)},40844:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>E});var r=n(57393),i=n(54521),s=(n(31837),n(96639)),o=n(57268);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function l(e,t,n){return r=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==a(r)?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var r}const c=Symbol("prevent"),u=0;function d(e){return!!function(e){return function(e){return"object"==typeof e&&null!==e&&"button"in e}(e)&&!function(e){return e.button===u&&!e.ctrlKey&&!e.metaKey}(e)}(e)||(function(e){"function"==typeof e?.preventDefault&&e.preventDefault()}(e),!1)}const h=(0,o.A)(n(44688)),{getOwner:p,setOwner:f}=h;var m,g;let y=(m=class{constructor(e,t){(0,r.a)(this,"_params",g,this),l(this,"_linkManager",void 0),f(this,p(e)),this._linkManager=e,this._params=(0,r.f)(t)}get _routeArgs(){const{routeName:e,models:t,queryParams:n}=this;return n?[e,...t,{queryParams:{...n}}]:[e,...t]}get behavior(){return{...this._linkManager[c],...this._params.behavior}}get isActive(){return!!this._linkManager.isRouterInitialized&&(this._linkManager.currentTransitionStack,this._linkManager.router.isActive(...this._routeArgs))}get isActiveWithoutQueryParams(){return!!this._linkManager.isRouterInitialized&&(this._linkManager.currentTransitionStack,this._linkManager.router.isActive(this.routeName,...this.models))}get isActiveWithoutModels(){return!!this._linkManager.isRouterInitialized&&(this._linkManager.currentTransitionStack,this._linkManager.router.isActive(this.routeName))}get isEntering(){return this._isTransitioning("to")}get isExiting(){return this._isTransitioning("from")}get url(){return this._linkManager.isRouterInitialized?this._linkManager.router.urlFor(...this._routeArgs):""}toString(){return this.url}get routeName(){return this._params.route}get qualifiedRouteName(){return this._linkManager.router.recognize(this.url).name}get models(){return this._params.models??[]}get queryParams(){return this._params.query}_isTransitioning(e){return this._linkManager.currentTransitionStack?.some((t=>t[e]?.name===this.qualifiedRouteName))??!1}canOpen(e){return!this.behavior.prevent?.(e,this)}transitionTo(e){if(this.canOpen(e))return this._params.onTransitionTo?.(),this._linkManager.router.transitionTo(...this._routeArgs)}replaceWith(e){if(this.canOpen(e))return this._params.onReplaceWith?.(),this._linkManager.router.replaceWith(...this._routeArgs)}open(e){return"replace"===(this.behavior.open??"transition")?this.replaceWith(e):this.transitionTo(e)}},g=(0,r._)(m.prototype,"_params",[i.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,r._)(m.prototype,"transitionTo",[s.action],Object.getOwnPropertyDescriptor(m.prototype,"transitionTo"),m.prototype),(0,r._)(m.prototype,"replaceWith",[s.action],Object.getOwnPropertyDescriptor(m.prototype,"replaceWith"),m.prototype),(0,r._)(m.prototype,"open",[s.action],Object.getOwnPropertyDescriptor(m.prototype,"open"),m.prototype),m);var b,_,v,w,A=n(93081),k=n(94313),S=n.n(k);let E=(b=(0,k.inject)("router"),_=class e extends(S()){configureBehavior(e){this[c]={...this[c],...e}}get isRouterInitialized(){return Boolean(p(this).lookup("router:main").currentURL)}get currentTransitionStack(){return this.internalCurrentTransitionStack}createLink(e){return new y(this,e)}getLinkParamsFromURL(t){const n=this.router.recognize(t);return e.getLinkParamsFromRouteInfo(n)}static getLinkParamsFromRouteInfo(e){const t=e.paramNames.map((t=>e.params?.[t]));return{route:e.name,query:e.queryParams,models:t}}constructor(e){super(e),(0,r.a)(this,"internalCurrentTransitionStack",v,this),(0,r.a)(this,"router",w,this),l(this,c,{open:"transition",prevent:d}),(0,A.addListener)(this.router,"routeWillChange",this.handleRouteWillChange),(0,A.addListener)(this.router,"routeDidChange",this.handleRouteDidChange)}willDestroy(){super.willDestroy(),(0,A.removeListener)(this.router,"routeWillChange",this.handleRouteWillChange),(0,A.removeListener)(this.router,"routeDidChange",this.handleRouteDidChange)}handleRouteWillChange(e){this.internalCurrentTransitionStack=[...this.internalCurrentTransitionStack||[],e]}handleRouteDidChange(){this.internalCurrentTransitionStack=void 0}},v=(0,r._)(_.prototype,"internalCurrentTransitionStack",[i.r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,r._)(_.prototype,"router",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,r._)(_.prototype,"handleRouteWillChange",[s.action],Object.getOwnPropertyDescriptor(_.prototype,"handleRouteWillChange"),_.prototype),(0,r._)(_.prototype,"handleRouteDidChange",[s.action],Object.getOwnPropertyDescriptor(_.prototype,"handleRouteDidChange"),_.prototype),_)},39652:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,W:()=>u});var r=n(75402),i=n(44688),s=n(23189),o=n(97820);class a{constructor(e){(0,r.A)(this,"capabilities",(0,s.capabilities)("3.22")),this.owner=e}createModifier(e,t){return{instance:new e(this.owner,t),element:null}}installModifier(e,t,n){const r=function(e,t){const n=e;return n.element=t,n}(e,t);r.instance.modify(t,n.positional,n.named)}updateModifier(e,t){e.instance.modify(e.element,t.positional,t.named)}destroyModifier({instance:e}){(0,o.destroy)(e)}}class l{constructor(e,t){(0,i.setOwner)(this,e)}modify(e,t,n){}}(0,s.setModifierManager)((e=>new a(e)),l);const c=new class{constructor(){(0,r.A)(this,"capabilities",(0,s.capabilities)("3.22"))}createModifier(e){return{element:null,instance:e}}installModifier(e,t,n){const r=function(e,t){const n=e;return n.element=t,n}(e,t),{positional:i,named:s}=n,o=e.instance(t,i,s);"function"==typeof o&&(r.teardown=o)}updateModifier(e,t){"function"==typeof e.teardown&&e.teardown();const n=e.instance(e.element,t.positional,t.named);"function"==typeof n&&(e.teardown=n)}destroyModifier(e){"function"==typeof e.teardown&&e.teardown()}getDebugName(e){return e.instance.toString()}getDebugInstance(e){return e}};function u(e,t){return e.toString=()=>t?.name||e.name,(0,s.setModifierManager)((()=>c),e)}},48063:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r,i,s,o=n(57552),a=n(94313),l=n(9294),c=n.n(l),u=n(61920);let d=(r=(0,a.inject)("page-title"),i=class extends(c()){constructor(e){super(e),(0,o.a)(this,"tokens",s,this),(0,o.b)(this,"tokenId",(0,u.guidFor)(this)),this.tokens.push({id:this.tokenId})}compute(e,t){const n={...t,id:this.tokenId,title:e.join("")};return this.tokens.push(n),this.tokens.scheduleTitleUpdate(),""}willDestroy(){super.willDestroy(),this.tokens.remove(this.tokenId),this.tokens.scheduleTitleUpdate()}},s=(0,o._)(i.prototype,"tokens",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i)},16584:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>g});var r,i,s,o,a,l=n(57552),c=n(86053),u=n(94313),d=n.n(u),h=n(8659);n(31837);const p="undefined"!=typeof FastBoot,f="routeDidChange",m=["separator","prepend","replace"];let g=(r=(0,u.inject)("router"),i=(0,u.inject)("-document"),s=class extends(d()){constructor(e){if(super(e),(0,l.a)(this,"router",o,this),(0,l.a)(this,"document",a,this),(0,l.b)(this,"tokens",[]),(0,l.b)(this,"_defaultConfig",{separator:" | ",prepend:!0,replace:null}),(0,l.b)(this,"scheduleTitleUpdate",(()=>{(0,c.scheduleOnce)("afterRender",this,this._updateTitle)})),this._validateExistingTitleElement(),function(e){return"resolveRegistration"in e}(e)){const n=e.resolveRegistration("config:environment");"object"==typeof(t=n)&&null!==t&&"pageTitle"in t&&m.forEach((e=>{if(!(0,h.isEmpty)(n.pageTitle[e])){const t=n.pageTitle[e];this._defaultConfig[e]=t}}))}var t;this.router.on(f,this.scheduleTitleUpdate)}applyTokenDefaults(e){const t=this._defaultConfig.separator,n=this._defaultConfig.prepend,r=this._defaultConfig.replace;e.previous??=null,e.next??=null,null==e.separator&&(e.separator=t),null==e.prepend&&null!=n&&(e.prepend=n),null==e.replace&&null!=r&&(e.replace=r)}inheritFromPrevious(e){const t=e.previous;t&&(null==e.separator&&(e.separator=t.separator),null==e.prepend&&(e.prepend=t.prepend))}push(e){const t=this._findTokenById(e.id);if(t){const n=this.tokens.indexOf(t),r=[...this.tokens],i=t.previous;return e.previous=i,e.next=t.next,this.inheritFromPrevious(e),this.applyTokenDefaults(e),r.splice(n,1,e),void(this.tokens=r)}const n=this.tokens.slice(-1)[0];n&&(e.previous=n??null,n.next=e,this.inheritFromPrevious(e)),this.applyTokenDefaults(e),this.tokens=[...this.tokens,e]}remove(e){const t=this._findTokenById(e);if(!t)return;const{next:n,previous:r}=t;n&&(n.previous=r),r&&(r.next=n),t.previous=t.next=null;const i=[...this.tokens];i.splice(i.indexOf(t),1),this.tokens=i}get visibleTokens(){const e=this.tokens;let t=e?e.length:0;const n=[];for(;t--;){const r=e[t];if(r){if(r.replace){n.unshift(r);break}n.unshift(r)}}return n}get sortedTokens(){const e=this.visibleTokens;if(!e)return[];let t=!0,n=[];const r=[n],i=[];return e.forEach((e=>{if(e.front)i.unshift(e);else if(e.prepend){t&&(t=!1,n=[],r.push(n));const i=n[0];i&&((e={...e}).separator=i.separator),n.unshift(e)}else t||(t=!0,n=[],r.push(n)),n.push(e)})),i.concat(r.reduce(((e,t)=>e.concat(t)),[]))}toString(){const e=this.sortedTokens,t=[];for(let n=0,r=e.length;nt.id===e))}updateFastbootTitle(e){if(!p)return;const t=this.document.head,n=t.childNodes;for(let e=0;e{"use strict";function r(e,t,n){return(t="symbol"==typeof(r=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var r}function i(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}function s(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer&&(Object.defineProperty(e,t,s),s=null),s}n.d(t,{_:()=>s,a:()=>i,b:()=>r})},60861:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(9294),i=n.n(r),s=n(74771);class o extends(i()){compute(e){for(let t=0,n=e.length;t{"use strict";function r(e,t){return e===t}n.r(t),n.d(t,{default:()=>r})},91374:(e,t,n)=>{"use strict";function r(e,t,n){return n?.forceNumber&&("number"!=typeof e&&(e=Number(e)),"number"!=typeof t&&(t=Number(t))),e>t}n.r(t),n.d(t,{default:()=>r})},61272:(e,t,n)=>{"use strict";function r(e,t,n){return n?.forceNumber&&("number"!=typeof e&&(e=Number(e)),"number"!=typeof t&&(t=Number(t))),e>=t}n.r(t),n.d(t,{default:()=>r})},96070:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(16895);function i(...e){return e.every(r.isArray)}},52031:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.isEmpty});var r=n(8659)},41025:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r.isEqual});var r=n(8659)},8422:(e,t,n)=>{"use strict";function r(e,t,n){return n?.forceNumber&&("number"!=typeof e&&(e=Number(e)),"number"!=typeof t&&(t=Number(t))),er})},99298:(e,t,n)=>{"use strict";function r(e,t,n){return n?.forceNumber&&("number"!=typeof e&&(e=Number(e)),"number"!=typeof t&&(t=Number(t))),e<=t}n.r(t),n.d(t,{default:()=>r})},42364:(e,t,n)=>{"use strict";function r(e,t){return e!==t}n.r(t),n.d(t,{default:()=>r})},61353:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(74771);function i(...e){return e.every((e=>!(0,r.A)(e)))}},18303:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(74771),i=n(9294),s=n.n(i);class o extends(s()){compute(e){for(let t=0,n=e.length;t{"use strict";n.r(t),n.d(t,{default:()=>i});var r=n(74771);function i(e,t){return(0,r.A)(e)!==(0,r.A)(t)}},74771:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(16895);function i(e){return"object"==typeof e&&e&&"isTruthy"in e&&"boolean"==typeof e.isTruthy?e.isTruthy:(0,r.isArray)(e)?0!==e.length:!!e}},18457:(e,t,n)=>{"use strict";let r;n.d(t,{A:()=>i}),r=window;const i=r},96876:(e,t)=>{"use strict";function n(e){let t,n;return"function"==typeof e?t=e:(t=e.get,n=e.set),function(e,r){let i={};return void 0!==t&&(i.get=function(){return t.call(this,this,r)}),void 0!==n&&(i.set=function(e){return n.call(this,this,r,e)}),i}}function r(e,t){let n=t.split("."),r=e;for(let e of n){if(null==r)break;r="function"==typeof r.get?r.get(e):r[e]}return r}t.Ay=n,t.nK=function(e){return n({get:t=>r(t,e),set(t,n,i){!function(e,t,n){let i=t.substr(0,t.lastIndexOf(".")),s=t.substr(t.lastIndexOf(".")+1),o=i?r(e,i):e;"function"==typeof o.set?o.set(s,n):o[s]=n}(t,e,i)}})},t.Um=function(e,t){return n((n=>{let i=r(n,e);return null==i&&(i="function"==typeof t?t():t),i}))},t.lc=function(e){return n((t=>Boolean(r(t,e))))}},20631:(e,t,n)=>{const r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=s(t),e instanceof i){if(e.loose===!!t.loose)return e;e=e.value}e=e.trim().split(/\s+/).join(" "),c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,c("comp",this)}parse(e){const t=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],n=e.match(t);if(!n)throw new TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new u(n[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):!((t=s(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!e.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!e.operator.startsWith("<"))&&(this.semver.version!==e.semver.version||!this.operator.includes("=")||!e.operator.includes("="))&&!(l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<"))&&!(l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">")))}}e.exports=i;const s=n(56064),{safeRe:o,t:a}=n(78363),l=n(80234),c=n(76323),u=n(34335),d=n(57586)},57586:(e,t,n)=>{const r=/\s+/g;class i{constructor(e,t){if(t=o(t),e instanceof i)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new i(e.raw,t);if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.formatted=void 0,this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().replace(r," "),this.set=this.raw.split("||").map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!y(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&b(e[0])){this.set=[e];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let e=0;e0&&(this.formatted+="||");const t=this.set[e];for(let e=0;e0&&(this.formatted+=" "),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){const t=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+e,n=s.get(t);if(n)return n;const r=this.options.loose,i=r?u[d.HYPHENRANGELOOSE]:u[d.HYPHENRANGE];e=e.replace(i,R(this.options.includePrerelease)),l("hyphen replace",e),e=e.replace(u[d.COMPARATORTRIM],h),l("comparator trim",e),e=e.replace(u[d.TILDETRIM],p),l("tilde trim",e),e=e.replace(u[d.CARETTRIM],f),l("caret trim",e);let o=e.split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>O(e,this.options)));r&&(o=o.filter((e=>(l("loose invalid filter",e,this.options),!!e.match(u[d.COMPARATORLOOSE]))))),l("range list",o);const c=new Map,b=o.map((e=>new a(e,this.options)));for(const e of b){if(y(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const _=[...c.values()];return s.set(t,_),_}intersects(e,t){if(!(e instanceof i))throw new TypeError("a Range is required");return this.set.some((n=>_(n,t)&&e.set.some((e=>_(e,t)&&n.every((n=>e.every((e=>n.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,b=e=>""===e.value,_=(e,t)=>{let n=!0;const r=e.slice();let i=r.pop();for(;n&&r.length;)n=r.every((e=>i.intersects(e,t))),i=r.pop();return n},v=(e,t)=>(l("comp",e,t),e=S(e,t),l("caret",e),e=A(e,t),l("tildes",e),e=x(e,t),l("xrange",e),e=T(e,t),l("stars",e),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,A=(e,t)=>e.trim().split(/\s+/).map((e=>k(e,t))).join(" "),k=(e,t)=>{const n=t.loose?u[d.TILDELOOSE]:u[d.TILDE];return e.replace(n,((t,n,r,i,s)=>{let o;return l("tilde",e,t,n,r,i,s),w(n)?o="":w(r)?o=`>=${n}.0.0 <${+n+1}.0.0-0`:w(i)?o=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:s?(l("replaceTilde pr",s),o=`>=${n}.${r}.${i}-${s} <${n}.${+r+1}.0-0`):o=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,l("tilde return",o),o}))},S=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{l("caret",e,t);const n=t.loose?u[d.CARETLOOSE]:u[d.CARET],r=t.includePrerelease?"-0":"";return e.replace(n,((t,n,i,s,o)=>{let a;return l("caret",e,t,n,i,s,o),w(n)?a="":w(i)?a=`>=${n}.0.0${r} <${+n+1}.0.0-0`:w(s)?a="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:o?(l("replaceCaret pr",o),a="0"===n?"0"===i?`>=${n}.${i}.${s}-${o} <${n}.${i}.${+s+1}-0`:`>=${n}.${i}.${s}-${o} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${s}-${o} <${+n+1}.0.0-0`):(l("no pr"),a="0"===n?"0"===i?`>=${n}.${i}.${s}${r} <${n}.${i}.${+s+1}-0`:`>=${n}.${i}.${s}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${s} <${+n+1}.0.0-0`),l("caret return",a),a}))},x=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>{e=e.trim();const n=t.loose?u[d.XRANGELOOSE]:u[d.XRANGE];return e.replace(n,((n,r,i,s,o,a)=>{l("xRange",e,n,r,i,s,o,a);const c=w(i),u=c||w(s),d=u||w(o),h=d;return"="===r&&h&&(r=""),a=t.includePrerelease?"-0":"",c?n=">"===r||"<"===r?"<0.0.0-0":"*":r&&h?(u&&(s=0),o=0,">"===r?(r=">=",u?(i=+i+1,s=0,o=0):(s=+s+1,o=0)):"<="===r&&(r="<",u?i=+i+1:s=+s+1),"<"===r&&(a="-0"),n=`${r+i}.${s}.${o}${a}`):u?n=`>=${i}.0.0${a} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${s}.0${a} <${i}.${+s+1}.0-0`),l("xRange return",n),n}))},T=(e,t)=>(l("replaceStars",e,t),e.trim().replace(u[d.STAR],"")),O=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?d.GTE0PRE:d.GTE0],"")),R=e=>(t,n,r,i,s,o,a,l,c,u,d,h)=>`${n=w(r)?"":w(i)?`>=${r}.0.0${e?"-0":""}`:w(s)?`>=${r}.${i}.0${e?"-0":""}`:o?`>=${n}`:`>=${n}${e?"-0":""}`} ${l=w(c)?"":w(u)?`<${+c+1}.0.0-0`:w(d)?`<${c}.${+u+1}.0-0`:h?`<=${c}.${u}.${d}-${h}`:e?`<${c}.${u}.${+d+1}-0`:`<=${l}`}`.trim(),M=(e,t,n)=>{for(let n=0;n0){const r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},34335:(e,t,n)=>{const r=n(76323),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=n(90209),{safeRe:o,t:a}=n(78363),l=n(56064),{compareIdentifiers:c}=n(26e3);class u{constructor(e,t){if(t=l(t),e instanceof u){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?o[a.LOOSE]:o[a.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===n)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===n&&(r=[t]),0===c(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=u},80234:(e,t,n)=>{const r=n(90102),i=n(7178),s=n(14043),o=n(16040),a=n(43092),l=n(97969);e.exports=(e,t,n,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e===n;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),e!==n;case"":case"=":case"==":return r(e,n,c);case"!=":return i(e,n,c);case">":return s(e,n,c);case">=":return o(e,n,c);case"<":return a(e,n,c);case"<=":return l(e,n,c);default:throw new TypeError(`Invalid operator: ${t}`)}}},53636:(e,t,n)=>{const r=n(34335);e.exports=(e,t,n)=>{const i=new r(e,n),s=new r(t,n);return i.compare(s)||i.compareBuild(s)}},43097:(e,t,n)=>{const r=n(34335);e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))},90102:(e,t,n)=>{const r=n(43097);e.exports=(e,t,n)=>0===r(e,t,n)},14043:(e,t,n)=>{const r=n(43097);e.exports=(e,t,n)=>r(e,t,n)>0},16040:(e,t,n)=>{const r=n(43097);e.exports=(e,t,n)=>r(e,t,n)>=0},43092:(e,t,n)=>{const r=n(43097);e.exports=(e,t,n)=>r(e,t,n)<0},97969:(e,t,n)=>{const r=n(43097);e.exports=(e,t,n)=>r(e,t,n)<=0},7178:(e,t,n)=>{const r=n(43097);e.exports=(e,t,n)=>0!==r(e,t,n)},71093:(e,t,n)=>{const r=n(34335);e.exports=(e,t,n=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!n)return null;throw e}}},75476:(e,t,n)=>{const r=n(53636);e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))},46340:(e,t,n)=>{const r=n(53636);e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))},90209:e=>{const t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},76323:e=>{const t="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=t},26e3:e=>{const t=/^[0-9]+$/,n=(e,n)=>{const r=t.test(e),i=t.test(n);return r&&i&&(e=+e,n=+n),e===n?0:r&&!i?-1:i&&!r?1:en(t,e)}},81843:e=>{e.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){const t=this.map.get(e);return void 0===t?void 0:(this.map.delete(e),this.map.set(e,t),t)}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&void 0!==t){if(this.map.size>=this.max){const e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}},56064:e=>{const t=Object.freeze({loose:!0}),n=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:n},78363:(e,t,n)=>{const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=n(90209),o=n(76323),a=(t=e.exports={}).re=[],l=t.safeRe=[],c=t.src=[],u=t.t={};let d=0;const h="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",s],[h,i]],f=(e,t,n)=>{const r=(e=>{for(const[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e})(t),i=d++;o(e,i,t),u[e]=i,c[i]=t,a[i]=new RegExp(t,n?"g":void 0),l[i]=new RegExp(r,n?"g":void 0)};f("NUMERICIDENTIFIER","0|[1-9]\\d*"),f("NUMERICIDENTIFIERLOOSE","\\d+"),f("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${h}*`),f("MAINVERSION",`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),f("MAINVERSIONLOOSE",`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),f("PRERELEASEIDENTIFIER",`(?:${c[u.NUMERICIDENTIFIER]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASEIDENTIFIERLOOSE",`(?:${c[u.NUMERICIDENTIFIERLOOSE]}|${c[u.NONNUMERICIDENTIFIER]})`),f("PRERELEASE",`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),f("PRERELEASELOOSE",`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),f("BUILDIDENTIFIER",`${h}+`),f("BUILD",`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),f("FULLPLAIN",`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),f("FULL",`^${c[u.FULLPLAIN]}$`),f("LOOSEPLAIN",`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),f("LOOSE",`^${c[u.LOOSEPLAIN]}$`),f("GTLT","((?:<|>)?=?)"),f("XRANGEIDENTIFIERLOOSE",`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),f("XRANGEIDENTIFIER",`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),f("XRANGEPLAIN",`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),f("XRANGEPLAINLOOSE",`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),f("XRANGE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),f("XRANGELOOSE",`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),f("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),f("COERCE",`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),f("COERCEFULL",c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?`+`(?:${c[u.BUILD]})?(?:$|[^\\d])`),f("COERCERTL",c[u.COERCE],!0),f("COERCERTLFULL",c[u.COERCEFULL],!0),f("LONETILDE","(?:~>?)"),f("TILDETRIM",`(\\s*)${c[u.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",f("TILDE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),f("TILDELOOSE",`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),f("LONECARET","(?:\\^)"),f("CARETTRIM",`(\\s*)${c[u.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",f("CARET",`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),f("CARETLOOSE",`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),f("COMPARATORLOOSE",`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),f("COMPARATOR",`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),f("COMPARATORTRIM",`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",f("HYPHENRANGE",`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),f("HYPHENRANGELOOSE",`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),f("STAR","(<|>)?=?\\s*\\*"),f("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),f("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},68861:(e,t,n)=>{const r=n(34335),i=n(57586);e.exports=(e,t,n)=>{let s=null,o=null,a=null;try{a=new i(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==o.compare(e)||(s=e,o=new r(s,n)))})),s}},53271:(e,t,n)=>{"use strict";n.d(t,{I0:()=>x});var r=n(91065),i=(n(31837),n(75402));class s{constructor(e,t){this._value=this._lastValue=e,this._isEqual=t}}function o(e,t){return e===t}function a(e,t=o){return new s(e,t)}function l(e){return e._value}function c(e,t){const{_isEqual:n,_lastValue:r}=e;n(t,r)||(e._value=e._lastValue=t)}!function(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);s>3&&o&&Object.defineProperty(t,n,o)}([r.tracked],s.prototype,"_value",void 0);class u{readStorageFor(e){const{storages:t}=this;let n=t.get(e);void 0===n&&(n=a(null,(()=>!1)),t.set(e,n)),l(n)}dirtyStorageFor(e){const t=this.storages.get(e);t&&c(t,null)}constructor(e){(0,i.A)(this,"collection",a(null,(()=>!1))),(0,i.A)(this,"storages",new Map),this.vals=e?new Map(e):new Map}get(e){return this.readStorageFor(e),this.vals.get(e)}has(e){return this.readStorageFor(e),this.vals.has(e)}entries(){return l(this.collection),this.vals.entries()}keys(){return l(this.collection),this.vals.keys()}values(){return l(this.collection),this.vals.values()}forEach(e){l(this.collection),this.vals.forEach(e)}get size(){return l(this.collection),this.vals.size}[Symbol.iterator](){return l(this.collection),this.vals[Symbol.iterator]()}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}set(e,t){return this.dirtyStorageFor(e),c(this.collection,null),this.vals.set(e,t),this}delete(e){return this.dirtyStorageFor(e),c(this.collection,null),this.vals.delete(e)}clear(){this.storages.forEach((e=>c(e,null))),c(this.collection,null),this.vals.clear()}}Object.setPrototypeOf(u.prototype,Map.prototype);class d{readStorageFor(e){const{storages:t}=this;let n=t.get(e);void 0===n&&(n=a(null,(()=>!1)),t.set(e,n)),l(n)}dirtyStorageFor(e){const t=this.storages.get(e);t&&c(t,null)}constructor(e){(0,i.A)(this,"storages",new WeakMap),this.vals=e?new WeakMap(e):new WeakMap}get(e){return this.readStorageFor(e),this.vals.get(e)}has(e){return this.readStorageFor(e),this.vals.has(e)}set(e,t){return this.dirtyStorageFor(e),this.vals.set(e,t),this}delete(e){return this.dirtyStorageFor(e),this.vals.delete(e)}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}}Object.setPrototypeOf(d.prototype,WeakMap.prototype);class h{storageFor(e){const t=this.storages;let n=t.get(e);return void 0===n&&(n=a(null,(()=>!1)),t.set(e,n)),n}dirtyStorageFor(e){const t=this.storages.get(e);t&&c(t,null)}constructor(e){(0,i.A)(this,"collection",a(null,(()=>!1))),(0,i.A)(this,"storages",new Map),this.vals=new Set(e)}has(e){return l(this.storageFor(e)),this.vals.has(e)}entries(){return l(this.collection),this.vals.entries()}keys(){return l(this.collection),this.vals.keys()}values(){return l(this.collection),this.vals.values()}forEach(e){l(this.collection),this.vals.forEach(e)}get size(){return l(this.collection),this.vals.size}[Symbol.iterator](){return l(this.collection),this.vals[Symbol.iterator]()}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}add(e){return this.dirtyStorageFor(e),c(this.collection,null),this.vals.add(e),this}delete(e){return this.dirtyStorageFor(e),c(this.collection,null),this.vals.delete(e)}clear(){this.storages.forEach((e=>c(e,null))),c(this.collection,null),this.vals.clear()}}Object.setPrototypeOf(h.prototype,Set.prototype);class p{storageFor(e){const t=this.storages;let n=t.get(e);return void 0===n&&(n=a(null,(()=>!1)),t.set(e,n)),n}dirtyStorageFor(e){const t=this.storages.get(e);t&&c(t,null)}constructor(e){(0,i.A)(this,"storages",new WeakMap),this.vals=new WeakSet(e)}has(e){return l(this.storageFor(e)),this.vals.has(e)}add(e){return this.vals.add(e),this.dirtyStorageFor(e),this}delete(e){return this.dirtyStorageFor(e),this.vals.delete(e)}get[Symbol.toStringTag](){return this.vals[Symbol.toStringTag]}}function f(e,t){var n=function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}(e,t);return function(e,t){return t.get?t.get.call(e):t.value}(e,n)}function m(e,t){y(e,t),t.add(e)}function g(e,t,n){y(e,t),t.set(e,n)}function y(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function b(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}Object.setPrototypeOf(p.prototype,WeakSet.prototype);const _=new Set([Symbol.iterator,"concat","entries","every","filter","find","findIndex","flat","flatMap","forEach","includes","indexOf","join","keys","lastIndexOf","map","reduce","reduceRight","slice","some","values"]),v=new Set(["fill","push","unshift"]);function w(e){if("symbol"==typeof e)return null;const t=Number(e);return isNaN(t)?null:t%1==0?t:null}var A=new WeakMap,k=new WeakMap,S=new WeakSet,E=new WeakSet;class x{static from(e,t,n){return new x(t?Array.from(e,t,n):Array.from(e))}static of(...e){return new x(e)}constructor(e=[]){m(this,E),m(this,S),g(this,A,{writable:!0,value:a(null,(()=>!1))}),g(this,k,{writable:!0,value:new Map});let t=e.slice(),n=this,r=new Map,i=!1;return new Proxy(t,{get(e,t){let s=w(t);if(null!==s)return b(n,S,C).call(n,s),l(f(n,A)),e[s];if("length"===t)return i?i=!1:l(f(n,A)),e[t];if(v.has(t)&&(i=!0),_.has(t)){let i=r.get(t);return void 0===i&&(i=(...r)=>(l(f(n,A)),e[t](...r)),r.set(t,i)),i}return e[t]},set(e,t,r){e[t]=r;let i=w(t);return null!==i?(b(n,E,T).call(n,i),c(f(n,A),null)):"length"===t&&c(f(n,A),null),!0},getPrototypeOf:()=>x.prototype})}}function C(e){let t=f(this,k).get(e);void 0===t&&(t=a(null,(()=>!1)),f(this,k).set(e,t)),l(t)}function T(e){const t=f(this,k).get(e);t&&c(t,null)}Object.setPrototypeOf(x.prototype,Array.prototype)},13703:(e,t,n)=>{"use strict";n.d(t,{PO:()=>p}),n(31837),n(96639);var r,i,s,o,a,l,c,u=n(91065),d=n(46715);function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t,n){let{get:r,set:i}=n,s=new WeakMap;return{get(){let e=s.get(this);return void 0===e&&(e=(0,d.createCache)(r.bind(this)),s.set(this,e)),(0,d.getValue)(e)},set:i}}r=class{constructor(){var e;h(this,"prevRemote",void 0),h(this,"peek",void 0),(e=i)&&Object.defineProperty(this,"value",{enumerable:e.enumerable,configurable:e.configurable,writable:e.writable,value:e.initializer?e.initializer.call(this):void 0})}},s=r.prototype,o="value",a=[u.tracked],l={configurable:!0,enumerable:!0,writable:!0,initializer:null},c={},Object.keys(l).forEach((function(e){c[e]=l[e]})),c.enumerable=!!c.enumerable,c.configurable=!!c.configurable,("value"in c||c.initializer)&&(c.writable=!0),void 0===(c=a.slice().reverse().reduce((function(e,t){return t(s,o,e)||e}),c)).initializer&&(Object.defineProperty(s,o,c),c=null),i=c},48339:e=>{function t(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((n=>{const r=e[n],i=typeof r;"object"!==i&&"function"!==i||Object.isFrozen(r)||t(r)})),e}class n{constructor(e){void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function r(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function i(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t];return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}const s=e=>!!e.scope;class o{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=r(e)}openNode(e){if(!s(e))return;const t=((e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){s(e)&&(this.buffer+="")}value(){return this.buffer}span(e){this.buffer+=``}}const a=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class l{constructor(){this.rootNode=a(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=a({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return"string"==typeof t?e.addText(t):t.children&&(e.openNode(t),t.children.forEach((t=>this._walk(e,t))),e.closeNode(t)),e}static _collapse(e){"string"!=typeof e&&e.children&&(e.children.every((e=>"string"==typeof e))?e.children=[e.children.join("")]:e.children.forEach((e=>{l._collapse(e)})))}}class c extends l{constructor(e){super(),this.options=e}addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new o(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function u(e){return e?"string"==typeof e?e:e.source:null}function d(e){return f("(?=",e,")")}function h(e){return f("(?:",e,")*")}function p(e){return f("(?:",e,")?")}function f(...e){return e.map((e=>u(e))).join("")}function m(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>u(e))).join("|")+")"}function g(e){return new RegExp(e.toString()+"|").exec("").length-1}const y=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n;let r=u(e),i="";for(;r.length>0;){const e=y.exec(r);if(!e){i+=r;break}i+=r.substring(0,e.index),r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?i+="\\"+String(Number(e[1])+t):(i+=e[0],"("===e[0]&&n++)}return i})).map((e=>`(${e})`)).join(t)}const _="[a-zA-Z]\\w*",v="[a-zA-Z_]\\w*",w="\\b\\d+(\\.\\d+)?",A="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",k="\\b(0b[01]+)",S={begin:"\\\\[\\s\\S]",relevance:0},E={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[S]},x={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[S]},C=function(e,t,n={}){const r=i({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const s=m("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:f(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},T=C("//","$"),O=C("/\\*","\\*/"),R=C("#","$"),M={scope:"number",begin:w,relevance:0},D={scope:"number",begin:A,relevance:0},N={scope:"number",begin:k,relevance:0},P={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[S,{begin:/\[/,end:/\]/,relevance:0,contains:[S]}]},F={scope:"title",begin:_,relevance:0},j={scope:"title",begin:v,relevance:0},I={begin:"\\.\\s*"+v,relevance:0};var L=Object.freeze({__proto__:null,APOS_STRING_MODE:E,BACKSLASH_ESCAPE:S,BINARY_NUMBER_MODE:N,BINARY_NUMBER_RE:k,COMMENT:C,C_BLOCK_COMMENT_MODE:O,C_LINE_COMMENT_MODE:T,C_NUMBER_MODE:D,C_NUMBER_RE:A,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})},HASH_COMMENT_MODE:R,IDENT_RE:_,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:I,NUMBER_MODE:M,NUMBER_RE:w,PHRASAL_WORDS_MODE:{begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},QUOTE_STRING_MODE:x,REGEXP_MODE:P,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=f(t,/.*\b/,e.binary,/\b.*/)),i({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)},TITLE_MODE:F,UNDERSCORE_IDENT_RE:v,UNDERSCORE_TITLE_MODE:j});function z(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function $(e,t){void 0!==e.className&&(e.scope=e.className,delete e.className)}function q(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=z,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,void 0===e.relevance&&(e.relevance=0))}function B(e,t){Array.isArray(e.illegal)&&(e.illegal=m(...e.illegal))}function U(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function H(e,t){void 0===e.relevance&&(e.relevance=1)}const W=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]})),e.keywords=n.keywords,e.begin=f(n.beforeMatch,d(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},G=["of","and","for","in","not","or","if","then","parent","list","value"],K="keyword";function V(e,t,n=K){const r=Object.create(null);return"string"==typeof e?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach((function(n){Object.assign(r,V(e[n],t,n))})),r;function i(e,n){t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|");r[n[0]]=[e,Y(n[0],n[1])]}))}}function Y(e,t){return t?Number(t):function(e){return G.includes(e.toLowerCase())}(e)?0:1}const X={},J=e=>{console.error(e)},Q=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Z=(e,t)=>{X[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),X[`${e}/${t}`]=!0)},ee=new Error;function te(e,t,{key:n}){let r=0;const i=e[n],s={},o={};for(let e=1;e<=t.length;e++)o[e+r]=i[e],s[e+r]=!0,r+=g(t[e-1]);e[n]=o,e[n]._emit=s,e[n]._multi=!0}function ne(e){!function(e){e.scope&&"object"==typeof e.scope&&null!==e.scope&&(e.beginScope=e.scope,delete e.scope)}(e),"string"==typeof e.beginScope&&(e.beginScope={_wrap:e.beginScope}),"string"==typeof e.endScope&&(e.endScope={_wrap:e.endScope}),function(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw J("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ee;if("object"!=typeof e.beginScope||null===e.beginScope)throw J("beginScope must be object"),ee;te(e,e.begin,{key:"beginScope"}),e.begin=b(e.begin,{joinWith:""})}}(e),function(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw J("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ee;if("object"!=typeof e.endScope||null===e.endScope)throw J("endScope must be object"),ee;te(e,e.end,{key:"endScope"}),e.end=b(e.end,{joinWith:""})}}(e)}function re(e){function t(t,n){return new RegExp(u(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(e,t){t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),this.matchAt+=g(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null);const e=this.regexes.map((e=>e[1]));this.matcherRe=t(b(e,{joinWith:"|"}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex;const t=this.matcherRe.exec(e);if(!t)return null;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n];return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex;let n=t.exec(e);if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}return n&&(this.regexIndex+=n.position+1,this.regexIndex===this.count&&this.considerAll()),n}}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=i(e.classNameAliases||{}),function n(s,o){const a=s;if(s.isCompiled)return a;[$,U,ne,W].forEach((e=>e(s,o))),e.compilerExtensions.forEach((e=>e(s,o))),s.__beforeBegin=null,[q,B,H].forEach((e=>e(s,o))),s.isCompiled=!0;let l=null;return"object"==typeof s.keywords&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),l=s.keywords.$pattern,delete s.keywords.$pattern),l=l||/\w+/,s.keywords&&(s.keywords=V(s.keywords,e.case_insensitive)),a.keywordPatternRe=t(l,!0),o&&(s.begin||(s.begin=/\B|\b/),a.beginRe=t(a.begin),s.end||s.endsWithParent||(s.end=/\B|\b/),s.end&&(a.endRe=t(a.end)),a.terminatorEnd=u(a.end)||"",s.endsWithParent&&o.terminatorEnd&&(a.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(a.illegalRe=t(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map((function(e){return function(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){return i(e,{variants:null},t)}))),e.cachedVariants?e.cachedVariants:ie(e)?i(e,{starts:e.starts?i(e.starts):null}):Object.isFrozen(e)?i(e):e}("self"===e?s:e)}))),s.contains.forEach((function(e){n(e,a)})),s.starts&&n(s.starts,o),a.matcher=function(e){const t=new r;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(a),a}(e)}function ie(e){return!!e&&(e.endsWithParent||ie(e.starts))}class se extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const oe=r,ae=i,le=Symbol("nomatch"),ce=function(e){const r=Object.create(null),i=Object.create(null),s=[];let o=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",l={disableAutodetect:!0,name:"Plain text",contains:[]};let u={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:c};function g(e){return u.noHighlightRe.test(e)}function y(e,t,n){let r="",i="";"object"==typeof t?(r=e,n=t.ignoreIllegals,i=t.language):(Z("10.7.0","highlight(lang, code, ...args) has been deprecated."),Z("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),i=e,r=t),void 0===n&&(n=!0);const s={code:r,language:i};x("before:highlight",s);const o=s.result?s.result:b(s.language,s.code,n);return o.code=s.code,x("after:highlight",o),o}function b(e,t,i,s){const l=Object.create(null);function c(){if(!x.keywords)return void T.addText(O);let e=0;x.keywordPatternRe.lastIndex=0;let t=x.keywordPatternRe.exec(O),n="";for(;t;){n+=O.substring(e,t.index);const i=A.case_insensitive?t[0].toLowerCase():t[0],s=(r=i,x.keywords[r]);if(s){const[e,r]=s;if(T.addText(n),n="",l[i]=(l[i]||0)+1,l[i]<=7&&(R+=r),e.startsWith("_"))n+=t[0];else{const n=A.classNameAliases[e]||e;h(t[0],n)}}else n+=t[0];e=x.keywordPatternRe.lastIndex,t=x.keywordPatternRe.exec(O)}var r;n+=O.substring(e),T.addText(n)}function d(){null!=x.subLanguage?function(){if(""===O)return;let e=null;if("string"==typeof x.subLanguage){if(!r[x.subLanguage])return void T.addText(O);e=b(x.subLanguage,O,!0,C[x.subLanguage]),C[x.subLanguage]=e._top}else e=_(O,x.subLanguage.length?x.subLanguage:null);x.relevance>0&&(R+=e.relevance),T.__addSublanguage(e._emitter,e.language)}():c(),O=""}function h(e,t){""!==e&&(T.startScope(t),T.addText(e),T.endScope())}function p(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++;continue}const r=A.classNameAliases[e[n]]||e[n],i=t[n];r?h(i,r):(O=i,c(),O=""),n++}}function f(e,t){return e.scope&&"string"==typeof e.scope&&T.openNode(A.classNameAliases[e.scope]||e.scope),e.beginScope&&(e.beginScope._wrap?(h(O,A.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),O=""):e.beginScope._multi&&(p(e.beginScope,t),O="")),x=Object.create(e,{parent:{value:x}}),x}function m(e,t,r){let i=function(e,t){const n=e&&e.exec(t);return n&&0===n.index}(e.endRe,r);if(i){if(e["on:end"]){const r=new n(e);e["on:end"](t,r),r.isMatchIgnored&&(i=!1)}if(i){for(;e.endsParent&&e.parent;)e=e.parent;return e}}if(e.endsWithParent)return m(e.parent,t,r)}function g(e){return 0===x.matcher.regexIndex?(O+=e[0],1):(N=!0,0)}function y(e){const n=e[0],r=t.substring(e.index),i=m(x,e,r);if(!i)return le;const s=x;x.endScope&&x.endScope._wrap?(d(),h(n,x.endScope._wrap)):x.endScope&&x.endScope._multi?(d(),p(x.endScope,e)):s.skip?O+=n:(s.returnEnd||s.excludeEnd||(O+=n),d(),s.excludeEnd&&(O=n));do{x.scope&&T.closeNode(),x.skip||x.subLanguage||(R+=x.relevance),x=x.parent}while(x!==i.parent);return i.starts&&f(i.starts,e),s.returnEnd?0:n.length}let v={};function w(r,s){const a=s&&s[0];if(O+=r,null==a)return d(),0;if("begin"===v.type&&"end"===s.type&&v.index===s.index&&""===a){if(O+=t.slice(s.index,s.index+1),!o){const t=new Error(`0 width match regex (${e})`);throw t.languageName=e,t.badRule=v.rule,t}return 1}if(v=s,"begin"===s.type)return function(e){const t=e[0],r=e.rule,i=new n(r),s=[r.__beforeBegin,r["on:begin"]];for(const n of s)if(n&&(n(e,i),i.isMatchIgnored))return g(t);return r.skip?O+=t:(r.excludeBegin&&(O+=t),d(),r.returnBegin||r.excludeBegin||(O=t)),f(r,e),r.returnBegin?0:t.length}(s);if("illegal"===s.type&&!i){const e=new Error('Illegal lexeme "'+a+'" for mode "'+(x.scope||"")+'"');throw e.mode=x,e}if("end"===s.type){const e=y(s);if(e!==le)return e}if("illegal"===s.type&&""===a)return 1;if(D>1e5&&D>3*s.index)throw new Error("potential infinite loop, way more iterations than matches");return O+=a,a.length}const A=k(e);if(!A)throw J(a.replace("{}",e)),new Error('Unknown language: "'+e+'"');const S=re(A);let E="",x=s||S;const C={},T=new u.__emitter(u);!function(){const e=[];for(let t=x;t!==A;t=t.parent)t.scope&&e.unshift(t.scope);e.forEach((e=>T.openNode(e)))}();let O="",R=0,M=0,D=0,N=!1;try{if(A.__emitTokens)A.__emitTokens(t,T);else{for(x.matcher.considerAll();;){D++,N?N=!1:x.matcher.considerAll(),x.matcher.lastIndex=M;const e=x.matcher.exec(t);if(!e)break;const n=w(t.substring(M,e.index),e);M=e.index+n}w(t.substring(M))}return T.finalize(),E=T.toHTML(),{language:e,value:E,relevance:R,illegal:!1,_emitter:T,_top:x}}catch(n){if(n.message&&n.message.includes("Illegal"))return{language:e,value:oe(t),illegal:!0,relevance:0,_illegalBy:{message:n.message,index:M,context:t.slice(M-100,M+100),mode:n.mode,resultSoFar:E},_emitter:T};if(o)return{language:e,value:oe(t),illegal:!1,relevance:0,errorRaised:n,_emitter:T,_top:x};throw n}}function _(e,t){t=t||u.languages||Object.keys(r);const n=function(e){const t={value:oe(e),illegal:!1,relevance:0,_top:l,_emitter:new u.__emitter(u)};return t._emitter.addText(e),t}(e),i=t.filter(k).filter(E).map((t=>b(t,e,!1)));i.unshift(n);const s=i.sort(((e,t)=>{if(e.relevance!==t.relevance)return t.relevance-e.relevance;if(e.language&&t.language){if(k(e.language).supersetOf===t.language)return 1;if(k(t.language).supersetOf===e.language)return-1}return 0})),[o,a]=s,c=o;return c.secondBest=a,c}function v(e){let t=null;const n=function(e){let t=e.className+" ";t+=e.parentNode?e.parentNode.className:"";const n=u.languageDetectRe.exec(t);if(n){const t=k(n[1]);return t||(Q(a.replace("{}",n[1])),Q("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"}return t.split(/\s+/).find((e=>g(e)||k(e)))}(e);if(g(n))return;if(x("before:highlightElement",{el:e,language:n}),e.dataset.highlighted)return void console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",e);if(e.children.length>0&&(u.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(e)),u.throwUnescapedHTML))throw new se("One of your code blocks includes unescaped HTML.",e.innerHTML);t=e;const r=t.textContent,s=n?y(r,{language:n,ignoreIllegals:!0}):_(r);e.innerHTML=s.value,e.dataset.highlighted="yes",function(e,t,n){const r=t&&i[t]||n;e.classList.add("hljs"),e.classList.add(`language-${r}`)}(e,n,s.language),e.result={language:s.language,re:s.relevance,relevance:s.relevance},s.secondBest&&(e.secondBest={language:s.secondBest.language,relevance:s.secondBest.relevance}),x("after:highlightElement",{el:e,result:s,text:r})}let w=!1;function A(){"loading"!==document.readyState?document.querySelectorAll(u.cssSelector).forEach(v):w=!0}function k(e){return e=(e||"").toLowerCase(),r[e]||r[i[e]]}function S(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{i[e.toLowerCase()]=t}))}function E(e){const t=k(e);return t&&!t.disableAutodetect}function x(e,t){const n=e;s.forEach((function(e){e[n]&&e[n](t)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){w&&A()}),!1),Object.assign(e,{highlight:y,highlightAuto:_,highlightAll:A,highlightElement:v,highlightBlock:function(e){return Z("10.7.0","highlightBlock will be removed entirely in v12.0"),Z("10.7.0","Please use highlightElement now."),v(e)},configure:function(e){u=ae(u,e)},initHighlighting:()=>{A(),Z("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")},initHighlightingOnLoad:function(){A(),Z("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")},registerLanguage:function(t,n){let i=null;try{i=n(e)}catch(e){if(J("Language definition for '{}' could not be registered.".replace("{}",t)),!o)throw e;J(e),i=l}i.name||(i.name=t),r[t]=i,i.rawDefinition=n.bind(null,e),i.aliases&&S(i.aliases,{languageName:t})},unregisterLanguage:function(e){delete r[e];for(const t of Object.keys(i))i[t]===e&&delete i[t]},listLanguages:function(){return Object.keys(r)},getLanguage:k,registerAliases:S,autoDetection:E,inherit:ae,addPlugin:function(e){!function(e){e["before:highlightBlock"]&&!e["before:highlightElement"]&&(e["before:highlightElement"]=t=>{e["before:highlightBlock"](Object.assign({block:t.el},t))}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{e["after:highlightBlock"](Object.assign({block:t.el},t))})}(e),s.push(e)},removePlugin:function(e){const t=s.indexOf(e);-1!==t&&s.splice(t,1)}}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0},e.versionString="11.10.0",e.regex={concat:f,lookahead:d,either:m,optional:p,anyNumberOfTimes:h};for(const e in L)"object"==typeof L[e]&&t(L[e]);return Object.assign(e,L),e},ue=ce({});ue.newInstance=()=>ce({}),e.exports=ue,ue.HighlightJS=ue,ue.default=ue},8230:(e,t,n)=>{"use strict";function r(e,t,n,r,i){var s={};return Object.keys(r).forEach((function(e){s[e]=r[e]})),s.enumerable=!!s.enumerable,s.configurable=!!s.configurable,("value"in s||s.initializer)&&(s.writable=!0),s=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),s),i&&void 0!==s.initializer&&(s.value=s.initializer?s.initializer.call(i):void 0,s.initializer=void 0),void 0===s.initializer?(Object.defineProperty(e,t,s),null):s}n.d(t,{A:()=>r})},75402:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t,n){return(t=function(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>i})},65010:(e,t,n)=>{"use strict";function r(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})}n.d(t,{A:()=>r})},34784:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},53587:(e,t,n)=>{"use strict";n.d(t,{LV:()=>d,jN:()=>u,jf:()=>l});var r=n(10598),i=n(94677),s=n(36123),o=n(4269),a=n(79170);const l=s.O;let c=0;function u(){return c>0}function d(e,t={},n){if("function"!=typeof e)return e;try{const t=e.__sentry_wrapped__;if(t)return t;if((0,o.sp)(e))return e}catch(t){return e}const s=function(){const s=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const r=s.map((e=>d(e,t)));return e.apply(this,r)}catch(e){throw c++,setTimeout((()=>{c--})),(0,r.v4)((n=>{n.addEventProcessor((e=>(t.mechanism&&((0,a.gO)(e,void 0,void 0),(0,a.M6)(e,t.mechanism)),e.extra={...e.extra,arguments:s},e))),(0,i.Cp)(e)})),e}};try{for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(s[t]=e[t])}catch(e){}(0,o.pO)(s,e),(0,o.my)(e,"__sentry_wrapped__",s);try{Object.getOwnPropertyDescriptor(s,"name").configurable&&Object.defineProperty(s,"name",{get:()=>e.name})}catch(e){}return s}},8338:(e,t,n)=>{"use strict";n.d(t,{browserTracingIntegration:()=>rt,Cp:()=>r.Cp,o5:()=>i.o5,gV:()=>r.gV,startBrowserTracingNavigationSpan:()=>st,startBrowserTracingPageLoadSpan:()=>it});var r=n(94677),i=n(10598),s=n(56013),o=n(3393),a=n(80405),l=n(90955),c=n(4331),u=n(2516),d=n(39414),h=n(49177),p=n(15358),f=n(48101),m=n(80947);const g=(e,t,n,r)=>{let i,s;return o=>{t.value>=0&&(o||r)&&(s=t.value-(i||0),(s||void 0===i)&&(i=t.value,t.delta=s,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,n),e(t)))}},y=()=>f.j.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],b=()=>{const e=y();return e&&e.activationStart||0},_=(e,t)=>{const n=y();let r="navigate";return n&&(f.j.document&&f.j.document.prerendering||b()>0?r="prerender":f.j.document&&f.j.document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:`v3-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:r}},v=(e,t,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const r=new PerformanceObserver((e=>{Promise.resolve().then((()=>{t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},w=e=>{const t=t=>{("pagehide"===t.type||f.j.document&&"hidden"===f.j.document.visibilityState)&&e(t)};f.j.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},A=e=>{let t=!1;return n=>{t||(e(n),t=!0)}};let k=-1;const S=e=>{"hidden"===f.j.document.visibilityState&&k>-1&&(k="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("visibilitychange",S,!0),removeEventListener("prerenderingchange",S,!0))},E=()=>(f.j.document&&k<0&&(k="hidden"!==f.j.document.visibilityState||f.j.document.prerendering?1/0:0,addEventListener("visibilitychange",S,!0),addEventListener("prerenderingchange",S,!0)),{get firstHiddenTime(){return k}}),x=e=>{f.j.document&&f.j.document.prerendering?addEventListener("prerenderingchange",(()=>e()),!0):e()},C=[1800,3e3],T=[.1,.25],O=(e,t={})=>{((e,t={})=>{x((()=>{const n=E(),r=_("FCP");let i;const s=v("paint",(e=>{e.forEach((e=>{"first-contentful-paint"===e.name&&(s.disconnect(),e.startTime{const n=_("CLS",0);let r,i=0,s=[];const o=e=>{e.forEach((e=>{if(!e.hadRecentInput){const t=s[0],n=s[s.length-1];i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,s.push(e)):(i=e.value,s=[e])}})),i>n.value&&(n.value=i,n.entries=s,r())},a=v("layout-shift",o);a&&(r=g(e,n,T,t.reportAllChanges),w((()=>{o(a.takeRecords()),r(!0)})),setTimeout(r,0))})))},R=[100,300],M=(e,t={})=>{x((()=>{const n=E(),r=_("FID");let i;const s=e=>{e.startTime{e.forEach(s)},a=v("first-input",o);i=g(e,r,R,t.reportAllChanges),a&&w(A((()=>{o(a.takeRecords()),a.disconnect()})))}))};let D=0,N=1/0,P=0;const F=e=>{e.forEach((e=>{e.interactionId&&(N=Math.min(N,e.interactionId),P=Math.max(P,e.interactionId),D=P?(P-N)/7+1:0)}))};let j;const I=()=>{"interactionCount"in performance||j||(j=v("event",F,{type:"event",buffered:!0,durationThreshold:0}))},L=[200,500],z=()=>(j?D:performance.interactionCount||0)-0,$=[],q={},B=e=>{const t=$[$.length-1],n=q[e.interactionId];if(n||$.length<10||t&&e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{const t={id:e.interactionId,latency:e.duration,entries:[e]};q[t.id]=t,$.push(t)}$.sort(((e,t)=>t.latency-e.latency)),$.splice(10).forEach((e=>{delete q[e.id]}))}},U=(e,t={})=>{x((()=>{I();const n=_("INP");let r;const i=e=>{e.forEach((e=>{e.interactionId&&B(e),"first-input"===e.entryType&&!$.some((t=>t.entries.some((t=>e.duration===t.duration&&e.startTime===t.startTime))))&&B(e)}));const t=(()=>{const e=Math.min($.length-1,Math.floor(z()/50));return $[e]})();t&&t.latency!==n.value&&(n.value=t.latency,n.entries=t.entries,r())},s=v("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});r=g(e,n,L,t.reportAllChanges),s&&("PerformanceEventTiming"in f.j&&"interactionId"in PerformanceEventTiming.prototype&&s.observe({type:"first-input",buffered:!0}),w((()=>{i(s.takeRecords()),n.value<0&&z()>0&&(n.value=0,n.entries=[]),r(!0)})))}))},H=[2500,4e3],W={},G=(e,t={})=>{x((()=>{const n=E(),r=_("LCP");let i;const s=e=>{const t=e[e.length-1];t&&t.startTime{W[r.id]||(s(o.takeRecords()),o.disconnect(),W[r.id]=!0,i(!0))}));["keydown","click"].forEach((e=>{f.j.document&&addEventListener(e,(()=>setTimeout(n,0)),!0)})),w(n)}}))},K=[800,1800],V=e=>{f.j.document&&f.j.document.prerendering?x((()=>V(e))):f.j.document&&"complete"!==f.j.document.readyState?addEventListener("load",(()=>V(e)),!0):setTimeout(e,0)},Y=(e,t={})=>{const n=_("TTFB"),r=g(e,n,K,t.reportAllChanges);V((()=>{const e=y();if(e){const t=e.responseStart;if(t<=0||t>performance.now())return;n.value=Math.max(t-b(),0),n.entries=[e],r(!0)}}))},X={},J={};let Q,Z,ee,te,ne;function re(e,t){return de(e,t),J[e]||(function(e){const t={};"event"===e&&(t.durationThreshold=0),v(e,(t=>{ie(e,{entries:t})}),t)}(e),J[e]=!0),he(e,t)}function ie(e,t){const n=X[e];if(n&&n.length)for(const r of n)try{r(t)}catch(t){p.T&&d.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,m.qQ)(r)}\nError:`,t)}}function se(){return O((e=>{ie("cls",{metric:e}),Q=e}),{reportAllChanges:!0})}function oe(){return M((e=>{ie("fid",{metric:e}),Z=e}))}function ae(){return G((e=>{ie("lcp",{metric:e}),ee=e}),{reportAllChanges:!0})}function le(){return Y((e=>{ie("ttfb",{metric:e}),te=e}))}function ce(){return U((e=>{ie("inp",{metric:e}),ne=e}))}function ue(e,t,n,r,i=!1){let s;return de(e,t),J[e]||(s=n(),J[e]=!0),r&&t({metric:r}),he(e,t,i?s:void 0)}function de(e,t){X[e]=X[e]||[],X[e].push(t)}function he(e,t,n){return()=>{n&&n();const r=X[e];if(!r)return;const i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function pe(e){return"number"==typeof e&&isFinite(e)}function fe(e,t,n,{...r}){const i=(0,s.et)(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),(0,o.hb)(e,(()=>{const e=(0,o.Uk)({startTime:t,...r});return e&&e.end(n),e}))}function me(){return f.j&&f.j.addEventListener&&f.j.performance}function ge(e){return e/1e3}const ye=2147483647;let be,_e,ve=0,we={};function Ae(){const e=me();if(e&&c.k3){e.mark&&f.j.performance.mark("sentry-tracing-init");const t=ue("fid",(({metric:e})=>{const t=e.entries[e.entries.length-1];if(!t)return;const n=ge(c.k3),r=ge(t.startTime);p.T&&d.vF.log("[Measurements] Adding FID"),we.fid={value:e.value,unit:"millisecond"},we["mark.fid"]={value:n+r,unit:"second"}}),oe,Z),n=function(e,t=!1){return ue("cls",e,se,Q,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(p.T&&d.vF.log("[Measurements] Adding CLS"),we.cls={value:e.value,unit:""},_e=t)}),!0),r=function(e,t=!1){return ue("lcp",e,ae,ee,t)}((({metric:e})=>{const t=e.entries[e.entries.length-1];t&&(p.T&&d.vF.log("[Measurements] Adding LCP"),we.lcp={value:e.value,unit:"millisecond"},be=t)}),!0),i=ue("ttfb",(({metric:e})=>{e.entries[e.entries.length-1]&&(p.T&&d.vF.log("[Measurements] Adding TTFB"),we.ttfb={value:e.value,unit:"millisecond"})}),le,te);return()=>{t(),n(),r(),i()}}return()=>{}}function ke(e,t,n,r,i,s){const o=s?t[s]:t[`${n}End`],l=t[`${n}Start`];l&&o&&fe(e,r+ge(l),r+ge(o),{op:"browser",name:i||n,attributes:{[a.JD]:"auto.ui.browser.metrics"}})}function Se(e,t,n,r){const i=t[n];null!=i&&i{!l&&0===n.size&&h&&(u="idleTimeout",w.end(e))}),f)}function S(e){r=setTimeout((()=>{!l&&h&&(u="heartbeatFailed",w.end(e))}),g)}function E(e){l=!0,n.clear(),p.forEach((e=>e())),(0,De.r)(_,v);const t=(0,s.et)(w),{start_timestamp:r}=t;if(!r)return;(t.data||{})[a.fs]||w.setAttribute(a.fs,u),d.vF.log(`[Tracing] Idle span "${t.op}" finished`);const i=(0,s.xO)(w).filter((e=>e!==w));let o=0;i.forEach((t=>{t.isRecording()&&(t.setStatus({code:Pe.TJ,message:"cancelled"}),t.end(e),Re.T&&d.vF.log("[Tracing] Cancelling span since span ended early",JSON.stringify(t,void 0,2)));const n=(0,s.et)(t),{timestamp:r=0,start_timestamp:i=0}=n,a=i<=e,l=r-i<=(m+f)/1e3;if(Re.T){const e=JSON.stringify(t,void 0,2);a?l||d.vF.log("[Tracing] Discarding span since it finished after idle span final timeout",e):d.vF.log("[Tracing] Discarding span since it happened after idle span was finished",e)}l&&a||((0,s.VS)(w,t),o++)})),o>0&&w.setAttribute("sentry.idle_span_discarded_spans",o)}return w.end=new Proxy(w.end,{apply(e,t,n){y&&y(w);const[r,...i]=n,o=r||(0,c.zf)(),a=(0,s.cI)(o),l=(0,s.xO)(w).filter((e=>e!==w));if(!l.length)return E(a),Reflect.apply(e,t,[a,...i]);const u=l.map((e=>(0,s.et)(e).timestamp)).filter((e=>!!e)),d=u.length?Math.max(...u):void 0,h=(0,s.et)(w).start_timestamp,p=Math.min(h?h+m/1e3:1/0,Math.max(h||-1/0,Math.min(a,d||1/0)));return E(p),Reflect.apply(e,t,[p,...i])}}),p.push(b.on("spanStart",(e=>{var t;l||e===w||(0,s.et)(e).timestamp||(0,s.xO)(w).includes(e)&&(t=e.spanContext().spanId,A(),n.set(t,!0),S((0,c.zf)()+g/1e3))}))),p.push(b.on("spanEnd",(e=>{var t;l||(t=e.spanContext().spanId,n.has(t)&&n.delete(t),0===n.size&&k((0,c.zf)()+f/1e3))}))),p.push(b.on("idleSpanEnableAutoFinish",(e=>{e===w&&(h=!0,k(),n.size&&S())}))),t.disableAutoFinish||k(),setTimeout((()=>{l||(w.setStatus({code:Pe.TJ,message:"deadline_exceeded"}),u="finalTimeout",w.end())}),m),w}var Ie=n(66871),Le=n(28711);let ze=!1;function $e(){const e=(0,s.Bk)(),t=e&&(0,s.zU)(e);if(t){const e="internal_error";Re.T&&d.vF.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:Pe.TJ,message:e})}}$e.tag="sentry_tracingErrorCallback";var qe=n(66980),Be=n(64874),Ue=n(36799),He=n(34784),We=n(53587),Ge=n(73846),Ke=n(33182),Ve=n(61214);var Ye=n(60944),Xe=n(77351);const Je={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function Qe(e){const{traceFetch:t,traceXHR:n,shouldCreateSpanForRequest:r,enableHTTPTimings:l,tracePropagationTargets:c}={traceFetch:Je.traceFetch,traceXHR:Je.traceXHR,...e},u="function"==typeof r?r:e=>!0,d=e=>function(e,t){const n=We.jf.location&&We.jf.location.href;if(n){let r,i;try{r=new URL(e,n),i=new URL(n).origin}catch(e){return!1}const s=r.origin===i;return t?(0,Xe.Xr)(r.toString(),t)||s&&(0,Xe.Xr)(r.pathname,t):s}{const n=!!e.match(/^\/(?!\/)/);return t?(0,Xe.Xr)(e,t):n}}(e,c),p={};t&&(0,Ye.u)((e=>{const t=function(e,t,n,r,l="auto.http.browser"){if(!e.fetchData)return;const c=(0,Me.w)()&&t(e.fetchData.url);if(e.endTimestamp&&c){const t=e.fetchData.__span;if(!t)return;const n=r[t];return void(n&&(function(e,t){if(t.response){(0,Pe.N8)(e,t.response.status);const n=t.response&&t.response.headers&&t.response.headers.get("content-length");if(n){const t=parseInt(n);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:Pe.TJ,message:"internal_error"});e.end()}(n,e),delete r[t]))}const u=(0,i.o5)(),d=(0,i.KU)(),{method:p,url:f}=e.fetchData,m=function(e){try{return new URL(e).href}catch(e){return}}(f),g=m?(0,h.Dl)(m).host:void 0,y=!!(0,s.Bk)(),b=c&&y?(0,o.Uk)({name:`${p} ${f}`,attributes:{url:f,type:"fetch","http.method":p,"http.url":m,"server.address":g,[a.JD]:l,[a.uT]:"http.client"}}):new Ne.w;if(e.fetchData.__span=b.spanContext().spanId,r[b.spanContext().spanId]=b,n(e.fetchData.url)&&d){const t=e.args[0];e.args[1]=e.args[1]||{};const n=e.args[1];n.headers=function(e,t,n,r,o){const a=(0,i.rm)(),{traceId:l,spanId:c,sampled:u,dsc:d}={...a.getPropagationContext(),...n.getPropagationContext()},h=o?(0,s.Qh)(o):(0,Be.TC)(l,c,u),p=(0,Ke.De)(d||(o?(0,qe.k1)(o):(0,qe.lF)(l,t))),f=r.headers||("undefined"!=typeof Request&&(0,Ve.tH)(e,Request)?e.headers:void 0);if(f){if("undefined"!=typeof Headers&&(0,Ve.tH)(f,Headers)){const e=new Headers(f);return e.append("sentry-trace",h),p&&e.append(Ke.hF,p),e}if(Array.isArray(f)){const e=[...f,["sentry-trace",h]];return p&&e.push([Ke.hF,p]),e}{const e="baggage"in f?f.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),p&&t.push(p),{...f,"sentry-trace":h,baggage:t.length>0?t.join(","):void 0}}}return{"sentry-trace":h,baggage:p}}(t,d,u,n,(0,Me.w)()&&y?b:void 0)}return b}(e,u,d,p);if(t){const n=tt(e.fetchData.url),r=n?(0,h.Dl)(n).host:void 0;t.setAttributes({"http.url":n,"server.address":r})}l&&t&&Ze(t)})),n&&(0,Ge.Mn)((e=>{const t=function(e,t,n,r){const l=e.xhr,c=l&&l[Ge.Er];if(!l||l.__sentry_own_request__||!c)return;const u=(0,Me.w)()&&t(c.url);if(e.endTimestamp&&u){const e=l.__sentry_xhr_span_id__;if(!e)return;const t=r[e];return void(t&&void 0!==c.status_code&&((0,Pe.N8)(t,c.status_code),t.end(),delete r[e]))}const d=tt(c.url),p=d?(0,h.Dl)(d).host:void 0,f=!!(0,s.Bk)(),m=u&&f?(0,o.Uk)({name:`${c.method} ${c.url}`,attributes:{type:"xhr","http.method":c.method,"http.url":d,url:c.url,"server.address":p,[a.JD]:"auto.http.browser",[a.uT]:"http.client"}}):new Ne.w;l.__sentry_xhr_span_id__=m.spanContext().spanId,r[l.__sentry_xhr_span_id__]=m;const g=(0,i.KU)();return l.setRequestHeader&&n(c.url)&&g&&function(e,t,n){const r=(0,i.o5)(),o=(0,i.rm)(),{traceId:a,spanId:l,sampled:c,dsc:u}={...o.getPropagationContext(),...r.getPropagationContext()};!function(e,t,n){try{e.setRequestHeader("sentry-trace",t),n&&e.setRequestHeader(Ke.hF,n)}catch(e){}}(e,n&&(0,Me.w)()?(0,s.Qh)(n):(0,Be.TC)(a,l,c),(0,Ke.De)(u||(n?(0,qe.k1)(n):(0,qe.lF)(a,t))))}(l,g,(0,Me.w)()&&f?m:void 0),m}(e,u,d,p);l&&t&&Ze(t)}))}function Ze(e){const{url:t}=(0,s.et)(e).data||{};if(!t||"string"!=typeof t)return;const n=re("resource",(({entries:r})=>{r.forEach((r=>{(function(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)})(r)&&r.name.endsWith(t)&&(function(e){const{name:t,version:n}=function(e){let t="unknown",n="unknown",r="";for(const i of e){if("/"===i){[t,n]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,n=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:n}}(e.nextHopProtocol),r=[];return r.push(["network.protocol.version",n],["network.protocol.name",t]),c.k3?[...r,["http.request.redirect_start",et(e.redirectStart)],["http.request.fetch_start",et(e.fetchStart)],["http.request.domain_lookup_start",et(e.domainLookupStart)],["http.request.domain_lookup_end",et(e.domainLookupEnd)],["http.request.connect_start",et(e.connectStart)],["http.request.secure_connection_start",et(e.secureConnectionStart)],["http.request.connection_end",et(e.connectEnd)],["http.request.request_start",et(e.requestStart)],["http.request.response_start",et(e.responseStart)],["http.request.response_end",et(e.responseEnd)]]:r}(r).forEach((t=>e.setAttribute(...t))),setTimeout(n))}))}))}function et(e=0){return((c.k3||performance.timeOrigin)+e)/1e3}function tt(e){try{return new URL(e,We.jf.location.origin).href}catch(e){return}}const nt={...Fe,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableLongAnimationFrame:!1,enableInp:!0,_experiments:{},...Je},rt=(e={})=>{ze||(ze=!0,(0,Ie.L)($e),(0,Le.r)($e));const{enableInp:t,enableLongTask:n,enableLongAnimationFrame:r,_experiments:{enableInteractions:m},beforeStartSpan:g,idleTimeout:b,finalTimeout:_,childSpanTimeout:v,markBackgroundSpan:w,traceFetch:A,traceXHR:k,shouldCreateSpanForRequest:S,enableHTTPTimings:x,instrumentPageLoad:C,instrumentNavigation:T}={...nt,...e},O=Ae();t&&function(){if(me()&&c.k3){const e=ue("inp",(({metric:e})=>{const t=(0,i.KU)();if(!t||null==e.value)return;const n=e.entries.find((t=>t.duration===e.value&&Te[t.name]));if(!n)return;const{interactionId:r}=n,l=Te[n.name],d=t.getOptions(),h=ge(c.k3+n.startTime),p=ge(e.value),m=(0,i.o5)(),g=(0,s.Bk)(),y=g?(0,s.zU)(g):void 0,b=(null!=r?Ce.get(r):void 0)||y,_=b?(0,s.et)(b).description:m.getScopeData().transactionName,v=m.getUser(),w=t.getIntegrationByName("Replay"),A=w&&w.getReplayId(),k=void 0!==v?v.email||v.id||v.ip_address:void 0;let S;try{S=m.getScopeData().contexts.profile.profile_id}catch(e){}const E=(0,u.Hd)(n.target),x=(0,Ee.Ce)({release:d.release,environment:d.environment,transaction:_,[a.jG]:e.value,[a.JD]:"auto.http.browser.inp",user:k||void 0,profile_id:S||void 0,replay_id:A||void 0,"user_agent.original":f.j.navigator&&f.j.navigator.userAgent}),C=(0,o.Uk)({name:E,op:`ui.interaction.${l}`,attributes:x,startTime:h,experimental:{standalone:!0}});C.addEvent("inp",{[a.Sn]:"millisecond",[a.xc]:e.value}),C.end(h+p)}),ce,ne);return()=>{e()}}}(),r&&PerformanceObserver.supportedEntryTypes.includes("long-animation-frame")?new PerformanceObserver((e=>{for(const t of e.getEntries()){if(!(0,s.Bk)())return;if(!t.scripts[0])return;const e=ge(c.k3+t.startTime),n=ge(t.duration),r={[a.JD]:"auto.ui.browser.metrics"},i=t.scripts[0];if(i){const{invoker:e,invokerType:t,sourceURL:n,sourceFunctionName:s,sourceCharPosition:o}=i;r["browser.script.invoker"]=e,r["browser.script.invoker_type"]=t,n&&(r["code.filepath"]=n),s&&(r["code.function"]=s),-1!==o&&(r["browser.script.source_char_position"]=o)}const l=(0,o.Uk)({name:"Main UI thread blocked",op:"ui.long-animation-frame",startTime:e,attributes:r});l&&l.end(e+n)}})).observe({type:"long-animation-frame",buffered:!0}):n&&re("longtask",(({entries:e})=>{for(const t of e){if(!(0,s.Bk)())return;const e=ge(c.k3+t.startTime),n=ge(t.duration),r=(0,o.Uk)({name:"Main UI thread blocked",op:"ui.long-task",startTime:e,attributes:{[a.JD]:"auto.ui.browser.metrics"}});r&&r.end(e+n)}})),m&&re("event",(({entries:e})=>{for(const t of e){if(!(0,s.Bk)())return;if("click"===t.name){const e=ge(c.k3+t.startTime),n=ge(t.duration),r={name:(0,u.Hd)(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[a.JD]:"auto.ui.browser.metrics"}},i=(0,u.xE)(t.target);i&&(r.attributes["ui.component_name"]=i);const s=(0,o.Uk)(r);s&&s.end(e+n)}}}));const R={name:void 0,source:void 0};function M(e,t){const n="pageload"===t.op,r=g?g(t):t,i=r.attributes||{};t.name!==r.name&&(i[a.i_]="custom",r.attributes=i),R.name=r.name,R.source=i[a.i_];const o=je(r,{idleTimeout:b,finalTimeout:_,childSpanTimeout:v,disableAutoFinish:n,beforeSpanEnd:e=>{O(),function(e){const t=me();if(!t||!f.j.performance.getEntries||!c.k3)return;p.T&&d.vF.log("[Tracing] Adding & adjusting spans using Performance API");const n=ge(c.k3),r=t.getEntries(),{op:i,start_timestamp:o}=(0,s.et)(e);if(r.slice(ve).forEach((t=>{const r=ge(t.startTime),s=ge(Math.max(0,t.duration));if(!("navigation"===i&&o&&n+r{ke(e,t,r,n)})),ke(e,t,"secureConnection",n,"TLS/SSL","connectEnd"),ke(e,t,"fetch",n,"cache","domainLookupStart"),ke(e,t,"domainLookup",n,"DNS"),function(e,t,n){const r=n+ge(t.requestStart),i=n+ge(t.responseEnd),s=n+ge(t.responseStart);t.responseEnd&&(fe(e,r,i,{op:"browser",name:"request",attributes:{[a.JD]:"auto.ui.browser.metrics"}}),fe(e,s,i,{op:"browser",name:"response",attributes:{[a.JD]:"auto.ui.browser.metrics"}}))}(e,t,n)}(e,t,n);break;case"mark":case"paint":case"measure":{!function(e,t,n,r,i){const s=y(),o=ge(s?s.requestStart:0),l=i+Math.max(n,o),c=i+n,u=c+r,d={[a.JD]:"auto.resource.browser.metrics"};l!==c&&(d["sentry.browser.measure_happened_before_request"]=!0,d["sentry.browser.measure_start_time"]=l),fe(e,l,u,{name:t.name,op:t.entryType,attributes:d})}(e,t,r,s,n);const i=E(),o=t.startTime{const t=we[e];if(!t||!o||n>=o)return;const r=t.value,i=n+ge(r),s=Math.abs(1e3*(i-o)),a=s-r;p.T&&d.vF.log(`[Measurements] Normalized ${e} from ${r} to ${s} (${a})`),t.value=s}));const t=we["mark.fid"];t&&we.fid&&(fe(e,t.value,t.value+ge(we.fid.value),{name:"first input delay",op:"ui.action",attributes:{[a.JD]:"auto.ui.browser.metrics"}}),delete we["mark.fid"]),"fcp"in we||delete we.cls,Object.entries(we).forEach((([e,t])=>{(0,l.X)(e,t.value,t.unit)})),function(e){be&&(p.T&&d.vF.log("[Measurements] Adding LCP Data"),be.element&&e.setAttribute("lcp.element",(0,u.Hd)(be.element)),be.id&&e.setAttribute("lcp.id",be.id),be.url&&e.setAttribute("lcp.url",be.url.trim().slice(0,200)),e.setAttribute("lcp.size",be.size)),_e&&_e.sources&&(p.T&&d.vF.log("[Measurements] Adding CLS Data"),_e.sources.forEach(((t,n)=>e.setAttribute(`cls.source.${n+1}`,(0,u.Hd)(t.node)))))}(e)}be=void 0,_e=void 0,we={}}(e)}});function m(){["interactive","complete"].includes(We.jf.document.readyState)&&e.emit("idleSpanEnableAutoFinish",o)}return n&&We.jf.document&&(We.jf.document.addEventListener("readystatechange",(()=>{m()})),m()),o}return{name:"BrowserTracing",afterAllSetup(e){let n,r=We.jf.location&&We.jf.location.href;e.on("startNavigationSpan",(t=>{(0,i.KU)()===e&&(n&&!(0,s.et)(n).timestamp&&(He.T&&d.vF.log(`[Tracing] Finishing current root span with op: ${(0,s.et)(n).op}`),n.end()),n=M(e,{op:"navigation",...t}))})),e.on("startPageLoadSpan",((t,r={})=>{if((0,i.KU)()!==e)return;n&&!(0,s.et)(n).timestamp&&(He.T&&d.vF.log(`[Tracing] Finishing current root span with op: ${(0,s.et)(n).op}`),n.end());const o=r.sentryTrace||ot("sentry-trace"),a=r.baggage||ot("baggage"),l=(0,Be.kM)(o,a);(0,i.o5)().setPropagationContext(l),n=M(e,{op:"pageload",...t})})),e.on("spanEnd",(e=>{const t=(0,s.et)(e).op;if(e!==(0,s.zU)(e)||"navigation"!==t&&"pageload"!==t)return;const n=(0,i.o5)(),r=n.getPropagationContext();n.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:(0,s.pK)(e),dsc:r.dsc||(0,qe.k1)(e)})})),We.jf.location&&(C&&it(e,{name:We.jf.location.pathname,startTime:c.k3?c.k3/1e3:void 0,attributes:{[a.i_]:"url",[a.JD]:"auto.pageload.browser"}}),T&&(0,Oe._)((({to:t,from:n})=>{void 0===n&&r&&-1!==r.indexOf(t)?r=void 0:n!==t&&(r=void 0,st(e,{name:We.jf.location.pathname,attributes:{[a.i_]:"url",[a.JD]:"auto.navigation.browser"}}))}))),w&&(We.jf&&We.jf.document?We.jf.document.addEventListener("visibilitychange",(()=>{const e=(0,s.Bk)();if(!e)return;const t=(0,s.zU)(e);if(We.jf.document.hidden&&t){const e="cancelled",{op:n,status:r}=(0,s.et)(t);He.T&&d.vF.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${n}`),r||t.setStatus({code:Pe.TJ,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}})):He.T&&d.vF.warn("[Tracing] Could not set up background tab detection due to lack of global document")),m&&function(e,t,n,r){let i;We.jf.document&&addEventListener("click",(()=>{const o="ui.action.click",l=(0,s.Bk)(),c=l&&(0,s.zU)(l);if(c){const e=(0,s.et)(c).op;if(["navigation","pageload"].includes(e))return void(He.T&&d.vF.warn(`[Tracing] Did not create ${o} span because a pageload or navigation span is in progress.`))}i&&(i.setAttribute(a.fs,"interactionInterrupted"),i.end(),i=void 0),r.name?i=je({name:r.name,op:o,attributes:{[a.i_]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:n}):He.T&&d.vF.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`)}),{once:!1,capture:!0})}(b,_,v,R),t&&function(){const e=({entries:e})=>{const t=(0,s.Bk)(),n=t&&(0,s.zU)(t);e.forEach((e=>{if(!function(e){return"duration"in e}(e)||!n)return;const t=e.interactionId;if(null!=t&&!Ce.has(t)){if(xe.length>10){const e=xe.shift();Ce.delete(e)}xe.push(t),Ce.set(t,n)}}))};re("event",e),re("first-input",e)}(),Qe({traceFetch:A,traceXHR:k,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:S,enableHTTPTimings:x})}}};function it(e,t,n){e.emit("startPageLoadSpan",t,n),(0,i.o5)().setTransactionName(t.name);const r=(0,s.Bk)();return"pageload"===(r&&(0,s.et)(r).op)?r:void 0}function st(e,t){(0,i.rm)().setPropagationContext((0,Ue.J)()),(0,i.o5)().setPropagationContext((0,Ue.J)()),e.emit("startNavigationSpan",t),(0,i.o5)().setTransactionName(t.name);const n=(0,s.Bk)();return"navigation"===(n&&(0,s.et)(n).op)?n:void 0}function ot(e){const t=(0,u.NX)(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}},58627:(e,t,n)=>{"use strict";n.d(t,{h:()=>h});var r=n(76574),i=n(61214),s=n(36123),o=n(15262);class a{constructor(e,t){let n,r;n=e||new o.H,r=t||new o.H,this._stack=[{scope:n}],this._isolationScope=r}withScope(e){const t=this._pushScope();let n;try{n=e(t)}catch(e){throw this._popScope(),e}return(0,i.Qg)(n)?n.then((e=>(this._popScope(),e)),(e=>{throw this._popScope(),e})):(this._popScope(),n)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const e=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:e}),e}_popScope(){return!(this._stack.length<=1||!this._stack.pop())}}function l(){const e=(0,r.E)(),t=(0,r.S)(e);return t.stack=t.stack||new a((0,s.B)("defaultCurrentScope",(()=>new o.H)),(0,s.B)("defaultIsolationScope",(()=>new o.H)))}function c(e){return l().withScope(e)}function u(e,t){const n=l();return n.withScope((()=>(n.getStackTop().scope=e,t(e))))}function d(e){return l().withScope((()=>e(l().getIsolationScope())))}function h(e){const t=(0,r.S)(e);return t.acs?t.acs:{withIsolationScope:d,withScope:c,withSetScope:u,withSetIsolationScope:(e,t)=>d(t),getCurrentScope:()=>l().getScope(),getIsolationScope:()=>l().getIsolationScope()}}},76574:(e,t,n)=>{"use strict";n.d(t,{E:()=>s,S:()=>o});var r=n(36123),i=n(58564);function s(){return o(r.O),r.O}function o(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||i.M,t[i.M]=t[i.M]||{}}},18319:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r="production"},10598:(e,t,n)=>{"use strict";n.d(t,{KU:()=>d,m6:()=>c,o5:()=>a,rm:()=>l,v4:()=>u});var r=n(36123),i=n(58627),s=n(76574),o=n(15262);function a(){const e=(0,s.E)();return(0,i.h)(e).getCurrentScope()}function l(){const e=(0,s.E)();return(0,i.h)(e).getIsolationScope()}function c(){return(0,r.B)("globalScope",(()=>new o.H))}function u(...e){const t=(0,s.E)(),n=(0,i.h)(t);if(2===e.length){const[t,r]=e;return t?n.withSetScope(t,r):n.withScope(r)}return n.withScope(e[0])}function d(){return a().getClient()}},78340:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},71960:(e,t,n)=>{"use strict";n.d(t,{LE:()=>a,V7:()=>l,lu:()=>c});var r=n(95158),i=n(57645),s=n(66980),o=n(56013);function a(e,t,n,s){const o=(0,r.Cj)(n),a={sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!s&&t&&{dsn:(0,i.SB)(t)}},l="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return(0,r.h4)(a,[l])}function l(e,t,n,i){const s=(0,r.Cj)(n),o=e.type&&"replay_event"!==e.type?e.type:"event";!function(e,t){t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]])}(e,n&&n.sdk);const a=(0,r.n2)(e,s,i,t);delete e.sdkProcessingMetadata;const l=[{type:o},e];return(0,r.h4)(a,[l])}function c(e,t){const n=(0,s.k1)(e[0]),a=t&&t.getDsn(),l=t&&t.getOptions().tunnel,c={sent_at:(new Date).toISOString(),...function(e){return!!e.trace_id&&!!e.public_key}(n)&&{trace:n},...!!l&&a&&{dsn:(0,i.SB)(a)}},u=t&&t.getOptions().beforeSendSpan,d=u?e=>u((0,o.et)(e)):e=>(0,o.et)(e),h=[];for(const t of e){const e=d(t);e&&h.push((0,r.y5)(e))}return(0,r.h4)(c,h)}},94677:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>l,J0:()=>d,J5:()=>f,gV:()=>u,r:()=>c});var r=n(36123),i=n(18319),s=n(10598),o=n(3002),a=n(17963);function l(e,t){return(0,s.o5)().captureException(e,(0,a.li)(t))}function c(e,t){return(0,s.o5)().captureEvent(e,t)}function u(e){(0,s.rm)().setUser(e)}function d(e){const t=(0,s.KU)(),n=(0,s.rm)(),a=(0,s.o5)(),{release:l,environment:c=i.U}=t&&t.getOptions()||{},{userAgent:u}=r.O.navigator||{},d=(0,o.fj)({release:l,environment:c,user:a.getUser()||n.getUser(),...u&&{userAgent:u},...e}),p=n.getSession();return p&&"ok"===p.status&&(0,o.qO)(p,{status:"exited"}),h(),n.setSession(d),a.setSession(d),d}function h(){const e=(0,s.rm)(),t=(0,s.o5)(),n=t.getSession()||e.getSession();n&&(0,o.Vu)(n),p(),e.setSession(),t.setSession()}function p(){const e=(0,s.rm)(),t=(0,s.o5)(),n=(0,s.KU)(),r=t.getSession()||e.getSession();r&&n&&n.captureSession(r)}function f(e=!1){e?h():p()}},42043:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var r=n(4269);const i="_sentryMetrics";function s(e){const t=e[i];if(!t)return;const n={};for(const[,[e,i]]of t)(n[e]||(n[e]=[])).push((0,r.Ce)(i));return n}},15262:(e,t,n)=>{"use strict";n.d(t,{H:()=>d});var r=n(36799),i=n(61214),s=n(4331),o=n(79170),a=n(39414),l=n(3002),c=n(54975);class u{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=(0,r.J)()}clone(){const e=new u;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,e._lastEventId=this._lastEventId,(0,c.r)(e,(0,c.f)(this)),e}setClient(e){this._client=e}setLastEventId(e){this._lastEventId=e}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&(0,l.qO)(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;const t="function"==typeof e?e(this):e,[n,r]=t instanceof d?[t.getScopeData(),t.getRequestSession()]:(0,i.Qd)(t)?[e,e.requestSession]:[],{tags:s,extra:o,user:a,contexts:l,level:c,fingerprint:u=[],propagationContext:h}=n||{};return this._tags={...this._tags,...s},this._extra={...this._extra,...o},this._contexts={...this._contexts,...l},a&&Object.keys(a).length&&(this._user=a),c&&(this._level=c),u.length&&(this._fingerprint=u),h&&(this._propagationContext=h),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,(0,c.r)(this,void 0),this._attachments=[],this._propagationContext=(0,r.J)(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){const n="number"==typeof t?t:100;if(n<=0)return this;const r={timestamp:(0,s.lu)(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:(0,c.f)(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;const r=new Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:n},this),n}captureMessage(e,t,n){const r=n&&n.event_id?n.event_id:(0,o.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),r;const i=new Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...n,event_id:r},this),r}captureEvent(e,t){const n=t&&t.event_id?t.event_id:(0,o.eJ)();return this._client?(this._client.captureEvent(e,{...t,event_id:n},this),n):(a.vF.warn("No client configured on scope - will not capture event!"),n)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((e=>{e(this)})),this._notifyingListeners=!1)}}const d=u},80405:(e,t,n)=>{"use strict";n.d(t,{E1:()=>u,JD:()=>o,Sn:()=>l,fs:()=>a,i_:()=>r,jG:()=>d,sy:()=>i,uT:()=>s,xc:()=>c});const r="sentry.source",i="sentry.sample_rate",s="sentry.op",o="sentry.origin",a="sentry.idle_span_finish_reason",l="sentry.measurement_unit",c="sentry.measurement_value",u="sentry.profile_id",d="sentry.exclusive_time"},3002:(e,t,n)=>{"use strict";n.d(t,{Vu:()=>l,fj:()=>o,qO:()=>a});var r=n(4331),i=n(79170),s=n(4269);function o(e){const t=(0,r.zf)(),n={sid:(0,i.eJ)(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(e){return(0,s.Ce)({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}(n)};return e&&a(n,e),n}function a(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||(0,r.zf)(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:(0,i.eJ)()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{const t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function l(e,t){let n={};t?n={status:t}:"ok"===e.status&&(n={status:"exited"}),a(e,n)}},66980:(e,t,n)=>{"use strict";n.d(t,{LZ:()=>u,k1:()=>h,lF:()=>d});var r=n(4269),i=n(33182),s=n(18319),o=n(10598),a=n(80405),l=n(56013);const c="_frozenDsc";function u(e,t){const n=e;(0,r.my)(n,c,t)}function d(e,t){const n=t.getOptions(),{publicKey:i}=t.getDsn()||{},o=(0,r.Ce)({environment:n.environment||s.U,release:n.release,public_key:i,trace_id:e});return t.emit("createDsc",o),o}function h(e){const t=(0,o.KU)();if(!t)return{};const n=d((0,l.et)(e).trace_id||"",t),r=(0,l.zU)(e),s=r[c];if(s)return s;const u=r.spanContext().traceState,h=u&&u.get("sentry.dsc"),p=h&&(0,i.yD)(h);if(p)return p;const f=(0,l.et)(r),m=f.data||{},g=m[a.sy];null!=g&&(n.sample_rate=`${g}`);const y=m[a.i_],b=f.description;return"url"!==y&&b&&(n.transaction=b),n.sampled=String((0,l.pK)(r)),t.emit("createDsc",n,r),n}},90955:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,X:()=>s});var r=n(80405),i=n(56013);function s(e,t,n){const s=(0,i.Bk)(),o=s&&(0,i.zU)(s);o&&o.addEvent(e,{[r.xc]:t,[r.Sn]:n})}function o(e){if(!e||0===e.length)return;const t={};return e.forEach((e=>{const n=e.attributes||{},i=n[r.Sn],s=n[r.xc];"string"==typeof i&&"number"==typeof s&&(t[e.name]={value:s,unit:i})})),t}},3890:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var r=n(79170),i=n(56013);class s{constructor(e={}){this._traceId=e.traceId||(0,r.eJ)(),this._spanId=e.spanId||(0,r.eJ)().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:i.CC}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,n){return this}addLink(e){return this}addLinks(e){return this}recordException(e,t){}}},45885:(e,t,n)=>{"use strict";n.d(t,{F3:()=>i,N8:()=>o,TJ:()=>s,a3:()=>r});const r=0,i=1,s=2;function o(e,t){e.setAttribute("http.response.status_code",t);const n=function(e){if(e<400&&e>=100)return{code:i};if(e>=400&&e<500)switch(e){case 401:return{code:s,message:"unauthenticated"};case 403:return{code:s,message:"permission_denied"};case 404:return{code:s,message:"not_found"};case 409:return{code:s,message:"already_exists"};case 413:return{code:s,message:"failed_precondition"};case 429:return{code:s,message:"resource_exhausted"};case 499:return{code:s,message:"cancelled"};default:return{code:s,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:s,message:"unimplemented"};case 503:return{code:s,message:"unavailable"};case 504:return{code:s,message:"deadline_exceeded"};default:return{code:s,message:"internal_error"}}return{code:s,message:"unknown_error"}}(t);"unknown_error"!==n.message&&e.setStatus(n)}},3393:(e,t,n)=>{"use strict";n.d(t,{Uk:()=>T,hb:()=>O});var r=n(76574),i=n(10598),s=n(58627),o=n(80405),a=n(30983),l=n(54975),c=n(56013),u=n(66980),d=n(39414),h=n(78340),p=n(65995),f=n(3890),m=n(79170),g=n(4331),y=n(4269),b=n(71960),_=n(42043),v=n(90955);const w="_sentryScope",A="_sentryIsolationScope";function k(e){return{scope:e[w],isolationScope:e[A]}}class S{constructor(e={}){this._traceId=e.traceId||(0,m.eJ)(),this._spanId=e.spanId||(0,m.eJ)().substring(16),this._startTime=e.startTimestamp||(0,g.zf)(),this._attributes={},this.setAttributes({[o.JD]:"manual",[o.uT]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._isStandaloneSpan=e.isStandalone,this._endTime&&this._onSpanEnded()}addLink(e){return this}addLinks(e){return this}recordException(e,t){}spanContext(){const{_spanId:e,_traceId:t,_sampled:n}=this;return{spanId:e,traceId:t,traceFlags:n?c.aO:c.CC}}setAttribute(e,t){return void 0===t?delete this._attributes[e]:this._attributes[e]=t,this}setAttributes(e){return Object.keys(e).forEach((t=>this.setAttribute(t,e[t]))),this}updateStartTime(e){this._startTime=(0,c.cI)(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=(0,c.cI)(e),function(e){if(!h.T)return;const{description:t="< unknown name >",op:n="< unknown op >"}=(0,c.et)(e),{spanId:r}=e.spanContext(),i=`[Tracing] Finishing "${n}" ${(0,c.zU)(e)===e?"root ":""}span "${t}" with ID ${r}`;d.vF.log(i)}(this),this._onSpanEnded())}getSpanJSON(){return(0,y.Ce)({data:this._attributes,description:this._name,op:this._attributes[o.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:(0,c.yW)(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[o.JD],_metrics_summary:(0,_.g)(this),profile_id:this._attributes[o.E1],exclusive_time:this._attributes[o.jG],measurements:(0,v.$)(this._events),is_segment:this._isStandaloneSpan&&(0,c.zU)(this)===this||void 0,segment_id:this._isStandaloneSpan?(0,c.zU)(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,n){h.T&&d.vF.log("[Tracing] Adding an event to span:",e);const r=E(t)?t:n||(0,g.zf)(),i=E(t)?{}:t||{},s={name:e,time:(0,c.cI)(r),attributes:i};return this._events.push(s),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){const e=(0,i.KU)();if(e&&e.emit("spanEnd",this),!this._isStandaloneSpan&&this!==(0,c.zU)(this))return;if(this._isStandaloneSpan)return void(this._sampled?function(e){const t=(0,i.KU)();if(!t)return;const n=e[1];if(!n||0===n.length)return void t.recordDroppedEvent("before_send","span");const r=t.getTransport();r&&r.send(e).then(null,(e=>{h.T&&d.vF.error("Error while sending span:",e)}))}((0,b.lu)([this],e)):(h.T&&d.vF.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","span")));const t=this._convertSpanToTransaction();t&&(k(this).scope||(0,i.o5)()).captureEvent(t)}_convertSpanToTransaction(){if(!x((0,c.et)(this)))return;this._name||(h.T&&d.vF.warn("Transaction has no name, falling back to ``."),this._name="");const{scope:e,isolationScope:t}=k(this),n=(e||(0,i.o5)()).getClient()||(0,i.KU)();if(!0!==this._sampled)return h.T&&d.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(n&&n.recordDroppedEvent("sample_rate","transaction"));const r=(0,c.xO)(this).filter((e=>e!==this&&!function(e){return e instanceof S&&e.isStandaloneSpan()}(e))).map((e=>(0,c.et)(e))).filter(x),s=this._attributes[o.i_],a={contexts:{trace:(0,c.Ck)(this)},spans:r.length>1e3?r.sort(((e,t)=>e.start_timestamp-t.start_timestamp)).slice(0,1e3):r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...(0,y.Ce)({dynamicSamplingContext:(0,u.k1)(this)})},_metrics_summary:(0,_.g)(this),...s&&{transaction_info:{source:s}}},l=(0,v.$)(this._events);return l&&Object.keys(l).length&&(h.T&&d.vF.log("[Measurements] Adding measurements to transaction event",JSON.stringify(l,void 0,2)),a.measurements=l),a}}function E(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function x(e){return!!(e.start_timestamp&&e.timestamp&&e.span_id&&e.trace_id)}const C="__SENTRY_SUPPRESS_TRACING__";function T(e){const t=R();if(t.startInactiveSpan)return t.startInactiveSpan(e);const n=function(e){const t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){const n={...t};return n.startTimestamp=(0,c.cI)(e.startTime),delete n.startTime,n}return t}(e),{forceTransaction:r,parentSpan:s}=e;return(e.scope?t=>(0,i.v4)(e.scope,t):void 0!==s?e=>O(s,e):e=>e())((()=>{const t=(0,i.o5)(),s=function(e){const t=(0,l.f)(e);if(!t)return;const n=(0,i.KU)();return(n?n.getOptions():{}).parentSpanIsAlwaysRootSpan?(0,c.zU)(t):t}(t);return e.onlyIfParent&&!s?new f.w:function({parentSpan:e,spanArguments:t,forceTransaction:n,scope:r}){if(!(0,a.w)())return new f.w;const s=(0,i.rm)();let o;if(e&&!n)o=function(e,t,n){const{spanId:r,traceId:s}=e.spanContext(),o=!t.getScopeData().sdkProcessingMetadata[C]&&(0,c.pK)(e),a=o?new S({...n,parentSpanId:r,traceId:s,sampled:o}):new f.w({traceId:s});(0,c.Hu)(e,a);const l=(0,i.KU)();return l&&(l.emit("spanStart",a),n.endTimestamp&&l.emit("spanEnd",a)),a}(e,r,t),(0,c.Hu)(e,o);else if(e){const n=(0,u.k1)(e),{traceId:i,spanId:s}=e.spanContext(),a=(0,c.pK)(e);o=M({traceId:i,parentSpanId:s,...t},r,a),(0,u.LZ)(o,n)}else{const{traceId:e,dsc:n,parentSpanId:i,sampled:a}={...s.getPropagationContext(),...r.getPropagationContext()};o=M({traceId:e,parentSpanId:i,...t},r,a),n&&(0,u.LZ)(o,n)}return function(e){if(!h.T)return;const{description:t="< unknown name >",op:n="< unknown op >",parent_span_id:r}=(0,c.et)(e),{spanId:i}=e.spanContext(),s=(0,c.pK)(e),o=(0,c.zU)(e),a=o===e,l=`[Tracing] Starting ${s?"sampled":"unsampled"} ${a?"root ":""}span`,u=[`op: ${n}`,`name: ${t}`,`ID: ${i}`];if(r&&u.push(`parent ID: ${r}`),!a){const{op:e,description:t}=(0,c.et)(o);u.push(`root ID: ${o.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}d.vF.log(`${l}\n ${u.join("\n ")}`)}(o),function(e,t,n){e&&((0,y.my)(e,A,n),(0,y.my)(e,w,t))}(o,r,s),o}({parentSpan:s,spanArguments:n,forceTransaction:r,scope:t})}))}function O(e,t){const n=R();return n.withActiveSpan?n.withActiveSpan(e,t):(0,i.v4)((n=>((0,l.r)(n,e||void 0),t(n))))}function R(){const e=(0,r.E)();return(0,s.h)(e)}function M(e,t,n){const r=(0,i.KU)(),s=r&&r.getOptions()||{},{name:l="",attributes:c}=e,[u,f]=t.getScopeData().sdkProcessingMetadata[C]?[!1]:function(e,t){if(!(0,a.w)(e))return[!1];let n;n="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1;const r=(0,p.i)(n);return void 0===r?(h.T&&d.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random(){"use strict";n.d(t,{w:()=>i});var r=n(10598);function i(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const t=e||function(){const e=(0,r.KU)();return e&&e.getOptions()}();return!!t&&(t.enableTracing||"tracesSampleRate"in t||"tracesSampler"in t)}},65995:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r=n(39414),i=n(78340);function s(e){if("boolean"==typeof e)return Number(e);const t="string"==typeof e?parseFloat(e):e;if(!("number"!=typeof t||isNaN(t)||t<0||t>1))return t;i.T&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`)}},17963:(e,t,n)=>{"use strict";n.d(t,{li:()=>k,mG:()=>w});var r=n(79170),i=n(4331),s=n(77351),o=n(36123),a=n(43578),l=n(18319),c=n(10598),u=n(5264),d=n(39414),h=n(61214),p=n(78340);function f(e,t,n,r=0){return new u.T2(((i,s)=>{const o=e[r];if(null===t||"function"!=typeof o)i(t);else{const a=o({...t},n);p.T&&o.id&&null===a&&d.vF.log(`Event processor "${o.id}" dropped event`),(0,h.Qg)(a)?a.then((t=>f(e,t,n,r+1).then(i))).then(null,s):f(e,a,n,r+1).then(i).then(null,s)}}))}var m=n(15262),g=n(4269),y=n(66980),b=n(56013);function _(e,t){const{extra:n,tags:r,user:i,contexts:s,level:o,sdkProcessingMetadata:a,breadcrumbs:l,fingerprint:c,eventProcessors:u,attachments:d,propagationContext:h,transactionName:p,span:f}=t;v(e,"extra",n),v(e,"tags",r),v(e,"user",i),v(e,"contexts",s),v(e,"sdkProcessingMetadata",a),o&&(e.level=o),p&&(e.transactionName=p),f&&(e.span=f),l.length&&(e.breadcrumbs=[...e.breadcrumbs,...l]),c.length&&(e.fingerprint=[...e.fingerprint,...c]),u.length&&(e.eventProcessors=[...e.eventProcessors,...u]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...h}}function v(e,t,n){if(n&&Object.keys(n).length){e[t]={...e[t]};for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[t][r]=n[r])}}function w(e,t,n,u,d,h){const{normalizeDepth:p=3,normalizeMaxBreadth:v=1e3}=e,w={...t,event_id:t.event_id||n.event_id||(0,r.eJ)(),timestamp:t.timestamp||(0,i.lu)()},k=n.integrations||e.integrations.map((e=>e.name));!function(e,t){const{environment:n,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?n:l.U),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=(0,s.xv)(e.message,o));const a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=(0,s.xv)(a.value,o));const c=e.request;c&&c.url&&(c.url=(0,s.xv)(c.url,o))}(w,e),function(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}(w,k),d&&d.emit("applyFrameMetadata",t),void 0===t.type&&function(e,t){const n=o.O._sentryDebugIds;if(!n)return;let r;const i=A.get(t);i?r=i:(r=new Map,A.set(t,r));const s=Object.entries(n).reduce(((e,[n,i])=>{let s;const o=r.get(n);o?s=o:(s=t(n),r.set(n,s));for(let t=s.length-1;t>=0;t--){const n=s[t];if(n.filename){e[n.filename]=i;break}}return e}),{});try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.filename&&(e.debug_id=s[e.filename])}))}))}catch(e){}}(w,e.stackParser);const S=function(e,t){if(!t)return e;const n=e?e.clone():new m.H;return n.update(t),n}(u,n.captureContext);n.mechanism&&(0,r.M6)(w,n.mechanism);const E=d?d.getEventProcessors():[],x=(0,c.m6)().getScopeData();h&&_(x,h.getScopeData()),S&&_(x,S.getScopeData());const C=[...n.attachments||[],...x.attachments];return C.length&&(n.attachments=C),function(e,t){const{fingerprint:n,span:i,breadcrumbs:s,sdkProcessingMetadata:o}=t;!function(e,t){const{extra:n,tags:r,user:i,contexts:s,level:o,transactionName:a}=t,l=(0,g.Ce)(n);l&&Object.keys(l).length&&(e.extra={...l,...e.extra});const c=(0,g.Ce)(r);c&&Object.keys(c).length&&(e.tags={...c,...e.tags});const u=(0,g.Ce)(i);u&&Object.keys(u).length&&(e.user={...u,...e.user});const d=(0,g.Ce)(s);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),o&&(e.level=o),a&&"transaction"!==e.type&&(e.transaction=a)}(e,t),i&&function(e,t){e.contexts={trace:(0,b.kX)(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:(0,y.k1)(t),...e.sdkProcessingMetadata};const n=(0,b.zU)(t),r=(0,b.et)(n).description;r&&!e.transaction&&"transaction"===e.type&&(e.transaction=r)}(e,i),function(e,t){e.fingerprint=e.fingerprint?(0,r.k9)(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}(e,n),function(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}(e,s),function(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}(e,o)}(w,x),f([...E,...x.eventProcessors],w,n).then((e=>(e&&function(e){const t={};try{e.exception.values.forEach((e=>{e.stacktrace.frames.forEach((e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)}))}))}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach((([e,t])=>{n.push({type:"sourcemap",code_file:e,debug_id:t})}))}(e),"number"==typeof p&&p>0?function(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((e=>({...e,...e.data&&{data:(0,a.S8)(e.data,t,n)}})))},...e.user&&{user:(0,a.S8)(e.user,t,n)},...e.contexts&&{contexts:(0,a.S8)(e.contexts,t,n)},...e.extra&&{extra:(0,a.S8)(e.extra,t,n)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=(0,a.S8)(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map((e=>({...e,...e.data&&{data:(0,a.S8)(e.data,t,n)}})))),r}(e,p,v):e)))}const A=new WeakMap;function k(e){if(e)return function(e){return e instanceof m.H||"function"==typeof e}(e)||function(e){return Object.keys(e).some((e=>S.includes(e)))}(e)?{captureContext:e}:e}const S=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},54975:(e,t,n)=>{"use strict";n.d(t,{f:()=>o,r:()=>s});var r=n(4269);const i="_sentrySpan";function s(e,t){t?(0,r.my)(e,i,t):delete e[i]}function o(e){return e[i]}},56013:(e,t,n)=>{"use strict";n.d(t,{Bk:()=>O,CC:()=>p,Ck:()=>m,Hu:()=>E,Qh:()=>y,VS:()=>x,aO:()=>f,cI:()=>b,et:()=>v,kX:()=>g,pK:()=>w,xO:()=>C,yW:()=>A,zU:()=>T});var r=n(4269),i=n(64874),s=n(4331),o=n(58627),a=n(76574),l=n(10598),c=n(42043),u=n(80405),d=n(45885),h=n(54975);const p=0,f=1;function m(e){const{spanId:t,traceId:n}=e.spanContext(),{data:i,op:s,parent_span_id:o,status:a,origin:l}=v(e);return(0,r.Ce)({parent_span_id:o,span_id:t,trace_id:n,data:i,op:s,status:a,origin:l})}function g(e){const{spanId:t,traceId:n}=e.spanContext(),{parent_span_id:i}=v(e);return(0,r.Ce)({parent_span_id:i,span_id:t,trace_id:n})}function y(e){const{traceId:t,spanId:n}=e.spanContext(),r=w(e);return(0,i.TC)(t,n,r)}function b(e){return"number"==typeof e?_(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?_(e.getTime()):(0,s.zf)()}function _(e){return e>9999999999?e/1e3:e}function v(e){if(function(e){return"function"==typeof e.getSpanJSON}(e))return e.getSpanJSON();try{const{spanId:t,traceId:n}=e.spanContext();if(function(e){const t=e;return!!(t.attributes&&t.startTime&&t.name&&t.endTime&&t.status)}(e)){const{attributes:i,startTime:s,name:o,endTime:a,parentSpanId:l,status:d}=e;return(0,r.Ce)({span_id:t,trace_id:n,data:i,description:o,parent_span_id:l,start_timestamp:b(s),timestamp:b(a)||void 0,status:A(d),op:i[u.uT],origin:i[u.JD],_metrics_summary:(0,c.g)(e)})}return{span_id:t,trace_id:n}}catch(e){return{}}}function w(e){const{traceFlags:t}=e.spanContext();return t===f}function A(e){if(e&&e.code!==d.a3)return e.code===d.F3?"ok":e.message||"unknown_error"}const k="_sentryChildSpans",S="_sentryRootSpan";function E(e,t){const n=e[S]||e;(0,r.my)(t,S,n),e[k]?e[k].add(t):(0,r.my)(e,k,new Set([t]))}function x(e,t){e[k]&&e[k].delete(t)}function C(e){const t=new Set;return function e(n){if(!t.has(n)&&w(n)){t.add(n);const r=n[k]?Array.from(n[k]):[];for(const t of r)e(t)}}(e),Array.from(t)}function T(e){return e[S]||e}function O(){const e=(0,a.E)(),t=(0,o.h)(e);return t.getActiveSpan?t.getActiveSpan():(0,h.f)((0,l.o5)())}},33182:(e,t,n)=>{"use strict";n.d(t,{De:()=>d,hF:()=>o,yD:()=>u});var r=n(4310),i=n(61214),s=n(39414);const o="baggage",a="sentry-",l=/^sentry-/,c=8192;function u(e){const t=function(e){if(e&&((0,i.Kg)(e)||Array.isArray(e)))return Array.isArray(e)?e.reduce(((e,t)=>{const n=h(t);return Object.entries(n).forEach((([t,n])=>{e[t]=n})),e}),{}):h(e)}(e);if(!t)return;const n=Object.entries(t).reduce(((e,[t,n])=>(t.match(l)&&(e[t.slice(a.length)]=n),e)),{});return Object.keys(n).length>0?n:void 0}function d(e){if(e)return function(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce(((e,[t,n],i)=>{const o=`${encodeURIComponent(t)}=${encodeURIComponent(n)}`,a=0===i?o:`${e},${o}`;return a.length>c?(r.T&&s.vF.warn(`Not adding key: ${t} with val: ${n} to baggage header due to exceeding baggage size limits.`),e):a}),"")}(Object.entries(e).reduce(((e,[t,n])=>(n&&(e[`${a}${t}`]=n),e)),{}))}function h(e){return e.split(",").map((e=>e.split("=").map((e=>decodeURIComponent(e.trim()))))).reduce(((e,[t,n])=>(t&&n&&(e[t]=n),e)),{})}},2516:(e,t,n)=>{"use strict";n.d(t,{$N:()=>l,Hd:()=>o,NX:()=>c,xE:()=>u});var r=n(61214);const i=n(36123).O,s=80;function o(e,t={}){if(!e)return"";try{let n=e;const r=5,i=[];let o=0,l=0;const c=" > ",u=c.length;let d;const h=Array.isArray(t)?t:t.keyAttrs,p=!Array.isArray(t)&&t.maxStringLength||s;for(;n&&o++1&&l+i.length*u+d.length>=p));)i.push(d),l+=d.length,n=n.parentNode;return i.reverse().join(c)}catch(e){return""}}function a(e,t){const n=e,s=[];if(!n||!n.tagName)return"";if(i.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}s.push(n.tagName.toLowerCase());const o=t&&t.length?t.filter((e=>n.getAttribute(e))).map((e=>[e,n.getAttribute(e)])):null;if(o&&o.length)o.forEach((e=>{s.push(`[${e[0]}="${e[1]}"]`)}));else{n.id&&s.push(`#${n.id}`);const e=n.className;if(e&&(0,r.Kg)(e)){const t=e.split(/\s+/);for(const e of t)s.push(`.${e}`)}}const a=["aria-label","type","name","title","alt"];for(const e of a){const t=n.getAttribute(e);t&&s.push(`[${e}="${t}"]`)}return s.join("")}function l(){try{return i.document.location.href}catch(e){return""}}function c(e){return i.document&&i.document.querySelector?i.document.querySelector(e):null}function u(e){if(!i.HTMLElement)return null;let t=e;for(let e=0;e<5;e++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}},4310:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},57645:(e,t,n)=>{"use strict";n.d(t,{AD:()=>l,SB:()=>o});var r=n(4310),i=n(39414);const s=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function o(e,t=!1){const{host:n,path:r,pass:i,port:s,projectId:o,protocol:a,publicKey:l}=e;return`${a}://${l}${t&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${o}`}function a(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function l(e){const t="string"==typeof e?function(e){const t=s.exec(e);if(!t)return void(0,i.pq)((()=>{console.error(`Invalid Sentry Dsn: ${e}`)}));const[n,r,o="",l="",c="",u=""]=t.slice(1);let d="",h=u;const p=h.split("/");if(p.length>1&&(d=p.slice(0,-1).join("/"),h=p.pop()),h){const e=h.match(/^\d+/);e&&(h=e[0])}return a({host:l,pass:o,path:d,projectId:h,port:c,protocol:n,publicKey:r})}(e):a(e);if(t&&function(e){if(!r.T)return!0;const{port:t,projectId:n,protocol:s}=e;return!(["protocol","publicKey","host","projectId"].find((t=>!e[t]&&(i.vF.error(`Invalid Sentry Dsn: ${t} missing`),!0)))||(n.match(/^\d+$/)?function(e){return"http"===e||"https"===e}(s)?t&&isNaN(parseInt(t,10))&&(i.vF.error(`Invalid Sentry Dsn: Invalid port ${t}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid protocol ${s}`),1):(i.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),1)))}(t))return t}},95158:(e,t,n)=>{"use strict";n.d(t,{Cj:()=>g,W3:()=>l,bN:()=>d,bm:()=>p,h4:()=>a,n2:()=>y,y5:()=>h,yH:()=>c,zk:()=>m});var r=n(57645),i=n(43578),s=n(4269),o=n(36123);function a(e,t=[]){return[e,t]}function l(e,t){const[n,r]=e;return[n,[...r,t]]}function c(e,t){const n=e[1];for(const e of n)if(t(e,e[0].type))return!0;return!1}function u(e){return o.O.__SENTRY__&&o.O.__SENTRY__.encodePolyfill?o.O.__SENTRY__.encodePolyfill(e):(new TextEncoder).encode(e)}function d(e){const[t,n]=e;let r=JSON.stringify(t);function s(e){"string"==typeof r?r="string"==typeof e?r+e:[u(r),e]:r.push("string"==typeof e?u(e):e)}for(const e of n){const[t,n]=e;if(s(`\n${JSON.stringify(t)}\n`),"string"==typeof n||n instanceof Uint8Array)s(n);else{let e;try{e=JSON.stringify(n)}catch(t){e=JSON.stringify((0,i.S8)(n))}s(e)}}return"string"==typeof r?r:function(e){const t=e.reduce(((e,t)=>e+t.length),0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(t,r),r+=t.length;return n}(r)}function h(e){return[{type:"span"},e]}function p(e){const t="string"==typeof e.data?u(e.data):e.data;return[(0,s.Ce)({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}const f={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function m(e){return f[e]}function g(e){if(!e||!e.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function y(e,t,n,i){const o=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:(new Date).toISOString(),...t&&{sdk:t},...!!n&&i&&{dsn:(0,r.SB)(i)},...o&&{trace:(0,s.Ce)({...o})}}}},60944:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var r=n(61214),i=n(4269),s=n(6234),o=n(4331),a=n(36123),l=n(59335);function c(e){const t="fetch";(0,l.s5)(t,e),(0,l.AS)(t,u)}function u(){(0,s.m7)()&&(0,i.GS)(a.O,"fetch",(function(e){return function(...t){const{method:n,url:s}=function(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){const[t,n]=e;return{url:h(t),method:d(n,"method")?String(n.method).toUpperCase():"GET"}}const t=e[0];return{url:h(t),method:d(t,"method")?String(t.method).toUpperCase():"GET"}}(t),c={args:t,fetchData:{method:n,url:s},startTimestamp:1e3*(0,o.zf)()};(0,l.aj)("fetch",{...c});const u=(new Error).stack;return e.apply(a.O,t).then((e=>{const t={...c,endTimestamp:1e3*(0,o.zf)(),response:e};return(0,l.aj)("fetch",t),e}),(e=>{const t={...c,endTimestamp:1e3*(0,o.zf)(),error:e};throw(0,l.aj)("fetch",t),(0,r.bJ)(e)&&void 0===e.stack&&(e.stack=u,(0,i.my)(e,"framesToPop",1)),e}))}}))}function d(e,t){return!!e&&"object"==typeof e&&!!e[t]}function h(e){return"string"==typeof e?e:e?d(e,"url")?e.url:e.toString?e.toString():"":""}},66871:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(36123),i=n(59335);let s=null;function o(e){const t="error";(0,i.s5)(t,e),(0,i.AS)(t,a)}function a(){s=r.O.onerror,r.O.onerror=function(e,t,n,r,o){const a={column:r,error:o,line:n,msg:e,url:t};return(0,i.aj)("error",a),!(!s||s.__SENTRY_LOADER__)&&s.apply(this,arguments)},r.O.onerror.__SENTRY_INSTRUMENTED__=!0}},28711:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(36123),i=n(59335);let s=null;function o(e){const t="unhandledrejection";(0,i.s5)(t,e),(0,i.AS)(t,a)}function a(){s=r.O.onunhandledrejection,r.O.onunhandledrejection=function(e){const t=e;return(0,i.aj)("unhandledrejection",t),!(s&&!s.__SENTRY_LOADER__)||s.apply(this,arguments)},r.O.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},59335:(e,t,n)=>{"use strict";n.d(t,{AS:()=>c,aj:()=>u,s5:()=>l});var r=n(4310),i=n(39414),s=n(80947);const o={},a={};function l(e,t){o[e]=o[e]||[],o[e].push(t)}function c(e,t){a[e]||(t(),a[e]=!0)}function u(e,t){const n=e&&o[e];if(n)for(const o of n)try{o(t)}catch(t){r.T&&i.vF.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${(0,s.qQ)(o)}\nError:`,t)}}},61214:(e,t,n)=>{"use strict";n.d(t,{BD:()=>a,Kg:()=>c,L2:()=>_,NF:()=>u,Qd:()=>h,Qg:()=>g,T2:()=>o,W6:()=>l,bJ:()=>i,gd:()=>m,mE:()=>y,sO:()=>d,tH:()=>b,vq:()=>f,xH:()=>p});const r=Object.prototype.toString;function i(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return b(e,Error)}}function s(e,t){return r.call(e)===`[object ${t}]`}function o(e){return s(e,"ErrorEvent")}function a(e){return s(e,"DOMError")}function l(e){return s(e,"DOMException")}function c(e){return s(e,"String")}function u(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function d(e){return null===e||u(e)||"object"!=typeof e&&"function"!=typeof e}function h(e){return s(e,"Object")}function p(e){return"undefined"!=typeof Event&&b(e,Event)}function f(e){return"undefined"!=typeof Element&&b(e,Element)}function m(e){return s(e,"RegExp")}function g(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function y(e){return h(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function b(e,t){try{return e instanceof t}catch(e){return!1}}function _(e){return!("object"!=typeof e||null===e||!e.__isVue&&!e._isVue)}},39414:(e,t,n)=>{"use strict";n.d(t,{Ow:()=>s,Z9:()=>o,pq:()=>a,vF:()=>l});var r=n(4310),i=n(36123);const s=["debug","info","warn","error","log","assert","trace"],o={};function a(e){if(!("console"in i.O))return e();const t=i.O.console,n={},r=Object.keys(o);r.forEach((e=>{const r=o[e];n[e]=t[e],t[e]=r}));try{return e()}finally{r.forEach((e=>{t[e]=n[e]}))}}const l=function(){let e=!1;const t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return r.T?s.forEach((n=>{t[n]=(...t)=>{e&&a((()=>{i.O.console[n](`Sentry Logger [${n}]:`,...t)}))}})):s.forEach((e=>{t[e]=()=>{}})),t}()},79170:(e,t,n)=>{"use strict";n.d(t,{$X:()=>a,GR:()=>u,M6:()=>c,eJ:()=>s,gO:()=>l,k9:()=>d});var r=n(4269),i=n(36123);function s(){const e=i.O,t=e.crypto||e.msCrypto;let n=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(n=()=>{const e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(e=>(e^(15&n())>>e/4).toString(16)))}function o(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function a(e){const{message:t,event_id:n}=e;if(t)return t;const r=o(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function l(e,t,n){const r=e.exception=e.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=t||""),s.type||(s.type=n||"Error")}function c(e,t){const n=o(e);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...t},t&&"data"in t){const e={...r&&r.data,...t.data};n.mechanism.data=e}}function u(e){if(e&&e.__sentry_captured__)return!0;try{(0,r.my)(e,"__sentry_captured__",!0)}catch(e){}return!1}function d(e){return Array.isArray(e)?e:[e]}},43578:(e,t,n)=>{"use strict";n.d(t,{S8:()=>o,cd:()=>a});var r=n(61214),i=n(4269),s=n(80947);function o(e,t=100,n=1/0){try{return l("",e,t,n)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function a(e,t=3,n=102400){const r=o(e,t);return i=r,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(i))>n?a(e,t-1,n):r;var i}function l(e,t,n=1/0,o=1/0,a=function(){const e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(n){if(e)return!!t.has(n)||(t.add(n),!1);for(let e=0;e=o){f[e]="[MaxProperties ~]";break}const t=g[e];f[e]=l(e,t,h-1,o,a),m++}return u(t),f}},4269:(e,t,n)=>{"use strict";n.d(t,{Ce:()=>y,GS:()=>l,HF:()=>g,W4:()=>p,my:()=>c,pO:()=>u,sp:()=>d,u4:()=>h});var r=n(2516),i=n(4310),s=n(61214),o=n(39414),a=n(77351);function l(e,t,n){if(!(t in e))return;const r=e[t],i=n(r);"function"==typeof i&&u(i,r),e[t]=i}function c(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch(n){i.T&&o.vF.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function u(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,c(e,"__sentry_original__",t)}catch(e){}}function d(e){return e.__sentry_original__}function h(e){return Object.keys(e).map((t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`)).join("&")}function p(e){if((0,s.bJ)(e))return{message:e.message,name:e.name,stack:e.stack,...m(e)};if((0,s.xH)(e)){const t={type:e.type,target:f(e.target),currentTarget:f(e.currentTarget),...m(e)};return"undefined"!=typeof CustomEvent&&(0,s.tH)(e,CustomEvent)&&(t.detail=e.detail),t}return e}function f(e){try{return(0,s.vq)(e)?(0,r.Hd)(e):Object.prototype.toString.call(e)}catch(e){return""}}function m(e){if("object"==typeof e&&null!==e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}return{}}function g(e,t=40){const n=Object.keys(p(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return(0,a.xv)(r,t);for(let e=n.length;e>0;e--){const r=n.slice(0,e).join(", ");if(!(r.length>t))return e===n.length?r:(0,a.xv)(r,t)}return""}function y(e){return b(e,new Map)}function b(e,t){if(function(e){if(!(0,s.Qd)(e))return!1;try{const t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}(e)){const n=t.get(e);if(void 0!==n)return n;const r={};t.set(e,r);for(const n of Object.keys(e))void 0!==e[n]&&(r[n]=b(e[n],t));return r}if(Array.isArray(e)){const n=t.get(e);if(void 0!==n)return n;const r=[];return t.set(e,r),e.forEach((e=>{r.push(b(e,t))})),r}return e}},36799:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(79170);function i(){return{traceId:(0,r.eJ)(),spanId:(0,r.eJ)().substring(16)}}},80947:(e,t,n)=>{"use strict";n.d(t,{RV:()=>h,gd:()=>a,qQ:()=>d,vk:()=>l,yF:()=>i});const r=50,i="?",s=/\(error: (.*)\)/,o=/captureMessage|captureException/;function a(...e){const t=e.sort(((e,t)=>e[0]-t[0])).map((e=>e[1]));return(e,n=0,a=0)=>{const l=[],u=e.split("\n");for(let e=n;e1024)continue;const i=s.test(n)?n.replace(s,"$1"):n;if(!i.match(/\S*Error: /)){for(const e of t){const t=e(i);if(t){l.push(t);break}}if(l.length>=r+a)break}}return function(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(c(t).function||"")&&t.pop(),t.reverse(),o.test(c(t).function||"")&&(t.pop(),o.test(c(t).function||"")&&t.pop()),t.slice(0,r).map((e=>({...e,filename:e.filename||c(t).filename,function:e.function||i})))}(l.slice(a))}}function l(e){return Array.isArray(e)?a(...e):e}function c(e){return e[e.length-1]||{}}const u="";function d(e){try{return e&&"function"==typeof e&&e.name||u}catch(e){return u}}function h(e){const t=e.exception;if(t){const e=[];try{return t.values.forEach((t=>{t.stacktrace.frames&&e.push(...t.stacktrace.frames)})),e}catch(e){return}}}},77351:(e,t,n)=>{"use strict";n.d(t,{Xr:()=>o,gt:()=>s,xv:()=>i});var r=n(61214);function i(e,t=0){return"string"!=typeof e||0===t||e.length<=t?e:`${e.slice(0,t)}...`}function s(e,t){if(!Array.isArray(e))return"";const n=[];for(let t=0;tfunction(e,t,n=!1){return!!(0,r.Kg)(e)&&((0,r.gd)(t)?t.test(e):!!(0,r.Kg)(t)&&(n?e===t:e.includes(t)))}(e,t,n)))}},6234:(e,t,n)=>{"use strict";n.d(t,{a3:()=>a,m7:()=>l,vm:()=>o});var r=n(4310),i=n(39414);const s=n(36123).O;function o(){if(!("fetch"in s))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function a(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function l(){if("string"==typeof EdgeRuntime)return!0;if(!o())return!1;if(a(s.fetch))return!0;let e=!1;const t=s.document;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(e=a(n.contentWindow.fetch)),t.head.removeChild(n)}catch(e){r.T&&i.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}},5264:(e,t,n)=>{"use strict";n.d(t,{T2:()=>a,XW:()=>s,xg:()=>o});var r,i=n(61214);function s(e){return new a((t=>{t(e)}))}function o(e){return new a(((t,n)=>{n(e)}))}!function(e){e[e.PENDING=0]="PENDING",e[e.RESOLVED=1]="RESOLVED",e[e.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(e){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new a(((n,r)=>{this._handlers.push([!1,t=>{if(e)try{n(e(t))}catch(e){r(e)}else n(t)},e=>{if(t)try{n(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()}))}catch(e){return this.then((e=>e),e)}finally(e){return new a(((t,n)=>{let r,i;return this.then((t=>{i=!1,r=t,e&&e()}),(t=>{i=!0,r=t,e&&e()})).then((()=>{i?n(r):t(r)}))}))}__init(){this._resolve=e=>{this._setResult(r.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(r.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{this._state===r.PENDING&&((0,i.Qg)(t)?t.then(this._resolve,this._reject):(this._state=e,this._value=t,this._executeHandlers()))}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;const e=this._handlers.slice();this._handlers=[],e.forEach((e=>{e[0]||(this._state===r.RESOLVED&&e[1](this._value),this._state===r.REJECTED&&e[2](this._value),e[0]=!0)}))}}}},4331:(e,t,n)=>{"use strict";n.d(t,{k3:()=>l,lu:()=>s,zf:()=>o});var r=n(36123);const i=1e3;function s(){return Date.now()/i}const o=function(){const{performance:e}=r.O;if(!e||!e.now)return s;const t=Date.now()-e.now(),n=null==e.timeOrigin?t:e.timeOrigin;return()=>(n+e.now())/i}();let a;const l=(()=>{const{performance:e}=r.O;if(!e||!e.now)return void(a="none");const t=36e5,n=e.now(),i=Date.now(),s=e.timeOrigin?Math.abs(e.timeOrigin+n-i):t,o=s{"use strict";n.d(t,{TC:()=>a,kM:()=>o});var r=n(33182),i=n(79170);const s=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function o(e,t){const n=function(e){if(!e)return;const t=e.match(s);if(!t)return;let n;return"1"===t[3]?n=!0:"0"===t[3]&&(n=!1),{traceId:t[1],parentSampled:n,parentSpanId:t[2]}}(e),o=(0,r.yD)(t),{traceId:a,parentSpanId:l,parentSampled:c}=n||{};return n?{traceId:a||(0,i.eJ)(),parentSpanId:l||(0,i.eJ)().substring(16),spanId:(0,i.eJ)().substring(16),sampled:c,dsc:o||{}}:{traceId:a||(0,i.eJ)(),spanId:(0,i.eJ)().substring(16)}}function a(e=(0,i.eJ)(),t=(0,i.eJ)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${e}-${t}${r}`}},49177:(e,t,n)=>{"use strict";function r(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}n.d(t,{Dl:()=>r})},58564:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});const r="8.20.0"},36123:(e,t,n)=>{"use strict";n.d(t,{B:()=>s,O:()=>i});var r=n(58564);const i=globalThis;function s(e,t,n){const s=n||i,o=s.__SENTRY__=s.__SENTRY__||{},a=o[r.M]=o[r.M]||{};return a[e]||(a[e]=t())}},15358:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});const r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},84838:(e,t,n)=>{"use strict";n.d(t,{_:()=>l});var r=n(59335);const i=n(36123).O;var s=n(4269),o=n(48101);let a;function l(e){const t="history";(0,r.s5)(t,e),(0,r.AS)(t,c)}function c(){if(!function(){const e=i.chrome,t=e&&e.app&&e.app.runtime,n="history"in i&&!!i.history.pushState&&!!i.history.replaceState;return!t&&n}())return;const e=o.j.onpopstate;function t(e){return function(...t){const n=t.length>2?t[2]:void 0;if(n){const e=a,t=String(n);a=t;const i={from:e,to:t};(0,r.aj)("history",i)}return e.apply(this,t)}}o.j.onpopstate=function(...t){const n=o.j.location.href,i=a;a=n;const s={from:i,to:n};if((0,r.aj)("history",s),e)try{return e.apply(this,t)}catch(e){}},(0,s.GS)(o.j.history,"pushState",t),(0,s.GS)(o.j.history,"replaceState",t)}},73846:(e,t,n)=>{"use strict";n.d(t,{Er:()=>l,Mn:()=>c});var r=n(59335),i=n(4269),s=n(4331),o=n(61214),a=n(48101);const l="__sentry_xhr_v3__";function c(e){(0,r.s5)("xhr",e),(0,r.AS)("xhr",u)}function u(){if(!a.j.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;(0,i.GS)(e,"open",(function(e){return function(...t){const n=1e3*(0,s.zf)(),a=(0,o.Kg)(t[0])?t[0].toUpperCase():void 0,c=function(e){if((0,o.Kg)(e))return e;try{return e.toString()}catch(e){}}(t[1]);if(!a||!c)return e.apply(this,t);this[l]={method:a,url:c,request_headers:{}},"POST"===a&&c.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const u=()=>{const e=this[l];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}const t={endTimestamp:1e3*(0,s.zf)(),startTimestamp:n,xhr:this};(0,r.aj)("xhr",t)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,i.GS)(this,"onreadystatechange",(function(e){return function(...t){return u(),e.apply(this,t)}})):this.addEventListener("readystatechange",u),(0,i.GS)(this,"setRequestHeader",(function(e){return function(...t){const[n,r]=t,i=this[l];return i&&(0,o.Kg)(n)&&(0,o.Kg)(r)&&(i.request_headers[n.toLowerCase()]=r),e.apply(this,t)}})),e.apply(this,t)}})),(0,i.GS)(e,"send",(function(e){return function(...t){const n=this[l];if(!n)return e.apply(this,t);void 0!==t[0]&&(n.body=t[0]);const i={startTimestamp:1e3*(0,s.zf)(),xhr:this};return(0,r.aj)("xhr",i),e.apply(this,t)}}))}},48101:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});const r=n(36123).O},73638:(e,t,n)=>{"use strict";function r(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}n.d(t,{F:()=>r})},45087:(e,t,n)=>{"use strict";n.d(t,{q:()=>i});let r={};function i(){return r}},63807:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(9050);function i(e){const t=(0,r.a)(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}},26567:(e,t,n)=>{"use strict";n.d(t,{A:()=>o,f:()=>s});var r=n(9050),i=n(41384);function s(e,t){const n=(0,r.a)(e);return isNaN(t)?(0,i.w)(e,NaN):t?(n.setDate(n.getDate()+t),n):n}const o=s},61204:(e,t,n)=>{"use strict";n.d(t,{Cg:()=>s,F6:()=>a,Nw:()=>o,my:()=>r,w4:()=>i}),Math.pow(10,8);const r=6048e5,i=864e5,s=6e4,o=43200,a=1440},41384:(e,t,n)=>{"use strict";function r(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}n.d(t,{w:()=>r})},58890:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var r=n(61204),i=n(49962),s=n(63807);function o(e,t){const n=(0,i.o)(e),o=(0,i.o)(t),a=+n-(0,s.G)(n),l=+o-(0,s.G)(o);return Math.round((a-l)/r.w4)}},55319:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,D:()=>i});var r=n(9050);function i(e){const t=(0,r.a)(e);return t.setHours(23,59,59,999),t}const s=i},78836:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>F});var r=n(22444),i=n(45087),s=n(58890),o=n(9050),a=n(41384);function l(e){const t=(0,o.a)(e);return(0,s.m)(t,function(e){const t=(0,o.a)(e),n=(0,a.w)(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t))+1}var c=n(61204);function u(e,t){const n=(0,i.q)(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,s=(0,o.a)(e),a=s.getDay(),l=(a=i.getTime()?n+1:t.getTime()>=l.getTime()?n:n-1}function p(e){const t=(0,o.a)(e),n=+d(t)-+function(e){const t=h(e),n=(0,a.w)(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),d(n)}(t);return Math.round(n/c.my)+1}function f(e,t){const n=(0,o.a)(e),r=n.getFullYear(),s=(0,i.q)(),l=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,c=(0,a.w)(e,0);c.setFullYear(r+1,0,l),c.setHours(0,0,0,0);const d=u(c,t),h=(0,a.w)(e,0);h.setFullYear(r,0,l),h.setHours(0,0,0,0);const p=u(h,t);return n.getTime()>=d.getTime()?r+1:n.getTime()>=p.getTime()?r:r-1}function m(e,t){const n=(0,o.a)(e),r=+u(n,t)-+function(e,t){const n=(0,i.q)(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,s=f(e,t),o=(0,a.w)(e,0);return o.setFullYear(s,0,r),o.setHours(0,0,0,0),u(o,t)}(n,t);return Math.round(r/c.my)+1}var g=n(73638);const y={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return(0,g.F)("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):(0,g.F)(n+1,2)},d:(e,t)=>(0,g.F)(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>(0,g.F)(e.getHours()%12||12,t.length),H:(e,t)=>(0,g.F)(e.getHours(),t.length),m:(e,t)=>(0,g.F)(e.getMinutes(),t.length),s:(e,t)=>(0,g.F)(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds(),i=Math.trunc(r*Math.pow(10,n-3));return(0,g.F)(i,t.length)}},b={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return y.y(e,t)},Y:function(e,t,n,r){const i=f(e,r),s=i>0?i:1-i;if("YY"===t){const e=s%100;return(0,g.F)(e,2)}return"Yo"===t?n.ordinalNumber(s,{unit:"year"}):(0,g.F)(s,t.length)},R:function(e,t){const n=h(e);return(0,g.F)(n,t.length)},u:function(e,t){const n=e.getFullYear();return(0,g.F)(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return(0,g.F)(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return(0,g.F)(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return y.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return(0,g.F)(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const i=m(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):(0,g.F)(i,t.length)},I:function(e,t,n){const r=p(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):(0,g.F)(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):y.d(e,t)},D:function(e,t,n){const r=l(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):(0,g.F)(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const i=e.getDay(),s=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(s);case"ee":return(0,g.F)(s,2);case"eo":return n.ordinalNumber(s,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const i=e.getDay(),s=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(s);case"cc":return(0,g.F)(s,t.length);case"co":return n.ordinalNumber(s,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return(0,g.F)(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let i;switch(i=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let i;switch(i=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});default:return n.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return y.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):y.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,g.F)(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):(0,g.F)(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):y.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):y.s(e,t)},S:function(e,t){return y.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return v(r);case"XXXX":case"XX":return w(r);default:return w(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return v(r);case"xxxx":case"xx":return w(r);default:return w(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+_(r,":");default:return"GMT"+w(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+_(r,":");default:return"GMT"+w(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return(0,g.F)(r,t.length)},T:function(e,t,n){const r=e.getTime();return(0,g.F)(r,t.length)}};function _(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),i=Math.trunc(r/60),s=r%60;return 0===s?n+String(i):n+String(i)+t+(0,g.F)(s,2)}function v(e,t){return e%60==0?(e>0?"-":"+")+(0,g.F)(Math.abs(e)/60,2):w(e,t)}function w(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+(0,g.F)(Math.trunc(r/60),2)+t+(0,g.F)(r%60,2)}const A=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},k=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},S={p:k,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],i=n[2];if(!i)return A(e,t);let s;switch(r){case"P":s=t.dateTime({width:"short"});break;case"PP":s=t.dateTime({width:"medium"});break;case"PPP":s=t.dateTime({width:"long"});break;default:s=t.dateTime({width:"full"})}return s.replace("{{date}}",A(r,t)).replace("{{time}}",k(i,t))}},E=/^D+$/,x=/^Y+$/,C=["D","DD","YY","YYYY"];function T(e){if(!(t=e,t instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t)||"number"==typeof e))return!1;var t;const n=(0,o.a)(e);return!isNaN(Number(n))}const O=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,R=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,M=/^'([^]*?)'?$/,D=/''/g,N=/[a-zA-Z]/;function P(e){const t=e.match(M);return t?t[1].replace(D,"'"):e}const F=function(e,t,n){const s=(0,i.q)(),a=n?.locale??s.locale??r.c,l=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,c=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??s.weekStartsOn??s.locale?.options?.weekStartsOn??0,u=(0,o.a)(e);if(!T(u))throw new RangeError("Invalid time value");let d=t.match(R).map((e=>{const t=e[0];return"p"===t||"P"===t?(0,S[t])(e,a.formatLong):e})).join("").match(O).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:P(e)};if(b[t])return{isToken:!0,value:e};if(t.match(N))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));a.localize.preprocessor&&(d=a.localize.preprocessor(u,d));const h={firstWeekContainsDate:l,weekStartsOn:c,locale:a};return d.map((r=>{if(!r.isToken)return r.value;const i=r.value;return(!n?.useAdditionalWeekYearTokens&&function(e){return x.test(e)}(i)||!n?.useAdditionalDayOfYearTokens&&function(e){return E.test(e)}(i))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),C.includes(e))throw new RangeError(r)}(i,t,String(e)),(0,b[i[0]])(u,i,a.localize,h)})).join("")}},22444:(e,t,n)=>{"use strict";n.d(t,{c:()=>u});const r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function i(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const s={date:i({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:i({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:i({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},o={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function a(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):t;r=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;r=e.values[i]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function l(e){return(t,n={})=>{const r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(i);if(!s)return null;const o=s[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?function(e){for(let t=0;t{let i;const s=r[e];return i="string"==typeof s?s:1===t?s.one:s.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i},formatLong:s,formatRelative:(e,t,n,r)=>o[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:a({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:a({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:a({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:a({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:a({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(c={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(c.matchPattern);if(!n)return null;const r=n[0],i=e.match(c.parsePattern);if(!i)return null;let s=c.valueCallback?c.valueCallback(i[0]):i[0];return s=t.valueCallback?t.valueCallback(s):s,{value:s,rest:e.slice(r.length)}}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},49962:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,o:()=>i});var r=n(9050);function i(e){const t=(0,r.a)(e);return t.setHours(0,0,0,0),t}const s=i},9050:(e,t,n)=>{"use strict";function r(e){const t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):"number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?new Date(e):new Date(NaN)}n.d(t,{a:()=>r})}}]); \ No newline at end of file diff --git a/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt b/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt new file mode 100644 index 00000000..258034cd --- /dev/null +++ b/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt @@ -0,0 +1,317 @@ +/* +
+
+
+ {{#if @version.yanked}} + {{svg-jar "trash"}} + {{else if @version.invalidSemver}} + ? + {{else if @version.isFirst}} + {{svg-jar "star"}} + {{else}} + {{@version.releaseTrack}} + {{/if}} + + + {{this.releaseTrackTitle}} + +
+ + + {{@version.num}} + +
+ +
+
+ {{#if @version.published_by}} + + by + + + {{or @version.published_by.name @version.published_by.login}} + + + {{/if}} + + +
+ + {{#if (or @version.crate_size @version.license @version.featureList)}} +
+ {{#if @version.msrv}} + + {{svg-jar "rust"}} + v{{@version.msrv}} + + {{/if}} + + {{#if @version.crate_size}} + + {{svg-jar "weight"}} + {{pretty-bytes @version.crate_size}} + + {{/if}} + + {{#if @version.license}} + + {{svg-jar "license"}} + + + {{/if}} + + {{#if @version.featureList}} + + {{svg-jar "checkbox"}} + {{@version.featureList.length}} {{if (eq @version.featureList.length 1) "Feature" "Features"}} + + +
    + {{#each @version.featureList as |feature|}} +
  • + {{svg-jar (if feature.isDefault "checkbox" "checkbox-empty")}} + {{feature.name}} +
  • + {{/each}} +
+
+
+ {{/if}} +
+ {{/if}} +
+ + + + +
+*/ + +/* +
+
+

Metadata

+ + + + {{#if @version.msrv}} +
+ {{svg-jar "rust"}} + + v{{@version.msrv}} + + +
+ {{/if}} + + {{#if @version.license}} +
+ {{svg-jar "license"}} + + + +
+ {{/if}} + + {{#if @version.crate_size}} +
+ {{svg-jar "weight"}} + {{pretty-bytes @version.crate_size}} +
+ {{/if}} +
+ + {{#unless @version.yanked}} +
+

Install

+ + +
+ {{/unless}} + + {{#if (or this.showHomepage @version.documentationLink @crate.repository)}} +
+ {{#if this.showHomepage}} + + {{/if}} + + {{#if @version.documentationLink}} + + {{/if}} + + {{#if @crate.repository}} + + {{/if}} +
+ {{/if}} + +
+

Owners

+ +
+ + {{#unless @crate.categories.isPending}} + {{#if @crate.categories}} +
+

Categories

+
    + {{#each @crate.categories as |category|}} +
  • + {{category.category}} +
  • + {{/each}} +
+
+ {{/if}} + {{/unless}} + + {{#if this.playgroundLink}} +
+ + Try on Rust Playground + + {{#if this.canHover}} + + {{/if}} + + {{#unless this.canHover}} +

+ The top 100 crates are available on the Rust Playground for you to + try out directly in your browser. +

+ {{/unless}} +
+ {{/if}} +
+*/ + +/* + {{#each (parse-license @license) as |part|}} + {{#if part.isKeyword}} + {{part.text}} + {{else if part.link}} + + {{part.text}} + + {{else}} + {{part.text}} + {{/if}} +{{/each}} +*/ + +/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.16.1 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +/**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.3.3 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ diff --git a/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt.br b/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt.br new file mode 100644 index 00000000..310daa9f Binary files /dev/null and b/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt.br differ diff --git a/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt.gz b/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt.gz new file mode 100644 index 00000000..392ba3f7 Binary files /dev/null and b/assets/chunk.d0465e0adadbc973a48d.js.LICENSE.txt.gz differ diff --git a/assets/chunk.d0465e0adadbc973a48d.js.br b/assets/chunk.d0465e0adadbc973a48d.js.br new file mode 100644 index 00000000..62f21db8 Binary files /dev/null and b/assets/chunk.d0465e0adadbc973a48d.js.br differ diff --git a/assets/chunk.d0465e0adadbc973a48d.js.gz b/assets/chunk.d0465e0adadbc973a48d.js.gz new file mode 100644 index 00000000..c470171c Binary files /dev/null and b/assets/chunk.d0465e0adadbc973a48d.js.gz differ diff --git a/assets/chunk.d6cae2bbf1f32e7a9f2f.js b/assets/chunk.d6cae2bbf1f32e7a9f2f.js new file mode 100644 index 00000000..9a4603a6 --- /dev/null +++ b/assets/chunk.d6cae2bbf1f32e7a9f2f.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[342],{8342:(t,i,e)=>{e.d(i,{diagram:()=>W});var s=e(59659),n=e(73498),a=e(84017),h=(e(92329),e(88641),e(31998),function(){var t=function(t,i,e,s){for(e=e||{},s=t.length;s--;e[t[s]]=i);return e},i=[1,10,12,14,16,18,19,21,23],e=[2,6],s=[1,3],n=[1,5],a=[1,6],h=[1,7],o=[1,5,10,12,14,16,18,19,21,23,34,35,36],r=[1,25],l=[1,26],c=[1,28],g=[1,29],u=[1,30],x=[1,31],d=[1,32],p=[1,33],f=[1,34],y=[1,35],m=[1,36],b=[1,37],A=[1,43],w=[1,42],S=[1,47],C=[1,50],k=[1,10,12,14,16,18,19,21,23,34,35,36],_=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],T=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],R=[1,64],D={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:function(t,i,e,s,n,a,h){var o=a.length-1;switch(n){case 5:s.setOrientation(a[o]);break;case 9:s.setDiagramTitle(a[o].text.trim());break;case 12:s.setLineData({text:"",type:"text"},a[o]);break;case 13:s.setLineData(a[o-1],a[o]);break;case 14:s.setBarData({text:"",type:"text"},a[o]);break;case 15:s.setBarData(a[o-1],a[o]);break;case 16:this.$=a[o].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=a[o].trim(),s.setAccDescription(this.$);break;case 19:case 27:this.$=a[o-1];break;case 20:this.$=[Number(a[o-2]),...a[o]];break;case 21:this.$=[Number(a[o])];break;case 22:s.setXAxisTitle(a[o]);break;case 23:s.setXAxisTitle(a[o-1]);break;case 24:s.setXAxisTitle({type:"text",text:""});break;case 25:s.setXAxisBand(a[o]);break;case 26:s.setXAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 28:this.$=[a[o-2],...a[o]];break;case 29:this.$=[a[o]];break;case 30:s.setYAxisTitle(a[o]);break;case 31:s.setYAxisTitle(a[o-1]);break;case 32:s.setYAxisTitle({type:"text",text:""});break;case 33:s.setYAxisRangeData(Number(a[o-2]),Number(a[o]));break;case 37:case 38:this.$={text:a[o],type:"text"};break;case 39:this.$={text:a[o],type:"markdown"};break;case 40:this.$=a[o];break;case 41:this.$=a[o-1]+""+a[o]}},table:[t(i,e,{3:1,4:2,7:4,5:s,34:n,35:a,36:h}),{1:[3]},t(i,e,{4:2,7:4,3:8,5:s,34:n,35:a,36:h}),t(i,e,{4:2,7:4,6:9,3:10,5:s,8:[1,11],34:n,35:a,36:h}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},t(o,[2,34]),t(o,[2,35]),t(o,[2,36]),{1:[2,1]},t(i,e,{4:2,7:4,3:21,5:s,34:n,35:a,36:h}),{1:[2,3]},t(o,[2,5]),t(i,[2,7],{4:22,34:n,35:a,36:h}),{11:23,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{11:39,13:38,24:A,27:w,29:40,30:41,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{11:45,15:44,27:S,33:46,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{11:49,17:48,24:C,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{11:52,17:51,24:C,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},{20:[1,53]},{22:[1,54]},t(k,[2,18]),{1:[2,2]},t(k,[2,8]),t(k,[2,9]),t(_,[2,37],{40:55,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b}),t(_,[2,38]),t(_,[2,39]),t(T,[2,40]),t(T,[2,42]),t(T,[2,43]),t(T,[2,44]),t(T,[2,45]),t(T,[2,46]),t(T,[2,47]),t(T,[2,48]),t(T,[2,49]),t(T,[2,50]),t(T,[2,51]),t(k,[2,10]),t(k,[2,22],{30:41,29:56,24:A,27:w}),t(k,[2,24]),t(k,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},t(k,[2,11]),t(k,[2,30],{33:60,27:S}),t(k,[2,32]),{31:[1,61]},t(k,[2,12]),{17:62,24:C},{25:63,27:R},t(k,[2,14]),{17:65,24:C},t(k,[2,16]),t(k,[2,17]),t(T,[2,41]),t(k,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},t(k,[2,31]),{27:[1,69]},t(k,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},t(k,[2,15]),t(k,[2,26]),t(k,[2,27]),{11:59,32:72,37:24,38:r,39:l,40:27,41:c,42:g,43:u,44:x,45:d,46:p,47:f,48:y,49:m,50:b},t(k,[2,33]),t(k,[2,19]),{25:73,27:R},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:function(t,i){if(!i.recoverable){var e=new Error(t);throw e.hash=i,e}this.trace(t)},parse:function(t){var i=[0],e=[],s=[null],n=[],a=this.table,h="",o=0,r=0,l=n.slice.call(arguments,1),c=Object.create(this.lexer),g={yy:{}};for(var u in this.yy)Object.prototype.hasOwnProperty.call(this.yy,u)&&(g.yy[u]=this.yy[u]);c.setInput(t,g.yy),g.yy.lexer=c,g.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var x=c.yylloc;n.push(x);var d=c.options&&c.options.ranges;"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,f,y,m,b,A,w,S,C,k={};;){if(f=i[i.length-1],this.defaultActions[f]?y=this.defaultActions[f]:(null==p&&(C=void 0,"number"!=typeof(C=e.pop()||c.lex()||1)&&(C instanceof Array&&(C=(e=C).pop()),C=this.symbols_[C]||C),p=C),y=a[f]&&a[f][p]),void 0===y||!y.length||!y[0]){var _;for(b in S=[],a[f])this.terminals_[b]&&b>2&&S.push("'"+this.terminals_[b]+"'");_=c.showPosition?"Parse error on line "+(o+1)+":\n"+c.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(_,{text:c.match,token:this.terminals_[p]||p,line:c.yylineno,loc:x,expected:S})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+f+", token: "+p);switch(y[0]){case 1:i.push(p),s.push(c.yytext),n.push(c.yylloc),i.push(y[1]),p=null,r=c.yyleng,h=c.yytext,o=c.yylineno,x=c.yylloc;break;case 2:if(A=this.productions_[y[1]][1],k.$=s[s.length-A],k._$={first_line:n[n.length-(A||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(A||1)].first_column,last_column:n[n.length-1].last_column},d&&(k._$.range=[n[n.length-(A||1)].range[0],n[n.length-1].range[1]]),void 0!==(m=this.performAction.apply(k,[h,r,o,g.yy,y[1],s,n].concat(l))))return m;A&&(i=i.slice(0,-1*A*2),s=s.slice(0,-1*A),n=n.slice(0,-1*A)),i.push(this.productions_[y[1]][0]),s.push(k.$),n.push(k._$),w=a[i[i.length-2]][i[i.length-1]],i.push(w);break;case 3:return!0}}return!0}},L={EOF:1,parseError:function(t,i){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,e=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),e.length-1&&(this.yylineno-=e.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:e?(e.length===s.length?this.yylloc.first_column:0)+s[s.length-e.length].length-e[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+i+"^"},test_match:function(t,i){var e,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],e=this.performAction.call(this,this.yy,this,i,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),e)return e;if(this._backtrack){for(var a in n)this[a]=n[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,i,e,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),a=0;ai[0].length)){if(i=e,s=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(e,n[a])))return t;if(this._backtrack){i=!1;continue}return!1}if(!this.options.flex)break}return i?!1!==(t=this.test_match(i,n[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,i,e,s){switch(e){case 0:case 1:case 5:case 43:break;case 2:case 3:return this.popState(),34;case 4:return 34;case 6:return 10;case 7:return this.pushState("acc_title"),19;case 8:return this.popState(),"acc_title_value";case 9:return this.pushState("acc_descr"),21;case 10:return this.popState(),"acc_descr_value";case 11:this.pushState("acc_descr_multiline");break;case 12:case 25:case 27:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 5;case 15:return 8;case 16:return this.pushState("axis_data"),"X_AXIS";case 17:return this.pushState("axis_data"),"Y_AXIS";case 18:return this.pushState("axis_band_data"),24;case 19:return 31;case 20:return this.pushState("data"),16;case 21:return this.pushState("data"),18;case 22:return this.pushState("data_inner"),24;case 23:return 27;case 24:return this.popState(),26;case 26:this.pushState("string");break;case 28:return"STR";case 29:return 24;case 30:return 26;case 31:return 43;case 32:return"COLON";case 33:return 44;case 34:return 28;case 35:return 45;case 36:return 46;case 37:return 48;case 38:return 50;case 39:return 47;case 40:return 41;case 41:return 49;case 42:return 42;case 44:return 35;case 45:return 36}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\{)/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,23,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,20,21,22,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,24,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,23,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[27,28],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,20,21,25,26,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],inclusive:!0}}};function P(){this.yy={}}return D.lexer=L,P.prototype=D,D.Parser=P,new P}());h.parser=h;const o=h;function r(t){return"bar"===t.type}function l(t){return"band"===t.type}function c(t){return"linear"===t.type}class g{constructor(t){this.parentGroup=t}getMaxDimension(t,i){if(!this.parentGroup)return{width:t.reduce(((t,i)=>Math.max(i.length,t)),0)*i,height:i};const e={width:0,height:0},s=this.parentGroup.append("g").attr("visibility","hidden").attr("font-size",i);for(const a of t){const t=(0,n.c)(s,1,a),h=t?t.width:a.length*i,o=t?t.height:i;e.width=Math.max(e.width,h),e.height=Math.max(e.height,o)}return s.remove(),e}}class u{constructor(t,i,e,s){this.axisConfig=t,this.title=i,this.textDimensionCalculator=e,this.axisThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left",this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition="left"}setRange(t){this.range=t,"left"===this.axisPosition||"right"===this.axisPosition?this.boundingRect.height=t[1]-t[0]:this.boundingRect.width=t[1]-t[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(t){this.axisPosition=t,this.setRange(this.range)}getTickDistance(){const t=this.getRange();return Math.abs(t[0]-t[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map((t=>t.toString())),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){.7*this.getTickDistance()>2*this.outerPadding&&(this.outerPadding=Math.floor(.7*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(t){let i=t.height;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.width;this.outerPadding=Math.min(e.width/2,s);const n=e.height+2*this.axisConfig.labelPadding;this.labelTextHeight=e.height,n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width,this.boundingRect.height=t.height-i}calculateSpaceIfDrawnVertical(t){let i=t.width;if(this.axisConfig.showAxisLine&&i>this.axisConfig.axisLineWidth&&(i-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){const e=this.getLabelDimension(),s=.2*t.height;this.outerPadding=Math.min(e.height/2,s);const n=e.width+2*this.axisConfig.labelPadding;n<=i&&(i-=n,this.showLabel=!0)}if(this.axisConfig.showTick&&i>=this.axisConfig.tickLength&&(this.showTick=!0,i-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){const t=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),e=t.height+2*this.axisConfig.titlePadding;this.titleTextHeight=t.height,e<=i&&(i-=e,this.showTitle=!0)}this.boundingRect.width=t.width-i,this.boundingRect.height=t.height}calculateSpace(t){return"left"===this.axisPosition||"right"===this.axisPosition?this.calculateSpaceIfDrawnVertical(t):this.calculateSpaceIfDrawnHorizontally(t),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}getDrawableElementsForLeftAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["left-axis","axisl-line"],data:[{path:`M ${i},${this.boundingRect.y} L ${i},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["left-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(t),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"middle",horizontalPos:"right"})))}),this.showTick){const i=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["left-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${i},${this.getScaleValue(t)} L ${i-this.axisConfig.tickLength},${this.getScaleValue(t)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["left-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForBottomAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["bottom-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["bottom-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"})))}),this.showTick){const i=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);t.push({type:"path",groupTexts:["bottom-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${this.getScaleValue(t)},${i} L ${this.getScaleValue(t)},${i+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["bottom-axis","title"],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElementsForTopAxis(){const t=[];if(this.showAxisLine){const i=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;t.push({type:"path",groupTexts:["top-axis","axis-line"],data:[{path:`M ${this.boundingRect.x},${i} L ${this.boundingRect.x+this.boundingRect.width},${i}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&t.push({type:"text",groupTexts:["top-axis","label"],data:this.getTickValues().map((t=>({text:t.toString(),x:this.getScaleValue(t),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+2*this.axisConfig.titlePadding:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"})))}),this.showTick){const i=this.boundingRect.y;t.push({type:"path",groupTexts:["top-axis","ticks"],data:this.getTickValues().map((t=>({path:`M ${this.getScaleValue(t)},${i+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(t)},${i+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth})))})}return this.showTitle&&t.push({type:"text",groupTexts:["top-axis","title"],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:"top",horizontalPos:"center"}]}),t}getDrawableElements(){if("left"===this.axisPosition)return this.getDrawableElementsForLeftAxis();if("right"===this.axisPosition)throw Error("Drawing of right axis is not implemented");return"bottom"===this.axisPosition?this.getDrawableElementsForBottomAxis():"top"===this.axisPosition?this.getDrawableElementsForTopAxis():[]}}class x extends u{constructor(t,i,e,s,n){super(t,s,n,i),this.categories=e,this.scale=(0,a.WH)().domain(this.categories).range(this.getRange())}setRange(t){super.setRange(t)}recalculateScale(){this.scale=(0,a.WH)().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),s.l.trace("BandAxis axis final categories, range: ",this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(t){return this.scale(t)||this.getRange()[0]}}class d extends u{constructor(t,i,e,s,n){super(t,s,n,i),this.domain=e,this.scale=(0,a.m4Y)().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){const t=[...this.domain];"left"===this.axisPosition&&t.reverse(),this.scale=(0,a.m4Y)().domain(t).range(this.getRange())}getScaleValue(t){return this.scale(t)}}function p(t,i,e,s){const n=new g(s);return l(t)?new x(i,e,t.categories,t.title,n):new d(i,e,[t.min,t.max],t.title,n)}class f{constructor(t,i,e,s){this.textDimensionCalculator=t,this.chartConfig=i,this.chartData=e,this.chartThemeConfig=s,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){const i=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),e=Math.max(i.width,t.width),s=i.height+2*this.chartConfig.titlePadding;return i.width<=e&&i.height<=s&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=e,this.boundingRect.height=s,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){const t=[];return this.showChartTitle&&t.push({groupTexts:["chart-title"],type:"text",data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:"middle",horizontalPos:"center",x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),t}}function y(t,i,e,s){const n=new g(s);return new f(n,t,i,e)}class m{constructor(t,i,e,s,n){this.plotData=t,this.xAxis=i,this.yAxis=e,this.orientation=s,this.plotIndex=n}getDrawableElement(){const t=this.plotData.data.map((t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])]));let i;return i="horizontal"===this.orientation?(0,a.n8j)().y((t=>t[0])).x((t=>t[1]))(t):(0,a.n8j)().x((t=>t[0])).y((t=>t[1]))(t),i?[{groupTexts:["plot",`line-plot-${this.plotIndex}`],type:"path",data:[{path:i,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}]:[]}}class b{constructor(t,i,e,s,n,a){this.barData=t,this.boundingRect=i,this.xAxis=e,this.yAxis=s,this.orientation=n,this.plotIndex=a}getDrawableElement(){const t=this.barData.data.map((t=>[this.xAxis.getScaleValue(t[0]),this.yAxis.getScaleValue(t[1])])),i=.95*Math.min(2*this.xAxis.getAxisOuterPadding(),this.xAxis.getTickDistance()),e=i/2;return"horizontal"===this.orientation?[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map((t=>({x:this.boundingRect.x,y:t[0]-e,height:i,width:t[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill})))}]:[{groupTexts:["plot",`bar-plot-${this.plotIndex}`],type:"rect",data:t.map((t=>({x:t[0]-e,y:t[1],width:i,height:this.boundingRect.y+this.boundingRect.height-t[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill})))}]}}class A{constructor(t,i,e){this.chartConfig=t,this.chartData=i,this.chartThemeConfig=e,this.boundingRect={x:0,y:0,width:0,height:0}}setAxes(t,i){this.xAxis=t,this.yAxis=i}setBoundingBoxXY(t){this.boundingRect.x=t.x,this.boundingRect.y=t.y}calculateSpace(t){return this.boundingRect.width=t.width,this.boundingRect.height=t.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!this.xAxis||!this.yAxis)throw Error("Axes must be passed to render Plots");const t=[];for(const[i,e]of this.chartData.plots.entries())switch(e.type){case"line":{const s=new m(e,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}break;case"bar":{const s=new b(e,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,i);t.push(...s.getDrawableElement())}}return t}}function w(t,i,e){return new A(t,i,e)}class S{constructor(t,i,e,s){this.chartConfig=t,this.chartData=i,this.componentStore={title:y(t,i,e,s),plot:w(t,i,e),xAxis:p(i.xAxis,t.xAxis,{titleColor:e.xAxisTitleColor,labelColor:e.xAxisLabelColor,tickColor:e.xAxisTickColor,axisLineColor:e.xAxisLineColor},s),yAxis:p(i.yAxis,t.yAxis,{titleColor:e.yAxisTitleColor,labelColor:e.yAxisLabelColor,tickColor:e.yAxisTickColor,axisLineColor:e.yAxisLineColor},s)}}calculateVerticalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),a=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),h=this.componentStore.plot.calculateSpace({width:n,height:a});t-=h.width,i-=h.height,h=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),s=h.height,i-=h.height,this.componentStore.xAxis.setAxisPosition("bottom"),h=this.componentStore.xAxis.calculateSpace({width:t,height:i}),i-=h.height,this.componentStore.yAxis.setAxisPosition("left"),h=this.componentStore.yAxis.calculateSpace({width:t,height:i}),e=h.width,t-=h.width,t>0&&(n+=t,t=0),i>0&&(a+=i,i=0),this.componentStore.plot.calculateSpace({width:n,height:a}),this.componentStore.plot.setBoundingBoxXY({x:e,y:s}),this.componentStore.xAxis.setRange([e,e+n]),this.componentStore.xAxis.setBoundingBoxXY({x:e,y:s+a}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:s}),this.chartData.plots.some((t=>r(t)))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let t=this.chartConfig.width,i=this.chartConfig.height,e=0,s=0,n=0,a=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),h=Math.floor(i*this.chartConfig.plotReservedSpacePercent/100),o=this.componentStore.plot.calculateSpace({width:a,height:h});t-=o.width,i-=o.height,o=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:i}),e=o.height,i-=o.height,this.componentStore.xAxis.setAxisPosition("left"),o=this.componentStore.xAxis.calculateSpace({width:t,height:i}),t-=o.width,s=o.width,this.componentStore.yAxis.setAxisPosition("top"),o=this.componentStore.yAxis.calculateSpace({width:t,height:i}),i-=o.height,n=e+o.height,t>0&&(a+=t,t=0),i>0&&(h+=i,i=0),this.componentStore.plot.calculateSpace({width:a,height:h}),this.componentStore.plot.setBoundingBoxXY({x:s,y:n}),this.componentStore.yAxis.setRange([s,s+a]),this.componentStore.yAxis.setBoundingBoxXY({x:s,y:e}),this.componentStore.xAxis.setRange([n,n+h]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:n}),this.chartData.plots.some((t=>r(t)))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){"horizontal"===this.chartConfig.chartOrientation?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();const t=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(const i of Object.values(this.componentStore))t.push(...i.getDrawableElements());return t}}class C{static build(t,i,e,s){return new S(t,i,e,s).getDrawableElement()}}let k,_=0,T=I(),R=v(),D={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},L=R.plotColorPalette.split(",").map((t=>t.trim())),P=!1,E=!1;function v(){const t=(0,s.E)(),i=(0,s.F)();return(0,s.C)(t.xyChart,i.themeVariables.xyChart)}function I(){const t=(0,s.F)();return(0,s.C)(s.B.xyChart,t.xyChart)}function M(t){const i=(0,s.F)();return(0,s.d)(t.trim(),i)}function $(t,i){D.xAxis={type:"linear",title:D.xAxis.title,min:t,max:i},P=!0}function z(t){let i=[];if(0===t.length)return i;if(!P){const i=c(D.xAxis)?D.xAxis.min:1/0,e=c(D.xAxis)?D.xAxis.max:-1/0;$(Math.min(i,1),Math.max(e,t.length))}if(E||function(t){const i=Math.min(...t),e=Math.max(...t),s=c(D.yAxis)?D.yAxis.min:1/0,n=c(D.yAxis)?D.yAxis.max:-1/0;D.yAxis={type:"linear",title:D.yAxis.title,min:Math.min(s,i),max:Math.max(n,e)}}(t),l(D.xAxis)&&(i=D.xAxis.categories.map(((i,e)=>[i,t[e]]))),c(D.xAxis)){const e=D.xAxis.min,s=D.xAxis.max,n=(s-e+1)/t.length,a=[];for(let t=e;t<=s;t+=n)a.push(`${t}`);i=a.map(((i,e)=>[i,t[e]]))}return i}function B(t){return L[0===t?0:t%L.length]}const W={parser:o,db:{getDrawableElem:function(){if(0===D.plots.length)throw Error("No Plot to render, please provide a plot with some data");return D.title=(0,s.t)(),C.build(T,D,R,k)},clear:function(){(0,s.v)(),_=0,T=I(),D={yAxis:{type:"linear",title:"",min:1/0,max:-1/0},xAxis:{type:"band",title:"",categories:[]},title:"",plots:[]},R=v(),L=R.plotColorPalette.split(",").map((t=>t.trim())),P=!1,E=!1},setAccTitle:s.s,getAccTitle:s.g,setDiagramTitle:s.q,getDiagramTitle:s.t,getAccDescription:s.a,setAccDescription:s.b,setOrientation:function(t){T.chartOrientation="horizontal"===t?"horizontal":"vertical"},setXAxisTitle:function(t){D.xAxis.title=M(t.text)},setXAxisRangeData:$,setXAxisBand:function(t){D.xAxis={type:"band",title:D.xAxis.title,categories:t.map((t=>M(t.text)))},P=!0},setYAxisTitle:function(t){D.yAxis.title=M(t.text)},setYAxisRangeData:function(t,i){D.yAxis={type:"linear",title:D.yAxis.title,min:t,max:i},E=!0},setLineData:function(t,i){const e=z(i);D.plots.push({type:"line",strokeFill:B(_),strokeWidth:2,data:e}),_++},setBarData:function(t,i){const e=z(i);D.plots.push({type:"bar",fill:B(_),data:e}),_++},setTmpSVGG:function(t){k=t},getChartThemeConfig:function(){return R},getChartConfig:function(){return T}},renderer:{draw:(t,i,e,n)=>{const a=n.db,h=a.getChartThemeConfig(),o=a.getChartConfig();function r(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}s.l.debug("Rendering xychart chart\n"+t);const l=(0,s.A)(i),c=l.append("g").attr("class","main"),g=c.append("rect").attr("width",o.width).attr("height",o.height).attr("class","background");(0,s.i)(l,o.height,o.width,!0),l.attr("viewBox",`0 0 ${o.width} ${o.height}`),g.attr("fill",h.backgroundColor),a.setTmpSVGG(l.append("g").attr("class","mermaid-tmp-group"));const u=a.getDrawableElem(),x={};function d(t){let i=c,e="";for(const[s]of t.entries()){let n=c;s>0&&x[e]&&(n=x[e]),e+=t[s],i=x[e],i||(i=x[e]=n.append("g").attr("class",t[s]))}return i}for(const t of u){if(0===t.data.length)continue;const i=d(t.groupTexts);switch(t.type){case"rect":i.selectAll("rect").data(t.data).enter().append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)).attr("stroke",(t=>t.strokeFill)).attr("stroke-width",(t=>t.strokeWidth));break;case"text":i.selectAll("text").data(t.data).enter().append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>"top"===t.verticalPos?"text-before-edge":"middle")).attr("text-anchor",(t=>{return"left"===(i=t.horizontalPos)?"start":"right"===i?"end":"middle";var i})).attr("transform",(t=>r(t))).text((t=>t.text));break;case"path":i.selectAll("path").data(t.data).enter().append("path").attr("d",(t=>t.path)).attr("fill",(t=>t.fill?t.fill:"none")).attr("stroke",(t=>t.strokeFill)).attr("stroke-width",(t=>t.strokeWidth))}}}}}}}]); \ No newline at end of file diff --git a/assets/chunk.d6cae2bbf1f32e7a9f2f.js.br b/assets/chunk.d6cae2bbf1f32e7a9f2f.js.br new file mode 100644 index 00000000..20e0a5f5 Binary files /dev/null and b/assets/chunk.d6cae2bbf1f32e7a9f2f.js.br differ diff --git a/assets/chunk.d6cae2bbf1f32e7a9f2f.js.gz b/assets/chunk.d6cae2bbf1f32e7a9f2f.js.gz new file mode 100644 index 00000000..81742d2b Binary files /dev/null and b/assets/chunk.d6cae2bbf1f32e7a9f2f.js.gz differ diff --git a/assets/chunk.d7c910711fc55b5d2182.js b/assets/chunk.d7c910711fc55b5d2182.js new file mode 100644 index 00000000..cfa119ae --- /dev/null +++ b/assets/chunk.d7c910711fc55b5d2182.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[590],{35590:(t,e,r)=>{r.d(e,{diagram:()=>S});var i=r(59659),a=r(84017),n=(r(92329),r(88641),r(31998),function(){var t=function(t,e,r,i){for(r=r||{},i=t.length;i--;r[t[i]]=e);return r},e=[1,3],r=[1,6],i=[1,4],a=[1,5],n=[2,5],c=[1,12],s=[5,7,13,19,21,23,24,26,28,31,37,40,47],o=[7,13,19,21,23,24,26,28,31,37,40],l=[7,12,13,19,21,23,24,26,28,31,37,40],h=[7,13,47],m=[1,42],y=[1,41],u=[7,13,29,32,35,38,47],p=[1,55],g=[1,56],b=[1,57],d=[7,13,32,35,42,47],f={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(t,e,r,i,a,n,c){var s=n.length-1;switch(a){case 2:return n[s];case 3:return n[s-1];case 4:return i.setDirection(n[s-3]),n[s-1];case 6:i.setOptions(n[s-1]),this.$=n[s];break;case 7:n[s-1]+=n[s],this.$=n[s-1];break;case 9:this.$=[];break;case 10:n[s-1].push(n[s]),this.$=n[s-1];break;case 11:this.$=n[s-1];break;case 16:this.$=n[s].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=n[s].trim(),i.setAccDescription(this.$);break;case 19:i.addSection(n[s].substr(8)),this.$=n[s].substr(8);break;case 21:i.checkout(n[s]);break;case 22:i.branch(n[s]);break;case 23:i.branch(n[s-2],n[s]);break;case 24:i.cherryPick(n[s],"",void 0);break;case 25:i.cherryPick(n[s-2],"",void 0,n[s]);break;case 26:i.cherryPick(n[s-2],"",n[s]);break;case 27:i.cherryPick(n[s-4],"",n[s],n[s-2]);break;case 28:i.cherryPick(n[s-4],"",n[s-2],n[s]);break;case 29:i.cherryPick(n[s],"",n[s-2]);break;case 30:i.cherryPick(n[s],"","");break;case 31:i.cherryPick(n[s-2],"","");break;case 32:i.cherryPick(n[s-4],"","",n[s-2]);break;case 33:i.cherryPick(n[s-4],"","",n[s]);break;case 34:i.cherryPick(n[s-2],"",n[s-4],n[s]);break;case 35:i.cherryPick(n[s-2],"","",n[s]);break;case 36:i.merge(n[s],"","","");break;case 37:i.merge(n[s-2],n[s],"","");break;case 38:i.merge(n[s-2],"",n[s],"");break;case 39:i.merge(n[s-2],"","",n[s]);break;case 40:i.merge(n[s-4],n[s],"",n[s-2]);break;case 41:i.merge(n[s-4],"",n[s],n[s-2]);break;case 42:i.merge(n[s-4],"",n[s-2],n[s]);break;case 43:i.merge(n[s-4],n[s-2],n[s],"");break;case 44:i.merge(n[s-4],n[s-2],"",n[s]);break;case 45:i.merge(n[s-4],n[s],n[s-2],"");break;case 46:i.merge(n[s-6],n[s-4],n[s-2],n[s]);break;case 47:i.merge(n[s-6],n[s],n[s-4],n[s-2]);break;case 48:i.merge(n[s-6],n[s-4],n[s],n[s-2]);break;case 49:i.merge(n[s-6],n[s-2],n[s-4],n[s]);break;case 50:i.merge(n[s-6],n[s],n[s-2],n[s-4]);break;case 51:i.merge(n[s-6],n[s-2],n[s],n[s-4]);break;case 52:i.commit(n[s]);break;case 53:i.commit("","",i.commitType.NORMAL,n[s]);break;case 54:i.commit("","",n[s],"");break;case 55:i.commit("","",n[s],n[s-2]);break;case 56:i.commit("","",n[s-2],n[s]);break;case 57:i.commit("",n[s],i.commitType.NORMAL,"");break;case 58:i.commit("",n[s-2],i.commitType.NORMAL,n[s]);break;case 59:i.commit("",n[s],i.commitType.NORMAL,n[s-2]);break;case 60:i.commit("",n[s-2],n[s],"");break;case 61:i.commit("",n[s],n[s-2],"");break;case 62:i.commit("",n[s-4],n[s-2],n[s]);break;case 63:i.commit("",n[s-4],n[s],n[s-2]);break;case 64:i.commit("",n[s-2],n[s-4],n[s]);break;case 65:i.commit("",n[s],n[s-4],n[s-2]);break;case 66:i.commit("",n[s],n[s-2],n[s-4]);break;case 67:i.commit("",n[s-2],n[s],n[s-4]);break;case 68:i.commit(n[s],"",i.commitType.NORMAL,"");break;case 69:i.commit(n[s],"",i.commitType.NORMAL,n[s-2]);break;case 70:i.commit(n[s-2],"",i.commitType.NORMAL,n[s]);break;case 71:i.commit(n[s-2],"",n[s],"");break;case 72:i.commit(n[s],"",n[s-2],"");break;case 73:i.commit(n[s],n[s-2],i.commitType.NORMAL,"");break;case 74:i.commit(n[s-2],n[s],i.commitType.NORMAL,"");break;case 75:i.commit(n[s-4],"",n[s-2],n[s]);break;case 76:i.commit(n[s-4],"",n[s],n[s-2]);break;case 77:i.commit(n[s-2],"",n[s-4],n[s]);break;case 78:i.commit(n[s],"",n[s-4],n[s-2]);break;case 79:i.commit(n[s],"",n[s-2],n[s-4]);break;case 80:i.commit(n[s-2],"",n[s],n[s-4]);break;case 81:i.commit(n[s-4],n[s],n[s-2],"");break;case 82:i.commit(n[s-4],n[s-2],n[s],"");break;case 83:i.commit(n[s-2],n[s],n[s-4],"");break;case 84:i.commit(n[s],n[s-2],n[s-4],"");break;case 85:i.commit(n[s],n[s-4],n[s-2],"");break;case 86:i.commit(n[s-2],n[s-4],n[s],"");break;case 87:i.commit(n[s-4],n[s],i.commitType.NORMAL,n[s-2]);break;case 88:i.commit(n[s-4],n[s-2],i.commitType.NORMAL,n[s]);break;case 89:i.commit(n[s-2],n[s],i.commitType.NORMAL,n[s-4]);break;case 90:i.commit(n[s],n[s-2],i.commitType.NORMAL,n[s-4]);break;case 91:i.commit(n[s],n[s-4],i.commitType.NORMAL,n[s-2]);break;case 92:i.commit(n[s-2],n[s-4],i.commitType.NORMAL,n[s]);break;case 93:i.commit(n[s-6],n[s-4],n[s-2],n[s]);break;case 94:i.commit(n[s-6],n[s-4],n[s],n[s-2]);break;case 95:i.commit(n[s-6],n[s-2],n[s-4],n[s]);break;case 96:i.commit(n[s-6],n[s],n[s-4],n[s-2]);break;case 97:i.commit(n[s-6],n[s-2],n[s],n[s-4]);break;case 98:i.commit(n[s-6],n[s],n[s-2],n[s-4]);break;case 99:i.commit(n[s-4],n[s-6],n[s-2],n[s]);break;case 100:i.commit(n[s-4],n[s-6],n[s],n[s-2]);break;case 101:i.commit(n[s-2],n[s-6],n[s-4],n[s]);break;case 102:i.commit(n[s],n[s-6],n[s-4],n[s-2]);break;case 103:i.commit(n[s-2],n[s-6],n[s],n[s-4]);break;case 104:i.commit(n[s],n[s-6],n[s-2],n[s-4]);break;case 105:i.commit(n[s],n[s-4],n[s-2],n[s-6]);break;case 106:i.commit(n[s-2],n[s-4],n[s],n[s-6]);break;case 107:i.commit(n[s],n[s-2],n[s-4],n[s-6]);break;case 108:i.commit(n[s-2],n[s],n[s-4],n[s-6]);break;case 109:i.commit(n[s-4],n[s-2],n[s],n[s-6]);break;case 110:i.commit(n[s-4],n[s],n[s-2],n[s-6]);break;case 111:i.commit(n[s-2],n[s-4],n[s-6],n[s]);break;case 112:i.commit(n[s],n[s-4],n[s-6],n[s-2]);break;case 113:i.commit(n[s-2],n[s],n[s-6],n[s-4]);break;case 114:i.commit(n[s],n[s-2],n[s-6],n[s-4]);break;case 115:i.commit(n[s-4],n[s-2],n[s-6],n[s]);break;case 116:i.commit(n[s-4],n[s],n[s-6],n[s-2]);break;case 117:this.$="";break;case 118:this.$=n[s];break;case 119:this.$=i.commitType.NORMAL;break;case 120:this.$=i.commitType.REVERSE;break;case 121:this.$=i.commitType.HIGHLIGHT}},table:[{3:1,4:2,5:e,7:r,13:i,47:a},{1:[3]},{3:7,4:2,5:e,7:r,13:i,47:a},{6:8,7:n,8:[1,9],9:[1,10],10:11,13:c},t(s,[2,124]),t(s,[2,125]),t(s,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:n,10:11,13:c},{8:[1,15]},t(o,[2,9],{11:16,12:[1,17]}),t(l,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:n,10:11,13:c},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},t(l,[2,7]),{1:[2,3]},{7:[1,36]},t(o,[2,10]),{4:37,7:r,13:i,47:a},t(o,[2,12]),t(h,[2,13]),t(h,[2,14]),t(h,[2,15]),{20:[1,38]},{22:[1,39]},t(h,[2,18]),t(h,[2,19]),t(h,[2,20]),{27:40,33:m,46:y},t(h,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:m,46:y},{32:[1,50],35:[1,51]},{27:52,33:m,46:y},{1:[2,4]},t(o,[2,11]),t(h,[2,16]),t(h,[2,17]),t(h,[2,21]),t(u,[2,122]),t(u,[2,123]),t(h,[2,52]),{33:[1,53]},{39:54,43:p,44:g,45:b},{33:[1,58]},{33:[1,59]},t(h,[2,118]),t(h,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},t(h,[2,22],{29:[1,66]}),t(h,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),t(h,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),t(d,[2,119]),t(d,[2,120]),t(d,[2,121]),t(h,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),t(h,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:p,44:g,45:b},{33:[1,81]},t(h,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:p,44:g,45:b},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:p,44:g,45:b},{33:[1,95]},{33:[1,96]},{39:97,43:p,44:g,45:b},{33:[1,98]},t(h,[2,37],{35:[1,100],38:[1,99]}),t(h,[2,38],{32:[1,102],35:[1,101]}),t(h,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},t(h,[2,23]),t(h,[2,55],{32:[1,110],42:[1,111]}),t(h,[2,59],{38:[1,112],42:[1,113]}),t(h,[2,69],{32:[1,115],38:[1,114]}),t(h,[2,56],{32:[1,116],42:[1,117]}),t(h,[2,61],{35:[1,118],42:[1,119]}),t(h,[2,72],{32:[1,121],35:[1,120]}),t(h,[2,58],{38:[1,122],42:[1,123]}),t(h,[2,60],{35:[1,124],42:[1,125]}),t(h,[2,73],{35:[1,127],38:[1,126]}),t(h,[2,70],{32:[1,129],38:[1,128]}),t(h,[2,71],{32:[1,131],35:[1,130]}),t(h,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:p,44:g,45:b},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:p,44:g,45:b},t(h,[2,25],{35:[1,140]}),t(h,[2,26],{34:[1,141]}),t(h,[2,31],{34:[1,142]}),t(h,[2,29],{34:[1,143]}),t(h,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:p,44:g,45:b},{33:[1,148]},{39:149,43:p,44:g,45:b},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:p,44:g,45:b},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:p,44:g,45:b},{33:[1,162]},{39:163,43:p,44:g,45:b},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:p,44:g,45:b},{33:[1,168]},t(h,[2,43],{35:[1,169]}),t(h,[2,44],{38:[1,170]}),t(h,[2,42],{32:[1,171]}),t(h,[2,45],{35:[1,172]}),t(h,[2,40],{38:[1,173]}),t(h,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},t(h,[2,66],{42:[1,181]}),t(h,[2,79],{32:[1,182]}),t(h,[2,67],{42:[1,183]}),t(h,[2,90],{38:[1,184]}),t(h,[2,80],{32:[1,185]}),t(h,[2,89],{38:[1,186]}),t(h,[2,65],{42:[1,187]}),t(h,[2,78],{32:[1,188]}),t(h,[2,64],{42:[1,189]}),t(h,[2,84],{35:[1,190]}),t(h,[2,77],{32:[1,191]}),t(h,[2,83],{35:[1,192]}),t(h,[2,63],{42:[1,193]}),t(h,[2,91],{38:[1,194]}),t(h,[2,62],{42:[1,195]}),t(h,[2,85],{35:[1,196]}),t(h,[2,86],{35:[1,197]}),t(h,[2,92],{38:[1,198]}),t(h,[2,76],{32:[1,199]}),t(h,[2,87],{38:[1,200]}),t(h,[2,75],{32:[1,201]}),t(h,[2,81],{35:[1,202]}),t(h,[2,82],{35:[1,203]}),t(h,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:p,44:g,45:b},{33:[1,207]},{33:[1,208]},{39:209,43:p,44:g,45:b},{33:[1,210]},t(h,[2,27]),t(h,[2,32]),t(h,[2,28]),t(h,[2,33]),t(h,[2,34]),t(h,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:p,44:g,45:b},{33:[1,215]},{39:216,43:p,44:g,45:b},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:p,44:g,45:b},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:p,44:g,45:b},{33:[1,229]},{39:230,43:p,44:g,45:b},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:p,44:g,45:b},t(h,[2,46]),t(h,[2,48]),t(h,[2,47]),t(h,[2,49]),t(h,[2,51]),t(h,[2,50]),t(h,[2,107]),t(h,[2,108]),t(h,[2,105]),t(h,[2,106]),t(h,[2,110]),t(h,[2,109]),t(h,[2,114]),t(h,[2,113]),t(h,[2,112]),t(h,[2,111]),t(h,[2,116]),t(h,[2,115]),t(h,[2,104]),t(h,[2,103]),t(h,[2,102]),t(h,[2,101]),t(h,[2,99]),t(h,[2,100]),t(h,[2,98]),t(h,[2,97]),t(h,[2,96]),t(h,[2,95]),t(h,[2,93]),t(h,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(t,e){if(!e.recoverable){var r=new Error(t);throw r.hash=e,r}this.trace(t)},parse:function(t){var e=[0],r=[],i=[null],a=[],n=this.table,c="",s=0,o=0,l=a.slice.call(arguments,1),h=Object.create(this.lexer),m={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(m.yy[y]=this.yy[y]);h.setInput(t,m.yy),m.yy.lexer=h,m.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var u=h.yylloc;a.push(u);var p=h.options&&h.options.ranges;"function"==typeof m.yy.parseError?this.parseError=m.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,b,d,f,$,k,x,_,T,w={};;){if(b=e[e.length-1],this.defaultActions[b]?d=this.defaultActions[b]:(null==g&&(T=void 0,"number"!=typeof(T=r.pop()||h.lex()||1)&&(T instanceof Array&&(T=(r=T).pop()),T=this.symbols_[T]||T),g=T),d=n[b]&&n[b][g]),void 0===d||!d.length||!d[0]){var E;for($ in _=[],n[b])this.terminals_[$]&&$>2&&_.push("'"+this.terminals_[$]+"'");E=h.showPosition?"Parse error on line "+(s+1)+":\n"+h.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError(E,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:u,expected:_})}if(d[0]instanceof Array&&d.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+g);switch(d[0]){case 1:e.push(g),i.push(h.yytext),a.push(h.yylloc),e.push(d[1]),g=null,o=h.yyleng,c=h.yytext,s=h.yylineno,u=h.yylloc;break;case 2:if(k=this.productions_[d[1]][1],w.$=i[i.length-k],w._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},p&&(w._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),void 0!==(f=this.performAction.apply(w,[c,o,s,m.yy,d[1],i,a].concat(l))))return f;k&&(e=e.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),e.push(this.productions_[d[1]][0]),i.push(w.$),a.push(w._$),x=n[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},$={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var a=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===i.length?this.yylloc.first_column:0)+i[i.length-r.length].length-r[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[a[0],a[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var r,i,a;if(this.options.backtrack_lexer&&(a={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(a.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],r=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),r)return r;if(this._backtrack){for(var n in a)this[n]=a[n];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,r,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a=this._currentRules(),n=0;ne[0].length)){if(e=r,i=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(r,a[n])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,a[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,r,i){switch(r){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 30:case 34:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:case 9:break;case 10:return 5;case 11:return 40;case 12:return 32;case 13:return 38;case 14:return 42;case 15:return 43;case 16:return 44;case 17:return 45;case 18:return 35;case 19:return 28;case 20:return 29;case 21:return 37;case 22:return 31;case 23:return 34;case 24:return 26;case 25:case 26:return 9;case 27:return 8;case 28:return"CARET";case 29:this.begin("options");break;case 31:return 12;case 32:return 36;case 33:this.begin("string");break;case 35:return 33;case 36:return 30;case 37:return 46;case 38:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:parent:)/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[30,31],inclusive:!1},string:{rules:[34,35],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,32,33,36,37,38,39],inclusive:!0}}};function k(){this.yy={}}return f.lexer=$,k.prototype=f,f.Parser=k,new k}());n.parser=n;const c=n;let s=(0,i.c)().gitGraph.mainBranchName,o=(0,i.c)().gitGraph.mainBranchOrder,l={},h=null,m={};m[s]={name:s,order:o};let y={};y[s]=h;let u=s,p="LR",g=0;function b(){return(0,i.y)({length:7})}let d={};const f=function(t){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0===y[t]){let e=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+t+'")');throw e.hash={text:"checkout "+t,token:"checkout "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+t+'"']},e}{u=t;const e=y[u];h=l[e]}};function $(t,e,r){const i=t.indexOf(e);-1===i?t.push(r):t.splice(i,1,r)}function k(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let r="";t.forEach((function(t){r+=t===e?"\t*":"\t|"}));const a=[r,e.id,e.seq];for(let t in y)y[t]===e.id&&a.push(t);if(i.l.debug(a.join(" ")),e.parents&&2==e.parents.length){const r=l[e.parents[0]];$(t,e,r),t.push(l[e.parents[1]])}else{if(0==e.parents.length)return;{const r=l[e.parents];$(t,e,r)}}k(t=function(t){const e=Object.create(null);return t.reduce(((t,r)=>{const i=r.id;return e[i]||(e[i]=!0,t.push(r)),t}),[])}(t))}const x=function(){const t=Object.keys(l).map((function(t){return l[t]}));return t.forEach((function(t){i.l.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},_={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},T={getConfig:()=>(0,i.c)().gitGraph,setDirection:function(t){p=t},setOptions:function(t){i.l.debug("options str",t),t=(t=t&&t.trim())||"{}";try{d=JSON.parse(t)}catch(t){i.l.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return d},commit:function(t,e,r,a){i.l.debug("Entering commit:",t,e,r,a),e=i.e.sanitizeText(e,(0,i.c)()),t=i.e.sanitizeText(t,(0,i.c)()),a=i.e.sanitizeText(a,(0,i.c)());const n={id:e||g+"-"+b(),message:t,seq:g++,type:r||_.NORMAL,tag:a||"",parents:null==h?[]:[h.id],branch:u};h=n,l[n.id]=n,y[u]=n.id,i.l.debug("in pushCommit "+n.id)},branch:function(t,e){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0!==y[t]){let e=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+t+'")');throw e.hash={text:"branch "+t,token:"branch "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+t+'"']},e}y[t]=null!=h?h.id:null,m[t]={name:t,order:e?parseInt(e,10):null},f(t),i.l.debug("in createBranch")},merge:function(t,e,r,a){t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)());const n=l[y[u]],c=l[y[t]];if(u===t){let e=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(void 0===n||!n){let e=new Error('Incorrect usage of "merge". Current branch ('+u+")has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},e}if(void 0===y[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===c||!c){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(n===c){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==l[e]){let i=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw i.hash={text:"merge "+t+e+r+a,token:"merge "+t+e+r+a,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+r+" "+a]},i}const s={id:e||g+"-"+b(),message:"merged branch "+t+" into "+u,seq:g++,parents:[null==h?null:h.id,y[t]],branch:u,type:_.MERGE,customType:r,customId:!!e,tag:a||""};h=s,l[s.id]=s,y[u]=s.id,i.l.debug(y),i.l.debug("in mergeBranch")},cherryPick:function(t,e,r,a){if(i.l.debug("Entering cherryPick:",t,e,r),t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)()),r=i.e.sanitizeText(r,(0,i.c)()),a=i.e.sanitizeText(a,(0,i.c)()),!t||void 0===l[t]){let r=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw r.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},r}let n=l[t],c=n.branch;if(a&&(!Array.isArray(n.parents)||!n.parents.includes(a)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");if(n.type===_.MERGE&&!a)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!e||void 0===l[e]){if(c===u){let r=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw r.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},r}const s=l[y[u]];if(void 0===s||!s){let r=new Error('Incorrect usage of "cherry-pick". Current branch ('+u+")has no commits");throw r.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},r}const o={id:g+"-"+b(),message:"cherry-picked "+n+" into "+u,seq:g++,parents:[null==h?null:h.id,n.id],branch:u,type:_.CHERRY_PICK,tag:r??`cherry-pick:${n.id}${n.type===_.MERGE?`|parent:${a}`:""}`};h=o,l[o.id]=o,y[u]=o.id,i.l.debug(y),i.l.debug("in cherryPick")}},checkout:f,prettyPrint:function(){i.l.debug(l),k([x()[0]])},clear:function(){l={},h=null;let t=(0,i.c)().gitGraph.mainBranchName,e=(0,i.c)().gitGraph.mainBranchOrder;y={},y[t]=null,m={},m[t]={name:t,order:e},u=t,g=0,(0,i.v)()},getBranchesAsObjArray:function(){return Object.values(m).map(((t,e)=>null!==t.order?t:{...t,order:parseFloat(`0.${e}`,10)})).sort(((t,e)=>t.order-e.order)).map((({name:t})=>({name:t})))},getBranches:function(){return y},getCommits:function(){return l},getCommitsArray:x,getCurrentBranch:function(){return u},getDirection:function(){return p},getHead:function(){return h},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,setDiagramTitle:i.q,getDiagramTitle:i.t,commitType:_};let w={};let E={},L={},M=[],v=0,I="LR";const A=t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let r=[];r="string"==typeof t?t.split(/\\n|\n|/gi):Array.isArray(t)?t:[];for(const t of r){const r=document.createElementNS("http://www.w3.org/2000/svg","tspan");r.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),r.setAttribute("dy","1em"),r.setAttribute("x","0"),r.setAttribute("class","row"),r.textContent=t.trim(),e.appendChild(r)}return e},R=(t,e,r)=>{const a=(0,i.c)().gitGraph,n=t.append("g").attr("class","commit-bullets"),c=t.append("g").attr("class","commit-labels");let s=0;"TB"===I&&(s=30);const o=Object.keys(e).sort(((t,r)=>e[t].seq-e[r].seq)),l=a.parallelCommits;o.forEach((t=>{const i=e[t];if(l)if(i.parents.length){const t=(t=>{let e="",r=0;return t.forEach((t=>{const i="TB"===I?L[t].y:L[t].x;i>=r&&(e=t,r=i)})),e||void 0})(i.parents);s="TB"===I?L[t].y+40:L[t].x+40}else s=0,"TB"===I&&(s=30);const o=s+10,h="TB"===I?o:E[i.branch].pos,m="TB"===I?E[i.branch].pos:o;if(r){let t,e=void 0!==i.customType&&""!==i.customType?i.customType:i.type;switch(e){case 0:default:t="commit-normal";break;case 1:t="commit-reverse";break;case 2:t="commit-highlight";break;case 3:t="commit-merge";break;case 4:t="commit-cherry-pick"}if(2===e){const e=n.append("rect");e.attr("x",m-10),e.attr("y",h-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${i.id} commit-highlight${E[i.branch].index%8} ${t}-outer`),n.append("rect").attr("x",m-6).attr("y",h-6).attr("height",12).attr("width",12).attr("class",`commit ${i.id} commit${E[i.branch].index%8} ${t}-inner`)}else if(4===e)n.append("circle").attr("cx",m).attr("cy",h).attr("r",10).attr("class",`commit ${i.id} ${t}`),n.append("circle").attr("cx",m-3).attr("cy",h+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),n.append("circle").attr("cx",m+3).attr("cy",h+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),n.append("line").attr("x1",m+3).attr("y1",h+1).attr("x2",m).attr("y2",h-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`),n.append("line").attr("x1",m-3).attr("y1",h+1).attr("x2",m).attr("y2",h-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`);else{const r=n.append("circle");if(r.attr("cx",m),r.attr("cy",h),r.attr("r",3===i.type?9:10),r.attr("class",`commit ${i.id} commit${E[i.branch].index%8}`),3===e){const e=n.append("circle");e.attr("cx",m),e.attr("cy",h),e.attr("r",6),e.attr("class",`commit ${t} ${i.id} commit${E[i.branch].index%8}`)}1===e&&n.append("path").attr("d",`M ${m-5},${h-5}L${m+5},${h+5}M${m-5},${h+5}L${m+5},${h-5}`).attr("class",`commit ${t} ${i.id} commit${E[i.branch].index%8}`)}}if(L[i.id]="TB"===I?{x:m,y:o}:{x:o,y:h},r){const t=4,e=2;if(4!==i.type&&(i.customId&&3===i.type||3!==i.type)&&a.showCommitLabel){const r=c.append("g"),n=r.insert("rect").attr("class","commit-label-bkg"),l=r.append("text").attr("x",s).attr("y",h+25).attr("class","commit-label").text(i.id);let y=l.node().getBBox();if(n.attr("x",o-y.width/2-e).attr("y",h+13.5).attr("width",y.width+2*e).attr("height",y.height+2*e),"TB"===I&&(n.attr("x",m-(y.width+4*t+5)).attr("y",h-12),l.attr("x",m-(y.width+4*t)).attr("y",h+y.height-12)),"TB"!==I&&l.attr("x",o-y.width/2),a.rotateCommitLabel)if("TB"===I)l.attr("transform","rotate(-45, "+m+", "+h+")"),n.attr("transform","rotate(-45, "+m+", "+h+")");else{let t=-7.5-(y.width+10)/25*9.5,e=10+y.width/25*8.5;r.attr("transform","translate("+t+", "+e+") rotate(-45, "+s+", "+h+")")}}if(i.tag){const r=c.insert("polygon"),a=c.append("circle"),n=c.append("text").attr("y",h-16).attr("class","tag-label").text(i.tag);let l=n.node().getBBox();n.attr("x",o-l.width/2);const y=l.height/2,u=h-19.2;r.attr("class","tag-label-bkg").attr("points",`\n ${s-l.width/2-t/2},${u+e}\n ${s-l.width/2-t/2},${u-e}\n ${o-l.width/2-t},${u-y-e}\n ${o+l.width/2+t},${u-y-e}\n ${o+l.width/2+t},${u+y+e}\n ${o-l.width/2-t},${u+y+e}`),a.attr("cx",s-l.width/2+t/2).attr("cy",u).attr("r",1.5).attr("class","tag-hole"),"TB"===I&&(r.attr("class","tag-label-bkg").attr("points",`\n ${m},${s+e}\n ${m},${s-e}\n ${m+10},${s-y-e}\n ${m+10+l.width+t},${s-y-e}\n ${m+10+l.width+t},${s+y+e}\n ${m+10},${s+y+e}`).attr("transform","translate(12,12) rotate(45, "+m+","+s+")"),a.attr("cx",m+t/2).attr("cy",s).attr("transform","translate(12,12) rotate(45, "+m+","+s+")"),n.attr("x",m+5).attr("y",s+3).attr("transform","translate(14,14) rotate(45, "+m+","+s+")"))}}s+=50,s>v&&(v=s)}))},O=(t,e,r=0)=>{const i=t+Math.abs(t-e)/2;if(r>5)return i;if(M.every((t=>Math.abs(t-i)>=10)))return M.push(i),i;const a=Math.abs(t-e);return O(t,e-a/5,r+1)},C=(t,e)=>{const r=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const i=e[t];i.parents&&i.parents.length>0&&i.parents.forEach((t=>{((t,e,r,i)=>{const a=L[e.id],n=L[r.id],c=((t,e,r,i,a)=>{const n=("TB"===I?r.x{return(i=r).seq>t.seq&&i.seqt.branch===n)(r);var i}))})(e,r,a,n,i);let s,o="",l="",h=0,m=0,y=E[r.branch].index;if(3===r.type&&e.id!==r.parents[0]&&(y=E[e.branch].index),c){o="A 10 10, 0, 0, 0,",l="A 10 10, 0, 0, 1,",h=10,m=10;const t=a.yn.x&&(o="A 20 20, 0, 0, 0,",l="A 20 20, 0, 0, 1,",h=20,m=20,s=3===r.type&&e.id!==r.parents[0]?`M ${a.x} ${a.y} L ${a.x} ${n.y-h} ${l} ${a.x-m} ${n.y} L ${n.x} ${n.y}`:`M ${a.x} ${a.y} L ${n.x+h} ${a.y} ${o} ${n.x} ${a.y+m} L ${n.x} ${n.y}`),a.x===n.x&&(s=`M ${a.x} ${a.y} L ${n.x} ${n.y}`)):(a.yn.y&&(s=3===r.type&&e.id!==r.parents[0]?`M ${a.x} ${a.y} L ${n.x-h} ${a.y} ${o} ${n.x} ${a.y-m} L ${n.x} ${n.y}`:`M ${a.x} ${a.y} L ${a.x} ${n.y+h} ${l} ${a.x+m} ${n.y} L ${n.x} ${n.y}`),a.y===n.y&&(s=`M ${a.x} ${a.y} L ${n.x} ${n.y}`));t.append("path").attr("d",s).attr("class","arrow arrow"+y%8)})(r,e[t],i,e)}))}))},S={parser:c,db:T,renderer:{draw:function(t,e,r,n){E={},L={},w={},v=0,M=[],I="LR";const c=(0,i.c)(),s=c.gitGraph;i.l.debug("in gitgraph renderer",t+"\n","id:",e,r),w=n.db.getCommits();const o=n.db.getBranchesAsObjArray();I=n.db.getDirection();const l=(0,a.Ltv)(`[id="${e}"]`);let h=0;o.forEach(((t,e)=>{const r=A(t.name),i=l.append("g"),a=i.insert("g").attr("class","branchLabel"),n=a.insert("g").attr("class","label branch-label");n.node().appendChild(r);let c=r.getBBox();E[t.name]={pos:h,index:e},h+=50+(s.rotateCommitLabel?40:0)+("TB"===I?c.width/2:0),n.remove(),a.remove(),i.remove()})),R(l,w,!1),s.showBranches&&((t,e)=>{const r=(0,i.c)().gitGraph,a=t.append("g");e.forEach(((t,e)=>{const i=e%8,n=E[t.name].pos,c=a.append("line");c.attr("x1",0),c.attr("y1",n),c.attr("x2",v),c.attr("y2",n),c.attr("class","branch branch"+i),"TB"===I&&(c.attr("y1",30),c.attr("x1",n),c.attr("y2",v),c.attr("x2",n)),M.push(n);let s=t.name;const o=A(s),l=a.insert("rect"),h=a.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);h.node().appendChild(o);let m=o.getBBox();l.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-m.width-4-(!0===r.rotateCommitLabel?30:0)).attr("y",-m.height/2+8).attr("width",m.width+18).attr("height",m.height+4),h.attr("transform","translate("+(-m.width-14-(!0===r.rotateCommitLabel?30:0))+", "+(n-m.height/2-1)+")"),"TB"===I&&(l.attr("x",n-m.width/2-10).attr("y",0),h.attr("transform","translate("+(n-m.width/2-5)+", 0)")),"TB"!==I&&l.attr("transform","translate(-19, "+(n-m.height/2)+")")}))})(l,o),C(l,w),R(l,w,!0),i.u.insertTitle(l,"gitTitleText",s.titleTopMargin,n.db.getDiagramTitle()),(0,i.z)(void 0,l,s.diagramPadding,s.useMaxWidth??c.useMaxWidth)}},styles:t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`}}}]); \ No newline at end of file diff --git a/assets/chunk.d7c910711fc55b5d2182.js.br b/assets/chunk.d7c910711fc55b5d2182.js.br new file mode 100644 index 00000000..754b7156 Binary files /dev/null and b/assets/chunk.d7c910711fc55b5d2182.js.br differ diff --git a/assets/chunk.d7c910711fc55b5d2182.js.gz b/assets/chunk.d7c910711fc55b5d2182.js.gz new file mode 100644 index 00000000..1917f3f9 Binary files /dev/null and b/assets/chunk.d7c910711fc55b5d2182.js.gz differ diff --git a/assets/chunk.dbccc888d35687892dd7.js b/assets/chunk.dbccc888d35687892dd7.js new file mode 100644 index 00000000..0fef41bf --- /dev/null +++ b/assets/chunk.dbccc888d35687892dd7.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[498],{73498:(e,n,t)=>{t.d(n,{a:()=>fn,c:()=>ln});var r={};t.r(r),t.d(r,{attentionMarkers:()=>je,contentInitial:()=>Be,disable:()=>He,document:()=>De,flow:()=>Me,flowInitial:()=>_e,insideSpan:()=>Oe,string:()=>Le,text:()=>Pe});var i=t(59659);const u={};function o(e,n,t){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||t?e.value:"";if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return c(e.children,n,t)}return Array.isArray(e)?c(e,n,t):""}function c(e,n,t){const r=[];let i=-1;for(;++ii?0:i+n:n>i?i:n,t=t>0?t:0,r.length<1e4)u=Array.from(r),u.unshift(n,t),e.splice(...u);else for(t&&e.splice(n,t);o0?(s(e,e.length,0,n),e):n}const a={}.hasOwnProperty;function f(e,n){let t;for(t in n){const r=(a.call(e,t)?e[t]:void 0)||(e[t]={}),i=n[t];let u;if(i)for(u in i){a.call(r,u)||(r[u]=[]);const e=i[u];d(r[u],Array.isArray(e)?e:e?[e]:[])}}}function d(e,n){let t=-1;const r=[];for(;++tu))return;const t=n.events.length;let i,c,l=t;for(;l--;)if("exit"===n.events[l][0]&&"chunkFlow"===n.events[l][1].type){if(i){c=n.events[l][1].end;break}i=!0}for(k(o),e=t;er;){const r=t[i];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function y(){r.write([null]),i=void 0,r=void 0,n.containerState._closeFlow=void 0}}},T={tokenize:function(e,n,t){return I(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},z={tokenize:function(e,n,t){return function(n){return b(n)?I(e,r,"linePrefix")(n):r(n)};function r(e){return null===e||F(e)?n(e):t(e)}},partial:!0};function D(e){const n={};let t,r,i,u,o,c,l,a=-1;for(;++a=4?n(i):e.interrupt(r.parser.constructs.flow,t,n)(i)}},partial:!0},L={tokenize:function(e){const n=this,t=e.attempt(z,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,I(e,e.attempt(this.parser.constructs.flow,r,e.attempt(_,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}},P={resolveAll:R()},O=H("string"),j=H("text");function H(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],i=n.attempt(r,u,o);return u;function u(e){return s(e)?i(e):o(e)}function o(e){if(null!==e)return n.enter("data"),n.consume(e),c;n.consume(e)}function c(e){return s(e)?(n.exit("data"),i(e)):(n.consume(e),c)}function s(e){if(null===e)return!0;const n=r[e];let i=-1;if(n)for(;++i-1){const e=o[0];"string"==typeof e?o[0]=e.slice(r):o.shift()}u>0&&o.push(e[i].slice(0,u))}return o}(o,e)}function g(){const{line:e,column:n,offset:t,_index:i,_bufferIndex:u}=r;return{line:e,column:n,offset:t,_index:i,_bufferIndex:u}}function x(e){a=void 0,h=e,p=p(e)}function k(e,n){n.restore()}function y(e,n){return function(t,i,u){let o,s,l,h;return Array.isArray(t)?m(t):"tokenize"in t?m([t]):(p=t,function(e){const n=null!==e&&p[e],t=null!==e&&p.null;return m([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(t)?t:t?[t]:[]])(e)});var p;function m(e){return o=e,s=0,0===e.length?u:x(e[s])}function x(e){return function(t){return h=function(){const e=g(),n=d.previous,t=d.currentConstruct,i=d.events.length,u=Array.from(c);return{restore:function(){r=e,d.previous=n,d.currentConstruct=t,d.events.length=i,c=u,b()},from:i}}(),l=e,e.partial||(d.currentConstruct=e),e.name&&d.parser.constructs.disable.null.includes(e.name)?y():e.tokenize.call(n?Object.assign(Object.create(d),n):d,f,k,y)(t)}}function k(n){return a=!0,e(l,h),i}function y(e){return a=!0,h.restore(),++s=3&&(null===u||F(u))?(e.exit("thematicBreak"),n(u)):t(u)}function o(n){return n===r?(e.consume(n),i++,o):(e.exit("thematicBreakSequence"),b(n)?I(e,u,"whitespace")(n):u(n))}}},U={name:"list",tokenize:function(e,n,t){const r=this,i=r.events[r.events.length-1];let u=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(n){const i=r.containerState.type||(42===n||43===n||45===n?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||n===r.containerState.marker:x(n)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===n||45===n?e.check(N,t,s)(n):s(n);if(!r.interrupt||49===n)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(n)}return t(n)};function c(n){return x(n)&&++o<10?(e.consume(n),c):(!r.interrupt||o<2)&&(r.containerState.marker?n===r.containerState.marker:41===n||46===n)?(e.exit("listItemValue"),s(n)):t(n)}function s(n){return e.enter("listItemMarker"),e.consume(n),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||n,e.check(z,r.interrupt?t:l,e.attempt($,f,a))}function l(e){return r.containerState.initialBlankLine=!0,u++,f(e)}function a(n){return b(n)?(e.enter("listItemPrefixWhitespace"),e.consume(n),e.exit("listItemPrefixWhitespace"),f):t(n)}function f(t){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(t)}},continuation:{tokenize:function(e,n,t){const r=this;return r.containerState._closeFlow=void 0,e.check(z,(function(t){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,I(e,n,"listItemIndent",r.containerState.size+1)(t)}),(function(t){return r.containerState.furtherBlankLines||!b(t)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(t)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(W,n,i)(t))}));function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,I(e,e.attempt(U,n,t),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},$={tokenize:function(e,n,t){const r=this;return I(e,(function(e){const i=r.events[r.events.length-1];return!b(e)&&i&&"listItemPrefixWhitespace"===i[1].type?n(e):t(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},W={tokenize:function(e,n,t){const r=this;return I(e,(function(e){const i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?n(e):t(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},Z={name:"blockQuote",tokenize:function(e,n,t){const r=this;return function(n){if(62===n){const t=r.containerState;return t.open||(e.enter("blockQuote",{_container:!0}),t.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(n),e.exit("blockQuoteMarker"),i}return t(n)};function i(t){return b(t)?(e.enter("blockQuotePrefixWhitespace"),e.consume(t),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(t))}},continuation:{tokenize:function(e,n,t){const r=this;return function(n){return b(n)?I(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):i(n)};function i(r){return e.attempt(Z,n,t)(r)}}},exit:function(e){e.exit("blockQuote")}};function Y(e,n,t,r,i,u,o,c,s){const l=s||Number.POSITIVE_INFINITY;let a=0;return function(n){return 60===n?(e.enter(r),e.enter(i),e.enter(u),e.consume(n),e.exit(u),f):null===n||32===n||41===n||g(n)?t(n):(e.enter(r),e.enter(o),e.enter(c),e.enter("chunkString",{contentType:"string"}),p(n))};function f(t){return 62===t?(e.enter(u),e.consume(t),e.exit(u),e.exit(i),e.exit(r),n):(e.enter(c),e.enter("chunkString",{contentType:"string"}),d(t))}function d(n){return 62===n?(e.exit("chunkString"),e.exit(c),f(n)):null===n||60===n||F(n)?t(n):(e.consume(n),92===n?h:d)}function h(n){return 60===n||62===n||92===n?(e.consume(n),d):d(n)}function p(i){return a||null!==i&&41!==i&&!v(i)?a999||null===f||91===f||93===f&&!c||94===f&&!s&&"_hiddenFootnoteSupport"in o.parser.constructs?t(f):93===f?(e.exit(u),e.enter(i),e.consume(f),e.exit(i),e.exit(r),n):F(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),l):(e.enter("chunkString",{contentType:"string"}),a(f))}function a(n){return null===n||91===n||93===n||F(n)||s++>999?(e.exit("chunkString"),l(n)):(e.consume(n),c||(c=!b(n)),92===n?f:a)}function f(n){return 91===n||92===n||93===n?(e.consume(n),s++,a):a(n)}}function J(e,n,t,r,i,u){let o;return function(n){return 34===n||39===n||40===n?(e.enter(r),e.enter(i),e.consume(n),e.exit(i),o=40===n?41:n,c):t(n)};function c(t){return t===o?(e.enter(i),e.consume(t),e.exit(i),e.exit(r),n):(e.enter(u),s(t))}function s(n){return n===o?(e.exit(u),c(o)):null===n?t(n):F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),I(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),l(n))}function l(n){return n===o||null===n||F(n)?(e.exit("chunkString"),s(n)):(e.consume(n),92===n?a:l)}function a(n){return n===o||92===n?(e.consume(n),l):l(n)}}function K(e,n){let t;return function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t=!0,r):b(i)?I(e,r,t?"linePrefix":"lineSuffix")(i):n(i)}}function X(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ee={name:"definition",tokenize:function(e,n,t){const r=this;let i;return function(n){return e.enter("definition"),function(n){return G.call(r,e,u,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)}(n)};function u(n){return i=X(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),o):t(n)}function o(n){return v(n)?K(e,c)(n):c(n)}function c(n){return Y(e,s,t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(n)}function s(n){return e.attempt(ne,l,l)(n)}function l(n){return b(n)?I(e,a,"whitespace")(n):a(n)}function a(u){return null===u||F(u)?(e.exit("definition"),r.parser.defined.push(i),n(u)):t(u)}}},ne={tokenize:function(e,n,t){return function(n){return v(n)?K(e,r)(n):t(n)};function r(n){return J(e,i,t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n)}function i(n){return b(n)?I(e,u,"whitespace")(n):u(n)}function u(e){return null===e||F(e)?n(e):t(e)}},partial:!0},te={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),I(e,i,"linePrefix",5)(n)};function i(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?u(e):t(e)}function u(n){return null===n?c(n):F(n)?e.attempt(re,u,c)(n):(e.enter("codeFlowValue"),o(n))}function o(n){return null===n||F(n)?(e.exit("codeFlowValue"),u(n)):(e.consume(n),o)}function c(t){return e.exit("codeIndented"),n(t)}}},re={tokenize:function(e,n,t){const r=this;return i;function i(n){return r.parser.lazy[r.now().line]?t(n):F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):I(e,u,"linePrefix",5)(n)}function u(e){const u=r.events[r.events.length-1];return u&&"linePrefix"===u[1].type&&u[2].sliceSerialize(u[1],!0).length>=4?n(e):F(e)?i(e):t(e)}},partial:!0},ie={name:"headingAtx",tokenize:function(e,n,t){let r=0;return function(n){return e.enter("atxHeading"),function(n){return e.enter("atxHeadingSequence"),i(n)}(n)};function i(n){return 35===n&&r++<6?(e.consume(n),i):null===n||v(n)?(e.exit("atxHeadingSequence"),u(n)):t(n)}function u(t){return 35===t?(e.enter("atxHeadingSequence"),o(t)):null===t||F(t)?(e.exit("atxHeading"),n(t)):b(t)?I(e,u,"whitespace")(t):(e.enter("atxHeadingText"),c(t))}function o(n){return 35===n?(e.consume(n),o):(e.exit("atxHeadingSequence"),u(n))}function c(n){return null===n||35===n||v(n)?(e.exit("atxHeadingText"),u(n)):(e.consume(n),c)}},resolve:function(e,n){let t,r,i=e.length-2,u=3;return"whitespace"===e[u][1].type&&(u+=2),i-2>u&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(u===i-1||i-4>u&&"whitespace"===e[i-2][1].type)&&(i-=u+1===i?2:4),i>u&&(t={type:"atxHeadingText",start:e[u][1].start,end:e[i][1].end},r={type:"chunkText",start:e[u][1].start,end:e[i][1].end,contentType:"text"},s(e,u,i-u+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]])),e}},ue={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let i;return function(n){let o,c=r.events.length;for(;c--;)if("lineEnding"!==r.events[c][1].type&&"linePrefix"!==r.events[c][1].type&&"content"!==r.events[c][1].type){o="paragraph"===r.events[c][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!o?t(n):(e.enter("setextHeadingLine"),i=n,function(n){return e.enter("setextHeadingLineSequence"),u(n)}(n))};function u(n){return n===i?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),b(n)?I(e,o,"lineSuffix")(n):o(n))}function o(r){return null===r||F(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,i,u=e.length;for(;u--;)if("enter"===e[u][0]){if("content"===e[u][1].type){t=u;break}"paragraph"===e[u][1].type&&(r=u)}else"content"===e[u][1].type&&e.splice(u,1),i||"definition"!==e[u][1].type||(i=u);const o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,n]),e.splice(i+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[i][1].end)):e[t][1]=o,e.push(["exit",o,n]),e}},oe=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ce=["pre","script","style","textarea"],se={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let i,u,o,c,s;return function(n){return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),l}(n)};function l(c){return 33===c?(e.consume(c),a):47===c?(e.consume(c),u=!0,m):63===c?(e.consume(c),i=3,r.interrupt?n:H):h(c)?(e.consume(c),o=String.fromCharCode(c),g):t(c)}function a(u){return 45===u?(e.consume(u),i=2,f):91===u?(e.consume(u),i=5,c=0,d):h(u)?(e.consume(u),i=4,r.interrupt?n:H):t(u)}function f(i){return 45===i?(e.consume(i),r.interrupt?n:H):t(i)}function d(i){return i==="CDATA[".charCodeAt(c++)?(e.consume(i),6===c?r.interrupt?n:D:d):t(i)}function m(n){return h(n)?(e.consume(n),o=String.fromCharCode(n),g):t(n)}function g(c){if(null===c||47===c||62===c||v(c)){const s=47===c,l=o.toLowerCase();return s||u||!ce.includes(l)?oe.includes(o.toLowerCase())?(i=6,s?(e.consume(c),x):r.interrupt?n(c):D(c)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(c):u?k(c):y(c)):(i=1,r.interrupt?n(c):D(c))}return 45===c||p(c)?(e.consume(c),o+=String.fromCharCode(c),g):t(c)}function x(i){return 62===i?(e.consume(i),r.interrupt?n:D):t(i)}function k(n){return b(n)?(e.consume(n),k):T(n)}function y(n){return 47===n?(e.consume(n),T):58===n||95===n||h(n)?(e.consume(n),S):b(n)?(e.consume(n),y):T(n)}function S(n){return 45===n||46===n||58===n||95===n||p(n)?(e.consume(n),S):E(n)}function E(n){return 61===n?(e.consume(n),A):b(n)?(e.consume(n),E):y(n)}function A(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),s=n,I):b(n)?(e.consume(n),A):w(n)}function I(n){return n===s?(e.consume(n),s=null,C):null===n||F(n)?t(n):(e.consume(n),I)}function w(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||v(n)?E(n):(e.consume(n),w)}function C(e){return 47===e||62===e||b(e)?y(e):t(e)}function T(n){return 62===n?(e.consume(n),z):t(n)}function z(n){return null===n||F(n)?D(n):b(n)?(e.consume(n),z):t(n)}function D(n){return 45===n&&2===i?(e.consume(n),L):60===n&&1===i?(e.consume(n),P):62===n&&4===i?(e.consume(n),R):63===n&&3===i?(e.consume(n),H):93===n&&5===i?(e.consume(n),j):!F(n)||6!==i&&7!==i?null===n||F(n)?(e.exit("htmlFlowData"),B(n)):(e.consume(n),D):(e.exit("htmlFlowData"),e.check(le,q,B)(n))}function B(n){return e.check(ae,_,q)(n)}function _(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),M}function M(n){return null===n||F(n)?B(n):(e.enter("htmlFlowData"),D(n))}function L(n){return 45===n?(e.consume(n),H):D(n)}function P(n){return 47===n?(e.consume(n),o="",O):D(n)}function O(n){if(62===n){const t=o.toLowerCase();return ce.includes(t)?(e.consume(n),R):D(n)}return h(n)&&o.length<8?(e.consume(n),o+=String.fromCharCode(n),O):D(n)}function j(n){return 93===n?(e.consume(n),H):D(n)}function H(n){return 62===n?(e.consume(n),R):45===n&&2===i?(e.consume(n),H):D(n)}function R(n){return null===n||F(n)?(e.exit("htmlFlowData"),q(n)):(e.consume(n),R)}function q(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););return n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e},concrete:!0},le={tokenize:function(e,n,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(z,n,t)}},partial:!0},ae={tokenize:function(e,n,t){const r=this;return function(n){return F(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i):t(n)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},fe={tokenize:function(e,n,t){const r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?t(e):n(e)}},partial:!0},de={name:"codeFenced",tokenize:function(e,n,t){const r=this,i={tokenize:function(e,n,t){let i=0;return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(n){return e.enter("codeFencedFence"),b(n)?I(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(n):s(n)}function s(n){return n===u?(e.enter("codeFencedFenceSequence"),l(n)):t(n)}function l(n){return n===u?(i++,e.consume(n),l):i>=c?(e.exit("codeFencedFenceSequence"),b(n)?I(e,a,"whitespace")(n):a(n)):t(n)}function a(r){return null===r||F(r)?(e.exit("codeFencedFence"),n(r)):t(r)}},partial:!0};let u,o=0,c=0;return function(n){return function(n){const t=r.events[r.events.length-1];return o=t&&"linePrefix"===t[1].type?t[2].sliceSerialize(t[1],!0).length:0,u=n,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),s(n)}(n)};function s(n){return n===u?(c++,e.consume(n),s):c<3?t(n):(e.exit("codeFencedFenceSequence"),b(n)?I(e,l,"whitespace")(n):l(n))}function l(t){return null===t||F(t)?(e.exit("codeFencedFence"),r.interrupt?n(t):e.check(fe,h,k)(t)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),a(t))}function a(n){return null===n||F(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(n)):b(n)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),I(e,f,"whitespace")(n)):96===n&&n===u?t(n):(e.consume(n),a)}function f(n){return null===n||F(n)?l(n):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(n))}function d(n){return null===n||F(n)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(n)):96===n&&n===u?t(n):(e.consume(n),d)}function h(n){return e.attempt(i,k,p)(n)}function p(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),m}function m(n){return o>0&&b(n)?I(e,g,"linePrefix",o+1)(n):g(n)}function g(n){return null===n||F(n)?e.check(fe,h,k)(n):(e.enter("codeFlowValue"),x(n))}function x(n){return null===n||F(n)?(e.exit("codeFlowValue"),g(n)):(e.consume(n),x)}function k(t){return e.exit("codeFenced"),n(t)}},concrete:!0},he=document.createElement("i");function pe(e){const n="&"+e+";";he.innerHTML=n;const t=he.textContent;return(59!==t.charCodeAt(t.length-1)||"semi"===e)&&t!==n&&t}const me={name:"characterReference",tokenize:function(e,n,t){const r=this;let i,u,o=0;return function(n){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(n),e.exit("characterReferenceMarker"),c};function c(n){return 35===n?(e.enter("characterReferenceMarkerNumeric"),e.consume(n),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),i=31,u=p,l(n))}function s(n){return 88===n||120===n?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(n),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,u=k,l):(e.enter("characterReferenceValue"),i=7,u=x,l(n))}function l(c){if(59===c&&o){const i=e.exit("characterReferenceValue");return u!==p||pe(r.sliceSerialize(i))?(e.enter("characterReferenceMarker"),e.consume(c),e.exit("characterReferenceMarker"),e.exit("characterReference"),n):t(c)}return u(c)&&o++1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;const h=Object.assign({},e[t][1].end),p=Object.assign({},e[d][1].start);Ae(h,-c),Ae(p,c),u={type:c>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[t][1].end)},o={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[d][1].start),end:p},i={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[d][1].start)},r={type:c>1?"strong":"emphasis",start:Object.assign({},u.start),end:Object.assign({},o.end)},e[t][1].end=Object.assign({},u.start),e[d][1].start=Object.assign({},o.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=l(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=l(a,[["enter",r,n],["enter",u,n],["exit",u,n],["enter",i,n]]),a=l(a,V(n.parser.constructs.insideSpan.null,e.slice(t+1,d),n)),a=l(a,[["exit",i,n],["enter",o,n],["exit",o,n],["exit",r,n]]),e[d][1].end.offset-e[d][1].start.offset?(f=2,a=l(a,[["enter",e[d][1],n],["exit",e[d][1],n]])):f=0,s(e,t-1,d-t+3,a),d=t+a.length-f-2;break}for(d=-1;++d13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||!(65535&~t)||65534==(65535&t)||t>1114111?"�":String.fromCharCode(t)}const Ve=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qe(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return qe(t.slice(n?2:1),n?16:10)}return pe(t)||e}function Ne(e){return e&&"object"==typeof e?"position"in e||"type"in e?$e(e.position):"start"in e||"end"in e?$e(e):"line"in e||"column"in e?Ue(e):"":""}function Ue(e){return We(e&&e.line)+":"+We(e&&e.column)}function $e(e){return Ue(e&&e.start)+"-"+Ue(e&&e.end)}function We(e){return e&&"number"==typeof e?e:1}const Ze={}.hasOwnProperty,Ye=function(e,n,t){return"string"!=typeof n&&(t=n,n=void 0),function(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(b),autolinkProtocol:p,autolinkEmail:p,atxHeading:s(y),blockQuote:s((function(){return{type:"blockquote",children:[]}})),characterEscape:p,characterReference:p,codeFenced:s(k),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(k,l),codeText:s((function(){return{type:"inlineCode",value:""}}),l),codeTextData:p,data:p,codeFlowValue:p,definition:s((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:s(F),hardBreakTrailing:s(F),htmlFlow:s(v,l),htmlFlowData:p,htmlText:s(v,l),htmlTextData:p,image:s((function(){return{type:"image",title:null,url:"",alt:null}})),label:l,link:s(b),listItem:s((function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}})),listItemValue:function(e){c("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),i("expectingFirstListItemValue"))},listOrdered:s(S,(function(){i("expectingFirstListItemValue",!0)})),listUnordered:s(S),paragraph:s((function(){return{type:"paragraph",children:[]}})),reference:function(){i("referenceType","collapsed")},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(y),strong:s((function(){return{type:"strong",children:[]}})),thematicBreak:s((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:f(),atxHeadingSequence:function(e){const n=this.stack[this.stack.length-1];if(!n.depth){const t=this.sliceSerialize(e).length;n.depth=t}},autolink:f(),autolinkEmail:function(e){m.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){m.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:f(),characterEscapeValue:m,characterReferenceMarkerHexadecimal:x,characterReferenceMarkerNumeric:x,characterReferenceValue:function(e){const n=this.sliceSerialize(e),t=c("characterReferenceType");let r;t?(r=qe(n,"characterReferenceMarkerNumeric"===t?10:16),i("characterReferenceType")):r=pe(n);const u=this.stack.pop();u.value+=r,u.position.end=Ge(e.end)},codeFenced:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")})),codeFencedFence:function(){c("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))},codeFencedFenceInfo:function(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:m,codeIndented:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:m,data:m,definition:f(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=X(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:f(),hardBreakEscape:f(g),hardBreakTrailing:f(g),htmlFlow:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:m,htmlText:f((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:m,image:f((function(){const e=this.stack[this.stack.length-1];if(c("inReference")){const n=c("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),label:function(){const e=this.stack[this.stack.length-1],n=this.resume(),t=this.stack[this.stack.length-1];if(i("inReference",!0),"link"===t.type){const n=e.children;t.children=n}else t.alt=n},labelText:function(e){const n=this.sliceSerialize(e),t=this.stack[this.stack.length-2];t.label=function(e){return e.replace(Ve,Qe)}(n),t.identifier=X(n).toLowerCase()},lineEnding:function(e){const t=this.stack[this.stack.length-1];if(c("atHardBreak"))return t.children[t.children.length-1].position.end=Ge(e.end),void i("atHardBreak");!c("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(t.type)&&(p.call(this,e),m.call(this,e))},link:f((function(){const e=this.stack[this.stack.length-1];if(c("inReference")){const n=c("referenceType")||"shortcut";e.type+="Reference",e.referenceType=n,delete e.url,delete e.title}else delete e.identifier,delete e.label;i("referenceType")})),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:function(e){const n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=X(this.sliceSerialize(e)).toLowerCase(),i("referenceType","full")},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){i("inReference")},setextHeading:f((function(){i("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).charCodeAt(0)?1:2},setextHeadingText:function(){i("setextHeadingSlurpLineEnding",!0)},strong:f(),thematicBreak:f()}};Je(n,(e||{}).mdastExtensions||[]);const t={};return function(e){let t={type:"root",children:[]};const u={stack:[t],tokenStack:[],config:n,enter:a,exit:d,buffer:l,resume:h,setData:i,getData:c},o=[];let s=-1;for(;++s0){const e=u.tokenStack[u.tokenStack.length-1];(e[1]||Xe).call(u,void 0,e[0])}for(t.position={start:Ge(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:Ge(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},s=-1;++s{0!==t&&(i++,r.push([])),e.split(" ").forEach((e=>{e&&r[i].push({content:e,type:n})}))})):"strong"!==e.type&&"emphasis"!==e.type||e.children.forEach((n=>{u(n,e.type)}))}return t.forEach((e=>{"paragraph"===e.type&&e.children.forEach((e=>{u(e)}))})),r}function tn(e,n){var t;return rn(e,[],(t=n.content,Intl.Segmenter?[...(new Intl.Segmenter).segment(t)].map((e=>e.segment)):[...t]),n.type)}function rn(e,n,t,r){if(0===t.length)return[{content:n.join(""),type:r},{content:"",type:r}];const[i,...u]=t,o=[...n,i];return e([{content:o.join(""),type:r}])?rn(e,o,u,r):(0===n.length&&i&&(n.push(i),t.shift()),[{content:n.join(""),type:r},{content:t.join(""),type:r}])}function un(e,n){if(e.some((({content:e})=>e.includes("\n"))))throw new Error("splitLineToFitWidth does not support newlines in the line");return on(e,n)}function on(e,n,t=[],r=[]){if(0===e.length)return r.length>0&&t.push(r),t.length>0?t:[];let i="";" "===e[0].content&&(i=" ",e.shift());const u=e.shift()??{content:" ",type:"normal"},o=[...r];if(""!==i&&o.push({content:i,type:"normal"}),o.push(u),n(o))return on(e,n,t,o);if(r.length>0)t.push(r),e.unshift(u);else if(u.content){const[r,i]=tn(n,u);t.push([r]),i.content&&e.unshift(i)}return on(e,n,t)}function cn(e,n,t){return e.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",n*t-.1+"em").attr("dy",t+"em")}function sn(e,n,t){const r=e.append("text"),i=cn(r,1,n);an(i,t);const u=i.node().getComputedTextLength();return r.remove(),u}function ln(e,n,t){var r;const i=e.append("text"),u=cn(i,1,n);an(u,[{content:t,type:"normal"}]);const o=null==(r=u.node())?void 0:r.getBoundingClientRect();return o&&i.remove(),o}function an(e,n){e.text(""),n.forEach(((n,t)=>{const r=e.append("tspan").attr("font-style","emphasis"===n.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===n.type?"bold":"normal");0===t?r.text(n.content):r.text(" "+n.content)}))}const fn=(e,n="",{style:t="",isTitle:r=!1,classes:u="",useHtmlLabels:o=!0,isNode:c=!0,width:s=200,addSvgBackground:l=!1}={})=>{if(i.l.info("createText",n,t,r,u,o,c,l),o){const r=function(e){const{children:n}=Ye(e);return n.map((function e(n){return"text"===n.type?n.value.replace(/\n/g,"
"):"strong"===n.type?`${n.children.map(e).join("")}`:"emphasis"===n.type?`${n.children.map(e).join("")}`:"paragraph"===n.type?`

${n.children.map(e).join("")}

`:`Unsupported markdown: ${n.type}`})).join("")}(n),o=function(e,n,t,r,i=!1){const u=e.append("foreignObject"),o=u.append("xhtml:div"),c=n.label,s=n.isNode?"nodeLabel":"edgeLabel";var l,a;o.html(`\n "+c+""),l=o,(a=n.labelStyle)&&l.attr("style",a),o.style("display","table-cell"),o.style("white-space","nowrap"),o.style("max-width",t+"px"),o.attr("xmlns","http://www.w3.org/1999/xhtml"),i&&o.attr("class","labelBkg");let f=o.node().getBoundingClientRect();return f.width===t&&(o.style("display","table"),o.style("white-space","break-spaces"),o.style("width",t+"px"),f=o.node().getBoundingClientRect()),u.style("width",f.width),u.style("height",f.height),u.node()}(e,{isNode:c,label:(0,i.M)(r).replace(/fa[blrs]?:fa-[\w-]+/g,(e=>``)),labelStyle:t.replace("fill:","color:")},s,u,l);return o}{const t=function(e,n,t,r=!1){const i=n.append("g"),u=i.insert("rect").attr("class","background"),o=i.append("text").attr("y","-10.1");let c=0;for(const n of t){const t=n=>sn(i,1.1,n)<=e,r=t(n)?[n]:un(n,t);for(const e of r)an(cn(o,c,1.1),e),c++}if(r){const e=o.node().getBBox(),n=2;return u.attr("x",-n).attr("y",-n).attr("width",e.width+2*n).attr("height",e.height+2*n),i.node()}return o.node()}(s,e,nn(n),l);return t}}}}]); \ No newline at end of file diff --git a/assets/chunk.dbccc888d35687892dd7.js.br b/assets/chunk.dbccc888d35687892dd7.js.br new file mode 100644 index 00000000..b7abe161 Binary files /dev/null and b/assets/chunk.dbccc888d35687892dd7.js.br differ diff --git a/assets/chunk.dbccc888d35687892dd7.js.gz b/assets/chunk.dbccc888d35687892dd7.js.gz new file mode 100644 index 00000000..ba71671b Binary files /dev/null and b/assets/chunk.dbccc888d35687892dd7.js.gz differ diff --git a/assets/chunk.ede7c11a604b2e8412df.js b/assets/chunk.ede7c11a604b2e8412df.js new file mode 100644 index 00000000..27c3ec01 --- /dev/null +++ b/assets/chunk.ede7c11a604b2e8412df.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[509],{40953:(e,t,i)=>{i.d(t,{A:()=>r});var s=i(70296),n=i(36173);const r=(e,t)=>s.A.lang.round(n.A.parse(e)[t])},90069:(e,t,i)=>{i.d(t,{A:()=>n});var s=i(97584);const n=function(e){return(0,s.A)(e,4)}},36509:(e,t,i)=>{i.d(t,{diagram:()=>K});var s,n,r=i(59659),l=i(90069),o=i(40953),a=i(57494),c=i(75398),h=i(33104),u=i(84017),d=(i(92329),i(88641),i(31998),function(){var e=function(e,t,i,s){for(i=i||{},s=e.length;s--;i[e[s]]=t);return i},t=[1,7],i=[1,13],s=[1,14],n=[1,15],r=[1,19],l=[1,16],o=[1,17],a=[1,18],c=[8,30],h=[8,21,28,29,30,31,32,40,44,47],u=[1,23],d=[1,24],g=[8,15,16,21,28,29,30,31,32,40,44,47],y=[8,15,16,21,27,28,29,30,31,32,40,44,47],p=[1,49],b={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(e,t,i,s,n,r,l){var o=r.length-1;switch(n){case 4:s.getLogger().debug("Rule: separator (NL) ");break;case 5:s.getLogger().debug("Rule: separator (Space) ");break;case 6:s.getLogger().debug("Rule: separator (EOF) ");break;case 7:s.getLogger().debug("Rule: hierarchy: ",r[o-1]),s.setHierarchy(r[o-1]);break;case 8:s.getLogger().debug("Stop NL ");break;case 9:s.getLogger().debug("Stop EOF ");break;case 10:s.getLogger().debug("Stop NL2 ");break;case 11:s.getLogger().debug("Stop EOF2 ");break;case 12:s.getLogger().debug("Rule: statement: ",r[o]),"number"==typeof r[o].length?this.$=r[o]:this.$=[r[o]];break;case 13:s.getLogger().debug("Rule: statement #2: ",r[o-1]),this.$=[r[o-1]].concat(r[o]);break;case 14:s.getLogger().debug("Rule: link: ",r[o],e),this.$={edgeTypeStr:r[o],label:""};break;case 15:s.getLogger().debug("Rule: LABEL link: ",r[o-3],r[o-1],r[o]),this.$={edgeTypeStr:r[o],label:r[o-1]};break;case 18:const t=parseInt(r[o]),i=s.generateId();this.$={id:i,type:"space",label:"",width:t,children:[]};break;case 23:s.getLogger().debug("Rule: (nodeStatement link node) ",r[o-2],r[o-1],r[o]," typestr: ",r[o-1].edgeTypeStr);const n=s.edgeStrToEdgeData(r[o-1].edgeTypeStr);this.$=[{id:r[o-2].id,label:r[o-2].label,type:r[o-2].type,directions:r[o-2].directions},{id:r[o-2].id+"-"+r[o].id,start:r[o-2].id,end:r[o].id,label:r[o-1].label,type:"edge",directions:r[o].directions,arrowTypeEnd:n,arrowTypeStart:"arrow_open"},{id:r[o].id,label:r[o].label,type:s.typeStr2Type(r[o].typeStr),directions:r[o].directions}];break;case 24:s.getLogger().debug("Rule: nodeStatement (abc88 node size) ",r[o-1],r[o]),this.$={id:r[o-1].id,label:r[o-1].label,type:s.typeStr2Type(r[o-1].typeStr),directions:r[o-1].directions,widthInColumns:parseInt(r[o],10)};break;case 25:s.getLogger().debug("Rule: nodeStatement (node) ",r[o]),this.$={id:r[o].id,label:r[o].label,type:s.typeStr2Type(r[o].typeStr),directions:r[o].directions,widthInColumns:1};break;case 26:s.getLogger().debug("APA123",this?this:"na"),s.getLogger().debug("COLUMNS: ",r[o]),this.$={type:"column-setting",columns:"auto"===r[o]?-1:parseInt(r[o])};break;case 27:s.getLogger().debug("Rule: id-block statement : ",r[o-2],r[o-1]),s.generateId(),this.$={...r[o-2],type:"composite",children:r[o-1]};break;case 28:s.getLogger().debug("Rule: blockStatement : ",r[o-2],r[o-1],r[o]);const l=s.generateId();this.$={id:l,type:"composite",label:"",children:r[o-1]};break;case 29:s.getLogger().debug("Rule: node (NODE_ID separator): ",r[o]),this.$={id:r[o]};break;case 30:s.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",r[o-1],r[o]),this.$={id:r[o-1],label:r[o].label,typeStr:r[o].typeStr,directions:r[o].directions};break;case 31:s.getLogger().debug("Rule: dirList: ",r[o]),this.$=[r[o]];break;case 32:s.getLogger().debug("Rule: dirList: ",r[o-1],r[o]),this.$=[r[o-1]].concat(r[o]);break;case 33:s.getLogger().debug("Rule: nodeShapeNLabel: ",r[o-2],r[o-1],r[o]),this.$={typeStr:r[o-2]+r[o],label:r[o-1]};break;case 34:s.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",r[o-3],r[o-2]," #3:",r[o-1],r[o]),this.$={typeStr:r[o-3]+r[o],label:r[o-2],directions:r[o-1]};break;case 35:case 36:this.$={type:"classDef",id:r[o-1].trim(),css:r[o].trim()};break;case 37:this.$={type:"applyClass",id:r[o-1].trim(),styleClass:r[o].trim()};break;case 38:this.$={type:"applyStyles",id:r[o-1].trim(),stylesStr:r[o].trim()}}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:n,32:r,40:l,44:o,47:a},{8:[1,20]},e(c,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:i,29:s,31:n,32:r,40:l,44:o,47:a}),e(h,[2,16],{14:22,15:u,16:d}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(g,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:r},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:n,32:r,40:l,44:o,47:a},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(y,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(c,[2,13]),{26:35,32:r},{32:[2,14]},{17:[1,36]},e(g,[2,24]),{11:37,13:4,14:22,15:u,16:d,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:i,29:s,31:n,32:r,40:l,44:o,47:a},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(y,[2,30]),{18:[1,43]},{18:[1,44]},e(g,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:p},{15:[1,50]},e(h,[2,27]),e(y,[2,33]),{39:[1,51]},{34:52,35:p,39:[2,31]},{32:[2,15]},e(y,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var t=[0],i=[],s=[null],n=[],r=this.table,l="",o=0,a=0,c=n.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var d in this.yy)Object.prototype.hasOwnProperty.call(this.yy,d)&&(u.yy[d]=this.yy[d]);h.setInput(e,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var g=h.yylloc;n.push(g);var y=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,x,L,S,f,m,_,k,E={};;){if(b=t[t.length-1],this.defaultActions[b]?x=this.defaultActions[b]:(null==p&&(k=void 0,"number"!=typeof(k=i.pop()||h.lex()||1)&&(k instanceof Array&&(k=(i=k).pop()),k=this.symbols_[k]||k),p=k),x=r[b]&&r[b][p]),void 0===x||!x.length||!x[0]){var w;for(S in _=[],r[b])this.terminals_[S]&&S>2&&_.push("'"+this.terminals_[S]+"'");w=h.showPosition?"Parse error on line "+(o+1)+":\n"+h.showPosition()+"\nExpecting "+_.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(w,{text:h.match,token:this.terminals_[p]||p,line:h.yylineno,loc:g,expected:_})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(x[0]){case 1:t.push(p),s.push(h.yytext),n.push(h.yylloc),t.push(x[1]),p=null,a=h.yyleng,l=h.yytext,o=h.yylineno,g=h.yylloc;break;case 2:if(f=this.productions_[x[1]][1],E.$=s[s.length-f],E._$={first_line:n[n.length-(f||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(f||1)].first_column,last_column:n[n.length-1].last_column},y&&(E._$.range=[n[n.length-(f||1)].range[0],n[n.length-1].range[1]]),void 0!==(L=this.performAction.apply(E,[l,a,o,u.yy,x[1],s,n].concat(c))))return L;f&&(t=t.slice(0,-1*f*2),s=s.slice(0,-1*f),n=n.slice(0,-1*f)),t.push(this.productions_[x[1]][0]),s.push(E.$),n.push(E._$),m=r[t[t.length-2]][t[t.length-1]],t.push(m);break;case 3:return!0}}return!0}},x={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,s,n;if(this.options.backtrack_lexer&&(n={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(n.yylloc.range=this.yylloc.range.slice(0))),(s=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in n)this[r]=n[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var n=this._currentRules(),r=0;rt[0].length)){if(t=i,s=r,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,n[r])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,n[s]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,i,s){switch(i){case 0:return 10;case 1:return e.getLogger().debug("Found space-block"),31;case 2:return e.getLogger().debug("Found nl-block"),31;case 3:return e.getLogger().debug("Found space-block"),29;case 4:e.getLogger().debug(".",t.yytext);break;case 5:e.getLogger().debug("_",t.yytext);break;case 6:return 5;case 7:return t.yytext=-1,28;case 8:return t.yytext=t.yytext.replace(/columns\s+/,""),e.getLogger().debug("COLUMNS (LEX)",t.yytext),28;case 9:case 77:case 78:case 100:this.pushState("md_string");break;case 10:return"MD_STR";case 11:case 35:case 80:this.popState();break;case 12:this.pushState("string");break;case 13:e.getLogger().debug("LEX: POPPING STR:",t.yytext),this.popState();break;case 14:return e.getLogger().debug("LEX: STR end:",t.yytext),"STR";case 15:return t.yytext=t.yytext.replace(/space\:/,""),e.getLogger().debug("SPACE NUM (LEX)",t.yytext),21;case 16:return t.yytext="1",e.getLogger().debug("COLUMNS (LEX)",t.yytext),21;case 17:return 43;case 18:return"LINKSTYLE";case 19:return"INTERPOLATE";case 20:return this.pushState("CLASSDEF"),40;case 21:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 22:return this.popState(),this.pushState("CLASSDEFID"),41;case 23:return this.popState(),42;case 24:return this.pushState("CLASS"),44;case 25:return this.popState(),this.pushState("CLASS_STYLE"),45;case 26:return this.popState(),46;case 27:return this.pushState("STYLE_STMNT"),47;case 28:return this.popState(),this.pushState("STYLE_DEFINITION"),48;case 29:return this.popState(),49;case 30:return this.pushState("acc_title"),"acc_title";case 31:return this.popState(),"acc_title_value";case 32:return this.pushState("acc_descr"),"acc_descr";case 33:return this.popState(),"acc_descr_value";case 34:this.pushState("acc_descr_multiline");break;case 36:return"acc_descr_multiline_value";case 37:return 30;case 38:case 39:case 41:case 42:case 45:return this.popState(),e.getLogger().debug("Lex: (("),"NODE_DEND";case 40:return this.popState(),e.getLogger().debug("Lex: ))"),"NODE_DEND";case 43:return this.popState(),e.getLogger().debug("Lex: (-"),"NODE_DEND";case 44:return this.popState(),e.getLogger().debug("Lex: -)"),"NODE_DEND";case 46:return this.popState(),e.getLogger().debug("Lex: ]]"),"NODE_DEND";case 47:return this.popState(),e.getLogger().debug("Lex: ("),"NODE_DEND";case 48:return this.popState(),e.getLogger().debug("Lex: ])"),"NODE_DEND";case 49:case 50:return this.popState(),e.getLogger().debug("Lex: /]"),"NODE_DEND";case 51:return this.popState(),e.getLogger().debug("Lex: )]"),"NODE_DEND";case 52:return this.popState(),e.getLogger().debug("Lex: )"),"NODE_DEND";case 53:return this.popState(),e.getLogger().debug("Lex: ]>"),"NODE_DEND";case 54:return this.popState(),e.getLogger().debug("Lex: ]"),"NODE_DEND";case 55:return e.getLogger().debug("Lexa: -)"),this.pushState("NODE"),36;case 56:return e.getLogger().debug("Lexa: (-"),this.pushState("NODE"),36;case 57:return e.getLogger().debug("Lexa: ))"),this.pushState("NODE"),36;case 58:case 60:case 61:case 62:case 65:return e.getLogger().debug("Lexa: )"),this.pushState("NODE"),36;case 59:return e.getLogger().debug("Lex: ((("),this.pushState("NODE"),36;case 63:return e.getLogger().debug("Lexc: >"),this.pushState("NODE"),36;case 64:return e.getLogger().debug("Lexa: (["),this.pushState("NODE"),36;case 66:case 67:case 68:case 69:case 70:case 71:case 72:return this.pushState("NODE"),36;case 73:return e.getLogger().debug("Lexa: ["),this.pushState("NODE"),36;case 74:return this.pushState("BLOCK_ARROW"),e.getLogger().debug("LEX ARR START"),38;case 75:return e.getLogger().debug("Lex: NODE_ID",t.yytext),32;case 76:return e.getLogger().debug("Lex: EOF",t.yytext),8;case 79:return"NODE_DESCR";case 81:e.getLogger().debug("Lex: Starting string"),this.pushState("string");break;case 82:e.getLogger().debug("LEX ARR: Starting string"),this.pushState("string");break;case 83:return e.getLogger().debug("LEX: NODE_DESCR:",t.yytext),"NODE_DESCR";case 84:e.getLogger().debug("LEX POPPING"),this.popState();break;case 85:e.getLogger().debug("Lex: =>BAE"),this.pushState("ARROW_DIR");break;case 86:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (right): dir:",t.yytext),"DIR";case 87:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (left):",t.yytext),"DIR";case 88:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (x):",t.yytext),"DIR";case 89:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (y):",t.yytext),"DIR";case 90:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (up):",t.yytext),"DIR";case 91:return t.yytext=t.yytext.replace(/^,\s*/,""),e.getLogger().debug("Lex (down):",t.yytext),"DIR";case 92:return t.yytext="]>",e.getLogger().debug("Lex (ARROW_DIR end):",t.yytext),this.popState(),this.popState(),"BLOCK_ARROW_END";case 93:return e.getLogger().debug("Lex: LINK","#"+t.yytext+"#"),15;case 94:case 95:case 96:return e.getLogger().debug("Lex: LINK",t.yytext),15;case 97:case 98:case 99:return e.getLogger().debug("Lex: START_LINK",t.yytext),this.pushState("LLABEL"),16;case 101:return e.getLogger().debug("Lex: Starting string"),this.pushState("string"),"LINK_LABEL";case 102:return this.popState(),e.getLogger().debug("Lex: LINK","#"+t.yytext+"#"),15;case 103:case 104:return this.popState(),e.getLogger().debug("Lex: LINK",t.yytext),15;case 105:return e.getLogger().debug("Lex: COLON",t.yytext),t.yytext=t.yytext.slice(1),27}},rules:[/^(?:block-beta\b)/,/^(?:block\s+)/,/^(?:block\n+)/,/^(?:block:)/,/^(?:[\s]+)/,/^(?:[\n]+)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:columns\s+auto\b)/,/^(?:columns\s+[\d]+)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:space[:]\d+)/,/^(?:space\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\s+)/,/^(?:DEFAULT\s+)/,/^(?:\w+\s+)/,/^(?:[^\n]*)/,/^(?:class\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:style\s+)/,/^(?:(\w+)+((,\s*\w+)*))/,/^(?:[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:end\b\s*)/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:[\)]\))/,/^(?:\}\})/,/^(?:\})/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\()/,/^(?:\]\])/,/^(?:\()/,/^(?:\]\))/,/^(?:\\\])/,/^(?:\/\])/,/^(?:\)\])/,/^(?:[\)])/,/^(?:\]>)/,/^(?:[\]])/,/^(?:-\))/,/^(?:\(-)/,/^(?:\)\))/,/^(?:\))/,/^(?:\(\(\()/,/^(?:\(\()/,/^(?:\{\{)/,/^(?:\{)/,/^(?:>)/,/^(?:\(\[)/,/^(?:\()/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\[\\)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:\[)/,/^(?:<\[)/,/^(?:[^\(\[\n\-\)\{\}\s\<\>:]+)/,/^(?:$)/,/^(?:["][`])/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:\]>\s*\()/,/^(?:,?\s*right\s*)/,/^(?:,?\s*left\s*)/,/^(?:,?\s*x\s*)/,/^(?:,?\s*y\s*)/,/^(?:,?\s*up\s*)/,/^(?:,?\s*down\s*)/,/^(?:\)\s*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:["][`])/,/^(?:["])/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?::\d+)/],conditions:{STYLE_DEFINITION:{rules:[29],inclusive:!1},STYLE_STMNT:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[23],inclusive:!1},CLASSDEF:{rules:[21,22],inclusive:!1},CLASS_STYLE:{rules:[26],inclusive:!1},CLASS:{rules:[25],inclusive:!1},LLABEL:{rules:[100,101,102,103,104],inclusive:!1},ARROW_DIR:{rules:[86,87,88,89,90,91,92],inclusive:!1},BLOCK_ARROW:{rules:[77,82,85],inclusive:!1},NODE:{rules:[38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,78,81],inclusive:!1},md_string:{rules:[10,11,79,80],inclusive:!1},space:{rules:[],inclusive:!1},string:{rules:[13,14,83,84],inclusive:!1},acc_descr_multiline:{rules:[35,36],inclusive:!1},acc_descr:{rules:[33],inclusive:!1},acc_title:{rules:[31],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,12,15,16,17,18,19,20,24,27,30,32,34,37,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,93,94,95,96,97,98,99,105],inclusive:!0}}};function L(){this.yy={}}return b.lexer=x,L.prototype=b,b.Parser=L,new L}());d.parser=d;const g=d;let y={},p=[],b={};const x="color",L="fill",S=(0,r.c)();let f={};const m=function(e,t=""){void 0===f[e]&&(f[e]={id:e,styles:[],textStyles:[]});const i=f[e];null!=t&&t.split(",").forEach((e=>{const t=e.replace(/([^;]*);/,"$1").trim();if(e.match(x)){const e=t.replace(L,"bgFill").replace(x,L);i.textStyles.push(e)}i.styles.push(t)}))},_=function(e,t=""){const i=y[e];null!=t&&(i.styles=t.split(","))},k=function(e,t){e.split(",").forEach((function(e){let i=y[e];if(void 0===i){const t=e.trim();y[t]={id:t,type:"na",children:[]},i=y[t]}i.classes||(i.classes=[]),i.classes.push(t)}))},E=(e,t)=>{const i=e.flat(),s=[];for(const e of i)if(e.label&&(e.label=(n=e.label,r.e.sanitizeText(n,S))),"classDef"!==e.type)if("applyClass"!==e.type)if("applyStyles"!==e.type)if("column-setting"===e.type)t.columns=e.columns||-1;else if("edge"===e.type)b[e.id]?b[e.id]++:b[e.id]=1,e.id=b[e.id]+"-"+e.id,p.push(e);else{e.label||("composite"===e.type?e.label="":e.label=e.id);const t=!y[e.id];if(t?y[e.id]=e:("na"!==e.type&&(y[e.id].type=e.type),e.label!==e.id&&(y[e.id].label=e.label)),e.children&&E(e.children,e),"space"===e.type){const t=e.width||1;for(let i=0;i(0,r.F)().block,typeStr2Type:function(e){switch(r.l.debug("typeStr2Type",e),e){case"[]":return"square";case"()":return r.l.debug("we have a round"),"round";case"(())":return"circle";case">]":return"rect_left_inv_arrow";case"{}":return"diamond";case"{{}}":return"hexagon";case"([])":return"stadium";case"[[]]":return"subroutine";case"[()]":return"cylinder";case"((()))":return"doublecircle";case"[//]":return"lean_right";case"[\\\\]":return"lean_left";case"[/\\]":return"trapezoid";case"[\\/]":return"inv_trapezoid";case"<[]>":return"block_arrow";default:return"na"}},edgeTypeStr2Type:function(e){return r.l.debug("typeStr2Type",e),"=="===e?"thick":"normal"},edgeStrToEdgeData:function(e){switch(e.trim()){case"--x":return"arrow_cross";case"--o":return"arrow_circle";default:return"arrow_point"}},getLogger:()=>console,getBlocksFlat:()=>[...Object.values(y)],getBlocks:()=>w||[],getEdges:()=>p,setHierarchy:e=>{v.children=e,E(e,v),w=v.children},getBlock:e=>y[e],setBlock:e=>{y[e.id]=e},getColumns:e=>{const t=y[e];return t?t.columns?t.columns:t.children?t.children.length:-1:-1},getClasses:function(){return f},clear:()=>{r.l.debug("Clear called"),(0,r.v)(),v={id:"root",type:"composite",children:[],columns:-1},y={root:v},w=[],f={},p=[],b={}},generateId:()=>(D++,"id-"+Math.random().toString(36).substr(2,12)+"-"+D)},N=(e,t)=>{const i=o.A,s=i(e,"r"),n=i(e,"g"),r=i(e,"b");return a.A(s,n,r,t)};function I(e,t,i=!1){var s,n,l;const o=e;let a="default";((null==(s=null==o?void 0:o.classes)?void 0:s.length)||0)>0&&(a=((null==o?void 0:o.classes)||[]).join(" ")),a+=" flowchart-label";let c,h=0,u="";switch(o.type){case"round":h=5,u="rect";break;case"composite":h=0,u="composite",c=0;break;case"square":case"group":default:u="rect";break;case"diamond":u="question";break;case"hexagon":u="hexagon";break;case"block_arrow":u="block_arrow";break;case"odd":case"rect_left_inv_arrow":u="rect_left_inv_arrow";break;case"lean_right":u="lean_right";break;case"lean_left":u="lean_left";break;case"trapezoid":u="trapezoid";break;case"inv_trapezoid":u="inv_trapezoid";break;case"circle":u="circle";break;case"ellipse":u="ellipse";break;case"stadium":u="stadium";break;case"subroutine":u="subroutine";break;case"cylinder":u="cylinder";break;case"doublecircle":u="doublecircle"}const d=(0,r.k)((null==o?void 0:o.styles)||[]),g=o.label,y=o.size||{width:0,height:0,x:0,y:0};return{labelStyle:d.labelStyle,shape:u,labelText:g,rx:h,ry:h,class:a,style:d.style,id:o.id,directions:o.directions,width:y.width,height:y.height,x:y.x,y:y.y,positioned:i,intersect:void 0,type:o.type,padding:c??((null==(l=null==(n=(0,r.F)())?void 0:n.block)?void 0:l.padding)||0)}}async function T(e,t,i){const s=I(t,0,!1);if("group"===s.type)return;const n=await(0,c.e)(e,s),r=n.node().getBBox(),l=i.getBlock(s.id);l.size={width:r.width,height:r.height,x:0,y:0,node:n},i.setBlock(l),n.remove()}async function z(e,t,i){const s=I(t,0,!0);"space"!==i.getBlock(s.id).type&&(await(0,c.e)(e,s),t.intersect=null==s?void 0:s.intersect,(0,c.p)(s))}async function A(e,t,i,s){for(const n of t)await s(e,n,i),n.children&&await A(e,n.children,i,s)}const C=(null==(n=null==(s=(0,r.c)())?void 0:s.block)?void 0:n.padding)||8;function O(e,t){if(0===e||!Number.isInteger(e))throw new Error("Columns must be an integer !== 0.");if(t<0||!Number.isInteger(t))throw new Error("Position must be a non-negative integer."+t);return e<0?{px:t,py:0}:1===e?{px:0,py:t}:{px:t%e,py:Math.floor(t/e)}}const R=e=>{let t=0,i=0;for(const s of e.children){const{width:n,height:l,x:o,y:a}=s.size||{width:0,height:0,x:0,y:0};r.l.debug("getMaxChildSize abc95 child:",s.id,"width:",n,"height:",l,"x:",o,"y:",a,s.type),"space"!==s.type&&(n>t&&(t=n/(e.widthInColumns||1)),l>i&&(i=l))}return{width:t,height:i}};function B(e,t,i=0,s=0){var n,l,o,a,c,h,u,d,g,y,p;r.l.debug("setBlockSizes abc95 (start)",e.id,null==(n=null==e?void 0:e.size)?void 0:n.x,"block width =",null==e?void 0:e.size,"sieblingWidth",i),(null==(l=null==e?void 0:e.size)?void 0:l.width)||(e.size={width:i,height:s,x:0,y:0});let b=0,x=0;if((null==(o=e.children)?void 0:o.length)>0){for(const i of e.children)B(i,t);const n=R(e);b=n.width,x=n.height,r.l.debug("setBlockSizes abc95 maxWidth of",e.id,":s children is ",b,x);for(const t of e.children)t.size&&(r.l.debug(`abc95 Setting size of children of ${e.id} id=${t.id} ${b} ${x} ${t.size}`),t.size.width=b*(t.widthInColumns||1)+C*((t.widthInColumns||1)-1),t.size.height=x,t.size.x=0,t.size.y=0,r.l.debug(`abc95 updating size of ${e.id} children child:${t.id} maxWidth:${b} maxHeight:${x}`));for(const i of e.children)B(i,t,b,x);const l=e.columns||-1;let o=0;for(const t of e.children)o+=t.widthInColumns||1;let d=e.children.length;l>0&&l0?Math.min(e.children.length,l):e.children.length;if(t>0){const i=(y-t*C-C)/t;r.l.debug("abc95 (growing to fit) width",e.id,y,null==(u=e.size)?void 0:u.width,i);for(const t of e.children)t.size&&(t.size.width=i)}}e.size={width:y,height:p,x:0,y:0}}r.l.debug("setBlockSizes abc94 (done)",e.id,null==(d=null==e?void 0:e.size)?void 0:d.x,null==(g=null==e?void 0:e.size)?void 0:g.width,null==(y=null==e?void 0:e.size)?void 0:y.y,null==(p=null==e?void 0:e.size)?void 0:p.height)}function F(e,t){var i,s,n,l,o,a,c,h,u,d,g,y,p,b,x,L,S;r.l.debug(`abc85 layout blocks (=>layoutBlocks) ${e.id} x: ${null==(i=null==e?void 0:e.size)?void 0:i.x} y: ${null==(s=null==e?void 0:e.size)?void 0:s.y} width: ${null==(n=null==e?void 0:e.size)?void 0:n.width}`);const f=e.columns||-1;if(r.l.debug("layoutBlocks columns abc95",e.id,"=>",f,e),e.children&&e.children.length>0){const t=(null==(o=null==(l=null==e?void 0:e.children[0])?void 0:l.size)?void 0:o.width)||0,i=e.children.length*t+(e.children.length-1)*C;r.l.debug("widthOfChildren 88",i,"posX");let s=0;r.l.debug("abc91 block?.size?.x",e.id,null==(a=null==e?void 0:e.size)?void 0:a.x);let n=(null==(c=null==e?void 0:e.size)?void 0:c.x)?(null==(h=null==e?void 0:e.size)?void 0:h.x)+(-(null==(u=null==e?void 0:e.size)?void 0:u.width)/2||0):-C,x=0;for(const t of e.children){const i=e;if(!t.size)continue;const{width:l,height:o}=t.size,{px:a,py:c}=O(f,s);if(c!=x&&(x=c,n=(null==(d=null==e?void 0:e.size)?void 0:d.x)?(null==(g=null==e?void 0:e.size)?void 0:g.x)+(-(null==(y=null==e?void 0:e.size)?void 0:y.width)/2||0):-C,r.l.debug("New row in layout for block",e.id," and child ",t.id,x)),r.l.debug(`abc89 layout blocks (child) id: ${t.id} Pos: ${s} (px, py) ${a},${c} (${null==(p=null==i?void 0:i.size)?void 0:p.x},${null==(b=null==i?void 0:i.size)?void 0:b.y}) parent: ${i.id} width: ${l}${C}`),i.size){const e=l/2;t.size.x=n+C+e,r.l.debug(`abc91 layout blocks (calc) px, pyid:${t.id} startingPos=X${n} new startingPosX${t.size.x} ${e} padding=${C} width=${l} halfWidth=${e} => x:${t.size.x} y:${t.size.y} ${t.widthInColumns} (width * (child?.w || 1)) / 2 ${l*((null==t?void 0:t.widthInColumns)||1)/2}`),n=t.size.x+e,t.size.y=i.size.y-i.size.height/2+c*(o+C)+o/2+C,r.l.debug(`abc88 layout blocks (calc) px, pyid:${t.id}startingPosX${n}${C}${e}=>x:${t.size.x}y:${t.size.y}${t.widthInColumns}(width * (child?.w || 1)) / 2${l*((null==t?void 0:t.widthInColumns)||1)/2}`)}t.children&&F(t),s+=(null==t?void 0:t.widthInColumns)||1,r.l.debug("abc88 columnsPos",t,s)}}r.l.debug(`layout blocks (<==layoutBlocks) ${e.id} x: ${null==(x=null==e?void 0:e.size)?void 0:x.x} y: ${null==(L=null==e?void 0:e.size)?void 0:L.y} width: ${null==(S=null==e?void 0:e.size)?void 0:S.width}`)}function P(e,{minX:t,minY:i,maxX:s,maxY:n}={minX:0,minY:0,maxX:0,maxY:0}){if(e.size&&"root"!==e.id){const{x:r,y:l,width:o,height:a}=e.size;r-o/2s&&(s=r+o/2),l+a/2>n&&(n=l+a/2)}if(e.children)for(const r of e.children)({minX:t,minY:i,maxX:s,maxY:n}=P(r,{minX:t,minY:i,maxX:s,maxY:n}));return{minX:t,minY:i,maxX:s,maxY:n}}function Y(e){const t=e.getBlock("root");if(!t)return;B(t,e,0,0),F(t),r.l.debug("getBlocks",JSON.stringify(t,null,2));const{minX:i,minY:s,maxX:n,maxY:l}=P(t);return{x:i,y:s,width:n-i,height:l-s}}const K={parser:g,db:$,renderer:{draw:async function(e,t,i,s){const{securityLevel:n,block:l}=(0,r.F)(),o=s.db;let a;"sandbox"===n&&(a=(0,u.Ltv)("#i"+t));const d="sandbox"===n?(0,u.Ltv)(a.nodes()[0].contentDocument.body):(0,u.Ltv)("body"),g="sandbox"===n?d.select(`[id="${t}"]`):(0,u.Ltv)(`[id="${t}"]`);(0,c.a)(g,["point","circle","cross"],s.type,t);const y=o.getBlocks(),p=o.getBlocksFlat(),b=o.getEdges(),x=g.insert("g").attr("class","block");await async function(e,t,i){await A(e,t,i,T)}(x,y,o);const L=Y(o);if(await async function(e,t,i){await A(e,t,i,z)}(x,y,o),await async function(e,t,i,s,n){const r=new h.T({multigraph:!0,compound:!0});r.setGraph({rankdir:"TB",nodesep:10,ranksep:10,marginx:8,marginy:8});for(const e of i)e.size&&r.setNode(e.id,{width:e.size.width,height:e.size.height,intersect:e.intersect});for(const i of t)if(i.start&&i.end){const t=s.getBlock(i.start),l=s.getBlock(i.end);if((null==t?void 0:t.size)&&(null==l?void 0:l.size)){const s=t.size,o=l.size,a=[{x:s.x,y:s.y},{x:s.x+(o.x-s.x)/2,y:s.y+(o.y-s.y)/2},{x:o.x,y:o.y}];await(0,c.h)(e,{v:i.start,w:i.end,name:i.id},{...i,arrowTypeEnd:i.arrowTypeEnd,arrowTypeStart:i.arrowTypeStart,points:a,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"},void 0,"block",r,n),i.label&&(await(0,c.f)(e,{...i,label:i.label,labelStyle:"stroke: #333; stroke-width: 1.5px;fill:none;",arrowTypeEnd:i.arrowTypeEnd,arrowTypeStart:i.arrowTypeStart,points:a,classes:"edge-thickness-normal edge-pattern-solid flowchart-link LS-a1 LE-b1"}),await(0,c.j)({...i,x:a[1].x,y:a[1].y},{originalPath:a}))}}}(x,b,p,o,t),L){const e=L,t=Math.max(1,Math.round(e.width/e.height*.125)),i=e.height+t+10,s=e.width+10,{useMaxWidth:n}=l;(0,r.i)(g,i,s,!!n),r.l.debug("Here Bounds",L,e),g.attr("viewBox",`${e.x-5} ${e.y-5} ${e.width+10} ${e.height+10}`)}(0,u.UMr)(u.zt)},getClasses:function(e,t){return t.db.getClasses()}},styles:e=>`.label {\n font-family: ${e.fontFamily};\n color: ${e.nodeTextColor||e.textColor};\n }\n .cluster-label text {\n fill: ${e.titleColor};\n }\n .cluster-label span,p {\n color: ${e.titleColor};\n }\n\n\n\n .label text,span,p {\n fill: ${e.nodeTextColor||e.textColor};\n color: ${e.nodeTextColor||e.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${e.mainBkg};\n stroke: ${e.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${e.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${e.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${e.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${e.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${e.edgeLabelBackground};\n fill: ${e.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${N(e.edgeLabelBackground,.5)};\n // background-color:\n }\n\n .node .cluster {\n // fill: ${N(e.mainBkg,.5)};\n fill: ${N(e.clusterBkg,.5)};\n stroke: ${N(e.clusterBorder,.2)};\n box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${e.titleColor};\n }\n\n .cluster span,p {\n color: ${e.titleColor};\n }\n /* .cluster div {\n color: ${e.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${e.fontFamily};\n font-size: 12px;\n background: ${e.tertiaryColor};\n border: 1px solid ${e.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${e.textColor};\n }\n`}}}]); \ No newline at end of file diff --git a/assets/chunk.ede7c11a604b2e8412df.js.br b/assets/chunk.ede7c11a604b2e8412df.js.br new file mode 100644 index 00000000..1d80c9aa Binary files /dev/null and b/assets/chunk.ede7c11a604b2e8412df.js.br differ diff --git a/assets/chunk.ede7c11a604b2e8412df.js.gz b/assets/chunk.ede7c11a604b2e8412df.js.gz new file mode 100644 index 00000000..a3b72780 Binary files /dev/null and b/assets/chunk.ede7c11a604b2e8412df.js.gz differ diff --git a/assets/chunk.f10876c4b46548daacc2.css b/assets/chunk.f10876c4b46548daacc2.css new file mode 100644 index 00000000..a37d7358 --- /dev/null +++ b/assets/chunk.f10876c4b46548daacc2.css @@ -0,0 +1,210 @@ +:root { + --ecn-container-position: 10px; + --ecn-container-width: 80%; + --ecn-container-max-with: 400px; + + --ecn-icon-width: 30px; + --ecn-icon-position: 10px; + --ecn-icon-color: rgba(255, 255, 255, 0.74); + --ecn-icon-lighten-background: rgba(255, 255, 255, 0.2); + --ecn-countdown-lighten-background: rgba(255, 255, 255, 0.4); + --ecn-notification-max-height: 800px; + --ecn-notification-border-radius: 3px; + + /* Colours */ + --ecn-green: #64ce83; + --ecn-blue: #3ea2ff; + --ecn-orange: #ff7f48; + --ecn-red: #e74c3c; + + /* Spacing */ + --ecn-spacing-1: .5rem; + --ecn-spacing-2: 1rem; +} + +/* Base */ +.ember-cli-notifications-notification__container { + position: fixed; + margin: 0 auto; + width: var(--ecn-container-width); + max-width: var(--ecn-container-max-with); +} + +/* Position */ +.ember-cli-notifications-notification__container--top { + top: var(--ecn-container-position); + right: 0; + left: 0; +} + +.ember-cli-notifications-notification__container--top-left { + top: var(--ecn-container-position); + right: auto; + left: var(--ecn-container-position); +} + +.ember-cli-notifications-notification__container--top-right { + top: var(--ecn-container-position); + right: var(--ecn-container-position); + left: auto; +} + +.ember-cli-notifications-notification__container--bottom { + right: 0; + bottom: var(--ecn-container-position); + left: 0; +} + +.ember-cli-notifications-notification__container--bottom-left { + right: auto; + bottom: var(--ecn-container-position); + left: var(--ecn-container-position); +} + +.ember-cli-notifications-notification__container--bottom-right { + right: var(--ecn-container-position); + bottom: var(--ecn-container-position); + left: auto; +} + +/* Values */ +.ember-cli-notifications-notification__container .c-notification { + display: flex; + align-items: stretch; + position: relative; + overflow: hidden; + border-radius: var(--ecn-notification-border-radius); + border-bottom: 1rem; + color: white; + max-height: var(--ecn-notification-max-height); + animation: notification-hide 250ms cubic-bezier(.33859, -.42, 1, -.22), notification-shrink 250ms 250ms cubic-bezier(.5, 0, 0, 1); + animation-fill-mode: forwards; + margin-bottom: var(--ecn-spacing-2); +} + +.ember-cli-notifications-notification__container .c-notification--clickable { + cursor: pointer; +} + +.ember-cli-notifications-notification__container .c-notification--in { + animation: notification-show 180ms cubic-bezier(.175, .885, .32, 1.27499); +} + +.ember-cli-notifications-notification__container .c-notification__content { + display: flex; + flex: 1 1 auto; + min-width: 0; + min-height: 0; + justify-content: space-between; + padding: var(--ecn-spacing-1) var(--ecn-spacing-2); + word-break: break-word; +} + +.ember-cli-notifications-notification__container .c-notification__content a { + color: #fff; + text-decoration: underline; +} + +.ember-cli-notifications-notification__container .c-notification__icon { + padding: var(--ecn-spacing-1) 0; + text-align: center; + flex: none; + background-color: var(--ecn-icon-lighten-background); + width: var(--ecn-icon-width); + color: var(--ecn-icon-color); +} + +.ember-cli-notifications-notification__container .c-notification__svg { + width: 16px; + height: 16px; + vertical-align: text-top; +} + +.ember-cli-notifications-notification__container .c-notification__close { + margin-left: var(--ecn-spacing-2); + align-self: flex-start; + opacity: .74; + cursor: pointer; +} + +.ember-cli-notifications-notification__container .c-notification__close:hover, +.ember-cli-notifications-notification__container .c-notification__close:focus { + opacity: 1; +} + +.ember-cli-notifications-notification__container .c-notification__countdown { + position: absolute; + bottom: 0; + left: 0; + background-color: var(--ecn-countdown-lighten-background); + width: 0; + height: 4px; + animation: notification-countdown linear 1; +} + +/* Theme */ +.ember-cli-notifications-notification__container .c-notification--info { + background-color: var(--ecn-blue); +} + +.ember-cli-notifications-notification__container .c-notification--success { + background-color: var(--ecn-green); +} + +.ember-cli-notifications-notification__container .c-notification--warning { + background-color: var(--ecn-orange); +} + +.ember-cli-notifications-notification__container .c-notification--error { + background-color: var(--ecn-red); +} + +/* Keyframes */ +@keyframes notification-show { + 0% { + opacity: 0; + transform: perspective(450px) translate(0, -30px) rotateX(90deg); + } + + 100% { + opacity: 1; + transform: perspective(450px) translate(0, 0) rotateX(0deg); + } +} + +@keyframes notification-shrink { + 0% { + opacity: 0; + max-height: var(--ecn-notification-max-height); + transform: scale(.8); + } + + 100% { + opacity: 0; + max-height: 0; + transform: scale(.8); + } +} + +@keyframes notification-hide { + 0% { + opacity: 1; + transform: scale(1); + } + + 100% { + opacity: 0; + transform: scale(.8); + } +} + +@keyframes notification-countdown { + 0% { + width: 100%; + } + + 100% { + width: 0%; + } +} + diff --git a/assets/chunk.f10876c4b46548daacc2.css.br b/assets/chunk.f10876c4b46548daacc2.css.br new file mode 100644 index 00000000..2233b477 Binary files /dev/null and b/assets/chunk.f10876c4b46548daacc2.css.br differ diff --git a/assets/chunk.f10876c4b46548daacc2.css.gz b/assets/chunk.f10876c4b46548daacc2.css.gz new file mode 100644 index 00000000..23339f38 Binary files /dev/null and b/assets/chunk.f10876c4b46548daacc2.css.gz differ diff --git a/assets/chunk.f10876c4b46548daacc2.js b/assets/chunk.f10876c4b46548daacc2.js new file mode 100644 index 00000000..42bf3193 --- /dev/null +++ b/assets/chunk.f10876c4b46548daacc2.js @@ -0,0 +1 @@ +(()=>{var e,o,d,n={39547:(e,o,d)=>{var n={"./box":13417,"./box.js":13417,"./calendar":37376,"./calendar.js":37376,"./check-mark":43968,"./check-mark.js":43968,"./checkbox":28075,"./checkbox-empty":24711,"./checkbox-empty.js":24711,"./checkbox.js":28075,"./chevron-right":67804,"./chevron-right.js":67804,"./circle-question":59667,"./circle-question.js":59667,"./color-mode":45147,"./color-mode.js":45147,"./copy":54863,"./copy.js":54863,"./crate":63267,"./crate.js":63267,"./cuddlyferris":12044,"./cuddlyferris.js":12044,"./docs-rs":8817,"./docs-rs.js":8817,"./download":34550,"./download-arrow":83298,"./download-arrow.js":83298,"./download.js":34550,"./dropdown":60059,"./dropdown.js":60059,"./file-archive":36627,"./file-archive.js":36627,"./flag":59208,"./flag.js":59208,"./following":85851,"./following.js":85851,"./github":64569,"./github.js":64569,"./latest-updates":69782,"./latest-updates.js":69782,"./left-pag":6590,"./left-pag.js":6590,"./license":3311,"./license.js":3311,"./link":38022,"./link.js":38022,"./lock":9369,"./lock.js":9369,"./moon":12211,"./moon.js":12211,"./my-packages":59708,"./my-packages.js":59708,"./right-arrow":31422,"./right-arrow.js":31422,"./right-pag":83711,"./right-pag.js":83711,"./rust":70088,"./rust.js":70088,"./search":98198,"./search.js":98198,"./sort":74110,"./sort.js":74110,"./star":99790,"./star.js":99790,"./sun":41246,"./sun.js":41246,"./trash":71050,"./trash.js":71050,"./twitter":7151,"./twitter.js":7151,"./weight":71414,"./weight.js":71414,"./zulip":57282,"./zulip.js":57282};function i(e){var o=r(e);return d(o)}function r(e){if(!d.o(n,e)){var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}return n[e]}i.keys=function(){return Object.keys(n)},i.resolve=r,e.exports=i,i.id=39547},92253:e=>{const o=window.require("@ember/-internals/metal");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},13474:e=>{const o=window.require("@ember/application/namespace");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},44688:e=>{const o=window.require("@ember/application");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},88046:e=>{const o=window.require("@ember/array/proxy");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},16895:e=>{const o=window.require("@ember/array");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},9294:e=>{const o=window.require("@ember/component/helper");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},7795:e=>{const o=window.require("@ember/component/template-only");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},25313:e=>{const o=window.require("@ember/component");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},84532:e=>{const o=window.require("@ember/controller");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},62699:e=>{const o=window.require("@ember/debug/container-debug-adapter");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},58944:e=>{const o=window.require("@ember/debug/data-adapter");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},31837:e=>{const o=window.require("@ember/debug");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},97820:e=>{const o=window.require("@ember/destroyable");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},98772:e=>{const o=window.require("@ember/instrumentation");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},23189:e=>{const o=window.require("@ember/modifier");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},46958:e=>{const o=window.require("@ember/object/compat");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},37407:e=>{const o=window.require("@ember/object/computed");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},93081:e=>{const o=window.require("@ember/object/events");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},61920:e=>{const o=window.require("@ember/object/internals");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},35423:e=>{const o=window.require("@ember/object/mixin");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},12413:e=>{const o=window.require("@ember/object/observers");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},37022:e=>{const o=window.require("@ember/object/promise-proxy-mixin");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},68750:e=>{const o=window.require("@ember/object/proxy");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},96639:e=>{const o=window.require("@ember/object");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},68417:e=>{const o=window.require("@ember/owner");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},23648:e=>{const o=window.require("@ember/routing/route");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},7608:e=>{const o=window.require("@ember/routing/router");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},86053:e=>{const o=window.require("@ember/runloop");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},94313:e=>{const o=window.require("@ember/service");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},48338:e=>{const o=window.require("@ember/template");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},59165:e=>{const o=window.require("@ember/template-factory");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},30380:e=>{const o=window.require("@ember/test");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},8659:e=>{const o=window.require("@ember/utils");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},46715:e=>{const o=window.require("@glimmer/tracking/primitives/cache");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},91065:e=>{const o=window.require("@glimmer/tracking");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},43556:e=>{const o=window.require("@glimmer/validator");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},21266:e=>{const o=window.require("ember");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},20561:e=>{const o=window.require("fetch");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},87102:e=>{const o=window.requirejs;o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},75076:e=>{const o=window.require("rsvp");o.default&&!o.__esModule&&(o.__esModule=!0),e.exports=o},72926:(e,o,d)=>{"use strict";d(37388),d(28733),window.define,window.define,d(92837),d(18034),d(71707),window.define,window.define,window.define,window.define,d(47198),d(45080),window.define,d(20125),window.define,window.define,window.define,window.define,d(20857),window.define,window.define,d(47618),window.define,window.define,window.define,d(39523),window.define,window.define,d(59713),d(18121),window.define,window.define,window.define,d(17869),window.define,d(73207),window.define,d(64842),window.define,window.define,window.define,window.define,window.define,d(7002),window.define,d(16594),window.define,d(70721),d(84189),window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,d(71094),window.define,window.define,window.define,window.define,d(79322),window.define,window.define,window.define,window.define,window.define,window.define,window.define,window.define,d(66185),d(66915),window.define,window.define},18121:()=>{window.define},64842:()=>{window.define},7002:()=>{window.define},92837:()=>{window.define},37388:()=>{window.define},18034:()=>{window.define},70721:()=>{window.define},84189:()=>{window.define},17869:()=>{window.define},39523:()=>{window.define},59713:()=>{window.define},16594:()=>{window.define},47618:()=>{window.define},73207:()=>{window.define},79322:()=>{window.define},28733:()=>{window.define},71094:()=>{window.define},66185:()=>{window.define},66915:()=>{window.define},47198:()=>{window.define},20125:()=>{window.define},71707:()=>{window.define},45080:()=>{window.define},20857:()=>{window.define}},i={};function r(e){var o=i[e];if(void 0!==o)return o.exports;var d=i[e]={exports:{}};return n[e].call(d.exports,d,d.exports,r),d.exports}r.m=n,e=[],r.O=(o,d,n,i)=>{if(!d){var t=1/0;for(l=0;l=i)&&Object.keys(r.O).every((e=>r.O[e](d[w])))?d.splice(w--,1):(s=!1,i0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[d,n,i]},r.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return r.d(o,{a:o}),o},r.d=(e,o)=>{for(var d in o)r.o(o,d)&&!r.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:o[d]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((o,d)=>(r.f[d](e,o),o)),[])),r.u=e=>"assets/chunk."+{61:"8f6bd6b3f0f9148d395c",66:"35db74ddaceb474a7475",136:"f9c6ed36547894a2ab14",197:"f61db1db725906058dc3",203:"428aeba8da4e8ca2d8a8",273:"64798dd1b3de6d00c7a1",278:"2c1df27a14de068956fe",318:"84323f09788757e7cd30",342:"d6cae2bbf1f32e7a9f2f",369:"821016c7274c8b6ee443",398:"b0bb8bcc394c2cd28614",399:"b3cac379dd7cadbf1142",407:"b3f2fefc1f9e9f7d5025",411:"8d34a21b0b442207f356",413:"03bfbe9d374a558225af",498:"dbccc888d35687892dd7",509:"ede7c11a604b2e8412df",546:"2ec8f4190b6755027da1",590:"d7c910711fc55b5d2182",591:"0fa9f6d6e53171792c98",641:"6fcc8c756e80accc0b23",650:"6dd509fc6f8ea9d8133f",665:"46d13af50375b5b9a298",666:"b7ab05bb82a1a3c1693e",682:"fb4ed28698ec6bc8b2d4",728:"4247fe135a1a3e71b27e",745:"2e5774b755f21e2c78ba",747:"98051d484e65792673e9",785:"90c8a1e9f8e7fd112059",794:"9c7eacf0d7f9f80bae4f",918:"3ce9f331691a57c9d621",942:"88b26b2cb5a63f248ac7",968:"32d791d515534c9e08be",985:"179c63bd0e1d67967546"}[e]+".js",r.miniCssF=e=>{},r.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),o={},d="crates-io:",r.l=(e,n,i,t)=>{if(o[e])o[e].push(n);else{var s,w;if(void 0!==i)for(var u=document.getElementsByTagName("script"),l=0;l{s.onerror=s.onload=null,clearTimeout(c);var i=o[e];if(delete o[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),d)return d(n)},c=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),w&&document.head.appendChild(s)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="/",(()=>{var e={835:0};r.f.j=(o,d)=>{var n=r.o(e,o)?e[o]:void 0;if(0!==n)if(n)d.push(n[2]);else{var i=new Promise(((d,i)=>n=e[o]=[d,i]));d.push(n[2]=i);var t=r.p+r.u(o),s=new Error;r.l(t,(d=>{if(r.o(e,o)&&(0!==(n=e[o])&&(e[o]=void 0),n)){var i=d&&("load"===d.type?"missing":d.type),t=d&&d.target&&d.target.src;s.message="Loading chunk "+o+" failed.\n("+i+": "+t+")",s.name="ChunkLoadError",s.type=i,s.request=t,n[1](s)}}),"chunk-"+o,o)}},r.O.j=o=>0===e[o];var o=(o,d)=>{var n,i,[t,s,w]=d,u=0;if(t.some((o=>0!==e[o]))){for(n in s)r.o(s,n)&&(r.m[n]=s[n]);if(w)var l=w(r)}for(o&&o(d);ur(32505)));t=r.O(t)})(); \ No newline at end of file diff --git a/assets/chunk.f10876c4b46548daacc2.js.br b/assets/chunk.f10876c4b46548daacc2.js.br new file mode 100644 index 00000000..9271feb4 Binary files /dev/null and b/assets/chunk.f10876c4b46548daacc2.js.br differ diff --git a/assets/chunk.f10876c4b46548daacc2.js.gz b/assets/chunk.f10876c4b46548daacc2.js.gz new file mode 100644 index 00000000..0b94a33c Binary files /dev/null and b/assets/chunk.f10876c4b46548daacc2.js.gz differ diff --git a/assets/chunk.f61db1db725906058dc3.js b/assets/chunk.f61db1db725906058dc3.js new file mode 100644 index 00000000..ef519fdd --- /dev/null +++ b/assets/chunk.f61db1db725906058dc3.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[197],{41197:(t,e,a)=>{a.d(e,{diagram:()=>f});var r=a(3745),i=a(84017),n=a(72794),d=a(33104),o=a(59659);a(92329),a(88641),a(31998);let s=0;const l=function(t,e,a,r){const{displayText:i,cssStyle:n}=e.getDisplayDetails(),d=t.append("tspan").attr("x",r.padding).text(i);""!==n&&d.attr("style",e.cssStyle),a||d.attr("dy",r.textHeight)},p=function(t,e,a,r){o.l.debug("Rendering class ",e,a);const i=e.id,n={id:i,label:e.id,width:0,height:0},d=t.append("g").attr("id",r.db.lookUpDomId(i)).attr("class","classGroup");let s;s=e.link?d.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",a.textHeight+a.padding).attr("x",0):d.append("text").attr("y",a.textHeight+a.padding).attr("x",0);let p=!0;e.annotations.forEach((function(t){const e=s.append("tspan").text("«"+t+"»");p||e.attr("dy",a.textHeight),p=!1}));let c=function(t){let e=t.id;return t.type&&(e+="<"+(0,o.x)(t.type)+">"),e}(e);const g=s.append("tspan").text(c).attr("class","title");p||g.attr("dy",a.textHeight);const h=s.node().getBBox().height;let f,x,u;if(e.members.length>0){f=d.append("line").attr("x1",0).attr("y1",a.padding+h+a.dividerMargin/2).attr("y2",a.padding+h+a.dividerMargin/2);const t=d.append("text").attr("x",a.padding).attr("y",h+a.dividerMargin+a.textHeight).attr("fill","white").attr("class","classText");p=!0,e.members.forEach((function(e){l(t,e,p,a),p=!1})),x=t.node().getBBox()}if(e.methods.length>0){u=d.append("line").attr("x1",0).attr("y1",a.padding+h+a.dividerMargin+x.height).attr("y2",a.padding+h+a.dividerMargin+x.height);const t=d.append("text").attr("x",a.padding).attr("y",h+2*a.dividerMargin+x.height+a.textHeight).attr("fill","white").attr("class","classText");p=!0,e.methods.forEach((function(e){l(t,e,p,a),p=!1}))}const y=d.node().getBBox();var b=" ";e.cssClasses.length>0&&(b+=e.cssClasses.join(" "));const m=d.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",y.width+2*a.padding).attr("height",y.height+a.padding+.5*a.dividerMargin).attr("class",b).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(m-t.getBBox().width)/2)})),e.tooltip&&s.insert("title").text(e.tooltip),f&&f.attr("x2",m),u&&u.attr("x2",m),n.width=m,n.height=y.height+a.padding+.5*a.dividerMargin,n};let c={};const g=function(t){const e=Object.entries(c).find((e=>e[1].label===t));if(e)return e[0]},h={draw:function(t,e,a,r){const l=(0,o.c)().class;c={},o.l.info("Rendering diagram "+t);const h=(0,o.c)().securityLevel;let f;"sandbox"===h&&(f=(0,i.Ltv)("#i"+e));const x="sandbox"===h?(0,i.Ltv)(f.nodes()[0].contentDocument.body):(0,i.Ltv)("body"),u=x.select(`[id='${e}']`);var y;(y=u).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),y.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),y.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).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"),y.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).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"),y.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).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"),y.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).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"),y.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).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"),y.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).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");const b=new d.T({multigraph:!0});b.setGraph({isMultiGraph:!0}),b.setDefaultEdgeLabel((function(){return{}}));const m=r.db.getClasses(),k=Object.keys(m);for(const t of k){const e=m[t],a=p(u,e,l,r);c[a.id]=a,b.setNode(a.id,a),o.l.info("Org height: "+a.height)}r.db.getRelations().forEach((function(t){o.l.info("tjoho"+g(t.id1)+g(t.id2)+JSON.stringify(t)),b.setEdge(g(t.id1),g(t.id2),{relation:t},t.title||"DEFAULT")})),r.db.getNotes().forEach((function(t){o.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=function(t,e,a){o.l.debug("Rendering note ",e,a);const r=e.id,i={id:r,text:e.text,width:0,height:0},n=t.append("g").attr("id",r).attr("class","classGroup");let d=n.append("text").attr("y",a.textHeight+a.padding).attr("x",0);const s=JSON.parse(`"${e.text}"`).split("\n");s.forEach((function(t){o.l.debug(`Adding line: ${t}`),d.append("tspan").text(t).attr("class","title").attr("dy",a.textHeight)}));const l=n.node().getBBox(),p=n.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",l.width+2*a.padding).attr("height",l.height+s.length*a.textHeight+a.padding+.5*a.dividerMargin).node().getBBox().width;return d.node().childNodes.forEach((function(t){t.setAttribute("x",(p-t.getBBox().width)/2)})),i.width=p,i.height=l.height+s.length*a.textHeight+a.padding+.5*a.dividerMargin,i}(u,t,l);c[e.id]=e,b.setNode(e.id,e),t.class&&t.class in m&&b.setEdge(t.id,g(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,n.Zp)(b),b.nodes().forEach((function(t){void 0!==t&&void 0!==b.node(t)&&(o.l.debug("Node "+t+": "+JSON.stringify(b.node(t))),x.select("#"+(r.db.lookUpDomId(t)||t)).attr("transform","translate("+(b.node(t).x-b.node(t).width/2)+","+(b.node(t).y-b.node(t).height/2)+" )"))})),b.edges().forEach((function(t){void 0!==t&&void 0!==b.edge(t)&&(o.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(b.edge(t))),function(t,e,a,r,n){const d=function(t){switch(t){case n.db.relationType.AGGREGATION:return"aggregation";case n.db.relationType.EXTENSION:return"extension";case n.db.relationType.COMPOSITION:return"composition";case n.db.relationType.DEPENDENCY:return"dependency";case n.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const l=e.points,p=(0,i.n8j)().x((function(t){return t.x})).y((function(t){return t.y})).curve(i.qrM),c=t.append("path").attr("d",p(l)).attr("id","edge"+s).attr("class","relation");let g,h,f="";r.arrowMarkerAbsolute&&(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,f=f.replace(/\(/g,"\\("),f=f.replace(/\)/g,"\\)")),1==a.relation.lineType&&c.attr("class","relation dashed-line"),10==a.relation.lineType&&c.attr("class","relation dotted-line"),"none"!==a.relation.type1&&c.attr("marker-start","url("+f+"#"+d(a.relation.type1)+"Start)"),"none"!==a.relation.type2&&c.attr("marker-end","url("+f+"#"+d(a.relation.type2)+"End)");const x=e.points.length;let u,y,b,m,k=o.u.calcLabelPosition(e.points);if(g=k.x,h=k.y,x%2!=0&&x>1){let t=o.u.calcCardinalityPosition("none"!==a.relation.type1,e.points,e.points[0]),r=o.u.calcCardinalityPosition("none"!==a.relation.type2,e.points,e.points[x-1]);o.l.debug("cardinality_1_point "+JSON.stringify(t)),o.l.debug("cardinality_2_point "+JSON.stringify(r)),u=t.x,y=t.y,b=r.x,m=r.y}if(void 0!==a.title){const e=t.append("g").attr("class","classLabel"),i=e.append("text").attr("class","label").attr("x",g).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(a.title);window.label=i;const n=i.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",n.x-r.padding/2).attr("y",n.y-r.padding/2).attr("width",n.width+r.padding).attr("height",n.height+r.padding)}o.l.info("Rendering relation "+JSON.stringify(a)),void 0!==a.relationTitle1&&"none"!==a.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",y).attr("fill","black").attr("font-size","6").text(a.relationTitle1),void 0!==a.relationTitle2&&"none"!==a.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",b).attr("y",m).attr("fill","black").attr("font-size","6").text(a.relationTitle2),s++}(u,b.edge(t),b.edge(t).relation,l,r))}));const w=u.node().getBBox(),L=w.width+40,v=w.height+40;(0,o.i)(u,v,L,l.useMaxWidth);const E=`${w.x-20} ${w.y-20} ${L} ${v}`;o.l.debug(`viewBox ${E}`),u.attr("viewBox",E)}},f={parser:r.p,db:r.d,renderer:h,styles:r.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,r.d.clear()}}}}]); \ No newline at end of file diff --git a/assets/chunk.f61db1db725906058dc3.js.br b/assets/chunk.f61db1db725906058dc3.js.br new file mode 100644 index 00000000..ecbfbaa1 Binary files /dev/null and b/assets/chunk.f61db1db725906058dc3.js.br differ diff --git a/assets/chunk.f61db1db725906058dc3.js.gz b/assets/chunk.f61db1db725906058dc3.js.gz new file mode 100644 index 00000000..2d846950 Binary files /dev/null and b/assets/chunk.f61db1db725906058dc3.js.gz differ diff --git a/assets/chunk.f9c6ed36547894a2ab14.js b/assets/chunk.f9c6ed36547894a2ab14.js new file mode 100644 index 00000000..aa3073a7 --- /dev/null +++ b/assets/chunk.f9c6ed36547894a2ab14.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[136],{45136:(t,e,i)=>{i.d(e,{diagram:()=>p});var n=i(59659),s=i(84017),r=(i(92329),i(88641),i(31998),function(){var t=function(t,e,i,n){for(i=i||{},n=t.length;n--;i[t[n]]=e);return i},e=[1,3],i=[1,4],n=[1,5],s=[1,6],r=[1,10,12,14,16,18,19,20,21,22],l=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],c=[20,21,22],o=[2,7],h=[1,12],u=[1,13],y=[1,14],p=[1,15],d=[1,16],g=[1,17],_={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,e,i,n,s,r,l){var a=r.length-1;switch(s){case 3:n.setShowData(!0);break;case 6:this.$=r[a-1];break;case 8:n.addSection(r[a-1],n.cleanupValue(r[a]));break;case 9:this.$=r[a].trim(),n.setDiagramTitle(this.$);break;case 10:this.$=r[a].trim(),n.setAccTitle(this.$);break;case 11:case 12:this.$=r[a].trim(),n.setAccDescription(this.$);break;case 13:n.addSection(r[a].substr(8)),this.$=r[a].substr(8)}},table:[{3:1,4:2,5:e,20:i,21:n,22:s},{1:[3]},{3:7,4:2,5:e,20:i,21:n,22:s},t(r,l,{6:8,7:[1,9]}),t(a,[2,14]),t(a,[2,15]),t(a,[2,16]),{1:[2,1]},t(c,o,{8:10,9:11,1:[2,2],10:h,12:u,14:y,16:p,18:d,19:g}),t(r,l,{6:18}),t(r,[2,5]),{4:19,20:i,21:n,22:s},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},t(c,[2,12]),t(c,[2,13]),t(c,o,{8:10,9:11,1:[2,3],10:h,12:u,14:y,16:p,18:d,19:g}),t(r,[2,6]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,e){if(!e.recoverable){var i=new Error(t);throw i.hash=e,i}this.trace(t)},parse:function(t){var e=[0],i=[],n=[null],s=[],r=this.table,l="",a=0,c=0,o=s.slice.call(arguments,1),h=Object.create(this.lexer),u={yy:{}};for(var y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,y)&&(u.yy[y]=this.yy[y]);h.setInput(t,u.yy),u.yy.lexer=h,u.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var p=h.yylloc;s.push(p);var d=h.options&&h.options.ranges;"function"==typeof u.yy.parseError?this.parseError=u.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var g,_,f,m,k,b,x,v,S,w={};;){if(_=e[e.length-1],this.defaultActions[_]?f=this.defaultActions[_]:(null==g&&(S=void 0,"number"!=typeof(S=i.pop()||h.lex()||1)&&(S instanceof Array&&(S=(i=S).pop()),S=this.symbols_[S]||S),g=S),f=r[_]&&r[_][g]),void 0===f||!f.length||!f[0]){var $;for(k in v=[],r[_])this.terminals_[k]&&k>2&&v.push("'"+this.terminals_[k]+"'");$=h.showPosition?"Parse error on line "+(a+1)+":\n"+h.showPosition()+"\nExpecting "+v.join(", ")+", got '"+(this.terminals_[g]||g)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==g?"end of input":"'"+(this.terminals_[g]||g)+"'"),this.parseError($,{text:h.match,token:this.terminals_[g]||g,line:h.yylineno,loc:p,expected:v})}if(f[0]instanceof Array&&f.length>1)throw new Error("Parse Error: multiple actions possible at state: "+_+", token: "+g);switch(f[0]){case 1:e.push(g),n.push(h.yytext),s.push(h.yylloc),e.push(f[1]),g=null,c=h.yyleng,l=h.yytext,a=h.yylineno,p=h.yylloc;break;case 2:if(b=this.productions_[f[1]][1],w.$=n[n.length-b],w._$={first_line:s[s.length-(b||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(b||1)].first_column,last_column:s[s.length-1].last_column},d&&(w._$.range=[s[s.length-(b||1)].range[0],s[s.length-1].range[1]]),void 0!==(m=this.performAction.apply(w,[l,c,a,u.yy,f[1],n,s].concat(o))))return m;b&&(e=e.slice(0,-1*b*2),n=n.slice(0,-1*b),s=s.slice(0,-1*b)),e.push(this.productions_[f[1]][0]),n.push(w.$),s.push(w._$),x=r[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},f={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===n.length?this.yylloc.first_column:0)+n[n.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var i,n,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(n=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=n.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:n?n[n.length-1].length-n[n.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var r in s)this[r]=s[r];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,i,n;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),r=0;re[0].length)){if(e=i,n=r,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,s[r])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,s[n]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,i,n){switch(i){case 0:case 1:case 3:case 4:break;case 2:return 20;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}};function m(){this.yy={}}return _.lexer=f,m.prototype=_,_.Parser=m,new m}());r.parser=r;const l=r,a=n.B.pie,c={},o=!1;let h=c,u=o;const y=structuredClone(a),p={parser:l,db:{getConfig:()=>structuredClone(y),clear:()=>{h=structuredClone(c),u=o,(0,n.v)()},setDiagramTitle:n.q,getDiagramTitle:n.t,setAccTitle:n.s,getAccTitle:n.g,setAccDescription:n.b,getAccDescription:n.a,addSection:(t,e)=>{t=(0,n.d)(t,(0,n.c)()),void 0===h[t]&&(h[t]=e,n.l.debug(`added new section: ${t}, with value: ${e}`))},getSections:()=>h,cleanupValue:t=>(":"===t.substring(0,1)&&(t=t.substring(1).trim()),Number(t.trim())),setShowData:t=>{u=t},getShowData:()=>u},renderer:{draw:(t,e,i,r)=>{n.l.debug("rendering pie chart\n"+t);const l=r.db,a=(0,n.c)(),c=(0,n.C)(l.getConfig(),a.pie),o=(0,n.A)(e),h=o.append("g"),u=l.getSections();h.attr("transform","translate(225,225)");const{themeVariables:y}=a;let[p]=(0,n.D)(y.pieOuterStrokeWidth);p??(p=2);const d=c.textPosition,g=Math.min(450,450)/2-40,_=(0,s.JLW)().innerRadius(0).outerRadius(g),f=(0,s.JLW)().innerRadius(g*d).outerRadius(g*d);h.append("circle").attr("cx",0).attr("cy",0).attr("r",g+p/2).attr("class","pieOuterCircle");const m=(t=>{const e=Object.entries(t).map((t=>({label:t[0],value:t[1]}))).sort(((t,e)=>e.value-t.value));return(0,s.rLf)().value((t=>t.value))(e)})(u),k=[y.pie1,y.pie2,y.pie3,y.pie4,y.pie5,y.pie6,y.pie7,y.pie8,y.pie9,y.pie10,y.pie11,y.pie12],b=(0,s.UMr)(k);h.selectAll("mySlices").data(m).enter().append("path").attr("d",_).attr("fill",(t=>b(t.data.label))).attr("class","pieCircle");let x=0;Object.keys(u).forEach((t=>{x+=u[t]})),h.selectAll("mySlices").data(m).enter().append("text").text((t=>(t.data.value/x*100).toFixed(0)+"%")).attr("transform",(t=>"translate("+f.centroid(t)+")")).style("text-anchor","middle").attr("class","slice"),h.append("text").text(l.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");const v=h.selectAll(".legend").data(b.domain()).enter().append("g").attr("class","legend").attr("transform",((t,e)=>"translate(216,"+(22*e-22*b.domain().length/2)+")"));v.append("rect").attr("width",18).attr("height",18).style("fill",b).style("stroke",b),v.data(m).append("text").attr("x",22).attr("y",14).text((t=>{const{label:e,value:i}=t.data;return l.getShowData()?`${e} [${i}]`:e}));const S=512+Math.max(...v.selectAll("text").nodes().map((t=>(null==t?void 0:t.getBoundingClientRect().width)??0)));o.attr("viewBox",`0 0 ${S} 450`),(0,n.i)(o,450,S,c.useMaxWidth)}},styles:t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${t.pieOuterStrokeColor};\n stroke-width: ${t.pieOuterStrokeWidth};\n fill: none;\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`}}}]); \ No newline at end of file diff --git a/assets/chunk.f9c6ed36547894a2ab14.js.br b/assets/chunk.f9c6ed36547894a2ab14.js.br new file mode 100644 index 00000000..a95d8c15 Binary files /dev/null and b/assets/chunk.f9c6ed36547894a2ab14.js.br differ diff --git a/assets/chunk.f9c6ed36547894a2ab14.js.gz b/assets/chunk.f9c6ed36547894a2ab14.js.gz new file mode 100644 index 00000000..dd0fd533 Binary files /dev/null and b/assets/chunk.f9c6ed36547894a2ab14.js.gz differ diff --git a/assets/chunk.fb4ed28698ec6bc8b2d4.js b/assets/chunk.fb4ed28698ec6bc8b2d4.js new file mode 100644 index 00000000..6bc61abf --- /dev/null +++ b/assets/chunk.fb4ed28698ec6bc8b2d4.js @@ -0,0 +1,2 @@ +/*! For license information please see chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt */ +(self.webpackChunkcrates_io=self.webpackChunkcrates_io||[]).push([[682],{88641:(t,e)=>{"use strict";e.Jf=e.dz=void 0;var i=/^([^\w]*)(javascript|data|vbscript)/im,r=/&#(\w+)(^\w|;)?/g,n=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,a=/^.+(:|:)/gim,s=[".","/"];e.dz="about:blank",e.Jf=function(t){if(!t)return e.dz;var l,h=(l=t,l.replace(o,"").replace(r,(function(t,e){return String.fromCharCode(e)}))).replace(n,"").replace(o,"").trim();if(!h)return e.dz;if(function(t){return s.indexOf(t[0])>-1}(h))return h;var c=h.match(a);if(!c)return h;var u=c[0];return i.test(u)?e.dz:h}},92329:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,i="millisecond",r="second",n="minute",o="hour",a="day",s="week",l="month",h="quarter",c="year",u="date",d="Invalid Date",f=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={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"],i=t%100;return"["+t+(e[(i-20)%10]||e[i]||e[0])+"]"}},y=function(t,e,i){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(i)+t},m={s:y,z:function(t){var e=-t.utcOffset(),i=Math.abs(e),r=Math.floor(i/60),n=i%60;return(e<=0?"+":"-")+y(r,2,"0")+":"+y(n,2,"0")},m:function t(e,i){if(e.date()1)return t(a[0])}else{var s=e.name;x[s]=e,n=s}return!r&&n&&(C=n),n||!r&&C},k=function(t,e){if(b(t))return t.clone();var i="object"==typeof e?e:{};return i.date=t,i.args=arguments,new A(i)},T=m;T.l=v,T.i=b,T.w=function(t,e){return k(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var A=function(){function g(t){this.$L=v(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[_]=!0}var y=g.prototype;return y.parse=function(t){this.$d=function(t){var e=t.date,i=t.utc;if(null===e)return new Date(NaN);if(T.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(f);if(r){var n=r[2]-1||0,o=(r[7]||"0").substring(0,3);return i?new Date(Date.UTC(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)):new Date(r[1],n,r[3]||1,r[4]||0,r[5]||0,r[6]||0,o)}}return new Date(e)}(t),this.init()},y.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()},y.$utils=function(){return T},y.isValid=function(){return!(this.$d.toString()===d)},y.isSame=function(t,e){var i=k(t);return this.startOf(e)<=i&&i<=this.endOf(e)},y.isAfter=function(t,e){return k(t)1?i-1:0),n=1;n2&&void 0!==arguments[2]?arguments[2]:f;e&&e(t,null);let o=r.length;for(;o--;){let e=r[o];if("string"==typeof e){const t=n(e);t!==e&&(i(r)||(r[o]=t),e=t)}t[e]=!0}return t}function A(t){for(let e=0;e/gm),j=a(/\${[\w\W]*}/gm),R=a(/^data-[\-\w.\u00B7-\uFFFF]/),W=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=a(/^(?:\w+script|data):/i),Y=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=a(/^html$/i),G=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var X=Object.freeze({__proto__:null,MUSTACHE_EXPR:z,ERB_EXPR:P,TMPLIT_EXPR:j,DATA_ATTR:R,ARIA_ATTR:W,IS_ALLOWED_URI:U,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:Y,DOCTYPE_NAME:V,CUSTOM_ELEMENT:G});const Z=1,J=3,Q=7,K=8,tt=9,et=function(){return"undefined"==typeof window?null:window};return function e(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et();const r=t=>e(t);if(r.version="3.1.6",r.removed=[],!i||!i.document||i.document.nodeType!==tt)return r.isSupported=!1,r;let{document:n}=i;const a=n,l=a.currentScript,{DocumentFragment:h,HTMLTemplateElement:v,Node:k,Element:A,NodeFilter:z,NamedNodeMap:P=i.NamedNodeMap||i.MozNamedAttrMap,HTMLFormElement:j,DOMParser:R,trustedTypes:W}=i,H=A.prototype,Y=S(H,"cloneNode"),G=S(H,"remove"),it=S(H,"nextSibling"),rt=S(H,"childNodes"),nt=S(H,"parentNode");if("function"==typeof v){const t=n.createElement("template");t.content&&t.content.ownerDocument&&(n=t.content.ownerDocument)}let ot,at="";const{implementation:st,createNodeIterator:lt,createDocumentFragment:ht,getElementsByTagName:ct}=n,{importNode:ut}=a;let dt={};r.isSupported="function"==typeof t&&"function"==typeof nt&&st&&void 0!==st.createHTMLDocument;const{MUSTACHE_EXPR:ft,ERB_EXPR:pt,TMPLIT_EXPR:gt,DATA_ATTR:yt,ARIA_ATTR:mt,IS_SCRIPT_OR_DATA:Ct,ATTR_WHITESPACE:xt,CUSTOM_ELEMENT:_t}=X;let{IS_ALLOWED_URI:bt}=X,vt=null;const kt=T({},[...B,...F,...L,...E,...I]);let Tt=null;const At=T({},[...D,...N,...q,...$]);let wt=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),St=null,Bt=null,Ft=!0,Lt=!0,Mt=!1,Et=!0,Ot=!1,It=!0,Dt=!1,Nt=!1,qt=!1,$t=!1,zt=!1,Pt=!1,jt=!0,Rt=!1,Wt=!0,Ut=!1,Ht={},Yt=null;const Vt=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Gt=null;const Xt=T({},["audio","video","img","source","image","track"]);let Zt=null;const Jt=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Qt="http://www.w3.org/1998/Math/MathML",Kt="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xhtml";let ee=te,ie=!1,re=null;const ne=T({},[Qt,Kt,te],p);let oe=null;const ae=["application/xhtml+xml","text/html"];let se=null,le=null;const he=n.createElement("form"),ce=function(t){return t instanceof RegExp||t instanceof Function},ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!le||le!==t){if(t&&"object"==typeof t||(t={}),t=w(t),oe=-1===ae.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,se="application/xhtml+xml"===oe?p:f,vt=x(t,"ALLOWED_TAGS")?T({},t.ALLOWED_TAGS,se):kt,Tt=x(t,"ALLOWED_ATTR")?T({},t.ALLOWED_ATTR,se):At,re=x(t,"ALLOWED_NAMESPACES")?T({},t.ALLOWED_NAMESPACES,p):ne,Zt=x(t,"ADD_URI_SAFE_ATTR")?T(w(Jt),t.ADD_URI_SAFE_ATTR,se):Jt,Gt=x(t,"ADD_DATA_URI_TAGS")?T(w(Xt),t.ADD_DATA_URI_TAGS,se):Xt,Yt=x(t,"FORBID_CONTENTS")?T({},t.FORBID_CONTENTS,se):Vt,St=x(t,"FORBID_TAGS")?T({},t.FORBID_TAGS,se):{},Bt=x(t,"FORBID_ATTR")?T({},t.FORBID_ATTR,se):{},Ht=!!x(t,"USE_PROFILES")&&t.USE_PROFILES,Ft=!1!==t.ALLOW_ARIA_ATTR,Lt=!1!==t.ALLOW_DATA_ATTR,Mt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Et=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Ot=t.SAFE_FOR_TEMPLATES||!1,It=!1!==t.SAFE_FOR_XML,Dt=t.WHOLE_DOCUMENT||!1,$t=t.RETURN_DOM||!1,zt=t.RETURN_DOM_FRAGMENT||!1,Pt=t.RETURN_TRUSTED_TYPE||!1,qt=t.FORCE_BODY||!1,jt=!1!==t.SANITIZE_DOM,Rt=t.SANITIZE_NAMED_PROPS||!1,Wt=!1!==t.KEEP_CONTENT,Ut=t.IN_PLACE||!1,bt=t.ALLOWED_URI_REGEXP||U,ee=t.NAMESPACE||te,wt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(wt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(wt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(wt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ot&&(Lt=!1),zt&&($t=!0),Ht&&(vt=T({},I),Tt=[],!0===Ht.html&&(T(vt,B),T(Tt,D)),!0===Ht.svg&&(T(vt,F),T(Tt,N),T(Tt,$)),!0===Ht.svgFilters&&(T(vt,L),T(Tt,N),T(Tt,$)),!0===Ht.mathMl&&(T(vt,E),T(Tt,q),T(Tt,$))),t.ADD_TAGS&&(vt===kt&&(vt=w(vt)),T(vt,t.ADD_TAGS,se)),t.ADD_ATTR&&(Tt===At&&(Tt=w(Tt)),T(Tt,t.ADD_ATTR,se)),t.ADD_URI_SAFE_ATTR&&T(Zt,t.ADD_URI_SAFE_ATTR,se),t.FORBID_CONTENTS&&(Yt===Vt&&(Yt=w(Yt)),T(Yt,t.FORBID_CONTENTS,se)),Wt&&(vt["#text"]=!0),Dt&&T(vt,["html","head","body"]),vt.table&&(T(vt,["tbody"]),delete St.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ot=t.TRUSTED_TYPES_POLICY,at=ot.createHTML("")}else void 0===ot&&(ot=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let i=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(i=e.getAttribute(r));const n="dompurify"+(i?"#"+i:"");try{return t.createPolicy(n,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}}(W,l)),null!==ot&&"string"==typeof at&&(at=ot.createHTML(""));o&&o(t),le=t}},de=T({},["mi","mo","mn","ms","mtext"]),fe=T({},["foreignobject","annotation-xml"]),pe=T({},["title","style","font","a","script"]),ge=T({},[...F,...L,...M]),ye=T({},[...E,...O]),me=function(t){d(r.removed,{element:t});try{nt(t).removeChild(t)}catch(e){G(t)}},Ce=function(t,e){try{d(r.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){d(r.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!Tt[t])if($t||zt)try{me(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},xe=function(t){let e=null,i=null;if(qt)t=""+t;else{const e=g(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===oe&&ee===te&&(t=''+t+"");const r=ot?ot.createHTML(t):t;if(ee===te)try{e=(new R).parseFromString(r,oe)}catch(t){}if(!e||!e.documentElement){e=st.createDocument(ee,"template",null);try{e.documentElement.innerHTML=ie?at:r}catch(t){}}const o=e.body||e.documentElement;return t&&i&&o.insertBefore(n.createTextNode(i),o.childNodes[0]||null),ee===te?ct.call(e,Dt?"html":"body")[0]:Dt?e.documentElement:o},_e=function(t){return lt.call(t.ownerDocument||t,t,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT|z.SHOW_PROCESSING_INSTRUCTION|z.SHOW_CDATA_SECTION,null)},be=function(t){return t instanceof j&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof P)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ve=function(t){return"function"==typeof k&&t instanceof k},ke=function(t,e,i){dt[t]&&c(dt[t],(t=>{t.call(r,e,i,le)}))},Te=function(t){let e=null;if(ke("beforeSanitizeElements",t,null),be(t))return me(t),!0;const i=se(t.nodeName);if(ke("uponSanitizeElement",t,{tagName:i,allowedTags:vt}),t.hasChildNodes()&&!ve(t.firstElementChild)&&_(/<[/\w]/g,t.innerHTML)&&_(/<[/\w]/g,t.textContent))return me(t),!0;if(t.nodeType===Q)return me(t),!0;if(It&&t.nodeType===K&&_(/<[/\w]/g,t.data))return me(t),!0;if(!vt[i]||St[i]){if(!St[i]&&we(i)){if(wt.tagNameCheck instanceof RegExp&&_(wt.tagNameCheck,i))return!1;if(wt.tagNameCheck instanceof Function&&wt.tagNameCheck(i))return!1}if(Wt&&!Yt[i]){const e=nt(t)||t.parentNode,i=rt(t)||t.childNodes;if(i&&e)for(let r=i.length-1;r>=0;--r){const n=Y(i[r],!0);n.__removalCount=(t.__removalCount||0)+1,e.insertBefore(n,it(t))}}return me(t),!0}return t instanceof A&&!function(t){let e=nt(t);e&&e.tagName||(e={namespaceURI:ee,tagName:"template"});const i=f(t.tagName),r=f(e.tagName);return!!re[t.namespaceURI]&&(t.namespaceURI===Kt?e.namespaceURI===te?"svg"===i:e.namespaceURI===Qt?"svg"===i&&("annotation-xml"===r||de[r]):Boolean(ge[i]):t.namespaceURI===Qt?e.namespaceURI===te?"math"===i:e.namespaceURI===Kt?"math"===i&&fe[r]:Boolean(ye[i]):t.namespaceURI===te?!(e.namespaceURI===Kt&&!fe[r])&&!(e.namespaceURI===Qt&&!de[r])&&!ye[i]&&(pe[i]||!ge[i]):!("application/xhtml+xml"!==oe||!re[t.namespaceURI]))}(t)?(me(t),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!_(/<\/no(script|embed|frames)/i,t.innerHTML)?(Ot&&t.nodeType===J&&(e=t.textContent,c([ft,pt,gt],(t=>{e=y(e,t," ")})),t.textContent!==e&&(d(r.removed,{element:t.cloneNode()}),t.textContent=e)),ke("afterSanitizeElements",t,null),!1):(me(t),!0)},Ae=function(t,e,i){if(jt&&("id"===e||"name"===e)&&(i in n||i in he))return!1;if(Lt&&!Bt[e]&&_(yt,e));else if(Ft&&_(mt,e));else if(!Tt[e]||Bt[e]){if(!(we(t)&&(wt.tagNameCheck instanceof RegExp&&_(wt.tagNameCheck,t)||wt.tagNameCheck instanceof Function&&wt.tagNameCheck(t))&&(wt.attributeNameCheck instanceof RegExp&&_(wt.attributeNameCheck,e)||wt.attributeNameCheck instanceof Function&&wt.attributeNameCheck(e))||"is"===e&&wt.allowCustomizedBuiltInElements&&(wt.tagNameCheck instanceof RegExp&&_(wt.tagNameCheck,i)||wt.tagNameCheck instanceof Function&&wt.tagNameCheck(i))))return!1}else if(Zt[e]);else if(_(bt,y(i,xt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==m(i,"data:")||!Gt[t])if(Mt&&!_(Ct,y(i,xt,"")));else if(i)return!1;return!0},we=function(t){return"annotation-xml"!==t&&g(t,_t)},Se=function(t){ke("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Tt};let n=e.length;for(;n--;){const o=e[n],{name:a,namespaceURI:s,value:l}=o,h=se(a);let d="value"===a?l:C(l);if(i.attrName=h,i.attrValue=d,i.keepAttr=!0,i.forceKeepAttr=void 0,ke("uponSanitizeAttribute",t,i),d=i.attrValue,It&&_(/((--!?|])>)|<\/(style|title)/i,d)){Ce(a,t);continue}if(i.forceKeepAttr)continue;if(Ce(a,t),!i.keepAttr)continue;if(!Et&&_(/\/>/i,d)){Ce(a,t);continue}Ot&&c([ft,pt,gt],(t=>{d=y(d,t," ")}));const f=se(t.nodeName);if(Ae(f,h,d)){if(!Rt||"id"!==h&&"name"!==h||(Ce(a,t),d="user-content-"+d),ot&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(s);else switch(W.getAttributeType(f,h)){case"TrustedHTML":d=ot.createHTML(d);break;case"TrustedScriptURL":d=ot.createScriptURL(d)}try{s?t.setAttributeNS(s,a,d):t.setAttribute(a,d),be(t)?me(t):u(r.removed)}catch(t){}}}ke("afterSanitizeAttributes",t,null)},Be=function t(e){let i=null;const r=_e(e);for(ke("beforeSanitizeShadowDOM",e,null);i=r.nextNode();)ke("uponSanitizeShadowNode",i,null),Te(i)||(i.content instanceof h&&t(i.content),Se(i));ke("afterSanitizeShadowDOM",e,null)};return r.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,n=null,o=null,s=null;if(ie=!t,ie&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ve(t)){if("function"!=typeof t.toString)throw b("toString is not a function");if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}if(!r.isSupported)return t;if(Nt||ue(e),r.removed=[],"string"==typeof t&&(Ut=!1),Ut){if(t.nodeName){const e=se(t.nodeName);if(!vt[e]||St[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof k)i=xe("\x3c!----\x3e"),n=i.ownerDocument.importNode(t,!0),n.nodeType===Z&&"BODY"===n.nodeName||"HTML"===n.nodeName?i=n:i.appendChild(n);else{if(!$t&&!Ot&&!Dt&&-1===t.indexOf("<"))return ot&&Pt?ot.createHTML(t):t;if(i=xe(t),!i)return $t?null:Pt?at:""}i&&qt&&me(i.firstChild);const l=_e(Ut?t:i);for(;o=l.nextNode();)Te(o)||(o.content instanceof h&&Be(o.content),Se(o));if(Ut)return t;if($t){if(zt)for(s=ht.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(Tt.shadowroot||Tt.shadowrootmode)&&(s=ut.call(a,s,!0)),s}let u=Dt?i.outerHTML:i.innerHTML;return Dt&&vt["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&_(V,i.ownerDocument.doctype.name)&&(u="\n"+u),Ot&&c([ft,pt,gt],(t=>{u=y(u,t," ")})),ot&&Pt?ot.createHTML(u):u},r.setConfig=function(){ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Nt=!0},r.clearConfig=function(){le=null,Nt=!1},r.isValidAttribute=function(t,e,i){le||ue({});const r=se(t),n=se(e);return Ae(r,n,i)},r.addHook=function(t,e){"function"==typeof e&&(dt[t]=dt[t]||[],d(dt[t],e))},r.removeHook=function(t){if(dt[t])return u(dt[t])},r.removeHooks=function(t){dt[t]&&(dt[t]=[])},r.removeAllHooks=function(){dt={}},r}()}()},16206:(t,e,i)=>{"use strict";function r(t){for(var e=[],i=1;ir})},84017:(t,e,i)=>{"use strict";function r(t,e){let i;if(void 0===e)for(const e of t)null!=e&&(i=e)&&(i=e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(i=n)&&(i=n)}return i}function n(t,e){let i;if(void 0===e)for(const e of t)null!=e&&(i>e||void 0===i&&e>=e)&&(i=e);else{let r=-1;for(let n of t)null!=(n=e(n,++r,t))&&(i>n||void 0===i&&n>=n)&&(i=n)}return i}function o(t){return t}i.d(e,{JLW:()=>Ga,l78:()=>C,tlR:()=>m,qrM:()=>ss,Yu4:()=>hs,IA3:()=>us,Wi0:()=>fs,PGM:()=>ps,OEq:()=>ys,y8u:()=>xs,olC:()=>bs,IrU:()=>ks,oDi:()=>ws,Q7f:()=>Bs,cVp:()=>Ls,lUB:()=>Ja,Lx9:()=>Es,nVG:()=>Ps,uxU:()=>js,Xf2:()=>Us,GZz:()=>Ys,UPb:()=>Gs,dyv:()=>Vs,bEH:()=>or,n8j:()=>ts,T9B:()=>r,jkA:()=>n,rLf:()=>rs,WH:()=>dr,m4Y:()=>en,UMr:()=>ur,w7C:()=>Ca,zt:()=>xa,Ltv:()=>_a,Ubm:()=>ba,JWy:()=>zi,UAC:()=>Cn,DCK:()=>Zn,TUC:()=>Sn,Agd:()=>yn,t6C:()=>dn,wXd:()=>pn,ABi:()=>kn,Ui6:()=>qn,rGn:()=>Bn,ucG:()=>fn,YPH:()=>vn,Mol:()=>wn,PGu:()=>Tn,GuW:()=>An});var a=1,s=2,l=3,h=4,c=1e-6;function u(t){return"translate("+t+",0)"}function d(t){return"translate(0,"+t+")"}function f(t){return e=>+t(e)}function p(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),i=>+t(i)+e}function g(){return!this.__axis}function y(t,e){var i=[],r=null,n=null,y=6,m=6,C=3,x="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,_=t===a||t===h?-1:1,b=t===h||t===s?"x":"y",v=t===a||t===l?u:d;function k(u){var d=null==r?e.ticks?e.ticks.apply(e,i):e.domain():r,k=null==n?e.tickFormat?e.tickFormat.apply(e,i):o:n,T=Math.max(y,0)+C,A=e.range(),w=+A[0]+x,S=+A[A.length-1]+x,B=(e.bandwidth?p:f)(e.copy(),x),F=u.selection?u.selection():u,L=F.selectAll(".domain").data([null]),M=F.selectAll(".tick").data(d,e).order(),E=M.exit(),O=M.enter().append("g").attr("class","tick"),I=M.select("line"),D=M.select("text");L=L.merge(L.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),M=M.merge(O),I=I.merge(O.append("line").attr("stroke","currentColor").attr(b+"2",_*y)),D=D.merge(O.append("text").attr("fill","currentColor").attr(b,_*T).attr("dy",t===a?"0em":t===l?"0.71em":"0.32em")),u!==F&&(L=L.transition(u),M=M.transition(u),I=I.transition(u),D=D.transition(u),E=E.transition(u).attr("opacity",c).attr("transform",(function(t){return isFinite(t=B(t))?v(t+x):this.getAttribute("transform")})),O.attr("opacity",c).attr("transform",(function(t){var e=this.parentNode.__axis;return v((e&&isFinite(e=e(t))?e:B(t))+x)}))),E.remove(),L.attr("d",t===h||t===s?m?"M"+_*m+","+w+"H"+x+"V"+S+"H"+_*m:"M"+x+","+w+"V"+S:m?"M"+w+","+_*m+"V"+x+"H"+S+"V"+_*m:"M"+w+","+x+"H"+S),M.attr("opacity",1).attr("transform",(function(t){return v(B(t)+x)})),I.attr(b+"2",_*y),D.attr(b,_*T).text(k),F.filter(g).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===s?"start":t===h?"end":"middle"),F.each((function(){this.__axis=B}))}return k.scale=function(t){return arguments.length?(e=t,k):e},k.ticks=function(){return i=Array.from(arguments),k},k.tickArguments=function(t){return arguments.length?(i=null==t?[]:Array.from(t),k):i.slice()},k.tickValues=function(t){return arguments.length?(r=null==t?null:Array.from(t),k):r&&r.slice()},k.tickFormat=function(t){return arguments.length?(n=t,k):n},k.tickSize=function(t){return arguments.length?(y=m=+t,k):y},k.tickSizeInner=function(t){return arguments.length?(y=+t,k):y},k.tickSizeOuter=function(t){return arguments.length?(m=+t,k):m},k.tickPadding=function(t){return arguments.length?(C=+t,k):C},k.offset=function(t){return arguments.length?(x=+t,k):x},k}function m(t){return y(a,t)}function C(t){return y(l,t)}function x(){}function _(t){return null==t?x:function(){return this.querySelector(t)}}function b(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function v(){return[]}function k(t){return null==t?v:function(){return this.querySelectorAll(t)}}function T(t){return function(){return this.matches(t)}}function A(t){return function(e){return e.matches(t)}}var w=Array.prototype.find;function S(){return this.firstElementChild}var B=Array.prototype.filter;function F(){return Array.from(this.children)}function L(t){return new Array(t.length)}function M(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function E(t,e,i,r,n,o){for(var a,s=0,l=e.length,h=o.length;se?1:t>=e?0:NaN}M.prototype={constructor:M,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var q="http://www.w3.org/1999/xhtml";const $={svg:"http://www.w3.org/2000/svg",xhtml:q,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function z(t){var e=t+="",i=e.indexOf(":");return i>=0&&"xmlns"!==(e=t.slice(0,i))&&(t=t.slice(i+1)),$.hasOwnProperty(e)?{space:$[e],local:t}:t}function P(t){return function(){this.removeAttribute(t)}}function j(t){return function(){this.removeAttributeNS(t.space,t.local)}}function R(t,e){return function(){this.setAttribute(t,e)}}function W(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function U(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttribute(t):this.setAttribute(t,i)}}function H(t,e){return function(){var i=e.apply(this,arguments);null==i?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,i)}}function Y(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function V(t){return function(){this.style.removeProperty(t)}}function G(t,e,i){return function(){this.style.setProperty(t,e,i)}}function X(t,e,i){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,i)}}function Z(t,e){return t.style.getPropertyValue(e)||Y(t).getComputedStyle(t,null).getPropertyValue(e)}function J(t){return function(){delete this[t]}}function Q(t,e){return function(){this[t]=e}}function K(t,e){return function(){var i=e.apply(this,arguments);null==i?delete this[t]:this[t]=i}}function tt(t){return t.trim().split(/^|\s+/)}function et(t){return t.classList||new it(t)}function it(t){this._node=t,this._names=tt(t.getAttribute("class")||"")}function rt(t,e){for(var i=et(t),r=-1,n=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Bt=[null];function Ft(t,e){this._groups=t,this._parents=e}function Lt(){return new Ft([[document.documentElement]],Bt)}Ft.prototype=Lt.prototype={constructor:Ft,select:function(t){"function"!=typeof t&&(t=_(t));for(var e=this._groups,i=e.length,r=new Array(i),n=0;n=b&&(b=_+1);!(x=m[b])&&++b=0;)(r=n[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,i){return e&&i?t(e.__data__,i.__data__):!e-!i}t||(t=N);for(var i=this._groups,r=i.length,n=new Array(r),o=0;o1?this.each((null==e?V:"function"==typeof e?X:G)(t,e,null==i?"":i)):Z(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?J:"function"==typeof e?K:Q)(t,e)):this.node()[t]},classed:function(t,e){var i=tt(t+"");if(arguments.length<2){for(var r=et(this.node()),n=-1,o=i.length;++n=0&&(e=t.slice(i+1),t=t.slice(0,i)),{type:t,name:e}}))}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?Tt:kt,r=0;r{}};function Ot(){for(var t,e=0,i=arguments.length,r={};e=0&&(e=t.slice(i+1),t=t.slice(0,i)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a0)for(var i,r,n=new Array(i),o=0;o=0&&e._call.call(void 0,t),e=e._next;--Pt}()}finally{Pt=0,function(){for(var t,e,i=$t,r=1/0;i;)i._call?(r>i._time&&(r=i._time),t=i,i=i._next):(e=i._next,i._next=null,i=t?t._next=e:$t=e);zt=t,ee(r)}(),Ht=0}}function te(){var t=Vt.now(),e=t-Ut;e>Wt&&(Yt-=e,Ut=t)}function ee(t){Pt||(jt&&(jt=clearTimeout(jt)),t-Ht>24?(t<1/0&&(jt=setTimeout(Kt,t-Vt.now()-Yt)),Rt&&(Rt=clearInterval(Rt))):(Rt||(Ut=Vt.now(),Rt=setInterval(te,Wt)),Pt=1,Gt(Kt)))}function ie(t,e,i){var r=new Jt;return e=null==e?0:+e,r.restart((i=>{r.stop(),t(i+e)}),e,i),r}Jt.prototype=Qt.prototype={constructor:Jt,restart:function(t,e,i){if("function"!=typeof t)throw new TypeError("callback is not a function");i=(null==i?Xt():+i)+(null==e?0:+e),this._next||zt===this||(zt?zt._next=this:$t=this,zt=this),this._call=t,this._time=i,ee()},stop:function(){this._call&&(this._call=null,this._time=1/0,ee())}};var re=qt("start","end","cancel","interrupt"),ne=[],oe=0,ae=3;function se(t,e,i,r,n,o){var a=t.__transition;if(a){if(i in a)return}else t.__transition={};!function(t,e,i){var r,n=t.__transition;function o(l){var h,c,u,d;if(1!==i.state)return s();for(h in n)if((d=n[h]).name===i.name){if(d.state===ae)return ie(o);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete n[h]):+hoe)throw new Error("too late; already scheduled");return i}function he(t,e){var i=ce(t,e);if(i.state>ae)throw new Error("too late; already running");return i}function ce(t,e){var i=t.__transition;if(!i||!(i=i[e]))throw new Error("transition not found");return i}function ue(t,e){return t=+t,e=+e,function(i){return t*(1-i)+e*i}}var de,fe=180/Math.PI,pe={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function ge(t,e,i,r,n,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*i+e*r)&&(i-=t*l,r-=e*l),(s=Math.sqrt(i*i+r*r))&&(i/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:i.push(n(i)+"rotate(",null,r)-2,x:ue(t,e)})):e&&i.push(n(i)+"rotate("+e+r)}(o.rotate,a.rotate,s,l),function(t,e,i,o){t!==e?o.push({i:i.push(n(i)+"skewX(",null,r)-2,x:ue(t,e)}):e&&i.push(n(i)+"skewX("+e+r)}(o.skewX,a.skewX,s,l),function(t,e,i,r,o,a){if(t!==i||e!==r){var s=o.push(n(o)+"scale(",null,",",null,")");a.push({i:s-4,x:ue(t,i)},{i:s-2,x:ue(e,r)})}else 1===i&&1===r||o.push(n(o)+"scale("+i+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,i=-1,r=l.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===i?Re(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===i?Re(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Me.exec(t))?new He(e[1],e[2],e[3],1):(e=Ee.exec(t))?new He(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Oe.exec(t))?Re(e[1],e[2],e[3],e[4]):(e=Ie.exec(t))?Re(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=De.exec(t))?Je(e[1],e[2]/100,e[3]/100,1):(e=Ne.exec(t))?Je(e[1],e[2]/100,e[3]/100,e[4]):qe.hasOwnProperty(t)?je(qe[t]):"transparent"===t?new He(NaN,NaN,NaN,0):null}function je(t){return new He(t>>16&255,t>>8&255,255&t,1)}function Re(t,e,i,r){return r<=0&&(t=e=i=NaN),new He(t,e,i,r)}function We(t){return t instanceof Te||(t=Pe(t)),t?new He((t=t.rgb()).r,t.g,t.b,t.opacity):new He}function Ue(t,e,i,r){return 1===arguments.length?We(t):new He(t,e,i,null==r?1:r)}function He(t,e,i,r){this.r=+t,this.g=+e,this.b=+i,this.opacity=+r}function Ye(){return`#${Ze(this.r)}${Ze(this.g)}${Ze(this.b)}`}function Ve(){const t=Ge(this.opacity);return`${1===t?"rgb(":"rgba("}${Xe(this.r)}, ${Xe(this.g)}, ${Xe(this.b)}${1===t?")":`, ${t})`}`}function Ge(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Xe(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ze(t){return((t=Xe(t))<16?"0":"")+t.toString(16)}function Je(t,e,i,r){return r<=0?t=e=i=NaN:i<=0||i>=1?t=e=NaN:e<=0&&(t=NaN),new Ke(t,e,i,r)}function Qe(t){if(t instanceof Ke)return new Ke(t.h,t.s,t.l,t.opacity);if(t instanceof Te||(t=Pe(t)),!t)return new Ke;if(t instanceof Ke)return t;var e=(t=t.rgb()).r/255,i=t.g/255,r=t.b/255,n=Math.min(e,i,r),o=Math.max(e,i,r),a=NaN,s=o-n,l=(o+n)/2;return s?(a=e===o?(i-r)/s+6*(i0&&l<1?0:a,new Ke(a,s,l,t.opacity)}function Ke(t,e,i,r){this.h=+t,this.s=+e,this.l=+i,this.opacity=+r}function ti(t){return(t=(t||0)%360)<0?t+360:t}function ei(t){return Math.max(0,Math.min(1,t||0))}function ii(t,e,i){return 255*(t<60?e+(i-e)*t/60:t<180?i:t<240?e+(i-e)*(240-t)/60:e)}function ri(t,e,i,r,n){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*i+(1+3*t+3*o-3*a)*r+a*n)/6}ve(Te,Pe,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$e,formatHex:$e,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Qe(this).formatHsl()},formatRgb:ze,toString:ze}),ve(He,Ue,ke(Te,{brighter(t){return t=null==t?we:Math.pow(we,t),new He(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Ae:Math.pow(Ae,t),new He(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new He(Xe(this.r),Xe(this.g),Xe(this.b),Ge(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ye,formatHex:Ye,formatHex8:function(){return`#${Ze(this.r)}${Ze(this.g)}${Ze(this.b)}${Ze(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ve,toString:Ve})),ve(Ke,(function(t,e,i,r){return 1===arguments.length?Qe(t):new Ke(t,e,i,null==r?1:r)}),ke(Te,{brighter(t){return t=null==t?we:Math.pow(we,t),new Ke(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Ae:Math.pow(Ae,t),new Ke(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,i=this.l,r=i+(i<.5?i:1-i)*e,n=2*i-r;return new He(ii(t>=240?t-240:t+120,n,r),ii(t,n,r),ii(t<120?t+240:t-120,n,r),this.opacity)},clamp(){return new Ke(ti(this.h),ei(this.s),ei(this.l),Ge(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Ge(this.opacity);return`${1===t?"hsl(":"hsla("}${ti(this.h)}, ${100*ei(this.s)}%, ${100*ei(this.l)}%${1===t?")":`, ${t})`}`}}));const ni=t=>()=>t;function oi(t,e){return function(i){return t+i*e}}function ai(t,e){var i=e-t;return i?oi(t,i):ni(isNaN(t)?e:t)}const si=function t(e){var i=function(t){return 1==(t=+t)?ai:function(e,i){return i-e?function(t,e,i){return t=Math.pow(t,i),e=Math.pow(e,i)-t,i=1/i,function(r){return Math.pow(t+r*e,i)}}(e,i,t):ni(isNaN(e)?i:e)}}(e);function r(t,e){var r=i((t=Ue(t)).r,(e=Ue(e)).r),n=i(t.g,e.g),o=i(t.b,e.b),a=ai(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=n(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function li(t){return function(e){var i,r,n=e.length,o=new Array(n),a=new Array(n),s=new Array(n);for(i=0;i=1?(i=1,e-1):Math.floor(i*e),n=t[r],o=t[r+1],a=r>0?t[r-1]:2*n-o,s=ro&&(n=e.slice(o,n),s[a]?s[a]+=n:s[++a]=n),(i=i[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:ue(i,r)})),o=ci.lastIndex;return o=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?le:he;return function(){var a=o(this,t),s=a.on;s!==r&&(n=(r=s).copy()).on(e,i),a.on=n}}(i,t,e))},attr:function(t,e){var i=z(t),r="transform"===i?Ce:di;return this.attrTween(t,"function"==typeof e?(i.local?Ci:mi)(i,r,be(this,"attr."+t,e)):null==e?(i.local?pi:fi)(i):(i.local?yi:gi)(i,r,e))},attrTween:function(t,e){var i="attr."+t;if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;var r=z(t);return this.tween(i,(r.local?xi:_i)(r,e))},style:function(t,e,i){var r="transform"==(t+="")?me:di;return null==e?this.styleTween(t,function(t,e){var i,r,n;return function(){var o=Z(this,t),a=(this.style.removeProperty(t),Z(this,t));return o===a?null:o===i&&a===r?n:n=e(i=o,r=a)}}(t,r)).on("end.style."+t,wi(t)):"function"==typeof e?this.styleTween(t,function(t,e,i){var r,n,o;return function(){var a=Z(this,t),s=i(this),l=s+"";return null==s&&(this.style.removeProperty(t),l=s=Z(this,t)),a===l?null:a===r&&l===n?o:(n=l,o=e(r=a,s))}}(t,r,be(this,"style."+t,e))).each(function(t,e){var i,r,n,o,a="style."+e,s="end."+a;return function(){var l=he(this,t),h=l.on,c=null==l.value[a]?o||(o=wi(e)):void 0;h===i&&n===c||(r=(i=h).copy()).on(s,n=c),l.on=r}}(this._id,t)):this.styleTween(t,function(t,e,i){var r,n,o=i+"";return function(){var a=Z(this,t);return a===o?null:a===r?n:n=e(r=a,i)}}(t,r,e),i).on("end.style."+t,null)},styleTween:function(t,e,i){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,i){var r,n;function o(){var o=e.apply(this,arguments);return o!==n&&(r=(n=o)&&function(t,e,i){return function(r){this.style.setProperty(t,e.call(this,r),i)}}(t,o,i)),r}return o._value=e,o}(t,e,null==i?"":i))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(be(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,i;function r(){var r=t.apply(this,arguments);return r!==i&&(e=(i=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var i in this.__transition)if(+i!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var i=this._id;if(t+="",arguments.length<2){for(var r,n=ce(this.node(),i).tween,o=0,a=n.length;o2&&i.state<5,i.state=6,i.timer.stop(),i.on.call(r?"interrupt":"cancel",t,t.__data__,i.index,i.group),delete o[n]):a=!1;a&&delete t.__transition}}(this,t)}))},Mt.prototype.transition=function(t){var e,i;t instanceof Bi?(e=t._id,t=t._name):(e=Fi(),(i=Mi).time=Xt(),t=null==t?null:t+"");for(var r=this._groups,n=r.length,o=0;ofunction(t,e){return fetch(t,e).then(qi)}(e,i).then((e=>(new DOMParser).parseFromString(e,t)))}["w","e"].map(Ni),["n","s"].map(Ni),["n","w","e","s","nw","ne","sw","se"].map(Ni),$i("application/xml"),$i("text/html");var zi=$i("image/svg+xml");const Pi=Math.PI/180,ji=180/Math.PI,Ri=.96422,Wi=1,Ui=.82521,Hi=4/29,Yi=6/29,Vi=3*Yi*Yi,Gi=Yi*Yi*Yi;function Xi(t){if(t instanceof Zi)return new Zi(t.l,t.a,t.b,t.opacity);if(t instanceof ir)return rr(t);t instanceof He||(t=We(t));var e,i,r=tr(t.r),n=tr(t.g),o=tr(t.b),a=Ji((.2225045*r+.7168786*n+.0606169*o)/Wi);return r===n&&n===o?e=i=a:(e=Ji((.4360747*r+.3850649*n+.1430804*o)/Ri),i=Ji((.0139322*r+.0971045*n+.7141733*o)/Ui)),new Zi(116*a-16,500*(e-a),200*(a-i),t.opacity)}function Zi(t,e,i,r){this.l=+t,this.a=+e,this.b=+i,this.opacity=+r}function Ji(t){return t>Gi?Math.pow(t,1/3):t/Vi+Hi}function Qi(t){return t>Yi?t*t*t:Vi*(t-Hi)}function Ki(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function tr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function er(t,e,i,r){return 1===arguments.length?function(t){if(t instanceof ir)return new ir(t.h,t.c,t.l,t.opacity);if(t instanceof Zi||(t=Xi(t)),0===t.a&&0===t.b)return new ir(NaN,0180||i<-180?i-360*Math.round(i/360):i):ni(isNaN(t)?e:t)}));function ar(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}nr(ai);class sr extends Map{constructor(t,e=hr){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,i]of t)this.set(e,i)}get(t){return super.get(lr(this,t))}has(t){return super.has(lr(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},i){const r=e(i);return t.has(r)?t.get(r):(t.set(r,i),i)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},i){const r=e(i);return t.has(r)&&(i=t.get(r),t.delete(r)),i}(this,t))}}function lr({_intern:t,_key:e},i){const r=e(i);return t.has(r)?t.get(r):i}function hr(t){return null!==t&&"object"==typeof t?t.valueOf():t}Set;const cr=Symbol("implicit");function ur(){var t=new sr,e=[],i=[],r=cr;function n(n){let o=t.get(n);if(void 0===o){if(r!==cr)return r;t.set(n,o=e.push(n)-1)}return i[o%i.length]}return n.domain=function(i){if(!arguments.length)return e.slice();e=[],t=new sr;for(const r of i)t.has(r)||t.set(r,e.push(r)-1);return n},n.range=function(t){return arguments.length?(i=Array.from(t),n):i.slice()},n.unknown=function(t){return arguments.length?(r=t,n):r},n.copy=function(){return ur(e,i).unknown(r)},ar.apply(n,arguments),n}function dr(){var t,e,i=ur().unknown(void 0),r=i.domain,n=i.range,o=0,a=1,s=!1,l=0,h=0,c=.5;function u(){var i=r().length,u=a=fr?10:o>=pr?5:o>=gr?2:1;let s,l,h;return n<0?(h=Math.pow(10,-n)/a,s=Math.round(t*h),l=Math.round(e*h),s/he&&--l,h=-h):(h=Math.pow(10,n)*a,s=Math.round(t/h),l=Math.round(e/h),s*he&&--l),le?1:t>=e?0:NaN}function _r(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function br(t){let e,i,r;function n(t,r,n=0,o=t.length){if(n>>1;i(t[e],r)<0?n=e+1:o=e}while(nxr(t(e),i),r=(e,i)=>t(e)-i):(e=t===xr||t===_r?t:vr,i=t,r=t),{left:n,center:function(t,e,i=0,o=t.length){const a=n(t,e,i,o-1);return a>i&&r(t[a-1],e)>-r(t[a],e)?a-1:a},right:function(t,r,n=0,o=t.length){if(n>>1;i(t[e],r)<=0?n=e+1:o=e}while(ne&&(i=t,t=e,e=i),h=function(i){return Math.max(t,Math.min(e,i))}),r=l>2?qr:Nr,n=o=null,u}function u(e){return null==e||isNaN(e=+e)?i:(n||(n=r(a.map(t),s,l)))(t(h(e)))}return u.invert=function(i){return h(e((o||(o=r(s,a.map(t),ue)))(i)))},u.domain=function(t){return arguments.length?(a=Array.from(t,Er),c()):a.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=Mr,c()},u.clamp=function(t){return arguments.length?(h=!!t||Ir,c()):h!==Ir},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(i=t,u):i},function(i,r){return t=i,e=r,c()}}()(Ir,Ir)}var Pr,jr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Rr(t){if(!(e=jr.exec(t)))throw new Error("invalid format: "+t);var e;return new Wr({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 Wr(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 Ur(t,e){if((i=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var i,r=t.slice(0,i);return[r.length>1?r[0]+r.slice(2):r,+t.slice(i+1)]}function Hr(t){return(t=Ur(Math.abs(t)))?t[1]:NaN}function Yr(t,e){var i=Ur(t,e);if(!i)return t+"";var r=i[0],n=i[1];return n<0?"0."+new Array(-n).join("0")+r:r.length>n+1?r.slice(0,n+1)+"."+r.slice(n+1):r+new Array(n-r.length+2).join("0")}Rr.prototype=Wr.prototype,Wr.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};const Vr={"%":(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)=>Yr(100*t,e),r:Yr,s:function(t,e){var i=Ur(t,e);if(!i)return t+"";var r=i[0],n=i[1],o=n-(Pr=3*Math.max(-8,Math.min(8,Math.floor(n/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Ur(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Gr(t){return t}var Xr,Zr,Jr,Qr=Array.prototype.map,Kr=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function tn(t){var e=t.domain;return t.ticks=function(t){var i=e();return function(t,e,i){if(!((i=+i)>0))return[];if((t=+t)==(e=+e))return[t];const r=e=n))return[];const s=o-n+1,l=new Array(s);if(r)if(a<0)for(let t=0;t0;){if((n=mr(l,h,i))===r)return o[a]=l,o[s]=h,e(o);if(n>0)l=Math.floor(l/n)*n,h=Math.ceil(h/n)*n;else{if(!(n<0))break;l=Math.ceil(l*n)/n,h=Math.floor(h*n)/n}r=n}return t},t}function en(){var t=zr();return t.copy=function(){return $r(t,en())},ar.apply(t,arguments),tn(t)}Xr=function(t){var e,i,r=void 0===t.grouping||void 0===t.thousands?Gr:(e=Qr.call(t.grouping,Number),i=t.thousands+"",function(t,r){for(var n=t.length,o=[],a=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(t.substring(n-=s,n+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(i)}),n=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Gr:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Qr.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",h=void 0===t.minus?"−":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function u(t){var e=(t=Rr(t)).fill,i=t.align,u=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,y=t.precision,m=t.trim,C=t.type;"n"===C?(g=!0,C="g"):Vr[C]||(void 0===y&&(y=12),m=!0,C="g"),(f||"0"===e&&"="===i)&&(f=!0,e="0",i="=");var x="$"===d?n:"#"===d&&/[boxX]/.test(C)?"0"+C.toLowerCase():"",_="$"===d?o:/[%p]/.test(C)?l:"",b=Vr[C],v=/[defgprs%]/.test(C);function k(t){var n,o,l,d=x,k=_;if("c"===C)k=b(t)+k,t="";else{var T=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:b(Math.abs(t),y),m&&(t=function(t){t:for(var e,i=t.length,r=1,n=-1;r0&&(n=0)}return n>0?t.slice(0,n)+t.slice(e+1):t}(t)),T&&0==+t&&"+"!==u&&(T=!1),d=(T?"("===u?u:h:"-"===u||"("===u?"":u)+d,k=("s"===C?Kr[8+Pr/3]:"")+k+(T&&"("===u?")":""),v)for(n=-1,o=t.length;++n(l=t.charCodeAt(n))||l>57){k=(46===l?a+t.slice(n+1):t.slice(n))+k,t=t.slice(0,n);break}}g&&!f&&(t=r(t,1/0));var A=d.length+t.length+k.length,w=A>1)+d+t+k+w.slice(A);break;default:t=w+d+t+k}return s(t)}return y=void 0===y?6:/[gprs]/.test(C)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),k.toString=function(){return t+""},k}return{format:u,formatPrefix:function(t,e){var i=u(((t=Rr(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Hr(e)/3))),n=Math.pow(10,-r),o=Kr[8+r/3];return function(t){return i(n*t)+o}}}}({thousands:",",grouping:[3],currency:["$",""]}),Zr=Xr.format,Jr=Xr.formatPrefix;const rn=1e3,nn=6e4,on=36e5,an=864e5,sn=6048e5,ln=31536e6,hn=new Date,cn=new Date;function un(t,e,i,r){function n(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return n.floor=e=>(t(e=new Date(+e)),e),n.ceil=i=>(t(i=new Date(i-1)),e(i,1),t(i),i),n.round=t=>{const e=n(t),i=n.ceil(t);return t-e(e(t=new Date(+t),null==i?1:Math.floor(i)),t),n.range=(i,r,o)=>{const a=[];if(i=n.ceil(i),o=null==o?1:Math.floor(o),!(i0))return a;let s;do{a.push(s=new Date(+i)),e(i,o),t(i)}while(sun((e=>{if(e>=e)for(;t(e),!i(e);)e.setTime(e-1)}),((t,r)=>{if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!i(t););else for(;--r>=0;)for(;e(t,1),!i(t););})),i&&(n.count=(e,r)=>(hn.setTime(+e),cn.setTime(+r),t(hn),t(cn),Math.floor(i(hn,cn))),n.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?n.filter(r?e=>r(e)%t==0:e=>n.count(0,e)%t==0):n:null)),n}const dn=un((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));dn.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?un((e=>{e.setTime(Math.floor(e/t)*t)}),((e,i)=>{e.setTime(+e+i*t)}),((e,i)=>(i-e)/t)):dn:null),dn.range;const fn=un((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*rn)}),((t,e)=>(e-t)/rn),(t=>t.getUTCSeconds())),pn=(fn.range,un((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*rn)}),((t,e)=>{t.setTime(+t+e*nn)}),((t,e)=>(e-t)/nn),(t=>t.getMinutes()))),gn=(pn.range,un((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*nn)}),((t,e)=>(e-t)/nn),(t=>t.getUTCMinutes()))),yn=(gn.range,un((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*rn-t.getMinutes()*nn)}),((t,e)=>{t.setTime(+t+e*on)}),((t,e)=>(e-t)/on),(t=>t.getHours()))),mn=(yn.range,un((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*on)}),((t,e)=>(e-t)/on),(t=>t.getUTCHours()))),Cn=(mn.range,un((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*nn)/an),(t=>t.getDate()-1))),xn=(Cn.range,un((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/an),(t=>t.getUTCDate()-1))),_n=(xn.range,un((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/an),(t=>Math.floor(t/an))));function bn(t){return un((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())*nn)/sn))}_n.range;const vn=bn(0),kn=bn(1),Tn=bn(2),An=bn(3),wn=bn(4),Sn=bn(5),Bn=bn(6);function Fn(t){return un((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)/sn))}vn.range,kn.range,Tn.range,An.range,wn.range,Sn.range,Bn.range;const Ln=Fn(0),Mn=Fn(1),En=Fn(2),On=Fn(3),In=Fn(4),Dn=Fn(5),Nn=Fn(6),qn=(Ln.range,Mn.range,En.range,On.range,In.range,Dn.range,Nn.range,un((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),$n=(qn.range,un((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),zn=($n.range,un((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())));zn.every=t=>isFinite(t=Math.floor(t))&&t>0?un((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,i)=>{e.setFullYear(e.getFullYear()+i*t)})):null,zn.range;const Pn=un((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 jn(t,e,i,r,n,o){const a=[[fn,1,rn],[fn,5,5e3],[fn,15,15e3],[fn,30,3e4],[o,1,nn],[o,5,3e5],[o,15,9e5],[o,30,18e5],[n,1,on],[n,3,108e5],[n,6,216e5],[n,12,432e5],[r,1,an],[r,2,1728e5],[i,1,sn],[e,1,2592e6],[e,3,7776e6],[t,1,ln]];function s(e,i,r){const n=Math.abs(i-e)/r,o=br((([,,t])=>t)).right(a,n);if(o===a.length)return t.every(Cr(e/ln,i/ln,r));if(0===o)return dn.every(Math.max(Cr(e,i,r),1));const[s,l]=a[n/a[o-1][2]isFinite(t=Math.floor(t))&&t>0?un((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,i)=>{e.setUTCFullYear(e.getUTCFullYear()+i*t)})):null,Pn.range;const[Rn,Wn]=jn(Pn,$n,Ln,_n,mn,gn),[Un,Hn]=jn(zn,qn,vn,Cn,yn,pn);function Yn(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 Vn(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 Gn(t,e,i){return{y:t,m:e,d:i,H:0,M:0,S:0,L:0}}var Xn,Zn,Jn={"-":"",_:" ",0:"0"},Qn=/^\s*\d+/,Kn=/^%/,to=/[\\^$*+?|[\]().{}]/g;function eo(t,e,i){var r=t<0?"-":"",n=(r?-t:t)+"",o=n.length;return r+(o[t.toLowerCase(),e])))}function oo(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?(t.w=+r[0],i+r[0].length):-1}function ao(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?(t.u=+r[0],i+r[0].length):-1}function so(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.U=+r[0],i+r[0].length):-1}function lo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.V=+r[0],i+r[0].length):-1}function ho(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.W=+r[0],i+r[0].length):-1}function co(t,e,i){var r=Qn.exec(e.slice(i,i+4));return r?(t.y=+r[0],i+r[0].length):-1}function uo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),i+r[0].length):-1}function fo(t,e,i){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(i,i+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),i+r[0].length):-1}function po(t,e,i){var r=Qn.exec(e.slice(i,i+1));return r?(t.q=3*r[0]-3,i+r[0].length):-1}function go(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.m=r[0]-1,i+r[0].length):-1}function yo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.d=+r[0],i+r[0].length):-1}function mo(t,e,i){var r=Qn.exec(e.slice(i,i+3));return r?(t.m=0,t.d=+r[0],i+r[0].length):-1}function Co(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.H=+r[0],i+r[0].length):-1}function xo(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.M=+r[0],i+r[0].length):-1}function _o(t,e,i){var r=Qn.exec(e.slice(i,i+2));return r?(t.S=+r[0],i+r[0].length):-1}function bo(t,e,i){var r=Qn.exec(e.slice(i,i+3));return r?(t.L=+r[0],i+r[0].length):-1}function vo(t,e,i){var r=Qn.exec(e.slice(i,i+6));return r?(t.L=Math.floor(r[0]/1e3),i+r[0].length):-1}function ko(t,e,i){var r=Kn.exec(e.slice(i,i+1));return r?i+r[0].length:-1}function To(t,e,i){var r=Qn.exec(e.slice(i));return r?(t.Q=+r[0],i+r[0].length):-1}function Ao(t,e,i){var r=Qn.exec(e.slice(i));return r?(t.s=+r[0],i+r[0].length):-1}function wo(t,e){return eo(t.getDate(),e,2)}function So(t,e){return eo(t.getHours(),e,2)}function Bo(t,e){return eo(t.getHours()%12||12,e,2)}function Fo(t,e){return eo(1+Cn.count(zn(t),t),e,3)}function Lo(t,e){return eo(t.getMilliseconds(),e,3)}function Mo(t,e){return Lo(t,e)+"000"}function Eo(t,e){return eo(t.getMonth()+1,e,2)}function Oo(t,e){return eo(t.getMinutes(),e,2)}function Io(t,e){return eo(t.getSeconds(),e,2)}function Do(t){var e=t.getDay();return 0===e?7:e}function No(t,e){return eo(vn.count(zn(t)-1,t),e,2)}function qo(t){var e=t.getDay();return e>=4||0===e?wn(t):wn.ceil(t)}function $o(t,e){return t=qo(t),eo(wn.count(zn(t),t)+(4===zn(t).getDay()),e,2)}function zo(t){return t.getDay()}function Po(t,e){return eo(kn.count(zn(t)-1,t),e,2)}function jo(t,e){return eo(t.getFullYear()%100,e,2)}function Ro(t,e){return eo((t=qo(t)).getFullYear()%100,e,2)}function Wo(t,e){return eo(t.getFullYear()%1e4,e,4)}function Uo(t,e){var i=t.getDay();return eo((t=i>=4||0===i?wn(t):wn.ceil(t)).getFullYear()%1e4,e,4)}function Ho(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+eo(e/60|0,"0",2)+eo(e%60,"0",2)}function Yo(t,e){return eo(t.getUTCDate(),e,2)}function Vo(t,e){return eo(t.getUTCHours(),e,2)}function Go(t,e){return eo(t.getUTCHours()%12||12,e,2)}function Xo(t,e){return eo(1+xn.count(Pn(t),t),e,3)}function Zo(t,e){return eo(t.getUTCMilliseconds(),e,3)}function Jo(t,e){return Zo(t,e)+"000"}function Qo(t,e){return eo(t.getUTCMonth()+1,e,2)}function Ko(t,e){return eo(t.getUTCMinutes(),e,2)}function ta(t,e){return eo(t.getUTCSeconds(),e,2)}function ea(t){var e=t.getUTCDay();return 0===e?7:e}function ia(t,e){return eo(Ln.count(Pn(t)-1,t),e,2)}function ra(t){var e=t.getUTCDay();return e>=4||0===e?In(t):In.ceil(t)}function na(t,e){return t=ra(t),eo(In.count(Pn(t),t)+(4===Pn(t).getUTCDay()),e,2)}function oa(t){return t.getUTCDay()}function aa(t,e){return eo(Mn.count(Pn(t)-1,t),e,2)}function sa(t,e){return eo(t.getUTCFullYear()%100,e,2)}function la(t,e){return eo((t=ra(t)).getUTCFullYear()%100,e,2)}function ha(t,e){return eo(t.getUTCFullYear()%1e4,e,4)}function ca(t,e){var i=t.getUTCDay();return eo((t=i>=4||0===i?In(t):In.ceil(t)).getUTCFullYear()%1e4,e,4)}function ua(){return"+0000"}function da(){return"%"}function fa(t){return+t}function pa(t){return Math.floor(+t/1e3)}function ga(t){return new Date(t)}function ya(t){return t instanceof Date?+t:+new Date(+t)}function ma(t,e,i,r,n,o,a,s,l,h){var c=zr(),u=c.invert,d=c.domain,f=h(".%L"),p=h(":%S"),g=h("%I:%M"),y=h("%I %p"),m=h("%a %d"),C=h("%b %d"),x=h("%B"),_=h("%Y");function b(t){return(l(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:fa,s:pa,S:Io,u:Do,U:No,V:$o,w:zo,W:Po,x:null,X:null,y:jo,Y:Wo,Z:Ho,"%":da},_={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Yo,e:Yo,f:Jo,g:la,G:ca,H:Vo,I:Go,j:Xo,L:Zo,m:Qo,M:Ko,p:function(t){return n[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:fa,s:pa,S:ta,u:ea,U:ia,V:na,w:oa,W:aa,x:null,X:null,y:sa,Y:ha,Z:ua,"%":da},b={a:function(t,e,i){var r=f.exec(e.slice(i));return r?(t.w=p.get(r[0].toLowerCase()),i+r[0].length):-1},A:function(t,e,i){var r=u.exec(e.slice(i));return r?(t.w=d.get(r[0].toLowerCase()),i+r[0].length):-1},b:function(t,e,i){var r=m.exec(e.slice(i));return r?(t.m=C.get(r[0].toLowerCase()),i+r[0].length):-1},B:function(t,e,i){var r=g.exec(e.slice(i));return r?(t.m=y.get(r[0].toLowerCase()),i+r[0].length):-1},c:function(t,i,r){return T(t,e,i,r)},d:yo,e:yo,f:vo,g:uo,G:co,H:Co,I:Co,j:mo,L:bo,m:go,M:xo,p:function(t,e,i){var r=h.exec(e.slice(i));return r?(t.p=c.get(r[0].toLowerCase()),i+r[0].length):-1},q:po,Q:To,s:Ao,S:_o,u:ao,U:so,V:lo,w:oo,W:ho,x:function(t,e,r){return T(t,i,e,r)},X:function(t,e,i){return T(t,r,e,i)},y:uo,Y:co,Z:fo,"%":ko};function v(t,e){return function(i){var r,n,o,a=[],s=-1,l=0,h=t.length;for(i instanceof Date||(i=new Date(+i));++s53)return null;"w"in o||(o.w=1),"Z"in o?(n=(r=Vn(Gn(o.y,0,1))).getUTCDay(),r=n>4||0===n?Mn.ceil(r):Mn(r),r=xn.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(n=(r=Yn(Gn(o.y,0,1))).getDay(),r=n>4||0===n?kn.ceil(r):kn(r),r=Cn.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),n="Z"in o?Vn(Gn(o.y,0,1)).getUTCDay():Yn(Gn(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(n+5)%7:o.w+7*o.U-(n+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Vn(o)):Yn(o)}}function T(t,e,i,r){for(var n,o,a=0,s=e.length,l=i.length;a=l)return-1;if(37===(n=e.charCodeAt(a++))){if(n=e.charAt(a++),!(o=b[n in Jn?e.charAt(a++):n])||(r=o(t,i,r))<0)return-1}else if(n!=i.charCodeAt(r++))return-1}return r}return x.x=v(i,x),x.X=v(r,x),x.c=v(e,x),_.x=v(i,_),_.X=v(r,_),_.c=v(e,_),{format:function(t){var e=v(t+="",x);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=v(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=k(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","Friday","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"]}),Zn=Xn.format,Xn.parse,Xn.utcFormat,Xn.utcParse;const xa=function(t){for(var e=new Array(10),i=0;i<10;)e[i]="#"+t.slice(6*i,6*++i);return e}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function _a(t){return"string"==typeof t?new Ft([[document.querySelector(t)]],[document.documentElement]):new Ft([[t]],Bt)}function ba(t){return"string"==typeof t?new Ft([document.querySelectorAll(t)],[document.documentElement]):new Ft([b(t)],Bt)}function va(t){return function(){return t}}const ka=Math.abs,Ta=Math.atan2,Aa=Math.cos,wa=Math.max,Sa=Math.min,Ba=Math.sin,Fa=Math.sqrt,La=1e-12,Ma=Math.PI,Ea=Ma/2,Oa=2*Ma;function Ia(t){return t>=1?Ea:t<=-1?-Ea:Math.asin(t)}const Da=Math.PI,Na=2*Da,qa=1e-6,$a=Na-qa;function za(t){this._+=t[0];for(let e=1,i=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return za;const i=10**e;return function(t){this._+=t[0];for(let e=1,r=t.length;eqa)if(Math.abs(c*s-l*h)>qa&&n){let d=i-o,f=r-a,p=s*s+l*l,g=d*d+f*f,y=Math.sqrt(p),m=Math.sqrt(u),C=n*Math.tan((Da-Math.acos((p+u-g)/(2*y*m)))/2),x=C/m,_=C/y;Math.abs(x-1)>qa&&this._append`L${t+x*h},${e+x*c}`,this._append`A${n},${n},0,0,${+(c*d>h*f)},${this._x1=t+_*s},${this._y1=e+_*l}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,i,r,n,o){if(t=+t,e=+e,o=!!o,(i=+i)<0)throw new Error(`negative radius: ${i}`);let a=i*Math.cos(r),s=i*Math.sin(r),l=t+a,h=e+s,c=1^o,u=o?r-n:n-r;null===this._x1?this._append`M${l},${h}`:(Math.abs(this._x1-l)>qa||Math.abs(this._y1-h)>qa)&&this._append`L${l},${h}`,i&&(u<0&&(u=u%Na+Na),u>$a?this._append`A${i},${i},0,1,${c},${t-a},${e-s}A${i},${i},0,1,${c},${this._x1=l},${this._y1=h}`:u>qa&&this._append`A${i},${i},0,${+(u>=Da)},${c},${this._x1=t+i*Math.cos(n)},${this._y1=e+i*Math.sin(n)}`)}rect(t,e,i,r){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function ja(t){let e=3;return t.digits=function(i){if(!arguments.length)return e;if(null==i)e=null;else{const t=Math.floor(i);if(!(t>=0))throw new RangeError(`invalid digits: ${i}`);e=t}return t},()=>new Pa(e)}function Ra(t){return t.innerRadius}function Wa(t){return t.outerRadius}function Ua(t){return t.startAngle}function Ha(t){return t.endAngle}function Ya(t){return t&&t.padAngle}function Va(t,e,i,r,n,o,a){var s=t-i,l=e-r,h=(a?o:-o)/Fa(s*s+l*l),c=h*l,u=-h*s,d=t+c,f=e+u,p=i+c,g=r+u,y=(d+p)/2,m=(f+g)/2,C=p-d,x=g-f,_=C*C+x*x,b=n-o,v=d*g-p*f,k=(x<0?-1:1)*Fa(wa(0,b*b*_-v*v)),T=(v*x-C*k)/_,A=(-v*C-x*k)/_,w=(v*x+C*k)/_,S=(-v*C+x*k)/_,B=T-y,F=A-m,L=w-y,M=S-m;return B*B+F*F>L*L+M*M&&(T=w,A=S),{cx:T,cy:A,x01:-c,y01:-u,x11:T*(n/b-1),y11:A*(n/b-1)}}function Ga(){var t=Ra,e=Wa,i=va(0),r=null,n=Ua,o=Ha,a=Ya,s=null,l=ja(h);function h(){var h,c,u,d=+t.apply(this,arguments),f=+e.apply(this,arguments),p=n.apply(this,arguments)-Ea,g=o.apply(this,arguments)-Ea,y=ka(g-p),m=g>p;if(s||(s=h=l()),fLa)if(y>Oa-La)s.moveTo(f*Aa(p),f*Ba(p)),s.arc(0,0,f,p,g,!m),d>La&&(s.moveTo(d*Aa(g),d*Ba(g)),s.arc(0,0,d,g,p,m));else{var C,x,_=p,b=g,v=p,k=g,T=y,A=y,w=a.apply(this,arguments)/2,S=w>La&&(r?+r.apply(this,arguments):Fa(d*d+f*f)),B=Sa(ka(f-d)/2,+i.apply(this,arguments)),F=B,L=B;if(S>La){var M=Ia(S/d*Ba(w)),E=Ia(S/f*Ba(w));(T-=2*M)>La?(v+=M*=m?1:-1,k-=M):(T=0,v=k=(p+g)/2),(A-=2*E)>La?(_+=E*=m?1:-1,b-=E):(A=0,_=b=(p+g)/2)}var O=f*Aa(_),I=f*Ba(_),D=d*Aa(k),N=d*Ba(k);if(B>La){var q,$=f*Aa(b),z=f*Ba(b),P=d*Aa(v),j=d*Ba(v);if(y1?0:u<-1?Ma:Math.acos(u))/2),V=Fa(q[0]*q[0]+q[1]*q[1]);F=Sa(B,(d-V)/(Y-1)),L=Sa(B,(f-V)/(Y+1))}else F=L=0}A>La?L>La?(C=Va(P,j,O,I,f,L,m),x=Va($,z,D,N,f,L,m),s.moveTo(C.cx+C.x01,C.cy+C.y01),LLa&&T>La?F>La?(C=Va(D,N,$,z,d,-F,m),x=Va(O,I,P,j,d,-F,m),s.lineTo(C.cx+C.x01,C.cy+C.y01),Ft?1:e>=t?0:NaN}function is(t){return t}function rs(){var t=is,e=es,i=null,r=va(0),n=va(Oa),o=va(0);function a(a){var s,l,h,c,u,d=(a=Xa(a)).length,f=0,p=new Array(d),g=new Array(d),y=+r.apply(this,arguments),m=Math.min(Oa,Math.max(-Oa,n.apply(this,arguments)-y)),C=Math.min(Math.abs(m)/d,o.apply(this,arguments)),x=C*(m<0?-1:1);for(s=0;s0&&(f+=u);for(null!=e?p.sort((function(t,i){return e(g[t],g[i])})):null!=i&&p.sort((function(t,e){return i(a[t],a[e])})),s=0,h=f?(m-d*x)/f:0;s0?u*h:0)+x,g[l]={data:a[l],index:s,value:u,startAngle:y,endAngle:c,padAngle:C};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:va(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,i=null,a):e},a.sort=function(t){return arguments.length?(i=t,e=null,a):i},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:va(+t),a):r},a.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:va(+t),a):n},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:va(+t),a):o},a}function ns(){}function os(t,e,i){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+i)/6)}function as(t){this._context=t}function ss(t){return new as(t)}function ls(t){this._context=t}function hs(t){return new ls(t)}function cs(t){this._context=t}function us(t){return new cs(t)}Pa.prototype,Array.prototype.slice,Za.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=+t,e=+e,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)}}},as.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:os(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=+t,e=+e,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:os(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ls.prototype={areaStart:ns,areaEnd:ns,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=+t,e=+e,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:os(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},cs.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=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var i=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(i,r):this._context.moveTo(i,r);break;case 3:this._point=4;default:os(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class ds{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=+t,e=+e,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 fs(t){return new ds(t,!0)}function ps(t){return new ds(t,!1)}function gs(t,e){this._basis=new as(t),this._beta=e}gs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,i=t.length-1;if(i>0)for(var r,n=t[0],o=e[0],a=t[i]-n,s=e[i]-o,l=-1;++l<=i;)r=l/i,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+r*a),this._beta*e[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const ys=function t(e){function i(t){return 1===e?new as(t):new gs(t,e)}return i.beta=function(e){return t(+e)},i}(.85);function ms(t,e,i){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-i),t._x2,t._y2)}function Cs(t,e){this._context=t,this._k=(1-e)/6}Cs.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:ms(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=+t,e=+e,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:ms(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}};const xs=function t(e){function i(t){return new Cs(t,e)}return i.tension=function(e){return t(+e)},i}(0);function _s(t,e){this._context=t,this._k=(1-e)/6}_s.prototype={areaStart:ns,areaEnd:ns,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=+t,e=+e,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:ms(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}};const bs=function t(e){function i(t){return new _s(t,e)}return i.tension=function(e){return t(+e)},i}(0);function vs(t,e){this._context=t,this._k=(1-e)/6}vs.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=+t,e=+e,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:ms(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}};const ks=function t(e){function i(t){return new vs(t,e)}return i.tension=function(e){return t(+e)},i}(0);function Ts(t,e,i){var r=t._x1,n=t._y1,o=t._x2,a=t._y2;if(t._l01_a>La){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>La){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*h+t._x1*t._l23_2a-e*t._l12_2a)/c,a=(a*h+t._y1*t._l23_2a-i*t._l12_2a)/c}t._context.bezierCurveTo(r,n,o,a,t._x2,t._y2)}function As(t,e){this._context=t,this._alpha=e}As.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=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,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:Ts(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}};const ws=function t(e){function i(t){return e?new As(t,e):new Cs(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Ss(t,e){this._context=t,this._alpha=e}Ss.prototype={areaStart:ns,areaEnd:ns,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=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,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:Ts(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}};const Bs=function t(e){function i(t){return e?new Ss(t,e):new _s(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Fs(t,e){this._context=t,this._alpha=e}Fs.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=+t,e=+e,this._point){var i=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(i*i+r*r,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:Ts(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}};const Ls=function t(e){function i(t){return e?new Fs(t,e):new vs(t,0)}return i.alpha=function(e){return t(+e)},i}(.5);function Ms(t){this._context=t}function Es(t){return new Ms(t)}function Os(t){return t<0?-1:1}function Is(t,e,i){var r=t._x1-t._x0,n=e-t._x1,o=(t._y1-t._y0)/(r||n<0&&-0),a=(i-t._y1)/(n||r<0&&-0),s=(o*n+a*r)/(r+n);return(Os(o)+Os(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function Ds(t,e){var i=t._x1-t._x0;return i?(3*(t._y1-t._y0)/i-e)/2:e}function Ns(t,e,i){var r=t._x0,n=t._y0,o=t._x1,a=t._y1,s=(o-r)/3;t._context.bezierCurveTo(r+s,n+s*e,o-s,a-s*i,o,a)}function qs(t){this._context=t}function $s(t){this._context=new zs(t)}function zs(t){this._context=t}function Ps(t){return new qs(t)}function js(t){return new $s(t)}function Rs(t){this._context=t}function Ws(t){var e,i,r=t.length-1,n=new Array(r),o=new Array(r),a=new Array(r);for(n[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)n[e]=(a[e]-n[e+1])/o[e];for(o[r-1]=(t[r]+n[r-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,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 i=this._x*(1-this._t)+t*this._t;this._context.lineTo(i,this._y),this._context.lineTo(i,e)}}this._x=t,this._y=e}},Xs.prototype={constructor:Xs,scale:function(t){return 1===t?this:new Xs(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Xs(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new Xs(1,0,0),Xs.prototype},49875:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var r=i(70296),n=i(47866);const o=class{constructor(){this.type=n.Z.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=n.Z.ALL}is(t){return this.type===t}},a=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new o}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=n.Z.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:i,l:n}=t;void 0===e&&(t.h=r.A.channel.rgb2hsl(t,"h")),void 0===i&&(t.s=r.A.channel.rgb2hsl(t,"s")),void 0===n&&(t.l=r.A.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:i,b:n}=t;void 0===e&&(t.r=r.A.channel.hsl2rgb(t,"r")),void 0===i&&(t.g=r.A.channel.hsl2rgb(t,"g")),void 0===n&&(t.b=r.A.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(n.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(n.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(n.Z.HSL)||void 0===e?(this._ensureHSL(),r.A.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(n.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(n.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(n.Z.RGB)||void 0===e?(this._ensureRGB(),r.A.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(n.Z.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(n.Z.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(n.Z.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(n.Z.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(n.Z.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(n.Z.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},36173:(t,e,i)=>{"use strict";i.d(e,{A:()=>g});var r=i(49875),n=i(47866);const o={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(o.re);if(!e)return;const i=e[1],n=parseInt(i,16),a=i.length,s=a%4==0,l=a>4,h=l?1:17,c=l?8:4,u=s?0:-1,d=l?255:15;return r.A.set({r:(n>>c*(u+3)&d)*h,g:(n>>c*(u+2)&d)*h,b:(n>>c*(u+1)&d)*h,a:s?(n&d)*h/255:1},t)},stringify:t=>{const{r:e,g:i,b:r,a:o}=t;return o<1?`#${n.Y[Math.round(e)]}${n.Y[Math.round(i)]}${n.Y[Math.round(r)]}${n.Y[Math.round(255*o)]}`:`#${n.Y[Math.round(e)]}${n.Y[Math.round(i)]}${n.Y[Math.round(r)]}`}},a=o;var s=i(70296);const l={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=>{const e=t.match(l.hueRe);if(e){const[,t,i]=e;switch(i){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=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const i=t.match(l.re);if(!i)return;const[,n,o,a,h,c]=i;return r.A.set({h:l._hue2deg(n),s:s.A.channel.clamp.s(parseFloat(o)),l:s.A.channel.clamp.l(parseFloat(a)),a:h?s.A.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{const{h:e,s:i,l:r,a:n}=t;return n<1?`hsla(${s.A.lang.round(e)}, ${s.A.lang.round(i)}%, ${s.A.lang.round(r)}%, ${n})`:`hsl(${s.A.lang.round(e)}, ${s.A.lang.round(i)}%, ${s.A.lang.round(r)}%)`}},h=l,c={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",salmon:"#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();const e=c.colors[t];if(e)return a.parse(e)},stringify:t=>{const e=a.stringify(t);for(const t in c.colors)if(c.colors[t]===e)return t}},u=c,d={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=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const i=t.match(d.re);if(!i)return;const[,n,o,a,l,h,c,u,f]=i;return r.A.set({r:s.A.channel.clamp.r(o?2.55*parseFloat(n):parseFloat(n)),g:s.A.channel.clamp.g(l?2.55*parseFloat(a):parseFloat(a)),b:s.A.channel.clamp.b(c?2.55*parseFloat(h):parseFloat(h)),a:u?s.A.channel.clamp.a(f?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:i,b:r,a:n}=t;return n<1?`rgba(${s.A.lang.round(e)}, ${s.A.lang.round(i)}, ${s.A.lang.round(r)}, ${s.A.lang.round(n)})`:`rgb(${s.A.lang.round(e)}, ${s.A.lang.round(i)}, ${s.A.lang.round(r)})`}},f=d,p={format:{keyword:c,hex:a,rgb:d,rgba:d,hsl:l,hsla:l},parse:t=>{if("string"!=typeof t)return t;const e=a.parse(t)||f.parse(t)||h.parse(t)||u.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(n.Z.HSL)||void 0===t.data.r?h.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?f.stringify(t):a.stringify(t)},g=p},47866:(t,e,i)=>{"use strict";i.d(e,{Y:()=>n,Z:()=>o});var r=i(70296);const n={};for(let t=0;t<=255;t++)n[t]=r.A.unit.dec2hex(t);const o={ALL:0,RGB:1,HSL:2}},30651:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var r=i(70296),n=i(36173);const o=(t,e,i)=>{const o=n.A.parse(t),a=o[e],s=r.A.channel.clamp[e](a+i);return a!==s&&(o[e]=s),n.A.stringify(o)}},84016:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var r=i(70296),n=i(36173);const o=(t,e)=>{const i=n.A.parse(t);for(const t in e)i[t]=r.A.channel.clamp[t](e[t]);return n.A.stringify(i)}},88135:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(30651);const n=(t,e)=>(0,r.A)(t,"l",-e)},40381:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var r=i(70296),n=i(36173);const o=t=>(t=>{const{r:e,g:i,b:o}=n.A.parse(t),a=.2126*r.A.channel.toLinear(e)+.7152*r.A.channel.toLinear(i)+.0722*r.A.channel.toLinear(o);return r.A.lang.round(a)})(t)>=.5,a=t=>!o(t)},59409:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(30651);const n=(t,e)=>(0,r.A)(t,"l",e)},57494:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(70296),n=i(49875),o=i(36173),a=i(84016);const s=(t,e,i=0,s=1)=>{if("number"!=typeof t)return(0,a.A)(t,{a:e});const l=n.A.set({r:r.A.channel.clamp.r(t),g:r.A.channel.clamp.g(e),b:r.A.channel.clamp.b(i),a:r.A.channel.clamp.a(s)});return o.A.stringify(l)}},70296:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});const r={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=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,i)=>(i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t),hsl2rgb:({h:t,s:e,l:i},n)=>{if(!e)return 2.55*i;t/=360,e/=100;const o=(i/=100)<.5?i*(1+e):i+e-i*e,a=2*i-o;switch(n){case"r":return 255*r.hue2rgb(a,o,t+1/3);case"g":return 255*r.hue2rgb(a,o,t);case"b":return 255*r.hue2rgb(a,o,t-1/3)}},rgb2hsl:({r:t,g:e,b:i},r)=>{t/=255,e/=255,i/=255;const n=Math.max(t,e,i),o=Math.min(t,e,i),a=(n+o)/2;if("l"===r)return 100*a;if(n===o)return 0;const s=n-o;if("s"===r)return 100*(a>.5?s/(2-n-o):s/(n+o));switch(n){case t:return 60*((e-i)/s+(ee>i?Math.min(e,Math.max(i,t)):Math.min(i,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},5655:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(87608);const n=function(t,e){for(var i=t.length;i--;)if((0,r.A)(t[i][0],e))return i;return-1};var o=Array.prototype.splice;function a(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e-1},a.prototype.set=function(t,e){var i=this.__data__,r=n(i,t);return r<0?(++this.size,i.push([t,e])):i[r][1]=e,this};const s=a},81887:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var r=i(25987),n=i(29165);const o=(0,r.A)(n.A,"Map")},96942:(t,e,i)=>{"use strict";i.d(e,{A:()=>d});const r=(0,i(25987).A)(Object,"create");var n=Object.prototype.hasOwnProperty;var o=Object.prototype.hasOwnProperty;function a(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e{"use strict";i.d(e,{A:()=>o});var r=i(25987),n=i(29165);const o=(0,r.A)(n.A,"Set")},61757:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(5655);var n=i(81887),o=i(96942);function a(t){var e=this.__data__=new r.A(t);this.size=e.size}a.prototype.clear=function(){this.__data__=new r.A,this.size=0},a.prototype.delete=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i},a.prototype.get=function(t){return this.__data__.get(t)},a.prototype.has=function(t){return this.__data__.has(t)},a.prototype.set=function(t,e){var i=this.__data__;if(i instanceof r.A){var a=i.__data__;if(!n.A||a.length<199)return a.push([t,e]),this.size=++i.size,this;i=this.__data__=new o.A(a)}return i.set(t,e),this.size=i.size,this};const s=a},36737:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=i(29165).A.Symbol},1252:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=i(29165).A.Uint8Array},39113:(t,e,i)=>{"use strict";i.d(e,{A:()=>h});var r=i(46047),n=i(59681),o=i(98851),a=i(27065),s=i(80071),l=Object.prototype.hasOwnProperty;const h=function(t,e){var i=(0,n.A)(t),h=!i&&(0,r.A)(t),c=!i&&!h&&(0,o.A)(t),u=!i&&!h&&!c&&(0,s.A)(t),d=i||h||c||u,f=d?function(t,e){for(var i=-1,r=Array(t);++i{"use strict";i.d(e,{A:()=>a});var r=i(96416),n=i(87608),o=Object.prototype.hasOwnProperty;const a=function(t,e,i){var a=t[e];o.call(t,e)&&(0,n.A)(a,i)&&(void 0!==i||e in t)||(0,r.A)(t,e,i)}},96416:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(10907);const n=function(t,e,i){"__proto__"==e&&r.A?(0,r.A)(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}},37055:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t,e,i){for(var r=-1,n=Object(t),o=i(t),a=o.length;a--;){var s=o[++r];if(!1===e(n[s],s,n))break}return t}},25967:(t,e,i)=>{"use strict";i.d(e,{A:()=>c});var r=i(36737),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,s=r.A?r.A.toStringTag:void 0;var l=Object.prototype.toString;var h=r.A?r.A.toStringTag:void 0;const c=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":h&&h in Object(t)?function(t){var e=o.call(t,s),i=t[s];try{t[s]=void 0;var r=!0}catch(t){}var n=a.call(t);return r&&(e?t[s]=i:delete t[s]),n}(t):function(t){return l.call(t)}(t)}},99390:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var r=i(78855);const n=(0,i(61823).A)(Object.keys,Object);var o=Object.prototype.hasOwnProperty;const a=function(t){if(!(0,r.A)(t))return n(t);var e=[];for(var i in Object(t))o.call(t,i)&&"constructor"!=i&&e.push(i);return e}},8854:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var r=i(86080),n=i(50278),o=i(71271);const a=function(t,e){return(0,o.A)((0,n.A)(t,e,r.A),t+"")}},97253:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t){return function(e){return t(e)}}},42869:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(1252);const n=function(t){var e=new t.constructor(t.byteLength);return new r.A(e).set(new r.A(t)),e}},25290:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var r=i(29165),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===n?r.A.Buffer:void 0,s=a?a.allocUnsafe:void 0;const l=function(t,e){if(e)return t.slice();var i=t.length,r=s?s(i):new t.constructor(i);return t.copy(r),r}},33177:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(42869);const n=function(t,e){var i=e?(0,r.A)(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}},4575:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t,e){var i=-1,r=t.length;for(e||(e=Array(r));++i{"use strict";i.d(e,{A:()=>o});var r=i(13475),n=i(96416);const o=function(t,e,i,o){var a=!i;i||(i={});for(var s=-1,l=e.length;++s{"use strict";i.d(e,{A:()=>n});var r=i(25987);const n=function(){try{var t=(0,r.A)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},71832:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r="object"==typeof global&&global&&global.Object===Object&&global},25987:(t,e,i)=>{"use strict";i.d(e,{A:()=>y});var r=i(38074);const n=i(29165).A["__core-js_shared__"];var o,a=(o=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";var s=i(5757),l=i(44305),h=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,f=u.hasOwnProperty,p=RegExp("^"+d.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const g=function(t){return!(!(0,s.A)(t)||(e=t,a&&a in e))&&((0,r.A)(t)?p:h).test((0,l.A)(t));var e},y=function(t,e){var i=function(t,e){return null==t?void 0:t[e]}(t,e);return g(i)?i:void 0}},28495:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=(0,i(61823).A)(Object.getPrototypeOf,Object)},43146:(t,e,i)=>{"use strict";i.d(e,{A:()=>k});var r=i(25987),n=i(29165);const o=(0,r.A)(n.A,"DataView");var a=i(81887);const s=(0,r.A)(n.A,"Promise");var l=i(12897);const h=(0,r.A)(n.A,"WeakMap");var c=i(25967),u=i(44305),d="[object Map]",f="[object Promise]",p="[object Set]",g="[object WeakMap]",y="[object DataView]",m=(0,u.A)(o),C=(0,u.A)(a.A),x=(0,u.A)(s),_=(0,u.A)(l.A),b=(0,u.A)(h),v=c.A;(o&&v(new o(new ArrayBuffer(1)))!=y||a.A&&v(new a.A)!=d||s&&v(s.resolve())!=f||l.A&&v(new l.A)!=p||h&&v(new h)!=g)&&(v=function(t){var e=(0,c.A)(t),i="[object Object]"==e?t.constructor:void 0,r=i?(0,u.A)(i):"";if(r)switch(r){case m:return y;case C:return d;case x:return f;case _:return p;case b:return g}return e});const k=v},46901:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var r=i(5757),n=Object.create;const o=function(){function t(){}return function(e){if(!(0,r.A)(e))return{};if(n)return n(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();var a=i(28495),s=i(78855);const l=function(t){return"function"!=typeof t.constructor||(0,s.A)(t)?{}:o((0,a.A)(t))}},27065:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=/^(?:0|[1-9]\d*)$/;const n=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&r.test(t))&&t>-1&&t%1==0&&t{"use strict";i.d(e,{A:()=>s});var r=i(87608),n=i(26014),o=i(27065),a=i(5757);const s=function(t,e,i){if(!(0,a.A)(i))return!1;var s=typeof e;return!!("number"==s?(0,n.A)(i)&&(0,o.A)(e,i.length):"string"==s&&e in i)&&(0,r.A)(i[e],t)}},78855:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=Object.prototype;const n=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r)}},31961:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(71832),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===n&&r.A.process;const s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}()},61823:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t,e){return function(i){return t(e(i))}}},50278:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=Math.max;const n=function(t,e,i){return e=r(void 0===e?t.length-1:e,0),function(){for(var n=arguments,o=-1,a=r(n.length-e,0),s=Array(a);++o{"use strict";i.d(e,{A:()=>o});var r=i(71832),n="object"==typeof self&&self&&self.Object===Object&&self;const o=r.A||n||Function("return this")()},71271:(t,e,i)=>{"use strict";i.d(e,{A:()=>l});var r=i(10902),n=i(10907),o=i(86080);const a=n.A?function(t,e){return(0,n.A)(t,"toString",{configurable:!0,enumerable:!1,value:(0,r.A)(e),writable:!0})}:o.A;var s=Date.now;const l=(h=a,c=0,u=0,function(){var t=s(),e=16-(t-u);if(u=t,e>0){if(++c>=800)return arguments[0]}else c=0;return h.apply(void 0,arguments)});var h,c,u},44305:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=Function.prototype.toString;const n=function(t){if(null!=t){try{return r.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},10902:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t){return function(){return t}}},87608:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t,e){return t===e||t!=t&&e!=e}},86080:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t){return t}},46047:(t,e,i)=>{"use strict";i.d(e,{A:()=>h});var r=i(25967),n=i(43738);const o=function(t){return(0,n.A)(t)&&"[object Arguments]"==(0,r.A)(t)};var a=Object.prototype,s=a.hasOwnProperty,l=a.propertyIsEnumerable;const h=o(function(){return arguments}())?o:function(t){return(0,n.A)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},59681:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=Array.isArray},26014:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var r=i(38074),n=i(49334);const o=function(t){return null!=t&&(0,n.A)(t.length)&&!(0,r.A)(t)}},80461:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var r=i(26014),n=i(43738);const o=function(t){return(0,n.A)(t)&&(0,r.A)(t)}},98851:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(29165);var n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof module&&module&&!module.nodeType&&module,a=o&&o.exports===n?r.A.Buffer:void 0;const s=(a?a.isBuffer:void 0)||function(){return!1}},59537:(t,e,i)=>{"use strict";i.d(e,{A:()=>d});var r=i(99390),n=i(43146),o=i(46047),a=i(59681),s=i(26014),l=i(98851),h=i(78855),c=i(80071),u=Object.prototype.hasOwnProperty;const d=function(t){if(null==t)return!0;if((0,s.A)(t)&&((0,a.A)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.A)(t)||(0,c.A)(t)||(0,o.A)(t)))return!t.length;var e=(0,n.A)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.A)(t))return!(0,r.A)(t).length;for(var i in t)if(u.call(t,i))return!1;return!0}},38074:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var r=i(25967),n=i(5757);const o=function(t){if(!(0,n.A)(t))return!1;var e=(0,r.A)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},49334:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},5757:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},43738:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});const r=function(t){return null!=t&&"object"==typeof t}},82051:(t,e,i)=>{"use strict";i.d(e,{A:()=>u});var r=i(25967),n=i(28495),o=i(43738),a=Function.prototype,s=Object.prototype,l=a.toString,h=s.hasOwnProperty,c=l.call(Object);const u=function(t){if(!(0,o.A)(t)||"[object Object]"!=(0,r.A)(t))return!1;var e=(0,n.A)(t);if(null===e)return!0;var i=h.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&l.call(i)==c}},80071:(t,e,i)=>{"use strict";i.d(e,{A:()=>c});var r=i(25967),n=i(49334),o=i(43738),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1;var s=i(97253),l=i(31961),h=l.A&&l.A.isTypedArray;const c=h?(0,s.A)(h):function(t){return(0,o.A)(t)&&(0,n.A)(t.length)&&!!a[(0,r.A)(t)]}},78380:(t,e,i)=>{"use strict";i.d(e,{A:()=>h});var r=i(39113),n=i(5757),o=i(78855);var a=Object.prototype.hasOwnProperty;const s=function(t){if(!(0,n.A)(t))return function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e}(t);var e=(0,o.A)(t),i=[];for(var r in t)("constructor"!=r||!e&&a.call(t,r))&&i.push(r);return i};var l=i(26014);const h=function(t){return(0,l.A)(t)?(0,r.A)(t,!0):s(t)}},15128:(t,e,i)=>{"use strict";i.d(e,{A:()=>o});var r=i(96942);function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var r=arguments,n=e?e.apply(this,r):r[0],o=i.cache;if(o.has(n))return o.get(n);var a=t.apply(this,r);return i.cache=o.set(n,a)||o,a};return i.cache=new(n.Cache||r.A),i}n.Cache=r.A;const o=n},69373:(t,e,i)=>{"use strict";i.d(e,{A:()=>S});var r=i(61757),n=i(96416),o=i(87608);const a=function(t,e,i){(void 0!==i&&!(0,o.A)(t[e],i)||void 0===i&&!(e in t))&&(0,n.A)(t,e,i)};var s=i(37055),l=i(25290),h=i(33177),c=i(4575),u=i(46901),d=i(46047),f=i(59681),p=i(80461),g=i(98851),y=i(38074),m=i(5757),C=i(82051),x=i(80071);const _=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var b=i(63775),v=i(78380);const k=function(t,e,i,r,n,o,s){var k,T=_(t,i),A=_(e,i),w=s.get(A);if(w)a(t,i,w);else{var S=o?o(T,A,i+"",t,e,s):void 0,B=void 0===S;if(B){var F=(0,f.A)(A),L=!F&&(0,g.A)(A),M=!F&&!L&&(0,x.A)(A);S=A,F||L||M?(0,f.A)(T)?S=T:(0,p.A)(T)?S=(0,c.A)(T):L?(B=!1,S=(0,l.A)(A,!0)):M?(B=!1,S=(0,h.A)(A,!0)):S=[]:(0,C.A)(A)||(0,d.A)(A)?(S=T,(0,d.A)(T)?(k=T,S=(0,b.A)(k,(0,v.A)(k))):(0,m.A)(T)&&!(0,y.A)(T)||(S=(0,u.A)(A))):B=!1}B&&(s.set(A,S),n(S,A,r,o,s),s.delete(A)),a(t,i,S)}},T=function t(e,i,n,o,l){e!==i&&(0,s.A)(i,(function(s,h){if(l||(l=new r.A),(0,m.A)(s))k(e,i,h,n,t,o,l);else{var c=o?o(_(e,h),s,h+"",e,i,l):void 0;void 0===c&&(c=s),a(e,h,c)}}),v.A)};var A=i(8854),w=i(28800);const S=(B=function(t,e,i){T(t,e,i)},(0,A.A)((function(t,e){var i=-1,r=e.length,n=r>1?e[r-1]:void 0,o=r>2?e[2]:void 0;for(n=B.length>3&&"function"==typeof n?(r--,n):void 0,o&&(0,w.A)(e[0],e[1],o)&&(n=r<3?void 0:n,r=1),t=Object(t);++i{"use strict";i.d(e,{A:()=>Pi,B:()=>zt,C:()=>xe,D:()=>Ce,E:()=>Mt,F:()=>Me,G:()=>bt,H:()=>vt,I:()=>le,J:()=>st,K:()=>Oi,L:()=>Bi,M:()=>be,N:()=>io,Z:()=>Qt,a:()=>Ai,b:()=>Ti,c:()=>Mi,d:()=>ut,e:()=>Tt,f:()=>Jt,g:()=>ki,h:()=>pe,i:()=>pi,j:()=>fe,k:()=>ae,l:()=>nt,m:()=>pt,n:()=>ie,o:()=>gi,p:()=>Ei,q:()=>wi,r:()=>kt,s:()=>vi,t:()=>Si,u:()=>_e,v:()=>bi,w:()=>ue,x:()=>gt,y:()=>he,z:()=>Di});var r=i(16206),n=i(92329),o=i(88641),a=i(84017),s=i(31998),l=i(36173),h=i(84016);const c=(t,e)=>{const i=l.A.parse(t),r={};for(const t in e)e[t]&&(r[t]=i[t]+e[t]);return(0,h.A)(t,r)};var u=i(57494);const d=(t,e=100)=>{const i=l.A.parse(t);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,((t,e,i=50)=>{const{r,g:n,b:o,a}=l.A.parse(t),{r:s,g:h,b:c,a:d}=l.A.parse(e),f=i/100,p=2*f-1,g=a-d,y=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,m=1-y,C=r*y+s*m,x=n*y+h*m,_=o*y+c*m,b=a*f+d*(1-f);return(0,u.A)(C,x,_,b)})(i,t,e)};var f=i(88135),p=i(59409),g=i(40381),y=i(15128),m=i(69373),C="comm",x="rule",_="decl",b=Math.abs,v=String.fromCharCode;function k(t){return t.trim()}function T(t,e,i){return t.replace(e,i)}function A(t,e,i){return t.indexOf(e,i)}function w(t,e){return 0|t.charCodeAt(e)}function S(t,e,i){return t.slice(e,i)}function B(t){return t.length}function F(t,e){return e.push(t),t}function L(t,e){for(var i="",r=0;r0?w(q,--D):0,O--,10===N&&(O=1,E--),N}function P(){return N=D2||U(N)>3?"":" "}function V(t,e){for(;--e&&P()&&!(N<48||N>102||N>57&&N<65||N>70&&N<97););return W(t,R()+(e<6&&32==j()&&32==P()))}function G(t){for(;P();)switch(N){case t:return D;case 34:case 39:34!==t&&39!==t&&G(N);break;case 40:41===t&&G(t);break;case 92:P()}return D}function X(t,e){for(;P()&&t+N!==57&&(t+N!==84||47!==j()););return"/*"+W(e,D-1)+"*"+v(47===t?t:P())}function Z(t){for(;!U(j());)P();return W(t,D)}function J(t){return function(t){return q="",t}(Q("",null,null,null,[""],t=function(t){return E=O=1,I=B(q=t),D=0,[]}(t),0,[0],t))}function Q(t,e,i,r,n,o,a,s,l){for(var h=0,c=0,u=a,d=0,f=0,p=0,g=1,y=1,m=1,C=0,x="",_=n,k=o,S=r,L=x;y;)switch(p=C,C=P()){case 40:if(108!=p&&58==w(L,u-1)){-1!=A(L+=T(H(C),"&","&\f"),"&\f",b(h?s[h-1]:0))&&(m=-1);break}case 34:case 39:case 91:L+=H(C);break;case 9:case 10:case 13:case 32:L+=Y(p);break;case 92:L+=V(R()-1,7);continue;case 47:switch(j()){case 42:case 47:F(tt(X(P(),R()),e,i,l),l);break;default:L+="/"}break;case 123*g:s[h++]=B(L)*m;case 125*g:case 59:case 0:switch(C){case 0:case 125:y=0;case 59+c:-1==m&&(L=T(L,/\f/g,"")),f>0&&B(L)-u&&F(f>32?et(L+";",r,i,u-1,l):et(T(L," ","")+";",r,i,u-2,l),l);break;case 59:L+=";";default:if(F(S=K(L,e,i,h,c,n,s,x,_=[],k=[],u,o),o),123===C)if(0===c)Q(L,e,S,S,_,o,u,s,k);else switch(99===d&&110===w(L,3)?100:d){case 100:case 108:case 109:case 115:Q(t,S,S,r&&F(K(t,S,S,0,0,n,s,x,n,_=[],u,k),k),n,k,u,s,r?_:k);break;default:Q(L,S,S,S,[""],k,0,s,k)}}h=c=f=0,g=m=1,x=L="",u=a;break;case 58:u=1+B(L),f=p;default:if(g<1)if(123==C)--g;else if(125==C&&0==g++&&125==z())continue;switch(L+=v(C),C*g){case 38:m=c>0?1:(L+="\f",-1);break;case 44:s[h++]=(B(L)-1)*m,m=1;break;case 64:45===j()&&(L+=H(P())),d=j(),c=u=B(x=L+=Z(R())),C++;break;case 45:45===p&&2==B(L)&&(g=0)}}return o}function K(t,e,i,r,n,o,a,s,l,h,c,u){for(var d=n-1,f=0===n?o:[""],p=function(t){return t.length}(f),g=0,y=0,m=0;g0?f[C]+" "+_:T(_,/&\f/g,f[C])))&&(l[m++]=v);return $(t,e,i,0===n?x:s,l,h,c,u)}function tt(t,e,i,r){return $(t,e,i,C,v(N),S(t,2,-2),0,r)}function et(t,e,i,r,n){return $(t,e,i,_,S(t,0,r),S(t,r+1,-1),r,n)}var it=i(59537);const rt={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},nt={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},ot=function(t="fatal"){let e=rt.fatal;"string"==typeof t?(t=t.toLowerCase())in rt&&(e=rt[t]):"number"==typeof t&&(e=t),nt.trace=()=>{},nt.debug=()=>{},nt.info=()=>{},nt.warn=()=>{},nt.error=()=>{},nt.fatal=()=>{},e<=rt.fatal&&(nt.fatal=console.error?console.error.bind(console,at("FATAL"),"color: orange"):console.log.bind(console,"",at("FATAL"))),e<=rt.error&&(nt.error=console.error?console.error.bind(console,at("ERROR"),"color: orange"):console.log.bind(console,"",at("ERROR"))),e<=rt.warn&&(nt.warn=console.warn?console.warn.bind(console,at("WARN"),"color: orange"):console.log.bind(console,"",at("WARN"))),e<=rt.info&&(nt.info=console.info?console.info.bind(console,at("INFO"),"color: lightblue"):console.log.bind(console,"",at("INFO"))),e<=rt.debug&&(nt.debug=console.debug?console.debug.bind(console,at("DEBUG"),"color: lightgreen"):console.log.bind(console,"",at("DEBUG"))),e<=rt.trace&&(nt.trace=console.debug?console.debug.bind(console,at("TRACE"),"color: lightgreen"):console.log.bind(console,"",at("TRACE")))},at=t=>`%c${n().format("ss.SSS")} : ${t} : `,st=//gi,lt=(()=>{let t=!1;return()=>{t||(function(){const t="data-temp-href-target";s.addHook("beforeSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")||"")})),s.addHook("afterSanitizeAttributes",(e=>{"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)||""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))}))}(),t=!0)}})(),ht=t=>(lt(),s.sanitize(t)),ct=(t,e)=>{var i;if(!1!==(null==(i=e.flowchart)?void 0:i.htmlLabels)){const i=e.securityLevel;"antiscript"===i||"strict"===i?t=ht(t):"loose"!==i&&(t=(t=(t=ft(t)).replace(//g,">")).replace(/=/g,"="),t=dt(t))}return t},ut=(t,e)=>t?t=e.dompurifyConfig?s.sanitize(ct(t,e),e.dompurifyConfig).toString():s.sanitize(ct(t,e),{FORBID_TAGS:["style"]}).toString():t,dt=t=>t.replace(/#br#/g,"
"),ft=t=>t.replace(st,"#br#"),pt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),gt=function(t){const e=t.split(/(,)/),i=[];for(let t=0;t0&&t+1Math.max(0,t.split(e).length-1),mt=(t,e)=>{const i=yt(t,"~"),r=yt(e,"~");return 1===i&&1===r},Ct=t=>{const e=yt(t,"~");let i=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),i=!0);const r=[...t];let n=r.indexOf("~"),o=r.lastIndexOf("~");for(;-1!==n&&-1!==o&&n!==o;)r[n]="<",r[o]=">",n=r.indexOf("~"),o=r.lastIndexOf("~");return i&&r.unshift("~"),r.join("")},xt=()=>void 0!==window.MathMLElement,_t=/\$\$(.*)\$\$/g,bt=t=>{var e;return((null==(e=t.match(_t))?void 0:e.length)??0)>0},vt=async(t,e)=>{t=await kt(t,e);const i=document.createElement("div");i.innerHTML=t,i.id="katex-temp",i.style.visibility="hidden",i.style.position="absolute",i.style.top="0";const r=document.querySelector("body");null==r||r.insertAdjacentElement("beforeend",i);const n={width:i.clientWidth,height:i.clientHeight};return i.remove(),n},kt=async(t,e)=>{if(!bt(t))return t;if(!xt()&&!e.legacyMathML)return t.replace(_t,"MathML is unsupported in this environment.");const{default:r}=await i.e(407).then(i.bind(i,81407));return t.split(st).map((t=>bt(t)?`\n
\n ${t}\n
\n `:`
${t}
`)).join("").replace(_t,((t,e)=>r.renderToString(e,{throwOnError:!0,displayMode:!0,output:xt()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(//g,"")))},Tt={getRows:t=>t?ft(t).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:ut,sanitizeTextOrArray:(t,e)=>"string"==typeof t?ut(t,e):t.flat().map((t=>ut(t,e))),hasBreaks:t=>st.test(t),splitBreaks:t=>t.split(st),lineBreakRegex:st,removeScript:ht,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:pt,getMax:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)},getMin:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}},At=(t,e)=>c(t,e?{s:-40,l:10}:{s:-40,l:-10}),wt="#ffffff",St="#f2f2f2";let Bt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||c(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||c(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||At(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||At(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||At(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||d(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||d(this.tertiaryColor),this.lineColor=this.lineColor||d(this.background),this.arrowheadColor=this.arrowheadColor||d(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,f.A)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,f.A)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||d(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,p.A)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}},Ft=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,p.A)(this.primaryColor,16),this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=d(this.background),this.secondaryBorderColor=At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=At(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,p.A)(d("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,u.A)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,f.A)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,f.A)(this.sectionBkgColor,10),this.taskBorderColor=(0,u.A)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,u.A)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;this.secondBkg=(0,p.A)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,p.A)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,p.A)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=c(this.primaryColor,{h:64}),this.fillType3=c(this.secondaryColor,{h:64}),this.fillType4=c(this.primaryColor,{h:-64}),this.fillType5=c(this.secondaryColor,{h:-64}),this.fillType6=c(this.primaryColor,{h:128}),this.fillType7=c(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330});for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}},Lt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=c(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=At(this.primaryColor,this.darkMode),this.secondaryBorderColor=At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=At(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,u.A)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.A)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const Mt=t=>{const e=new Lt;return e.calculate(t),e};let Et=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,p.A)("#cde498",10),this.primaryBorderColor=At(this.primaryColor,this.darkMode),this.secondaryBorderColor=At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=At(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.primaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;this.actorBorder=(0,f.A)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||c(this.primaryColor,{h:30}),this.cScale4=this.cScale4||c(this.primaryColor,{h:60}),this.cScale5=this.cScale5||c(this.primaryColor,{h:90}),this.cScale6=this.cScale6||c(this.primaryColor,{h:120}),this.cScale7=this.cScale7||c(this.primaryColor,{h:150}),this.cScale8=this.cScale8||c(this.primaryColor,{h:210}),this.cScale9=this.cScale9||c(this.primaryColor,{h:270}),this.cScale10=this.cScale10||c(this.primaryColor,{h:300}),this.cScale11=this.cScale11||c(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,f.A)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,f.A)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};class Ot{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,p.A)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=c(this.primaryColor,{h:-160}),this.primaryBorderColor=At(this.primaryColor,this.darkMode),this.secondaryBorderColor=At(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=At(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var t,e,i,r,n,o,a,s,l,h,u;this.secondBkg=(0,p.A)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,p.A)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const It={base:{getThemeVariables:t=>{const e=new Bt;return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new Ft;return e.calculate(t),e}},default:{getThemeVariables:Mt},forest:{getThemeVariables:t=>{const e=new Et;return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new Ot;return e.calculate(t),e}}},Dt={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},Nt={...Dt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:It.default.getThemeVariables(),sequence:{...Dt.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...Dt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Dt.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...Dt.pie,useWidth:984},xyChart:{...Dt.xyChart,useWidth:void 0},requirement:{...Dt.requirement,useWidth:void 0},gitGraph:{...Dt.gitGraph,useMaxWidth:!1},sankey:{...Dt.sankey,useMaxWidth:!1}},qt=(t,e="")=>Object.keys(t).reduce(((i,r)=>Array.isArray(t[r])?i:"object"==typeof t[r]&&null!==t[r]?[...i,e+r,...qt(t[r],"")]:[...i,e+r]),[]),$t=new Set(qt(Nt,"")),zt=Nt,Pt=t=>{if(nt.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t)if(Array.isArray(t))t.forEach((t=>Pt(t)));else{for(const e of Object.keys(t)){if(nt.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!$t.has(e)||null==t[e]){nt.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){nt.debug("sanitizing object",e),Pt(t[e]);continue}const i=["themeCSS","fontFamily","altFontFamily"];for(const r of i)e.includes(r)&&(nt.debug("sanitizing css option",e),t[e]=jt(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const i=t.themeVariables[e];(null==i?void 0:i.match)&&!i.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}nt.debug("After sanitization",t)}},jt=t=>{let e=0,i=0;for(const r of t){if(e{for(const{id:e,detector:i,loader:r}of t)Xt(e,i,r)},Xt=(t,e,i)=>{Yt[t]?nt.error(`Detector with key ${t} already exists`):Yt[t]={detector:e,loader:i},nt.debug(`Detector with key ${t} added${i?" with loader":""}`)},Zt=(t,e,{depth:i=2,clobber:r=!1}={})=>{const n={depth:i,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>Zt(t,e,n))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||i<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((n=>{"object"!=typeof e[n]||void 0!==t[n]&&"object"!=typeof t[n]?(r||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n]):(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=Zt(t[n],e[n],{depth:i-1,clobber:r}))})),t)},Jt=Zt,Qt="​",Kt={curveBasis:a.qrM,curveBasisClosed:a.Yu4,curveBasisOpen:a.IA3,curveBumpX:a.Wi0,curveBumpY:a.PGM,curveBundle:a.OEq,curveCardinalClosed:a.olC,curveCardinalOpen:a.IrU,curveCardinal:a.y8u,curveCatmullRomClosed:a.Q7f,curveCatmullRomOpen:a.cVp,curveCatmullRom:a.oDi,curveLinear:a.lUB,curveLinearClosed:a.Lx9,curveMonotoneX:a.nVG,curveMonotoneY:a.uxU,curveNatural:a.Xf2,curveStep:a.GZz,curveStepAfter:a.UPb,curveStepBefore:a.dyv},te=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ee=function(t,e=null){try{const i=new RegExp(`[%]{2}(?![{]${te.source})(?=[}][%]{2}).*\n`,"ig");let r;t=t.trim().replace(i,"").replace(/'/gm,'"'),nt.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const n=[];for(;null!==(r=Wt.exec(t));)if(r.index===Wt.lastIndex&&Wt.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const t=r[1]?r[1]:r[2],e=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:t,args:e})}return 0===n.length?{type:t,args:null}:1===n.length?n[0]:n}catch(i){return nt.error(`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}};function ie(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Kt[i]??e}function re(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}const ne=(t,e=2)=>{const i=Math.pow(10,e);return Math.round(t*i)/i},oe=(t,e)=>{let i,r=e;for(const e of t){if(i){const t=re(e,i);if(t=1)return{x:e.x,y:e.y};if(n>0&&n<1)return{x:ne((1-n)*i.x+n*e.x,5),y:ne((1-n)*i.y+n*e.y,5)}}}i=e}throw new Error("Could not find a suitable point for the given distance")};function ae(t){let e="",i="";for(const r of t)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let se=0;const le=()=>(se++,"id-"+Math.random().toString(36).substr(2,12)+"-"+se),he=t=>function(t){let e="";for(let i=0;i{if(!t)return t;if(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},i),Tt.lineBreakRegex.test(t))return t;const r=t.split(" "),n=[];let o="";return r.forEach(((t,a)=>{const s=pe(`${t} `,i),l=pe(o,i);if(s>e){const{hyphenatedStrings:r,remainingWord:a}=de(t,e,"-",i);n.push(o,...r),o=a}else l+s>=e?(n.push(o),o=t):o=[o,t].filter(Boolean).join(" ");a+1===r.length&&n.push(o)})),n.filter((t=>""!==t)).join(i.joinWith)}),((t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`)),de=(0,y.A)(((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let a="";return n.forEach(((t,s)=>{const l=`${a}${t}`;if(pe(l,r)>=e){const t=s+1,e=n.length===t,r=`${l}${i}`;o.push(e?l:r),a=""}else a=l})),{hyphenatedStrings:o,remainingWord:a}}),((t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`));function fe(t,e){return ge(t,e).height}function pe(t,e){return ge(t,e).width}const ge=(0,y.A)(((t,e)=>{const{fontSize:i=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};const[,o]=Ce(i),s=["sans-serif",r],l=t.split(Tt.lineBreakRegex),h=[],c=(0,a.Ltv)("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const u=c.append("svg");for(const t of s){let e=0;const i={width:0,height:0,lineHeight:0};for(const r of l){const a={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:""};a.text=r||Qt;const s=ce(u,a).style("font-size",o).style("font-weight",n).style("font-family",t),l=(s._groups||s)[0][0].getBBox();if(0===l.width&&0===l.height)throw new Error("svg element not in render tree");i.width=Math.round(Math.max(i.width,l.width)),e=Math.round(l.height),i.height+=e,i.lineHeight=Math.round(Math.max(i.lineHeight,e))}h.push(i)}return u.remove(),h[isNaN(h[1].height)||isNaN(h[1].width)||isNaN(h[1].lineHeight)||h[0].height>h[1].height&&h[0].width>h[1].width&&h[0].lineHeight>h[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let ye;function me(t){return"str"in t}const Ce=t=>{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function xe(t,e){return(0,m.A)({},t,e)}const _e={assignWithDepth:Jt,wrapLabel:ue,calculateTextHeight:fe,calculateTextWidth:pe,calculateTextDimensions:ge,cleanAndMerge:xe,detectInit:function(t,e){const i=ee(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(i)){const t=i.map((t=>t.args));Pt(t),r=Jt(r,[...t])}else r=i.args;if(!r)return;let n=Vt(t,e);const o="config";return void 0!==r[o]&&("flowchart-v2"===n&&(n="flowchart"),r[n]=r[o],delete r[o]),r},detectDirective:ee,isSubstringInArray:function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1},interpolateToCurve:ie,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,i=0;return t.forEach((t=>{i+=re(t,e),e=t})),oe(t,i/2)}(t)},calcCardinalityPosition:(t,e,i)=>{nt.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());const r=oe(e,25),n=t?10:5,o=Math.atan2(e[0].y-r.y,e[0].x-r.x),a={x:0,y:0};return a.x=Math.sin(o)*n+(e[0].x+r.x)/2,a.y=-Math.cos(o)*n+(e[0].y+r.y)/2,a},calcTerminalLabelPosition:function(t,e,i){const r=structuredClone(i);nt.info("our points",r),"start_left"!==e&&"start_right"!==e&&r.reverse();const n=oe(r,25+t),o=10+.5*t,a=Math.atan2(r[0].y-n.y,r[0].x-n.x),s={x:0,y:0};return"start_left"===e?(s.x=Math.sin(a+Math.PI)*o+(r[0].x+n.x)/2,s.y=-Math.cos(a+Math.PI)*o+(r[0].y+n.y)/2):"end_right"===e?(s.x=Math.sin(a-Math.PI)*o+(r[0].x+n.x)/2-5,s.y=-Math.cos(a-Math.PI)*o+(r[0].y+n.y)/2-5):"end_left"===e?(s.x=Math.sin(a)*o+(r[0].x+n.x)/2-5,s.y=-Math.cos(a)*o+(r[0].y+n.y)/2-5):(s.x=Math.sin(a)*o+(r[0].x+n.x)/2,s.y=-Math.cos(a)*o+(r[0].y+n.y)/2),s},formatUrl:function(t,e){const i=t.trim();if(i)return"loose"!==e.securityLevel?(0,o.Jf)(i):i},getStylesFromArray:ae,generateId:le,random:he,runFunc:(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let e=0;e{var n;if(!r)return;const o=null==(n=t.node())?void 0:n.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-i).attr("class",e)},parseFontSize:Ce,InitIDGenerator:class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}}},be=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},ve="10.9.1",ke=Object.freeze(zt);let Te,Ae=Jt({},ke),we=[],Se=Jt({},ke);const Be=(t,e)=>{let i=Jt({},t),r={};for(const t of e)Ee(t),r=Jt(r,t);if(i=Jt(i,r),r.theme&&r.theme in It){const t=Jt({},Te),e=Jt(t.themeVariables||{},r.themeVariables);i.theme&&i.theme in It&&(i.themeVariables=It[i.theme].getThemeVariables(e))}return Se=i,Ne(Se),Se},Fe=()=>Jt({},Ae),Le=t=>(Ne(t),Jt(Se,t),Me()),Me=()=>Jt({},Se),Ee=t=>{t&&(["secure",...Ae.secure??[]].forEach((e=>{Object.hasOwn(t,e)&&(nt.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{e.startsWith("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&Ee(t[e])})))},Oe=(t=Ae)=>{we=[],Be(t,we)},Ie={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},De={},Ne=t=>{var e;t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(De[e="LAZY_LOAD_DEPRECATED"]||(nt.warn(Ie[e]),De[e]=!0))},qe={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{const{diagram:t}=await i.e(203).then(i.bind(i,6203));return{id:"c4",diagram:t}}},$e="flowchart",ze={id:$e,detector:(t,e)=>{var i,r;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&/^\s*graph/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(498),i.e(413),i.e(398),i.e(278),i.e(591),i.e(399)]).then(i.bind(i,30399));return{id:$e,diagram:t}}},Pe="flowchart-v2",je={id:Pe,detector:(t,e)=>{var i,r,n;return"dagre-d3"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&"elk"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)&&(!(!/^\s*graph/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))||/^\s*flowchart/.test(t))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(498),i.e(413),i.e(398),i.e(278),i.e(591),i.e(794)]).then(i.bind(i,34794));return{id:Pe,diagram:t}}},Re={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(413),i.e(369)]).then(i.bind(i,10369));return{id:"er",diagram:t}}},We="gitGraph",Ue={id:We,detector:t=>/^\s*gitGraph/.test(t),loader:async()=>{const{diagram:t}=await i.e(590).then(i.bind(i,35590));return{id:We,diagram:t}}},He="gantt",Ye={id:He,detector:t=>/^\s*gantt/.test(t),loader:async()=>{const{diagram:t}=await i.e(650).then(i.bind(i,7650));return{id:He,diagram:t}}},Ve="info",Ge={id:Ve,detector:t=>/^\s*info/.test(t),loader:async()=>{const{diagram:t}=await i.e(918).then(i.bind(i,91918));return{id:Ve,diagram:t}}},Xe={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{const{diagram:t}=await i.e(136).then(i.bind(i,45136));return{id:"pie",diagram:t}}},Ze="quadrantChart",Je={id:Ze,detector:t=>/^\s*quadrantChart/.test(t),loader:async()=>{const{diagram:t}=await i.e(747).then(i.bind(i,21747));return{id:Ze,diagram:t}}},Qe="xychart",Ke={id:Qe,detector:t=>/^\s*xychart-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(498),i.e(342)]).then(i.bind(i,8342));return{id:Qe,diagram:t}}},ti="requirement",ei={id:ti,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(413),i.e(61)]).then(i.bind(i,58061));return{id:ti,diagram:t}}},ii="sequence",ri={id:ii,detector:t=>/^\s*sequenceDiagram/.test(t),loader:async()=>{const{diagram:t}=await i.e(968).then(i.bind(i,62968));return{id:ii,diagram:t}}},ni="class",oi={id:ni,detector:(t,e)=>{var i;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.class)?void 0:i.defaultRenderer)&&/^\s*classDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(413),i.e(745),i.e(197)]).then(i.bind(i,41197));return{id:ni,diagram:t}}},ai="classDiagram",si={id:ai,detector:(t,e)=>{var i;return!(!/^\s*classDiagram/.test(t)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.class)?void 0:i.defaultRenderer))||/^\s*classDiagram-v2/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(498),i.e(413),i.e(398),i.e(278),i.e(745),i.e(666)]).then(i.bind(i,90666));return{id:ai,diagram:t}}},li="state",hi={id:li,detector:(t,e)=>{var i;return"dagre-wrapper"!==(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer)&&/^\s*stateDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(413),i.e(942),i.e(728)]).then(i.bind(i,32728));return{id:li,diagram:t}}},ci="stateDiagram",ui={id:ci,detector:(t,e)=>{var i;return!!/^\s*stateDiagram-v2/.test(t)||!(!/^\s*stateDiagram/.test(t)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(498),i.e(413),i.e(398),i.e(278),i.e(942),i.e(665)]).then(i.bind(i,44665));return{id:ci,diagram:t}}},di="journey",fi={id:di,detector:t=>/^\s*journey/.test(t),loader:async()=>{const{diagram:t}=await i.e(411).then(i.bind(i,5411));return{id:di,diagram:t}}},pi=function(t,e,i,r){const n=function(t,e,i){let r=new Map;return i?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r}(e,i,r);!function(t,e){for(let i of e)t.attr(i[0],i[1])}(t,n)},gi=function(t,e,i,r){const n=e.node().getBBox(),o=n.width,a=n.height;nt.info(`SVG bounds: ${o}x${a}`,n);let s=0,l=0;nt.info(`Graph bounds: ${s}x${l}`,t),s=o+2*i,l=a+2*i,nt.info(`Calculated bounds: ${s}x${l}`),pi(e,l,s,r);const h=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",h)},yi={};let mi="",Ci="",xi="";const _i=t=>ut(t,Me()),bi=()=>{mi="",xi="",Ci=""},vi=t=>{mi=_i(t).replace(/^\s+/g,"")},ki=()=>mi,Ti=t=>{xi=_i(t).replace(/\n\s+/g,"\n")},Ai=()=>xi,wi=t=>{Ci=_i(t)},Si=()=>Ci,Bi=Object.freeze(Object.defineProperty({__proto__:null,clear:bi,getAccDescription:Ai,getAccTitle:ki,getDiagramTitle:Si,setAccDescription:Ti,setAccTitle:vi,setDiagramTitle:wi},Symbol.toStringTag,{value:"Module"})),Fi=nt,Li=ot,Mi=Me,Ei=Le,Oi=ke,Ii=t=>ut(t,Mi()),Di=gi,Ni={},qi=(t,e,i)=>{var r,n,o;if(Ni[t])throw new Error(`Diagram ${t} already registered.`);Ni[t]=e,i&&Xt(t,i),n=t,void 0!==(o=e.styles)&&(yi[n]=o),null==(r=e.injectUtils)||r.call(e,Fi,Li,Mi,Ii,Di,Bi,(()=>{}))},$i=t=>{if(t in Ni)return Ni[t];throw new zi(t)};class zi extends Error{constructor(t){super(`Diagram ${t} not found.`)}}const Pi=t=>{var e;const{securityLevel:i}=Mi();let r=(0,a.Ltv)("body");if("sandbox"===i){const i=(null==(e=(0,a.Ltv)(`#i${t}`).node())?void 0:e.contentDocument)??document;r=(0,a.Ltv)(i.body)}return r.select(`#${t}`)},ji={draw:(t,e,i)=>{nt.debug("rendering svg for syntax error\n");const r=Pi(e),n=r.append("g");r.attr("viewBox","0 0 2412 512"),pi(r,100,512,!0),n.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"),n.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"),n.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"),n.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.164-16,16v32c0,8.836 7.156,16 16,16z"),n.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"),n.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"),n.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"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${i}`)}},Ri=ji,Wi={db:{},renderer:ji,parser:{parser:{yy:{}},parse:()=>{}}},Ui="flowchart-elk",Hi={id:Ui,detector:(t,e)=>{var i;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&"elk"===(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.all([i.e(498),i.e(398),i.e(591),i.e(318)]).then(i.bind(i,81318));return{id:Ui,diagram:t}}},Yi="timeline",Vi={id:Yi,detector:t=>/^\s*timeline/.test(t),loader:async()=>{const{diagram:t}=await i.e(641).then(i.bind(i,97641));return{id:Yi,diagram:t}}},Gi="mindmap",Xi={id:Gi,detector:t=>/^\s*mindmap/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(498),i.e(66)]).then(i.bind(i,94066));return{id:Gi,diagram:t}}},Zi="sankey",Ji={id:Zi,detector:t=>/^\s*sankey-beta/.test(t),loader:async()=>{const{diagram:t}=await i.e(273).then(i.bind(i,10273));return{id:Zi,diagram:t}}},Qi="block",Ki={id:Qi,detector:t=>/^\s*block-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.all([i.e(985),i.e(498),i.e(398),i.e(509)]).then(i.bind(i,36509));return{id:Qi,diagram:t}}};let tr=!1;const er=()=>{tr||(tr=!0,qi("error",Wi,(t=>"error"===t.toLowerCase().trim())),qi("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new 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")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),Gt(qe,si,oi,Re,Ye,Ge,Xe,ei,ri,Hi,je,ze,Xi,Vi,Ue,ui,hi,fi,Je,Ji,Ke,Ki))};class ir{constructor(t,e={}){this.text=t,this.metadata=e,this.type="graph",this.text=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})),e}(t),this.text+="\n";const i=Me();try{this.type=Vt(t,i)}catch(t){this.type="error",this.detectError=t}const r=$i(this.type);nt.debug("Type "+this.type),this.db=r.db,this.renderer=r.renderer,this.parser=r.parser,this.parser.parser.yy=this.db,this.init=r.init,this.parse()}parse(){var t,e,i,r,n;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t);const o=Me();null==(i=this.init)||i.call(this,o),this.metadata.title&&(null==(n=(r=this.db).setDiagramTitle)||n.call(r,this.metadata.title)),this.parser.parse(this.text)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}}let rr=[];const nr=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();function or(t){return null==t}var ar={isNothing:or,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:or(t)?[]:[t]},repeat:function(t,e){var i,r="";for(i=0;is&&(e=r-s+(o=" ... ").length),i-r>s&&(i=r+s-(a=" ...").length),{str:o+t.slice(e,i).replace(/\t/g,"→")+a,pos:r-e+o.length}}function ur(t,e){return ar.repeat(" ",e-t.length)+t}var dr=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var i,r=/\r?\n|\r|\0/g,n=[0],o=[],a=-1;i=r.exec(t.buffer);)o.push(i.index),n.push(i.index+i[0].length),t.position<=i.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var s,l,h="",c=Math.min(t.line+e.linesAfter,o.length).toString().length,u=e.maxLength-(e.indent+c+3);for(s=1;s<=e.linesBefore&&!(a-s<0);s++)l=cr(t.buffer,n[a-s],o[a-s],t.position-(n[a]-n[a-s]),u),h=ar.repeat(" ",e.indent)+ur((t.line-s+1).toString(),c)+" | "+l.str+"\n"+h;for(l=cr(t.buffer,n[a],o[a],t.position,u),h+=ar.repeat(" ",e.indent)+ur((t.line+1).toString(),c)+" | "+l.str+"\n",h+=ar.repeat("-",e.indent+c+3+l.pos)+"^\n",s=1;s<=e.linesAfter&&!(a+s>=o.length);s++)l=cr(t.buffer,n[a+s],o[a+s],t.position-(n[a]-n[a+s]),u),h+=ar.repeat(" ",e.indent)+ur((t.line+s+1).toString(),c)+" | "+l.str+"\n";return h.replace(/\n$/,"")},fr=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],pr=["scalar","sequence","mapping"],gr=function(t,e){var i,r;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===fr.indexOf(e))throw new hr('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(i=e.styleAliases||null,r={},null!==i&&Object.keys(i).forEach((function(t){i[t].forEach((function(e){r[String(e)]=t}))})),r),-1===pr.indexOf(this.kind))throw new hr('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function yr(t,e){var i=[];return t[e].forEach((function(t){var e=i.length;i.forEach((function(i,r){i.tag===t.tag&&i.kind===t.kind&&i.multi===t.multi&&(e=r)})),i[e]=t})),i}function mr(t){return this.extend(t)}mr.prototype.extend=function(t){var e=[],i=[];if(t instanceof gr)i.push(t);else if(Array.isArray(t))i=i.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new hr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(i=i.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof gr))throw new hr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new hr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new hr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),i.forEach((function(t){if(!(t instanceof gr))throw new hr("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var r=Object.create(mr.prototype);return r.implicit=(this.implicit||[]).concat(e),r.explicit=(this.explicit||[]).concat(i),r.compiledImplicit=yr(r,"implicit"),r.compiledExplicit=yr(r,"explicit"),r.compiledTypeMap=function(){var t,e,i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(t){t.multi?(i.multi[t.kind].push(t),i.multi.fallback.push(t)):i[t.kind][t.tag]=i.fallback[t.tag]=t}for(t=0,e=arguments.length;t=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Tr=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),Ar=/^[-+]?[0-9]+e/,wr=new gr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!Tr.test(t)||"_"===t[t.length-1])},construct:function(t){var e,i;return i="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===i?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:i*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||ar.isNegativeZero(t))},represent:function(t,e){var i;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ar.isNegativeZero(t))return"-0.0";return i=t.toString(10),Ar.test(i)?i.replace("e",".e"):i},defaultStyle:"lowercase"}),Sr=Cr.extend({implicit:[xr,_r,kr,wr]}),Br=Sr,Fr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Lr=new 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]))?))?$"),Mr=new gr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==Fr.exec(t)||null!==Lr.exec(t))},construct:function(t){var e,i,r,n,o,a,s,l,h=0,c=null;if(null===(e=Fr.exec(t))&&(e=Lr.exec(t)),null===e)throw new Error("Date resolve error");if(i=+e[1],r=+e[2]-1,n=+e[3],!e[4])return new Date(Date.UTC(i,r,n));if(o=+e[4],a=+e[5],s=+e[6],e[7]){for(h=e[7].slice(0,3);h.length<3;)h+="0";h=+h}return e[9]&&(c=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(c=-c)),l=new Date(Date.UTC(i,r,n,o,a,s,h)),c&&l.setTime(l.getTime()-c),l},instanceOf:Date,represent:function(t){return t.toISOString()}}),Er=new gr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),Or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",Ir=new gr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,i,r=0,n=t.length,o=Or;for(i=0;i64)){if(e<0)return!1;r+=6}return r%8==0},construct:function(t){var e,i,r=t.replace(/[\r\n=]/g,""),n=r.length,o=Or,a=0,s=[];for(e=0;e>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|o.indexOf(r.charAt(e));return 0==(i=n%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===i?(s.push(a>>10&255),s.push(a>>2&255)):12===i&&s.push(a>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,i,r="",n=0,o=t.length,a=Or;for(e=0;e>18&63],r+=a[n>>12&63],r+=a[n>>6&63],r+=a[63&n]),n=(n<<8)+t[e];return 0==(i=o%3)?(r+=a[n>>18&63],r+=a[n>>12&63],r+=a[n>>6&63],r+=a[63&n]):2===i?(r+=a[n>>10&63],r+=a[n>>4&63],r+=a[n<<2&63],r+=a[64]):1===i&&(r+=a[n>>2&63],r+=a[n<<4&63],r+=a[64],r+=a[64]),r}}),Dr=Object.prototype.hasOwnProperty,Nr=Object.prototype.toString,qr=new gr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,i,r,n,o,a=[],s=t;for(e=0,i=s.length;e>10),56320+(t-65536&1023))}for(var un=new Array(256),dn=new Array(256),fn=0;fn<256;fn++)un[fn]=hn(fn)?1:0,dn[fn]=hn(fn);function pn(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Rr,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function gn(t,e){var i={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return i.snippet=dr(i),new hr(e,i)}function yn(t,e){throw gn(t,e)}function mn(t,e){t.onWarning&&t.onWarning.call(null,gn(t,e))}var Cn={YAML:function(t,e,i){var r,n,o;null!==t.version&&yn(t,"duplication of %YAML directive"),1!==i.length&&yn(t,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(i[0]))&&yn(t,"ill-formed argument of the YAML directive"),n=parseInt(r[1],10),o=parseInt(r[2],10),1!==n&&yn(t,"unacceptable YAML version of the document"),t.version=i[0],t.checkLineBreaks=o<2,1!==o&&2!==o&&mn(t,"unsupported YAML version of the document")},TAG:function(t,e,i){var r,n;2!==i.length&&yn(t,"TAG directive accepts exactly two arguments"),r=i[0],n=i[1],tn.test(r)||yn(t,"ill-formed tag handle (first argument) of the TAG directive"),Wr.call(t.tagMap,r)&&yn(t,'there is a previously declared suffix for "'+r+'" tag handle'),en.test(n)||yn(t,"ill-formed tag prefix (second argument) of the TAG directive");try{n=decodeURIComponent(n)}catch(e){yn(t,"tag prefix is malformed: "+n)}t.tagMap[r]=n}};function xn(t,e,i,r){var n,o,a,s;if(e1&&(t.result+=ar.repeat("\n",e-1))}function wn(t,e){var i,r,n=t.tag,o=t.anchor,a=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),r=t.input.charCodeAt(t.position);0!==r&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,yn(t,"tab characters must not be used in indentation")),45===r)&&an(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,kn(t,!0,-1)&&t.lineIndent<=e)a.push(null),r=t.input.charCodeAt(t.position);else if(i=t.line,Fn(t,e,Yr,!1,!0),a.push(t.result),kn(t,!0,-1),r=t.input.charCodeAt(t.position),(t.line===i||t.lineIndent>e)&&0!==r)yn(t,"bad indentation of a sequence entry");else if(t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente?p=1:t.lineIndent===e?p=0:t.lineIndente)&&(m&&(a=t.line,s=t.lineStart,l=t.position),Fn(t,e,Vr,!0,n)&&(m?g=t.result:y=t.result),m||(bn(t,d,f,p,g,y,a,s,l),p=g=y=null),kn(t,!0,-1),h=t.input.charCodeAt(t.position)),(t.line===o||t.lineIndent>e)&&0!==h)yn(t,"bad indentation of a mapping entry");else if(t.lineIndent=0))break;0===n?yn(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?yn(t,"repeat of an indentation width identifier"):(c=e+n-1,h=!0)}if(on(o)){do{o=t.input.charCodeAt(++t.position)}while(on(o));if(35===o)do{o=t.input.charCodeAt(++t.position)}while(!nn(o)&&0!==o)}for(;0!==o;){for(vn(t),t.lineIndent=0,o=t.input.charCodeAt(t.position);(!h||t.lineIndentc&&(c=t.lineIndent),nn(o))u++;else{if(t.lineIndent0){for(n=a,o=0;n>0;n--)(a=ln(s=t.input.charCodeAt(++t.position)))>=0?o=(o<<4)+a:yn(t,"expected hexadecimal character");t.result+=cn(o),t.position++}else yn(t,"unknown escape sequence");i=r=t.position}else nn(s)?(xn(t,i,r,!0),An(t,kn(t,!1,e)),i=r=t.position):t.position===t.lineStart&&Tn(t)?yn(t,"unexpected end of the document within a double quoted scalar"):(t.position++,r=t.position)}yn(t,"unexpected end of the stream within a double quoted scalar")}(t,d)?y=!0:function(t){var e,i,r;if(42!==(r=t.input.charCodeAt(t.position)))return!1;for(r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!an(r)&&!sn(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&yn(t,"name of an alias node must contain at least one character"),i=t.input.slice(e,t.position),Wr.call(t.anchorMap,i)||yn(t,'unidentified alias "'+i+'"'),t.result=t.anchorMap[i],kn(t,!0,-1),!0}(t)?(y=!0,null===t.tag&&null===t.anchor||yn(t,"alias node should not have any properties")):function(t,e,i){var r,n,o,a,s,l,h,c,u=t.kind,d=t.result;if(an(c=t.input.charCodeAt(t.position))||sn(c)||35===c||38===c||42===c||33===c||124===c||62===c||39===c||34===c||37===c||64===c||96===c)return!1;if((63===c||45===c)&&(an(r=t.input.charCodeAt(t.position+1))||i&&sn(r)))return!1;for(t.kind="scalar",t.result="",n=o=t.position,a=!1;0!==c;){if(58===c){if(an(r=t.input.charCodeAt(t.position+1))||i&&sn(r))break}else if(35===c){if(an(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&Tn(t)||i&&sn(c))break;if(nn(c)){if(s=t.line,l=t.lineStart,h=t.lineIndent,kn(t,!1,-1),t.lineIndent>=e){a=!0,c=t.input.charCodeAt(t.position);continue}t.position=o,t.line=s,t.lineStart=l,t.lineIndent=h;break}}a&&(xn(t,n,o,!1),An(t,t.line-s),n=o=t.position,a=!1),on(c)||(o=t.position+1),c=t.input.charCodeAt(++t.position)}return xn(t,n,o,!1),!!t.result||(t.kind=u,t.result=d,!1)}(t,d,Ur===i)&&(y=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===p&&(y=s&&wn(t,f))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&yn(t,'unacceptable node kind for ! tag; it should be "scalar", not "'+t.kind+'"'),l=0,h=t.implicitTypes.length;l"),null!==t.result&&u.kind!==t.kind&&yn(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+u.kind+'", not "'+t.kind+'"'),u.resolve(t.result,t.tag)?(t.result=u.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):yn(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||y}function Ln(t){var e,i,r,n,o=t.position,a=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(n=t.input.charCodeAt(t.position))&&(kn(t,!0,-1),n=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==n));){for(a=!0,n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!an(n);)n=t.input.charCodeAt(++t.position);for(r=[],(i=t.input.slice(e,t.position)).length<1&&yn(t,"directive name must not be less than one character in length");0!==n;){for(;on(n);)n=t.input.charCodeAt(++t.position);if(35===n){do{n=t.input.charCodeAt(++t.position)}while(0!==n&&!nn(n));break}if(nn(n))break;for(e=t.position;0!==n&&!an(n);)n=t.input.charCodeAt(++t.position);r.push(t.input.slice(e,t.position))}0!==n&&vn(t),Wr.call(Cn,i)?Cn[i](t,i,r):mn(t,'unknown document directive "'+i+'"')}kn(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,kn(t,!0,-1)):a&&yn(t,"directives end mark is expected"),Fn(t,t.lineIndent-1,Vr,!1,!0),kn(t,!0,-1),t.checkLineBreaks&&Qr.test(t.input.slice(o,t.position))&&mn(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Tn(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,kn(t,!0,-1)):t.positiont.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,i)=>"<"+e+i.replace(/="([^"]*)"/g,"='$1'")+">")),Dn=t=>{const{text:e,metadata:i}=function(t){const e=t.match(Rt);if(!e)return{text:t,metadata:{}};let i=On(e[1],{schema:En})??{};i="object"!=typeof i||Array.isArray(i)?{}:i;const r={};return i.displayMode&&(r.displayMode=i.displayMode.toString()),i.title&&(r.title=i.title.toString()),i.config&&(r.config=i.config),{text:t.slice(e[0].length),metadata:r}}(t),{displayMode:r,title:n,config:o={}}=i;return r&&(o.gantt||(o.gantt={}),o.gantt.displayMode=r),{title:n,config:o,text:e}},Nn=t=>{const e=_e.detectInit(t)??{},i=_e.detectDirective(t,"wrap");return Array.isArray(i)?e.wrap=i.some((({type:t})=>{})):"wrap"===(null==i?void 0:i.type)&&(e.wrap=!0),{text:(r=t,r.replace(Wt,"")),directive:e};var r};function qn(t){const e=In(t),i=Dn(e),r=Nn(i.text),n=xe(i.config,r.directive);return{code:t=nr(r.text),title:i.title,config:n}}const $n=["foreignobject"],zn=["dominant-baseline"];function Pn(t){const e=qn(t);return Oe(),i=e.config??{},Pt(i),!i.fontFamily||i.themeVariables&&i.themeVariables.fontFamily||(i.themeVariables={fontFamily:i.fontFamily}),we.push(i),Be(Ae,we),e;var i}const jn=(t,e,i=[])=>`\n.${t} ${e} { ${i.join(" !important; ")} !important; }`,Rn=(t,e,i,r)=>{const n=((t,e={})=>{var i;let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,it.A)(e)){const n=t.htmlLabels||(null==(i=t.flowchart)?void 0:i.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in e){const i=e[t];(0,it.A)(i.styles)||n.forEach((t=>{r+=jn(i.id,t,i.styles)})),(0,it.A)(i.textStyles)||(r+=jn(i.id,"tspan",i.textStyles))}}return r})(t,i);return L(J(`${r}{${((t,e,i)=>{let r="";return t in yi&&yi[t]?r=yi[t](i):nt.warn(`No theme found for ${t}`),` & {\n font-family: ${i.fontFamily};\n font-size: ${i.fontSize};\n fill: ${i.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${i.errorBkgColor};\n }\n & .error-text {\n fill: ${i.errorTextColor};\n stroke: ${i.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${i.lineColor};\n stroke: ${i.lineColor};\n }\n & .marker.cross {\n stroke: ${i.lineColor};\n }\n\n & svg {\n font-family: ${i.fontFamily};\n font-size: ${i.fontSize};\n }\n\n ${r}\n\n ${e}\n`})(e,n,t.themeVariables)}}`),M)},Wn=(t,e,i,r,n)=>{const o=t.append("div");o.attr("id",i),r&&o.attr("style",r);const a=o.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return n&&a.attr("xmlns:xlink",n),a.append("g"),t};function Un(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const Hn=(t,e={})=>{const{code:i}=qn(t);return(async(t,e={})=>{const i=Vt(t,Me());try{$i(i)}catch(t){const e=Yt[i].loader;if(!e)throw new Ht(`Diagram ${i} not found.`);const{id:r,diagram:n}=await e();qi(r,n)}return new ir(t,e)})(i,e)},Yn=Object.freeze({render:async function(t,e,i){var r,n,o,l,h,c;er();const u=Pn(e);e=u.code;const d=Me();nt.debug(d),e.length>((null==d?void 0:d.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");const f="#"+t,p="i"+t,g="#"+p,y="d"+t,m="#"+y;let C=(0,a.Ltv)("body");const x="sandbox"===d.securityLevel,_="loose"===d.securityLevel,b=d.fontFamily;if(void 0!==i){if(i&&(i.innerHTML=""),x){const t=Un((0,a.Ltv)(i),p);C=(0,a.Ltv)(t.nodes()[0].contentDocument.body),C.node().style.margin=0}else C=(0,a.Ltv)(i);Wn(C,t,y,`font-family: ${b}`,"http://www.w3.org/1999/xlink")}else{if(((t,e,i,r)=>{var n,o,a;null==(n=t.getElementById(e))||n.remove(),null==(o=t.getElementById(i))||o.remove(),null==(a=t.getElementById(r))||a.remove()})(document,t,y,p),x){const t=Un((0,a.Ltv)("body"),p);C=(0,a.Ltv)(t.nodes()[0].contentDocument.body),C.node().style.margin=0}else C=(0,a.Ltv)("body");Wn(C,t,y)}let v,k;try{v=await Hn(e,{title:u.title})}catch(t){v=new ir("error"),k=t}const T=C.select(m).node(),A=v.type,w=T.firstChild,S=w.firstChild,B=null==(n=(r=v.renderer).getClasses)?void 0:n.call(r,e,v),F=Rn(d,A,B,f),L=document.createElement("style");L.innerHTML=F,w.insertBefore(L,S);try{await v.renderer.draw(e,t,ve,v)}catch(i){throw Ri.draw(e,t,ve),i}!function(t,e,i,r){(function(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)})(e,t),function(t,e,i,r){if(void 0!==t.insert){if(i){const e=`chart-desc-${r}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(i)}if(e){const i=`chart-title-${r}`;t.attr("aria-labelledby",i),t.insert("title",":first-child").attr("id",i).text(e)}}}(e,i,r,e.attr("id"))}(A,C.select(`${m} svg`),null==(l=(o=v.db).getAccTitle)?void 0:l.call(o),null==(c=(h=v.db).getAccDescription)?void 0:c.call(h)),C.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let M=C.select(m).node().innerHTML;if(nt.debug("config.arrowMarkerAbsolute",d.arrowMarkerAbsolute),M=((t="",e,i)=>{let r=t;return i||e||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=be(r),r=r.replace(/
/g,"
"),r})(M,x,pt(d.arrowMarkerAbsolute)),x?M=((t="",e)=>{var i,r;return``})(M,C.select(m+" svg").node()):_||(M=s.sanitize(M,{ADD_TAGS:$n,ADD_ATTR:zn})),rr.forEach((t=>{t()})),rr=[],k)throw k;const E=x?g:m,O=(0,a.Ltv)(E).node();return O&&"remove"in O&&O.remove(),{svg:M,bindFunctions:v.db.bindFunctions}},parse:async function(t,e){er(),t=Pn(t).code;try{await Hn(t)}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}return!0},getDiagramFromText:Hn,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),Te=Jt({},t),(null==t?void 0:t.theme)&&t.theme in It?t.themeVariables=It[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=It.default.getThemeVariables(t.themeVariables));const i="object"==typeof t?(r=t,Ae=Jt({},ke),Ae=Jt(Ae,r),r.theme&&It[r.theme]&&(Ae.themeVariables=It[r.theme].getThemeVariables(r.themeVariables)),Be(Ae,we),Ae):Fe();var r;ot(i.logLevel),er()},getConfig:Me,setConfig:Le,getSiteConfig:Fe,updateSiteConfig:t=>(Ae=Jt(Ae,t),Be(Ae,we),Ae),reset:()=>{Oe()},globalReset:()=>{Oe(ke)},defaultConfig:ke});ot(Me().logLevel),Oe(Me());const Vn=(t,e,i)=>{nt.warn(t),me(t)?(i&&i(t.str,t.hash),e.push({...t,message:t.str,error:t})):(i&&i(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},Gn=async function(t={querySelector:".mermaid"}){try{await Xn(t)}catch(e){if(me(e)&&nt.error(e.str),io.parseError&&io.parseError(e),!t.suppressErrors)throw nt.error("Use the suppressErrors option to suppress these errors"),e}},Xn=async function({postRenderCallback:t,querySelector:e,nodes:i}={querySelector:".mermaid"}){const n=Yn.getConfig();let o;if(nt.debug((t?"":"No ")+"Callback function found"),i)o=i;else{if(!e)throw new Error("Nodes and querySelector are both undefined");o=document.querySelectorAll(e)}nt.debug(`Found ${o.length} diagrams`),void 0!==(null==n?void 0:n.startOnLoad)&&(nt.debug("Start On Load: "+(null==n?void 0:n.startOnLoad)),Yn.updateSiteConfig({startOnLoad:null==n?void 0:n.startOnLoad}));const a=new _e.InitIDGenerator(n.deterministicIds,n.deterministicIDSeed);let s;const l=[];for(const e of Array.from(o)){if(nt.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");const i=`mermaid-${a.next()}`;s=e.innerHTML,s=(0,r.T)(_e.entityDecode(s)).trim().replace(//gi,"
");const n=_e.detectInit(s);n&&nt.debug("Detected early reinit: ",n);try{const{svg:r,bindFunctions:n}=await eo(i,s,e);e.innerHTML=r,t&&await t(i),n&&n(e)}catch(t){Vn(t,l,io.parseError)}}if(l.length>0)throw l[0]},Zn=function(t){Yn.initialize(t)},Jn=function(){if(io.startOnLoad){const{startOnLoad:t}=Yn.getConfig();t&&io.run().catch((t=>nt.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",Jn,!1);const Qn=[];let Kn=!1;const to=async()=>{if(!Kn){for(Kn=!0;Qn.length>0;){const t=Qn.shift();if(t)try{await t()}catch(t){nt.error("Error executing queue",t)}}Kn=!1}},eo=(t,e,i)=>new Promise(((r,n)=>{Qn.push((()=>new Promise(((o,a)=>{Yn.render(t,e,i).then((t=>{o(t),r(t)}),(t=>{var e;nt.error("Error parsing",t),null==(e=io.parseError)||e.call(io,t),a(t),n(t)}))})))),to().catch(n)})),io={startOnLoad:!0,mermaidAPI:Yn,parse:async(t,e)=>new Promise(((i,r)=>{Qn.push((()=>new Promise(((n,o)=>{Yn.parse(t,e).then((t=>{n(t),i(t)}),(t=>{var e;nt.error("Error parsing",t),null==(e=io.parseError)||e.call(io,t),o(t),r(t)}))})))),to().catch(r)})),render:eo,init:async function(t,e,i){nt.warn("mermaid.init is deprecated. Please use run instead."),t&&Zn(t);const r={postRenderCallback:i,querySelector:".mermaid"};"string"==typeof e?r.querySelector=e:e&&(e instanceof HTMLElement?r.nodes=[e]:r.nodes=e),await Gn(r)},run:Gn,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{Gt(...t),!1===e&&await(async()=>{nt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Yt).map((async([t,{detector:e,loader:i}])=>{if(i)try{$i(t)}catch(r){try{const{diagram:t,id:r}=await i();qi(r,t,e)}catch(e){throw nt.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Yt[t],e}}})))).filter((t=>"rejected"===t.status));if(t.length>0){nt.error(`Failed to load ${t.length} external diagrams`);for(const e of t)nt.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})()},initialize:Zn,parseError:void 0,contentLoaded:Jn,setParseErrorHandler:function(t){io.parseError=t},detectType:Vt}},46682:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>r.N});var r=i(59659);i(92329),i(88641),i(84017),i(31998)}}]); \ No newline at end of file diff --git a/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt b/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt new file mode 100644 index 00000000..110c6efd --- /dev/null +++ b/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt @@ -0,0 +1,9 @@ +/*! + * Wait for document loaded before starting the execution + */ + +/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */ + +/*! Check if previously processed */ + +/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */ diff --git a/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt.br b/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt.br new file mode 100644 index 00000000..adf6fb50 --- /dev/null +++ b/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt.br @@ -0,0 +1,2 @@ +m@M-NӺ\^yV K(Ut@ѓÉfy `&Ec6(*4^Sф!Q,e*/akfOb̘[~*2 +9W*]~8k]]K"2 9+Hd{2 ; GQ4`ѪƁaR{4d$]^uU2I< \ No newline at end of file diff --git a/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt.gz b/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt.gz new file mode 100644 index 00000000..3c52295a Binary files /dev/null and b/assets/chunk.fb4ed28698ec6bc8b2d4.js.LICENSE.txt.gz differ diff --git a/assets/chunk.fb4ed28698ec6bc8b2d4.js.br b/assets/chunk.fb4ed28698ec6bc8b2d4.js.br new file mode 100644 index 00000000..63bbce43 Binary files /dev/null and b/assets/chunk.fb4ed28698ec6bc8b2d4.js.br differ diff --git a/assets/chunk.fb4ed28698ec6bc8b2d4.js.gz b/assets/chunk.fb4ed28698ec6bc8b2d4.js.gz new file mode 100644 index 00000000..33333fac Binary files /dev/null and b/assets/chunk.fb4ed28698ec6bc8b2d4.js.gz differ diff --git a/assets/circle-question.svg b/assets/circle-question.svg new file mode 100644 index 00000000..f36937ce --- /dev/null +++ b/assets/circle-question.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/circle-question.svg.br b/assets/circle-question.svg.br new file mode 100644 index 00000000..b1b2cf19 Binary files /dev/null and b/assets/circle-question.svg.br differ diff --git a/assets/circle-question.svg.gz b/assets/circle-question.svg.gz new file mode 100644 index 00000000..f6736519 Binary files /dev/null and b/assets/circle-question.svg.gz differ diff --git a/assets/color-mode.svg b/assets/color-mode.svg new file mode 100644 index 00000000..27ea96a9 --- /dev/null +++ b/assets/color-mode.svg @@ -0,0 +1 @@ + diff --git a/assets/color-mode.svg.br b/assets/color-mode.svg.br new file mode 100644 index 00000000..405aea03 Binary files /dev/null and b/assets/color-mode.svg.br differ diff --git a/assets/color-mode.svg.gz b/assets/color-mode.svg.gz new file mode 100644 index 00000000..217c5fe4 Binary files /dev/null and b/assets/color-mode.svg.gz differ diff --git a/assets/copy.svg b/assets/copy.svg new file mode 100644 index 00000000..cdd70f7b --- /dev/null +++ b/assets/copy.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/assets/copy.svg.br b/assets/copy.svg.br new file mode 100644 index 00000000..646c4a66 Binary files /dev/null and b/assets/copy.svg.br differ diff --git a/assets/copy.svg.gz b/assets/copy.svg.gz new file mode 100644 index 00000000..d319df3c Binary files /dev/null and b/assets/copy.svg.gz differ diff --git a/assets/crate.svg b/assets/crate.svg new file mode 100644 index 00000000..9032b255 --- /dev/null +++ b/assets/crate.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/crate.svg.br b/assets/crate.svg.br new file mode 100644 index 00000000..d10b0898 Binary files /dev/null and b/assets/crate.svg.br differ diff --git a/assets/crate.svg.gz b/assets/crate.svg.gz new file mode 100644 index 00000000..4a8a0e35 Binary files /dev/null and b/assets/crate.svg.gz differ diff --git a/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css b/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css new file mode 100644 index 00000000..09a26555 --- /dev/null +++ b/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css @@ -0,0 +1,2 @@ +@keyframes _spinner_quttc0{0%{transform:rotate(0deg)}to{transform:rotate(360deg)}}@keyframes _backgroundAnimation_el4r1x{0%{background-position:-500px}to{background-position:500px}}._sr-only_1igkyf{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}._button-reset_g91299{padding:0;border:0;outline:0;font:inherit;color:inherit;background:0 0}._button_g91299{--text-color:#383838;--disabled-text-color:#858585;--bg-color-top:#fede9e;--bg-color-bottom:#fdc452;--bg-color-top-light:#fee7b7;--bg-color-bottom-light:#fdcd6b;--bg-color-top-dark:#fed585;--bg-color-bottom-dark:#fdbb39;padding:var(--space-xs) var(--space-m-l);display:inline-flex;align-items:center;justify-content:center;-webkit-text-decoration:none;text-decoration:none;font-weight:700;border:0;outline:0;border-radius:5000px;background:linear-gradient(to bottom,var(--bg-color-top) 0%,var(--bg-color-bottom) 100%);cursor:pointer}._button_g91299,._button_g91299:active,._button_g91299:hover,._button_g91299:visited{color:var(--text-color)}._button_g91299 img,._button_g91299 svg{float:left;display:inline-block;margin-right:var(--space-2xs)}._button_g91299._active_g91299,._button_g91299:focus,._button_g91299:hover{background:linear-gradient(to bottom,var(--bg-color-top-dark) 0%,var(--bg-color-bottom-dark) 100%);outline:0}._button_g91299[disabled]{background:linear-gradient(to bottom,var(--bg-color-top-light) 0%,var(--bg-color-bottom-light) 100%);color:var(--disabled-text-color)}._tan-button_g91299{--bg-color-top:#e8e3c7;--bg-color-bottom:#d6cd99;--bg-color-top-light:#efecd9;--bg-color-bottom-light:#ddd6ab;--bg-color-top-dark:#e1dab5;--bg-color-bottom-dark:#cfc487}._small_g91299{padding:var(--space-2xs) var(--space-s)}._dropdown_vf10gd{line-height:1rem}._icon_vf10gd{width:1.4em;height:auto}._trigger_vf10gd{background:0 0;border:0;padding:0}._menu_vf10gd{right:0;min-width:max-content}._menu-button_vf10gd{align-items:center;gap:var(--space-2xs);cursor:pointer;text-transform:capitalize}._selected_vf10gd{--csstools-light-dark-toggle--0:var(--csstools-color-scheme--dark) #e6e6e6;background:var(--csstools-light-dark-toggle--0, #404040)}._small_1oyocj{color:var(--main-color-light);font-size:80%}._small_1oyocj strong{color:var(--main-color)}._small_1oyocj .tooltip strong{color:inherit}._small_1oyocj a,a._small_1oyocj{color:var(--main-color-light);-webkit-text-decoration:underline;text-decoration:underline;font-weight:400}._small_1oyocj a:hover,a._small_1oyocj:hover{color:#6b6b6b}._crate-row_1unvv5{display:flex;flex-wrap:wrap;padding:var(--space-s-m) var(--space-m-l);--csstools-light-dark-toggle--2:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--2, #141413);border-radius:var(--space-3xs);box-shadow:var(--shadow)}._crate-row_1unvv5,._crate-row_1unvv5 *{--csstools-light-dark-toggle--1:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);--shadow:0 1px 3px var(--csstools-light-dark-toggle--1, #232321)}._description-box_1unvv5{display:flex;flex-direction:column;width:70%}._name_1unvv5{color:var(--main-color);font-weight:700;-webkit-text-decoration:none;text-decoration:none;font-size:120%;overflow-wrap:break-word}._version_1unvv5{margin-left:var(--space-2xs)}._copy-button_1unvv5{padding:0 var(--space-2xs);color:var(--main-color);cursor:pointer;opacity:0;transition:var(--transition-medium)}._crate-row_1unvv5:hover ._copy-button_1unvv5{opacity:.8;transition:var(--transition-instant)}._copy-button_1unvv5:focus,._crate-row_1unvv5:hover ._copy-button_1unvv5:hover{opacity:1;transition:var(--transition-instant)}._copy-button_1unvv5 svg{height:1rem;width:1rem}._description_1unvv5{margin-top:var(--space-xs);line-height:1.5}._stats_1unvv5{width:30%;color:var(--main-color-light)}._stats_1unvv5>*+*{margin-top:var(--space-xs)}._stats_1unvv5 svg{height:1em;width:1em;margin-right:var(--space-xs);flex-shrink:0}._stats_1unvv5 svg._download-icon_1unvv5{height:calc(1em + 20px);width:calc(1em + 20px);margin:-10px;margin-right:calc(var(--space-xs) - 10px)}._pagination_h31eca ._next_h31eca circle,._pagination_h31eca ._prev_h31eca circle,._stats_1unvv5 svg._download-icon_1unvv5 circle{fill:none}._downloads_1unvv5,._recent-downloads_1unvv5,._updated-at_1unvv5{display:flex;align-items:center}ul._quick-links_1unvv5{display:flex;flex-direction:row;flex-wrap:wrap;font-size:80%;list-style-type:none;margin:var(--space-xs) 0 0 0;padding:0}ul._quick-links_1unvv5>*+*{margin-left:var(--space-xs)}._sidebar_1nmwg6{display:flex;flex-direction:column}._sidebar_1nmwg6>*+*{margin-top:var(--space-m)}._heading_1nmwg6{font-size:1.17em;margin:0 0 var(--space-s)}._metadata_1nmwg6>*+*{margin-top:var(--space-2xs)}._bytes_1nmwg6,._date_1nmwg6,._license_1nmwg6,._msrv_1nmwg6{display:flex;align-items:center}._bytes_1nmwg6 svg,._date_1nmwg6 svg,._license_1nmwg6 svg,._msrv_1nmwg6 svg{flex-shrink:0;margin-right:var(--space-2xs);height:1em;width:auto}._date_1nmwg6 .ember-tooltip-target,._date_1nmwg6 [title],._msrv_1nmwg6 .ember-tooltip-target,._msrv_1nmwg6 [title]{cursor:help}._license_1nmwg6 a{color:var(--main-color)}._bytes_1nmwg6{font-feature-settings:"tnum";font-variant-numeric:tabular-nums}._links_1nmwg6>*+*{margin-top:var(--space-m)}._categories_1nmwg6{margin:0;padding-left:20px;line-height:1.5}._playground-button_1nmwg6{justify-content:center;width:220px}._playground-help_1nmwg6{max-width:220px;text-align:justify;line-height:1.3em}._content_iw1br3{display:flex;align-items:center}._icon_iw1br3{flex-shrink:0;height:1em;width:auto;margin-right:var(--space-2xs)}._link_iw1br3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._friendly-message_fp7kwx{margin-top:0}._row_fp7kwx{width:100%;border:1px solid #d5d3cb;border-bottom-width:0;padding:var(--space-2xs) var(--space-s);display:flex;align-items:center}._row_fp7kwx:last-child{border-bottom-width:1px}._label_fp7kwx{flex:1;margin-right:var(--space-xs);font-weight:700}._email-column_fp7kwx{flex:20}._verified_fp7kwx{color:green;font-weight:700}._email-form_fp7kwx{flex:10;display:inline-flex;justify-content:space-between;flex-wrap:wrap}._input_fp7kwx{width:400px;margin-right:var(--space-xs)}._actions_fp7kwx{display:flex;align-items:center}._save-button_fp7kwx{margin-right:var(--space-2xs)}._button_1pva0m{height:48px;width:150px;justify-content:center}:root,[data-theme=classic]{--violet800:hsl(252, 44%, 24%);--grey900:hsl(200, 15%, 19%);--grey700:hsl(200, 11%, 43%);--grey600:hsl(200, 13%, 60%);--grey200:hsl(200, 17%, 96%);--green800:hsl(115, 31%, 31%);--green900:hsl(115, 31%, 21%);--orange-50:#fff7ed;--orange-100:#ffedd5;--orange-200:#fed7aa;--orange-300:#fdba74;--orange-400:#fb923c;--orange-500:#f97316;--orange-600:#ea580c;--orange-700:#c2410c;--orange-800:#9a3412;--orange-900:#7c2d12;--yellow500:#f98a25;--yellow700:#fb7123;--header-bg-color:#153448;--transition-x-slow:1000ms;--transition-slow:500ms;--transition-medium:250ms;--transition-fast:150ms;--transition-x-fast:50ms;--transition-instant:0ms;--font-heading:"Fira Sans", sans-serif;--font-body:var(--font-heading);--font-monospace:"Fira Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", + "Courier New", monospace;--main-shadow-color:#948979;--main-bg:#3C5B6F;--main-bg-dark:#153448;--link-color:#f98a25;--link-hover-color:#fb7123;--placeholder-bg:hsl(212, 7%, 57%);--placeholder-bg2:hsl(213, 16%, 75%);--space-4xs:clamp(0.13rem, calc(0.13rem + 0.00vw), 0.13rem);--space-3xs:clamp(0.25rem, calc(0.23rem + 0.12vw), 0.31rem);--space-2xs:clamp(0.44rem, calc(0.39rem + 0.24vw), 0.56rem);--space-xs:clamp(0.69rem, calc(0.61rem + 0.37vw), 0.88rem);--space-s:clamp(0.88rem, calc(0.78rem + 0.49vw), 1.13rem);--space-m:clamp(1.31rem, calc(1.17rem + 0.73vw), 1.69rem);--space-l:clamp(1.75rem, calc(1.55rem + 0.98vw), 2.25rem);--space-xl:clamp(2.63rem, calc(2.33rem + 1.46vw), 3.38rem);--space-2xl:clamp(3.50rem, calc(3.11rem + 1.95vw), 4.50rem);--space-3xl:clamp(5.25rem, calc(4.66rem + 2.93vw), 6.75rem);--space-4xs-3xs:clamp(0.13rem, calc(0.05rem + 0.37vw), 0.31rem);--space-3xs-2xs:clamp(0.25rem, calc(0.13rem + 0.61vw), 0.56rem);--space-2xs-xs:clamp(0.44rem, calc(0.27rem + 0.85vw), 0.88rem);--space-xs-s:clamp(0.69rem, calc(0.52rem + 0.85vw), 1.13rem);--space-s-m:clamp(0.88rem, calc(0.56rem + 1.59vw), 1.69rem);--space-m-l:clamp(1.31rem, calc(0.95rem + 1.83vw), 2.25rem);--space-l-xl:clamp(1.75rem, calc(1.12rem + 3.17vw), 3.38rem);--space-xl-2xl:clamp(2.63rem, calc(1.89rem + 3.66vw), 4.50rem);--space-2xl-3xl:clamp(3.50rem, calc(2.23rem + 6.34vw), 6.75rem);--space-s-l:clamp(0.88rem, calc(0.34rem + 2.68vw), 2.25rem);--csstools-color-scheme--dark: ;color-scheme:light dark}:root,:root *,[data-theme=classic],[data-theme=classic] *{--csstools-light-dark-toggle--3:var(--csstools-color-scheme--dark) #383838;--main-color:var(--csstools-light-dark-toggle--3, #f9f7ec);--csstools-light-dark-toggle--4:var(--csstools-color-scheme--dark) #858585;--main-color-light:var(--csstools-light-dark-toggle--4, #a6a6a6);--csstools-light-dark-toggle--5:var(--csstools-color-scheme--dark) #d5d3cb;--gray-border:var(--csstools-light-dark-toggle--5, #666561)}@media (prefers-color-scheme:dark){:root,[data-theme=classic]{--csstools-color-scheme--dark:initial}}[data-color-scheme=light]{--csstools-color-scheme--dark: ;color-scheme:light}[data-color-scheme=dark]{--csstools-color-scheme--dark:initial;color-scheme:dark}*{box-sizing:border-box}body,html{margin:0;scroll-behavior:smooth}body{background-color:var(--header-bg-color);font-family:var(--font-body);font-size:16px;display:flex;flex-direction:column;min-height:100vh}h1,h2,h3,h4{font-family:var(--font-heading)}@media only screen and (max-width:400px){h1{font-size:1.5em}}._link_17u5gr,a{color:var(--link-color);-webkit-text-decoration:none;text-decoration:none;cursor:pointer}:is(a,._link_17u5gr):hover{color:var(--link-hover-color)}a:not([href]){color:initial;cursor:initial}pre.terminal{background:var(--main-color);color:#fff;padding:var(--space-s);font-family:var(--font-monospace)}abbr[title]{-webkit-text-decoration:none;text-decoration:none;border-bottom:1px dotted}noscript{display:grid;justify-items:center;padding:var(--space-m);color:#fff}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-text,::-webkit-datetime-edit-year-field{padding:0}::-webkit-calendar-picker-indicator{font-size:.9em}.c-notification__icon{display:flex;justify-content:center;align-items:center}.c-notification__content{line-height:1.5}._width-limit_17u5gr{width:960px}@media only screen and (max-width:960px){._width-limit_17u5gr{width:100%}}._main_17u5gr{flex-grow:1;display:flex;justify-content:center;width:100%;position:relative;background-color:var(--main-bg);color:var(--main-color);box-shadow:0 0 6px 0 var(--main-shadow-color)}._inner-main_17u5gr{--main-layout-padding:var(--space-s);display:flex;flex-direction:column;padding:var(--main-layout-padding)}.ember-tooltip{font-weight:400}:root,[data-theme=classic]{--footer-bg-color:var(--header-bg-color);--footer-header-color:var(--yellow500);--footer-header-shadow-color:var(--green900);--footer-link-color:#fff;--footer-link-hover-color:var(--yellow500);--footer-link-hover-shadow-color:var(--green900)}._footer_hautyr{display:grid;justify-items:center;background:var(--footer-bg-color)}._content_hautyr{display:grid;gap:var(--space-xl) var(--space-m);padding:var(--space-l)}@media only screen and (min-width:551px){._content_hautyr{grid-template-columns:repeat(2,1fr);justify-content:center;padding:var(--space-xl) var(--space-m)}}@media only screen and (min-width:751px){._content_hautyr{grid-template-columns:repeat(4,1fr)}}._content_hautyr h1{margin:0 0 var(--space-s);font-size:20px;font-weight:500;color:var(--footer-header-color);text-shadow:1px 1px 1px var(--footer-header-shadow-color)}._content_hautyr ul{list-style:none;margin:0;padding:0}:is(._content_hautyr ul)>*+*{margin-top:var(--space-xs)}._content_hautyr li{height:1rem}._content_hautyr a{display:inline-flex;margin:calc(var(--space-2xs)*-1);padding:var(--space-2xs);color:#fff;font-size:16px;line-height:1em;white-space:nowrap;transition:var(--transition-medium)}._content_hautyr a:hover{color:var(--footer-link-hover-color);text-shadow:1px 1px 1px var(--footer-link-hover-shadow-color);transition:var(--transition-instant)}._content_hautyr a:hover svg{filter:drop-shadow(1px 1px 1px var(--footer-link-hover-shadow-color))}._content_hautyr svg{height:1.25em;width:1.25em;margin:-.125em var(--space-xs) -.125em 0;flex-shrink:0}._header_1hc36y{display:flex;justify-content:center;width:100%}._header-inner_1hc36y{display:grid;grid-template:"logo search nav" auto/auto 1fr auto;align-items:center;padding:var(--space-xs) var(--space-m);color:#fff}._header-inner_1hc36y a{color:#fff;-webkit-text-decoration:none;text-decoration:none}._header-inner_1hc36y a:hover{color:#fff}@media only screen and (max-width:900px){._header-inner_1hc36y{grid-template:"logo search menu" auto/auto 1fr auto}}@media only screen and (max-width:820px){._header-inner_1hc36y{grid-template:"logo menu" auto "search search" auto/auto 1fr}}._hero_1hc36y ._header-inner_1hc36y{grid-template:"logo nav" auto "search search" auto/auto 1fr}@media only screen and (max-width:900px){._hero_1hc36y ._header-inner_1hc36y{grid-template:"logo menu" auto "search search" auto/auto 1fr}}._index-link_1hc36y{grid-area:logo;display:flex;align-items:center}._index-link_1hc36y h1{margin:0;font-size:var(--space-m)}._logo_1hc36y{width:auto;height:calc(var(--space-m)*1.4);margin-right:var(--space-xs)}._search-form_1hc36y{grid-area:search;margin:0 var(--space-m)}@media only screen and (max-width:820px){._search-form_1hc36y{margin:var(--space-s) 0}}._hero_1hc36y ._search-form_1hc36y{justify-self:center;padding:var(--space-l) 0 var(--space-l-xl);margin:0}._hero-title_1hc36y{display:none;margin:0 0 var(--space-m);font-size:var(--space-m-l);text-align:center;color:#fff;text-shadow:1px 3px 2px var(--green900)}._hero_1hc36y ._hero-title_1hc36y{display:block}._sep_1hc36y{margin:0 var(--space-2xs);opacity:.5}._nav_1hc36y{grid-area:nav;display:flex;align-items:center;justify-self:end}@media only screen and (max-width:900px){._nav_1hc36y{display:none}}._menu_1hc36y{grid-area:menu;justify-self:end;display:none}@media only screen and (max-width:900px){._menu_1hc36y{display:flex;align-items:center}}._menu-item-with-separator_1hc36y{border-top:1px solid var(--gray-border)}._color-scheme-menu_1hc36y{margin-right:var(--space-xs)}._login-button_1hc36y{display:inline-flex;align-items:center;margin:calc(var(--space-2xs)*-1);padding:var(--space-2xs);cursor:pointer}._login-button_1hc36y:disabled{cursor:wait}._login-button_1hc36y ._spinner_1hc36y{--spinner-color:white;--spinner-bg-color:rgba(255, 255, 255, .2);margin-right:var(--space-2xs)}._login-icon_1hc36y{width:1em;opacity:.5}._avatar_1hc36y,._login-icon_1hc36y{margin-right:var(--space-2xs)}._wizard-hat_1hc36y{margin-right:var(--space-3xs)}._current-user-links_1hc36y{left:auto;right:0;min-width:200px}._dropdown-button_1hc36y{background:0 0;border:0;padding:0}._dropdown-button_1hc36y img{margin-top:calc((22px - 1em)*-.5)}._login-menu-item_1hc36y,._logout-menu-item_1hc36y,._sudo-menu-item_1hc36y{cursor:pointer}._login-menu-item_1hc36y:disabled,._logout-menu-item_1hc36y:disabled,._sudo-menu-item_1hc36y:disabled{cursor:wait}._login-menu-item_1hc36y ._spinner_1hc36y,._logout-menu-item_1hc36y ._spinner_1hc36y,._sudo-menu-item_1hc36y ._spinner_1hc36y{margin-right:var(--space-2xs)}._sudo-menu-item_1hc36y{flex-direction:column}._sudo-menu-item_1hc36y>._expires-in_1hc36y{font-size:80%;font-style:italic;padding-top:var(--space-3xs)}._spinner_quttc0,._spinner_quttc0:after{width:var(--spinner-size);height:var(--spinner-size)}._spinner_quttc0{--spinner-color:black;--spinner-bg-color:rgba(0, 0, 0, .2);--spinner-size:16px;display:inline-block}._spinner_quttc0:after{content:" ";display:block;box-sizing:border-box;border-radius:50%;border:calc(var(--spinner-size)/5.5) solid var(--spinner-color);border-color:var(--spinner-bg-color) var(--spinner-bg-color) var(--spinner-color) var(--spinner-bg-color);animation:_spinner_quttc0 1.2s linear infinite}._label_otuoju{display:flex;align-items:center;background-color:#fff;border:1px solid #d5d3cb;padding:var(--space-xs) var(--space-m);font-weight:700;cursor:pointer;transition:color var(--transition-medium) ease-in}._label_otuoju._checked_otuoju{background-color:var(--main-bg-dark)}._name_otuoju{flex-grow:1}._checkbox_otuoju{display:grid;place-items:center;flex-shrink:0;width:var(--space-l);height:var(--space-l);margin-left:var(--space-m);border:2px solid #d5d3cb;border-radius:50%}._checked_otuoju ._checkbox_otuoju{background-color:#cfc487;border-color:#cfc487}._list_1ipg5d._detailed_1ipg5d{list-style:none;padding:0;margin:0}._list_1ipg5d._detailed_1ipg5d>*+*{margin-top:5px}._list_1ipg5d._detailed_1ipg5d ._link_1ipg5d{display:grid;grid-template-columns:auto 1fr;align-items:center}._list_1ipg5d._detailed_1ipg5d ._avatar_1ipg5d{margin-right:10px}._list_1ipg5d._detailed_1ipg5d ._name_1ipg5d{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._list_1ipg5d:not(._detailed_1ipg5d){display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:0 0 -10px}._list_1ipg5d:not(._detailed_1ipg5d)>*{margin:0 10px 10px 0}._avatar_1ipg5d{border-radius:50%;background:#fff;box-shadow:1px 2px 2px 0 rgba(168,151,56,.35);padding:1px}._team_1ipg5d ._avatar_1ipg5d{border-radius:4px}._row_g17iti{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap}._crate-column_g17iti{width:200px}._crate-column_g17iti h3,._header_1tl449 h1{margin:0}._highlight_13ksgr{color:var(--main-color);font-weight:700}._form_17hnvp{--border-radius:5000px;--submit-icon-size:1em;--submit-button-padding-left:var(--space-2xs);--submit-button-padding-right:var(--space-xs);--submit-button-width:calc(var(--submit-button-padding-left) + var(--submit-icon-size) + var(--submit-button-padding-right));--input-padding:var(--space-3xs);--input-padding-left:var(--space-xs);--input-padding-right:calc(var(--submit-button-width) + var(--input-padding));position:relative;font-size:calc(var(--space-s)*.9)}._form_17hnvp._size-big_17hnvp{--input-padding:8px;--input-padding-left:16px;--submit-button-padding-left:12px;--submit-button-padding-right:16px;font-size:var(--space-s)}._input_17hnvp{--search-form-focus-shadow:0 0 0 var(--space-3xs) var(--yellow500);border:0;--csstools-light-dark-toggle--28:var(--csstools-color-scheme--dark) black;color:var(--csstools-light-dark-toggle--28, var(--main-color));--csstools-light-dark-toggle--29:var(--csstools-color-scheme--dark) white;background:var(--csstools-light-dark-toggle--29, hsl(0, 1%, 19%));width:100%;padding:var(--input-padding) var(--input-padding-right) var(--input-padding) var(--input-padding-left);border-radius:var(--border-radius);--csstools-light-dark-toggle--30:var(--csstools-color-scheme--dark) var(--green900);box-shadow:1px 2px 4px 0 var(--csstools-light-dark-toggle--30, hsl(111, 10%, 8%));transition:box-shadow var(--transition-fast)}._input_17hnvp:focus{outline:0;box-shadow:var(--search-form-focus-shadow),1px 2px 3px 4px var(--green900)}@media only screen and (max-width:820px){._input-lg_17hnvp{display:none}}._input-sm_17hnvp{display:none}@media only screen and (max-width:820px){._input-sm_17hnvp{display:unset}}._submit-button_17hnvp{position:absolute;right:-.5px;top:0;bottom:0;display:inline-grid;place-items:center;padding-left:var(--submit-button-padding-left);padding-right:var(--submit-button-padding-right);color:#fff;background-color:var(--yellow500);border-top-right-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);cursor:pointer}._submit-button_17hnvp:hover{background-color:var(--yellow700)}._submit-icon_17hnvp{width:var(--submit-icon-size);height:var(--submit-icon-size)}._me-subheading_p8odmp{display:flex}._me-subheading_p8odmp ._right_p8odmp{flex:2;display:flex;justify-content:flex-end;align-self:center}._explainer_p8odmp{line-height:1.5}._token-list_p8odmp{margin:var(--space-m) 0;padding:0;list-style:none;border-radius:var(--space-3xs);--csstools-light-dark-toggle--31:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--31, #141413);--csstools-light-dark-toggle--32:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--32, #232321)}._token-list_p8odmp>*{padding:var(--space-m)}._token-list_p8odmp>*+*{--csstools-light-dark-toggle--33:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--33, #424242)}._name_p8odmp{margin:0 0 var(--space-s);font-weight:500}._metadata_p8odmp>*+*,._scopes_p8odmp>*+*{margin-top:var(--space-3xs)}._scopes_p8odmp{margin-bottom:var(--space-xs)}._new-token-form_p8odmp{padding:var(--space-m);border-radius:var(--space-3xs);background-color:#fff;box-shadow:0 2px 3px rgba(168,151,56,.35);margin-top:var(--space-m)}._new-token-form_p8odmp ._input_p8odmp{padding:var(--space-2xs);width:100%;border:1px solid #ada796;border-radius:var(--space-3xs)}._actions_p8odmp{margin-top:var(--space-s);display:flex;align-items:center}._spinner_p8odmp{margin-left:var(--space-xs)}._regenerate-button_p8odmp,._revoke-button_p8odmp,._save-button_p8odmp{flex-grow:1;border-radius:var(--space-3xs)}._new-token_p8odmp{margin-top:var(--space-s)}._new-token-explainer_p8odmp{font-size:20px}._token-display_p8odmp{display:grid;grid-template-columns:1fr auto;align-items:center;background:var(--main-color);--csstools-light-dark-toggle--6:var(--csstools-color-scheme--dark) white;color:var(--csstools-light-dark-toggle--6, #141413);font-family:var(--font-monospace);border-radius:var(--space-3xs);margin-top:var(--space-xs)}._token-value_p8odmp{padding:var(--space-s);-webkit-user-select:all;user-select:all}._copy-button_p8odmp{align-self:stretch;padding:0 var(--space-s);cursor:pointer}._copy-button_p8odmp:hover{--csstools-light-dark-toggle--34:var(--csstools-color-scheme--dark) #ddd8b2;color:var(--csstools-light-dark-toggle--34, #65655e)}._copy-button-icon_p8odmp{width:auto;height:1.3em}._empty-state_p8odmp{display:grid;place-items:center;align-content:center;margin:var(--space-m) 0;padding:var(--space-xl-2xl);--csstools-light-dark-toggle--7:var(--csstools-color-scheme--dark) black;border:2px var(--csstools-light-dark-toggle--7, white) dashed;border-radius:var(--space-3xs);--csstools-light-dark-toggle--8:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--8, #141413);--csstools-light-dark-toggle--9:var(--csstools-color-scheme--dark) hsla(51, 50%, 45%, .35);box-shadow:0 2px 3px var(--csstools-light-dark-toggle--9, #232321)}._empty-state-label_p8odmp{font-size:20px}._empty-state-button_p8odmp{margin-top:var(--space-m);border-radius:4px}._expired_p8odmp{opacity:.6}@media (min-width:640px){._new-token-form_p8odmp{display:grid;grid-template-columns:1fr auto;align-items:stretch;padding:var(--space-s) var(--space-m)}._new-token-form_p8odmp ._actions_p8odmp{margin:0 0 0 var(--space-xs)}._row_p8odmp{display:grid;grid-template:"name actions" auto "scopes actions" auto "metadata actions" auto "details details" auto/1fr auto}._row_p8odmp ._scopes_p8odmp{grid-area:scopes}._row_p8odmp ._metadata_p8odmp{grid-area:metadata}._row_p8odmp ._actions_p8odmp{display:flex;flex-direction:column;grid-area:actions;align-self:start;margin:0 0 0 var(--space-xs)}._row_p8odmp ._actions_p8odmp>*{flex-grow:1;width:100%;margin-top:var(--space-xs)}._row_p8odmp ._new-token_p8odmp{grid-area:details;margin-bottom:0}}._wrapper_1keoc8{height:100%;display:grid;place-items:center}._content_1keoc8{display:grid;place-items:center;margin:var(--space-m) 0}._logo_1keoc8{max-width:200px}._link_1keoc8{font-weight:500}._link_1keoc8[disabled]{color:var(--grey600);cursor:wait}._v-center_3bemis{display:flex;align-items:center;flex-wrap:wrap;gap:5px}._results-meta_3a7a8o{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-s)}._list_3a7a8o{--csstools-light-dark-toggle--35:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--35, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--36:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--36, #232321);margin-bottom:var(--space-s)}._list_3a7a8o>*{padding:var(--space-s)}._list_3a7a8o>*+*{--csstools-light-dark-toggle--37:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--37, #424242)}._description_3a7a8o{margin-top:var(--space-2xs);line-height:1.5}._categories-footer_3a7a8o{width:100%;margin:var(--space-2xs) 0;text-align:center;font-size:85%}._header_1tl449{display:flex;align-items:center}._subcategories_1tl449{--csstools-light-dark-toggle--38:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--38, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--39:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--39, #232321);margin-bottom:var(--space-s)}._subcategories_1tl449>*{padding:var(--space-s)}._subcategories_1tl449>*+*{--csstools-light-dark-toggle--40:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--40, #424242)}._category-description_1tl449{margin-top:var(--space-2xs)}._results-meta_1tl449{display:flex;align-items:center;justify-content:space-between}._list_1tl449,._results-meta_1tl449{margin-bottom:var(--space-s)}._results-meta_1gkckt{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-2xs)}@media only screen and (max-width:550px){._results-meta_1gkckt{display:block}._page-description_1gkckt{display:block;margin-bottom:var(--space-s)}}._list_1gkckt{list-style:none;margin:0 0 var(--space-s);padding:0}._list_1gkckt>*+*{margin-top:var(--space-2xs)}._email-form_ill4ud{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:var(--space-s);padding:var(--space-s) var(--space-m);--csstools-light-dark-toggle--10:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--10, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--11:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--11, #232321)}._email-input-label_ill4ud,._pattern-description_6v2mdb>span{font-weight:700}._email-input_ill4ud{width:400px}._list_ill4ud{--csstools-light-dark-toggle--41:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--41, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--42:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--42, #232321)}._list_ill4ud>*{padding:var(--space-s) var(--space-m);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}._list_ill4ud>*+*{--csstools-light-dark-toggle--43:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--43, #232321)}._email-column_ill4ud{width:25%;color:var(--main-color-light)}@media only screen and (min-width:890px){._crate-info_1ph5zq{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr)}}._docs_1ph5zq{margin-bottom:var(--space-l);padding:var(--space-m) var(--space-l);background-color:var(--main-bg-dark);border-radius:var(--space-3xs);box-shadow:var(--shadow)}._docs_1ph5zq,._docs_1ph5zq *{--csstools-light-dark-toggle--44:var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35);--shadow:0 2px 3px var(--csstools-light-dark-toggle--44, #232321)}@media only screen and (max-width:550px){._docs_1ph5zq{margin-left:calc(var(--main-layout-padding)*-1);margin-right:calc(var(--main-layout-padding)*-1);border-radius:0}}@media only screen and (min-width:890px){._docs_1ph5zq{margin-bottom:0}}._no-readme_1ph5zq{padding:var(--space-l) var(--space-s);text-align:center;font-size:20px;font-weight:300;overflow-wrap:break-word;line-height:1.5}._no-readme_1ph5zq code{font-size:18px;font-weight:500}._placeholder-subtitle_1ph5zq,._placeholder-title_1ph5zq{width:30%;height:25px;margin:var(--space-s) 0 var(--space-m);border-radius:var(--space-3xs);opacity:.6}._placeholder-subtitle_1ph5zq{width:50%;height:20px;margin:var(--space-l) 0 var(--space-m)}._placeholder-text_1ph5zq{width:100%;height:16px;margin-top:var(--space-xs);border-radius:var(--space-3xs);opacity:.3}@media only screen and (min-width:890px){._sidebar_1ph5zq{margin-top:var(--space-m);margin-left:var(--space-m)}}._crate-downloads_1ph5zq{display:flex;flex-wrap:wrap;margin-top:var(--space-l);border-top:5px solid var(--gray-border)}._crate-downloads_1ph5zq h3{width:100%}._stat_1ph5zq,._stats_1ph5zq{flex-grow:7;display:flex;flex-wrap:wrap}._stat_1ph5zq{border-left:1px solid var(--gray-border);padding:var(--space-s) var(--space-m);flex-direction:column;flex-grow:1}._stat_1ph5zq ._num_1ph5zq{font-size:160%;font-weight:700;margin-bottom:var(--space-3xs)}._stat_1ph5zq ._num__align_1ph5zq{position:relative;bottom:.4rem}._graph_1ph5zq{flex-grow:10;width:100%;margin:var(--space-xs) 0 var(--space-m)}._graph_1ph5zq h4{color:var(--main-color-light);float:left}@media only percy{._graph_1ph5zq{display:none}}._graph-data_1ph5zq{clear:both}._toggle-stacked_1ph5zq{float:right;margin-top:calc(1.33em - 10px);margin-bottom:calc(1.33em - 10px)}._toggle-stacked_1ph5zq ._trigger_1ph5zq{background-color:var(--main-bg-dark);font-size:85%;padding:10px;border:0;border-radius:5px}._toggle-stacked_1ph5zq ._trigger_1ph5zq ._trigger-label_1ph5zq{min-width:65px}._toggle-stacked_1ph5zq ._dropdown-button_1ph5zq{background:0 0;border:0}._results-meta_i58y6h{display:flex;align-items:center;justify-content:space-between;margin-bottom:var(--space-2xs)}@media only screen and (max-width:550px){._results-meta_i58y6h{display:block}._page-description_i58y6h{display:block;margin-bottom:var(--space-s)}}._list_i58y6h{list-style:none;margin:var(--space-2xs) 0 var(--space-s);padding:0}._list_i58y6h>*+*{margin-top:var(--space-2xs)}._results-meta_ouu1ss{display:flex;align-items:center;justify-content:space-between}._list_ouu1ss,._results-meta_ouu1ss{margin-bottom:var(--space-s)}._header_10qjad{display:flex;align-items:center}._header-icon_10qjad{flex-shrink:0;margin-right:var(--space-2xs);width:32px;height:32px}._stats_10qjad{margin-left:auto}._stats_10qjad ._num_10qjad{font-size:30px;font-weight:700}._my-info_10qjad h2,._stats_10qjad ._downloads_10qjad{display:flex;align-items:center}._stats-label_10qjad{margin-left:var(--space-2xs)}._my-info_10qjad{display:flex;gap:var(--space-s)}._my-info_10qjad h2{gap:var(--space-3xs);font-size:1.05em;margin:0}._my-info_10qjad h2>*{flex-shrink:0}@media only screen and (max-width:750px){._my-info_10qjad{flex-direction:column}}._my-crate-lists_10qjad{flex-direction:column;flex-grow:2}._my-crate-lists_10qjad ._header_10qjad{display:flex;justify-content:space-between;align-items:center}._my-crate-lists_10qjad>ul{margin:var(--space-s) 0}@media only screen and (max-width:750px){._my-crate-lists_10qjad{order:1}}._followed-crates-link_10qjad,._my-crates-link_10qjad{color:var(--main-color-light);-webkit-text-decoration:underline;text-decoration:underline;font-size:90%;font-weight:400}._followed-crates-link_10qjad:hover,._my-crates-link_10qjad:hover{color:#6b6b6b}._my-feed_10qjad{flex-grow:5}@media only screen and (max-width:750px){._my-feed_10qjad{order:0}}._feed_10qjad{--csstools-light-dark-toggle--12:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--12, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--13:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--13, #232321);margin:var(--space-s) 0}._feed-list_10qjad{list-style:none;margin:0;padding:0}._feed-list_10qjad>*{display:flex;align-items:baseline;padding:var(--space-s)}._feed-list_10qjad>*+*{--csstools-light-dark-toggle--45:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--45, #232321)}._feed-date_10qjad{flex-grow:1;text-align:right}._load-more_10qjad{padding:var(--space-s);--csstools-light-dark-toggle--46:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--46, #232321)}._load-more_10qjad button{display:block;text-align:center;width:100%;padding:var(--space-2xs);outline:0;border:0;--csstools-light-dark-toggle--47:var(--csstools-color-scheme--dark) #dbd9cf;background-color:var(--csstools-light-dark-toggle--47, #202023);color:#fff}._load-more_10qjad button:focus,._load-more_10qjad button:hover{--csstools-light-dark-toggle--48:var(--csstools-color-scheme--dark) #c5c2b2;background-color:var(--csstools-light-dark-toggle--48, #26262b)}._logo-div_slqo1c{text-align:center}._logo_slqo1c{max-width:100%;width:280px}._hero-title_slqo1c{margin:0 0 var(--space-l);font-size:var(--space-m-l);text-align:center;color:#fff;text-shadow:1px 3px 2px var(--green900)}._hero-buttons_slqo1c{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-s);border-bottom:5px solid var(--gray-border);margin-top:var(--space-s);padding-bottom:var(--space-l)}._hero-button_slqo1c ._icon_slqo1c{color:#c4890e}._blurb_slqo1c{margin:var(--space-l) var(--space-s);display:flex;gap:var(--space-l)}@media only screen and (max-width:650px){._blurb_slqo1c{flex-direction:column;align-items:center}}._intro_slqo1c{flex:6;line-height:1.5}._stats_slqo1c{flex:4;display:flex;flex-direction:column}._stats_slqo1c>*+*{margin-top:var(--space-s)}._lists_slqo1c{display:grid;grid-template-columns:1fr;gap:var(--space-s);padding:0 var(--space-s)}@media only screen and (max-width:750px){._lists_slqo1c{grid-template-columns:1fr}}@media only screen and (max-width:550px){._lists_slqo1c{grid-template-columns:1fr}}._lists_slqo1c h2{font-size:1.05rem}._lists_slqo1c h2 a:not(:hover){color:var(--main-color)}._list_slqo1c{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:var(--space-s)}@media only screen and (max-width:750px){._list_slqo1c{grid-template-columns:1fr}}._error-message_slqo1c,._me-profile_y8b1zj p{line-height:1.5}._try-again-button_slqo1c{align-self:center;margin:var(--space-s) 0}._try-again-button_slqo1c ._spinner_slqo1c{margin-left:var(--space-2xs)}._results-meta_1nkvlm{display:flex;align-items:center;justify-content:space-between}._list_1nkvlm,._results-meta_1nkvlm,._results-meta_gf7abo{margin-bottom:var(--space-s)}._results-meta_gf7abo{display:flex;align-items:center;justify-content:space-between}._list_gf7abo{--csstools-light-dark-toggle--49:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--49, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--50:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--50, #232321);margin-bottom:var(--space-s)}._list_gf7abo>*{padding:var(--space-s)}._list_gf7abo>*+*{--csstools-light-dark-toggle--51:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--51, #424242)}._results-meta_iujxqz{display:flex;align-items:center;justify-content:space-between}._list_iujxqz,._results-meta_iujxqz{margin-bottom:var(--space-s)}._results-meta_4xxflk{display:flex;align-items:center;justify-content:space-between}._list_4xxflk,._results-meta_1eivf7,._results-meta_4xxflk{margin-bottom:var(--space-s)}._results-meta_1eivf7{display:flex;align-items:center;justify-content:space-between}._warning_1eivf7{margin:0 0 var(--space-s);padding:var(--space-2xs);color:var(--orange-700);background:var(--orange-100);border-left:solid var(--orange-400) var(--space-3xs);border-radius:var(--space-4xs)}._list_1eivf7{margin-bottom:var(--space-s)}._try-again-button_1eivf7{align-self:center;margin-top:var(--space-m)}._me-email-notifications_1li3qv{margin-bottom:var(--space-s);display:flex;flex-direction:column}._me-email-notifications_1li3qv ._right_1li3qv{flex:2;display:flex;justify-content:flex-end;align-self:center}._notifications-list_1li3qv{list-style:none;padding:0;flex-grow:1}._notifications-row_1li3qv{display:flex;flex-direction:row;align-items:center;gap:var(--space-2xs)}._notifications-error_1li3qv,._notifications-success_1li3qv{border-top-width:0;font-weight:700}._notifications-error_1li3qv{color:#d80029}._notifications-success_1li3qv{color:green}._buttons_6v2mdb,._form-group_6v2mdb{position:relative;margin:var(--space-m) 0}._form-group-name_6v2mdb{display:flex;gap:var(--space-2xs);margin-bottom:var(--space-2xs);font-weight:600}._help-link_6v2mdb{flex-shrink:0;--csstools-light-dark-toggle--52:var(--csstools-color-scheme--dark) var(--grey600);color:var(--csstools-light-dark-toggle--52, var(--grey700));padding:var(--space-3xs);margin:calc(-1*var(--space-3xs))}._help-link_6v2mdb:hover{--csstools-light-dark-toggle--53:var(--csstools-color-scheme--dark) var(--grey700);color:var(--csstools-light-dark-toggle--53, var(--grey600))}._help-link_6v2mdb svg{width:1em;height:1em}._form-group-error_6v2mdb{display:block;color:red;font-size:.9em;margin-top:var(--space-2xs)}._buttons_6v2mdb,._scopes-list_6v2mdb label{display:flex;gap:var(--space-2xs);flex-wrap:wrap}._base-input_6v2mdb{padding:var(--space-2xs);--csstools-light-dark-toggle--54:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--54, #141413);border:1px solid var(--gray-border);border-radius:var(--space-3xs)}._base-input_6v2mdb[aria-invalid=true]{--csstools-light-dark-toggle--55:var(--csstools-color-scheme--dark) #fff2f2;background:var(--csstools-light-dark-toggle--55, #170808);border-color:red}._name-input_6v2mdb{max-width:440px;width:100%}._expiry-select_6v2mdb{padding-right:var(--space-m);background-image:url(/assets/dropdown.svg);background-repeat:no-repeat;background-position:calc(100% - var(--space-2xs)) center;background-size:10px;-webkit-appearance:none;appearance:none}._expiry-description_6v2mdb{margin-left:var(--space-2xs);font-size:.9em}._scopes-list_6v2mdb{list-style:none;padding:0;margin:0;--csstools-light-dark-toggle--56:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--56, #141413);border:1px solid var(--gray-border);border-radius:var(--space-3xs)}._scopes-list_6v2mdb._invalid_6v2mdb{--csstools-light-dark-toggle--57:var(--csstools-color-scheme--dark) #fff2f2;background:var(--csstools-light-dark-toggle--57, #170808);border-color:red}._scopes-list_6v2mdb>*+*{border-top:inherit}._scopes-list_6v2mdb label{padding:var(--space-xs) var(--space-s);gap:var(--space-xs);font-size:.9em}._scope-id_6v2mdb{max-width:170px;flex-grow:1;font-weight:700}._scope-description_6v2mdb,._scope-id_6v2mdb{display:inline-block}._crates-list_6v2mdb,._crates-scope_6v2mdb input{border:1px solid var(--gray-border);border-radius:var(--space-3xs)}._crates-list_6v2mdb{list-style:none;padding:0;margin:0;--csstools-light-dark-toggle--58:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--58, #141413)}._crates-list_6v2mdb>*+*{border-top:inherit}._crates-scope_6v2mdb>div,._crates-unrestricted_6v2mdb{padding:var(--space-xs) var(--space-s);font-size:.9em}._crates-scope_6v2mdb{display:flex}._crates-scope_6v2mdb>div{display:flex;flex-wrap:wrap;gap:var(--space-xs);flex-grow:1}._crates-scope_6v2mdb input{margin:calc(-1*var(--space-4xs)) 0;padding:var(--space-3xs) var(--space-2xs)}._crates-scope_6v2mdb._invalid_6v2mdb input{--csstools-light-dark-toggle--59:var(--csstools-color-scheme--dark) #fff2f2;background:var(--csstools-light-dark-toggle--59, #170808);border-color:red}._crates-scope_6v2mdb>button{margin:0;padding:0 var(--space-xs);border:0;background:0 0;cursor:pointer;color:var(--grey700);flex-shrink:0;display:flex;align-items:center}._crates-scope_6v2mdb>button:hover{--csstools-light-dark-toggle--60:var(--csstools-color-scheme--dark) var(--grey200);background:var(--csstools-light-dark-toggle--60, #333333);--csstools-light-dark-toggle--61:var(--csstools-color-scheme--dark) var(--grey900);color:var(--csstools-light-dark-toggle--61, white)}._crates-scope_6v2mdb>button svg{height:1.1em;width:1.1em}._crates-scope_6v2mdb:first-child button{border-top-right-radius:var(--space-3xs)}._pattern-description_6v2mdb{flex-grow:1;align-self:center}._invalid_6v2mdb ._pattern-description_6v2mdb{color:red}._crates-pattern-button_6v2mdb button{padding:var(--space-xs) var(--space-s);font-size:.9em;width:100%;border:0;background:0 0;border-bottom-left-radius:var(--space-3xs);border-bottom-right-radius:var(--space-3xs);cursor:pointer;font-weight:700}._crates-pattern-button_6v2mdb button:hover{--csstools-light-dark-toggle--62:var(--csstools-color-scheme--dark) var(--grey200);background:var(--csstools-light-dark-toggle--62, #333333)}._cancel-button_6v2mdb,._generate-button_6v2mdb{border-radius:4px}._generate-button_6v2mdb ._spinner_6v2mdb{margin-left:var(--space-2xs)}._header_ass69f{display:flex;align-items:center}._header_ass69f h1,._header_ass69f h2{margin:0;padding:0}._header_ass69f h2{margin-top:var(--space-2xs);color:var(--main-color-light)}._avatar_ass69f{margin-right:var(--space-m)}._header-row_ass69f{display:flex;align-items:center}._github-link_ass69f{margin-left:var(--space-s)}._github-link_ass69f,._github-link_ass69f:hover{color:var(--main-color)}._github-link_1wv204 svg,._github-link_ass69f svg{width:32px;height:32px}._results-meta_ass69f{display:flex;align-items:center;justify-content:space-between}._list_ass69f,._results-meta_ass69f{margin-bottom:var(--space-s)}._header_1wv204{display:flex;align-items:center;gap:var(--space-xs)}._github-link_1wv204,._github-link_1wv204:hover,._wrapper_g1cur3 section.footnotes a:hover{color:var(--main-color)}._results-meta_1wv204{display:flex;align-items:center;justify-content:space-between}._list_1wv204,._results-meta_1wv204{margin-bottom:var(--space-s)}._row_1hx43t{display:flex;align-items:center;position:relative;font-size:18px;padding:var(--space-s) var(--space-m);background-color:var(--header-bg-color);--csstools-light-dark-toggle--67:var(--csstools-color-scheme--dark) #525252;color:var(--csstools-light-dark-toggle--67, #f9f7ec);border-radius:var(--space-3xs);box-shadow:var(--shadow);transition:all var(--transition-slow)}._row_1hx43t,._row_1hx43t *{--csstools-light-dark-toggle--63:var(--csstools-color-scheme--dark) var(--grey200);--bg-color:var(--csstools-light-dark-toggle--63, #242422);--csstools-light-dark-toggle--64:var(--csstools-color-scheme--dark) hsl(217, 37%, 98%);--hover-bg-color:var(--csstools-light-dark-toggle--64, hsl(204, 3%, 11%));--csstools-light-dark-toggle--65:var(--csstools-color-scheme--dark) var(--grey700);--fg-color:var(--csstools-light-dark-toggle--65, #ccc);--csstools-light-dark-toggle--66:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);--shadow:0 1px 3px var(--csstools-light-dark-toggle--66, #232321)}._row_1hx43t._focused_1hx43t,._row_1hx43t:hover{color:var(--yellow500);transition:all var(--transition-instant)}._row_1hx43t._focused_1hx43t{box-shadow:0 0 0 3px var(--yellow500),var(--shadow)}._row_1hx43t._latest_1hx43t,._row_1hx43t._latest_1hx43t *{--csstools-light-dark-toggle--68:var(--csstools-color-scheme--dark) hsl(109, 75%, 87%);--bg-color:var(--csstools-light-dark-toggle--68, hsl(136, 67%, 11%));--csstools-light-dark-toggle--69:var(--csstools-color-scheme--dark) hsl(109, 75%, 97%);--hover-bg-color:var(--csstools-light-dark-toggle--69, hsl(109, 10%, 11%));--csstools-light-dark-toggle--70:var(--csstools-color-scheme--dark) hsl(136, 67%, 38%);--fg-color:var(--csstools-light-dark-toggle--70, hsl(109, 75%, 87%))}._row_1hx43t._prerelease_1hx43t,._row_1hx43t._prerelease_1hx43t *{--csstools-light-dark-toggle--71:var(--csstools-color-scheme--dark) hsl(39, 100%, 91%);--bg-color:var(--csstools-light-dark-toggle--71, hsl(39, 71%, 15%));--csstools-light-dark-toggle--72:var(--csstools-color-scheme--dark) hsl(39, 100%, 97%);--hover-bg-color:var(--csstools-light-dark-toggle--72, hsl(39, 10%, 11%));--csstools-light-dark-toggle--73:var(--csstools-color-scheme--dark) hsl(39, 71%, 45%);--fg-color:var(--csstools-light-dark-toggle--73, hsl(39, 100%, 91%))}._row_1hx43t._yanked_1hx43t,._row_1hx43t._yanked_1hx43t *{--csstools-light-dark-toggle--74:var(--csstools-color-scheme--dark) hsl(0, 92%, 90%);--bg-color:var(--csstools-light-dark-toggle--74, hsl(0, 84%, 12%));--csstools-light-dark-toggle--75:var(--csstools-color-scheme--dark) hsl(0, 92%, 98%);--hover-bg-color:var(--csstools-light-dark-toggle--75, hsl(0, 10%, 11%));--csstools-light-dark-toggle--76:var(--csstools-color-scheme--dark) hsl(0, 84%, 32%);--fg-color:var(--csstools-light-dark-toggle--76, hsl(0, 92%, 90%))}._row_1hx43t .ember-tooltip-target,._row_1hx43t [title]{position:relative;z-index:1;cursor:help}._row_1hx43t .ember-tooltip{word-break:break-all}._version_1hx43t{display:grid;grid-template-columns:auto auto;place-items:center}@media only screen and (max-width:550px){._version_1hx43t{grid-template-columns:auto;margin:0 var(--space-s)}}._release-track_1hx43t{flex-shrink:0;display:grid;place-items:center;width:var(--space-xl);height:var(--space-xl);overflow:hidden;margin-right:var(--space-s);font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--fg-color);background-color:var(--bg-color);--csstools-light-dark-toggle--77:var(--csstools-color-scheme--dark) white;border:1px solid var(--csstools-light-dark-toggle--77, #808080);border-radius:50%;transition:all var(--transition-fast)}._release-track_1hx43t>svg{height:1em;width:auto}._row_1hx43t._focused_1hx43t ._release-track_1hx43t,._row_1hx43t:hover ._release-track_1hx43t{--csstools-light-dark-toggle--78:var(--csstools-color-scheme--dark) white;border:var(--space-4xs) solid var(--csstools-light-dark-toggle--78, #bfbfbf);--csstools-light-dark-toggle--79:var(--csstools-color-scheme--dark) var(--fg-color);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--79, #232321)}@media only screen and (max-width:550px){._release-track_1hx43t{margin:0 0 var(--space-s)}}._rt-latest_1hx43t{color:#20a243}._rt-prerelease_1hx43t{color:#faa733}._rt-yanked_1hx43t{color:#f13737}._num-link_1hx43t{text-overflow:ellipsis;overflow:hidden;font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;outline:0}._num-link_1hx43t,._num-link_1hx43t:hover{color:var(--fg-color)}._link_qc6rd8::after,._link_vcihpv::after,._num-link_1hx43t::after,._num-link_ofj1qe::after{content:'';position:absolute;left:0;top:0;right:0;bottom:0}._metadata_1hx43t{flex-grow:1;margin-left:var(--space-m);--csstools-light-dark-toggle--80:var(--csstools-color-scheme--dark) var(--grey600);color:var(--csstools-light-dark-toggle--80, #d1cfc7);text-transform:uppercase;letter-spacing:.7px;font-size:13px}._metadata_1hx43t a{position:relative;color:inherit}._metadata_1hx43t a:hover{--csstools-light-dark-toggle--81:var(--csstools-color-scheme--dark) var(--grey900);color:var(--csstools-light-dark-toggle--81, #f5f3e9)}._metadata_1hx43t a:focus-visible{outline:0;color:var(--yellow500)}._metadata_1hx43t svg{height:1em;width:auto;margin-right:var(--space-4xs);margin-bottom:-.1em}._metadata_1hx43t .ember-tooltip{text-transform:none;letter-spacing:normal}._metadata_1hx43t>*+*{margin-top:var(--space-2xs)}@media only screen and (max-width:750px){._metadata_1hx43t>*+*{margin-top:var(--space-xs)}}._avatar_1hx43t{height:1.5em;width:auto;margin-left:var(--space-4xs);margin-bottom:-.4em;border-radius:50%;box-shadow:0 1px 1px 0 var(--grey600);padding:1px}._metadata-row_1hx43t>*+*{margin-left:var(--space-s)}@media only screen and (max-width:750px){._metadata-row_1hx43t{display:flex;flex-direction:column;align-items:flex-start}._metadata-row_1hx43t>*+*{margin-left:0;margin-top:var(--space-xs)}}._date_1hx43t._new_1hx43t,.tooltip ._new_1hx43t{color:#ed9b02}._msrv_1hx43t{text-transform:initial}._msrv_1hx43t svg{margin-bottom:-.15em}._bytes_1hx43t{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-transform:none}._feature-list_1hx43t{padding:0;margin:var(--space-xs) var(--space-2xs);list-style:none}._yank-button_1hx43t{position:relative;margin-left:var(--space-xs)}@media only screen and (max-width:550px){._yank-button_1hx43t{display:none}}._list_1msd3z,._pagination_h31eca ol{list-style:none;padding:0;margin:0}._list_1msd3z>*+*{margin-top:var(--space-2xs)}._link_1msd3z{--csstools-light-dark-toggle--14:var(--csstools-color-scheme--dark) #525252;color:var(--csstools-light-dark-toggle--14, #999999);--csstools-light-dark-toggle--15:var(--csstools-color-scheme--dark) #edebdd;background-color:var(--csstools-light-dark-toggle--15, #141413);font-size:90%;padding:var(--space-s) var(--space-xs);display:flex;align-items:center}._download-icon_1msd3z{color:#b13b89;margin-left:auto;margin-right:var(--space-3xs)}._heading_y99ls5{display:flex;align-items:baseline;flex-wrap:wrap;gap:var(--space-xs);margin:0;padding:0;word-break:break-word}._heading_y99ls5 small,._wrapper_g1cur3 section.footnotes a{color:var(--main-color-light)}._yanked-badge_y99ls5{background:#d30000;border-radius:99999px;padding:var(--space-3xs) var(--space-s);font-size:var(--space-s);color:#fff;align-self:center;display:inline-flex;align-items:center;gap:var(--space-3xs);white-space:nowrap;cursor:default}._yanked-badge_y99ls5 svg{width:1em;height:1em;flex-shrink:0}._description_y99ls5{margin-top:var(--space-xs);line-height:1.35}._keywords_y99ls5{list-style:none;margin:var(--space-xs) 0 0;padding:0}._keywords_y99ls5>*{display:inline}:is(._keywords_y99ls5 > *)+*{margin-left:var(--space-s)}._hash_y99ls5{margin-right:1px;font-family:var(--font-monospace);font-size:90%}._follow-button_y99ls5{margin-top:var(--space-s)}._nav_y99ls5{margin-bottom:var(--space-s)}@media only screen and (min-width:751px){._header_y99ls5{display:grid;grid-template-columns:1fr auto}._follow-button_y99ls5{margin:-10px -10px 0 var(--space-s);grid-column:2;grid-row:1}._description_y99ls5,._keywords_y99ls5{grid-column:1/3}}._list_5hqme0{margin:0;padding:0;list-style:none}._list_5hqme0>*+*{margin-top:var(--space-s)}._copy-help_1asgho{font-size:12px;overflow-wrap:break-word}._copy-help_1asgho:last-child{margin-bottom:0}._copy-button_1asgho,._copy-fallback_1asgho{display:flex;width:100%;align-items:center;justify-content:space-between;padding:var(--space-2xs) var(--space-xs);font-family:var(--font-monospace);font-size:14px;line-height:1.5em;color:var(--main-color);background:0 0;border-radius:var(--space-3xs);border:solid var(--space-4xs) var(--gray-border)}._copy-button_1asgho span,._copy-fallback_1asgho span{flex:auto;display:block;word-break:break-word}._copy-button_1asgho{text-align:start;cursor:pointer}._copy-button_1asgho:hover{background-color:var(--header-bg-color)}._copy-icon_1asgho{flex-shrink:0;height:1.1em;width:auto;margin-top:-3px;margin-left:var(--space-2xs);opacity:0;transition:opacity var(--transition-fast)}._copy-button_1asgho:hover ._copy-icon_1asgho{opacity:1}._selectable_1asgho{-webkit-user-select:text;user-select:text}._bin-name_1asgho{font-family:var(--font-monospace);font-weight:700}._row_vcihpv{--bg-color:var(--grey200);--placeholder-opacity:0.35;display:flex;align-items:center;position:relative;font-size:18px;padding:var(--space-s) var(--space-m);--csstools-light-dark-toggle--86:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--86, #141413);border-radius:var(--space-3xs);box-shadow:var(--shadow);transition:all var(--transition-slow)}._row_vcihpv,._row_vcihpv *{--csstools-light-dark-toggle--82:var(--csstools-color-scheme--dark) hsl(217, 37%, 98%);--hover-bg-color:var(--csstools-light-dark-toggle--82, hsl(204, 3%, 11%));--csstools-light-dark-toggle--83:var(--csstools-color-scheme--dark) var(--grey900);--range-color:var(--csstools-light-dark-toggle--83, #d1cfc7);--csstools-light-dark-toggle--84:var(--csstools-color-scheme--dark) var(--grey700);--crate-color:var(--csstools-light-dark-toggle--84, #d1cfc7);--csstools-light-dark-toggle--85:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);--shadow:0 1px 3px var(--csstools-light-dark-toggle--85, #232321)}._row_vcihpv._focused_vcihpv,._row_vcihpv:hover{background-color:var(--hover-bg-color);transition:all var(--transition-instant)}._row_vcihpv._focused_vcihpv{box-shadow:0 0 0 3px var(--yellow500),var(--shadow)}._row_vcihpv._optional_vcihpv{--placeholder-opacity:0.15}._row_vcihpv._optional_vcihpv,._row_vcihpv._optional_vcihpv *{--csstools-light-dark-toggle--87:var(--csstools-color-scheme--dark) var(--grey600);--range-color:var(--csstools-light-dark-toggle--87, var(--grey600));--csstools-light-dark-toggle--88:var(--csstools-color-scheme--dark) var(--grey600);--crate-color:var(--csstools-light-dark-toggle--88, var(--grey600))}._row_vcihpv .ember-tooltip-target,._row_vcihpv [title]{position:relative;z-index:1;cursor:help}._row_vcihpv .ember-tooltip{word-break:break-all}@media only screen and (max-width:550px){._row_vcihpv{display:block}}._range-lg_vcihpv,._range-sm_vcihpv{margin-right:var(--space-s);min-width:100px;color:var(--range-color);font-feature-settings:"tnum";font-variant:tabular-nums}@media only screen and (max-width:550px){._range-lg_vcihpv{display:none}}@media only screen and (min-width:551px){._range-sm_vcihpv{display:none}}._right_vcihpv{flex-grow:1}._link_vcihpv{font-weight:500;margin-right:var(--space-s);outline:0}._link_vcihpv,._link_vcihpv:hover{color:var(--crate-color)}._metadata_vcihpv{color:var(--grey600);text-transform:uppercase;letter-spacing:.7px;font-size:13px;margin-right:var(--space-s)}._metadata_vcihpv a{position:relative;color:var(--grey600)}._metadata_vcihpv a:hover{color:var(--grey900)}._metadata_vcihpv svg{height:1em;width:auto;margin-right:var(--space-4xs);margin-bottom:-.1em}._metadata_vcihpv .ember-tooltip{text-transform:none;letter-spacing:normal}@media only screen and (max-width:550px){._metadata_vcihpv{display:block;margin-top:var(--space-xs)}}._feature-list_vcihpv{padding:0;margin:10px 5px;list-style:none}._feature-list_vcihpv svg{height:1em;width:auto;margin-right:2px;margin-bottom:-.1em}._description_vcihpv{margin-top:var(--space-xs);color:var(--crate-color);font-size:90%;line-height:1.5}._description-placeholder_vcihpv{height:1em;width:70%;border-radius:var(--space-3xs);opacity:var(--placeholder-opacity)}._wrapper_27k3er{display:grid;place-items:center;border:solid 1px var(--gray-border);border-radius:var(--space-3xs);min-height:400px}._spinner_27k3er{transform:scale(3)}._error_27k3er{text-align:center}._container_j1fcml{display:inline-block;position:relative}._dropdown_16sxmz{position:absolute;display:none;width:100%;z-index:10}._dropdown_16sxmz._open_16sxmz{display:block}._item_1xureq button,._item_1xureq>a{font-size:90%;width:100%;display:inline-flex;text-align:start;padding:var(--space-2xs) var(--space-xs);-webkit-text-decoration:none;text-decoration:none;color:var(--main-color)!important}._item_1xureq button:hover,._item_1xureq>a:hover{background:#5e5e5e;color:#fff!important}._list_12bw3u{margin:0;text-align:left;padding:0;--csstools-light-dark-toggle--16:var(--csstools-color-scheme--dark) white;background:var(--csstools-light-dark-toggle--16, #141413);border:1px solid var(--gray-border);list-style:none;overflow:hidden;border-radius:var(--space-3xs)}._button_x5sxkq{display:inline-flex;align-items:center;color:inherit;cursor:pointer}._button_x5sxkq ._arrow_x5sxkq{margin-left:var(--space-2xs);font-size:50%;display:inline-block;vertical-align:middle}._button_x5sxkq ._arrow_x5sxkq::after{content:"▼"}._button_x5sxkq._active_x5sxkq ._arrow_x5sxkq::after{content:"▲"}._link_1k20sr{display:flex;align-items:center;width:100%;height:var(--space-2xl);padding:0 var(--space-s);background-color:var(--header-bg-color);--csstools-light-dark-toggle--90:var(--csstools-color-scheme--dark) #525252;color:var(--csstools-light-dark-toggle--90, #f9f7ec);-webkit-text-decoration:none;text-decoration:none;border-radius:var(--space-3xs);box-shadow:var(--shadow);transition:all var(--transition-slow)}._link_1k20sr,._link_1k20sr *{--csstools-light-dark-toggle--89:var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35);--shadow:0 2px 3px var(--csstools-light-dark-toggle--89, #232321)}._link_1k20sr:focus-visible{outline:0;box-shadow:0 0 0 3px var(--yellow500),var(--shadow)}._link_1k20sr:focus-visible,._link_1k20sr:hover{color:var(--yellow500);transition:all var(--transition-instant)}._link_1k20sr:active{transform:translateY(2px);--shadow:inset 0 0 0 1px hsla(51, 50%, 44%, .15)}._left_1k20sr{flex-grow:1;width:0}._subtitle_1k20sr,._title_1k20sr{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._title_1k20sr{font-size:16px}._subtitle_1k20sr{margin-top:var(--space-3xs);font-size:13px;--csstools-light-dark-toggle--17:var(--csstools-color-scheme--dark) rgb(118, 131, 138);color:var(--csstools-light-dark-toggle--17, #cccac2)}._right_1k20sr{flex-shrink:0;height:var(--space-s);width:auto;margin-left:var(--space-xs);--csstools-light-dark-toggle--18:var(--csstools-color-scheme--dark) rgb(118, 131, 138);color:var(--csstools-light-dark-toggle--18, #cccac2)}._link_kq6lyo{display:flex;align-items:center;width:100%;height:var(--space-2xl);margin:8px 0;padding:0 var(--space-s);--csstools-light-dark-toggle--22:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--22, #141413);--csstools-light-dark-toggle--23:var(--csstools-color-scheme--dark) #525252;color:var(--csstools-light-dark-toggle--23, #f9f7ec);border-radius:var(--space-3xs);box-shadow:var(--shadow);cursor:wait}._link_kq6lyo,._link_kq6lyo *{--csstools-light-dark-toggle--19:var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35);--shadow:0 2px 3px var(--csstools-light-dark-toggle--19, #232321);--csstools-light-dark-toggle--20:var(--csstools-color-scheme--dark) hsla(59, 19%, 50%, 1.0);--placeholder-bg:var(--csstools-light-dark-toggle--20, hsl(60, 14%, 85%));--csstools-light-dark-toggle--21:var(--csstools-color-scheme--dark) hsla(59, 19%, 50%, 0.7);--placeholder-bg2:var(--csstools-light-dark-toggle--21, hsla(59, 5%, 50%, 0.7))}._left_kq6lyo{flex-grow:1;width:0}._title_kq6lyo{height:16px;width:150px;border-radius:8px;opacity:.25}._subtitle_kq6lyo{height:13px;width:90px;margin-top:var(--space-3xs);border-radius:6.5px;opacity:.2}._right_kq6lyo{flex-shrink:0;height:var(--space-s);width:auto;margin-left:var(--space-xs);--csstools-light-dark-toggle--24:var(--csstools-color-scheme--dark) rgb(118, 131, 138);color:var(--csstools-light-dark-toggle--24, #cccac2)}._list_1mso79{--nav-tabs-border-width:2px;--nav-tabs-padding-h:var(--space-s);--nav-tabs-padding-v:var(--space-2xs);--nav-tabs-radius:var(--space-3xs);display:flex;list-style:none;padding:0;margin:0;border-bottom:var(--nav-tabs-border-width) solid var(--gray-border)}@media only screen and (max-width:550px){._list_1mso79{flex-direction:column;border-left:var(--nav-tabs-border-width) solid var(--gray-border);border-bottom:none}}._link_y1a82m{display:block;padding:calc(var(--nav-tabs-padding-v) + var(--nav-tabs-border-width)) var(--nav-tabs-padding-h) var(--nav-tabs-padding-v);color:var(--main-color);border-top-left-radius:var(--nav-tabs-radius);border-top-right-radius:var(--nav-tabs-radius);border-bottom:var(--nav-tabs-border-width) solid transparent;margin-bottom:calc(0px - var(--nav-tabs-border-width));transition:color var(--transition-medium),border-bottom-color var(--transition-medium)}._link_y1a82m._active_y1a82m,._link_y1a82m:hover{color:var(--link-hover-color);border-bottom-color:var(--link-hover-color)}._link_y1a82m._active_y1a82m{background:var(--main-bg-dark)}._link_y1a82m:hover{transition:color var(--transition-instant),border-bottom-color var(--transition-instant)}._link_y1a82m:focus-visible{outline:0;margin:-3px;border:3px solid var(--yellow500);position:relative;transition:border-bottom-color var(--transition-instant);z-index:1}@media only screen and (max-width:550px){._link_y1a82m{padding:var(--nav-tabs-padding-v) var(--nav-tabs-padding-h) var(--nav-tabs-padding-v) calc(var(--nav-tabs-padding-h) + var(--nav-tabs-border-width));border-top-left-radius:0;border-bottom-right-radius:var(--nav-tabs-radius);border-bottom:none;border-left:var(--nav-tabs-border-width) solid transparent;margin-bottom:0;margin-left:calc(0px - var(--nav-tabs-border-width))}._link_y1a82m._active_y1a82m,._link_y1a82m:hover{border-left-color:var(--link-hover-color)}}._header_81knqv{padding:var(--space-s) var(--space-m);background-color:var(--main-bg-dark);margin-bottom:var(--space-s);border-radius:5px}._heading_81knqv{display:flex;align-items:baseline;margin:0}._suffix_81knqv{color:var(--main-color-light);padding-left:var(--space-2xs)}._loading-spinner_81knqv{margin:0 var(--space-2xs)}._pagination_h31eca{display:flex;align-items:center;justify-content:center;font-size:90%;margin-bottom:var(--space-xs)}._pagination_h31eca li,._pagination_h31eca ol{display:inline-block}._pagination_h31eca a{color:var(--main-color-light);-webkit-text-decoration:none;text-decoration:none;padding:var(--space-3xs) var(--space-2xs);border-radius:var(--space-3xs)}._pagination_h31eca a.active,._pagination_h31eca a:hover{background-color:var(--main-bg-dark)}._pagination_h31eca img,._pagination_h31eca svg{vertical-align:middle}._pagination_h31eca ._next_h31eca path,._pagination_h31eca ._prev_h31eca path{fill:currentColor}._pagination_h31eca ._next_h31eca:hover circle,._pagination_h31eca ._prev_h31eca:hover circle{fill:var(--main-bg-dark)}._pagination_h31eca ._next_h31eca.active,._pagination_h31eca ._next_h31eca:hover,._pagination_h31eca ._prev_h31eca.active,._pagination_h31eca ._prev_h31eca:hover{background:0 0}._placeholder_el4r1x{position:relative;display:block;overflow:hidden;background:linear-gradient(to right,var(--placeholder-bg) 8%,var(--placeholder-bg2) 16%,var(--placeholder-bg) 29%);background-size:1200px 100%;animation-name:_backgroundAnimation_el4r1x;animation-duration:1.5s;animation-timing-function:linear;animation-iteration-count:infinite;animation-fill-mode:forwards}._placeholder_lh28ym fieldset{border:0;margin:0;padding:0}._placeholder_lh28ym fieldset[disabled],._placeholder_lh28ym fieldset[disabled] [disabled]{cursor:not-allowed}._placeholder_lh28ym fieldset[disabled] ._tan-button_lh28ym,._placeholder_lh28ym fieldset[disabled] ._yellow-button_lh28ym,._placeholder_lh28ym fieldset[disabled] button{background:linear-gradient(to bottom,var(--bg-color-top-light) 0%,var(--bg-color-bottom-light) 100%);color:var(--disabled-text-color);cursor:not-allowed}._progress-bar_14e9bq{position:fixed;left:0;top:0;height:3px;box-shadow:0 0 10px rgba(0,13,41,.6);background:var(--yellow500)!important}._row_qc6rd8{--placeholder-opacity:0.35;position:relative;font-size:18px;padding:var(--space-s) var(--space-m);--csstools-light-dark-toggle--94:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--94, #141413);border-radius:var(--space-3xs);box-shadow:var(--shadow);transition:all var(--transition-slow)}._row_qc6rd8,._row_qc6rd8 *{--csstools-light-dark-toggle--91:var(--csstools-color-scheme--dark) hsl(217, 37%, 98%);--hover-bg-color:var(--csstools-light-dark-toggle--91, hsl(204, 3%, 11%));--csstools-light-dark-toggle--92:var(--csstools-color-scheme--dark) var(--grey700);--crate-color:var(--csstools-light-dark-toggle--92, var(--grey600));--csstools-light-dark-toggle--93:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);--shadow:0 1px 3px var(--csstools-light-dark-toggle--93, #232321)}._row_qc6rd8._focused_qc6rd8,._row_qc6rd8:hover{background-color:var(--hover-bg-color);transition:all var(--transition-instant)}._row_qc6rd8._focused_qc6rd8{box-shadow:0 0 0 3px var(--yellow500),var(--shadow)}._top_qc6rd8{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}@media only screen and (max-width:550px){._top_qc6rd8{display:block}}._left_qc6rd8{overflow:hidden;text-overflow:ellipsis}._link_qc6rd8{font-weight:500;margin-right:var(--space-s);outline:0}._link_qc6rd8,._link_qc6rd8:hover{color:var(--crate-color)}._range_qc6rd8{color:var(--grey600);text-transform:uppercase;letter-spacing:.7px;font-size:13px}._downloads_qc6rd8{display:flex;align-items:center;color:var(--grey600);font-size:16px;font-weight:500;font-feature-settings:"tnum";font-variant:tabular-nums}@media only screen and (max-width:550px){._downloads_qc6rd8{margin-top:var(--space-xs)}}._download-icon_qc6rd8{width:auto;height:16px;flex-shrink:0;margin-right:7px}._description_qc6rd8{margin-top:var(--space-2xs);color:var(--crate-color);font-size:90%;line-height:1.5}@media only screen and (max-width:550px){._description_qc6rd8{margin-top:var(--space-xs)}}._description-placeholder_qc6rd8{height:1em;width:70%;border-radius:var(--space-3xs);opacity:var(--placeholder-opacity)}._page_ddckb1{display:grid;gap:var(--space-s)}@media (min-width:768px){._page_ddckb1{grid-template:"menu content" auto/200px auto}}._content_ddckb1 h2:first-child{margin-top:var(--space-3xs)}._list_16lti8{list-style:none;margin:0;padding:0}._list_16lti8>*+*{margin-top:var(--space-3xs)}._link_15zaly{display:block;padding:var(--space-2xs) var(--space-xs);border-radius:var(--space-3xs);color:var(--main-color-light);transition:all var(--transition-medium) ease-in}._link_15zaly:hover{transition:none}._active_15zaly,._link_15zaly:hover,._trigger_xsqxju{background-color:var(--main-bg-dark)}._active_15zaly,._link_15zaly:hover{color:var(--main-color)}._active_15zaly:hover{--csstools-light-dark-toggle--95:var(--csstools-color-scheme--dark) #e5e1cd;background-color:var(--csstools-light-dark-toggle--95, #262522)}._trigger_xsqxju{font-size:85%;padding:var(--space-2xs);border:0;border-radius:var(--space-3xs)}._icon_xsqxju{color:#1a9c5d;margin-right:var(--space-2xs)}._stats-value_1laxax{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;justify-items:end}._value_1laxax{font-size:var(--space-m-l);font-weight:700;line-height:1em}._label_1laxax{grid-column:1;grid-row:2;color:#76838a;font-size:var(--space-s);font-weight:400;line-height:1.6}._icon_1laxax{grid-column:2;grid-row:1/3;width:var(--space-l-xl);height:var(--space-l-xl);margin-left:var(--space-s);margin-top:var(--space-3xs);color:#76838a}._boxed_g1cur3{padding:var(--space-m);--csstools-light-dark-toggle--25:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--25, #141413);margin-bottom:var(--space-s);border-radius:5px}._wrapper_g1cur3{line-height:1.5;overflow-wrap:break-word}._wrapper_g1cur3>:first-child{margin-top:0}._wrapper_g1cur3>:last-child{margin-bottom:0}._wrapper_g1cur3 img{max-width:100%}._wrapper_g1cur3 pre{display:block;overflow-x:auto;padding:var(--space-xs);--csstools-light-dark-toggle--96:var(--csstools-color-scheme--dark) #f6f8fa;background-color:var(--csstools-light-dark-toggle--96, #161b22);font-size:85%;border-radius:var(--space-3xs)}._wrapper_g1cur3 li code,._wrapper_g1cur3 p code{--csstools-light-dark-toggle--97:var(--csstools-color-scheme--dark) #f6f8fa;background-color:var(--csstools-light-dark-toggle--97, #383836);border-radius:var(--space-3xs);font-size:85%;margin:0;padding:var(--space-4xs) var(--space-3xs)}._wrapper_g1cur3 code{font-family:var(--font-monospace);tab-size:4}._wrapper_g1cur3 kbd{font-family:var(--font-monospace);font-size:11px;padding:2px 5px 3px;border-radius:7px;position:relative;bottom:2px;border:1px solid var(--grey700);box-shadow:inset 0 -2px 0 var(--grey600)}._wrapper_g1cur3 table{border-collapse:collapse;display:block;overflow-x:auto}._wrapper_g1cur3 table td,._wrapper_g1cur3 table th{border:1px solid #dfe2e5;padding:var(--space-2xs) var(--space-s)}._wrapper_g1cur3 section.footnotes{color:var(--main-color-light);font-size:80%;border-top:1px solid var(--gray-border)}._wrapper_g1cur3 .hljs{background:unset;padding:0;font-size:unset}._wrapper_g1cur3 .hljs-doctag,._wrapper_g1cur3 .hljs-keyword,._wrapper_g1cur3 .hljs-meta .hljs-keyword,._wrapper_g1cur3 .hljs-template-tag,._wrapper_g1cur3 .hljs-template-variable,._wrapper_g1cur3 .hljs-type,._wrapper_g1cur3 .hljs-variable.language_{--csstools-light-dark-toggle--98:var(--csstools-color-scheme--dark) #d73a49;color:var(--csstools-light-dark-toggle--98, #ff7b72)}._wrapper_g1cur3 .hljs-title,._wrapper_g1cur3 .hljs-title.class_,._wrapper_g1cur3 .hljs-title.class_.inherited__,._wrapper_g1cur3 .hljs-title.function_{--csstools-light-dark-toggle--99:var(--csstools-color-scheme--dark) #6f42c1;color:var(--csstools-light-dark-toggle--99, #d2a8ff)}._wrapper_g1cur3 .hljs-attr,._wrapper_g1cur3 .hljs-attribute,._wrapper_g1cur3 .hljs-literal,._wrapper_g1cur3 .hljs-meta,._wrapper_g1cur3 .hljs-number,._wrapper_g1cur3 .hljs-operator,._wrapper_g1cur3 .hljs-selector-attr,._wrapper_g1cur3 .hljs-selector-class,._wrapper_g1cur3 .hljs-selector-id,._wrapper_g1cur3 .hljs-variable{--csstools-light-dark-toggle--100:var(--csstools-color-scheme--dark) #005cc5;color:var(--csstools-light-dark-toggle--100, #79c0ff)}._wrapper_g1cur3 .hljs-meta .hljs-string,._wrapper_g1cur3 .hljs-regexp,._wrapper_g1cur3 .hljs-string{--csstools-light-dark-toggle--101:var(--csstools-color-scheme--dark) #032f62;color:var(--csstools-light-dark-toggle--101, #a5d6ff)}._wrapper_g1cur3 .hljs-built_in,._wrapper_g1cur3 .hljs-symbol{--csstools-light-dark-toggle--102:var(--csstools-color-scheme--dark) #e36209;color:var(--csstools-light-dark-toggle--102, #ffa657)}._wrapper_g1cur3 .hljs-code,._wrapper_g1cur3 .hljs-comment,._wrapper_g1cur3 .hljs-formula{--csstools-light-dark-toggle--103:var(--csstools-color-scheme--dark) #6a737d;color:var(--csstools-light-dark-toggle--103, #8b949e)}._wrapper_g1cur3 .hljs-name,._wrapper_g1cur3 .hljs-quote,._wrapper_g1cur3 .hljs-selector-pseudo,._wrapper_g1cur3 .hljs-selector-tag{--csstools-light-dark-toggle--104:var(--csstools-color-scheme--dark) #22863a;color:var(--csstools-light-dark-toggle--104, #7ee787)}._wrapper_g1cur3 .hljs-subst{--csstools-light-dark-toggle--105:var(--csstools-color-scheme--dark) #24292e;color:var(--csstools-light-dark-toggle--105, #c9d1d9)}._wrapper_g1cur3 .hljs-section{--csstools-light-dark-toggle--106:var(--csstools-color-scheme--dark) #005cc5;color:var(--csstools-light-dark-toggle--106, #1f6feb);font-weight:700}._wrapper_g1cur3 .hljs-bullet{--csstools-light-dark-toggle--107:var(--csstools-color-scheme--dark) #735c0f;color:var(--csstools-light-dark-toggle--107, #f2cc60)}._wrapper_g1cur3 .hljs-emphasis{--csstools-light-dark-toggle--108:var(--csstools-color-scheme--dark) #24292e;color:var(--csstools-light-dark-toggle--108, #c9d1d9);font-style:italic}._wrapper_g1cur3 .hljs-strong{--csstools-light-dark-toggle--109:var(--csstools-color-scheme--dark) #24292e;color:var(--csstools-light-dark-toggle--109, #c9d1d9);font-weight:700}._wrapper_g1cur3 .hljs-addition{--csstools-light-dark-toggle--110:var(--csstools-color-scheme--dark) #22863a;color:var(--csstools-light-dark-toggle--110, #aff5b4);--csstools-light-dark-toggle--111:var(--csstools-color-scheme--dark) #f0fff4;background-color:var(--csstools-light-dark-toggle--111, #033a16)}._wrapper_g1cur3 .hljs-deletion{--csstools-light-dark-toggle--112:var(--csstools-color-scheme--dark) #b31d28;color:var(--csstools-light-dark-toggle--112, #ffdcd7);--csstools-light-dark-toggle--113:var(--csstools-color-scheme--dark) #ffeef0;background-color:var(--csstools-light-dark-toggle--113, #67060c)}._row_ofj1qe{display:flex;align-items:center;position:relative;font-size:18px;padding:var(--space-s) var(--space-m);--csstools-light-dark-toggle--118:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--118, #141413);border-radius:var(--space-3xs);box-shadow:var(--shadow);transition:all var(--transition-slow)}._row_ofj1qe,._row_ofj1qe *{--csstools-light-dark-toggle--114:var(--csstools-color-scheme--dark) var(--grey200);--bg-color:var(--csstools-light-dark-toggle--114, #242422);--csstools-light-dark-toggle--115:var(--csstools-color-scheme--dark) hsl(217, 37%, 98%);--hover-bg-color:var(--csstools-light-dark-toggle--115, hsl(204, 3%, 11%));--csstools-light-dark-toggle--116:var(--csstools-color-scheme--dark) var(--grey700);--fg-color:var(--csstools-light-dark-toggle--116, #ccc);--csstools-light-dark-toggle--117:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);--shadow:0 1px 3px var(--csstools-light-dark-toggle--117, #232321)}._row_ofj1qe._focused_ofj1qe,._row_ofj1qe:hover{background-color:var(--hover-bg-color);transition:all var(--transition-instant)}._row_ofj1qe._focused_ofj1qe{box-shadow:0 0 0 3px var(--yellow500),var(--shadow)}._row_ofj1qe._latest_ofj1qe,._row_ofj1qe._latest_ofj1qe *{--csstools-light-dark-toggle--119:var(--csstools-color-scheme--dark) hsl(109, 75%, 87%);--bg-color:var(--csstools-light-dark-toggle--119, hsl(136, 67%, 11%));--csstools-light-dark-toggle--120:var(--csstools-color-scheme--dark) hsl(109, 75%, 97%);--hover-bg-color:var(--csstools-light-dark-toggle--120, hsl(109, 10%, 11%));--csstools-light-dark-toggle--121:var(--csstools-color-scheme--dark) hsl(136, 67%, 38%);--fg-color:var(--csstools-light-dark-toggle--121, hsl(109, 75%, 87%))}._row_ofj1qe._prerelease_ofj1qe,._row_ofj1qe._prerelease_ofj1qe *{--csstools-light-dark-toggle--122:var(--csstools-color-scheme--dark) hsl(39, 100%, 91%);--bg-color:var(--csstools-light-dark-toggle--122, hsl(39, 71%, 15%));--csstools-light-dark-toggle--123:var(--csstools-color-scheme--dark) hsl(39, 100%, 97%);--hover-bg-color:var(--csstools-light-dark-toggle--123, hsl(39, 10%, 11%));--csstools-light-dark-toggle--124:var(--csstools-color-scheme--dark) hsl(39, 71%, 45%);--fg-color:var(--csstools-light-dark-toggle--124, hsl(39, 100%, 91%))}._row_ofj1qe._yanked_ofj1qe,._row_ofj1qe._yanked_ofj1qe *{--csstools-light-dark-toggle--125:var(--csstools-color-scheme--dark) hsl(0, 92%, 90%);--bg-color:var(--csstools-light-dark-toggle--125, hsl(0, 84%, 12%));--csstools-light-dark-toggle--126:var(--csstools-color-scheme--dark) hsl(0, 92%, 98%);--hover-bg-color:var(--csstools-light-dark-toggle--126, hsl(0, 10%, 11%));--csstools-light-dark-toggle--127:var(--csstools-color-scheme--dark) hsl(0, 84%, 32%);--fg-color:var(--csstools-light-dark-toggle--127, hsl(0, 92%, 90%))}._row_ofj1qe .ember-tooltip-target,._row_ofj1qe [title]{position:relative;z-index:1;cursor:help}._row_ofj1qe .ember-tooltip{word-break:break-all}._version_ofj1qe{display:grid;grid-template-columns:auto auto;place-items:center}@media only screen and (max-width:550px){._version_ofj1qe{grid-template-columns:auto;margin:0 var(--space-s)}}._release-track_ofj1qe{flex-shrink:0;display:grid;place-items:center;width:var(--space-xl);height:var(--space-xl);overflow:hidden;margin-right:var(--space-s);font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--fg-color);background-color:var(--bg-color);--csstools-light-dark-toggle--128:var(--csstools-color-scheme--dark) white;border:1px solid var(--csstools-light-dark-toggle--128, #808080);border-radius:50%;transition:all var(--transition-fast)}._release-track_ofj1qe>svg{height:1em;width:auto}._row_ofj1qe._focused_ofj1qe ._release-track_ofj1qe,._row_ofj1qe:hover ._release-track_ofj1qe{--csstools-light-dark-toggle--129:var(--csstools-color-scheme--dark) white;border:var(--space-4xs) solid var(--csstools-light-dark-toggle--129, #bfbfbf);--csstools-light-dark-toggle--130:var(--csstools-color-scheme--dark) var(--fg-color);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--130, #232321)}@media only screen and (max-width:550px){._release-track_ofj1qe{margin:0 0 var(--space-s)}}._rt-latest_ofj1qe{color:#20a243}._rt-prerelease_ofj1qe{color:#faa733}._rt-yanked_ofj1qe{color:#f13737}._num-link_ofj1qe{max-width:200px;text-overflow:ellipsis;overflow:hidden;font-weight:500;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;outline:0}._num-link_ofj1qe,._num-link_ofj1qe:hover{color:var(--fg-color)}._metadata_ofj1qe{flex-grow:1;margin-left:var(--space-m);--csstools-light-dark-toggle--131:var(--csstools-color-scheme--dark) var(--grey600);color:var(--csstools-light-dark-toggle--131, #d1cfc7);text-transform:uppercase;letter-spacing:.7px;font-size:13px}._metadata_ofj1qe a{position:relative;color:inherit}._metadata_ofj1qe a:hover{--csstools-light-dark-toggle--132:var(--csstools-color-scheme--dark) var(--grey900);color:var(--csstools-light-dark-toggle--132, #f5f3e9)}._metadata_ofj1qe a:focus-visible{outline:0;color:var(--yellow500)}._metadata_ofj1qe svg{height:1em;width:auto;margin-right:var(--space-4xs);margin-bottom:-.1em}._metadata_ofj1qe .ember-tooltip{text-transform:none;letter-spacing:normal}._metadata_ofj1qe>*+*{margin-top:var(--space-2xs)}@media only screen and (max-width:750px){._metadata_ofj1qe>*+*{margin-top:var(--space-xs)}}._avatar_ofj1qe{height:1.5em;width:auto;margin-left:var(--space-4xs);margin-bottom:-.4em;border-radius:50%;box-shadow:0 1px 1px 0 var(--grey600);padding:1px}._metadata-row_ofj1qe>*+*{margin-left:var(--space-s)}@media only screen and (max-width:750px){._metadata-row_ofj1qe{display:flex;flex-direction:column;align-items:flex-start}._metadata-row_ofj1qe>*+*{margin-left:0;margin-top:var(--space-xs)}}._date_ofj1qe._new_ofj1qe,.tooltip ._new_ofj1qe{color:#ed9b02}._msrv_ofj1qe{text-transform:initial}._msrv_ofj1qe svg{margin-bottom:-.15em}._bytes_ofj1qe{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;text-transform:none}._feature-list_ofj1qe{padding:0;margin:var(--space-xs) var(--space-2xs);list-style:none}._yank-button_ofj1qe{position:relative;margin-left:var(--space-xs)}@media only screen and (max-width:550px){._yank-button_ofj1qe{display:none}}._list_1ohwnv{--csstools-light-dark-toggle--133:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--133, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--134:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--134, #232321)}._list_1ohwnv dt{padding:var(--space-s);padding-bottom:var(--space-2xs);font-family:var(--font-monospace);font-weight:700}._list_1ohwnv dd{margin:0 var(--space-s) var(--space-s)}._list_1ohwnv>*+dt{--csstools-light-dark-toggle--135:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--135, #424242)}._list_1ohwnv,._results-meta_hm3gzo{margin-bottom:var(--space-s)}._list_hm3gzo{list-style:none;margin:0 0 var(--space-s);padding:0}._list_hm3gzo>*+*{margin-top:var(--space-2xs)}._no-results_hm3gzo{text-align:center;margin:var(--space-m) 0}._list_157kuh{list-style:none;margin:0;padding:0}._list_157kuh>*+*{margin-top:var(--space-2xs)}._heading_157kuh{font-size:1.17em;margin-block-start:1em;margin-block-end:1em}._list_sj17up{--csstools-light-dark-toggle--136:var(--csstools-color-scheme--dark) white;background-color:var(--csstools-light-dark-toggle--136, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--137:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35);box-shadow:0 1px 3px var(--csstools-light-dark-toggle--137, #232321);margin-bottom:var(--space-s)}._list_sj17up>*{padding:var(--space-s)}._list_sj17up>*+*{--csstools-light-dark-toggle--138:var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25);border-top:1px solid var(--csstools-light-dark-toggle--138, #232321)}._themes-form_110lt5{display:flex;gap:var(--space-xs);flex-wrap:wrap}._theme-label_110lt5{display:inline-block;padding:var(--space-s);--csstools-light-dark-toggle--26:var(--csstools-color-scheme--dark) white;background:var(--csstools-light-dark-toggle--26, #141413);border-radius:var(--space-3xs);--csstools-light-dark-toggle--27:var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35);box-shadow:0 2px 3px var(--csstools-light-dark-toggle--27, #232321)}._theme-preview_110lt5{width:200px;height:160px}._me-email_y8b1zj,._me-profile_y8b1zj,._theme-preview_110lt5{margin-bottom:var(--space-s)}._me-profile_y8b1zj ._info_y8b1zj{display:flex}._me-profile_y8b1zj dl{margin:0 0 0 var(--space-m);line-height:1.5;font-size:110%}._me-profile_y8b1zj dl dt{font-weight:700;width:150px;text-align:right;float:left;clear:both}._me-profile_y8b1zj dl dd{float:left;margin-left:var(--space-xs)}@media only screen and (max-width:550px){._me-profile_y8b1zj ._info_y8b1zj img{display:none}}._me-email_y8b1zj{display:flex;flex-direction:column} \ No newline at end of file diff --git a/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css.br b/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css.br new file mode 100644 index 00000000..2f6aafe7 Binary files /dev/null and b/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css.br differ diff --git a/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css.gz b/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css.gz new file mode 100644 index 00000000..152152a2 Binary files /dev/null and b/assets/crates-io.9dee9e142c0d1f17ff4d413c7f17d4c7.css.gz differ diff --git a/assets/crates-io.css b/assets/crates-io.css new file mode 100644 index 00000000..df5fb3f9 --- /dev/null +++ b/assets/crates-io.css @@ -0,0 +1,4638 @@ +/* styles for crates-io/styles/shared/a11y.module.css */ +._sr-only_1igkyf { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border: 0; +} + +/* styles for crates-io/styles/shared/buttons.module.css */ +._button-reset_g91299 { + padding: 0; + border: none; + outline: none; + font: inherit; + color: inherit; + background: none; +} + +._button_g91299 { + --text-color: #383838; + --disabled-text-color: #858585; + + --bg-color-top: #fede9e; + --bg-color-bottom: #fdc452; + + --bg-color-top-light: #fee7b7; + --bg-color-bottom-light: #fdcd6b; + + --bg-color-top-dark: #fed585; + --bg-color-bottom-dark: #fdbb39; + + padding: var(--space-xs) var(--space-m-l); + display: inline-flex; + align-items: center; + justify-content: center; + color: var(--text-color); + -webkit-text-decoration: none; + text-decoration: none; + font-weight: bold; + border: none; + outline: 0; + border-radius: 5000px; + background: linear-gradient(to bottom, var(--bg-color-top) 0%, var(--bg-color-bottom) 100%); + cursor: pointer; +} + +._button_g91299:hover, ._button_g91299:active, ._button_g91299:visited { + color: var(--text-color); + } + +._button_g91299 img, ._button_g91299 svg { + float: left; + display: inline-block; + margin-right: var(--space-2xs); + } + +._button_g91299:hover, ._button_g91299:focus, ._button_g91299._active_g91299 { + background: linear-gradient(to bottom, var(--bg-color-top-dark) 0%, var(--bg-color-bottom-dark) 100%); + outline: 0; + } + +._button_g91299[disabled] { + background: linear-gradient(to bottom, var(--bg-color-top-light) 0%, var(--bg-color-bottom-light) 100%); + color: var(--disabled-text-color); + } + +._yellow-button_g91299 { +} + +._tan-button_g91299 { + + --bg-color-top: #e8e3c7; + --bg-color-bottom: #d6cd99; + + --bg-color-top-light: #efecd9; + --bg-color-bottom-light: #ddd6ab; + + --bg-color-top-dark: #e1dab5; + --bg-color-bottom-dark: #cfc487; +} + +._small_g91299 { + padding: var(--space-2xs) var(--space-s); +} + +/* styles for crates-io/components/color-scheme-menu.module.css */ +._dropdown_vf10gd { + line-height: 1rem; +} + +._icon_vf10gd { + width: 1.4em; + height: auto; +} + +._trigger_vf10gd { + background: none; + border: 0; + padding: 0; +} + +._trigger-label_vf10gd { +} + +._menu_vf10gd { + right: 0; + min-width: max-content; +} + +._menu-button_vf10gd { + align-items: center; + gap: var(--space-2xs); + cursor: pointer; + text-transform: capitalize; +} + +._selected_vf10gd { + --csstools-light-dark-toggle--0: var(--csstools-color-scheme--dark) #e6e6e6; + background: var(--csstools-light-dark-toggle--0, #404040); +} + +/* styles for crates-io/styles/shared/typography.module.css */ +._small_1oyocj { + color: var(--main-color-light); + font-size: 80%; +} +._small_1oyocj strong { + color: var(--main-color); + } +._small_1oyocj .tooltip strong { + color: inherit; + } + +._small_1oyocj a, a._small_1oyocj { + color: var(--main-color-light); + -webkit-text-decoration: underline; + text-decoration: underline; + font-weight: normal; +} + +._small_1oyocj a:hover, a._small_1oyocj:hover { + color: #6b6b6b; + } + +/* styles for crates-io/components/crate-row.module.css */ +._crate-row_1unvv5 { + --csstools-light-dark-toggle--1: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--1, #232321); + + display: flex; + flex-wrap: wrap; + padding: var(--space-s-m) var(--space-m-l); + --csstools-light-dark-toggle--2: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--2, #141413); + border-radius: var(--space-3xs); + box-shadow: var(--shadow); +} +._crate-row_1unvv5 * { + --csstools-light-dark-toggle--1: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--1, #232321); +} + +._description-box_1unvv5 { + display: flex; + flex-direction: column; + width: 70%; +} + +._name_1unvv5 { + color: var(--main-color); + font-weight: bold; + -webkit-text-decoration: none; + text-decoration: none; + font-size: 120%; + overflow-wrap: break-word; +} + +._version_1unvv5 { + margin-left: var(--space-2xs); +} + +._copy-button_1unvv5 { + padding: 0 var(--space-2xs); + color: var(--main-color); + cursor: pointer; + opacity: 0; + transition: var(--transition-medium); +} + +._crate-row_1unvv5:hover ._copy-button_1unvv5 { + opacity: .8; + transition: var(--transition-instant); + } + +._crate-row_1unvv5:hover ._copy-button_1unvv5:hover, ._copy-button_1unvv5:focus { + opacity: 1; + transition: var(--transition-instant); + } + +._copy-button_1unvv5 svg { + height: 1rem; + width: 1rem; + } + +._description_1unvv5 { + margin-top: var(--space-xs); + line-height: 1.5; +} + +._stats_1unvv5 { + width: 30%; + color: var(--main-color-light); +} + +._stats_1unvv5 > * + * { + margin-top: var(--space-xs); + } + +._stats_1unvv5 svg { + height: 1em; + width: 1em; + margin-right: var(--space-xs); + + flex-shrink: 0; + } + +._stats_1unvv5 svg._download-icon_1unvv5 { + height: calc(1em + 20px); + width: calc(1em + 20px); + margin: -10px; + margin-right: calc(var(--space-xs) - 10px); + } + +._stats_1unvv5 svg._download-icon_1unvv5 circle { + fill: none; + } + +._downloads_1unvv5 { + display: flex; + align-items: center; +} + +._recent-downloads_1unvv5 { + display: flex; + align-items: center; +} + +._updated-at_1unvv5 { + display: flex; + align-items: center; +} + +ul._quick-links_1unvv5 { + display: flex; + flex-direction: row; + flex-wrap: wrap; + + font-size: 80%; + list-style-type: none; + margin: var(--space-xs) 0 0 0; + padding: 0; +} + +ul._quick-links_1unvv5 > * + * { + margin-left: var(--space-xs); + } + +/* styles for crates-io/components/crate-sidebar.module.css */ +._sidebar_1nmwg6 { + display: flex; + flex-direction: column; +} +._sidebar_1nmwg6 > * + * { + margin-top: var(--space-m); + } + +._heading_1nmwg6 { + font-size: 1.17em; + margin: 0 0 var(--space-s); +} + +._metadata_1nmwg6 > * + * { + margin-top: var(--space-2xs); + } + +._date_1nmwg6, +._msrv_1nmwg6, +._license_1nmwg6, +._bytes_1nmwg6 { + display: flex; + align-items: center; +} + +._date_1nmwg6 svg, ._msrv_1nmwg6 svg, ._license_1nmwg6 svg, ._bytes_1nmwg6 svg { + flex-shrink: 0; + margin-right: var(--space-2xs); + height: 1em; + width: auto; + } + +._date_1nmwg6 [title], ._msrv_1nmwg6 [title], ._date_1nmwg6 .ember-tooltip-target, ._msrv_1nmwg6 .ember-tooltip-target { + cursor: help; + } + +._license_1nmwg6 a { + color: var(--main-color); + } + +._bytes_1nmwg6 { + font-feature-settings: "tnum"; + font-variant-numeric: tabular-nums; +} + +._links_1nmwg6 > * + * { + margin-top: var(--space-m); + } + +._more-versions-link_1nmwg6, +._reverse-deps-link_1nmwg6 { +} + +._categories_1nmwg6 { + margin: 0; + padding-left: 20px; + line-height: 1.5; +} + +._playground-button_1nmwg6 { + justify-content: center; + width: 220px; +} + +._playground-help_1nmwg6 { + max-width: 220px; + text-align: justify; + line-height: 1.3em; +} + +/* styles for crates-io/components/crate-sidebar/link.module.css */ +._content_iw1br3 { + display: flex; + align-items: center; +} + +._title_iw1br3 { +} + +._icon_iw1br3 { + flex-shrink: 0; + height: 1em; + width: auto; + margin-right: var(--space-2xs); +} + +._link_iw1br3 { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +/* styles for crates-io/components/email-input.module.css */ +._friendly-message_fp7kwx { + margin-top: 0; +} + +._row_fp7kwx { + width: 100%; + border: 1px solid #d5d3cb; + border-bottom-width: 0; + padding: var(--space-2xs) var(--space-s); + display: flex; + align-items: center; +} + +._row_fp7kwx:last-child { + border-bottom-width: 1px; + } + +._label_fp7kwx { + flex: 1; + margin-right: var(--space-xs); + font-weight: bold; +} + +._email-column_fp7kwx { + flex: 20; +} + +._verified_fp7kwx { + color: green; + font-weight: bold; +} + +._email-form_fp7kwx { + flex: 10; + display: inline-flex; + justify-content: space-between; + flex-wrap: wrap; +} + +._input_fp7kwx { + width: 400px; + margin-right: var(--space-xs); +} + +._actions_fp7kwx { + display: flex; + align-items: center; +} + +._save-button_fp7kwx, +._cancel-button_fp7kwx, +._edit-button_fp7kwx, +._resend-button_fp7kwx { +} + +._save-button_fp7kwx { + margin-right: var(--space-2xs); +} + +/* styles for crates-io/components/follow-button.module.css */ +._button_1pva0m { + + height: 48px; + width: 150px; + justify-content: center; +} + +/* styles for crates-io/styles/application.module.css */ +:root, [data-theme="classic"] { + --violet800: hsl(252, 44%, 24%); + --grey900: hsl(200, 15%, 19%); + --grey700: hsl(200, 11%, 43%); + --grey600: hsl(200, 13%, 60%); + --grey200: hsl(200, 17%, 96%); + --green800: hsl(115, 31%, 31%); + --green900: hsl(115, 31%, 21%); + + --orange-50: #fff7ed; + --orange-100: #ffedd5; + --orange-200: #fed7aa; + --orange-300: #fdba74; + --orange-400: #fb923c; + --orange-500: #f97316; + --orange-600: #ea580c; + --orange-700: #c2410c; + --orange-800: #9a3412; + --orange-900: #7c2d12; + + --yellow500: #f98a25; + --yellow700: #fb7123; + + --header-bg-color: #153448; + + --transition-x-slow: 1000ms; + --transition-slow: 500ms; + --transition-medium: 250ms; + --transition-fast: 150ms; + --transition-x-fast: 50ms; + --transition-instant: 0ms; + + --font-heading: "Fira Sans", sans-serif; + --font-body: var(--font-heading); + --font-monospace: "Fira Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", + "Courier New", monospace; + + --csstools-light-dark-toggle--3: var(--csstools-color-scheme--dark) #383838; + + --main-color: var(--csstools-light-dark-toggle--3, #f9f7ec); + --csstools-light-dark-toggle--4: var(--csstools-color-scheme--dark) #858585; + --main-color-light: var(--csstools-light-dark-toggle--4, #a6a6a6); + --main-shadow-color: #948979; + --main-bg: #3C5B6F; + --main-bg-dark: #153448; + --csstools-light-dark-toggle--5: var(--csstools-color-scheme--dark) #d5d3cb; + --gray-border: var(--csstools-light-dark-toggle--5, #666561); + --link-color: #f98a25; + --link-hover-color: #fb7123; + + --placeholder-bg: hsl(212, 7%, 57%); + --placeholder-bg2: hsl(213, 16%, 75%); + + /* see https://utopia.fyi/space/calculator?c=320,14,1.2,1140,18,1.25,5,2,&s=0.75|0.5|0.25|0.125,1.5|2|3|4|6,s-l */ + + --space-4xs: clamp(0.13rem, calc(0.13rem + 0.00vw), 0.13rem); + --space-3xs: clamp(0.25rem, calc(0.23rem + 0.12vw), 0.31rem); + --space-2xs: clamp(0.44rem, calc(0.39rem + 0.24vw), 0.56rem); + --space-xs: clamp(0.69rem, calc(0.61rem + 0.37vw), 0.88rem); + --space-s: clamp(0.88rem, calc(0.78rem + 0.49vw), 1.13rem); + --space-m: clamp(1.31rem, calc(1.17rem + 0.73vw), 1.69rem); + --space-l: clamp(1.75rem, calc(1.55rem + 0.98vw), 2.25rem); + --space-xl: clamp(2.63rem, calc(2.33rem + 1.46vw), 3.38rem); + --space-2xl: clamp(3.50rem, calc(3.11rem + 1.95vw), 4.50rem); + --space-3xl: clamp(5.25rem, calc(4.66rem + 2.93vw), 6.75rem); + + /* One-up pairs */ + --space-4xs-3xs: clamp(0.13rem, calc(0.05rem + 0.37vw), 0.31rem); + --space-3xs-2xs: clamp(0.25rem, calc(0.13rem + 0.61vw), 0.56rem); + --space-2xs-xs: clamp(0.44rem, calc(0.27rem + 0.85vw), 0.88rem); + --space-xs-s: clamp(0.69rem, calc(0.52rem + 0.85vw), 1.13rem); + --space-s-m: clamp(0.88rem, calc(0.56rem + 1.59vw), 1.69rem); + --space-m-l: clamp(1.31rem, calc(0.95rem + 1.83vw), 2.25rem); + --space-l-xl: clamp(1.75rem, calc(1.12rem + 3.17vw), 3.38rem); + --space-xl-2xl: clamp(2.63rem, calc(1.89rem + 3.66vw), 4.50rem); + --space-2xl-3xl: clamp(3.50rem, calc(2.23rem + 6.34vw), 6.75rem); + + /* Custom pairs */ + --space-s-l: clamp(0.88rem, calc(0.34rem + 2.68vw), 2.25rem); + + --csstools-color-scheme--dark: ; + + color-scheme: light dark; +} +:root *, [data-theme="classic"] * { + + --csstools-light-dark-toggle--3: var(--csstools-color-scheme--dark) #383838; + + --main-color: var(--csstools-light-dark-toggle--3, #f9f7ec); +} +:root *, [data-theme="classic"] * { + --csstools-light-dark-toggle--4: var(--csstools-color-scheme--dark) #858585; + --main-color-light: var(--csstools-light-dark-toggle--4, #a6a6a6); +} +:root *, [data-theme="classic"] * { + --csstools-light-dark-toggle--5: var(--csstools-color-scheme--dark) #d5d3cb; + --gray-border: var(--csstools-light-dark-toggle--5, #666561); +} +@media (prefers-color-scheme: dark) { +:root, [data-theme="classic"] { + + --csstools-color-scheme--dark: initial; +} +} + +[data-color-scheme="light"] { + --csstools-color-scheme--dark: ; + color-scheme: light; +} + +[data-color-scheme="dark"] { + --csstools-color-scheme--dark: initial; + color-scheme: dark; +} + +* { + box-sizing: border-box; +} + +html, body { + margin: 0; + scroll-behavior: smooth; +} + +body { + background-color: var(--header-bg-color); + font-family: var(--font-body); + font-size: 16px; + display: flex; + flex-direction: column; + min-height: 100vh; +} + +h1, h2, h3, h4 { + font-family: var(--font-heading); +} + +@media only screen and (max-width: 400px) { + +h1 { + font-size: 1.5em; +} + } + +a, ._link_17u5gr { + color: var(--link-color); + -webkit-text-decoration: none; + text-decoration: none; + cursor: pointer; +} + +:is(a,._link_17u5gr):hover { + color: var(--link-hover-color); + } + +/* Using `:not(...)` here for specificity reasons */ +a:not([href]) { + color: initial; + cursor: initial; +} + +pre.terminal { + background: var(--main-color); + color: white; + padding: var(--space-s); + font-family: var(--font-monospace); +} + +abbr[title] { + -webkit-text-decoration: none; + text-decoration: none; + border-bottom: 1px dotted; +} + +noscript { + display: grid; + justify-items: center; + padding: var(--space-m); + color: white; +} + +/* see https://github.com/twbs/bootstrap/pull/30269 */ +::-webkit-datetime-edit, +::-webkit-datetime-edit-fields-wrapper, +::-webkit-datetime-edit-text, +::-webkit-datetime-edit-minute, +::-webkit-datetime-edit-hour-field, +::-webkit-datetime-edit-day-field, +::-webkit-datetime-edit-month-field, +::-webkit-datetime-edit-year-field { + padding: 0; +} + +::-webkit-calendar-picker-indicator { + font-size: 0.9em +} + +.c-notification__icon { + display: flex; + justify-content: center; + align-items: center; +} + +.c-notification__content { + line-height: 1.5; +} + +._width-limit_17u5gr { + width: 960px; +} + +@media only screen and (max-width: 960px) { + +._width-limit_17u5gr { + width: 100%; +} + } + +._main_17u5gr { + flex-grow: 1; + display: flex; + justify-content: center; + width: 100%; + position: relative; + background-color: var(--main-bg); + color: var(--main-color); + box-shadow: 0 0 6px 0 var(--main-shadow-color); +} + +._inner-main_17u5gr { + --main-layout-padding: var(--space-s); + display: flex; + flex-direction: column; + padding: var(--main-layout-padding); +} + +.ember-tooltip { + font-weight: normal; +} + +/* styles for crates-io/components/footer.module.css */ +:root, [data-theme="classic"] { + --footer-bg-color: var(--header-bg-color); + --footer-header-color: var(--yellow500); + --footer-header-shadow-color: var(--green900); + --footer-link-color: #fff; + --footer-link-hover-color: var(--yellow500); + --footer-link-hover-shadow-color: var(--green900); +} + +._footer_hautyr { + display: grid; + justify-items: center; + background: var(--footer-bg-color); +} + +._content_hautyr { + display: grid; + gap: var(--space-xl) var(--space-m); + padding: var(--space-l); +} + +@media only screen and (min-width: 551px) { + +._content_hautyr { + grid-template-columns: repeat(2, 1fr); + justify-content: center; + padding: var(--space-xl) var(--space-m); +} + } + +@media only screen and (min-width: 751px) { + +._content_hautyr { + grid-template-columns: repeat(4, 1fr); +} + } + +._content_hautyr h1 { + margin: 0 0 var(--space-s); + font-size: 20px; + font-weight: 500; + color: var(--footer-header-color); + text-shadow: 1px 1px 1px var(--footer-header-shadow-color); + } + +._content_hautyr ul { + list-style: none; + margin: 0; + padding: 0; + } + +:is(._content_hautyr ul) > * + * { + margin-top: var(--space-xs); + } + +._content_hautyr li { + height: 1rem; + } + +._content_hautyr a { + display: inline-flex; + /* slightly increased click targets */ + margin: calc(var(--space-2xs) * -1); + padding: var(--space-2xs); + color: #fff; + font-size: 16px; + line-height: 1em; + white-space: nowrap; + transition: var(--transition-medium); + } + +._content_hautyr a:hover { + color: var(--footer-link-hover-color); + text-shadow: 1px 1px 1px var(--footer-link-hover-shadow-color); + /* apply color fade only on mouse-out */ + transition: var(--transition-instant); + } + +._content_hautyr a:hover svg { + filter: drop-shadow(1px 1px 1px var(--footer-link-hover-shadow-color)); + } + +._content_hautyr svg { + height: 1.25em; + width: 1.25em; + margin: -.125em var(--space-xs) -.125em 0; + flex-shrink: 0; + } + +/* styles for crates-io/components/header.module.css */ +._header_1hc36y { + display: flex; + justify-content: center; + width: 100%; +} + +._header-inner_1hc36y { + + display: grid; + grid-template: + "logo search nav" auto / + auto 1fr auto; + align-items: center; + padding: var(--space-xs) var(--space-m); + color: white; +} + +._header-inner_1hc36y a { + color: white; -webkit-text-decoration: none; text-decoration: none; + } + +._header-inner_1hc36y a:hover { color: white; } + +@media only screen and (max-width: 900px) { + +._header-inner_1hc36y { + grid-template: + "logo search menu" auto / + auto 1fr auto; +} + } + +@media only screen and (max-width: 820px) { + +._header-inner_1hc36y { + grid-template: + "logo menu" auto + "search search" auto / + auto 1fr; +} + } + +._hero_1hc36y ._header-inner_1hc36y { + grid-template: + "logo nav" auto + "search search" auto / + auto 1fr; + } + +@media only screen and (max-width: 900px) { + +._hero_1hc36y ._header-inner_1hc36y { + grid-template: + "logo menu" auto + "search search" auto / + auto 1fr; + } + } + +._index-link_1hc36y { + grid-area: logo; + display: flex; + align-items: center; +} + +._index-link_1hc36y h1 { + margin: 0; + font-size: var(--space-m); + } + +._logo_1hc36y { + width: auto; + height: calc(var(--space-m) * 1.4); + margin-right: var(--space-xs); +} + +._search-form_1hc36y { + grid-area: search; + margin: 0 var(--space-m); +} + +@media only screen and (max-width: 820px) { + +._search-form_1hc36y { + margin: var(--space-s) 0; +} + } + +._hero_1hc36y ._search-form_1hc36y { + justify-self: center; + padding: var(--space-l) 0 var(--space-l-xl); + margin: 0; + } + +._hero-title_1hc36y { + display: none; + margin: 0 0 var(--space-m); + font-size: var(--space-m-l); + text-align: center; + color: white; + text-shadow: 1px 3px 2px var(--green900); +} + +._hero_1hc36y ._hero-title_1hc36y { + display: block; + } + +._sep_1hc36y { + margin: 0 var(--space-2xs); + opacity: 0.5; +} + +._nav_1hc36y { + grid-area: nav; + display: flex; + align-items: center; + justify-self: end; +} + +@media only screen and (max-width: 900px) { + +._nav_1hc36y { + display: none; +} + } + +._menu_1hc36y { + grid-area: menu; + justify-self: end; + display: none; +} + +@media only screen and (max-width: 900px) { + +._menu_1hc36y { + display: flex; + align-items: center; +} + } + +._menu-item-with-separator_1hc36y { + border-top: 1px solid var(--gray-border); +} + +._color-scheme-menu_1hc36y { + margin-right: var(--space-xs); +} + +._login-button_1hc36y { + display: inline-flex; + align-items: center; + /* negative margin for larger click target */ + margin: calc(var(--space-2xs) * -1); + padding: var(--space-2xs); + cursor: pointer; +} + +._login-button_1hc36y:disabled { + cursor: wait; + } + +._login-button_1hc36y ._spinner_1hc36y { + --spinner-color: white; + --spinner-bg-color: rgba(255, 255, 255, .2); + + margin-right: var(--space-2xs); + } + +._login-icon_1hc36y { + width: 1em; + margin-right: var(--space-2xs); + opacity: 0.5; +} + +._avatar_1hc36y { + margin-right: var(--space-2xs); +} + +._wizard-hat_1hc36y { + margin-right: var(--space-3xs); +} + +._current-user-links_1hc36y { + left: auto; + right: 0; + min-width: 200px; +} + +._dropdown-button_1hc36y { + background: none; + border: 0; + padding: 0; +} + +._dropdown-button_1hc36y img { + /* 22px is the hard coded size of a UserAvatar when @size="small" */ + margin-top: calc((22px - 1em) * -0.5); + } + +._login-menu-item_1hc36y, +._logout-menu-item_1hc36y, +._sudo-menu-item_1hc36y { + cursor: pointer; +} + +._login-menu-item_1hc36y:disabled, ._logout-menu-item_1hc36y:disabled, ._sudo-menu-item_1hc36y:disabled { + cursor: wait; + } + +._login-menu-item_1hc36y ._spinner_1hc36y, ._logout-menu-item_1hc36y ._spinner_1hc36y, ._sudo-menu-item_1hc36y ._spinner_1hc36y { + margin-right: var(--space-2xs); + } + +._sudo-menu-item_1hc36y { + flex-direction: column; +} + +._sudo-menu-item_1hc36y > ._expires-in_1hc36y { + font-size: 80%; + font-style: italic; + padding-top: var(--space-3xs); + } + +/* styles for crates-io/components/loading-spinner.module.css */ +._spinner_quttc0 { + --spinner-color: black; + --spinner-bg-color: rgba(0, 0, 0, .2); + --spinner-size: 16px; + + display: inline-block; + height: var(--spinner-size); + width: var(--spinner-size); +} +._spinner_quttc0:after { + content: " "; + display: block; + box-sizing: border-box; + width: var(--spinner-size); + height: var(--spinner-size); + border-radius: 50%; + border: calc(var(--spinner-size) / 5.5) solid var(--spinner-color); + border-color: var(--spinner-bg-color) var(--spinner-bg-color) var(--spinner-color) var(--spinner-bg-color); + animation: _spinner_quttc0 1.2s linear infinite; + } + +._message_quttc0 { +} + +@keyframes _spinner_quttc0 { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} + +/* styles for crates-io/components/owned-crate-row.module.css */ +._label_otuoju { + display: flex; + align-items: center; + background-color: #fff; + border: 1px solid #d5d3cb; + padding: var(--space-xs) var(--space-m); + font-weight: bold; + cursor: pointer; + transition: color var(--transition-medium) ease-in; +} +._label_otuoju._checked_otuoju { + background-color: var(--main-bg-dark); + } + +._name_otuoju { + flex-grow: 1; +} + +._checkbox_otuoju { + display: grid; + place-items: center; + flex-shrink: 0; + width: var(--space-l); + height: var(--space-l); + margin-left: var(--space-m); + border: 2px solid #d5d3cb; + border-radius: 50%; +} + +._checked_otuoju ._checkbox_otuoju { + background-color: #cfc487; + border-color: #cfc487; + } + +._input_otuoju { +} + +/* styles for crates-io/components/owners-list.module.css */ +._list_1ipg5d._detailed_1ipg5d { + list-style: none; + padding: 0; + margin: 0; +} +._list_1ipg5d._detailed_1ipg5d > * + * { + margin-top: 5px; + } +._list_1ipg5d._detailed_1ipg5d ._link_1ipg5d { + display: grid; + grid-template-columns: auto 1fr; + align-items: center; + } +._list_1ipg5d._detailed_1ipg5d ._avatar_1ipg5d { + margin-right: 10px; + } +._list_1ipg5d._detailed_1ipg5d ._name_1ipg5d { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + +._list_1ipg5d:not(._detailed_1ipg5d) { + display: flex; + flex-wrap: wrap; + list-style: none; + padding: 0; + margin: 0 0 -10px; +} + +._list_1ipg5d:not(._detailed_1ipg5d) > * { + margin: 0 10px 10px 0; + } + +._avatar_1ipg5d { + border-radius: 50%; + background: white; + box-shadow: 1px 2px 2px 0 hsla(51, 50%, 44%, .35); + padding: 1px; +} + +._team_1ipg5d ._avatar_1ipg5d { + border-radius: 4px; + } + +._hidden-name_1ipg5d { +} + +/* styles for crates-io/components/pending-owner-invite-row.module.css */ +._row_g17iti { + display: flex; + align-items: baseline; + justify-content: space-between; + flex-wrap: wrap; +} + +._crate-column_g17iti { + width: 200px; +} + +._crate-column_g17iti h3 { + margin: 0; + } + +._date-column_g17iti { +} + +._accept-button_g17iti, +._decline-button_g17iti { +} + +/* styles for crates-io/components/results-count.module.css */ +._results-count_13ksgr { +} + +._highlight_13ksgr { + color: var(--main-color); + font-weight: bold; +} + +/* styles for crates-io/components/search-form.module.css */ +._form_17hnvp { + --border-radius: 5000px; + --submit-icon-size: 1em; + --submit-button-padding-left: var(--space-2xs); + --submit-button-padding-right: var(--space-xs); + --submit-button-width: calc(var(--submit-button-padding-left) + var(--submit-icon-size) + var(--submit-button-padding-right)); + --input-padding: var(--space-3xs); + --input-padding-left: var(--space-xs); + --input-padding-right: calc(var(--submit-button-width) + var(--input-padding)); + + position: relative; + font-size: calc(var(--space-s) * 0.9); +} +._form_17hnvp._size-big_17hnvp { + --input-padding: 8px; + --input-padding-left: 16px; + --submit-button-padding-left: 12px; + --submit-button-padding-right: 16px; + + font-size: var(--space-s); + } + +._input_17hnvp { + --search-form-focus-shadow: 0 0 0 var(--space-3xs) var(--yellow500); + + border: none; + --csstools-light-dark-toggle--28: var(--csstools-color-scheme--dark) black; + color: var(--csstools-light-dark-toggle--28, var(--main-color)); + --csstools-light-dark-toggle--29: var(--csstools-color-scheme--dark) white; + background: var(--csstools-light-dark-toggle--29, hsl(0, 1%, 19%)); + width: 100%; + padding: var(--input-padding) var(--input-padding-right) var(--input-padding) var(--input-padding-left); + border-radius: var(--border-radius); + --csstools-light-dark-toggle--30: var(--csstools-color-scheme--dark) var(--green900); + box-shadow: 1px 2px 4px 0 var(--csstools-light-dark-toggle--30, hsl(111, 10%, 8%)); + transition: box-shadow var(--transition-fast); +} + +._input_17hnvp:focus { + outline: none; + box-shadow: var(--search-form-focus-shadow), + 1px 2px 3px 4px var(--green900); + } + +@media only screen and (max-width: 820px) { + +._input-lg_17hnvp { + display: none; +} + } + +._input-sm_17hnvp { + display: none; +} + +@media only screen and (max-width: 820px) { + +._input-sm_17hnvp { + display: unset; +} + } + +._submit-button_17hnvp { + + position: absolute; + /* see https://github.com/rust-lang/crates.io/issues/8677 🤷 */ + right: -.5px; + top: 0; + bottom: 0; + display: inline-grid; + place-items: center; + padding-left: var(--submit-button-padding-left); + padding-right: var(--submit-button-padding-right); + color: white; + background-color: var(--yellow500); + border-top-right-radius: var(--border-radius); + border-bottom-right-radius: var(--border-radius); + cursor: pointer; +} + +._submit-button_17hnvp:hover { + background-color: var(--yellow700); + } + +._submit-label_17hnvp { +} + +._submit-icon_17hnvp { + width: var(--submit-icon-size); + height: var(--submit-icon-size); +} + +/* styles for crates-io/components/settings/api-tokens.module.css */ +._me-subheading_p8odmp { + display: flex; +} +._me-subheading_p8odmp ._right_p8odmp { + flex: 2; + display: flex; + justify-content: flex-end; + align-self: center; + } + +._new-token-button_p8odmp { +} + +._explainer_p8odmp { + line-height: 1.5; +} + +._token-list_p8odmp { + margin: var(--space-m) 0; + padding: 0; + list-style: none; + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--31: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--31, #141413); + --csstools-light-dark-toggle--32: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--32, #232321); +} + +._token-list_p8odmp > * { + padding: var(--space-m); + } + +._token-list_p8odmp > * + * { + --csstools-light-dark-toggle--33: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--33, #424242); + } + +._name_p8odmp { + margin: 0 0 var(--space-s); + font-weight: 500; +} + +._scopes_p8odmp > * + *, ._metadata_p8odmp > * + * { + margin-top: var(--space-3xs); + } + +._scopes_p8odmp { + margin-bottom: var(--space-xs); +} + +._new-token-form_p8odmp { + padding: var(--space-m); + border-radius: var(--space-3xs); + background-color: white; + box-shadow: 0 2px 3px hsla(51, 50%, 44%, .35); + margin-top: var(--space-m); +} + +._new-token-form_p8odmp ._input_p8odmp { + padding: var(--space-2xs); + width: 100%; + border: 1px solid #ada796; + border-radius: var(--space-3xs); + } + +._actions_p8odmp { + margin-top: var(--space-s); + display: flex; + align-items: center; +} + +._spinner_p8odmp { + margin-left: var(--space-xs); +} + +._save-button_p8odmp { + flex-grow: 1; + border-radius: var(--space-3xs); +} + +._revoke-button_p8odmp { + flex-grow: 1; + border-radius: var(--space-3xs); +} + +._regenerate-button_p8odmp { + flex-grow: 1; + border-radius: var(--space-3xs); +} + +._new-token_p8odmp { + margin-top: var(--space-s); +} + +._new-token-explainer_p8odmp { + font-size: 20px; +} + +._token-display_p8odmp { + display: grid; + grid-template-columns: 1fr auto; + align-items: center; + background: var(--main-color); + --csstools-light-dark-toggle--6: var(--csstools-color-scheme--dark) white; + color: var(--csstools-light-dark-toggle--6, #141413); + font-family: var(--font-monospace); + border-radius: var(--space-3xs); + margin-top: var(--space-xs); +} + +._token-value_p8odmp { + padding: var(--space-s); + -webkit-user-select: all; + user-select: all; +} + +._copy-button_p8odmp { + align-self: stretch; + padding: 0 var(--space-s); + cursor: pointer; +} + +._copy-button_p8odmp:hover { + --csstools-light-dark-toggle--34: var(--csstools-color-scheme--dark) #ddd8b2; + color: var(--csstools-light-dark-toggle--34, #65655e); + } + +._copy-button-label_p8odmp { +} + +._copy-button-icon_p8odmp { + width: auto; + height: 1.3em; +} + +._empty-state_p8odmp { + display: grid; + place-items: center; + align-content: center; + margin: var(--space-m) 0; + padding: var(--space-xl-2xl); + --csstools-light-dark-toggle--7: var(--csstools-color-scheme--dark) black; + border: 2px var(--csstools-light-dark-toggle--7, white) dashed; + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--8: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--8, #141413); + --csstools-light-dark-toggle--9: var(--csstools-color-scheme--dark) hsla(51, 50%, 45%, .35); + box-shadow: 0 2px 3px var(--csstools-light-dark-toggle--9, #232321); +} + +._empty-state-label_p8odmp { + font-size: 20px; +} + +._empty-state-button_p8odmp { + margin-top: var(--space-m); + border-radius: 4px; +} + +._expired_p8odmp { + opacity: 0.6; +} + +@media (min-width: 640px) { + ._new-token-form_p8odmp { + display: grid; + grid-template-columns: 1fr auto; + align-items: stretch; + padding: var(--space-s) var(--space-m); + } + + ._new-token-form_p8odmp ._actions_p8odmp { + margin: 0 0 0 var(--space-xs); + } + + + ._row_p8odmp { + display: grid; + grid-template: + "name actions" auto + "scopes actions" auto + "metadata actions" auto + "details details" auto + / 1fr auto; + } + + ._row_p8odmp ._scopes_p8odmp { + grid-area: scopes; + } + + ._row_p8odmp ._metadata_p8odmp { + grid-area: metadata; + } + + ._row_p8odmp ._actions_p8odmp { + display: flex; + flex-direction: column; + grid-area: actions; + align-self: start; + margin: 0 0 0 var(--space-xs); + } + + ._row_p8odmp ._actions_p8odmp > * { + flex-grow: 1; + width: 100%; + margin-top: var(--space-xs); + } + + ._row_p8odmp ._new-token_p8odmp { + grid-area: details; + margin-bottom: 0; + } +} + +/* styles for crates-io/components/yank-button.module.css */ +._yellow-button_1u6878 { +} + +._tan-button_1u6878 { +} +/* styles for crates-io/styles/catch-all.module.css */ +._wrapper_1keoc8 { + height: 100%; + display: grid; + place-items: center; +} + +._content_1keoc8 { + display: grid; + place-items: center; + margin: var(--space-m) 0; +} + +._logo_1keoc8 { + max-width: 200px; +} + +._link_1keoc8 { + font-weight: 500; +} + +._link_1keoc8[disabled] { + color: var(--grey600); + cursor: wait; + } + +/* styles for crates-io/styles/shared/sort-by.module.css */ +._v-center_3bemis{ + display: flex; + align-items: center; + flex-wrap: wrap; + + gap: 5px; +} +/* styles for crates-io/styles/categories.module.css */ +/* Styles for the /categories page */ + +._results-meta_3a7a8o { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by_3a7a8o { +} + +._sort-by-label_3a7a8o { +} + +._list_3a7a8o { + --csstools-light-dark-toggle--35: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--35, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--36: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--36, #232321); + margin-bottom: var(--space-s); +} + +._list_3a7a8o > * { + padding: var(--space-s); + } + +._list_3a7a8o > * + * { + --csstools-light-dark-toggle--37: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--37, #424242); + } + +._crate-count_3a7a8o { +} + +._description_3a7a8o { + margin-top: var(--space-2xs); + line-height: 1.5; +} + +._categories-footer_3a7a8o { + width: 100%; + margin: var(--space-2xs) 0; + text-align: center; + font-size: 85%; +} + +/* styles for crates-io/styles/category/index.module.css */ +._header_1tl449 { + display: flex; + align-items: center; +} +._header_1tl449 h1 { + margin: 0; + } + +._subcategories_1tl449 { + --csstools-light-dark-toggle--38: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--38, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--39: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--39, #232321); + margin-bottom: var(--space-s); +} + +._subcategories_1tl449 > * { + padding: var(--space-s); + } + +._subcategories_1tl449 > * + * { + --csstools-light-dark-toggle--40: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--40, #424242); + } + +._crate-count_1tl449, +._category-description_1tl449 { +} + +._category-description_1tl449 { + margin-top: var(--space-2xs); +} + +._results-meta_1tl449 { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by-label_1tl449 { +} + +._list_1tl449 { + margin-bottom: var(--space-s); +} + +/* styles for crates-io/styles/crate/articles.module.css */ +._results-meta_1gkckt { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-2xs); +} +@media only screen and (max-width: 550px) { +._results-meta_1gkckt { + display: block; +} + } + +@media only screen and (max-width: 550px) { + +._page-description_1gkckt { + display: block; + margin-bottom: var(--space-s); +} + } +._list_1gkckt { + list-style: none; + margin: 0 0 var(--space-s); + padding: 0; +} +._list_1gkckt > * + * { + margin-top: var(--space-2xs); + } + +/* styles for crates-io/styles/crate/settings.module.css */ +._email-form_ill4ud { + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + gap: var(--space-s); + padding: var(--space-s) var(--space-m); + --csstools-light-dark-toggle--10: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--10, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--11: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--11, #232321); +} + +._email-input-label_ill4ud { + font-weight: bold; +} + +._email-input_ill4ud { + width: 400px; +} + +._submit-button_ill4ud { +} + +._list_ill4ud { + --csstools-light-dark-toggle--41: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--41, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--42: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--42, #232321); +} + +._list_ill4ud > * { + padding: var(--space-s) var(--space-m); + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + } + +._list_ill4ud > * + * { + --csstools-light-dark-toggle--43: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--43, #232321); + } + +._email-column_ill4ud { + width: 25%; + color: var(--main-color-light); +} + +._remove-button_ill4ud { +} + +/* styles for crates-io/styles/crate/version.module.css */ +@media only screen and (min-width: 890px) { +._crate-info_1ph5zq { + display: grid; + grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); +} + } + +._docs_1ph5zq { + --csstools-light-dark-toggle--44: var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35); + --shadow: 0 2px 3px var(--csstools-light-dark-toggle--44, #232321); + + margin-bottom: var(--space-l); + padding: var(--space-m) var(--space-l); + background-color: var(--main-bg-dark); + border-radius: var(--space-3xs); + box-shadow: var(--shadow); +} + +._docs_1ph5zq * { + --csstools-light-dark-toggle--44: var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35); + --shadow: 0 2px 3px var(--csstools-light-dark-toggle--44, #232321); +} + +@media only screen and (max-width: 550px) { + +._docs_1ph5zq { + margin-left: calc(var(--main-layout-padding) * -1); + margin-right: calc(var(--main-layout-padding) * -1); + border-radius: 0; +} + } + +@media only screen and (min-width: 890px) { + +._docs_1ph5zq { + margin-bottom: 0; +} + } + +._no-readme_1ph5zq { + padding: var(--space-l) var(--space-s); + text-align: center; + font-size: 20px; + font-weight: 300; + overflow-wrap: break-word; + line-height: 1.5; +} + +._no-readme_1ph5zq code { + font-size: 18px; + font-weight: 500; + } + +._placeholder-title_1ph5zq { + width: 30%; + height: 25px; + margin: var(--space-s) 0 var(--space-m); + border-radius: var(--space-3xs); + opacity: 0.6; +} + +._placeholder-subtitle_1ph5zq { + width: 50%; + height: 20px; + margin: var(--space-l) 0 var(--space-m); + border-radius: var(--space-3xs); + opacity: 0.6; +} + +._placeholder-text_1ph5zq { + width: 100%; + height: 16px; + margin-top: var(--space-xs); + border-radius: var(--space-3xs); + opacity: 0.3; +} + +@media only screen and (min-width: 890px) { + +._sidebar_1ph5zq { + margin-top: var(--space-m); + margin-left: var(--space-m); +} + } + +._crate-downloads_1ph5zq { + display: flex; + flex-wrap: wrap; + margin-top: var(--space-l); + border-top: 5px solid var(--gray-border); +} + +._crate-downloads_1ph5zq h3 { width: 100%; } + +._stats_1ph5zq { + flex-grow: 7; + display: flex; + flex-wrap: wrap; +} + +._stat_1ph5zq { + border-left: 1px solid var(--gray-border); + padding: var(--space-s) var(--space-m); + display: flex; + flex-wrap: wrap; + flex-direction: column; + flex-grow: 1; +} + +._stat_1ph5zq ._num_1ph5zq { + font-size: 160%; + font-weight: bold; + margin-bottom: var(--space-3xs); + } + +._stat_1ph5zq ._num__align_1ph5zq { + position: relative; + bottom: 0.4rem; + } + +._stat-description_1ph5zq { +} + +._graph_1ph5zq { + flex-grow: 10; + width: 100%; + margin: var(--space-xs) 0 var(--space-m); +} + +._graph_1ph5zq h4 { + color: var(--main-color-light); + float: left; + } + +@media only percy { + +._graph_1ph5zq { + display: none; +} + } + +._graph-data_1ph5zq { + clear: both; +} + +._toggle-stacked_1ph5zq { + float: right; + margin-top: calc(1.33em - 10px); + margin-bottom: calc(1.33em - 10px); +} + +._toggle-stacked_1ph5zq ._trigger_1ph5zq { + background-color: var(--main-bg-dark); + font-size: 85%; + padding: 10px; + border: none; + border-radius: 5px; + } + +._toggle-stacked_1ph5zq ._trigger_1ph5zq ._trigger-label_1ph5zq { + min-width: 65px; + } + +._toggle-stacked_1ph5zq ._dropdown-button_1ph5zq { + background: none; + border: 0; + } + +/* styles for crates-io/styles/crate/versions.module.css */ +._results-meta_i58y6h { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-2xs); +} +@media only screen and (max-width: 550px) { +._results-meta_i58y6h { + display: block; +} + } + +@media only screen and (max-width: 550px) { + +._page-description_i58y6h { + display: block; + margin-bottom: var(--space-s); +} + } +._list_i58y6h { + list-style: none; + margin: var(--space-2xs) 0 var(--space-s); + padding: 0; +} +._list_i58y6h > * + * { + margin-top: var(--space-2xs); + } + +/* styles for crates-io/styles/crates.module.css */ +._results-meta_ouu1ss { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by_ouu1ss { +} + +._sort-by-label_ouu1ss { +} + +._list_ouu1ss { + margin-bottom: var(--space-s); +} + +/* styles for crates-io/styles/dashboard.module.css */ +._header_10qjad { + display: flex; + align-items: center; +} + +._header-icon_10qjad { + flex-shrink: 0; + margin-right: var(--space-2xs); + width: 32px; + height: 32px; +} + +._stats_10qjad { + margin-left: auto; +} + +._stats_10qjad ._num_10qjad { + font-size: 30px; + font-weight: bold; + } + +._stats_10qjad ._downloads_10qjad { + display: flex; + align-items: center; + } + +._stats-label_10qjad { + margin-left: var(--space-2xs); +} + +._my-info_10qjad { + display: flex; + gap: var(--space-s); +} + +._my-info_10qjad h2 { + display: flex; + align-items: center; + gap: var(--space-3xs); + font-size: 1.05em; + margin: 0; + } + +._my-info_10qjad h2 > * { + flex-shrink: 0; + } + +@media only screen and (max-width: 750px) { + +._my-info_10qjad { + flex-direction: column; +} + } + +._my-crate-lists_10qjad { + flex-direction: column; + flex-grow: 2; +} + +._my-crate-lists_10qjad ._header_10qjad { + display: flex; + justify-content: space-between; + align-items: center; + } + +._my-crate-lists_10qjad > ul { + margin: var(--space-s) 0; + } + +@media only screen and (max-width: 750px) { + +._my-crate-lists_10qjad { + order: 1; +} + } + +._my-crates-link_10qjad, +._followed-crates-link_10qjad { + color: var(--main-color-light); + -webkit-text-decoration: underline; + text-decoration: underline; + font-size: 90%; + font-weight: normal; +} + +._my-crates-link_10qjad:hover, ._followed-crates-link_10qjad:hover { + color: #6b6b6b; + } + +._my-feed_10qjad { + flex-grow: 5; +} + +@media only screen and (max-width: 750px) { + +._my-feed_10qjad { + order: 0; +} + } + +._feed_10qjad { + --csstools-light-dark-toggle--12: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--12, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--13: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--13, #232321); + margin: var(--space-s) 0; +} + +._feed-list_10qjad { + list-style: none; + margin: 0; + padding: 0; +} + +._feed-list_10qjad > * { + display: flex; + align-items: baseline; + padding: var(--space-s); + } + +._feed-list_10qjad > * + * { + --csstools-light-dark-toggle--45: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--45, #232321); + } + +._feed-version_10qjad { +} + +._feed-date_10qjad { + flex-grow: 1; + text-align: right; +} + +._load-more_10qjad { + padding: var(--space-s); + --csstools-light-dark-toggle--46: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--46, #232321); +} + +._load-more_10qjad button { + display: block; + text-align: center; + width: 100%; + padding: var(--space-2xs); + outline: 0; + border: 0; + --csstools-light-dark-toggle--47: var(--csstools-color-scheme--dark) #dbd9cf; + background-color: var(--csstools-light-dark-toggle--47, #202023); + color: white; + } + +._load-more_10qjad button:hover, ._load-more_10qjad button:focus { + --csstools-light-dark-toggle--48: var(--csstools-color-scheme--dark) #c5c2b2; + background-color: var(--csstools-light-dark-toggle--48, #26262b); + } + +/* styles for crates-io/styles/index.module.css */ +._logo-div_slqo1c { + text-align: center; +} + +._logo_slqo1c { + max-width: 100%; + width: 280px; +} + +._hero-title_slqo1c { + margin: 0 0 var(--space-l); + font-size: var(--space-m-l); + text-align: center; + color: white; + text-shadow: 1px 3px 2px var(--green900); +} + +._hero-buttons_slqo1c { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: var(--space-s); + border-bottom: 5px solid var(--gray-border); + margin-top: var(--space-s); + padding-bottom: var(--space-l); +} + +._hero-button_slqo1c ._icon_slqo1c { + color: #c4890e; + } + +._blurb_slqo1c { + margin: var(--space-l) var(--space-s); + display: flex; + gap: var(--space-l); +} + +@media only screen and (max-width: 650px) { + +._blurb_slqo1c { + flex-direction: column; + align-items: center; +} + } + +._intro_slqo1c { + flex: 6; + line-height: 1.5; +} + +._stats_slqo1c { + flex: 4; + display: flex; + flex-direction: column; +} + +._stats_slqo1c > * + * { + margin-top: var(--space-s); + } + +._lists_slqo1c { + display: grid; + grid-template-columns: 1fr; + gap: var(--space-s); + padding: 0 var(--space-s); +} + +@media only screen and (max-width: 750px) { + +._lists_slqo1c { + grid-template-columns: 1fr; +} + } + +@media only screen and (max-width: 550px) { + +._lists_slqo1c { + grid-template-columns: 1fr; +} + } + +._lists_slqo1c h2 { + font-size: 1.05rem; + } + +._lists_slqo1c h2 a:not(:hover) { + color: var(--main-color); + } + +._list_slqo1c { + list-style: none; + padding: 0; + + display: grid; + grid-template-columns: 1fr 1fr; + gap: var(--space-s); +} + +@media only screen and (max-width: 750px) { + +._list_slqo1c { + grid-template-columns: 1fr; +} + } + +/* > * + * { + margin-top: var(--space-2xs); + } */ + +._error-message_slqo1c { + line-height: 1.5; +} + +._try-again-button_slqo1c { + align-self: center; + margin: var(--space-s) 0; +} + +._try-again-button_slqo1c ._spinner_slqo1c { + margin-left: var(--space-2xs); + } + +/* styles for crates-io/styles/keyword/index.module.css */ +._results-meta_1nkvlm { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by-label_1nkvlm { +} + +._list_1nkvlm { + margin-bottom: var(--space-s); +} + +/* styles for crates-io/styles/keywords.module.css */ +._results-meta_gf7abo { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by_gf7abo { +} + +._sort-by-label_gf7abo { +} + +._list_gf7abo { + --csstools-light-dark-toggle--49: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--49, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--50: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--50, #232321); + margin-bottom: var(--space-s); +} + +._list_gf7abo > * { + padding: var(--space-s); + } + +._list_gf7abo > * + * { + --csstools-light-dark-toggle--51: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--51, #424242); + } + +._crate-count_gf7abo { +} + +/* styles for crates-io/styles/me/crates.module.css */ +._results-meta_iujxqz { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by-label_iujxqz { +} + +._list_iujxqz { + margin-bottom: var(--space-s); +} + +/* styles for crates-io/styles/me/following.module.css */ +._results-meta_4xxflk { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by-label_4xxflk { +} + +._list_4xxflk { + margin-bottom: var(--space-s); +} + +/* styles for crates-io/styles/search.module.css */ +._results-meta_1eivf7 { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._warning_1eivf7 { + margin: 0 0 var(--space-s); + padding: var(--space-2xs); + color: var(--orange-700); + background: var(--orange-100); + border-left: solid var(--orange-400) var(--space-3xs); + border-radius: var(--space-4xs); +} + +._sort-by_1eivf7 { +} + +._sort-by-label_1eivf7 { +} + +._list_1eivf7 { + margin-bottom: var(--space-s); +} + +._try-again-button_1eivf7 { + align-self: center; + margin-top: var(--space-m); +} + +/* styles for crates-io/styles/settings/email-notifications.module.css */ +._me-email-notifications_1li3qv { + margin-bottom: var(--space-s); + display: flex; + flex-direction: column; +} +._me-email-notifications_1li3qv ._right_1li3qv { + flex: 2; + display: flex; + justify-content: flex-end; + align-self: center; + } + +._notifications-list_1li3qv { + list-style: none; + padding: 0; + flex-grow: 1; +} + +._notifications-row_1li3qv { + display: flex; + flex-direction: row; + align-items: center; + gap: var(--space-2xs); +} + +._select-all-button_1li3qv, +._deselect-all-button_1li3qv { +} + +._notifications-error_1li3qv, +._notifications-success_1li3qv { + border-top-width: 0; + font-weight: bold; +} + +._notifications-error_1li3qv { + color: rgb(216, 0, 41); +} + +._notifications-success_1li3qv { + color: green; +} + +._update-notifications-button_1li3qv { +} + +/* styles for crates-io/styles/settings/tokens/new.module.css */ +._form-group_6v2mdb, ._buttons_6v2mdb { + position: relative; + margin: var(--space-m) 0; +} + +._form-group-name_6v2mdb { + display: flex; + gap: var(--space-2xs); + margin-bottom: var(--space-2xs); + font-weight: 600; +} + +._help-link_6v2mdb { + flex-shrink: 0; + --csstools-light-dark-toggle--52: var(--csstools-color-scheme--dark) var(--grey600); + color: var(--csstools-light-dark-toggle--52, var(--grey700)); + padding: var(--space-3xs); + margin: calc(-1 * var(--space-3xs)); +} + +._help-link_6v2mdb:hover { + --csstools-light-dark-toggle--53: var(--csstools-color-scheme--dark) var(--grey700); + color: var(--csstools-light-dark-toggle--53, var(--grey600)); + } + +._help-link_6v2mdb svg { + width: 1em; + height: 1em; + } + +._hidden-label_6v2mdb { +} + +._form-group-error_6v2mdb { + display: block; + color: red; + font-size: 0.9em; + margin-top: var(--space-2xs); +} + +._buttons_6v2mdb { + display: flex; + gap: var(--space-2xs); + flex-wrap: wrap; +} + +._base-input_6v2mdb { + padding: var(--space-2xs); + --csstools-light-dark-toggle--54: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--54, #141413); + border: 1px solid var(--gray-border); + border-radius: var(--space-3xs); +} + +._base-input_6v2mdb[aria-invalid="true"] { + --csstools-light-dark-toggle--55: var(--csstools-color-scheme--dark) #fff2f2; + background: var(--csstools-light-dark-toggle--55, #170808); + border-color: red; + } + +._name-input_6v2mdb { + + max-width: 440px; + width: 100%; +} + +._expiry-select_6v2mdb { + + padding-right: var(--space-m); + background-image: url("/assets/dropdown.svg"); + background-repeat: no-repeat; + background-position: calc(100% - var(--space-2xs)) center; + background-size: 10px; + -webkit-appearance: none; + appearance: none; +} + +._expiry-date-input_6v2mdb { +} + +._expiry-description_6v2mdb { + margin-left: var(--space-2xs); + font-size: 0.9em; +} + +._scopes-list_6v2mdb { + list-style: none; + padding: 0; + margin: 0; + --csstools-light-dark-toggle--56: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--56, #141413); + border: 1px solid var(--gray-border); + border-radius: var(--space-3xs); +} + +._scopes-list_6v2mdb._invalid_6v2mdb { + --csstools-light-dark-toggle--57: var(--csstools-color-scheme--dark) #fff2f2; + background: var(--csstools-light-dark-toggle--57, #170808); + border-color: red; + } + +._scopes-list_6v2mdb > * + * { + border-top: inherit; + } + +._scopes-list_6v2mdb label { + padding: var(--space-xs) var(--space-s); + display: flex; + flex-wrap: wrap; + gap: var(--space-xs); + font-size: 0.9em; + } + +._scope-id_6v2mdb { + display: inline-block; + max-width: 170px; + flex-grow: 1; + font-weight: bold; +} + +._scope-description_6v2mdb { + display: inline-block; +} + +._crates-list_6v2mdb { + list-style: none; + padding: 0; + margin: 0; + --csstools-light-dark-toggle--58: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--58, #141413); + border: 1px solid var(--gray-border); + border-radius: var(--space-3xs); +} + +._crates-list_6v2mdb > * + * { + border-top: inherit; + } + +._crates-unrestricted_6v2mdb { + padding: var(--space-xs) var(--space-s); + font-size: 0.9em; +} + +._crates-scope_6v2mdb { + display: flex; +} + +._crates-scope_6v2mdb > div { + padding: var(--space-xs) var(--space-s); + display: flex; + flex-wrap: wrap; + gap: var(--space-xs); + font-size: 0.9em; + flex-grow: 1; + } + +._crates-scope_6v2mdb input { + margin: calc(-1 * var(--space-4xs)) 0; + padding: var(--space-3xs) var(--space-2xs); + border: 1px solid var(--gray-border); + border-radius: var(--space-3xs); + } + +._crates-scope_6v2mdb._invalid_6v2mdb input { + --csstools-light-dark-toggle--59: var(--csstools-color-scheme--dark) #fff2f2; + background: var(--csstools-light-dark-toggle--59, #170808); + border-color: red; + } + +._crates-scope_6v2mdb > button { + margin: 0; + padding: 0 var(--space-xs); + border: none; + background: none; + cursor: pointer; + color: var(--grey700); + flex-shrink: 0; + display: flex; + align-items: center; + } + +._crates-scope_6v2mdb > button:hover { + --csstools-light-dark-toggle--60: var(--csstools-color-scheme--dark) var(--grey200); + background: var(--csstools-light-dark-toggle--60, #333333); + --csstools-light-dark-toggle--61: var(--csstools-color-scheme--dark) var(--grey900); + color: var(--csstools-light-dark-toggle--61, white); + } + +._crates-scope_6v2mdb > button svg { + height: 1.1em; + width: 1.1em; + } + +._crates-scope_6v2mdb:first-child button { + border-top-right-radius: var(--space-3xs); + } + +._pattern-description_6v2mdb { + flex-grow: 1; + align-self: center; +} + +._invalid_6v2mdb ._pattern-description_6v2mdb { + color: red; + } + +._pattern-description_6v2mdb > span { + font-weight: bold; + } + +._crates-pattern-button_6v2mdb button { + padding: var(--space-xs) var(--space-s); + font-size: 0.9em; + width: 100%; + border: none; + background: none; + border-bottom-left-radius: var(--space-3xs); + border-bottom-right-radius: var(--space-3xs); + cursor: pointer; + font-weight: bold; +} + +._crates-pattern-button_6v2mdb button:hover { + --csstools-light-dark-toggle--62: var(--csstools-color-scheme--dark) var(--grey200); + background: var(--csstools-light-dark-toggle--62, #333333); + } + +._generate-button_6v2mdb { + border-radius: 4px; +} + +._generate-button_6v2mdb ._spinner_6v2mdb { + margin-left: var(--space-2xs); + } + +._cancel-button_6v2mdb { + border-radius: 4px; +} + +/* styles for crates-io/styles/team.module.css */ +._header_ass69f { + display: flex; + align-items: center; +} +._header_ass69f h1, ._header_ass69f h2 { + margin: 0; + padding: 0; + } +._header_ass69f h2 { + margin-top: var(--space-2xs); + color: var(--main-color-light); + } + +._avatar_ass69f { + margin-right: var(--space-m); +} + +._header-row_ass69f { + display: flex; + align-items: center; +} + +._github-link_ass69f { + margin-left: var(--space-s); +} + +._github-link_ass69f, ._github-link_ass69f:hover { + color: var(--main-color); + } + +._github-link_ass69f svg { + width: 32px; + height: 32px; + } + +._results-meta_ass69f { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by-label_ass69f { +} + +._list_ass69f { + margin-bottom: var(--space-s); +} + +/* styles for crates-io/styles/user.module.css */ +._header_1wv204 { + display: flex; + align-items: center; + gap: var(--space-xs); +} + +._github-link_1wv204, ._github-link_1wv204:hover { + color: var(--main-color); + } + +._github-link_1wv204 svg { + width: 32px; + height: 32px; + } + +._results-meta_1wv204 { + display: flex; + align-items: center; + justify-content: space-between; + margin-bottom: var(--space-s); +} + +._sort-by-label_1wv204 { +} + +._list_1wv204 { + margin-bottom: var(--space-s); +} + +/* styles for crates-io/components/article-list/row.module.css */ +._row_1hx43t { + --csstools-light-dark-toggle--63: var(--csstools-color-scheme--dark) var(--grey200); + --bg-color: var(--csstools-light-dark-toggle--63, #242422); + --csstools-light-dark-toggle--64: var(--csstools-color-scheme--dark) hsl(217, 37%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--64, hsl(204, 3%, 11%)); + --csstools-light-dark-toggle--65: var(--csstools-color-scheme--dark) var(--grey700); + --fg-color: var(--csstools-light-dark-toggle--65, #ccc); + --csstools-light-dark-toggle--66: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--66, #232321); + + display: flex; + align-items: center; + position: relative; + font-size: 18px; + padding: var(--space-s) var(--space-m); + background-color: var(--header-bg-color); + --csstools-light-dark-toggle--67: var(--csstools-color-scheme--dark) #525252; + color: var(--csstools-light-dark-toggle--67, #f9f7ec); + border-radius: var(--space-3xs); + box-shadow: var(--shadow); + transition: all var(--transition-slow); +} +._row_1hx43t * { + --csstools-light-dark-toggle--63: var(--csstools-color-scheme--dark) var(--grey200); + --bg-color: var(--csstools-light-dark-toggle--63, #242422); +} +._row_1hx43t * { + --csstools-light-dark-toggle--64: var(--csstools-color-scheme--dark) hsl(217, 37%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--64, hsl(204, 3%, 11%)); +} +._row_1hx43t * { + --csstools-light-dark-toggle--65: var(--csstools-color-scheme--dark) var(--grey700); + --fg-color: var(--csstools-light-dark-toggle--65, #ccc); +} +._row_1hx43t * { + --csstools-light-dark-toggle--66: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--66, #232321); +} +._row_1hx43t:hover, ._row_1hx43t._focused_1hx43t { + color: var(--yellow500); + transition: all var(--transition-instant); + } +._row_1hx43t._focused_1hx43t { + box-shadow: 0 0 0 3px var(--yellow500), var(--shadow); + } +._row_1hx43t._latest_1hx43t { + --csstools-light-dark-toggle--68: var(--csstools-color-scheme--dark) hsl(109, 75%, 87%); + --bg-color: var(--csstools-light-dark-toggle--68, hsl(136, 67%, 11%)); + --csstools-light-dark-toggle--69: var(--csstools-color-scheme--dark) hsl(109, 75%, 97%); + --hover-bg-color: var(--csstools-light-dark-toggle--69, hsl(109, 10%, 11%)); + --csstools-light-dark-toggle--70: var(--csstools-color-scheme--dark) hsl(136, 67%, 38%); + --fg-color: var(--csstools-light-dark-toggle--70, hsl(109, 75%, 87%)); + } +._row_1hx43t._latest_1hx43t * { + --csstools-light-dark-toggle--68: var(--csstools-color-scheme--dark) hsl(109, 75%, 87%); + --bg-color: var(--csstools-light-dark-toggle--68, hsl(136, 67%, 11%)); +} +._row_1hx43t._latest_1hx43t * { + --csstools-light-dark-toggle--69: var(--csstools-color-scheme--dark) hsl(109, 75%, 97%); + --hover-bg-color: var(--csstools-light-dark-toggle--69, hsl(109, 10%, 11%)); +} +._row_1hx43t._latest_1hx43t * { + --csstools-light-dark-toggle--70: var(--csstools-color-scheme--dark) hsl(136, 67%, 38%); + --fg-color: var(--csstools-light-dark-toggle--70, hsl(109, 75%, 87%)); +} +._row_1hx43t._prerelease_1hx43t { + --csstools-light-dark-toggle--71: var(--csstools-color-scheme--dark) hsl(39, 100%, 91%); + --bg-color: var(--csstools-light-dark-toggle--71, hsl(39, 71%, 15%)); + --csstools-light-dark-toggle--72: var(--csstools-color-scheme--dark) hsl(39, 100%, 97%); + --hover-bg-color: var(--csstools-light-dark-toggle--72, hsl(39, 10%, 11%)); + --csstools-light-dark-toggle--73: var(--csstools-color-scheme--dark) hsl(39, 71%, 45%); + --fg-color: var(--csstools-light-dark-toggle--73, hsl(39, 100%, 91%)); + } +._row_1hx43t._prerelease_1hx43t * { + --csstools-light-dark-toggle--71: var(--csstools-color-scheme--dark) hsl(39, 100%, 91%); + --bg-color: var(--csstools-light-dark-toggle--71, hsl(39, 71%, 15%)); +} +._row_1hx43t._prerelease_1hx43t * { + --csstools-light-dark-toggle--72: var(--csstools-color-scheme--dark) hsl(39, 100%, 97%); + --hover-bg-color: var(--csstools-light-dark-toggle--72, hsl(39, 10%, 11%)); +} +._row_1hx43t._prerelease_1hx43t * { + --csstools-light-dark-toggle--73: var(--csstools-color-scheme--dark) hsl(39, 71%, 45%); + --fg-color: var(--csstools-light-dark-toggle--73, hsl(39, 100%, 91%)); +} +._row_1hx43t._yanked_1hx43t { + --csstools-light-dark-toggle--74: var(--csstools-color-scheme--dark) hsl(0, 92%, 90%); + --bg-color: var(--csstools-light-dark-toggle--74, hsl(0, 84%, 12%)); + --csstools-light-dark-toggle--75: var(--csstools-color-scheme--dark) hsl(0, 92%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--75, hsl(0, 10%, 11%)); + --csstools-light-dark-toggle--76: var(--csstools-color-scheme--dark) hsl(0, 84%, 32%); + --fg-color: var(--csstools-light-dark-toggle--76, hsl(0, 92%, 90%)); + } +._row_1hx43t._yanked_1hx43t * { + --csstools-light-dark-toggle--74: var(--csstools-color-scheme--dark) hsl(0, 92%, 90%); + --bg-color: var(--csstools-light-dark-toggle--74, hsl(0, 84%, 12%)); +} +._row_1hx43t._yanked_1hx43t * { + --csstools-light-dark-toggle--75: var(--csstools-color-scheme--dark) hsl(0, 92%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--75, hsl(0, 10%, 11%)); +} +._row_1hx43t._yanked_1hx43t * { + --csstools-light-dark-toggle--76: var(--csstools-color-scheme--dark) hsl(0, 84%, 32%); + --fg-color: var(--csstools-light-dark-toggle--76, hsl(0, 92%, 90%)); +} +._row_1hx43t [title], ._row_1hx43t .ember-tooltip-target { + position: relative; + z-index: 1; + cursor: help; + } +._row_1hx43t .ember-tooltip { + word-break: break-all; + } + +._version_1hx43t { + display: grid; + grid-template-columns: auto auto; + place-items: center; +} + +@media only screen and (max-width: 550px) { + +._version_1hx43t { + grid-template-columns: auto; + margin: 0 var(--space-s); +} + } + +._release-track_1hx43t { + flex-shrink: 0; + display: grid; + place-items: center; + width: var(--space-xl); + height: var(--space-xl); + overflow: hidden; + margin-right: var(--space-s); + font-weight: 500; + font-feature-settings: "tnum"; + font-variant-numeric: tabular-nums; + color: var(--fg-color); + background-color: var(--bg-color); + --csstools-light-dark-toggle--77: var(--csstools-color-scheme--dark) white; + border: 1px solid var(--csstools-light-dark-toggle--77, #808080); + border-radius: 50%; + transition: all var(--transition-fast); +} + +._release-track_1hx43t > svg { + height: 1em; + width: auto; + } + +._row_1hx43t:hover ._release-track_1hx43t, ._row_1hx43t._focused_1hx43t ._release-track_1hx43t { + --csstools-light-dark-toggle--78: var(--csstools-color-scheme--dark) white; + border: var(--space-4xs) solid var(--csstools-light-dark-toggle--78, #bfbfbf); + --csstools-light-dark-toggle--79: var(--csstools-color-scheme--dark) var(--fg-color); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--79, #232321); + } + +@media only screen and (max-width: 550px) { + +._release-track_1hx43t { + margin: 0 0 var(--space-s); +} + } + +._rt-latest_1hx43t { + color: hsl(136, 67%, 38%); +} + +._rt-prerelease_1hx43t { + color: hsl(35, 95%, 59%); +} + +._rt-yanked_1hx43t { + color: hsl(0, 87%, 58%); +} + +._num-link_1hx43t { + /* max-width: 200px; */ + text-overflow: ellipsis; + overflow: hidden; + color: var(--fg-color); + font-weight: 500; + font-feature-settings: "tnum"; + font-variant-numeric: tabular-nums; + outline: none; +} + +._num-link_1hx43t:hover { + color: var(--fg-color); + } + +._num-link_1hx43t::after { + content: ''; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + } + +._metadata_1hx43t { + flex-grow: 1; + margin-left: var(--space-m); + --csstools-light-dark-toggle--80: var(--csstools-color-scheme--dark) var(--grey600); + color: var(--csstools-light-dark-toggle--80, #d1cfc7); + text-transform: uppercase; + letter-spacing: .7px; + font-size: 13px; +} + +._metadata_1hx43t a { + position: relative; + color: inherit; + } + +._metadata_1hx43t a:hover { + --csstools-light-dark-toggle--81: var(--csstools-color-scheme--dark) var(--grey900); + color: var(--csstools-light-dark-toggle--81, #f5f3e9); + } + +._metadata_1hx43t a:focus-visible { + outline: none; + color: var(--yellow500); + } + +._metadata_1hx43t svg { + height: 1em; + width: auto; + margin-right: var(--space-4xs); + margin-bottom: -.1em; + } + +._metadata_1hx43t .ember-tooltip { + text-transform: none; + letter-spacing: normal; + } + +._metadata_1hx43t > * + * { + margin-top: var(--space-2xs); + } + +@media only screen and (max-width: 750px) { + +._metadata_1hx43t > * + * { + margin-top: var(--space-xs); + } + } + +._avatar_1hx43t { + height: 1.5em; + width: auto; + margin-left: var(--space-4xs); + margin-bottom: -.4em; + border-radius: 50%; + box-shadow: 0 1px 1px 0 var(--grey600); + padding: 1px; +} + +._metadata-row_1hx43t > * + * { + margin-left: var(--space-s); + } + +@media only screen and (max-width: 750px) { + +._metadata-row_1hx43t { + display: flex; + flex-direction: column; + align-items: flex-start; +} + + ._metadata-row_1hx43t > * + * { + margin-left: 0; + margin-top: var(--space-xs); + } + } + +._date_1hx43t._new_1hx43t, .tooltip ._new_1hx43t { + color: hsl(39, 98%, 47%); +} + +._msrv_1hx43t { + text-transform: initial; +} + +._msrv_1hx43t svg { + /* this makes the text look a little more aligned with the icon... 🤷 */ + margin-bottom: -0.15em; + } + +._bytes_1hx43t { + font-feature-settings: "tnum"; + font-variant-numeric: tabular-nums; + text-transform: none; +} + +._feature-list_1hx43t { + padding: 0; + margin: var(--space-xs) var(--space-2xs); + list-style: none; +} + +._yank-button_1hx43t { + position: relative; + margin-left: var(--space-xs); +} + +@media only screen and (max-width: 550px) { + +._yank-button_1hx43t { + display: none; +} + } + +/* styles for crates-io/components/crate-downloads-list.module.css */ +._list_1msd3z { + list-style: none; + padding: 0; + margin: 0; +} +._list_1msd3z > * + * { + margin-top: var(--space-2xs); + } + +._link_1msd3z { + --csstools-light-dark-toggle--14: var(--csstools-color-scheme--dark) #525252; + color: var(--csstools-light-dark-toggle--14, #999999); + --csstools-light-dark-toggle--15: var(--csstools-color-scheme--dark) #edebdd; + background-color: var(--csstools-light-dark-toggle--15, #141413); + font-size: 90%; + padding: var(--space-s) var(--space-xs); + display: flex; + align-items: center; +} + +._download-icon_1msd3z { + color: #b13b89; + margin-left: auto; + margin-right: var(--space-3xs); +} + +/* styles for crates-io/components/crate-header.module.css */ +._heading_y99ls5 { + display: flex; + align-items: baseline; + flex-wrap: wrap; + gap: var(--space-xs); + margin: 0; + padding: 0; + word-break: break-word; +} +._heading_y99ls5 small { + color: var(--main-color-light); + } + +._yanked-badge_y99ls5 { + background: #d30000; + border-radius: 99999px; + padding: var(--space-3xs) var(--space-s); + font-size: var(--space-s); + color: white; + align-self: center; + display: inline-flex; + align-items: center; + gap: var(--space-3xs); + white-space: nowrap; + cursor: default; +} + +._yanked-badge_y99ls5 svg { + width: 1em; + height: 1em; + flex-shrink: 0; + } + +._description_y99ls5 { + margin-top: var(--space-xs); + line-height: 1.35; +} + +._keywords_y99ls5 { + list-style: none; + margin: var(--space-xs) 0 0; + padding: 0; +} + +._keywords_y99ls5 > * { + display: inline; + } + +:is(._keywords_y99ls5 > *) + * { + margin-left: var(--space-s); + } + +._hash_y99ls5 { + margin-right: 1px; + font-family: var(--font-monospace); + font-size: 90%; +} + +._follow-button_y99ls5 { + margin-top: var(--space-s); +} + +._nav_y99ls5 { + margin-bottom: var(--space-s); +} + +@media only screen and (min-width: 751px) { + ._header_y99ls5 { + display: grid; + grid-template-columns: 1fr auto; + } + + ._follow-button_y99ls5 { + margin: -10px -10px 0 var(--space-s); + grid-column: 2; + grid-row: 1; + } + + ._description_y99ls5, ._keywords_y99ls5 { + grid-column: 1 / 3; + } +} + +/* styles for crates-io/components/crate-list.module.css */ +._list_5hqme0 { + margin: 0; + padding: 0; + list-style: none; +} +._list_5hqme0 > * + * { + margin-top: var(--space-s); + } + +/* styles for crates-io/components/crate-sidebar/install-instructions.module.css */ +._copy-help_1asgho { + font-size: 12px; + overflow-wrap: break-word; +} +._copy-help_1asgho:last-child { + margin-bottom: 0; + } + +._copy-button_1asgho, +._copy-fallback_1asgho { + display: flex; + width: 100%; + align-items: center; + justify-content: space-between; + padding: var(--space-2xs) var(--space-xs); + font-family: var(--font-monospace); + font-size: 14px; + line-height: 1.5em; + color: var(--main-color); + background: transparent; + border-radius: var(--space-3xs); + border: solid var(--space-4xs) var(--gray-border); +} + +._copy-button_1asgho span, ._copy-fallback_1asgho span { + flex: auto; + display: block; + word-break: break-word; + } + +._copy-button_1asgho { + text-align: start; + cursor: pointer; +} + +._copy-button_1asgho:hover { + background-color: var(--header-bg-color); + } + +._copy-icon_1asgho { + flex-shrink: 0; + height: 1.1em; + width: auto; + /* for slightly nicer alignment... */ + margin-top: -3px; + margin-left: var(--space-2xs); + opacity: 0; + transition: opacity var(--transition-fast); +} + +._copy-button_1asgho:hover ._copy-icon_1asgho { + opacity: 1; + } + +._selectable_1asgho { + -webkit-user-select: text; + user-select: text; +} + +._bin-name_1asgho { + font-family: var(--font-monospace); + font-weight: bold; +} + +/* styles for crates-io/components/dependency-list/row.module.css */ +._row_vcihpv { + --bg-color: var(--grey200); + --csstools-light-dark-toggle--82: var(--csstools-color-scheme--dark) hsl(217, 37%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--82, hsl(204, 3%, 11%)); + --csstools-light-dark-toggle--83: var(--csstools-color-scheme--dark) var(--grey900); + --range-color: var(--csstools-light-dark-toggle--83, #d1cfc7); + --csstools-light-dark-toggle--84: var(--csstools-color-scheme--dark) var(--grey700); + --crate-color: var(--csstools-light-dark-toggle--84, #d1cfc7); + --placeholder-opacity: 0.35; + --csstools-light-dark-toggle--85: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--85, #232321); + + display: flex; + align-items: center; + position: relative; + font-size: 18px; + padding: var(--space-s) var(--space-m); + --csstools-light-dark-toggle--86: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--86, #141413); + border-radius: var(--space-3xs); + box-shadow: var(--shadow); + transition: all var(--transition-slow); +} +._row_vcihpv * { + --csstools-light-dark-toggle--82: var(--csstools-color-scheme--dark) hsl(217, 37%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--82, hsl(204, 3%, 11%)); +} +._row_vcihpv * { + --csstools-light-dark-toggle--83: var(--csstools-color-scheme--dark) var(--grey900); + --range-color: var(--csstools-light-dark-toggle--83, #d1cfc7); +} +._row_vcihpv * { + --csstools-light-dark-toggle--84: var(--csstools-color-scheme--dark) var(--grey700); + --crate-color: var(--csstools-light-dark-toggle--84, #d1cfc7); +} +._row_vcihpv * { + --csstools-light-dark-toggle--85: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--85, #232321); +} +._row_vcihpv:hover, ._row_vcihpv._focused_vcihpv { + background-color: var(--hover-bg-color); + transition: all var(--transition-instant); + } +._row_vcihpv._focused_vcihpv { + box-shadow: 0 0 0 3px var(--yellow500), var(--shadow); + } +._row_vcihpv._optional_vcihpv { + --csstools-light-dark-toggle--87: var(--csstools-color-scheme--dark) var(--grey600); + --range-color: var(--csstools-light-dark-toggle--87, var(--grey600)); + --csstools-light-dark-toggle--88: var(--csstools-color-scheme--dark) var(--grey600); + --crate-color: var(--csstools-light-dark-toggle--88, var(--grey600)); + --placeholder-opacity: 0.15; + } +._row_vcihpv._optional_vcihpv * { + --csstools-light-dark-toggle--87: var(--csstools-color-scheme--dark) var(--grey600); + --range-color: var(--csstools-light-dark-toggle--87, var(--grey600)); +} +._row_vcihpv._optional_vcihpv * { + --csstools-light-dark-toggle--88: var(--csstools-color-scheme--dark) var(--grey600); + --crate-color: var(--csstools-light-dark-toggle--88, var(--grey600)); +} +._row_vcihpv [title], ._row_vcihpv .ember-tooltip-target { + position: relative; + z-index: 1; + cursor: help; + } +._row_vcihpv .ember-tooltip { + word-break: break-all; + } +@media only screen and (max-width: 550px) { +._row_vcihpv { + display: block; +} + } + +._range-lg_vcihpv, ._range-sm_vcihpv { + margin-right: var(--space-s); + min-width: 100px; + color: var(--range-color); + font-feature-settings: "tnum"; + font-variant: tabular-nums; +} + +@media only screen and (max-width: 550px) { + +._range-lg_vcihpv { + display: none; +} + } + +@media only screen and (min-width: 551px) { + +._range-sm_vcihpv { + display: none; +} + } + +._right_vcihpv { + flex-grow: 1; +} + +._link_vcihpv { + color: var(--crate-color); + font-weight: 500; + margin-right: var(--space-s); + outline: none; +} + +._link_vcihpv:hover { + color: var(--crate-color); + } + +._link_vcihpv::after { + content: ''; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + } + +._metadata_vcihpv { + color: var(--grey600); + text-transform: uppercase; + letter-spacing: .7px; + font-size: 13px; + margin-right: var(--space-s); +} + +._metadata_vcihpv a { + position: relative; + color: var(--grey600); + } + +._metadata_vcihpv a:hover { + color: var(--grey900); + } + +._metadata_vcihpv svg { + height: 1em; + width: auto; + margin-right: var(--space-4xs); + margin-bottom: -.1em; + } + +._metadata_vcihpv .ember-tooltip { + text-transform: none; + letter-spacing: normal; + } + +@media only screen and (max-width: 550px) { + +._metadata_vcihpv { + display: block; + margin-top: var(--space-xs); +} + } + +._optional-label_vcihpv { +} + +._features-label_vcihpv { +} + +._feature-list_vcihpv { + padding: 0; + margin: 10px 5px; + list-style: none; +} + +._feature-list_vcihpv svg { + height: 1em; + width: auto; + margin-right: 2px; + margin-bottom: -.1em; + } + +._description_vcihpv { + margin-top: var(--space-xs); + color: var(--crate-color); + font-size: 90%; + line-height: 1.5; +} + +._description-placeholder_vcihpv { + height: 1em; + width: 70%; + border-radius: var(--space-3xs); + opacity: var(--placeholder-opacity); +} + +/* styles for crates-io/components/download-graph.module.css */ +._wrapper_27k3er { + display: grid; + place-items: center; + border: solid 1px var(--gray-border); + border-radius: var(--space-3xs); + min-height: 400px; +} + +._spinner_27k3er { + transform: scale(3.0); +} + +._error_27k3er { + text-align: center; +} + +/* styles for crates-io/components/dropdown.module.css */ +._container_j1fcml { + display: inline-block; + position: relative; +} + +/* styles for crates-io/components/dropdown/content.module.css */ +._dropdown_16sxmz { + position: absolute; + display: none; + width: 100%; + z-index: 10; +} +._dropdown_16sxmz._open_16sxmz { + display: block; + } + +/* styles for crates-io/components/dropdown/menu-item.module.css */ +._item_1xureq > a, ._item_1xureq button { + font-size: 90%; + width: 100%; + display: inline-flex; + text-align: start; + padding: var(--space-2xs) var(--space-xs); + -webkit-text-decoration: none; + text-decoration: none; + color: var(--main-color) !important; + } +._item_1xureq > a:hover, ._item_1xureq button:hover { + background: #5e5e5e; + color: white !important; + } + +/* styles for crates-io/components/dropdown/menu.module.css */ +._list_12bw3u { + margin: 0; + text-align: left; + padding: 0; + --csstools-light-dark-toggle--16: var(--csstools-color-scheme--dark) white; + background: var(--csstools-light-dark-toggle--16, #141413); + border: 1px solid var(--gray-border); + list-style: none; + overflow: hidden; + border-radius: var(--space-3xs); +} + +/* styles for crates-io/components/dropdown/trigger.module.css */ +._button_x5sxkq { + display: inline-flex; + align-items: center; + color: inherit; + cursor: pointer; +} +._button_x5sxkq ._arrow_x5sxkq { + margin-left: var(--space-2xs); + font-size: 50%; + display: inline-block; + vertical-align: middle; + } +._button_x5sxkq ._arrow_x5sxkq::after { + content: "▼"; + } +._button_x5sxkq._active_x5sxkq ._arrow_x5sxkq::after { + content: "▲"; + } + +/* styles for crates-io/components/front-page-list/item.module.css */ +._link_1k20sr { + --csstools-light-dark-toggle--89: var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35); + --shadow: 0 2px 3px var(--csstools-light-dark-toggle--89, #232321); + + display: flex; + align-items: center; + width: 100%; + height: var(--space-2xl); + padding: 0 var(--space-s); + background-color: var(--header-bg-color); + --csstools-light-dark-toggle--90: var(--csstools-color-scheme--dark) #525252; + color: var(--csstools-light-dark-toggle--90, #f9f7ec); + -webkit-text-decoration: none; + -webkit-text-decoration: none; + text-decoration: none; + border-radius: var(--space-3xs); + box-shadow: var(--shadow); + transition: all var(--transition-slow); +} +._link_1k20sr * { + --csstools-light-dark-toggle--89: var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35); + --shadow: 0 2px 3px var(--csstools-light-dark-toggle--89, #232321); +} +._link_1k20sr:focus-visible { + outline: none; + box-shadow: 0 0 0 3px var(--yellow500), var(--shadow); + } +._link_1k20sr:hover, ._link_1k20sr:focus-visible { + color: var(--yellow500); + transition: all var(--transition-instant); + } +._link_1k20sr:active { + transform: translateY(2px); + --shadow: inset 0 0 0 1px hsla(51, 50%, 44%, .15); + } + +._left_1k20sr { + flex-grow: 1; + width: 0; +} + +._title_1k20sr, ._subtitle_1k20sr { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +._title_1k20sr { + font-size: 16px; +} + +._subtitle_1k20sr { + margin-top: var(--space-3xs); + font-size: 13px; + --csstools-light-dark-toggle--17: var(--csstools-color-scheme--dark) rgb(118, 131, 138); + color: var(--csstools-light-dark-toggle--17, #cccac2); +} + +._right_1k20sr { + flex-shrink: 0; + height: var(--space-s); + width: auto; + margin-left: var(--space-xs); + --csstools-light-dark-toggle--18: var(--csstools-color-scheme--dark) rgb(118, 131, 138); + color: var(--csstools-light-dark-toggle--18, #cccac2); +} + +/* styles for crates-io/components/front-page-list/item/placeholder.module.css */ +._link_kq6lyo { + --csstools-light-dark-toggle--19: var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35); + --shadow: 0 2px 3px var(--csstools-light-dark-toggle--19, #232321); + --csstools-light-dark-toggle--20: var(--csstools-color-scheme--dark) hsla(59, 19%, 50%, 1.0); + --placeholder-bg: var(--csstools-light-dark-toggle--20, hsl(60, 14%, 85%)); + --csstools-light-dark-toggle--21: var(--csstools-color-scheme--dark) hsla(59, 19%, 50%, 0.7); + --placeholder-bg2: var(--csstools-light-dark-toggle--21, hsla(59, 5%, 50%, 0.7)); + + display: flex; + align-items: center; + width: 100%; + height: var(--space-2xl); + margin: 8px 0; + padding: 0 var(--space-s); + --csstools-light-dark-toggle--22: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--22, #141413); + --csstools-light-dark-toggle--23: var(--csstools-color-scheme--dark) #525252; + color: var(--csstools-light-dark-toggle--23, #f9f7ec); + border-radius: var(--space-3xs); + box-shadow: var(--shadow); + cursor: wait; +} +._link_kq6lyo * { + --csstools-light-dark-toggle--19: var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35); + --shadow: 0 2px 3px var(--csstools-light-dark-toggle--19, #232321); +} +._link_kq6lyo * { + --csstools-light-dark-toggle--20: var(--csstools-color-scheme--dark) hsla(59, 19%, 50%, 1.0); + --placeholder-bg: var(--csstools-light-dark-toggle--20, hsl(60, 14%, 85%)); +} +._link_kq6lyo * { + --csstools-light-dark-toggle--21: var(--csstools-color-scheme--dark) hsla(59, 19%, 50%, 0.7); + --placeholder-bg2: var(--csstools-light-dark-toggle--21, hsla(59, 5%, 50%, 0.7)); +} + +._left_kq6lyo { + flex-grow: 1; + width: 0; +} + +._title_kq6lyo { + height: 16px; + width: 150px; + border-radius: 8px; + opacity: 0.25; +} + +._subtitle_kq6lyo { + height: 13px; + width: 90px; + margin-top: var(--space-3xs); + border-radius: 6.5px; + opacity: 0.2; +} + +._right_kq6lyo { + flex-shrink: 0; + height: var(--space-s); + width: auto; + margin-left: var(--space-xs); + --csstools-light-dark-toggle--24: var(--csstools-color-scheme--dark) rgb(118, 131, 138); + color: var(--csstools-light-dark-toggle--24, #cccac2); +} + +/* styles for crates-io/components/nav-tabs.module.css */ +._list_1mso79 { + --nav-tabs-border-width: 2px; + --nav-tabs-padding-h: var(--space-s); + --nav-tabs-padding-v: var(--space-2xs); + --nav-tabs-radius: var(--space-3xs); + + display: flex; + list-style: none; + padding: 0; + margin: 0; + border-bottom: var(--nav-tabs-border-width) solid var(--gray-border); +} +@media only screen and (max-width: 550px) { +._list_1mso79 { + flex-direction: column; + border-left: var(--nav-tabs-border-width) solid var(--gray-border); + border-bottom: none; +} + } + +/* styles for crates-io/components/nav-tabs/tab.module.css */ +._link_y1a82m { + display: block; + padding: + calc(var(--nav-tabs-padding-v) + var(--nav-tabs-border-width)) + var(--nav-tabs-padding-h) + var(--nav-tabs-padding-v); + color: var(--main-color); + border-top-left-radius: var(--nav-tabs-radius); + border-top-right-radius: var(--nav-tabs-radius); + border-bottom: var(--nav-tabs-border-width) solid transparent; + margin-bottom: calc(0px - var(--nav-tabs-border-width)); + transition: color var(--transition-medium), border-bottom-color var(--transition-medium); +} +._link_y1a82m._active_y1a82m { + color: var(--link-hover-color); + border-bottom-color: var(--link-hover-color); + background: var(--main-bg-dark); + } +._link_y1a82m:hover { + color: var(--link-hover-color); + border-bottom-color: var(--link-hover-color); + transition: color var(--transition-instant), border-bottom-color var(--transition-instant); + } +._link_y1a82m:focus-visible { + outline: none; + margin: -3px; + border: 3px solid var(--yellow500); + position: relative; + transition: border-bottom-color var(--transition-instant); + z-index: 1; + } +@media only screen and (max-width: 550px) { +._link_y1a82m { + padding: + var(--nav-tabs-padding-v) + var(--nav-tabs-padding-h) + var(--nav-tabs-padding-v) + calc(var(--nav-tabs-padding-h) + var(--nav-tabs-border-width)); + + border-top-left-radius: 0; + border-bottom-right-radius: var(--nav-tabs-radius); + border-bottom: none; + border-left: var(--nav-tabs-border-width) solid transparent; + margin-bottom: 0; + margin-left: calc(0px - var(--nav-tabs-border-width)); +} + + ._link_y1a82m._active_y1a82m, + ._link_y1a82m:hover { + border-left-color: var(--link-hover-color); + } + } + +/* styles for crates-io/components/page-header.module.css */ +._header_81knqv { + padding: var(--space-s) var(--space-m); + background-color: var(--main-bg-dark); + margin-bottom: var(--space-s); + border-radius: 5px; +} + +._heading_81knqv { + display: flex; + align-items: baseline; + margin: 0; +} + +._suffix_81knqv { + color: var(--main-color-light); + padding-left: var(--space-2xs); +} + +._loading-spinner_81knqv { + margin: 0 var(--space-2xs); +} + +/* styles for crates-io/components/pagination.module.css */ +._pagination_h31eca { + display: flex; + align-items: center; + justify-content: center; + font-size: 90%; + margin-bottom: var(--space-xs); +} +._pagination_h31eca ol { + list-style: none; + padding: 0; + margin: 0; + } +._pagination_h31eca ol, ._pagination_h31eca li { display: inline-block; } +._pagination_h31eca a { + color: var(--main-color-light); + -webkit-text-decoration: none; + text-decoration: none; + padding: var(--space-3xs) var(--space-2xs); + border-radius: var(--space-3xs); + } +._pagination_h31eca a:hover { background-color: var(--main-bg-dark); } +._pagination_h31eca a.active { background-color: var(--main-bg-dark); } +._pagination_h31eca img, ._pagination_h31eca svg { vertical-align: middle; } +._pagination_h31eca ._prev_h31eca circle, ._pagination_h31eca ._next_h31eca circle { + fill: none; + } +._pagination_h31eca ._prev_h31eca path, ._pagination_h31eca ._next_h31eca path { + fill: currentColor; + } +._pagination_h31eca ._prev_h31eca:hover circle, ._pagination_h31eca ._next_h31eca:hover circle { + fill: var(--main-bg-dark); + } +._pagination_h31eca ._next_h31eca.active, + ._pagination_h31eca ._prev_h31eca.active, + ._pagination_h31eca ._next_h31eca:hover, + ._pagination_h31eca ._prev_h31eca:hover { + background: none; + } + +/* styles for crates-io/components/placeholder.module.css */ +._placeholder_el4r1x { + position: relative; + display: block; + overflow: hidden; + background: linear-gradient(to right, var(--placeholder-bg) 8%, var(--placeholder-bg2) 16%, var(--placeholder-bg) 29%); + background-size: 1200px 100%; + animation-name: _backgroundAnimation_el4r1x; + animation-duration: 1.5s; + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-fill-mode: forwards; +} + +@keyframes _backgroundAnimation_el4r1x { + 0% { + background-position: -500px; + } + + 100% { + background-position: 500px; + } +} + +/* styles for crates-io/components/privileged-action.module.css */ +._placeholder_lh28ym fieldset { + border: 0; + margin: 0; + padding: 0; + } +._placeholder_lh28ym fieldset[disabled] { + cursor: not-allowed; + } +._placeholder_lh28ym fieldset[disabled] [disabled] { + cursor: not-allowed; + } +._placeholder_lh28ym fieldset[disabled] button, + ._placeholder_lh28ym fieldset[disabled] ._yellow-button_lh28ym, + ._placeholder_lh28ym fieldset[disabled] ._tan-button_lh28ym { + /* This duplicates the styles in .button[disabled] as there's no + * obvious way to compose them, given the target selectors. */ + background: linear-gradient(to bottom, var(--bg-color-top-light) 0%, var(--bg-color-bottom-light) 100%); + color: var(--disabled-text-color); + cursor: not-allowed; + } + +/* styles for crates-io/components/progress-bar.module.css */ +._progress-bar_14e9bq { + position: fixed; + left: 0; + top: 0; + height: 3px; + box-shadow: 0 0 10px rgba(0, 13, 41, 0.6); + background: var(--yellow500) !important; +} + +/* styles for crates-io/components/rev-dep-row.module.css */ +._row_qc6rd8 { + --csstools-light-dark-toggle--91: var(--csstools-color-scheme--dark) hsl(217, 37%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--91, hsl(204, 3%, 11%)); + --csstools-light-dark-toggle--92: var(--csstools-color-scheme--dark) var(--grey700); + --crate-color: var(--csstools-light-dark-toggle--92, var(--grey600)); + --placeholder-opacity: 0.35; + --csstools-light-dark-toggle--93: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--93, #232321); + + position: relative; + font-size: 18px; + padding: var(--space-s) var(--space-m); + --csstools-light-dark-toggle--94: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--94, #141413); + border-radius: var(--space-3xs); + box-shadow: var(--shadow); + transition: all var(--transition-slow); +} +._row_qc6rd8 * { + --csstools-light-dark-toggle--91: var(--csstools-color-scheme--dark) hsl(217, 37%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--91, hsl(204, 3%, 11%)); +} +._row_qc6rd8 * { + --csstools-light-dark-toggle--92: var(--csstools-color-scheme--dark) var(--grey700); + --crate-color: var(--csstools-light-dark-toggle--92, var(--grey600)); +} +._row_qc6rd8 * { + --csstools-light-dark-toggle--93: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--93, #232321); +} +._row_qc6rd8:hover, ._row_qc6rd8._focused_qc6rd8 { + background-color: var(--hover-bg-color); + transition: all var(--transition-instant); + } +._row_qc6rd8._focused_qc6rd8 { + box-shadow: 0 0 0 3px var(--yellow500), var(--shadow); + } + +._top_qc6rd8 { + display: flex; + align-items: center; + justify-content: space-between; + flex-wrap: wrap; +} + +@media only screen and (max-width: 550px) { + +._top_qc6rd8 { + display: block; +} + } + +._left_qc6rd8 { + overflow: hidden; + text-overflow: ellipsis; +} + +._link_qc6rd8 { + color: var(--crate-color); + font-weight: 500; + margin-right: var(--space-s); + outline: none; +} + +._link_qc6rd8:hover { + color: var(--crate-color); + } + +._link_qc6rd8::after { + content: ''; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + } + +._range_qc6rd8 { + color: var(--grey600); + text-transform: uppercase; + letter-spacing: .7px; + font-size: 13px; +} + +._downloads_qc6rd8 { + display: flex; + align-items: center; + color: var(--grey600); + font-size: 16px; + font-weight: 500; + font-feature-settings: "tnum"; + font-variant: tabular-nums; +} + +@media only screen and (max-width: 550px) { + +._downloads_qc6rd8 { + margin-top: var(--space-xs); +} + } + +._download-icon_qc6rd8 { + width: auto; + height: 16px; + flex-shrink: 0; + margin-right: 7px; +} + +._description_qc6rd8 { + margin-top: var(--space-2xs); + color: var(--crate-color); + font-size: 90%; + line-height: 1.5; +} + +@media only screen and (max-width: 550px) { + +._description_qc6rd8 { + margin-top: var(--space-xs); +} + } + +._description-placeholder_qc6rd8 { + height: 1em; + width: 70%; + border-radius: var(--space-3xs); + opacity: var(--placeholder-opacity); +} + +/* styles for crates-io/components/settings-page.module.css */ +._page_ddckb1 { + display: grid; + gap: var(--space-s); +} +@media (min-width: 768px) { +._page_ddckb1 { + grid-template: + "menu content" auto / + 200px auto; +} + } + +._content_ddckb1 h2:first-child { + margin-top: var(--space-3xs); + } + +/* styles for crates-io/components/side-menu.module.css */ +._list_16lti8 { + list-style: none; + margin: 0; + padding: 0; +} +._list_16lti8 > * + * { + margin-top: var(--space-3xs); + } + +/* styles for crates-io/components/side-menu/item.module.css */ +._link_15zaly { + display: block; + padding: var(--space-2xs) var(--space-xs); + border-radius: var(--space-3xs); + color: var(--main-color-light); + transition: all var(--transition-medium) ease-in; +} +._link_15zaly:hover { + background-color: var(--main-bg-dark); + color: var(--main-color); + transition: none; + } + +._active_15zaly { + background-color: var(--main-bg-dark); + color: var(--main-color); +} + +._active_15zaly:hover { + --csstools-light-dark-toggle--95: var(--csstools-color-scheme--dark) #e5e1cd; + background-color: var(--csstools-light-dark-toggle--95, #262522); + } + +/* styles for crates-io/components/sort-dropdown.module.css */ +._trigger_xsqxju { + background-color: var(--main-bg-dark); + font-size: 85%; + padding: var(--space-2xs); + border: none; + border-radius: var(--space-3xs); +} + +._icon_xsqxju { + color: #1a9c5d; + margin-right: var(--space-2xs); +} + +/* styles for crates-io/components/stats-value.module.css */ +._stats-value_1laxax { + display: grid; + grid-template-columns: 1fr auto; + grid-template-rows: auto auto; + justify-items: end; +} + +._value_1laxax { + font-size: var(--space-m-l); + font-weight: bold; + line-height: 1em; +} + +._label_1laxax { + grid-column: 1; + grid-row: 2; + color: #76838a; + font-size: var(--space-s); + font-weight: normal; + line-height: 1.6; +} + +._icon_1laxax { + grid-column: 2; + grid-row: 1 / 3; + width: var(--space-l-xl); + height: var(--space-l-xl); + margin-left: var(--space-s); + margin-top: var(--space-3xs); + color: #76838a; +} + +/* styles for crates-io/components/text-content.module.css */ +._boxed_g1cur3 { + padding: var(--space-m); + --csstools-light-dark-toggle--25: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--25, #141413); + margin-bottom: var(--space-s); + border-radius: 5px; +} + +._wrapper_g1cur3 { + line-height: 1.5; + overflow-wrap: break-word; +} + +._wrapper_g1cur3 > :first-child { + margin-top: 0; + } + +._wrapper_g1cur3 > :last-child { + margin-bottom: 0; + } + +._wrapper_g1cur3 img { + max-width: 100%; + } + +._wrapper_g1cur3 pre { + display: block; + overflow-x: auto; + padding: var(--space-xs); + --csstools-light-dark-toggle--96: var(--csstools-color-scheme--dark) #f6f8fa; + background-color: var(--csstools-light-dark-toggle--96, #161b22); + font-size: 85%; + border-radius: var(--space-3xs); + } + +._wrapper_g1cur3 p code, ._wrapper_g1cur3 li code { + --csstools-light-dark-toggle--97: var(--csstools-color-scheme--dark) #f6f8fa; + background-color: var(--csstools-light-dark-toggle--97, #383836); + border-radius: var(--space-3xs); + font-size: 85%; + margin: 0; + padding: var(--space-4xs) var(--space-3xs); + } + +._wrapper_g1cur3 code { + font-family: var(--font-monospace); + tab-size: 4; + } + +._wrapper_g1cur3 kbd { + font-family: var(--font-monospace); + font-size: 11px; + + padding: 2px 5px 3px 5px; + + border-radius: 7px; + + position: relative; + bottom: 2px; + + border: 1px solid var(--grey700); + box-shadow: inset 0 -2px 0 var(--grey600); + } + +._wrapper_g1cur3 table { + border-collapse: collapse; + display: block; + overflow-x: auto; + } + +._wrapper_g1cur3 table th, ._wrapper_g1cur3 table td { + border: 1px solid #dfe2e5; + padding: var(--space-2xs) var(--space-s); + } + +._wrapper_g1cur3 section.footnotes { + color: var(--main-color-light); + font-size: 80%; + border-top: 1px solid var(--gray-border); + } + +._wrapper_g1cur3 section.footnotes a { + color: var(--main-color-light); + } + +._wrapper_g1cur3 section.footnotes a:hover { + color: var(--main-color); + } + +/* Reset background color, padding and font-size for syntax-highlighted code blocks. */ + +/* See: https://github.com/rust-lang/crates.io/issues/8866 */ + +._wrapper_g1cur3 .hljs { + background: unset; + padding: 0; + font-size: unset; + } + +/* + * This is a combination of the `github.css` and `github-dark.css` themes, + * but merged together using the `light-dark` function. + * + * see https://github.com/highlightjs/highlight.js/blob/11.9.0/src/styles/github.css + * and https://github.com/highlightjs/highlight.js/blob/11.9.0/src/styles/github-dark.css + */ + +._wrapper_g1cur3 .hljs-doctag, + ._wrapper_g1cur3 .hljs-keyword, + ._wrapper_g1cur3 .hljs-meta .hljs-keyword, + ._wrapper_g1cur3 .hljs-template-tag, + ._wrapper_g1cur3 .hljs-template-variable, + ._wrapper_g1cur3 .hljs-type, + ._wrapper_g1cur3 .hljs-variable.language_ { + --csstools-light-dark-toggle--98: var(--csstools-color-scheme--dark) #d73a49; + color: var(--csstools-light-dark-toggle--98, #ff7b72); + } + +._wrapper_g1cur3 .hljs-title, + ._wrapper_g1cur3 .hljs-title.class_, + ._wrapper_g1cur3 .hljs-title.class_.inherited__, + ._wrapper_g1cur3 .hljs-title.function_ { + --csstools-light-dark-toggle--99: var(--csstools-color-scheme--dark) #6f42c1; + color: var(--csstools-light-dark-toggle--99, #d2a8ff); + } + +._wrapper_g1cur3 .hljs-attr, + ._wrapper_g1cur3 .hljs-attribute, + ._wrapper_g1cur3 .hljs-literal, + ._wrapper_g1cur3 .hljs-meta, + ._wrapper_g1cur3 .hljs-number, + ._wrapper_g1cur3 .hljs-operator, + ._wrapper_g1cur3 .hljs-variable, + ._wrapper_g1cur3 .hljs-selector-attr, + ._wrapper_g1cur3 .hljs-selector-class, + ._wrapper_g1cur3 .hljs-selector-id { + --csstools-light-dark-toggle--100: var(--csstools-color-scheme--dark) #005cc5; + color: var(--csstools-light-dark-toggle--100, #79c0ff); + } + +._wrapper_g1cur3 .hljs-regexp, + ._wrapper_g1cur3 .hljs-string, + ._wrapper_g1cur3 .hljs-meta .hljs-string { + --csstools-light-dark-toggle--101: var(--csstools-color-scheme--dark) #032f62; + color: var(--csstools-light-dark-toggle--101, #a5d6ff); + } + +._wrapper_g1cur3 .hljs-built_in, + ._wrapper_g1cur3 .hljs-symbol { + --csstools-light-dark-toggle--102: var(--csstools-color-scheme--dark) #e36209; + color: var(--csstools-light-dark-toggle--102, #ffa657); + } + +._wrapper_g1cur3 .hljs-comment, + ._wrapper_g1cur3 .hljs-code, + ._wrapper_g1cur3 .hljs-formula { + --csstools-light-dark-toggle--103: var(--csstools-color-scheme--dark) #6a737d; + color: var(--csstools-light-dark-toggle--103, #8b949e); + } + +._wrapper_g1cur3 .hljs-name, + ._wrapper_g1cur3 .hljs-quote, + ._wrapper_g1cur3 .hljs-selector-tag, + ._wrapper_g1cur3 .hljs-selector-pseudo { + --csstools-light-dark-toggle--104: var(--csstools-color-scheme--dark) #22863a; + color: var(--csstools-light-dark-toggle--104, #7ee787); + } + +._wrapper_g1cur3 .hljs-subst { + --csstools-light-dark-toggle--105: var(--csstools-color-scheme--dark) #24292e; + color: var(--csstools-light-dark-toggle--105, #c9d1d9); + } + +._wrapper_g1cur3 .hljs-section { + --csstools-light-dark-toggle--106: var(--csstools-color-scheme--dark) #005cc5; + color: var(--csstools-light-dark-toggle--106, #1f6feb); + font-weight: bold + } + +._wrapper_g1cur3 .hljs-bullet { + --csstools-light-dark-toggle--107: var(--csstools-color-scheme--dark) #735c0f; + color: var(--csstools-light-dark-toggle--107, #f2cc60); + } + +._wrapper_g1cur3 .hljs-emphasis { + --csstools-light-dark-toggle--108: var(--csstools-color-scheme--dark) #24292e; + color: var(--csstools-light-dark-toggle--108, #c9d1d9); + font-style: italic + } + +._wrapper_g1cur3 .hljs-strong { + --csstools-light-dark-toggle--109: var(--csstools-color-scheme--dark) #24292e; + color: var(--csstools-light-dark-toggle--109, #c9d1d9); + font-weight: bold + } + +._wrapper_g1cur3 .hljs-addition { + --csstools-light-dark-toggle--110: var(--csstools-color-scheme--dark) #22863a; + color: var(--csstools-light-dark-toggle--110, #aff5b4); + --csstools-light-dark-toggle--111: var(--csstools-color-scheme--dark) #f0fff4; + background-color: var(--csstools-light-dark-toggle--111, #033a16); + } + +._wrapper_g1cur3 .hljs-deletion { + --csstools-light-dark-toggle--112: var(--csstools-color-scheme--dark) #b31d28; + color: var(--csstools-light-dark-toggle--112, #ffdcd7); + --csstools-light-dark-toggle--113: var(--csstools-color-scheme--dark) #ffeef0; + background-color: var(--csstools-light-dark-toggle--113, #67060c); + } + +/* styles for crates-io/components/version-list/row.module.css */ +._row_ofj1qe { + --csstools-light-dark-toggle--114: var(--csstools-color-scheme--dark) var(--grey200); + --bg-color: var(--csstools-light-dark-toggle--114, #242422); + --csstools-light-dark-toggle--115: var(--csstools-color-scheme--dark) hsl(217, 37%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--115, hsl(204, 3%, 11%)); + --csstools-light-dark-toggle--116: var(--csstools-color-scheme--dark) var(--grey700); + --fg-color: var(--csstools-light-dark-toggle--116, #ccc); + --csstools-light-dark-toggle--117: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--117, #232321); + + display: flex; + align-items: center; + position: relative; + font-size: 18px; + padding: var(--space-s) var(--space-m); + --csstools-light-dark-toggle--118: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--118, #141413); + border-radius: var(--space-3xs); + box-shadow: var(--shadow); + transition: all var(--transition-slow); +} +._row_ofj1qe * { + --csstools-light-dark-toggle--114: var(--csstools-color-scheme--dark) var(--grey200); + --bg-color: var(--csstools-light-dark-toggle--114, #242422); +} +._row_ofj1qe * { + --csstools-light-dark-toggle--115: var(--csstools-color-scheme--dark) hsl(217, 37%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--115, hsl(204, 3%, 11%)); +} +._row_ofj1qe * { + --csstools-light-dark-toggle--116: var(--csstools-color-scheme--dark) var(--grey700); + --fg-color: var(--csstools-light-dark-toggle--116, #ccc); +} +._row_ofj1qe * { + --csstools-light-dark-toggle--117: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + --shadow: 0 1px 3px var(--csstools-light-dark-toggle--117, #232321); +} +._row_ofj1qe:hover, ._row_ofj1qe._focused_ofj1qe { + background-color: var(--hover-bg-color); + transition: all var(--transition-instant); + } +._row_ofj1qe._focused_ofj1qe { + box-shadow: 0 0 0 3px var(--yellow500), var(--shadow); + } +._row_ofj1qe._latest_ofj1qe { + --csstools-light-dark-toggle--119: var(--csstools-color-scheme--dark) hsl(109, 75%, 87%); + --bg-color: var(--csstools-light-dark-toggle--119, hsl(136, 67%, 11%)); + --csstools-light-dark-toggle--120: var(--csstools-color-scheme--dark) hsl(109, 75%, 97%); + --hover-bg-color: var(--csstools-light-dark-toggle--120, hsl(109, 10%, 11%)); + --csstools-light-dark-toggle--121: var(--csstools-color-scheme--dark) hsl(136, 67%, 38%); + --fg-color: var(--csstools-light-dark-toggle--121, hsl(109, 75%, 87%)); + } +._row_ofj1qe._latest_ofj1qe * { + --csstools-light-dark-toggle--119: var(--csstools-color-scheme--dark) hsl(109, 75%, 87%); + --bg-color: var(--csstools-light-dark-toggle--119, hsl(136, 67%, 11%)); +} +._row_ofj1qe._latest_ofj1qe * { + --csstools-light-dark-toggle--120: var(--csstools-color-scheme--dark) hsl(109, 75%, 97%); + --hover-bg-color: var(--csstools-light-dark-toggle--120, hsl(109, 10%, 11%)); +} +._row_ofj1qe._latest_ofj1qe * { + --csstools-light-dark-toggle--121: var(--csstools-color-scheme--dark) hsl(136, 67%, 38%); + --fg-color: var(--csstools-light-dark-toggle--121, hsl(109, 75%, 87%)); +} +._row_ofj1qe._prerelease_ofj1qe { + --csstools-light-dark-toggle--122: var(--csstools-color-scheme--dark) hsl(39, 100%, 91%); + --bg-color: var(--csstools-light-dark-toggle--122, hsl(39, 71%, 15%)); + --csstools-light-dark-toggle--123: var(--csstools-color-scheme--dark) hsl(39, 100%, 97%); + --hover-bg-color: var(--csstools-light-dark-toggle--123, hsl(39, 10%, 11%)); + --csstools-light-dark-toggle--124: var(--csstools-color-scheme--dark) hsl(39, 71%, 45%); + --fg-color: var(--csstools-light-dark-toggle--124, hsl(39, 100%, 91%)); + } +._row_ofj1qe._prerelease_ofj1qe * { + --csstools-light-dark-toggle--122: var(--csstools-color-scheme--dark) hsl(39, 100%, 91%); + --bg-color: var(--csstools-light-dark-toggle--122, hsl(39, 71%, 15%)); +} +._row_ofj1qe._prerelease_ofj1qe * { + --csstools-light-dark-toggle--123: var(--csstools-color-scheme--dark) hsl(39, 100%, 97%); + --hover-bg-color: var(--csstools-light-dark-toggle--123, hsl(39, 10%, 11%)); +} +._row_ofj1qe._prerelease_ofj1qe * { + --csstools-light-dark-toggle--124: var(--csstools-color-scheme--dark) hsl(39, 71%, 45%); + --fg-color: var(--csstools-light-dark-toggle--124, hsl(39, 100%, 91%)); +} +._row_ofj1qe._yanked_ofj1qe { + --csstools-light-dark-toggle--125: var(--csstools-color-scheme--dark) hsl(0, 92%, 90%); + --bg-color: var(--csstools-light-dark-toggle--125, hsl(0, 84%, 12%)); + --csstools-light-dark-toggle--126: var(--csstools-color-scheme--dark) hsl(0, 92%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--126, hsl(0, 10%, 11%)); + --csstools-light-dark-toggle--127: var(--csstools-color-scheme--dark) hsl(0, 84%, 32%); + --fg-color: var(--csstools-light-dark-toggle--127, hsl(0, 92%, 90%)); + } +._row_ofj1qe._yanked_ofj1qe * { + --csstools-light-dark-toggle--125: var(--csstools-color-scheme--dark) hsl(0, 92%, 90%); + --bg-color: var(--csstools-light-dark-toggle--125, hsl(0, 84%, 12%)); +} +._row_ofj1qe._yanked_ofj1qe * { + --csstools-light-dark-toggle--126: var(--csstools-color-scheme--dark) hsl(0, 92%, 98%); + --hover-bg-color: var(--csstools-light-dark-toggle--126, hsl(0, 10%, 11%)); +} +._row_ofj1qe._yanked_ofj1qe * { + --csstools-light-dark-toggle--127: var(--csstools-color-scheme--dark) hsl(0, 84%, 32%); + --fg-color: var(--csstools-light-dark-toggle--127, hsl(0, 92%, 90%)); +} +._row_ofj1qe [title], ._row_ofj1qe .ember-tooltip-target { + position: relative; + z-index: 1; + cursor: help; + } +._row_ofj1qe .ember-tooltip { + word-break: break-all; + } + +._version_ofj1qe { + display: grid; + grid-template-columns: auto auto; + place-items: center; +} + +@media only screen and (max-width: 550px) { + +._version_ofj1qe { + grid-template-columns: auto; + margin: 0 var(--space-s); +} + } + +._release-track_ofj1qe { + flex-shrink: 0; + display: grid; + place-items: center; + width: var(--space-xl); + height: var(--space-xl); + overflow: hidden; + margin-right: var(--space-s); + font-weight: 500; + font-feature-settings: "tnum"; + font-variant-numeric: tabular-nums; + color: var(--fg-color); + background-color: var(--bg-color); + --csstools-light-dark-toggle--128: var(--csstools-color-scheme--dark) white; + border: 1px solid var(--csstools-light-dark-toggle--128, #808080); + border-radius: 50%; + transition: all var(--transition-fast); +} + +._release-track_ofj1qe > svg { + height: 1em; + width: auto; + } + +._row_ofj1qe:hover ._release-track_ofj1qe, ._row_ofj1qe._focused_ofj1qe ._release-track_ofj1qe { + --csstools-light-dark-toggle--129: var(--csstools-color-scheme--dark) white; + border: var(--space-4xs) solid var(--csstools-light-dark-toggle--129, #bfbfbf); + --csstools-light-dark-toggle--130: var(--csstools-color-scheme--dark) var(--fg-color); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--130, #232321); + } + +@media only screen and (max-width: 550px) { + +._release-track_ofj1qe { + margin: 0 0 var(--space-s); +} + } + +._rt-latest_ofj1qe { + color: hsl(136, 67%, 38%); +} + +._rt-prerelease_ofj1qe { + color: hsl(35, 95%, 59%); +} + +._rt-yanked_ofj1qe { + color: hsl(0, 87%, 58%); +} + +._num-link_ofj1qe { + max-width: 200px; + text-overflow: ellipsis; + overflow: hidden; + color: var(--fg-color); + font-weight: 500; + font-feature-settings: "tnum"; + font-variant-numeric: tabular-nums; + outline: none; +} + +._num-link_ofj1qe:hover { + color: var(--fg-color); + } + +._num-link_ofj1qe::after { + content: ''; + position: absolute; + left: 0; + top: 0; + right: 0; + bottom: 0; + } + +._metadata_ofj1qe { + flex-grow: 1; + margin-left: var(--space-m); + --csstools-light-dark-toggle--131: var(--csstools-color-scheme--dark) var(--grey600); + color: var(--csstools-light-dark-toggle--131, #d1cfc7); + text-transform: uppercase; + letter-spacing: .7px; + font-size: 13px; +} + +._metadata_ofj1qe a { + position: relative; + color: inherit; + } + +._metadata_ofj1qe a:hover { + --csstools-light-dark-toggle--132: var(--csstools-color-scheme--dark) var(--grey900); + color: var(--csstools-light-dark-toggle--132, #f5f3e9); + } + +._metadata_ofj1qe a:focus-visible { + outline: none; + color: var(--yellow500); + } + +._metadata_ofj1qe svg { + height: 1em; + width: auto; + margin-right: var(--space-4xs); + margin-bottom: -.1em; + } + +._metadata_ofj1qe .ember-tooltip { + text-transform: none; + letter-spacing: normal; + } + +._metadata_ofj1qe > * + * { + margin-top: var(--space-2xs); + } + +@media only screen and (max-width: 750px) { + +._metadata_ofj1qe > * + * { + margin-top: var(--space-xs); + } + } + +._avatar_ofj1qe { + height: 1.5em; + width: auto; + margin-left: var(--space-4xs); + margin-bottom: -.4em; + border-radius: 50%; + box-shadow: 0 1px 1px 0 var(--grey600); + padding: 1px; +} + +._metadata-row_ofj1qe > * + * { + margin-left: var(--space-s); + } + +@media only screen and (max-width: 750px) { + +._metadata-row_ofj1qe { + display: flex; + flex-direction: column; + align-items: flex-start; +} + + ._metadata-row_ofj1qe > * + * { + margin-left: 0; + margin-top: var(--space-xs); + } + } + +._date_ofj1qe._new_ofj1qe, .tooltip ._new_ofj1qe { + color: hsl(39, 98%, 47%); +} + +._msrv_ofj1qe { + text-transform: initial; +} + +._msrv_ofj1qe svg { + /* this makes the text look a little more aligned with the icon... 🤷 */ + margin-bottom: -0.15em; + } + +._bytes_ofj1qe { + font-feature-settings: "tnum"; + font-variant-numeric: tabular-nums; + text-transform: none; +} + +._feature-list_ofj1qe { + padding: 0; + margin: var(--space-xs) var(--space-2xs); + list-style: none; +} + +._yank-button_ofj1qe { + position: relative; + margin-left: var(--space-xs); +} + +@media only screen and (max-width: 550px) { + +._yank-button_ofj1qe { + display: none; +} + } + +/* styles for crates-io/styles/category-slugs.module.css */ +._list_1ohwnv { + --csstools-light-dark-toggle--133: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--133, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--134: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--134, #232321); + margin-bottom: var(--space-s); +} +._list_1ohwnv dt { + padding: var(--space-s); + padding-bottom: var(--space-2xs); + font-family: var(--font-monospace); + font-weight: bold; + } +._list_1ohwnv dd { + margin: 0 var(--space-s) var(--space-s); + } +._list_1ohwnv > * + dt { + --csstools-light-dark-toggle--135: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--135, #424242); + } + +/* styles for crates-io/styles/crate/reverse-dependencies.module.css */ +._results-meta_hm3gzo { + margin-bottom: var(--space-s); +} + +._list_hm3gzo { + list-style: none; + margin: 0 0 var(--space-s); + padding: 0; +} + +._list_hm3gzo > * + * { + margin-top: var(--space-2xs); + } + +._no-results_hm3gzo { + text-align: center; + margin: var(--space-m) 0; +} + +/* styles for crates-io/styles/crate/version-dependencies.module.css */ +._list_157kuh { + list-style: none; + margin: 0; + padding: 0; +} +._list_157kuh > * + * { + margin-top: var(--space-2xs); + } + +._heading_157kuh { + font-size: 1.17em; + margin-block-start: 1em; + margin-block-end: 1em; +} + +/* styles for crates-io/styles/me/pending-invites.module.css */ +._list_sj17up { + --csstools-light-dark-toggle--136: var(--csstools-color-scheme--dark) white; + background-color: var(--csstools-light-dark-toggle--136, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--137: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .35); + box-shadow: 0 1px 3px var(--csstools-light-dark-toggle--137, #232321); + margin-bottom: var(--space-s); +} +._list_sj17up > * { + padding: var(--space-s); + } +._list_sj17up > * + * { + --csstools-light-dark-toggle--138: var(--csstools-color-scheme--dark) hsla(51, 90%, 42%, .25); + border-top: 1px solid var(--csstools-light-dark-toggle--138, #232321); + } + +/* styles for crates-io/styles/settings/appearance.module.css */ +._themes-form_110lt5 { + display: flex; + gap: var(--space-xs); + flex-wrap: wrap; +} + +._theme-label_110lt5 { + display: inline-block; + padding: var(--space-s); + --csstools-light-dark-toggle--26: var(--csstools-color-scheme--dark) white; + background: var(--csstools-light-dark-toggle--26, #141413); + border-radius: var(--space-3xs); + --csstools-light-dark-toggle--27: var(--csstools-color-scheme--dark) hsla(51, 50%, 44%, .35); + box-shadow: 0 2px 3px var(--csstools-light-dark-toggle--27, #232321); +} + +._theme-preview_110lt5 { + width: 200px; + height: 160px; + margin-bottom: var(--space-s); +} + +/* styles for crates-io/styles/settings/profile.module.css */ +._me-profile_y8b1zj { + margin-bottom: var(--space-s); +} +._me-profile_y8b1zj ._info_y8b1zj { + display: flex; + } +._me-profile_y8b1zj dl { + margin: 0 0 0 var(--space-m); + line-height: 1.5; + font-size: 110%; + } +._me-profile_y8b1zj dl dt { + font-weight: bold; + width: 150px; + text-align: right; + float: left; + clear: both; + } +._me-profile_y8b1zj dl dd { + float: left; + margin-left: var(--space-xs); + } +._me-profile_y8b1zj p { + line-height: 1.5; + } +@media only screen and (max-width: 550px) { + ._me-profile_y8b1zj ._info_y8b1zj img { display: none; } + } + +._me-email_y8b1zj { + margin-bottom: var(--space-s); + display: flex; + flex-direction: column; +} diff --git a/assets/crates-io.css.br b/assets/crates-io.css.br new file mode 100644 index 00000000..3a08544d Binary files /dev/null and b/assets/crates-io.css.br differ diff --git a/assets/crates-io.css.gz b/assets/crates-io.css.gz new file mode 100644 index 00000000..b2370ec3 Binary files /dev/null and b/assets/crates-io.css.gz differ diff --git a/assets/cuddlyferris.svg b/assets/cuddlyferris.svg new file mode 100644 index 00000000..a194b30b --- /dev/null +++ b/assets/cuddlyferris.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/cuddlyferris.svg.br b/assets/cuddlyferris.svg.br new file mode 100644 index 00000000..d457af98 Binary files /dev/null and b/assets/cuddlyferris.svg.br differ diff --git a/assets/cuddlyferris.svg.gz b/assets/cuddlyferris.svg.gz new file mode 100644 index 00000000..2d8dc432 Binary files /dev/null and b/assets/cuddlyferris.svg.gz differ diff --git a/assets/docs-rs.svg b/assets/docs-rs.svg new file mode 100644 index 00000000..46a02dd6 --- /dev/null +++ b/assets/docs-rs.svg @@ -0,0 +1,4 @@ + + + diff --git a/assets/docs-rs.svg.br b/assets/docs-rs.svg.br new file mode 100644 index 00000000..043a6888 Binary files /dev/null and b/assets/docs-rs.svg.br differ diff --git a/assets/docs-rs.svg.gz b/assets/docs-rs.svg.gz new file mode 100644 index 00000000..acfd85da Binary files /dev/null and b/assets/docs-rs.svg.gz differ diff --git a/assets/download-arrow.svg b/assets/download-arrow.svg new file mode 100644 index 00000000..e03b94ce --- /dev/null +++ b/assets/download-arrow.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/download-arrow.svg.br b/assets/download-arrow.svg.br new file mode 100644 index 00000000..c20888c7 Binary files /dev/null and b/assets/download-arrow.svg.br differ diff --git a/assets/download-arrow.svg.gz b/assets/download-arrow.svg.gz new file mode 100644 index 00000000..4f998657 Binary files /dev/null and b/assets/download-arrow.svg.gz differ diff --git a/assets/download.svg b/assets/download.svg new file mode 100644 index 00000000..a754591d --- /dev/null +++ b/assets/download.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/download.svg.br b/assets/download.svg.br new file mode 100644 index 00000000..1478efcf Binary files /dev/null and b/assets/download.svg.br differ diff --git a/assets/download.svg.gz b/assets/download.svg.gz new file mode 100644 index 00000000..be185d74 Binary files /dev/null and b/assets/download.svg.gz differ diff --git a/assets/dropdown.svg b/assets/dropdown.svg new file mode 100644 index 00000000..dca92e6a --- /dev/null +++ b/assets/dropdown.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/dropdown.svg.br b/assets/dropdown.svg.br new file mode 100644 index 00000000..ec4f8649 Binary files /dev/null and b/assets/dropdown.svg.br differ diff --git a/assets/dropdown.svg.gz b/assets/dropdown.svg.gz new file mode 100644 index 00000000..15074f53 Binary files /dev/null and b/assets/dropdown.svg.gz differ diff --git a/assets/ferris.png b/assets/ferris.png new file mode 100644 index 00000000..8741baa1 Binary files /dev/null and b/assets/ferris.png differ diff --git a/assets/file-archive.svg b/assets/file-archive.svg new file mode 100644 index 00000000..f6c2a4e4 --- /dev/null +++ b/assets/file-archive.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/file-archive.svg.br b/assets/file-archive.svg.br new file mode 100644 index 00000000..817f4975 Binary files /dev/null and b/assets/file-archive.svg.br differ diff --git a/assets/file-archive.svg.gz b/assets/file-archive.svg.gz new file mode 100644 index 00000000..41beec84 Binary files /dev/null and b/assets/file-archive.svg.gz differ diff --git a/assets/flag.svg b/assets/flag.svg new file mode 100644 index 00000000..9b82e749 --- /dev/null +++ b/assets/flag.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/assets/flag.svg.br b/assets/flag.svg.br new file mode 100644 index 00000000..518eefec Binary files /dev/null and b/assets/flag.svg.br differ diff --git a/assets/flag.svg.gz b/assets/flag.svg.gz new file mode 100644 index 00000000..288dcc0f Binary files /dev/null and b/assets/flag.svg.gz differ diff --git a/assets/following.svg b/assets/following.svg new file mode 100644 index 00000000..1d27766d --- /dev/null +++ b/assets/following.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/following.svg.br b/assets/following.svg.br new file mode 100644 index 00000000..58bcd8ab Binary files /dev/null and b/assets/following.svg.br differ diff --git a/assets/following.svg.gz b/assets/following.svg.gz new file mode 100644 index 00000000..0d6cac93 Binary files /dev/null and b/assets/following.svg.gz differ diff --git a/assets/github.svg b/assets/github.svg new file mode 100644 index 00000000..8b0623d5 --- /dev/null +++ b/assets/github.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/github.svg.br b/assets/github.svg.br new file mode 100644 index 00000000..9def4e46 Binary files /dev/null and b/assets/github.svg.br differ diff --git a/assets/github.svg.gz b/assets/github.svg.gz new file mode 100644 index 00000000..03487488 Binary files /dev/null and b/assets/github.svg.gz differ diff --git a/assets/latest-updates.svg b/assets/latest-updates.svg new file mode 100644 index 00000000..61dacd49 --- /dev/null +++ b/assets/latest-updates.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/latest-updates.svg.br b/assets/latest-updates.svg.br new file mode 100644 index 00000000..7db2feae Binary files /dev/null and b/assets/latest-updates.svg.br differ diff --git a/assets/latest-updates.svg.gz b/assets/latest-updates.svg.gz new file mode 100644 index 00000000..3dbfba1b Binary files /dev/null and b/assets/latest-updates.svg.gz differ diff --git a/assets/left-pag.svg b/assets/left-pag.svg new file mode 100644 index 00000000..8b619f32 --- /dev/null +++ b/assets/left-pag.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/left-pag.svg.br b/assets/left-pag.svg.br new file mode 100644 index 00000000..001d92e0 Binary files /dev/null and b/assets/left-pag.svg.br differ diff --git a/assets/left-pag.svg.gz b/assets/left-pag.svg.gz new file mode 100644 index 00000000..83092e36 Binary files /dev/null and b/assets/left-pag.svg.gz differ diff --git a/assets/license.svg b/assets/license.svg new file mode 100644 index 00000000..b6793dfd --- /dev/null +++ b/assets/license.svg @@ -0,0 +1,58 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/license.svg.br b/assets/license.svg.br new file mode 100644 index 00000000..a2786ecf Binary files /dev/null and b/assets/license.svg.br differ diff --git a/assets/license.svg.gz b/assets/license.svg.gz new file mode 100644 index 00000000..7676c393 Binary files /dev/null and b/assets/license.svg.gz differ diff --git a/assets/link.svg b/assets/link.svg new file mode 100644 index 00000000..fff7fbfe --- /dev/null +++ b/assets/link.svg @@ -0,0 +1,53 @@ + + + + + + image/svg+xml + + + + + + + + diff --git a/assets/link.svg.br b/assets/link.svg.br new file mode 100644 index 00000000..e2f6daa1 Binary files /dev/null and b/assets/link.svg.br differ diff --git a/assets/link.svg.gz b/assets/link.svg.gz new file mode 100644 index 00000000..abd99037 Binary files /dev/null and b/assets/link.svg.gz differ diff --git a/assets/lock.svg b/assets/lock.svg new file mode 100644 index 00000000..6889bf6c --- /dev/null +++ b/assets/lock.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/lock.svg.br b/assets/lock.svg.br new file mode 100644 index 00000000..2972099c Binary files /dev/null and b/assets/lock.svg.br differ diff --git a/assets/lock.svg.gz b/assets/lock.svg.gz new file mode 100644 index 00000000..5313c29d Binary files /dev/null and b/assets/lock.svg.gz differ diff --git a/assets/moon.svg b/assets/moon.svg new file mode 100644 index 00000000..e01a7f40 --- /dev/null +++ b/assets/moon.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/moon.svg.br b/assets/moon.svg.br new file mode 100644 index 00000000..5623c27b Binary files /dev/null and b/assets/moon.svg.br differ diff --git a/assets/moon.svg.gz b/assets/moon.svg.gz new file mode 100644 index 00000000..508f9c53 Binary files /dev/null and b/assets/moon.svg.gz differ diff --git a/assets/my-packages.svg b/assets/my-packages.svg new file mode 100644 index 00000000..a0414b45 --- /dev/null +++ b/assets/my-packages.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/my-packages.svg.br b/assets/my-packages.svg.br new file mode 100644 index 00000000..5320e830 Binary files /dev/null and b/assets/my-packages.svg.br differ diff --git a/assets/my-packages.svg.gz b/assets/my-packages.svg.gz new file mode 100644 index 00000000..474121c3 Binary files /dev/null and b/assets/my-packages.svg.gz differ diff --git a/assets/right-arrow.svg b/assets/right-arrow.svg new file mode 100644 index 00000000..f44739eb --- /dev/null +++ b/assets/right-arrow.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/right-arrow.svg.br b/assets/right-arrow.svg.br new file mode 100644 index 00000000..17508b15 Binary files /dev/null and b/assets/right-arrow.svg.br differ diff --git a/assets/right-arrow.svg.gz b/assets/right-arrow.svg.gz new file mode 100644 index 00000000..6f95a4f6 Binary files /dev/null and b/assets/right-arrow.svg.gz differ diff --git a/assets/right-pag.svg b/assets/right-pag.svg new file mode 100644 index 00000000..c2dbbe17 --- /dev/null +++ b/assets/right-pag.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/right-pag.svg.br b/assets/right-pag.svg.br new file mode 100644 index 00000000..3ec29acb Binary files /dev/null and b/assets/right-pag.svg.br differ diff --git a/assets/right-pag.svg.gz b/assets/right-pag.svg.gz new file mode 100644 index 00000000..c4c6ea01 Binary files /dev/null and b/assets/right-pag.svg.gz differ diff --git a/assets/rust.svg b/assets/rust.svg new file mode 100644 index 00000000..bd4a1347 --- /dev/null +++ b/assets/rust.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/rust.svg.br b/assets/rust.svg.br new file mode 100644 index 00000000..8a38fca1 Binary files /dev/null and b/assets/rust.svg.br differ diff --git a/assets/rust.svg.gz b/assets/rust.svg.gz new file mode 100644 index 00000000..2b6c36cb Binary files /dev/null and b/assets/rust.svg.gz differ diff --git a/assets/search.svg b/assets/search.svg new file mode 100644 index 00000000..dcdd9aa1 --- /dev/null +++ b/assets/search.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/search.svg.br b/assets/search.svg.br new file mode 100644 index 00000000..4aab9e60 Binary files /dev/null and b/assets/search.svg.br differ diff --git a/assets/search.svg.gz b/assets/search.svg.gz new file mode 100644 index 00000000..a21259b4 Binary files /dev/null and b/assets/search.svg.gz differ diff --git a/assets/sort.svg b/assets/sort.svg new file mode 100644 index 00000000..73ea7524 --- /dev/null +++ b/assets/sort.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/assets/sort.svg.br b/assets/sort.svg.br new file mode 100644 index 00000000..d9efa011 Binary files /dev/null and b/assets/sort.svg.br differ diff --git a/assets/sort.svg.gz b/assets/sort.svg.gz new file mode 100644 index 00000000..43bfe849 Binary files /dev/null and b/assets/sort.svg.gz differ diff --git a/assets/star.svg b/assets/star.svg new file mode 100644 index 00000000..ed2381a8 --- /dev/null +++ b/assets/star.svg @@ -0,0 +1,58 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/star.svg.br b/assets/star.svg.br new file mode 100644 index 00000000..50f4b6b8 Binary files /dev/null and b/assets/star.svg.br differ diff --git a/assets/star.svg.gz b/assets/star.svg.gz new file mode 100644 index 00000000..5868c9f6 Binary files /dev/null and b/assets/star.svg.gz differ diff --git a/assets/sun.svg b/assets/sun.svg new file mode 100644 index 00000000..6c72f4cf --- /dev/null +++ b/assets/sun.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/sun.svg.br b/assets/sun.svg.br new file mode 100644 index 00000000..ab7496af Binary files /dev/null and b/assets/sun.svg.br differ diff --git a/assets/sun.svg.gz b/assets/sun.svg.gz new file mode 100644 index 00000000..82509fd4 Binary files /dev/null and b/assets/sun.svg.gz differ diff --git a/assets/trash.svg b/assets/trash.svg new file mode 100644 index 00000000..48fe527f --- /dev/null +++ b/assets/trash.svg @@ -0,0 +1,58 @@ + + + + + + + image/svg+xml + + + + + + + + + diff --git a/assets/trash.svg.br b/assets/trash.svg.br new file mode 100644 index 00000000..5e9e6dbe Binary files /dev/null and b/assets/trash.svg.br differ diff --git a/assets/trash.svg.gz b/assets/trash.svg.gz new file mode 100644 index 00000000..18b99b0d Binary files /dev/null and b/assets/trash.svg.gz differ diff --git a/assets/twitter.svg b/assets/twitter.svg new file mode 100644 index 00000000..24de16d8 --- /dev/null +++ b/assets/twitter.svg @@ -0,0 +1,4 @@ + + + + diff --git a/assets/twitter.svg.br b/assets/twitter.svg.br new file mode 100644 index 00000000..1077c78f Binary files /dev/null and b/assets/twitter.svg.br differ diff --git a/assets/twitter.svg.gz b/assets/twitter.svg.gz new file mode 100644 index 00000000..e79a9953 Binary files /dev/null and b/assets/twitter.svg.gz differ diff --git a/assets/vendor.90ed48205f732f478c26401c87d461b5.js b/assets/vendor.90ed48205f732f478c26401c87d461b5.js new file mode 100644 index 00000000..b1370706 --- /dev/null +++ b/assets/vendor.90ed48205f732f478c26401c87d461b5.js @@ -0,0 +1,20 @@ +window.EmberENV={...window.EmberENV||{},FEATURES:{},EXTEND_PROTOTYPES:{Date:!1},_APPLICATION_TEMPLATE_WRAPPER:!1,_DEFAULT_ASYNC_OBSERVERS:!0,_JQUERY_INTEGRATION:!1,_TEMPLATE_ONLY_GLIMMER_COMPONENTS:!0};var loader,define,requireModule,require,requirejs,runningTests=!1;if(function(e){"use strict";function t(){var e=Object.create(null);return e.__=void 0,delete e.__,e}var r={loader:loader,define:define,requireModule:requireModule,require:require,requirejs:requirejs};requirejs=require=requireModule=function(e){for(var t=[],r=u(e,"(require)",t),n=t.length-1;n>=0;n--)t[n].exports();return r.module.exports},loader={noConflict:function(t){var n,i;for(n in t)t.hasOwnProperty(n)&&r.hasOwnProperty(n)&&(i=t[n],e[i]=e[n],e[n]=r[n])},makeDefaultExport:!0};var n=t(),i=(t(),0);var o=["require","exports","module"];function s(e,t,r,n){this.uuid=i++,this.id=e,this.deps=!t.length&&r.length?o:t,this.module={exports:{}},this.callback=r,this.hasExportsAsDep=!1,this.isAlias=n,this.reified=new Array(t.length),this.state="new"}function a(){}function l(e){this.id=e}function u(e,t,r){for(var i=n[e]||n[e+"/index"];i&&i.isAlias;)i=n[i.id]||n[i.id+"/index"];return i||function(e,t){throw new Error("Could not find module `"+e+"` imported from `"+t+"`")}(e,t),r&&"pending"!==i.state&&"finalized"!==i.state&&(i.findDeps(r),r.push(i)),i}function c(e,t){if("."!==e.charAt(0))return e;for(var r=e.split("/"),n=t.split("/").slice(0,-1),i=0,o=r.length;i=parseFloat(r)}function a(e){return s(e.until)}function l(e){return{options:e,test:!i(e),isEnabled:i(e)||a(e),isRemoved:a(e)}}e.DEPRECATIONS={DEPRECATE_IMPLICIT_ROUTE_MODEL:l({id:"deprecate-implicit-route-model",for:"ember-source",since:{available:"5.3.0",enabled:"5.3.0"},until:"6.0.0",url:"https://deprecations.emberjs.com/v5.x/#toc_deprecate-implicit-route-model"}),DEPRECATE_TEMPLATE_ACTION:l({id:"template-action",url:"https://deprecations.emberjs.com/id/template-action",until:"6.0.0",for:"ember-source",since:{available:"5.9.0",enabled:"5.9.0"}})}})),e("@ember/-internals/environment/index",["exports"],(function(e){"use strict";function t(e){return e&&e.Object===Object?e:void 0}Object.defineProperty(e,"__esModule",{value:!0}),e.context=e.ENV=void 0,e.getENV=function(){return o},e.getLookup=function(){return i.lookup},e.global=void 0,e.setLookup=function(e){i.lookup=e};var r,n=e.global=t((r="object"==typeof global&&global)&&void 0===r.nodeType?r:void 0)||t("object"==typeof self&&self)||t("object"==typeof window&&window)||"undefined"!=typeof mainContext&&mainContext||new Function("return this")();const i=e.context=function(e,t){return void 0===t?{imports:e,exports:e,lookup:e}:{imports:t.imports||e,exports:t.exports||e,lookup:t.lookup||e}}(n,n.Ember);const o=e.ENV={ENABLE_OPTIONAL_FEATURES:!1,EXTEND_PROTOTYPES:{Array:!0},LOG_STACKTRACE_ON_DEPRECATION:!0,LOG_VERSION:!0,RAISE_ON_DEPRECATION:!1,STRUCTURED_PROFILE:!1,_APPLICATION_TEMPLATE_WRAPPER:!0,_TEMPLATE_ONLY_GLIMMER_COMPONENTS:!1,_DEBUG_RENDER_TREE:!1,_ALL_DEPRECATIONS_ENABLED:!1,_OVERRIDE_DEPRECATION_VERSION:null,_DEFAULT_ASYNC_OBSERVERS:!1,_NO_IMPLICIT_ROUTE_MODEL:!1,_RERENDER_LOOP_LIMIT:1e3,EMBER_LOAD_HOOKS:{},FEATURES:{}};(e=>{if("object"!=typeof e||null===e)return;for(let t in e){if(!Object.prototype.hasOwnProperty.call(e,t)||"EXTEND_PROTOTYPES"===t||"EMBER_LOAD_HOOKS"===t)continue;let r=o[t];o[t]=!0===r?!1!==e[t]:!1===r?!0===e[t]:e[t]}let{EXTEND_PROTOTYPES:t}=e;void 0!==t&&(o.EXTEND_PROTOTYPES.Array="object"==typeof t&&null!==t?!1!==t.Array:!1!==t);let{EMBER_LOAD_HOOKS:r}=e;if("object"==typeof r&&null!==r)for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let t=r[e];Array.isArray(t)&&(o.EMBER_LOAD_HOOKS[e]=t.filter((e=>"function"==typeof e)))}let{FEATURES:n}=e;if("object"==typeof n&&null!==n)for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(o.FEATURES[e]=!0===n[e])})(n.EmberENV)})),e("@ember/-internals/error-handling/index",["exports"],(function(e){"use strict";let t;Object.defineProperty(e,"__esModule",{value:!0}),e.getDispatchOverride=function(){return r},e.getOnerror=function(){return t},e.onErrorTarget=void 0,e.setDispatchOverride=function(e){r=e},e.setOnerror=function(e){t=e};e.onErrorTarget={get onerror(){return t}};let r=null})),e("@ember/-internals/glimmer/index",["exports","@glimmer/opcode-compiler","@ember/-internals/browser-environment","@ember/debug","@ember/object","@glimmer/reference","@glimmer/validator","@ember/modifier","@ember/-internals/metal","@ember/-internals/owner","@ember/-internals/utils","@glimmer/manager","@ember/-internals/views","@ember/engine","@ember/engine/instance","@ember/instrumentation","@ember/service","@ember/-internals/runtime","@glimmer/runtime","@glimmer/util","@ember/-internals/string","@glimmer/destroyable","@ember/-internals/deprecations","@ember/runloop","@ember/object/-internals","@ember/-internals/container","@ember/-internals/environment","@glimmer/vm","@glimmer/program","rsvp","@glimmer/node","@glimmer/global-context","@ember/array/-internals","@ember/-internals/glimmer","@ember/array","@ember/routing/-internals","@ember/template-factory"],(function(e,t,r,n,i,o,s,a,l,u,c,p,d,h,m,f,g,b,y,v,_,O,C,E,w,k,T,R,S,P,A,x,M,N,D,I,j){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Component=void 0,Object.defineProperty(e,"DOMChanges",{enumerable:!0,get:function(){return y.DOMChanges}}),Object.defineProperty(e,"DOMTreeConstruction",{enumerable:!0,get:function(){return y.DOMTreeConstruction}}),e.LinkTo=e.Input=e.Helper=void 0,Object.defineProperty(e,"NodeDOMTreeConstruction",{enumerable:!0,get:function(){return A.NodeDOMTreeConstruction}}),e.Textarea=e.SafeString=e.RootTemplate=e.Renderer=e.OutletView=void 0,e._resetRenderers=function(){ur.length=0},e.componentCapabilities=void 0,e.escapeExpression=function(e){let t;if("string"!=typeof e){if(ut(e))return e.toHTML();if(null==e)return"";if(!e)return String(e);t=String(e)}else t=e;if(!st.test(t))return t;return t.replace(at,lt)},e.getTemplate=function(e){if(Object.prototype.hasOwnProperty.call(mr,e))return mr[e]},e.getTemplates=function(){return mr},e.hasTemplate=function(e){return Object.prototype.hasOwnProperty.call(mr,e)},e.helper=nt,e.htmlSafe=function(e){null==e?e="":"string"!=typeof e&&(e=String(e));return new it(e)},e.isHTMLSafe=ut,Object.defineProperty(e,"isSerializationFirstNode",{enumerable:!0,get:function(){return y.isSerializationFirstNode}}),e.modifierCapabilities=void 0,e.renderSettled=function(){null===pr&&(pr=P.default.defer(),(0,E._getCurrentRunLoop)()||E._backburner.schedule("actions",null,ar));return pr.promise},e.setComponentManager=function(e,t){return(0,p.setComponentManager)(e,t)},e.setTemplate=function(e,t){return mr[e]=t},e.setTemplates=function(e){mr=e},e.setupApplicationRegistry=function(e){e.register("service:-dom-builder",{create(e){let t=(0,u.getOwner)(e);switch(t.lookup("-environment:main")._renderMode){case"serialize":return A.serializeBuilder.bind(null);case"rehydrate":return y.rehydrationBuilder.bind(null);default:return y.clientBuilder.bind(null)}}}),e.register(k.privatize`template:-root`,F),e.register("renderer:-dom",hr)},e.setupEngineRegistry=function(e){e.optionsForType("template",{instantiate:!1}),e.register("view:-outlet",or),e.register("template:-outlet",fr),e.optionsForType("helper",{instantiate:!1}),e.register("component:input",re),e.register("component:link-to",he),e.register("component:textarea",be),T.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS||e.register(k.privatize`component:-default`,Ye)},Object.defineProperty(e,"template",{enumerable:!0,get:function(){return t.templateFactory}}),Object.defineProperty(e,"templateCacheCounters",{enumerable:!0,get:function(){return t.templateCacheCounters}}),e.uniqueId=Ut;var F=e.RootTemplate=(0,j.createTemplateFactory)({id:"tjANIXCV",block:'[[[46,[30,0],null,null,null]],[],false,["component"]]',moduleName:"packages/@ember/-internals/glimmer/lib/templates/root.hbs",isStrictMode:!0}),L=(0,j.createTemplateFactory)({id:"4z3DuGQ3",block:'[[[11,"input"],[16,1,[30,0,["id"]]],[16,0,[30,0,["class"]]],[17,1],[16,4,[30,0,["type"]]],[16,"checked",[30,0,["checked"]]],[16,2,[30,0,["value"]]],[4,[32,0],["change",[30,0,["change"]]],null],[4,[32,0],["input",[30,0,["input"]]],null],[4,[32,0],["keyup",[30,0,["keyUp"]]],null],[4,[32,0],["paste",[30,0,["valueDidChange"]]],null],[4,[32,0],["cut",[30,0,["valueDidChange"]]],null],[12],[13]],["&attrs"],false,[]]',moduleName:"packages/@ember/-internals/glimmer/lib/templates/input.hbs",scope:()=>[a.on],isStrictMode:!0});function B(){}class U{static toString(){return"internal component"}constructor(e,t,r){this.owner=e,this.args=t,this.caller=r,(0,u.setOwner)(this,e)}get id(){return(0,c.guidFor)(this)}get class(){return"ember-view"}validateArguments(){for(let e of Object.keys(this.args.named))this.isSupportedArgument(e)||this.onUnsupportedArgument(e)}named(e){let t=this.args.named[e];return t?(0,o.valueForRef)(t):void 0}positional(e){let t=this.args.positional[e];return t?(0,o.valueForRef)(t):void 0}listenerFor(e){let t=this.named(e);return t||B}isSupportedArgument(e){return!1}onUnsupportedArgument(e){}toString(){return`<${this.constructor}:${(0,c.guidFor)(this)}>`}}const H=new WeakMap;function V(e,t){let r={create(){throw(0,n.assert)("Use constructor instead of create")},toString:()=>e.toString()};return H.set(r,e),(0,p.setInternalComponentManager)(z,r),(0,p.setComponentTemplate)(t,r),r}const $={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!0,attributeHook:!1,elementHook:!1,createCaller:!0,dynamicScope:!1,updateHook:!1,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1};const z=new class{getCapabilities(){return $}create(e,t,r,n,i,a){var l;let u=new(l=t,H.get(l))(e,r.capture(),(0,o.valueForRef)(a));return(0,s.untrack)(u.validateArguments.bind(u)),u}didCreate(){}didUpdate(){}didRenderLayout(){}didUpdateLayout(){}getDebugName(e){return e.toString()}getSelf(e){return(0,o.createConstRef)(e,"this")}getDestroyable(e){return e}};var q=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const G=Object.freeze({});function W(e){return function(e){return e.target}(e).value}function Y(e){return void 0===e?new Q(void 0):(0,o.isConstRef)(e)?new Q((0,o.valueForRef)(e)):(0,o.isUpdatableRef)(e)?new K(e):new J(e)}class Q{constructor(e){this.value=e}get(){return this.value}set(e){this.value=e}}q([l.tracked],Q.prototype,"value",void 0);class K{constructor(e){this.reference=e}get(){return(0,o.valueForRef)(this.reference)}set(e){(0,o.updateRef)(this.reference,e)}}class J{constructor(e){this.lastUpstreamValue=G,this.upstream=new K(e)}get(){let e=this.upstream.get();return e!==this.lastUpstreamValue&&(this.lastUpstreamValue=e,this.local=new Q(e)),this.local.get()}set(e){this.local.set(e)}}class X extends U{constructor(){super(...arguments),this._value=Y(this.args.named.value)}validateArguments(){super.validateArguments()}get value(){return this._value.get()}set value(e){this._value.set(e)}valueDidChange(e){this.value=W(e)}change(e){this.valueDidChange(e)}input(e){this.valueDidChange(e)}keyUp(e){switch(e.key){case"Enter":this.listenerFor("enter")(e),this.listenerFor("insert-newline")(e);break;case"Escape":this.listenerFor("escape-press")(e)}}listenerFor(e){let t=super.listenerFor(e);return this.isVirtualEventListener(e,t)?(r=t,e=>r(W(e),e)):t;var r}isVirtualEventListener(e,t){return-1!==["enter","insert-newline","escape-press"].indexOf(e)}}q([i.action],X.prototype,"valueDidChange",null),q([i.action],X.prototype,"keyUp",null);var Z=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let ee;if(r.hasDOM){const e=Object.create(null),t=document.createElement("input");e[""]=!1,e.text=!0,e.checkbox=!0,ee=r=>{let n=e[r];if(void 0===n){try{t.type=r,n=t.type===r}catch(e){n=!1}finally{t.type="text"}e[r]=n}return n}}else ee=e=>""!==e;class te extends X{constructor(){super(...arguments),this._checked=Y(this.args.named.checked)}static toString(){return"Input"}get class(){return this.isCheckbox?"ember-checkbox ember-view":"ember-text-field ember-view"}get type(){let e=this.named("type");return null==e?"text":ee(e)?e:"text"}get isCheckbox(){return"checkbox"===this.named("type")}get checked(){return this.isCheckbox?this._checked.get():void 0}set checked(e){this._checked.set(e)}change(e){this.isCheckbox?this.checkedDidChange(e):super.change(e)}input(e){this.isCheckbox||super.input(e)}checkedDidChange(e){let t=e.target;this.checked=t.checked}isSupportedArgument(e){return-1!==["type","value","checked","enter","insert-newline","escape-press"].indexOf(e)||super.isSupportedArgument(e)}}Z([i.action],te.prototype,"change",null),Z([i.action],te.prototype,"input",null),Z([i.action],te.prototype,"checkedDidChange",null);const re=e.Input=V(te,L);var ne=(0,j.createTemplateFactory)({id:"Ub0nir+H",block:'[[[11,3],[16,1,[30,0,["id"]]],[16,0,[30,0,["class"]]],[16,"role",[30,0,["role"]]],[16,"title",[30,0,["title"]]],[16,"rel",[30,0,["rel"]]],[16,"tabindex",[30,0,["tabindex"]]],[16,"target",[30,0,["target"]]],[17,1],[16,6,[30,0,["href"]]],[4,[32,0],["click",[30,0,["click"]]],null],[12],[18,2,null],[13]],["&attrs","&default"],false,["yield"]]',moduleName:"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs",scope:()=>[a.on],isStrictMode:!0}),ie=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const oe=[],se={};function ae(e){return null==e}function le(e){return!ae(e)}function ue(e){return"object"==typeof e&&null!==e&&!0===e.isQueryParams}(0,n.debugFreeze)(oe),(0,n.debugFreeze)(se);class ce extends U{constructor(){super(...arguments),this.currentRouteCache=(0,s.createCache)((()=>((0,s.consumeTag)((0,s.tagFor)(this.routing,"currentState")),(0,s.untrack)((()=>this.routing.currentRouteName)))))}static toString(){return"LinkTo"}validateArguments(){super.validateArguments()}get class(){let e="ember-view";return this.isActive?(e+=this.classFor("active"),!1===this.willBeActive&&(e+=" ember-transitioning-out")):this.willBeActive&&(e+=" ember-transitioning-in"),this.isLoading&&(e+=this.classFor("loading")),this.isDisabled&&(e+=this.classFor("disabled")),e}get href(){if(this.isLoading)return"#";let{routing:e,route:t,models:r,query:n}=this;return(0,s.consumeTag)((0,s.tagFor)(e,"currentState")),e.generateURL(t,r,n)}click(e){if(!(0,d.isSimpleClick)(e))return;let t=e.currentTarget;if(!(""===t.target||"_self"===t.target))return;if(this.preventDefault(e),this.isDisabled)return;if(this.isLoading)return;let{routing:r,route:n,models:i,query:o,replace:s}=this,a={routeName:n,queryParams:o,transition:void 0};(0,f.flaggedInstrument)("interaction.link-to",a,(()=>{a.transition=r.transitionTo(n,i,o,s)}))}get route(){if("route"in this.args.named){let e=this.named("route");return e&&this.namespaceRoute(e)}return this.currentRoute}get currentRoute(){return(0,s.getValue)(this.currentRouteCache)}get models(){if("models"in this.args.named){let e=this.named("models");return e}return"model"in this.args.named?[this.named("model")]:oe}get query(){if("query"in this.args.named){let e=this.named("query");return{...e}}return se}get replace(){return!0===this.named("replace")}get isActive(){return this.isActiveForState(this.routing.currentState)}get willBeActive(){let e=this.routing.currentState,t=this.routing.targetState;return e===t?null:this.isActiveForState(t)}get isLoading(){return ae(this.route)||this.models.some((e=>ae(e)))}get isDisabled(){return Boolean(this.named("disabled"))}get isEngine(){let e=this.owner;return e instanceof m.default&&void 0!==(0,h.getEngineParent)(e)}get engineMountPoint(){let e=this.owner;return e instanceof m.default?e.mountPoint:void 0}classFor(e){let t=this.named(`${e}Class`);return!0===t||ae(t)?` ${e}`:t?` ${t}`:""}namespaceRoute(e){let{engineMountPoint:t}=this;return void 0===t?e:"application"===e?t:`${t}.${e}`}isActiveForState(e){if(!le(e))return!1;if(this.isLoading)return!1;let t=this.named("current-when");if("boolean"==typeof t)return t;if("string"==typeof t){let{models:r,routing:n}=this;return t.split(" ").some((t=>n.isActiveForRoute(r,void 0,this.namespaceRoute(t),e)))}{let{route:t,models:r,query:n,routing:i}=this;return i.isActiveForRoute(r,n,t,e)}}preventDefault(e){e.preventDefault()}isSupportedArgument(e){return-1!==["route","model","models","query","replace","disabled","current-when","activeClass","loadingClass","disabledClass"].indexOf(e)||super.isSupportedArgument(e)}}ie([(0,g.service)("-routing")],ce.prototype,"routing",void 0),ie([i.action],ce.prototype,"click",null);let{prototype:pe}=ce,de=(e,t)=>e?Object.getOwnPropertyDescriptor(e,t)||de(Object.getPrototypeOf(e),t):null;{let e=pe.onUnsupportedArgument;Object.defineProperty(pe,"onUnsupportedArgument",{configurable:!0,enumerable:!1,value:function(t){"href"===t||e.call(this,t)}})}{let e=de(pe,"models"),t=e.get;Object.defineProperty(pe,"models",{configurable:!0,enumerable:!1,get:function(){let e=t.call(this);return e.length>0&&!("query"in this.args.named)&&ue(e[e.length-1])&&(e=e.slice(0,-1)),e}});let r=de(pe,"query"),n=r.get;Object.defineProperty(pe,"query",{configurable:!0,enumerable:!1,get:function(){if("query"in this.args.named){let e=n.call(this);return ue(e)?e.values??se:e}{let e=t.call(this);if(e.length>0){let t=e[e.length-1];if(ue(t)&&null!==t.values)return t.values}return se}}})}{let e=pe.onUnsupportedArgument;Object.defineProperty(pe,"onUnsupportedArgument",{configurable:!0,enumerable:!1,value:function(t){"params"!==t&&e.call(this,t)}})}const he=e.LinkTo=V(ce,ne);var me=(0,j.createTemplateFactory)({id:"112WKCh2",block:'[[[11,"textarea"],[16,1,[30,0,["id"]]],[16,0,[30,0,["class"]]],[17,1],[16,2,[30,0,["value"]]],[4,[32,0],["change",[30,0,["change"]]],null],[4,[32,0],["input",[30,0,["input"]]],null],[4,[32,0],["keyup",[30,0,["keyUp"]]],null],[4,[32,0],["paste",[30,0,["valueDidChange"]]],null],[4,[32,0],["cut",[30,0,["valueDidChange"]]],null],[12],[13]],["&attrs"],false,[]]',moduleName:"packages/@ember/-internals/glimmer/lib/templates/textarea.hbs",scope:()=>[a.on],isStrictMode:!0}),fe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};class ge extends X{static toString(){return"Textarea"}get class(){return"ember-text-area ember-view"}change(e){super.change(e)}input(e){super.input(e)}isSupportedArgument(e){return-1!==["type","value","enter","insert-newline","escape-press"].indexOf(e)||super.isSupportedArgument(e)}}fe([i.action],ge.prototype,"change",null),fe([i.action],ge.prototype,"input",null);const be=e.Textarea=V(ge,me);function ye(e){return"function"==typeof e}function ve(e,t){return"attrs"===t[0]&&(t.shift(),1===t.length)?(0,o.childRefFor)(e,t[0]):(0,o.childRefFromParts)(e,t)}function _e(e){let t=e.indexOf(":");if(-1===t)return[e,e,!0];{let r=e.substring(0,t),n=e.substring(t+1);return[r,n,!1]}}function Oe(e,t,r,n){let[i,s,a]=r;if("id"===s){let t=(0,l.get)(e,i);null==t&&(t=e.elementId);let r=(0,o.createPrimitiveRef)(t);return void n.setAttribute("id",r,!0,null)}let u=i.indexOf(".")>-1,c=u?ve(t,i.split(".")):(0,o.childRefFor)(t,i);n.setAttribute(s,c,!1,null)}function Ce(e,t,r){let n=t.split(":"),[i,s,a]=n;if(""===i)r.setAttribute("class",(0,o.createPrimitiveRef)(s),!0,null);else{let t,n=i.indexOf(".")>-1,l=n?i.split("."):[],u=n?ve(e,l):(0,o.childRefFor)(e,i);t=void 0===s?Ee(u,n?l[l.length-1]:i):function(e,t,r){return(0,o.createComputeRef)((()=>(0,o.valueForRef)(e)?t:r))}(u,s,a),r.setAttribute("class",t,!1,null)}}function Ee(e,t){let r;return(0,o.createComputeRef)((()=>{let n=(0,o.valueForRef)(e);return!0===n?r||(r=(0,_.dasherize)(t)):n||0===n?String(n):null}))}function we(){}class ke{constructor(e,t,r,n,i,a){this.component=e,this.args=t,this.argsTag=r,this.finalizer=n,this.hasWrappedElement=i,this.isInteractive=a,this.classRef=null,this.classRef=null,this.argsRevision=null===t?0:(0,s.valueForTag)(r),this.rootRef=(0,o.createConstRef)(e,"this"),(0,O.registerDestructor)(this,(()=>this.willDestroy()),!0),(0,O.registerDestructor)(this,(()=>this.component.destroy()))}willDestroy(){let{component:e,isInteractive:t}=this;if(t){(0,s.beginUntrackFrame)(),e.trigger("willDestroyElement"),e.trigger("willClearRender"),(0,s.endUntrackFrame)();let t=(0,d.getViewElement)(e);t&&((0,d.clearElementView)(t),(0,d.clearViewElement)(e))}e.renderer.unregister(e)}finalize(){let{finalizer:e}=this;e(),this.finalizer=we}}function Te(e){return(0,p.setInternalHelperManager)(e,{})}const Re=new WeakSet;var Se=Te((e=>{(0,C.deprecateUntil)("Usage of the `(action)` helper is deprecated. Migrate to native functions and function invocation.",C.DEPRECATIONS.DEPRECATE_TEMPLATE_ACTION);let t,{named:r,positional:n}=e,[i,s,...a]=n,u=s.debugLabel,c="target"in r?r.target:i,p=function(e,t){let r,n;t.length>0&&(r=e=>t.map(o.valueForRef).concat(e));e&&(n=t=>{let r=(0,o.valueForRef)(e);return r&&t.length>0&&(t[0]=(0,l.get)(t[0],r)),t});return r&&n?e=>n(r(e)):r||n||Pe}("value"in r&&r.value||!1,a);return t=(0,o.isInvokableRef)(s)?Ae(s,s,xe,p,u):function(e,t,r,n,i){const s=(0,o.valueForRef)(r);0;return(...r)=>Ae(e,(0,o.valueForRef)(t),s,n,i)(...r)}((0,o.valueForRef)(i),c,s,p,u),Re.add(t),(0,o.createUnboundRef)(t,"(result of an `action` helper)")}));function Pe(e){return e}function Ae(e,t,r,n,i){let o,s;if("string"==typeof r){o=t;let e=t.actions?.[r];s=e}else"function"==typeof r&&(o=e,s=r);return(...e)=>{let t={target:o,args:e,label:"@glimmer/closure-action"};return(0,f.flaggedInstrument)("interaction.ember-action",t,(()=>(0,E.join)(o,s,...n(e))))}}function xe(e){(0,o.updateRef)(this,e)}function Me(e){let t=Object.create(null),r=Object.create(null);r[Ie]=e;for(let n in e){let i=e[n],s=(0,o.valueForRef)(i),a="function"==typeof s&&Re.has(s);(0,o.isUpdatableRef)(i)&&!a?t[n]=new De(i,s):t[n]=s,r[n]=s}return r.attrs=t,r}const Ne=Symbol("REF");class De{constructor(e,t){this[d.MUTABLE_CELL]=!0,this[Ne]=e,this.value=t}update(e){(0,o.updateRef)(this[Ne],e)}}const Ie=(0,c.enumerableSymbol)("ARGS"),je=(0,c.enumerableSymbol)("HAS_BLOCK"),Fe=Symbol("DIRTY_TAG"),Le=Symbol("IS_DISPATCHING_ATTRS"),Be=Symbol("BOUNDS"),Ue=(0,o.createPrimitiveRef)("ember-view");(0,n.debugFreeze)([]);class He{templateFor(e){let t,{layout:r,layoutName:n}=e,i=(0,u.getOwner)(e);if(void 0===r){if(void 0===n)return null;{let e=i.lookup(`template:${n}`);t=e}}else{if(!ye(r))return null;t=r}return(0,v.unwrapTemplate)(t(i)).asWrappedLayout()}getDynamicLayout(e){return this.templateFor(e.component)}getTagName(e){let{component:t,hasWrappedElement:r}=e;return r?t&&t.tagName||"div":null}getCapabilities(){return ze}prepareArgs(e,t){if(t.named.has("__ARGS__")){let{__ARGS__:e,...r}=t.named.capture(),n=(0,o.valueForRef)(e);return{positional:n.positional,named:{...r,...n.named}}}const{positionalParams:r}=e.class??e;if(null==r||0===t.positional.length)return null;let n;if("string"==typeof r){let e=t.positional.capture();n={[r]:(0,o.createComputeRef)((()=>(0,y.reifyPositional)(e)))},Object.assign(n,t.named.capture())}else{if(!(Array.isArray(r)&&r.length>0))return null;{const e=Math.min(r.length,t.positional.length);n={},Object.assign(n,t.named.capture());for(let i=0;i{a.setAttribute("class",(0,o.createPrimitiveRef)(e),!1,null)})),p&&p.length&&p.forEach((e=>{Ce(n,e,a)})),a.setAttribute("class",Ue,!1,null),"ariaRole"in e&&a.setAttribute("role",(0,o.childRefFor)(n,"ariaRole"),!1,null),e._transitionTo("hasElement"),r&&((0,s.beginUntrackFrame)(),e.trigger("willInsertElement"),(0,s.endUntrackFrame)())}didRenderLayout(e,t){e.component[Be]=t,e.finalize()}didCreate({component:e,isInteractive:t}){t&&(e._transitionTo("inDOM"),e.trigger("didInsertElement"),e.trigger("didRender"))}update(e){let{component:t,args:r,argsTag:n,argsRevision:i,isInteractive:o}=e;if(e.finalizer=(0,f._instrumentStart)("render.component",$e,t),(0,s.beginUntrackFrame)(),null!==r&&!(0,s.validateTag)(n,i)){(0,s.beginTrackFrame)();let i=Me(r);n=e.argsTag=(0,s.endTrackFrame)(),e.argsRevision=(0,s.valueForTag)(n),t[Le]=!0,t.setProperties(i),t[Le]=!1,t.trigger("didUpdateAttrs"),t.trigger("didReceiveAttrs")}o&&(t.trigger("willUpdate"),t.trigger("willRender")),(0,s.endUntrackFrame)(),(0,s.consumeTag)(n),(0,s.consumeTag)(t[Fe])}didUpdateLayout(e){e.finalize()}didUpdate({component:e,isInteractive:t}){t&&(e.trigger("didUpdate"),e.trigger("didRender"))}getDestroyable(e){return e}}function Ve(e){return e.instrumentDetails({initialRender:!0})}function $e(e){return e.instrumentDetails({initialRender:!1})}const ze={dynamicLayout:!0,dynamicTag:!0,prepareArgs:!0,createArgs:!0,attributeHook:!0,elementHook:!0,createCaller:!0,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!0,willDestroy:!0,hasSubOwner:!1},qe=new He;function Ge(e){return e===qe}let We=new WeakMap;class Ye extends(d.CoreView.extend(d.ChildViewsSupport,d.ViewStateSupport,d.ClassNamesSupport,b.TargetActionSupport,d.ActionSupport,d.ViewMixin,{didReceiveAttrs(){},didRender(){},didUpdate(){},didUpdateAttrs(){},willRender(){},willUpdate(){}})){constructor(){super(...arguments),this.isComponent=!0}init(e){super.init(e),this._superRerender=this.rerender,this.rerender=this._rerender,this[Le]=!1,this[Fe]=(0,s.createTag)(),this[Be]=null;const t=this._dispatcher;if(t){let e=We.get(t);e||(e=new WeakSet,We.set(t,e));let r=Object.getPrototypeOf(this);if(!e.has(r)){t.lazyEvents.forEach(((e,r)=>{null!==e&&"function"==typeof this[e]&&t.setupHandlerForBrowserEvent(r)})),e.add(r)}}}get _dispatcher(){if(void 0===this.__dispatcher){let e=(0,u.getOwner)(this);if(e.lookup("-environment:main").isInteractive){let t=e.lookup("event_dispatcher:main");this.__dispatcher=t}else this.__dispatcher=null}return this.__dispatcher}on(e,t,r){return this._dispatcher?.setupHandlerForEmberEvent(e),super.on(e,t,r)}_rerender(){(0,s.dirtyTag)(this[Fe]),this._superRerender()}[l.PROPERTY_DID_CHANGE](e,t){if(this[Le])return;let r=this[Ie],n=void 0!==r?r[e]:void 0;void 0!==n&&(0,o.isUpdatableRef)(n)&&(0,o.updateRef)(n,2===arguments.length?t:(0,l.get)(this,e))}getAttr(e){return this.get(e)}readDOMAttr(e){let t=(0,d.getViewElement)(this),r=t,n="http://www.w3.org/2000/svg"===r.namespaceURI,{type:i,normalized:o}=(0,y.normalizeProperty)(r,e);return n||"attr"===i?r.getAttribute(o):r[o]}static toString(){return"@ember/component"}}var Qe;e.Component=Ye,Ye.isComponentFactory=!0,Ye.reopenClass({positionalParams:[]}),(0,p.setInternalComponentManager)(qe,Ye);const Ke=Symbol("RECOMPUTE_TAG"),Je=Symbol("IS_CLASSIC_HELPER");class Xe extends w.FrameworkObject{init(e){super.init(e),this[Ke]=(0,s.createTag)()}recompute(){(0,E.join)((()=>(0,s.dirtyTag)(this[Ke])))}}e.Helper=Xe,Qe=Je,Xe.isHelperFactory=!0,Xe[Qe]=!0,Xe.helper=nt;class Ze{constructor(e){this.capabilities=(0,p.helperCapabilities)("3.23",{hasValue:!0,hasDestroyable:!0});let t={};(0,u.setOwner)(t,e),this.ownerInjection=t}createHelper(e,t){let r=null!=(n=e)&&"class"in n?e.create():e.create(this.ownerInjection);var n;return{instance:r,args:t}}getDestroyable({instance:e}){return e}getValue({instance:e,args:t}){let{positional:r,named:n}=t,i=e.compute(r,n);return(0,s.consumeTag)(e[Ke]),i}getDebugName(e){return(0,c.getDebugName)((e.class||e).prototype)}}(0,p.setHelperManager)((e=>new Ze(e)),Xe);const et=(0,p.getInternalHelperManager)(Xe);class tt{constructor(e){this.compute=e,this.isHelperFactory=!0}create(){return{compute:this.compute}}}const rt=new class{constructor(){this.capabilities=(0,p.helperCapabilities)("3.23",{hasValue:!0})}createHelper(e,t){return()=>e.compute.call(null,t.positional,t.named)}getValue(e){return e()}getDebugName(e){return(0,c.getDebugName)(e.compute)}};function nt(e){return new tt(e)}(0,p.setHelperManager)((()=>rt),tt.prototype);class it{constructor(e){this.__string=e}toString(){return`${this.__string}`}toHTML(){return this.toString()}}e.SafeString=it;const ot={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},st=/[&<>"'`=]/,at=/[&<>"'`=]/g;function lt(e){return ot[e]}function ut(e){return null!==e&&"object"==typeof e&&"toHTML"in e&&"function"==typeof e.toHTML}function ct(e){return{object:`${e.name}:main`}}const pt={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!1,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!0,updateHook:!1,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1};class dt{create(e,t,r,n,i){let s=i.get("outletState"),a=t.ref;i.set("outletState",a);let l={self:(0,o.createConstRef)(t.controller,"this"),finalize:(0,f._instrumentStart)("render.outlet",ct,t)};if(void 0!==n.debugRenderTree){l.outletBucket={};let e=(0,o.valueForRef)(s),t=e&&e.render&&e.render.owner,r=(0,o.valueForRef)(a).render.owner;if(t&&t!==r){let e=r.mountPoint;l.engine=r,e&&(l.engineBucket={mountPoint:e})}}return l}getDebugName({name:e}){return e}getDebugCustomRenderTree(e,t,r){let n=[];return n.push({bucket:t.outletBucket,type:"outlet",name:"main",args:y.EMPTY_ARGS,instance:void 0,template:void 0}),t.engineBucket&&n.push({bucket:t.engineBucket,type:"engine",name:t.engineBucket.mountPoint,args:y.EMPTY_ARGS,instance:t.engine,template:void 0}),n.push({bucket:t,type:"route-template",name:e.name,args:r,instance:e.controller,template:(0,v.unwrapTemplate)(e.template).moduleName}),n}getCapabilities(){return pt}getSelf({self:e}){return e}didCreate(){}didUpdate(){}didRenderLayout(e){e.finalize()}didUpdateLayout(){}getDestroyable(){return null}}const ht=new dt;class mt{constructor(e,t=ht){this.state=e,this.manager=t,this.handle=-1;let r=t.getCapabilities();this.capabilities=(0,p.capabilityFlagsFrom)(r),this.compilable=r.wrapped?(0,v.unwrapTemplate)(e.template).asWrappedLayout():(0,v.unwrapTemplate)(e.template).asLayout(),this.resolvedName=e.name}}class ft extends He{constructor(e){super(),this.component=e}create(e,t,r,{isInteractive:n},i){let o=this.component,a=(0,f._instrumentStart)("render.component",Ve,o);i.view=o;let l=""!==o.tagName;l||(n&&o.trigger("willRender"),o._transitionTo("hasElement"),n&&o.trigger("willInsertElement"));let u=new ke(o,null,s.CONSTANT_TAG,a,l,n);return(0,s.consumeTag)(o[Fe]),u}}const gt={dynamicLayout:!0,dynamicTag:!0,prepareArgs:!1,createArgs:!1,attributeHook:!0,elementHook:!0,createCaller:!0,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!0,willDestroy:!1,hasSubOwner:!1};class bt{constructor(e){this.handle=-1,this.resolvedName="-top-level",this.capabilities=(0,p.capabilityFlagsFrom)(gt),this.compilable=null,this.manager=new ft(e);let t=(0,k.getFactoryFor)(e);this.state=t}}class yt{constructor(e){this.inner=e}}var vt=Te((({positional:e})=>{const t=e[0];return(0,o.createComputeRef)((()=>{let e=(0,o.valueForRef)(t);return(0,s.consumeTag)((0,l.tagForObject)(e)),(0,c.isProxy)(e)&&(e=(0,b._contentFor)(e)),new yt(e)}))}));class _t{constructor(e){this.length=e,this.position=0}isEmpty(){return!1}memoFor(e){return e}next(){let{length:e,position:t}=this;if(t>=e)return null;let r=this.valueFor(t),n=this.memoFor(t);return this.position++,{value:r,memo:n}}}class Ot extends _t{static from(e){return e.length>0?new this(e):null}static fromForEachable(e){let t=[];return e.forEach((e=>t.push(e))),this.from(t)}constructor(e){super(e.length),this.array=e}valueFor(e){return this.array[e]}}class Ct extends _t{static from(e){return e.length>0?new this(e):null}constructor(e){super(e.length),this.array=e}valueFor(e){return(0,l.objectAt)(this.array,e)}}class Et extends _t{static fromIndexable(e){let t=Object.keys(e);if(0===t.length)return null;{let r=[];for(let n of t){let t;t=e[n],(0,s.isTracking)()&&((0,s.consumeTag)((0,s.tagFor)(e,n)),Array.isArray(t)&&(0,s.consumeTag)((0,s.tagFor)(t,"[]"))),r.push(t)}return new this(t,r)}}static fromForEachable(e){let t=[],r=[],n=0,i=!1;return e.forEach((function(e,o){i=i||arguments.length>=2,i&&t.push(o),r.push(e),n++})),0===n?null:i?new this(t,r):new Ot(r)}constructor(e,t){super(t.length),this.keys=e,this.values=t}valueFor(e){return this.values[e]}memoFor(e){return this.keys[e]}}class wt{static from(e){let t=e[Symbol.iterator](),r=t.next(),{done:n}=r;return n?null:new this(t,r)}constructor(e,t){this.iterable=e,this.result=t,this.position=0}isEmpty(){return!1}next(){let{iterable:e,result:t,position:r}=this;if(t.done)return null;let n=this.valueFor(t,r),i=this.memoFor(t,r);return this.position++,this.result=e.next(),{value:n,memo:i}}}class kt extends wt{valueFor(e){return e.value}memoFor(e,t){return t}}class Tt extends wt{valueFor(e){return e.value[1]}memoFor(e){return e.value[0]}}function Rt(e){return null!=e&&"function"==typeof e.forEach}function St(e){return null!=e&&"function"==typeof e[Symbol.iterator]}(0,x.default)({FEATURES:{DEFAULT_HELPER_MANAGER:!0},scheduleRevalidate(){E._backburner.ensureInstance()},toBool:function(e){return(0,c.isProxy)(e)?((0,s.consumeTag)((0,l.tagForProperty)(e,"content")),Boolean((0,l.get)(e,"isTruthy"))):(0,D.isArray)(e)?((0,s.consumeTag)((0,l.tagForProperty)(e,"[]")),0!==e.length):(0,N.isHTMLSafe)(e)?Boolean(e.toString()):Boolean(e)},toIterator:function(e){return e instanceof yt?function(e){if(t=e,null===t||"object"!=typeof t&&"function"!=typeof t)return null;var t;return Array.isArray(e)||(0,M.isEmberArray)(e)?Et.fromIndexable(e):St(e)?Tt.from(e):Rt(e)?Et.fromForEachable(e):Et.fromIndexable(e)}(e.inner):function(e){if(!(0,c.isObject)(e))return null;return Array.isArray(e)?Ot.from(e):(0,M.isEmberArray)(e)?Ct.from(e):St(e)?kt.from(e):Rt(e)?Ot.fromForEachable(e):null}(e)},getProp:l._getProp,setProp:l._setProp,getPath:l.get,setPath:l.set,scheduleDestroy(e,t){(0,E.schedule)("actions",null,t,e)},scheduleDestroyed(e){(0,E.schedule)("destroy",null,e)},warnIfStyleNotTrusted(e){},assert(e,t,r){0},deprecate(e,t,r){0}});class Pt{constructor(e,t){this.owner=e,this.isInteractive=t,this.enableDebugTooling=T.ENV._DEBUG_RENDER_TREE}onTransactionCommit(){}}var At=Te((({positional:e,named:t})=>{const r=e[0];let n=t.type,i=t.loc,s=t.original;(0,o.valueForRef)(n),(0,o.valueForRef)(i),(0,o.valueForRef)(s);return(0,o.createComputeRef)((()=>{let e=(0,o.valueForRef)(r);return e}))}));let xt;xt=e=>{let t=e.positional[0];return t};var Mt=Te(xt),Nt=Te((({positional:e})=>(0,o.createComputeRef)((()=>{let t=e[0],r=e[1],n=(0,o.valueForRef)(t).split("."),i=n[n.length-1],s=(0,o.valueForRef)(r);return!0===s?(0,_.dasherize)(i):s||0===s?String(s):""})))),Dt=Te((({positional:e},t)=>{let r=e[0],n=(0,o.valueForRef)(r);return(0,o.createConstRef)(t.factoryFor(n)?.class,`(-resolve "${n}")`)})),It=Te((({positional:e})=>{const t=e[0];return(0,o.createComputeRef)((()=>{let e=(0,o.valueForRef)(t);return(0,c.isObject)(e)&&(0,s.consumeTag)((0,l.tagForProperty)(e,"[]")),e}))})),jt=Te((({positional:e})=>{let t=e[0];return(0,o.createInvokableRef)(t)})),Ft=Te((({positional:e})=>{let t=e[0];return(0,o.createReadOnlyRef)(t)})),Lt=Te((({positional:e,named:t})=>(0,o.createUnboundRef)((0,o.valueForRef)(e[0]),"(result of an `unbound` helper)"))),Bt=Te((()=>(0,o.createConstRef)(Ut(),"unique-id")));function Ut(){return([3e7]+-1e3+-4e3+-2e3+-1e11).replace(/[0-3]/g,(e=>(4*e^16*Math.random()>>(2&e)).toString(16)))}const Ht=["alt","shift","meta","ctrl"],Vt=/^click|mouse|touch/;let $t={registeredActions:d.ActionManager.registeredActions,registerAction(e){let{actionId:t}=e;return d.ActionManager.registeredActions[t]=e,t},unregisterAction(e){let{actionId:t}=e;delete d.ActionManager.registeredActions[t]}};class zt{constructor(e,t,r,n,i,o){this.tag=(0,s.createUpdatableTag)(),this.element=e,this.owner=t,this.actionId=r,this.actionArgs=n,this.namedArgs=i,this.positional=o,this.eventName=this.getEventName(),(0,O.registerDestructor)(this,(()=>$t.unregisterAction(this)))}getEventName(){let{on:e}=this.namedArgs;return void 0!==e?(0,o.valueForRef)(e):"click"}getActionArgs(){let e=new Array(this.actionArgs.length);for(let t=0;t=0)return!0;for(let r=0;r{let e=this.getActionArgs(),r={args:e,target:c,name:null};(0,o.isInvokableRef)(t)?(0,f.flaggedInstrument)("interaction.ember-action",r,(()=>{(0,o.updateRef)(t,e[0])})):"function"!=typeof t?(r.name=t,c.send?(0,f.flaggedInstrument)("interaction.ember-action",r,(()=>{c.send.apply(c,[t,...e])})):(0,f.flaggedInstrument)("interaction.ember-action",r,(()=>{c[t].apply(c,e)}))):(0,f.flaggedInstrument)("interaction.ember-action",r,(()=>{t.apply(c,e)}))})),p)}}const qt=new class{create(e,t,r,{named:n,positional:i}){let o=[];for(let e=2;e1&&(n=a[0],r=a[1],t=(0,o.isInvokableRef)(r)?r:(0,o.valueForRef)(r)),e.actionName=t,e.implicitTarget=n,this.ensureEventSetup(e),$t.registerAction(e),i.setAttribute("data-ember-action",""),i.setAttribute(`data-ember-action-${s}`,String(s))}update(e){let{positional:t}=e,r=t[1];(0,o.isInvokableRef)(r)||(e.actionName=(0,o.valueForRef)(r)),e.getEventName()!==e.eventName&&(this.ensureEventSetup(e),e.eventName=e.getEventName())}ensureEventSetup(e){let t=e.owner.lookup("event_dispatcher:main");t?.setupHandlerForEmberEvent(e.eventName)}getTag(e){return e.tag}getDestroyable(e){return e}};var Gt=(0,p.setInternalModifierManager)(qt,{});const Wt={dynamicLayout:!0,dynamicTag:!1,prepareArgs:!1,createArgs:!0,attributeHook:!1,elementHook:!1,createCaller:!0,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!0};const Yt=new class{getDynamicLayout(e){let t=e.engine.lookup("template:application");return(0,v.unwrapTemplate)(t(e.engine)).asLayout()}getCapabilities(){return Wt}getOwner(e){return e.engine}create(e,{name:t},r,n){let i=e.buildChildEngineInstance(t);i.boot();let s,a,l,u,c=i.factoryFor("controller:application")||(0,I.generateControllerFactory)(i,"application");if(r.named.has("model")&&(u=r.named.get("model")),void 0===u)s=c.create(),a=(0,o.createConstRef)(s,"this"),l={engine:i,controller:s,self:a,modelRef:u};else{let e=(0,o.valueForRef)(u);s=c.create({model:e}),a=(0,o.createConstRef)(s,"this"),l={engine:i,controller:s,self:a,modelRef:u}}return n.debugRenderTree&&(0,O.associateDestroyableChild)(i,s),l}getDebugName({name:e}){return e}getDebugCustomRenderTree(e,t,r,n){return[{bucket:t.engine,instance:t.engine,type:"engine",name:e.name,args:r},{bucket:t.controller,instance:t.controller,type:"route-template",name:"application",args:r,template:n}]}getSelf({self:e}){return e}getDestroyable(e){return e.engine}didCreate(){}didUpdate(){}didRenderLayout(){}didUpdateLayout(){}update(e){let{controller:t,modelRef:r}=e;void 0!==r&&t.set("model",(0,o.valueForRef)(r))}};class Qt{constructor(e){this.resolvedName=e,this.handle=-1,this.manager=Yt,this.compilable=null,this.capabilities=(0,p.capabilityFlagsFrom)(Wt),this.state={name:e}}}const Kt=Te(((e,t)=>{let r,n,i,s=e.positional[0];return r=(0,y.createCapturedArgs)(e.named,y.EMPTY_POSITIONAL),(0,o.createComputeRef)((()=>{let e=(0,o.valueForRef)(s);return"string"==typeof e?(n===e||(n=e,i=(0,y.curry)(R.CurriedType.Component,new Qt(e),t,r,!0)),i):(i=null,n=null,null)}))})),Jt=Te(((e,t,r)=>{let n=(0,o.createComputeRef)((()=>{let e=(0,o.valueForRef)(r.get("outletState"));return e?.outlets?.main})),i=null,s=null;return(0,o.createComputeRef)((()=>{let e=(0,o.valueForRef)(n),r=function(e,t){if(void 0===t)return null;let r=t.render;if(void 0===r)return null;let n=r.template;if(void 0===n)return null;ye(n)&&(n=n(r.owner));return{ref:e,name:r.name,template:n,controller:r.controller,model:r.model}}(n,e);if(!function(e,t){if(null===e)return null===t;if(null===t)return!1;return e.template===t.template&&e.controller===t.controller}(r,i))if(i=r,null!==r){let a=(0,v.dict)(),l=(0,o.childRefFromParts)(n,["render","model"]),u=(0,o.valueForRef)(l);a.model=(0,o.createComputeRef)((()=>(i===r&&(u=(0,o.valueForRef)(l)),u)));let c=(0,y.createCapturedArgs)(a,y.EMPTY_POSITIONAL);s=(0,y.curry)(R.CurriedType.Component,new mt(r),e?.render?.owner??t,c,!0)}else s=null;return s}))}));function Xt(e){return{object:`component:${e}`}}const Zt={action:Se,mut:jt,readonly:Ft,unbound:Lt,"-hash":y.hash,"-each-in":vt,"-normalize-class":Nt,"-resolve":Dt,"-track-array":It,"-mount":Kt,"-outlet":Jt,"-in-el-null":Mt},er={...Zt,array:y.array,concat:y.concat,fn:y.fn,get:y.get,hash:y.hash,"unique-id":Bt};er["-disallow-dynamic-resolution"]=At;const tr={action:Gt},rr={...tr,on:y.on};new WeakSet;class nr{constructor(){this.componentDefinitionCache=new Map}lookupPartial(){return null}lookupHelper(e,t){let r=er[e];if(void 0!==r)return r;let n=t.factoryFor(`helper:${e}`);if(void 0===n)return null;let i=n.class;return void 0===i?null:"function"==typeof i&&!0===i[Je]?((0,p.setInternalHelperManager)(et,n),n):i}lookupBuiltInHelper(e){return Zt[e]??null}lookupModifier(e,t){let r=rr[e];if(void 0!==r)return r;let n=t.factoryFor(`modifier:${e}`);return void 0===n?null:n.class||null}lookupBuiltInModifier(e){return tr[e]??null}lookupComponent(e,t){let r=function(e,t,r){let n=function(e,t){let r=`component:${e}`;return t.factoryFor(r)||null}(t,e);if((0,u.isFactory)(n)&&n.class){let e=(0,p.getComponentTemplate)(n.class);if(void 0!==e)return{component:n,layout:e}}let i=function(e,t,r){let n=`template:components/${e}`;return t.lookup(n,r)||null}(t,e,r);return null===n&&null===i?null:{component:n,layout:i}}(t,e);if(null===r)return null;let n,i=null;n=null===r.component?i=r.layout(t):r.component;let o=this.componentDefinitionCache.get(n);if(void 0!==o)return o;null===i&&null!==r.layout&&(i=r.layout(t));let s=(0,f._instrumentStart)("render.getComponentDefinition",Xt,e),a=null;if(null===r.component)if(T.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS)a={state:(0,y.templateOnlyComponent)(void 0,e),manager:y.TEMPLATE_ONLY_COMPONENT_MANAGER,template:i};else{let e=t.factoryFor(k.privatize`component:-default`);a={state:e,manager:(0,p.getInternalComponentManager)(e.class),template:i}}else{let e=r.component,t=e.class,n=(0,p.getInternalComponentManager)(t);a={state:Ge(n)?e:t,manager:n,template:i}}return s(),this.componentDefinitionCache.set(n,a),a}}const ir="-top-level";class or{static extend(e){return class extends or{static create(t){return t?super.create(Object.assign({},e,t)):super.create(e)}}}static reopenClass(e){Object.assign(this,e)}static create(e){let{environment:t,application:r,template:n}=e,i=(0,u.getOwner)(e),o=n(i);return new or(t,i,o,r)}constructor(e,t,r,n){this._environment=e,this.owner=t,this.template=r,this.namespace=n;let i=(0,s.createTag)(),a={outlets:{main:void 0},render:{owner:t,into:void 0,outlet:"main",name:ir,controller:void 0,model:void 0,template:r}},l=this.ref=(0,o.createComputeRef)((()=>((0,s.consumeTag)(i),a)),(e=>{(0,s.dirtyTag)(i),a.outlets.main=e}));this.state={ref:l,name:ir,template:r,controller:void 0,model:void 0}}appendTo(e){let t;t=this._environment.hasDOM&&"string"==typeof e?document.querySelector(e):e;let r=this.owner.lookup("renderer:-dom");(0,E.schedule)("render",r,"appendOutletView",this,t)}rerender(){}setOutletState(e){(0,o.updateRef)(this.ref,e)}destroy(){}}e.OutletView=or;class sr{constructor(e,t){this.view=e,this.outletState=t}child(){return new sr(this.view,this.outletState)}get(e){return this.outletState}set(e,t){return this.outletState=t,t}}const ar=()=>{};class lr{constructor(e,t,r,n,i,o,s,a,l){this.root=e,this.runtime=t,this.id=e instanceof or?(0,c.guidFor)(e):(0,d.getViewId)(e),this.result=void 0,this.destroyed=!1,this.render=()=>{let e=(0,v.unwrapTemplate)(i).asLayout(),u=(0,y.renderMain)(t,r,n,o,l(t.env,{element:s,nextSibling:null}),e,a),c=this.result=u.sync();this.render=()=>c.rerender({alwaysRevalidate:!1})}}isFor(e){return this.root===e}destroy(){let{result:e,runtime:{env:t}}=this;this.destroyed=!0,this.runtime=void 0,this.root=null,this.result=void 0,this.render=void 0,void 0!==e&&(0,y.inTransaction)(t,(()=>(0,O.destroy)(e)))}}const ur=[];function cr(e){let t=ur.indexOf(e);ur.splice(t,1)}let pr=null;let dr=0;E._backburner.on("begin",(function(){for(let e of ur)e._scheduleRevalidate()})),E._backburner.on("end",(function(){for(let e of ur)if(!e._isValid()){if(dr>T.ENV._RERENDER_LOOP_LIMIT)throw dr=0,e.destroy(),new Error("infinite rendering invalidation detected");return dr++,E._backburner.join(null,ar)}dr=0,function(){if(null!==pr){let e=pr.resolve;pr=null,E._backburner.join(null,e)}}()}));class hr{static create(e){let{_viewRegistry:t}=e,r=(0,u.getOwner)(e),n=r.lookup("service:-document"),i=r.lookup("-environment:main"),o=r.lookup(k.privatize`template:-root`),s=r.lookup("service:-dom-builder");return new this(r,n,i,o,t,s)}constructor(e,r,n,i,o,s=y.clientBuilder){this._inRenderTransaction=!1,this._lastRevision=-1,this._destroyed=!1,this._owner=e,this._rootTemplate=i(e),this._viewRegistry=o||e.lookup("-view-registry:main"),this._roots=[],this._removedRoots=[],this._builder=s,this._isInteractive=n.isInteractive;let a=this._runtimeResolver=new nr,l=(0,S.artifacts)();this._context=(0,t.programCompilationContext)(l,a,(e=>new S.RuntimeOpImpl(e)));let u=new Pt(e,n.isInteractive);this._runtime=(0,y.runtimeContext)({appendOperations:n.hasDOM?new y.DOMTreeConstruction(r):new A.NodeDOMTreeConstruction(r),updateOperations:new y.DOMChanges(r)},u,l,a)}get debugRenderTree(){let{debugRenderTree:e}=this._runtime.env;return e}appendOutletView(e,t){let r=function(e){if(T.ENV._APPLICATION_TEMPLATE_WRAPPER){const t=Object.assign({},pt,{dynamicTag:!0,elementHook:!0,wrapped:!0}),r=new class extends dt{getTagName(){return"div"}getCapabilities(){return t}didCreateElement(e,t){t.setAttribute("class","ember-view"),t.setAttribute("id",(0,c.guidFor)(e))}};return new mt(e.state,r)}return new mt(e.state)}(e);this._appendDefinition(e,(0,y.curry)(R.CurriedType.Component,r,e.owner,null,!0),t)}appendTo(e,t){let r=new bt(e);this._appendDefinition(e,(0,y.curry)(R.CurriedType.Component,r,this._owner,null,!0),t)}_appendDefinition(e,t,r){let n=(0,o.createConstRef)(t,"this"),i=new sr(null,o.UNDEFINED_REFERENCE),s=new lr(e,this._runtime,this._context,this._owner,this._rootTemplate,n,r,i,this._builder);this._renderRoot(s)}rerender(){this._scheduleRevalidate()}register(e){let t=(0,d.getViewId)(e);this._viewRegistry[t]=e}unregister(e){delete this._viewRegistry[(0,d.getViewId)(e)]}remove(e){e._transitionTo("destroying"),this.cleanupRootFor(e),this._isInteractive&&e.trigger("didDestroyElement")}cleanupRootFor(e){if(this._destroyed)return;let t=this._roots,r=this._roots.length;for(;r--;){let n=t[r];n.isFor(e)&&(n.destroy(),t.splice(r,1))}}destroy(){this._destroyed||(this._destroyed=!0,this._clearAllRoots())}getElement(e){if(this._isInteractive)return(0,d.getViewElement)(e);throw new Error("Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).")}getBounds(e){let t=e[Be];return{parentElement:t.parentElement(),firstNode:t.firstNode(),lastNode:t.lastNode()}}createElement(e){return this._runtime.env.getAppendOperations().createElement(e)}_renderRoot(e){let{_roots:t}=this;var r;t.push(e),1===t.length&&(r=this,ur.push(r)),this._renderRootsTransaction()}_renderRoots(){let e,{_roots:t,_runtime:r,_removedRoots:n}=this;do{e=t.length,(0,y.inTransaction)(r.env,(()=>{for(let r=0;r=e||i.render()}this._lastRevision=(0,s.valueForTag)(s.CURRENT_TAG)}))}while(t.length>e);for(;n.length;){let e=n.pop(),r=t.indexOf(e);t.splice(r,1)}0===this._roots.length&&cr(this)}_renderRootsTransaction(){if(this._inRenderTransaction)return;this._inRenderTransaction=!0;let e=!1;try{this._renderRoots(),e=!0}finally{e||(this._lastRevision=(0,s.valueForTag)(s.CURRENT_TAG)),this._inRenderTransaction=!1}}_clearAllRoots(){let e=this._roots;for(let t of e)t.destroy();this._removedRoots.length=0,this._roots=[],e.length&&cr(this)}_scheduleRevalidate(){E._backburner.scheduleOnce("render",this,this._revalidate)}_isValid(){return this._destroyed||0===this._roots.length||(0,s.validateTag)(s.CURRENT_TAG,this._lastRevision)}_revalidate(){this._isValid()||this._renderRootsTransaction()}}e.Renderer=hr;let mr={};var fr=(0,j.createTemplateFactory)({id:"2c6+lAmT",block:'[[[46,[28,[32,0],null,null],null,null,null]],[],false,["component"]]',moduleName:"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs",scope:()=>[Jt],isStrictMode:!0});e.componentCapabilities=p.componentCapabilities,e.modifierCapabilities=p.modifierCapabilities})),e("@ember/-internals/meta/index",["exports","@ember/-internals/meta/lib/meta"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Meta",{enumerable:!0,get:function(){return t.Meta}}),Object.defineProperty(e,"UNDEFINED",{enumerable:!0,get:function(){return t.UNDEFINED}}),Object.defineProperty(e,"counters",{enumerable:!0,get:function(){return t.counters}}),Object.defineProperty(e,"meta",{enumerable:!0,get:function(){return t.meta}}),Object.defineProperty(e,"peekMeta",{enumerable:!0,get:function(){return t.peekMeta}}),Object.defineProperty(e,"setMeta",{enumerable:!0,get:function(){return t.setMeta}})})),e("@ember/-internals/meta/lib/meta",["exports","@ember/-internals/utils","@ember/debug","@glimmer/destroyable"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.meta=e.counters=e.UNDEFINED=e.Meta=void 0,e.peekMeta=d,e.setMeta=p;const i=Object.prototype;e.counters=void 0;const o=e.UNDEFINED=(0,t.symbol)("undefined");var s;!function(e){e[e.ADD=0]="ADD",e[e.ONCE=1]="ONCE",e[e.REMOVE=2]="REMOVE"}(s||(s={}));let a=1;class l{constructor(e){this._listenersVersion=1,this._inheritedEnd=-1,this._flattenedVersion=0,this._parent=void 0,this._descriptors=void 0,this._mixins=void 0,this._lazyChains=void 0,this._values=void 0,this._revisions=void 0,this._isInit=!1,this.source=e,this.proto=void 0===e.constructor?void 0:e.constructor.prototype,this._listeners=void 0}get parent(){let e=this._parent;if(void 0===e){let t=u(this.source);this._parent=e=null===t||t===i?null:h(t)}return e}setInitializing(){this._isInit=!0}unsetInitializing(){this._isInit=!1}isInitializing(){return this._isInit}isPrototypeMeta(e){return this.proto===this.source&&this.source===e}_getOrCreateOwnMap(e){return this[e]||(this[e]=Object.create(null))}_getOrCreateOwnSet(e){return this[e]||(this[e]=new Set)}_findInheritedMap(e,t){let r=this;for(;null!==r;){let n=r[e];if(void 0!==n){let e=n.get(t);if(void 0!==e)return e}r=r.parent}}_hasInInheritedSet(e,t){let r=this;for(;null!==r;){let n=r[e];if(void 0!==n&&n.has(t))return!0;r=r.parent}return!1}valueFor(e){let t=this._values;return void 0!==t?t[e]:void 0}setValueFor(e,t){this._getOrCreateOwnMap("_values")[e]=t}revisionFor(e){let t=this._revisions;return void 0!==t?t[e]:void 0}setRevisionFor(e,t){this._getOrCreateOwnMap("_revisions")[e]=t}writableLazyChainsFor(e){let t=this._getOrCreateOwnMap("_lazyChains"),r=t[e];return void 0===r&&(r=t[e]=[]),r}readableLazyChainsFor(e){let t=this._lazyChains;if(void 0!==t)return t[e]}addMixin(e){this._getOrCreateOwnSet("_mixins").add(e)}hasMixin(e){return this._hasInInheritedSet("_mixins",e)}forEachMixins(e){let t,r=this;for(;null!==r;){let n=r._mixins;void 0!==n&&(t=void 0===t?new Set:t,n.forEach((r=>{t.has(r)||(t.add(r),e(r))}))),r=r.parent}}writeDescriptors(e,t){(this._descriptors||(this._descriptors=new Map)).set(e,t)}peekDescriptors(e){let t=this._findInheritedMap("_descriptors",e);return t===o?void 0:t}removeDescriptors(e){this.writeDescriptors(e,o)}forEachDescriptors(e){let t,r=this;for(;null!==r;){let n=r._descriptors;void 0!==n&&(t=void 0===t?new Set:t,n.forEach(((r,n)=>{t.has(n)||(t.add(n),r!==o&&e(n,r))}))),r=r.parent}}addToListeners(e,t,r,n,i){this.pushListener(e,t,r,n?s.ONCE:s.ADD,i)}removeFromListeners(e,t,r){this.pushListener(e,t,r,s.REMOVE)}pushListener(e,t,r,n,i=!1){let o=this.writableListeners(),a=m(o,e,t,r);if(-1!==a&&a0&&(e.splice(0,this._inheritedEnd),this._inheritedEnd=0);for(let r of t){-1===m(e,r.event,r.target,r.method)&&(e.unshift(r),this._inheritedEnd++)}}}this._flattenedVersion=a}return this._listeners}matchingListeners(e){let t,r=this.flattenedListeners();if(void 0!==r)for(let n of r)n.event!==e||n.kind!==s.ADD&&n.kind!==s.ONCE||(void 0===t&&(t=[]),t.push(n.target,n.method,n.kind===s.ONCE));return t}observerEvents(){let e,t=this.flattenedListeners();if(void 0!==t)for(let r of t)r.kind!==s.ADD&&r.kind!==s.ONCE||-1===r.event.indexOf(":change")||(void 0===e&&(e=[]),e.push(r));return e}}e.Meta=l;const u=Object.getPrototypeOf,c=new WeakMap;function p(e,t){c.set(e,t)}function d(e){let t=c.get(e);if(void 0!==t)return t;let r=u(e);for(;null!==r;){if(t=c.get(r),void 0!==t)return t.proto!==r&&(t.proto=r),t;r=u(r)}return null}const h=e.meta=function(e){let t=d(e);if(null!==t&&t.source===e)return t;let r=new l(e);return p(e,r),r};function m(e,t,r,n){for(let i=e.length-1;i>=0;i--){let o=e[i];if(o.event===t&&o.target===r&&o.method===n)return i}return-1}})),e("@ember/-internals/metal/index",["exports","@ember/-internals/meta","@ember/-internals/utils","@ember/debug","@glimmer/destroyable","@glimmer/validator","@ember/-internals/environment","@ember/runloop","@glimmer/manager","@ember/array/-internals","ember/version","@ember/-internals/owner"],(function(e,t,r,n,i,o,s,a,l,u,c,p){"use strict";function d(e,r,n,i,o,s=!0){i||"function"!=typeof n||(i=n,n=null),(0,t.meta)(e).addToListeners(r,n,i,!0===o,s)}function h(e,r,n,i){let o,s;"object"==typeof n?(o=n,s=i):(o=null,s=n),(0,t.meta)(e).removeFromListeners(r,o,s)}function m(e,r,n,i,o){if(void 0===i){let n=void 0===o?(0,t.peekMeta)(e):o;i=null!==n?n.matchingListeners(r):void 0}if(void 0===i||0===i.length)return!1;for(let t=i.length-3;t>=0;t-=3){let o=i[t],s=i[t+1],a=i[t+2];if(!s)continue;a&&h(e,r,o,s),o||(o=e);let l=typeof s;"string"!==l&&"symbol"!==l||(s=o[s]),s.apply(o,n)}return!0}Object.defineProperty(e,"__esModule",{value:!0}),e.TrackedDescriptor=e.SYNC_OBSERVERS=e.PROXY_CONTENT=e.PROPERTY_DID_CHANGE=e.NAMESPACES_BY_ID=e.NAMESPACES=e.Libraries=e.DEBUG_INJECTION_FUNCTIONS=e.ComputedProperty=e.ComputedDescriptor=e.ASYNC_OBSERVERS=void 0,e._getPath=we,e._getProp=Ee,e._setProp=Re,e.activateObserver=C,e.addArrayObserver=function(e,t,r){return q(e,t,r,d)},e.addListener=d,e.addNamespace=function(e){Be.unprocessedNamespaces=!0,He.push(e)},e.addObserver=_,e.alias=function(e){return re(new Pe(e),Se)},e.arrayContentDidChange=U,e.arrayContentWillChange=B,e.autoComputed=function(...e){return re(new he(e),me)},e.beginPropertyChanges=j,e.cached=void 0,e.changeProperties=L,e.computed=fe,Object.defineProperty(e,"createCache",{enumerable:!0,get:function(){return o.createCache}}),e.defineDecorator=be,e.defineProperty=ge,e.defineValue=ye,e.deprecateProperty=function(e,t,r,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,set(e){Te(this,r,e)},get(){return Ce(this,r)}})},e.descriptorForDecorator=oe,e.descriptorForProperty=ie,e.eachProxyArrayDidChange=function(e,t,r,n){let i=Me.get(e);void 0!==i&&i.arrayDidChange(e,t,r,n)},e.eachProxyArrayWillChange=function(e,t,r,n){let i=Me.get(e);void 0!==i&&i.arrayWillChange(e,t,r,n)},e.endPropertyChanges=F,e.expandProperties=ue,e.findNamespace=function(e){Le||qe();return Ve[e]},e.findNamespaces=$e,e.flushAsyncObservers=function(e=!0){let r=(0,o.valueForTag)(o.CURRENT_TAG);if(R===r)return;R=r,v.forEach(((r,n)=>{let i=(0,t.peekMeta)(n);r.forEach(((r,s)=>{if(!(0,o.validateTag)(r.tag,r.lastRevision)){let l=()=>{try{m(n,s,[n,r.path],void 0,i)}finally{r.tag=Q(n,r.path,(0,o.tagMetaFor)(n),(0,t.peekMeta)(n)),r.lastRevision=(0,o.valueForTag)(r.tag)}};e?(0,a.schedule)("actions",l):l()}}))}))},e.get=Ce,e.getCachedValueFor=function(e,r){let n=(0,t.peekMeta)(e);return n?n.valueFor(r):void 0},e.getProperties=function(e,t){let r,n={},i=1;2===arguments.length&&Array.isArray(t)?(i=0,r=arguments[1]):r=Array.from(arguments);for(;i0},e.hasUnknownProperty=Oe,e.inject=function(e,...t){let r,n;J(t)?r=t:"string"==typeof t[0]&&(n=t[0]);let i=function(t){let r=(0,p.getOwner)(this)||this.container;return r.lookup(`${e}:${n||t}`)};0;let o=fe({get:i,set(e,t){ge(this,e,null,t)}});return r?o(r[0],r[1],r[2]):o},e.isClassicDecorator=se,e.isComputed=function(e,t){return Boolean(ie(e,t))},Object.defineProperty(e,"isConst",{enumerable:!0,get:function(){return o.isConst}}),e.isElementDescriptor=J,e.isNamespaceSearchDisabled=function(){return Le},e.libraries=void 0,e.makeComputedDecorator=re,e.markObjectAsDirty=M,e.nativeDescDecorator=function(e){let t=function(){return e};return ae(t),t},e.notifyPropertyChange=I,e.objectAt=V,e.on=function(...e){let t=e.pop(),n=e;return(0,r.setListeners)(t,n),t},e.processAllNamespaces=qe,e.processNamespace=ze,e.removeArrayObserver=function(e,t,r){return q(e,t,r,h)},e.removeListener=h,e.removeNamespace=function(e){let t=(0,r.getName)(e);delete Ve[t],He.splice(He.indexOf(e),1),t in s.context.lookup&&e===s.context.lookup[t]&&(s.context.lookup[t]=void 0)},e.removeObserver=function(e,r,n,i,o=b){let s=g(r),a=(0,t.peekMeta)(e);null!==a&&(a.isPrototypeMeta(e)||a.isInitializing())||k(e,s,o);h(e,s,n,i)},e.replace=function(e,t,r,n=H){i=e,null!=i&&"function"==typeof i.replace?e.replace(t,r,n):z(e,t,r,n);var i},e.replaceInNativeArray=z,e.revalidateObservers=T,e.sendEvent=m,e.set=Te,e.setClassicDecorator=ae,e.setNamespaceSearchDisabled=function(e){Le=Boolean(e)},e.setProperties=function(e,t){if(null===t||"object"!=typeof t)return t;return L((()=>{let r=Object.keys(t);for(let n of r)Te(e,n,t[n])})),t},e.setUnprocessedMixins=function(){Ue=!0},e.tagForObject=function(e){if((0,r.isObject)(e))return(0,o.tagFor)(e,A);return o.CONSTANT_TAG},e.tagForProperty=x,e.tracked=De,e.trySet=function(e,t,r){return Te(e,t,r,!0)};const f=":change";function g(e){return e+f}const b=!s.ENV._DEFAULT_ASYNC_OBSERVERS,y=e.SYNC_OBSERVERS=new Map,v=e.ASYNC_OBSERVERS=new Map;function _(e,r,n,i,o=b){let s=g(r);d(e,s,n,i,!1,o);let a=(0,t.peekMeta)(e);null!==a&&(a.isPrototypeMeta(e)||a.isInitializing())||C(e,s,o)}function O(e,t){let r=!0===t?y:v;return r.has(e)||(r.set(e,new Map),(0,i.registerDestructor)(e,(()=>function(e){y.size>0&&y.delete(e);v.size>0&&v.delete(e)}(e)),!0)),r.get(e)}function C(e,r,n=!1){let i=O(e,n);if(i.has(r))i.get(r).count++;else{let n=r.substring(0,r.lastIndexOf(":")),s=Q(e,n,(0,o.tagMetaFor)(e),(0,t.peekMeta)(e));i.set(r,{count:1,path:n,tag:s,lastRevision:(0,o.valueForTag)(s),suspended:!1})}}let E=!1,w=[];function k(e,t,r=!1){if(!0===E)return void w.push([e,t,r]);let n=!0===r?y:v,i=n.get(e);if(void 0!==i){let r=i.get(t);r.count--,0===r.count&&(i.delete(t),0===i.size&&n.delete(e))}}function T(e){v.has(e)&&v.get(e).forEach((r=>{r.tag=Q(e,r.path,(0,o.tagMetaFor)(e),(0,t.peekMeta)(e)),r.lastRevision=(0,o.valueForTag)(r.tag)})),y.has(e)&&y.get(e).forEach((r=>{r.tag=Q(e,r.path,(0,o.tagMetaFor)(e),(0,t.peekMeta)(e)),r.lastRevision=(0,o.valueForTag)(r.tag)}))}let R=0;function S(){y.forEach(((e,r)=>{let n=(0,t.peekMeta)(r);e.forEach(((e,i)=>{if(!e.suspended&&!(0,o.validateTag)(e.tag,e.lastRevision))try{e.suspended=!0,m(r,i,[r,e.path],void 0,n)}finally{e.tag=Q(r,e.path,(0,o.tagMetaFor)(r),(0,t.peekMeta)(r)),e.lastRevision=(0,o.valueForTag)(e.tag),e.suspended=!1}}))}))}function P(e,t,r){let n=y.get(e);if(!n)return;let i=n.get(g(t));i&&(i.suspended=r)}const A=(0,r.symbol)("SELF_TAG");function x(e,t,r=!1,n){let i=(0,l.getCustomTagFor)(e);if(void 0!==i)return i(e,t,r);let s=(0,o.tagFor)(e,t,n);return s}function M(e,t){(0,o.dirtyTagFor)(e,t),(0,o.dirtyTagFor)(e,A)}const N=e.PROPERTY_DID_CHANGE=Symbol("PROPERTY_DID_CHANGE");let D=0;function I(e,r,n,i){let o=void 0===n?(0,t.peekMeta)(e):n;null!==o&&(o.isInitializing()||o.isPrototypeMeta(e))||(M(e,r),D<=0&&S(),N in e&&(4===arguments.length?e[N](r,i):e[N](r)))}function j(){D++,E=!0}function F(){D--,D<=0&&(S(),function(){E=!1;for(let[e,t,r]of w)k(e,t,r);w=[]}())}function L(e){j();try{e()}finally{F()}}function B(e,t,r,n){return void 0===t?(t=0,r=n=-1):(void 0===r&&(r=-1),void 0===n&&(n=-1)),m(e,"@array:before",[e,t,r,n]),e}function U(e,r,n,i,o=!0){void 0===r?(r=0,n=i=-1):(void 0===n&&(n=-1),void 0===i&&(i=-1));let s=(0,t.peekMeta)(e);if(o&&((i<0||n<0||i-n!=0)&&I(e,"length",s),I(e,"[]",s)),m(e,"@array:change",[e,r,n,i]),null!==s){let t=-1===n?0:n,o=e.length-((-1===i?0:i)-t),a=r<0?o+r:r;if(void 0!==s.revisionFor("firstObject")&&0===a&&I(e,"firstObject",s),void 0!==s.revisionFor("lastObject")){o-10&&this._property(...e)}setup(e,t,r,n){if(super.setup(e,t,r,n),!1===this._hasConfig){let{get:e,set:t}=r;void 0!==e&&(this._getter=e),void 0!==t&&(this._setter=function(r,n){let i=t.call(this,n);return void 0!==e&&void 0===i?e.call(this):i})}}_property(...e){let t=[];function r(e){t.push(e)}for(let t of e)ue(t,r);this._dependentKeys=t}get(e,r){let n,i=(0,t.meta)(e),s=(0,o.tagMetaFor)(e),a=(0,o.tagFor)(e,r,s),l=i.revisionFor(r);if(void 0!==l&&(0,o.validateTag)(a,l))n=i.valueFor(r);else{let{_getter:t,_dependentKeys:l}=this;(0,o.untrack)((()=>{n=t.call(e,r)})),void 0!==l&&(0,o.updateTag)(a,Y(e,l,s,i)),i.setValueFor(r,n),i.setRevisionFor(r,(0,o.valueForTag)(a)),W(i,r,n)}return(0,o.consumeTag)(a),Array.isArray(n)&&(0,o.consumeTag)((0,o.tagFor)(n,"[]")),n}set(e,r,n){this._readOnly&&this._throwReadOnlyError(e,r);let i,s=(0,t.meta)(e);s.isInitializing()&&void 0!==this._dependentKeys&&this._dependentKeys.length>0&&"function"==typeof e[N]&&e.isComponent&&_(e,r,(()=>{e[N](r)}),void 0,!0);try{j(),i=this._set(e,r,n,s),W(s,r,i);let t=(0,o.tagMetaFor)(e),a=(0,o.tagFor)(e,r,t),{_dependentKeys:l}=this;void 0!==l&&(0,o.updateTag)(a,Y(e,l,t,s)),s.setRevisionFor(r,(0,o.valueForTag)(a))}finally{F()}return i}_throwReadOnlyError(e,t){throw new Error(`Cannot set read-only property "${t}" on object: ${(0,n.inspect)(e)}`)}_set(e,t,r,n){let i,o=void 0!==n.revisionFor(t),s=n.valueFor(t),{_setter:a}=this;P(e,t,!0);try{i=a.call(e,t,r,s)}finally{P(e,t,!1)}return o&&s===i||(n.setValueFor(t,i),I(e,t,n,r)),i}teardown(e,t,r){void 0!==r.revisionFor(t)&&(r.setRevisionFor(t,void 0),r.setValueFor(t,void 0)),super.teardown(e,t,r)}}e.ComputedProperty=de;class he extends de{get(e,r){let n,i=(0,t.meta)(e),s=(0,o.tagMetaFor)(e),a=(0,o.tagFor)(e,r,s),l=i.revisionFor(r);if(void 0!==l&&(0,o.validateTag)(a,l))n=i.valueFor(r);else{let{_getter:t}=this,s=(0,o.track)((()=>{n=t.call(e,r)}));(0,o.updateTag)(a,s),i.setValueFor(r,n),i.setRevisionFor(r,(0,o.valueForTag)(a)),W(i,r,n)}return(0,o.consumeTag)(a),Array.isArray(n)&&(0,o.consumeTag)((0,o.tagFor)(n,"[]",s)),n}}class me extends Function{readOnly(){let e=oe(this);return e._readOnly=!0,this}meta(e){let t=oe(this);return 0===arguments.length?t._meta||{}:(t._meta=e,this)}get _getter(){return oe(this)._getter}set enumerable(e){oe(this).enumerable=e}}function fe(...e){if(J(e)){return re(new de([]),me)(e[0],e[1],e[2])}return re(new de(e),me)}function ge(e,r,n,i,o){let s=void 0===o?(0,t.meta)(e):o,a=ie(e,r,s),l=void 0!==a;l&&a.teardown(e,r,s),se(n)?be(e,r,n,s):null==n?ye(e,r,i,l,!0):Object.defineProperty(e,r,n),s.isPrototypeMeta(e)||T(e)}function be(e,t,r,n){let i;return i=r(e,t,void 0,n),Object.defineProperty(e,t,i),r}function ye(e,t,r,n,i=!0){return!0===n||!1===i?Object.defineProperty(e,t,{configurable:!0,enumerable:i,writable:!0,value:r}):e[t]=r,r}const ve=new r.Cache(1e3,(e=>e.indexOf(".")));function _e(e){return"string"==typeof e&&-1!==ve.get(e)}e.PROXY_CONTENT=(0,r.symbol)("PROXY_CONTENT");function Oe(e){return"object"==typeof e&&null!==e&&"function"==typeof e.unknownProperty}function Ce(e,t){return _e(t)?we(e,t):Ee(e,t)}function Ee(e,t){if(null==e)return;let r;return"object"==typeof e||"function"==typeof e?(r=e[t],void 0===r&&"object"==typeof e&&!(t in e)&&Oe(e)&&(r=e.unknownProperty(t)),(0,o.isTracking)()&&((0,o.consumeTag)((0,o.tagFor)(e,t)),(Array.isArray(r)||(0,u.isEmberArray)(r))&&(0,o.consumeTag)((0,o.tagFor)(r,"[]")))):r=e[t],r}function we(e,t,r){let n="string"==typeof t?t.split("."):t;for(let t of n){if(null==e||e.isDestroyed)return;if(r&&("__proto__"===t||"constructor"===t))return;e=Ee(e,t)}return e}Ee("foo","a"),Ee("foo",1),Ee({},"a"),Ee({},1),Ee({unknownProperty(){}},"a"),Ee({unknownProperty(){}},1),Ce({},"foo"),Ce({},"foo.bar");let ke={};function Te(e,t,r,n){return e.isDestroyed?r:_e(t)?function(e,t,r,n){let i=t.split("."),o=i.pop();let s=we(e,i,!0);if(null!=s)return Te(s,o,r);if(!n)throw new Error(`Property set failed: object in path "${i.join(".")}" could not be found.`)}(e,t,r,n):Re(e,t,r)}function Re(e,t,n){let i,o=(0,r.lookupDescriptor)(e,t);return null!==o&&te.has(o.set)?(e[t]=n,n):(i=e[t],void 0!==i||"object"!=typeof e||t in e||"function"!=typeof e.setUnknownProperty?(e[t]=n,i!==n&&I(e,t)):e.setUnknownProperty(t,n),n)}(0,r.setProxy)(ke),(0,o.track)((()=>Ee({},"a"))),(0,o.track)((()=>Ee({},1))),(0,o.track)((()=>Ee({a:[]},"a"))),(0,o.track)((()=>Ee({a:ke},"a")));class Se extends Function{readOnly(){return oe(this).readOnly(),this}oneWay(){return oe(this).oneWay(),this}meta(e){let t=oe(this);if(0===arguments.length)return t._meta||{};t._meta=e}}class Pe extends X{constructor(e){super(),this.altKey=e}setup(e,t,r,n){super.setup(e,t,r,n),G.add(this)}get(e,r){let n,i=(0,t.meta)(e),s=(0,o.tagMetaFor)(e),a=(0,o.tagFor)(e,r,s);(0,o.untrack)((()=>{n=Ce(e,this.altKey)}));let l=i.revisionFor(r);return void 0!==l&&(0,o.validateTag)(a,l)||((0,o.updateTag)(a,Q(e,this.altKey,s,i)),i.setRevisionFor(r,(0,o.valueForTag)(a)),W(i,r,n)),(0,o.consumeTag)(a),n}set(e,t,r){return Te(e,this.altKey,r)}readOnly(){this.set=Ae}oneWay(){this.set=xe}}function Ae(e,t){throw new Error(`Cannot set read-only property '${t}' on object: ${(0,n.inspect)(e)}`)}function xe(e,t,r){return ge(e,t,null),Te(e,t,r)}const Me=new WeakMap;class Ne{constructor(){this._registry=[],this._coreLibIndex=0}_getLibraryByName(e){let t=this._registry;for(let r of t)if(r.name===e)return r}register(e,t,r){let n=this._registry.length;this._getLibraryByName(e)||(r&&(n=this._coreLibIndex++),this._registry.splice(n,0,{name:e,version:t}))}registerCoreLibrary(e,t){this.register(e,t,!0)}deRegister(e){let t,r=this._getLibraryByName(e);r&&(t=this._registry.indexOf(r),this._registry.splice(t,1))}}e.Libraries=Ne;(e.libraries=new Ne).registerCoreLibrary("Ember",c.default);e.DEBUG_INJECTION_FUNCTIONS=void 0;function De(...e){if(!J(e)){let t=e[0];0;let r=t?t.initializer:void 0,n=t?t.value:void 0,i=function(e,t,i,o,s){return Ie([e,t,{initializer:r||(()=>n)}])};return ae(i),i}return Ie(e)}function Ie([e,r,n]){let{getter:i,setter:s}=(0,o.trackedData)(r,n?n.initializer:void 0);function a(){let e=i(this);return(Array.isArray(e)||(0,u.isEmberArray)(e))&&(0,o.consumeTag)((0,o.tagFor)(e,"[]")),e}function l(e){s(this,e),(0,o.dirtyTagFor)(this,A)}let c={enumerable:!0,configurable:!0,isTracked:!0,get:a,set:l};return te.add(l),(0,t.meta)(e).writeDescriptors(r,new je(a,l)),c}class je{constructor(e,t){this._get=e,this._set=t,G.add(this)}get(e){return this._get.call(e)}set(e,t,r){this._set.call(e,r)}}e.TrackedDescriptor=je;e.cached=(...e)=>{const[t,r,n]=e;const i=new WeakMap,s=n.get;n.get=function(){return i.has(this)||i.set(this,(0,o.createCache)(s.bind(this))),(0,o.getValue)(i.get(this))}};const Fe=Object.prototype.hasOwnProperty;let Le=!1;const Be={_set:0,_unprocessedNamespaces:!1,get unprocessedNamespaces(){return this._unprocessedNamespaces},set unprocessedNamespaces(e){this._set++,this._unprocessedNamespaces=e}};let Ue=!1;const He=e.NAMESPACES=[],Ve=e.NAMESPACES_BY_ID=Object.create(null);function $e(){if(!Be.unprocessedNamespaces)return;let e=s.context.lookup,t=Object.keys(e);for(let i of t){if(!((n=i.charCodeAt(0))>=65&&n<=90))continue;let t=Ye(e,i);t&&(0,r.setName)(t,i)}var n}function ze(e){Ge([e.toString()],e,new Set)}function qe(){let e=Be.unprocessedNamespaces;if(e&&($e(),Be.unprocessedNamespaces=!1),e||Ue){let e=He;for(let t of e)ze(t);Ue=!1}}function Ge(e,t,n){let i=e.length,o=e.join(".");Ve[o]=t,(0,r.setName)(t,o);for(let o in t){if(!Fe.call(t,o))continue;let s=t[o];if(e[i]=o,s&&void 0===(0,r.getName)(s))(0,r.setName)(s,e.join("."));else if(s&&We(s)){if(n.has(s))continue;n.add(s),Ge(e,s,n)}}e.length=i}function We(e){return null!=e&&"object"==typeof e&&e.isNamespace}function Ye(e,t){try{let r=e[t];return(null!==r&&"object"==typeof r||"function"==typeof r)&&r.isNamespace&&r}catch(e){}}})),e("@ember/-internals/owner/index",["exports","@glimmer/owner"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOwner=function(e){return(0,t.getOwner)(e)},e.isFactory=function(e){return null!=e&&"function"==typeof e.create},e.setOwner=function(e,r){(0,t.setOwner)(e,r)}})),e("@ember/-internals/routing/index",["exports","@ember/routing/-internals"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterDSL",{enumerable:!0,get:function(){return t.DSL}}),Object.defineProperty(e,"controllerFor",{enumerable:!0,get:function(){return t.controllerFor}}),Object.defineProperty(e,"generateController",{enumerable:!0,get:function(){return t.generateController}}),Object.defineProperty(e,"generateControllerFactory",{enumerable:!0,get:function(){return t.generateControllerFactory}})})),e("@ember/-internals/runtime/index",["exports","@ember/-internals/runtime/lib/mixins/registry_proxy","@ember/-internals/runtime/lib/mixins/container_proxy","@ember/-internals/runtime/lib/mixins/comparable","@ember/-internals/runtime/lib/mixins/action_handler","@ember/-internals/runtime/lib/mixins/-proxy","@ember/enumerable/mutable","@ember/-internals/runtime/lib/mixins/target_action_support","@ember/-internals/runtime/lib/ext/rsvp"],(function(e,t,r,n,i,o,s,a,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ActionHandler",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"Comparable",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"ContainerProxyMixin",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"MutableEnumerable",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"RSVP",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"RegistryProxyMixin",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"TargetActionSupport",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"_ProxyMixin",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"_contentFor",{enumerable:!0,get:function(){return o.contentFor}}),Object.defineProperty(e,"onerrorDefault",{enumerable:!0,get:function(){return l.onerrorDefault}})})),e("@ember/-internals/runtime/lib/ext/rsvp",["exports","rsvp","@ember/runloop","@ember/-internals/error-handling","@ember/debug"],(function(e,t,r,n,i){"use strict";function o(e){let t=function(e){if(!e)return;let t=e;if(t.errorThrown)return function(e){let t=e.errorThrown;"string"==typeof t&&(t=new Error(t));return Object.defineProperty(t,"__reason_with_error_thrown__",{value:e,enumerable:!1}),t}(t);let r=e;if("UnrecognizedURLError"===r.name)return;if("TransitionAborted"===e.name)return;return e}(e);if(t){let e=(0,n.getDispatchOverride)();if(!e)throw t;e(t)}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.onerrorDefault=o,t.configure("async",((e,t)=>{r._backburner.schedule("actions",null,e,t)})),t.configure("after",(e=>{r._backburner.schedule(r._rsvpErrorQueue,null,e)})),t.on("error",o);e.default=t})),e("@ember/-internals/runtime/lib/mixins/-proxy",["exports","@ember/-internals/meta","@ember/object/mixin","@ember/-internals/metal","@ember/-internals/utils","@ember/debug","@glimmer/manager","@glimmer/validator"],(function(e,t,r,n,i,o,s,a){"use strict";function l(e){let t=(0,n.get)(e,"content");return(0,a.updateTag)((0,n.tagForObject)(e),(0,n.tagForObject)(t)),t}function u(e,t,r){let o=(0,a.tagMetaFor)(e),s=(0,a.tagFor)(e,t,o);if(t in e)return s;{let u=[s,(0,a.tagFor)(e,"content",o)],c=l(e);return(0,i.isObject)(c)&&u.push((0,n.tagForProperty)(c,t,r)),(0,a.combine)(u)}}Object.defineProperty(e,"__esModule",{value:!0}),e.contentFor=l,e.default=void 0;const c=r.default.create({content:null,init(){this._super(...arguments),(0,i.setProxy)(this),(0,n.tagForObject)(this),(0,s.setCustomTagFor)(this,u)},willDestroy(){this.set("content",null),this._super(...arguments)},isTruthy:(0,n.computed)("content",(function(){return Boolean((0,n.get)(this,"content"))})),unknownProperty(e){let t=l(this);return t?(0,n.get)(t,e):void 0},setUnknownProperty(e,r){let i=(0,t.meta)(this);if(i.isInitializing()||i.isPrototypeMeta(this))return(0,n.defineProperty)(this,e,null,r),r;let o=l(this);return(0,n.set)(o,e,r)}});e.default=c})),e("@ember/-internals/runtime/lib/mixins/action_handler",["exports","@ember/object/mixin","@ember/-internals/metal","@ember/debug"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const i=t.default.create({mergedProperties:["actions"],send(e,...t){if(this.actions&&this.actions[e]){if(!(!0===this.actions[e].apply(this,t)))return}let n=(0,r.get)(this,"target");n&&n.send(...arguments)}});e.default=i})),e("@ember/-internals/runtime/lib/mixins/comparable",["exports","@ember/object/mixin"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const r=t.default.create({compare:null});e.default=r})),e("@ember/-internals/runtime/lib/mixins/container_proxy",["exports","@ember/runloop","@ember/object/mixin"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const n=r.default.create({__container__:null,ownerInjection(){return this.__container__.ownerInjection()},lookup(e,t){return this.__container__.lookup(e,t)},destroy(){let e=this.__container__;e&&(0,t.join)((()=>{e.destroy(),(0,t.schedule)("destroy",e,"finalizeDestroy")})),this._super()},factoryFor(e){return this.__container__.factoryFor(e)}});e.default=n})),e("@ember/-internals/runtime/lib/mixins/registry_proxy",["exports","@ember/debug","@ember/object/mixin"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const n=r.default.create({__registry__:null,resolveRegistration(e){return this.__registry__.resolve(e)},register:i("register"),unregister:i("unregister"),hasRegistration:i("has"),registeredOption:i("getOption"),registerOptions:i("options"),registeredOptions:i("getOptions"),registerOptionsForType:i("optionsForType"),registeredOptionsForType:i("getOptionsForType")});function i(e){return function(...t){return this.__registry__[e](...t)}}e.default=n})),e("@ember/-internals/runtime/lib/mixins/target_action_support",["exports","@ember/-internals/environment","@ember/-internals/metal","@ember/object/mixin","@ember/debug"],(function(e,t,r,n,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const o=n.default.create({target:null,action:null,actionContext:null,actionContextObject:(0,r.computed)("actionContext",(function(){let e=(0,r.get)(this,"actionContext");if("string"==typeof e){let n=(0,r.get)(this,e);return void 0===n&&(n=(0,r.get)(t.context.lookup,e)),n}return e})),triggerAction(e={}){let{action:n,target:i,actionContext:o}=e;n=n||(0,r.get)(this,"action"),i=i||function(e){let n=(0,r.get)(e,"target");if(n){if("string"==typeof n){let i=(0,r.get)(e,n);return void 0===i&&(i=(0,r.get)(t.context.lookup,n)),i}return n}if(e._target)return e._target;return null}(this),void 0===o&&(o=(0,r.get)(this,"actionContextObject")||this);let s=Array.isArray(o)?o:[o];if(i&&n){let e;if(e=null!=(a=i)&&"object"==typeof a&&"function"==typeof a.send?i.send(n,...s):i[n](...s),!1!==e)return!0}var a;return!1}});e.default=o})),e("@ember/-internals/string/index",["exports","@ember/-internals/utils"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.classify=function(e){return a.get(e)},e.dasherize=function(e){return n.get(e)};const r=/[ _]/g,n=new t.Cache(1e3,(e=>{return(t=e,u.get(t)).replace(r,"-");var t})),i=/^(-|_)+(.)?/,o=/(.)(-|_|\.|\s)+(.)?/g,s=/(^|\/|\.)([a-z])/g,a=new t.Cache(1e3,(e=>{let t=(e,t,r)=>r?`_${r.toUpperCase()}`:"",r=(e,t,r,n)=>t+(n?n.toUpperCase():""),n=e.split("/");for(let e=0;ee.toUpperCase()))})),l=/([a-z\d])([A-Z])/g,u=new t.Cache(1e3,(e=>e.replace(l,"$1_$2").toLowerCase()))})),e("@ember/-internals/utility-types/index",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Opaque=void 0;e.Opaque=class{}})),e("@ember/-internals/utils/index",["exports","@ember/debug"],(function(e,t){"use strict";function r(e){let t=Object.create(null);t[e]=1;for(let r in t)if(r===e)return r;return e}function n(e){return null!==e&&("object"==typeof e||"function"==typeof e)}Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT=e.GUID_KEY=e.Cache=void 0,e.canInvoke=function(e,t){return null!=e&&"function"==typeof e[t]},e.checkHasSuper=void 0,e.dictionary=function(e){let t=Object.create(e);return t._dict=null,delete t._dict,t},e.enumerableSymbol=function(e){let t=u+Math.floor(Math.random()*Date.now()).toString(),n=r(`__${e}${t}__`);0;return n},e.generateGuid=function(e,t=s){let r=t+o().toString();n(e)&&a.set(e,r);return r},e.getDebugName=void 0,e.getName=function(e){return w.get(e)},e.guidFor=function(e){let t;if(n(e))t=a.get(e),void 0===t&&(t=`${s}${o()}`,a.set(e,t));else if(t=l.get(e),void 0===t){let r=typeof e;t="string"===r?`st${o()}`:"number"===r?`nu${o()}`:"symbol"===r?`sy${o()}`:`(${e})`,l.set(e,t)}return t},e.intern=r,e.isInternalSymbol=function(e){return-1!==c.indexOf(e)},e.isObject=n,e.isProxy=function(e){if(n(e))return R.has(e);return!1},e.lookupDescriptor=E,e.observerListenerMetaFor=function(e){return v.get(e)},e.setListeners=function(e,t){_(e).listeners=t},e.setName=function(e,t){n(e)&&w.set(e,t)},e.setObservers=function(e,t){_(e).observers=t},e.setProxy=function(e){n(e)&&R.add(e)},e.teardownMandatorySetter=e.symbol=e.setupMandatorySetter=e.setWithMandatorySetter=void 0,e.toString=function e(t){if("string"==typeof t)return t;if(null===t)return"null";if(void 0===t)return"undefined";if(Array.isArray(t)){let r="";for(let n=0;n0&&(r+=","),T(t[n])||(r+=e(t[n]));return r}if("function"==typeof t.toString)return t.toString();return k.call(t)},e.uuid=o,e.wrap=function(e,t){if(!b(e))return e;if(!O.has(t)&&b(t))return C(e,C(t,g));return C(e,t)};let i=0;function o(){return++i}const s="ember",a=new WeakMap,l=new Map,u=e.GUID_KEY=r(`__ember${Date.now()}`);const c=[];e.symbol=Symbol;let p;e.getDebugName=p;const d=/\.(_super|call\(this|apply\(this)/,h=Function.prototype.toString,m=e.checkHasSuper=h.call((function(){return this})).indexOf("return this")>-1?function(e){return d.test(h.call(e))}:function(){return!0},f=new WeakMap,g=e.ROOT=Object.freeze((function(){}));function b(e){let t=f.get(e);return void 0===t&&(t=m(e),f.set(e,t)),t}f.set(g,!1);class y{constructor(){this.listeners=void 0,this.observers=void 0}}const v=new WeakMap;function _(e){let t=v.get(e);return void 0===t&&(t=new y,v.set(e,t)),t}const O=new WeakSet;function C(e,t){function r(){let r=this._super;this._super=t;let n=e.apply(this,arguments);return this._super=r,n}O.add(r);let n=v.get(e);return void 0!==n&&v.set(r,n),r}function E(e,t){let r=e;do{let e=Object.getOwnPropertyDescriptor(r,t);if(void 0!==e)return e;r=Object.getPrototypeOf(r)}while(null!==r);return null}const w=new WeakMap;const k=Object.prototype.toString;function T(e){return null==e}const R=new WeakSet;e.Cache=class{constructor(e,t,r=new Map){this.limit=e,this.func=t,this.store=r,this.size=0,this.misses=0,this.hits=0}get(e){return this.store.has(e)?(this.hits++,this.store.get(e)):(this.misses++,this.set(e,this.func(e)))}set(e,t){return this.limit>this.size&&(this.size++,this.store.set(e,t)),t}purge(){this.store.clear(),this.size=0,this.hits=0,this.misses=0}};e.setupMandatorySetter=void 0,e.teardownMandatorySetter=void 0,e.setWithMandatorySetter=void 0})),e("@ember/-internals/views/index",["exports","@ember/-internals/views/lib/system/utils","@ember/-internals/views/lib/system/event_dispatcher","@ember/-internals/views/lib/component_lookup","@ember/-internals/views/lib/views/core_view","@ember/-internals/views/lib/mixins/class_names_support","@ember/-internals/views/lib/mixins/child_views_support","@ember/-internals/views/lib/mixins/view_state_support","@ember/-internals/views/lib/mixins/view_support","@ember/-internals/views/lib/mixins/action_support","@ember/-internals/views/lib/compat/attrs","@ember/-internals/views/lib/system/action_manager"],(function(e,t,r,n,i,o,s,a,l,u,c,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ActionManager",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"ActionSupport",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"ChildViewsSupport",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"ClassNamesSupport",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ComponentLookup",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"CoreView",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"EventDispatcher",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"MUTABLE_CELL",{enumerable:!0,get:function(){return c.MUTABLE_CELL}}),Object.defineProperty(e,"ViewMixin",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"ViewStateSupport",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"addChildView",{enumerable:!0,get:function(){return t.addChildView}}),Object.defineProperty(e,"clearElementView",{enumerable:!0,get:function(){return t.clearElementView}}),Object.defineProperty(e,"clearViewElement",{enumerable:!0,get:function(){return t.clearViewElement}}),Object.defineProperty(e,"constructStyleDeprecationMessage",{enumerable:!0,get:function(){return t.constructStyleDeprecationMessage}}),Object.defineProperty(e,"getChildViews",{enumerable:!0,get:function(){return t.getChildViews}}),Object.defineProperty(e,"getElementView",{enumerable:!0,get:function(){return t.getElementView}}),Object.defineProperty(e,"getRootViews",{enumerable:!0,get:function(){return t.getRootViews}}),Object.defineProperty(e,"getViewBoundingClientRect",{enumerable:!0,get:function(){return t.getViewBoundingClientRect}}),Object.defineProperty(e,"getViewBounds",{enumerable:!0,get:function(){return t.getViewBounds}}),Object.defineProperty(e,"getViewClientRects",{enumerable:!0,get:function(){return t.getViewClientRects}}),Object.defineProperty(e,"getViewElement",{enumerable:!0,get:function(){return t.getViewElement}}),Object.defineProperty(e,"getViewId",{enumerable:!0,get:function(){return t.getViewId}}),Object.defineProperty(e,"isSimpleClick",{enumerable:!0,get:function(){return t.isSimpleClick}}),Object.defineProperty(e,"setElementView",{enumerable:!0,get:function(){return t.setElementView}}),Object.defineProperty(e,"setViewElement",{enumerable:!0,get:function(){return t.setViewElement}})})),e("@ember/-internals/views/lib/compat/attrs",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MUTABLE_CELL=void 0;e.MUTABLE_CELL=Symbol("MUTABLE_CELL")})),e("@ember/-internals/views/lib/compat/fallback-view-registry",["exports","@ember/-internals/utils"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=(0,t.dictionary)(null)})),e("@ember/-internals/views/lib/component_lookup",["exports","@ember/object"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=t.default.extend({componentFor(e,t){let r=`component:${e}`;return t.factoryFor(r)},layoutFor(e,t,r){let n=`template:components/${e}`;return t.lookup(n,r)}})})),e("@ember/-internals/views/lib/mixins/action_support",["exports","@ember/-internals/metal","@ember/object/mixin","@ember/debug"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const i=r.default.create({send(e,...r){let n=this.actions&&this.actions[e];if(n){if(!(!0===n.apply(this,r)))return}let i=(0,t.get)(this,"target");i&&i.send(...arguments)}});e.default=i})),e("@ember/-internals/views/lib/mixins/child_views_support",["exports","@ember/-internals/metal","@ember/object/mixin","@ember/-internals/views/lib/system/utils"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const i=r.default.create({childViews:(0,t.nativeDescDecorator)({configurable:!1,enumerable:!1,get(){return(0,n.getChildViews)(this)}}),appendChild(e){(0,n.addChildView)(this,e)}});e.default=i})),e("@ember/-internals/views/lib/mixins/class_names_support",["exports","@ember/-internals/metal","@ember/object/mixin","@ember/debug"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const i=Object.freeze([]),o=r.default.create({concatenatedProperties:["classNames","classNameBindings"],init(){this._super(...arguments)},classNames:i,classNameBindings:i});e.default=o})),e("@ember/-internals/views/lib/mixins/view_state_support",["exports","@ember/object/mixin"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const r=t.default.create({_transitionTo(e){let t=this._currentState,r=this._currentState=this._states[e];this._state=e,t&&t.exit&&t.exit(this),r.enter&&r.enter(this)}});e.default=r})),e("@ember/-internals/views/lib/mixins/view_support",["exports","@ember/-internals/utils","@ember/-internals/metal","@ember/object/mixin","@ember/debug","@ember/-internals/browser-environment","@ember/-internals/views/lib/system/utils"],(function(e,t,r,n,i,o,s){"use strict";function a(){return this}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const l=n.default.create({concatenatedProperties:["attributeBindings"],nearestOfType(e){let t=this.parentView,r=e instanceof n.default?t=>e.detect(t):t=>e.detect(t.constructor);for(;t;){if(r(t))return t;t=t.parentView}},nearestWithProperty(e){let t=this.parentView;for(;t;){if(e in t)return t;t=t.parentView}},rerender(){return this._currentState.rerender(this)},element:(0,r.nativeDescDecorator)({configurable:!1,enumerable:!1,get(){return this.renderer.getElement(this)}}),appendTo(e){let t;return t=o.hasDOM&&"string"==typeof e?document.querySelector(e):e,this.renderer.appendTo(this,t),this},append(){return this.appendTo(document.body)},elementId:null,willInsertElement:a,didInsertElement:a,willClearRender:a,destroy(){this._super(...arguments),this._currentState.destroy(this)},willDestroyElement:a,didDestroyElement:a,parentViewDidChange:a,tagName:null,init(){this._super(...arguments),this.elementId||""===this.tagName||(this.elementId=(0,t.guidFor)(this))},handleEvent(e,t){return this._currentState.handleEvent(this,e,t)}});e.default=l})),e("@ember/-internals/views/lib/system/action_manager",["exports"],(function(e){"use strict";function t(){}Object.defineProperty(e,"__esModule",{value:!0}),e.default=t,t.registeredActions={}})),e("@ember/-internals/views/lib/system/event_dispatcher",["exports","@ember/-internals/owner","@ember/debug","@ember/-internals/metal","@ember/object","@ember/-internals/views","@ember/-internals/views/lib/system/action_manager"],(function(e,t,r,n,i,o,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const a="ember-application";class l extends i.default{constructor(){super(...arguments),this.events={touchstart:"touchStart",touchmove:"touchMove",touchend:"touchEnd",touchcancel:"touchCancel",keydown:"keyDown",keyup:"keyUp",keypress:"keyPress",mousedown:"mouseDown",mouseup:"mouseUp",contextmenu:"contextMenu",click:"click",dblclick:"doubleClick",focusin:"focusIn",focusout:"focusOut",submit:"submit",input:"input",change:"change",dragstart:"dragStart",drag:"drag",dragenter:"dragEnter",dragleave:"dragLeave",dragover:"dragOver",drop:"drop",dragend:"dragEnd"},this.rootElement="body",this._eventHandlers=Object.create(null),this._didSetup=!1,this.finalEventNameMapping=null,this._sanitizedRootElement=null,this.lazyEvents=new Map,this._reverseEventNameMapping=null}setup(e,t){let r=this.finalEventNameMapping={...(0,n.get)(this,"events"),...e};this._reverseEventNameMapping=Object.keys(r).reduce(((e,t)=>{let n=r[t];return n?{...e,[n]:t}:e}),{});let i=this.lazyEvents;null!=t&&(0,n.set)(this,"rootElement",t);let o=(0,n.get)(this,"rootElement"),s="string"!=typeof o?o:document.querySelector(o);s.classList.add(a),this._sanitizedRootElement=s;for(let e in r)Object.prototype.hasOwnProperty.call(r,e)&&i.set(e,r[e]??null);this._didSetup=!0}setupHandlerForBrowserEvent(e){this.setupHandler(this._sanitizedRootElement,e,this.finalEventNameMapping[e]??null)}setupHandlerForEmberEvent(e){let t=this._reverseEventNameMapping?.[e];t&&this.setupHandler(this._sanitizedRootElement,t,e)}setupHandler(e,t,r){if(null===r||!this.lazyEvents.has(t))return;let n=(e,t)=>{let n=(0,o.getElementView)(e),i=!0;return n&&(i=n.handleEvent(r,t)),i},i=(e,t)=>{let n,i=e.getAttribute("data-ember-action");if(""===i){n=[];for(let t of e.attributes){if(0===t.name.indexOf("data-ember-action-")){let e=s.default.registeredActions[t.value];n.push(e)}}}else if(i){let e=s.default.registeredActions[i];e&&(n=[e])}if(!n)return;let o=!0;for(let e=0;e{let t=e.target;do{if((0,o.getElementView)(t)){if(!1===n(t,e)){e.preventDefault(),e.stopPropagation();break}if(!0===e.cancelBubble)break}else if("function"==typeof t.hasAttribute&&t.hasAttribute("data-ember-action")&&!1===i(t,e))break;t=t.parentNode}while(t instanceof Element)};e.addEventListener(t,a),this.lazyEvents.delete(t)}destroy(){if(!1===this._didSetup)return;let e=this._sanitizedRootElement;if(e){for(let t in this._eventHandlers)e.removeEventListener(t,this._eventHandlers[t]);return e.classList.remove(a),this._super(...arguments)}}toString(){return"(EventDispatcher)"}}e.default=l})),e("@ember/-internals/views/lib/system/utils",["exports","@ember/-internals/owner","@ember/-internals/utils","@ember/debug"],(function(e,t,r,n){"use strict";function i(e){return""!==e.tagName&&e.elementId?e.elementId:(0,r.guidFor)(e)}Object.defineProperty(e,"__esModule",{value:!0}),e.addChildView=function(e,t){let r=a.get(e);void 0===r&&(r=l(e));r.add(i(t))},e.clearElementView=function(e){o.delete(e)},e.clearViewElement=function(e){s.delete(e)},e.collectChildViews=u,e.constructStyleDeprecationMessage=function(e){return'Binding style attributes may introduce cross-site scripting vulnerabilities; please ensure that values being bound are properly escaped. For more information, including how to disable this warning, see https://deprecations.emberjs.com/v1.x/#toc_binding-style-attributes. Style affected: "'+e+'"'},e.contains=function(e,t){if(void 0!==e.contains)return e.contains(t);let r=t.parentNode;for(;r&&(r=r.parentNode);)if(r===e)return!0;return!1},e.elMatches=void 0,e.getChildViews=function(e){let r=(0,t.getOwner)(e);let n=r.lookup("-view-registry:main");return u(e,n)},e.getElementView=function(e){return o.get(e)||null},e.getRootViews=function(e){let t=e.lookup("-view-registry:main"),r=[];return Object.keys(t).forEach((e=>{let n=t[e];null===n.parentView&&r.push(n)})),r},e.getViewBoundingClientRect=function(e){return p(e).getBoundingClientRect()},e.getViewBounds=c,e.getViewClientRects=function(e){return p(e).getClientRects()},e.getViewElement=function(e){return s.get(e)||null},e.getViewId=i,e.getViewRange=p,e.initChildViews=l,e.isSimpleClick=function(e){if(!(e instanceof MouseEvent))return!1;let t=e.shiftKey||e.metaKey||e.altKey||e.ctrlKey,r=e.which>1;return!t&&!r},e.matches=function(e,t){return d.call(e,t)},e.setElementView=function(e,t){o.set(e,t)},e.setViewElement=function(e,t){s.set(e,t)};const o=new WeakMap,s=new WeakMap;const a=new WeakMap;function l(e){let t=new Set;return a.set(e,t),t}function u(e,t){let r=[],n=a.get(e);return void 0!==n&&n.forEach((e=>{let n=t[e];!n||n.isDestroying||n.isDestroyed||r.push(n)})),r}function c(e){return e.renderer.getBounds(e)}function p(e){let t=c(e),r=document.createRange();return r.setStartBefore(t.firstNode),r.setEndAfter(t.lastNode),r}const d=e.elMatches="undefined"!=typeof Element?Element.prototype.matches:void 0})),e("@ember/-internals/views/lib/views/core_view",["exports","@ember/-internals/metal","@ember/-internals/runtime","@ember/object/evented","@ember/object/-internals","@ember/-internals/views/lib/views/states"],(function(e,t,r,n,i,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};class a extends(i.FrameworkObject.extend(n.default,r.ActionHandler)){constructor(){super(...arguments),this.isView=!0}init(e){super.init(e),this._superTrigger=this.trigger,this.trigger=this._trigger,this._superHas=this.has,this.has=this._has,this.parentView??=null,this._state="preRender",this._currentState=this._states.preRender}instrumentDetails(e){return e.object=this.toString(),e.containerKey=this._debugContainerKey,e.view=this,e}_trigger(e,...t){this._superTrigger(e,...t);let r=this[e];if("function"==typeof r)return r.apply(this,t)}_has(e){return"function"==typeof this[e]||this._superHas(e)}}a.isViewFactory=!0,s([(0,t.inject)("renderer","-dom")],a.prototype,"renderer",void 0),a.prototype._states=o.default;e.default=a})),e("@ember/-internals/views/lib/views/states",["exports","@ember/-internals/utils","@ember/debug","@ember/instrumentation","@ember/runloop"],(function(e,t,r,n,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const o=Object.freeze({appendChild(){throw new Error("You can't use appendChild outside of the rendering process")},handleEvent:()=>!0,rerender(){},destroy(){}}),s=Object.freeze({...o}),a=Object.freeze({...o,rerender(e){e.renderer.rerender()},destroy(e){e.renderer.remove(e)},handleEvent:(e,t,r)=>!e.has(t)||(0,n.flaggedInstrument)(`interaction.${t}`,{event:r,view:e},(()=>(0,i.join)(e,e.trigger,t,r)))}),l=Object.freeze({...a,enter(e){e.renderer.register(e)}}),u=Object.freeze({...o,appendChild(){throw new Error("You can't call appendChild on a view being destroyed")},rerender(){throw new Error("You can't call rerender on a view being destroyed")}}),c=Object.freeze({preRender:s,inDOM:l,hasElement:a,destroying:u});e.default=c})),e("@ember/application/index",["exports","@ember/owner","@ember/-internals/utils","@ember/-internals/environment","@ember/-internals/browser-environment","@ember/debug","@ember/runloop","@ember/-internals/metal","@ember/application/lib/lazy_load","@ember/-internals/runtime","@ember/-internals/views","@ember/routing/route","@ember/routing/router","@ember/routing/hash-location","@ember/routing/history-location","@ember/routing/none-location","@ember/routing/-internals","@ember/application/instance","@ember/engine","@ember/-internals/container","@ember/-internals/glimmer","@ember/routing/router-service"],(function(e,t,r,n,i,o,s,a,l,u,c,p,d,h,m,f,g,b,y,v,_,O){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"_loaded",{enumerable:!0,get:function(){return l._loaded}}),e.getOwner=e.default=void 0,Object.defineProperty(e,"onLoad",{enumerable:!0,get:function(){return l.onLoad}}),Object.defineProperty(e,"runLoadHooks",{enumerable:!0,get:function(){return l.runLoadHooks}}),e.setOwner=void 0;e.getOwner=t.getOwner,e.setOwner=t.setOwner;class C extends y.default{constructor(){super(...arguments),this._bootPromise=null,this._bootResolver=null}static buildRegistry(e){let t=super.buildRegistry(e);return function(e){e.register("router:main",d.default),e.register("-view-registry:main",{create:()=>(0,r.dictionary)(null)}),e.register("route:basic",p.default),e.register("event_dispatcher:main",c.EventDispatcher),e.register("location:hash",h.default),e.register("location:history",m.default),e.register("location:none",f.default),e.register(v.privatize`-bucket-cache:main`,{create:()=>new g.BucketCache}),e.register("service:router",O.default)}(t),(0,_.setupApplicationRegistry)(t),t}init(e){super.init(e),this.rootElement??="body",this._document??=null,this.eventDispatcher??=null,this.customEvents??=null,this.autoboot??=!0,this._document??=i.hasDOM?window.document:null,this._globalsMode??=!0,this._readinessDeferrals=1,this._booted=!1,this._applicationInstances=new Set,this.autoboot=this._globalsMode=Boolean(this.autoboot),this._globalsMode&&this._prepareForGlobalsMode(),this.autoboot&&this.waitForDOMReady()}buildInstance(e={}){return b.default.create({...e,base:this,application:this})}_watchInstance(e){this._applicationInstances.add(e)}_unwatchInstance(e){return this._applicationInstances.delete(e)}_prepareForGlobalsMode(){this.Router=(this.Router||d.default).extend(),this._buildDeprecatedInstance()}_buildDeprecatedInstance(){let e=this.buildInstance();this.__deprecatedInstance__=e,this.__container__=e.__container__}waitForDOMReady(){const e=this._document;if(null===e||"loading"!==e.readyState)(0,s.schedule)("actions",this,this.domReady);else{let t=()=>{e.removeEventListener("DOMContentLoaded",t),(0,s.run)(this,this.domReady)};e.addEventListener("DOMContentLoaded",t)}}domReady(){this.isDestroying||this.isDestroyed||this._bootSync()}deferReadiness(){this._readinessDeferrals++}advanceReadiness(){this._readinessDeferrals--,0===this._readinessDeferrals&&(0,s.once)(this,this.didBecomeReady)}boot(){if(this._bootPromise)return this._bootPromise;try{this._bootSync()}catch(e){}return this._bootPromise}_bootSync(){if(this._booted||this.isDestroying||this.isDestroyed)return;let e=this._bootResolver=u.RSVP.defer();this._bootPromise=e.promise;try{this.runInitializers(),(0,l.runLoadHooks)("application",this),this.advanceReadiness()}catch(t){throw e.reject(t),t}}reset(){let e=this.__deprecatedInstance__;this._readinessDeferrals=1,this._bootPromise=null,this._bootResolver=null,this._booted=!1,(0,s.join)(this,(function(){(0,s.run)(e,"destroy"),this._buildDeprecatedInstance(),(0,s.schedule)("actions",this,"_bootSync")}))}didBecomeReady(){if(!this.isDestroying&&!this.isDestroyed)try{if(this.autoboot){let e;e=this._globalsMode?this.__deprecatedInstance__:this.buildInstance(),e._bootSync(),this.ready(),e.startRouting()}this._bootResolver.resolve(this),this._booted=!0}catch(e){throw this._bootResolver.reject(e),e}}ready(){return this}willDestroy(){super.willDestroy(),l._loaded.application===this&&(l._loaded.application=void 0),this._applicationInstances.size&&(this._applicationInstances.forEach((e=>e.destroy())),this._applicationInstances.clear())}visit(e,t){return this.boot().then((()=>{let r=this.buildInstance();return r.boot(t).then((()=>r.visit(e))).catch((e=>{throw(0,s.run)(r,"destroy"),e}))}))}}e.default=C,C.initializer=(0,y.buildInitializerMethod)("initializers","initializer"),C.instanceInitializer=(0,y.buildInitializerMethod)("instanceInitializers","instance initializer")})),e("@ember/application/instance",["exports","@ember/object","@ember/-internals/browser-environment","@ember/engine/instance","@ember/-internals/glimmer","@ember/debug","@ember/routing/router","@ember/-internals/views"],(function(e,t,r,n,i,o,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class l extends n.default{constructor(){super(...arguments),this.rootElement=null}init(e){super.init(e),this.application._watchInstance(this),this.register("-application-instance:main",this,{instantiate:!1})}_bootSync(e){return this._booted||(e=new u(e),this.setupRegistry(e),e.rootElement?this.rootElement=e.rootElement:this.rootElement=this.application.rootElement,e.location&&(0,t.set)(this.router,"location",e.location),this.application.runInstanceInitializers(this),e.isInteractive&&this.setupEventDispatcher(),this._booted=!0),this}setupRegistry(e){this.constructor.setupRegistry(this.__registry__,e)}get router(){if(!this._router){let e=this.lookup("router:main");this._router=e}return this._router}didCreateRootView(e){e.appendTo(this.rootElement)}startRouting(){this.router.startRouting()}setupRouter(){this.router.setupRouter()}handleURL(e){return this.setupRouter(),this.router.handleURL(e)}setupEventDispatcher(){let e=this.lookup("event_dispatcher:main"),r=(0,t.get)(this.application,"customEvents"),n=(0,t.get)(this,"customEvents"),i=Object.assign({},r,n);return e.setup(i,this.rootElement),e}getURL(){return this.router.url}visit(e){this.setupRouter();let r=this.__container__.lookup("-environment:main"),n=this.router,o=()=>r.options.shouldRender?(0,i.renderSettled)().then((()=>this)):this,s=e=>{if(e.error&&e.error instanceof Error)throw e.error;if("TransitionAborted"===e.name&&n._routerMicrolib.activeTransition)return n._routerMicrolib.activeTransition.then(o,s);throw"TransitionAborted"===e.name?new Error(e.message):e},a=(0,t.get)(n,"location");return a.setURL(e),n.handleURL(a.getURL()).then(o,s)}willDestroy(){super.willDestroy(),this.application._unwatchInstance(this)}static setupRegistry(e,t={}){let r=t instanceof u?t:new u(t);e.register("-environment:main",r.toEnvironment(),{instantiate:!1}),e.register("service:-document",r.document,{instantiate:!1}),super.setupRegistry(e,r)}}class u{constructor(e={}){this.location=null,this.isInteractive=Boolean(r.hasDOM),this._renderMode=e._renderMode,void 0!==e.isBrowser?this.isBrowser=Boolean(e.isBrowser):this.isBrowser=Boolean(r.hasDOM),this.isBrowser||(this.isInteractive=!1,this.location="none"),void 0!==e.shouldRender?this.shouldRender=Boolean(e.shouldRender):this.shouldRender=!0,this.shouldRender||(this.isInteractive=!1),e.document?this.document=e.document:this.document="undefined"!=typeof document?document:null,e.rootElement&&(this.rootElement=e.rootElement),void 0!==e.location&&(this.location=e.location),void 0!==e.isInteractive&&(this.isInteractive=Boolean(e.isInteractive))}toEnvironment(){return{...r,hasDOM:this.isBrowser,isInteractive:this.isInteractive,_renderMode:this._renderMode,options:this}}}e.default=l})),e("@ember/application/lib/lazy_load",["exports","@ember/-internals/environment","@ember/-internals/browser-environment"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._loaded=void 0,e.onLoad=function(e,t){let r=i[e];(n[e]??=[]).push(t),r&&t(r)},e.runLoadHooks=function(e,t){if(i[e]=t,r.window&&"function"==typeof CustomEvent){let n=new CustomEvent(e,{detail:t});r.window.dispatchEvent(n)}n[e]?.forEach((e=>e(t)))};const n=t.ENV.EMBER_LOAD_HOOKS||{},i={};e._loaded=i})),e("@ember/application/namespace",["exports","@ember/-internals/metal","@ember/object","@ember/-internals/utils","@ember/debug"],(function(e,t,r,n,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class o extends r.default{init(e){super.init(e),(0,t.addNamespace)(this)}toString(){let e=(0,r.get)(this,"name")||(0,r.get)(this,"modulePrefix");if(e)return e;(0,t.findNamespaces)();let i=(0,n.getName)(this);return void 0===i&&(i=(0,n.guidFor)(this),(0,n.setName)(this,i)),i}nameClasses(){(0,t.processNamespace)(this)}destroy(){return(0,t.removeNamespace)(this),super.destroy()}}o.NAMESPACES=t.NAMESPACES,o.NAMESPACES_BY_ID=t.NAMESPACES_BY_ID,o.processAll=t.processAllNamespaces,o.byName=t.findNamespace,o.prototype.isNamespace=!0;e.default=o})),e("@ember/array/-internals",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmberArray=function(e){return t.has(e)},e.setEmberArray=function(e){t.add(e)};const t=new WeakSet})),e("@ember/array/index",["exports","@ember/-internals/metal","@ember/object","@ember/object/mixin","@ember/debug","@ember/enumerable","@ember/enumerable/mutable","@ember/utils","@ember/-internals/environment","@ember/object/observable","@ember/array/-internals","@ember/array/lib/make-array"],(function(e,t,r,n,i,o,s,a,l,u,c,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.NativeArray=e.MutableArray=e.A=void 0,e.isArray=E,Object.defineProperty(e,"makeArray",{enumerable:!0,get:function(){return p.default}}),e.removeAt=O,e.uniqBy=m;const d=Object.freeze([]),h=e=>e;function m(e,t=h){let n=A(),i=new Set,o="function"==typeof t?t:e=>(0,r.get)(e,t);return e.forEach((e=>{let t=o(e);i.has(t)||(i.add(t),n.push(e))})),n}function f(...e){let t=2===e.length,[n,i]=e;return t?e=>i===(0,r.get)(e,n):e=>Boolean((0,r.get)(e,n))}function g(e,r,n){let i=e.length;for(let o=n;o!n(e,t,r)),0)}function _(e,t,r=0,n){let i=e.length;return r<0&&(r+=i),g(e,n&&t!=t?e=>e!=e:e=>e===t,r)}function O(e,r,n){return(0,t.replace)(e,r,n??1,d),e}function C(e,r,n){return(0,t.replace)(e,r,0,[n]),n}function E(e){if(!e||e.setInterval)return!1;if(Array.isArray(e)||T.detect(e))return!0;let t=(0,a.typeOf)(e);if("array"===t)return!0;let r=e.length;return"number"==typeof r&&r==r&&"object"===t}function w(e){let r=(0,t.computed)(e);return r.enumerable=!1,r}function k(e){return this.map((t=>(0,r.get)(t,e)))}const T=n.default.create(o.default,{init(){this._super(...arguments),(0,c.setEmberArray)(this)},objectsAt(e){return e.map((e=>(0,t.objectAt)(this,e)))},"[]":w({get(){return this},set(e,t){return this.replace(0,this.length,t),this}}),firstObject:w((function(){return(0,t.objectAt)(this,0)})).readOnly(),lastObject:w((function(){return(0,t.objectAt)(this,this.length-1)})).readOnly(),slice(e=0,r){let n,i=A(),o=this.length;for(e<0&&(e=o+e),n=void 0===r||r>o?o:r<0?o+r:r;e=n)&&(r=n-1),r<0&&(r+=n);for(let n=r;n>=0;n--)if((0,t.objectAt)(this,n)===e)return n;return-1},forEach(e,t=null){let r=this.length;for(let n=0;n(0,r.set)(n,e,t)))},map(e,t=null){let r=A();return this.forEach(((n,i,o)=>r[i]=e.call(t,n,i,o))),r},mapBy:k,filter(e,t=null){let r=A();return this.forEach(((n,i,o)=>{e.call(t,n,i,o)&&r.push(n)})),r},reject(e,t=null){return this.filter((function(){return!e.apply(t,arguments)}))},filterBy(){return this.filter(f(...arguments))},rejectBy(){return this.reject(f(...arguments))},find(e,t=null){return b(this,e,t)},findBy(){return b(this,f(...arguments))},every(e,t=null){return v(this,e,t)},isEvery(){return v(this,f(...arguments))},any(e,t=null){return y(this,e,t)},isAny(){return y(this,f(...arguments))},reduce(e,t){let r=t;return this.forEach((function(t,n){r=e(r,t,n,this)}),this),r},invoke(e,...t){let r=A();return this.forEach((n=>r.push(n[e]?.(...t)))),r},toArray(){return this.map((e=>e))},compact(){return this.filter((e=>null!=e))},includes(e,t){return-1!==_(this,e,t,!0)},sortBy(){let e=arguments;return this.toArray().sort(((t,n)=>{for(let i=0;it!==e:e=>e==e;return this.filter(t)}}),R=e.MutableArray=n.default.create(T,s.default,{clear(){let e=this.length;return 0===e||this.replace(0,e,d),this},insertAt(e,t){return C(this,e,t),this},removeAt(e,t){return O(this,e,t)},pushObject(e){return C(this,this.length,e)},pushObjects(e){return this.replace(this.length,0,e),this},popObject(){let e=this.length;if(0===e)return null;let r=(0,t.objectAt)(this,e-1);return this.removeAt(e-1,1),r},shiftObject(){if(0===this.length)return null;let e=(0,t.objectAt)(this,0);return this.removeAt(0),e},unshiftObject(e){return C(this,0,e)},unshiftObjects(e){return this.replace(0,0,e),this},reverseObjects(){let e=this.length;if(0===e)return this;let t=this.toArray().reverse();return this.replace(0,e,t),this},setObjects(e){if(0===e.length)return this.clear();let t=this.length;return this.replace(0,t,e),this},removeObject(e){let r=this.length||0;for(;--r>=0;){(0,t.objectAt)(this,r)===e&&this.removeAt(r)}return this},removeObjects(e){(0,t.beginPropertyChanges)();for(let t=e.length-1;t>=0;t--)this.removeObject(e[t]);return(0,t.endPropertyChanges)(),this},addObject(e){return this.includes(e)||this.pushObject(e),this},addObjects(e){return(0,t.beginPropertyChanges)(),e.forEach((e=>this.addObject(e))),(0,t.endPropertyChanges)(),this}});let S=e.NativeArray=n.default.create(R,u.default,{objectAt(e){return this[e]},replace(e,r,n=d){return(0,t.replaceInNativeArray)(this,e,r,n),this}});const P=["length"];S.keys().forEach((e=>{Array.prototype[e]&&P.push(e)})),e.NativeArray=S=S.without(...P);let A=e.A=void 0;l.ENV.EXTEND_PROTOTYPES.Array?(S.apply(Array.prototype,!0),e.A=A=function(e){return e||[]}):e.A=A=function(e){return(0,c.isEmberArray)(e)?e:S.apply(e??[])};e.default=T})),e("@ember/array/lib/make-array",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const{isArray:t}=Array;e.default=function(e){return null==e?[]:t(e)?e:[e]}})),e("@ember/array/mutable",["exports","@ember/array"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.MutableArray}})})),e("@ember/array/proxy",["exports","@ember/-internals/metal","@ember/object","@ember/-internals/utils","@ember/array","@ember/array/mutable","@ember/debug","@glimmer/manager","@glimmer/validator"],(function(e,t,r,n,i,o,s,a,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const u={willChange:"_arrangedContentArrayWillChange",didChange:"_arrangedContentArrayDidChange"};function c(e,t){return"[]"===t?(e._revalidate(),e._arrTag):"length"===t?(e._revalidate(),e._lengthTag):(0,l.tagFor)(e,t)}class p extends r.default{constructor(){super(...arguments),this._objectsDirtyIndex=0,this._objects=null,this._lengthDirty=!0,this._length=0,this._arrangedContent=null,this._arrangedContentIsUpdating=!1,this._arrangedContentTag=null,this._arrangedContentRevision=null,this._lengthTag=null,this._arrTag=null}init(e){super.init(e),(0,a.setCustomTagFor)(this,c)}[t.PROPERTY_DID_CHANGE](){this._revalidate()}willDestroy(){this._removeArrangedContentArrayObserver()}objectAtContent(e){let n=(0,r.get)(this,"arrangedContent");return(0,t.objectAt)(n,e)}replace(e,t,r){this.replaceContent(e,t,r)}replaceContent(e,n,i){let o=(0,r.get)(this,"content");(0,t.replace)(o,e,n,i)}objectAt(e){if(this._revalidate(),null===this._objects&&(this._objects=[]),-1!==this._objectsDirtyIndex&&e>=this._objectsDirtyIndex){let e=(0,r.get)(this,"arrangedContent");if(e){let t=this._objects.length=(0,r.get)(e,"length");for(let e=this._objectsDirtyIndex;es)&&(this._objectsDirtyIndex=s),this._lengthDirty=!0,(0,t.arrayContentDidChange)(this,n,i,o,!1)}_invalidate(){this._objectsDirtyIndex=0,this._lengthDirty=!0}_revalidate(){if(!0!==this._arrangedContentIsUpdating&&(null===this._arrangedContentTag||!(0,l.validateTag)(this._arrangedContentTag,this._arrangedContentRevision))){let e=this.get("arrangedContent");null===this._arrangedContentTag?this._addArrangedContentArrayObserver(e):(this._arrangedContentIsUpdating=!0,this._updateArrangedContentArray(e),this._arrangedContentIsUpdating=!1);let r=this._arrangedContentTag=(0,l.tagFor)(this,"arrangedContent");this._arrangedContentRevision=(0,l.valueForTag)(this._arrangedContentTag),(0,n.isObject)(e)?(this._lengthTag=(0,l.combine)([r,(0,t.tagForProperty)(e,"length")]),this._arrTag=(0,l.combine)([r,(0,t.tagForProperty)(e,"[]")])):this._lengthTag=this._arrTag=r}}}p.reopen(o.default,{arrangedContent:(0,t.alias)("content")});e.default=p})),e("@ember/canary-features/index",["exports","@ember/-internals/environment"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FEATURES=e.DEFAULT_FEATURES=void 0,e.isEnabled=function(e){let r=n[e];return!0===r||!1===r?r:!!t.ENV.ENABLE_OPTIONAL_FEATURES};const r=e.DEFAULT_FEATURES={},n=e.FEATURES=Object.assign(r,t.ENV.FEATURES)})),e("@ember/component/helper",["exports","@ember/-internals/glimmer"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.Helper}}),Object.defineProperty(e,"helper",{enumerable:!0,get:function(){return t.helper}})})),e("@ember/component/index",["exports","@glimmer/manager","@ember/-internals/glimmer"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Input",{enumerable:!0,get:function(){return r.Input}}),Object.defineProperty(e,"Textarea",{enumerable:!0,get:function(){return r.Textarea}}),Object.defineProperty(e,"capabilities",{enumerable:!0,get:function(){return r.componentCapabilities}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.Component}}),Object.defineProperty(e,"getComponentTemplate",{enumerable:!0,get:function(){return t.getComponentTemplate}}),Object.defineProperty(e,"setComponentManager",{enumerable:!0,get:function(){return r.setComponentManager}}),Object.defineProperty(e,"setComponentTemplate",{enumerable:!0,get:function(){return t.setComponentTemplate}})})),e("@ember/component/template-only",["exports","@glimmer/runtime"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const r=t.templateOnlyComponent;e.default=r})),e("@ember/controller/index",["exports","@ember/-internals/owner","@ember/object","@ember/object/-internals","@ember/-internals/metal","@ember/object/mixin","@ember/-internals/runtime","@ember/-internals/utils"],(function(e,t,r,n,i,o,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ControllerMixin=void 0,e.inject=function(...e){return(0,i.inject)("controller",...e)};const l=(0,a.symbol)("MODEL"),u=e.ControllerMixin=o.default.create(s.ActionHandler,{isController:!0,concatenatedProperties:["queryParams"],target:null,store:null,init(){this._super(...arguments);let e=(0,t.getOwner)(this);e&&(this.namespace=e.lookup("application:main"),this.target=e.lookup("router:main"))},model:(0,r.computed)({get(){return this[l]},set(e,t){return this[l]=t}}),queryParams:null,_qpDelegate:null,_qpChanged(e,t){let n=t.indexOf(".[]"),i=-1===n?t:t.slice(0,n);(0,e._qpDelegate)(i,(0,r.get)(e,i))}});class c extends(n.FrameworkObject.extend(u)){}e.default=c})),e("@ember/debug/container-debug-adapter",["exports","@ember/-internals/string","@ember/object","@ember/utils","@ember/-internals/owner","@ember/application/namespace"],(function(e,t,r,n,i,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class s extends r.default{constructor(e){super(e),this.resolver=(0,i.getOwner)(this).lookup("resolver-for-debugging:main")}canCatalogEntriesByType(e){return"model"!==e&&"template"!==e}catalogEntriesByType(e){let r=o.default.NAMESPACES,i=[],s=new RegExp(`${(0,t.classify)(e)}$`);return r.forEach((e=>{for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&s.test(r)){let o=e[r];"class"===(0,n.typeOf)(o)&&i.push((0,t.dasherize)(r.replace(s,"")))}})),i}}e.default=s})),e("@ember/debug/data-adapter",["exports","@ember/-internals/owner","@ember/runloop","@ember/object","@ember/-internals/string","@ember/application/namespace","@ember/array","@glimmer/validator","@ember/debug"],(function(e,t,r,n,i,o,s,a,l){"use strict";function u(e,t){if(Symbol.iterator in e)for(let r of e)t(r);else(0,l.assert)("","function"==typeof e.forEach),e.forEach(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class c{getCacheForItem(e){let t=this.recordCaches.get(e);if(!t){let r=!1;t=(0,a.createCache)((()=>{r?this.updated.push(this.wrapRecord(e)):(this.added.push(this.wrapRecord(e)),r=!0)})),this.recordCaches.set(e,t)}return t}constructor(e,t,r,n,i,o){this.wrapRecord=i,this.release=o,this.recordCaches=new Map,this.added=[],this.updated=[],this.removed=[],this.recordArrayCache=(0,a.createCache)((()=>{let o=new Set;(0,a.consumeTag)((0,a.tagFor)(e,"[]")),u(e,(e=>{(0,a.getValue)(this.getCacheForItem(e)),o.add(e)})),(0,a.untrack)((()=>{this.recordCaches.forEach(((e,t)=>{o.has(t)||(this.removed.push(i(t)),this.recordCaches.delete(t))}))})),this.added.length>0&&(t(this.added),this.added=[]),this.updated.length>0&&(r(this.updated),this.updated=[]),this.removed.length>0&&(n(this.removed),this.removed=[])}))}revalidate(){(0,a.getValue)(this.recordArrayCache)}}class p{constructor(e,t,n){this.release=n;let i=!1;this.cache=(0,a.createCache)((()=>{u(e,(()=>{})),(0,a.consumeTag)((0,a.tagFor)(e,"[]")),!0===i?(0,r.next)(t):i=!0})),this.release=n}revalidate(){(0,a.getValue)(this.cache)}}class d extends n.default{constructor(e){super(e),this.releaseMethods=(0,s.A)(),this.recordsWatchers=new Map,this.typeWatchers=new Map,this.flushWatchers=null,this.attributeLimit=3,this.acceptsModelName=!0,this.containerDebugAdapter=(0,t.getOwner)(this).lookup("container-debug-adapter:main")}getFilters(){return(0,s.A)()}watchModelTypes(e,t){let r,n=this.getModelTypes(),i=(0,s.A)();r=n.map((e=>{let r=e.klass,n=this.wrapModelType(r,e.name);return i.push(this.observeModelType(e.name,t)),n})),e(r);let o=()=>{i.forEach((e=>e())),this.releaseMethods.removeObject(o)};return this.releaseMethods.pushObject(o),o}_nameToClass(e){if("string"==typeof e){let r=(0,t.getOwner)(this).factoryFor(`model:${e}`);e=r&&r.class}return e}watchRecords(e,t,r,n){let i=this._nameToClass(e),o=this.getRecords(i,e),{recordsWatchers:s}=this,a=s.get(o);return a||(a=new c(o,t,r,n,(e=>this.wrapRecord(e)),(()=>{s.delete(o),this.updateFlushWatchers()})),s.set(o,a),this.updateFlushWatchers(),a.revalidate()),a.release}updateFlushWatchers(){null===this.flushWatchers?(this.typeWatchers.size>0||this.recordsWatchers.size>0)&&(this.flushWatchers=()=>{this.typeWatchers.forEach((e=>e.revalidate())),this.recordsWatchers.forEach((e=>e.revalidate()))},r._backburner.on("end",this.flushWatchers)):0===this.typeWatchers.size&&0===this.recordsWatchers.size&&(r._backburner.off("end",this.flushWatchers),this.flushWatchers=null)}willDestroy(){this._super(...arguments),this.typeWatchers.forEach((e=>e.release())),this.recordsWatchers.forEach((e=>e.release())),this.releaseMethods.forEach((e=>e())),this.flushWatchers&&r._backburner.off("end",this.flushWatchers)}detect(e){return!1}columnsForType(e){return(0,s.A)()}observeModelType(e,t){let r=this._nameToClass(e),n=this.getRecords(r,e),i=()=>{t([this.wrapModelType(r,e)])},{typeWatchers:o}=this,s=o.get(n);return s||(s=new p(n,i,(()=>{o.delete(n),this.updateFlushWatchers()})),o.set(n,s),this.updateFlushWatchers(),s.revalidate()),s.release}wrapModelType(e,t){let r=this.getRecords(e,t);return{name:t,count:(0,n.get)(r,"length"),columns:this.columnsForType(e),object:e}}getModelTypes(){let e=this.containerDebugAdapter;return(e.canCatalogEntriesByType("model")?e.catalogEntriesByType("model"):this._getObjectsOnNamespaces()).map((e=>({klass:this._nameToClass(e),name:e}))).filter((e=>this.detect(e.klass)))}_getObjectsOnNamespaces(){let e=o.default.NAMESPACES,t=[];return e.forEach((e=>{for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if(!this.detect(e[r]))continue;let n=(0,i.dasherize)(r);t.push(n)}})),t}getRecords(e,t){return(0,s.A)()}wrapRecord(e){return{object:e,columnValues:this.getRecordColumnValues(e),searchKeywords:this.getRecordKeywords(e),filterValues:this.getRecordFilterValues(e),color:this.getRecordColor(e)}}getRecordColumnValues(e){return{}}getRecordKeywords(e){return(0,s.A)()}getRecordFilterValues(e){return{}}getRecordColor(e){return null}}e.default=d})),e("@ember/debug/index",["exports","@ember/-internals/browser-environment","@ember/debug/lib/deprecate","@ember/debug/lib/testing","@ember/debug/lib/warn","@ember/debug/lib/inspect","@ember/debug/lib/capture-render-tree"],(function(e,t,r,n,i,o,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assert=e._warnIfUsingStrippedFeatureFlags=void 0,Object.defineProperty(e,"captureRenderTree",{enumerable:!0,get:function(){return s.default}}),e.info=e.getDebugFunction=e.deprecateFunc=e.deprecate=e.debugSeal=e.debugFreeze=e.debug=void 0,Object.defineProperty(e,"inspect",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"isTesting",{enumerable:!0,get:function(){return n.isTesting}}),Object.defineProperty(e,"registerDeprecationHandler",{enumerable:!0,get:function(){return r.registerHandler}}),Object.defineProperty(e,"registerWarnHandler",{enumerable:!0,get:function(){return i.registerHandler}}),e.setDebugFunction=e.runInDebug=void 0,Object.defineProperty(e,"setTesting",{enumerable:!0,get:function(){return n.setTesting}}),e.warn=void 0;const a=()=>{};e.assert=a,e.info=a,e.warn=a,e.debug=a,e.deprecate=a,e.debugSeal=a,e.debugFreeze=a,e.runInDebug=a,e.setDebugFunction=a,e.getDebugFunction=a;let l=function(){return arguments[arguments.length-1]};e.deprecateFunc=l;e._warnIfUsingStrippedFeatureFlags=void 0})),e("@ember/debug/lib/capture-render-tree",["exports","@glimmer/util"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){return(0,t.expect)(e.lookup("renderer:-dom"),"BUG: owner is missing renderer").debugRenderTree.capture()}})),e("@ember/debug/lib/deprecate",["exports","@ember/-internals/environment","@ember/debug/index","@ember/debug/lib/handlers"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerHandler=e.missingOptionsIdDeprecation=e.missingOptionsDeprecation=e.missingOptionDeprecation=e.default=void 0;let i=()=>{};e.registerHandler=i;e.missingOptionsDeprecation=void 0,e.missingOptionsIdDeprecation=void 0;let o=()=>"";e.missingOptionDeprecation=o;let s=()=>{};e.default=s})),e("@ember/debug/lib/handlers",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerHandler=e.invoke=e.HANDLERS=void 0;e.HANDLERS={},e.registerHandler=function(e,t){};let t=()=>{};e.invoke=t})),e("@ember/debug/lib/inspect",["exports","@ember/debug"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e){if("number"==typeof e&&2===arguments.length)return this;return c(e,0)};const{toString:r}=Object.prototype,{toString:n}=Function.prototype,{isArray:i}=Array,{keys:o}=Object,{stringify:s}=JSON,a=100,l=4,u=/^[\w$]+$/;function c(e,t,u){let d=!1;switch(typeof e){case"undefined":return"undefined";case"object":if(null===e)return"null";if(i(e)){d=!0;break}if(e.toString===r||void 0===e.toString)break;return e.toString();case"function":return e.toString===n?e.name?`[Function:${e.name}]`:"[Function]":e.toString();case"string":return s(e);default:return e.toString()}if(void 0===u)u=new WeakSet;else if(u.has(e))return"[Circular]";return u.add(e),d?function(e,t,r){if(t>l)return"[Array]";let n="[";for(let i=0;i=a){n+=`... ${e.length-a} more items`;break}n+=c(e[i],t,r)}return n+=" ]",n}(e,t+1,u):function(e,t,r){if(t>l)return"[Object]";let n="{",i=o(e);for(let o=0;o=a){n+=`... ${i.length-a} more keys`;break}let s=i[o];n+=`${p(String(s))}: ${c(e[s],t,r)}`}return n+=" }",n}(e,t+1,u)}function p(e){return u.test(e)?e:s(e)}})),e("@ember/debug/lib/testing",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isTesting=function(){return t},e.setTesting=function(e){t=Boolean(e)};let t=!1})),e("@ember/debug/lib/warn",["exports","@ember/debug/index","@ember/debug/lib/handlers"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerHandler=e.missingOptionsIdDeprecation=e.missingOptionsDeprecation=e.default=void 0;let n=()=>{};e.registerHandler=n;let i=()=>{};e.missingOptionsDeprecation=void 0,e.missingOptionsIdDeprecation=void 0;e.default=i})),e("@ember/deprecated-features/index",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ASSIGN=void 0;e.ASSIGN=!0})),e("@ember/destroyable/index",["exports","@glimmer/destroyable"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"assertDestroyablesDestroyed",{enumerable:!0,get:function(){return t.assertDestroyablesDestroyed}}),Object.defineProperty(e,"associateDestroyableChild",{enumerable:!0,get:function(){return t.associateDestroyableChild}}),Object.defineProperty(e,"destroy",{enumerable:!0,get:function(){return t.destroy}}),Object.defineProperty(e,"enableDestroyableTracking",{enumerable:!0,get:function(){return t.enableDestroyableTracking}}),Object.defineProperty(e,"isDestroyed",{enumerable:!0,get:function(){return t.isDestroyed}}),Object.defineProperty(e,"isDestroying",{enumerable:!0,get:function(){return t.isDestroying}}),e.registerDestructor=function(e,r){return(0,t.registerDestructor)(e,r)},e.unregisterDestructor=function(e,r){return(0,t.unregisterDestructor)(e,r)}})),e("@ember/engine/index",["exports","@ember/engine/lib/engine-parent","@ember/-internals/utils","@ember/controller","@ember/application/namespace","@ember/-internals/container","dag-map","@ember/debug","@ember/debug/container-debug-adapter","@ember/object","@ember/engine/instance","@ember/routing/-internals","@ember/-internals/views","@ember/-internals/glimmer","@ember/-internals/runtime"],(function(e,t,r,n,i,o,s,a,l,u,c,p,d,h,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildInitializerMethod=b,e.default=void 0,Object.defineProperty(e,"getEngineParent",{enumerable:!0,get:function(){return t.getEngineParent}}),Object.defineProperty(e,"setEngineParent",{enumerable:!0,get:function(){return t.setEngineParent}});class f extends(i.default.extend(m.RegistryProxyMixin)){constructor(){super(...arguments),this._initializersRan=!1}static buildRegistry(e){let t=new o.Registry({resolver:g(e)});return t.set=u.set,t.register("application:main",e,{instantiate:!1}),function(e){e.optionsForType("component",{singleton:!1}),e.optionsForType("view",{singleton:!1}),e.register("controller:basic",n.default,{instantiate:!1}),e.register("service:-routing",p.RoutingService),e.register("resolver-for-debugging:main",e.resolver,{instantiate:!1}),e.register("container-debug-adapter:main",l.default),e.register("component-lookup:main",d.ComponentLookup)}(t),(0,h.setupEngineRegistry)(t),t}init(e){super.init(e),this.buildRegistry()}ensureInitializers(){this._initializersRan||(this.runInitializers(),this._initializersRan=!0)}buildInstance(e={}){return this.ensureInitializers(),c.default.create({...e,base:this})}buildRegistry(){return this.__registry__=this.constructor.buildRegistry(this)}initializer(e){this.constructor.initializer(e)}instanceInitializer(e){this.constructor.instanceInitializer(e)}runInitializers(){this._runInitializer("initializers",((e,t)=>{t.initialize(this)}))}runInstanceInitializers(e){this._runInitializer("instanceInitializers",((t,r)=>{r.initialize(e)}))}_runInitializer(e,t){let r,n=(0,u.get)(this.constructor,e),i=function(e){let t=[];for(let r in e)t.push(r);return t}(n),o=new s.default;for(let e of i)r=n[e],o.add(r.name,r,r.before,r.after);o.topsort(t)}}function g(e){let t={namespace:e};return e.Resolver.create(t)}function b(e,t){return function(t){let r=this.superclass;if(void 0!==r[e]&&r[e]===this[e]){let t={[e]:Object.create(this[e])};this.reopenClass(t)}this[e][t.name]=t}}f.initializers=Object.create(null),f.instanceInitializers=Object.create(null),f.initializer=b("initializers","initializer"),f.instanceInitializer=b("instanceInitializers","instance initializer");e.default=f})),e("@ember/engine/instance",["exports","@ember/object","@ember/-internals/runtime","@ember/debug","@ember/-internals/container","@ember/-internals/utils","@ember/engine/lib/engine-parent","@ember/-internals/owner","@ember/engine"],(function(e,t,r,n,i,o,s,a,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class u extends(t.default.extend(r.RegistryProxyMixin,r.ContainerProxyMixin)){constructor(){super(...arguments),this._booted=!1,this._bootPromise=null}static setupRegistry(e,t){}init(e){super.init(e),(0,o.guidFor)(this),this.base??=this.application;let t=this.__registry__=new i.Registry({fallback:this.base.__registry__});this.__container__=t.container({owner:this}),this._booted=!1}boot(e){return this._bootPromise||(this._bootPromise=new r.RSVP.Promise((t=>{t(this._bootSync(e))}))),this._bootPromise}_bootSync(e){return this._booted||(this.cloneParentDependencies(),this.setupRegistry(e),this.base.runInstanceInitializers(this),this._booted=!0),this}setupRegistry(e=this.__container__.lookup("-environment:main")){this.constructor.setupRegistry(this.__registry__,e)}unregister(e){this.__container__.reset(e),this.__registry__.unregister(e)}buildChildEngineInstance(e,t={}){let r=this.lookup(`engine:${e}`);if(!r)throw new Error(`You attempted to mount the engine '${e}', but it is not registered with its parent.`);let n=r.buildInstance(t);return(0,s.setEngineParent)(n,this),n}cloneParentDependencies(){const e=(0,s.getEngineParent)(this);["route:basic","service:-routing"].forEach((t=>{let r=e.resolveRegistration(t);this.register(t,r)}));let t=e.lookup("-environment:main");this.register("-environment:main",t,{instantiate:!1});let r=["router:main",i.privatize`-bucket-cache:main`,"-view-registry:main","renderer:-dom","service:-document"];t.isInteractive&&r.push("event_dispatcher:main"),r.forEach((t=>{let r=e.lookup(t);this.register(t,r,{instantiate:!1})}))}}e.default=u})),e("@ember/engine/lib/engine-parent",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ENGINE_PARENT=void 0,e.getEngineParent=function(e){return e[t]},e.setEngineParent=function(e,r){e[t]=r};const t=e.ENGINE_PARENT=Symbol("ENGINE_PARENT")})),e("@ember/enumerable/index",["exports","@ember/object/mixin"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const r=t.default.create();e.default=r})),e("@ember/enumerable/mutable",["exports","@ember/enumerable","@ember/object/mixin"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const n=r.default.create(t.default);e.default=n})),e("@ember/helper/index",["exports","@glimmer/manager","@glimmer/runtime","@ember/-internals/glimmer"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.uniqueId=e.setHelperManager=e.invokeHelper=e.hash=e.get=e.fn=e.concat=e.capabilities=e.array=void 0;e.capabilities=t.helperCapabilities,e.setHelperManager=t.setHelperManager,e.invokeHelper=r.invokeHelper,e.hash=r.hash,e.array=r.array,e.concat=r.concat,e.get=r.get,e.fn=r.fn,e.uniqueId=n.uniqueId})),e("@ember/instrumentation/index",["exports","@ember/-internals/environment","@ember/debug"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._instrumentStart=a,e.flaggedInstrument=function(e,t,r){return r()},e.instrument=function(e,t,r,i){let o,l,u;arguments.length<=3&&(c=t,"function"==typeof c)?(l=t,u=r):(o=t,l=r,u=i);var c;if(0===n.length)return l.call(u);let p=o||{},d=a(e,(()=>p));return d===s?l.call(u):function(e,t,r,n){try{return e.call(n)}catch(e){throw r.exception=e,e}finally{t()}}(l,d,p,u)},e.reset=function(){n.length=0,i={}},e.subscribe=function(e,t){let r=e.split("."),o=[];for(let e of r)"*"===e?o.push("[^\\.]*"):o.push(e);let s=o.join("\\.");s=`${s}(\\..*)?`;let a={pattern:e,regex:new RegExp(`^${s}$`),object:t};return n.push(a),i={},a},e.subscribers=void 0,e.unsubscribe=function(e){let t=0;for(let r=0;r{let e="undefined"!=typeof window&&window.performance||{},t=e.now||e.mozNow||e.webkitNow||e.msNow||e.oNow;return t?t.bind(e):Date.now})();function s(){}function a(e,r,a){if(0===n.length)return s;let l=i[e];if(l||(l=function(e){let t=[];for(let r of n)r.regex.test(e)&&t.push(r.object);return i[e]=t,t}(e)),0===l.length)return s;let u,c=r(a),p=t.ENV.STRUCTURED_PROFILE;p&&(u=`${e}: ${c.object}`,console.time(u));let d=[],h=o();for(let t of l)d.push(t.before(e,h,c));const m=l;return function(){let t=o();for(let r=0;r{e=i.call(this)}));return(0,n.updateTag)(r,o),(0,n.consumeTag)(o),e}),r};function o(...e){if((0,t.isElementDescriptor)(e)){let[t,r,n]=e;return i(t,r,n)}{const r=e[0];let n=function(e,t,n,o,s){return i(e,t,r)};return(0,t.setClassicDecorator)(n),n}}(0,t.setClassicDecorator)(o)})),e("@ember/object/computed",["exports","@ember/-internals/metal","@ember/object/lib/computed/computed_macros","@ember/object/lib/computed/reduce_computed_macros"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"alias",{enumerable:!0,get:function(){return t.alias}}),Object.defineProperty(e,"and",{enumerable:!0,get:function(){return r.and}}),Object.defineProperty(e,"bool",{enumerable:!0,get:function(){return r.bool}}),Object.defineProperty(e,"collect",{enumerable:!0,get:function(){return n.collect}}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.ComputedProperty}}),Object.defineProperty(e,"deprecatingAlias",{enumerable:!0,get:function(){return r.deprecatingAlias}}),Object.defineProperty(e,"empty",{enumerable:!0,get:function(){return r.empty}}),Object.defineProperty(e,"equal",{enumerable:!0,get:function(){return r.equal}}),Object.defineProperty(e,"expandProperties",{enumerable:!0,get:function(){return t.expandProperties}}),Object.defineProperty(e,"filter",{enumerable:!0,get:function(){return n.filter}}),Object.defineProperty(e,"filterBy",{enumerable:!0,get:function(){return n.filterBy}}),Object.defineProperty(e,"gt",{enumerable:!0,get:function(){return r.gt}}),Object.defineProperty(e,"gte",{enumerable:!0,get:function(){return r.gte}}),Object.defineProperty(e,"intersect",{enumerable:!0,get:function(){return n.intersect}}),Object.defineProperty(e,"lt",{enumerable:!0,get:function(){return r.lt}}),Object.defineProperty(e,"lte",{enumerable:!0,get:function(){return r.lte}}),Object.defineProperty(e,"map",{enumerable:!0,get:function(){return n.map}}),Object.defineProperty(e,"mapBy",{enumerable:!0,get:function(){return n.mapBy}}),Object.defineProperty(e,"match",{enumerable:!0,get:function(){return r.match}}),Object.defineProperty(e,"max",{enumerable:!0,get:function(){return n.max}}),Object.defineProperty(e,"min",{enumerable:!0,get:function(){return n.min}}),Object.defineProperty(e,"none",{enumerable:!0,get:function(){return r.none}}),Object.defineProperty(e,"not",{enumerable:!0,get:function(){return r.not}}),Object.defineProperty(e,"notEmpty",{enumerable:!0,get:function(){return r.notEmpty}}),Object.defineProperty(e,"oneWay",{enumerable:!0,get:function(){return r.oneWay}}),Object.defineProperty(e,"or",{enumerable:!0,get:function(){return r.or}}),Object.defineProperty(e,"readOnly",{enumerable:!0,get:function(){return r.readOnly}}),Object.defineProperty(e,"reads",{enumerable:!0,get:function(){return r.oneWay}}),Object.defineProperty(e,"setDiff",{enumerable:!0,get:function(){return n.setDiff}}),Object.defineProperty(e,"sort",{enumerable:!0,get:function(){return n.sort}}),Object.defineProperty(e,"sum",{enumerable:!0,get:function(){return n.sum}}),Object.defineProperty(e,"union",{enumerable:!0,get:function(){return n.union}}),Object.defineProperty(e,"uniq",{enumerable:!0,get:function(){return n.uniq}}),Object.defineProperty(e,"uniqBy",{enumerable:!0,get:function(){return n.uniqBy}})})),e("@ember/object/core",["exports","@ember/-internals/container","@ember/-internals/owner","@ember/-internals/utils","@ember/-internals/meta","@ember/-internals/metal","@ember/object/mixin","@ember/-internals/runtime","@ember/array","@ember/debug","@glimmer/destroyable","@glimmer/owner"],(function(e,t,r,n,i,o,s,a,l,u,c,p){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const d=s.default.prototype.reopen,h=new WeakSet,m=new WeakMap,f=new Set;function g(e){f.has(e)||e.destroy()}function b(e,t){let r=(0,i.meta)(e);if(void 0!==t){let i=e.concatenatedProperties,s=e.mergedProperties,a=Object.keys(t);for(let u of a){let a=t[u],c=(0,o.descriptorForProperty)(e,u,r),p=void 0!==c;if(!p){if(void 0!==i&&i.length>0&&i.includes(u)){let t=e[u];a=t?(0,l.makeArray)(t).concat(a):(0,l.makeArray)(a)}if(void 0!==s&&s.length>0&&s.includes(u)){let t=e[u];a=Object.assign({},t,a)}}p?c.set(e,u,a):"object"!=typeof(n=e)||null===n||"function"!=typeof n.setUnknownProperty||u in e?e[u]=a:e.setUnknownProperty(u,a)}}var n;e.init(t),r.unsetInitializing();let s=r.observerEvents();if(void 0!==s)for(let t=0;tr.willDestroy())),(0,i.meta)(t).setInitializing()}reopen(...e){return(0,s.applyMixin)(this,e),this}init(e){}get isDestroyed(){return(0,c.isDestroyed)(this)}set isDestroyed(e){}get isDestroying(){return(0,c.isDestroying)(this)}set isDestroying(e){}destroy(){f.add(this);try{(0,c.destroy)(this)}finally{f.delete(this)}return this}willDestroy(){}toString(){let e="object"==typeof(r=this)&&null!==r&&"function"==typeof r.toStringExtension?`:${this.toStringExtension()}`:"";var r;return`<${(0,t.getFactoryFor)(this)||"(unknown)"}:${(0,n.guidFor)(this)}${e}>`}static extend(...e){let t=class extends(this){};return d.apply(t.PrototypeMixin,e),t}static create(...e){let n,i=e[0];if(void 0!==i){n=new this((0,r.getOwner)(i));let e=(0,t.getFactoryFor)(i);(0,t.setFactoryFor)(n,e)}else n=new this;return e.length<=1?b(n,i):b(n,v.apply(this,e)),n}static reopen(...e){return this.willReopen(),d.apply(this.PrototypeMixin,e),this}static willReopen(){let e=this.prototype;h.has(e)&&(h.delete(e),m.has(this)&&m.set(this,s.default.create(this.PrototypeMixin)))}static reopenClass(...e){return(0,s.applyMixin)(this,e),this}static detect(e){if("function"!=typeof e)return!1;for(;e;){if(e===this)return!0;e=e.superclass}return!1}static detectInstance(e){return e instanceof this}static metaForProperty(e){let t=this.proto(),r=(0,o.descriptorForProperty)(t,e);return r._meta||{}}static eachComputedProperty(e,t=this){this.proto();let r={};(0,i.meta)(this.prototype).forEachDescriptors(((n,i)=>{if(i.enumerable){let o=i._meta||r;e.call(t,n,o)}}))}static get PrototypeMixin(){let e=m.get(this);return void 0===e&&(e=s.default.create(),e.ownerConstructor=this,m.set(this,e)),e}static get superclass(){let e=Object.getPrototypeOf(this);return e!==Function.prototype?e:void 0}static proto(){let e=this.prototype;if(!h.has(e)){h.add(e);let t=this.superclass;t&&t.proto(),m.has(this)&&this.PrototypeMixin.apply(e)}return e}static toString(){return`<${(0,t.getFactoryFor)(this)||"(unknown)"}:constructor>`}}function v(...e){let t={};for(let r of e){let e=Object.keys(r);for(let n=0,i=e.length;nl.push(e)));return(0,o.setObservers)(t,{paths:l,sync:s}),t},Object.defineProperty(e,"set",{enumerable:!0,get:function(){return n.set}}),Object.defineProperty(e,"setProperties",{enumerable:!0,get:function(){return n.setProperties}}),Object.defineProperty(e,"trySet",{enumerable:!0,get:function(){return n.trySet}});class l extends(s.default.extend(a.default)){get _debugContainerKey(){let e=(0,i.getFactoryFor)(this);return void 0!==e&&e.fullName}}e.default=l;const u=new WeakMap;function c(e,t,r){var n;if(null!=(n=e)&&void 0!==n.constructor&&"function"==typeof n.constructor.proto&&e.constructor.proto(),!Object.prototype.hasOwnProperty.call(e,"actions")){let t=e.actions;e.actions=t?Object.assign({},t):{}}return e.actions[t]=r,{get(){let e=u.get(this);void 0===e&&(e=new Map,u.set(this,e));let t=e.get(r);return void 0===t&&(t=r.bind(this),e.set(r,t)),t}}}function p(...e){let t;if(!(0,n.isElementDescriptor)(e)){t=e[0];let r=function(e,r,n,i,o){return c(e,r,t)};return(0,n.setClassicDecorator)(r),r}let[r,i,o]=e;return t=o?.value,c(r,i,t)}(0,n.setClassicDecorator)(p)})),e("@ember/object/internals",["exports","@ember/object/-internals"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cacheFor",{enumerable:!0,get:function(){return t.cacheFor}}),Object.defineProperty(e,"guidFor",{enumerable:!0,get:function(){return t.guidFor}})})),e("@ember/object/lib/computed/computed_macros",["exports","@ember/-internals/metal","@ember/object","@ember/debug","@ember/utils"],(function(e,t,r,n,i){"use strict";function o(e,n){return(e,...i)=>{let o=[e,...i],s=function(e,r){let n=[];function i(e){n.push(e)}for(let e of r)(0,t.expandProperties)(e,i);return n}(0,o);return(0,t.computed)(...s,(function(){let e=s.length-1;for(let t=0;tn}))},e.gte=function(e,n){return(0,t.computed)(e,(function(){return(0,r.get)(this,e)>=n}))},e.lt=function(e,n){return(0,t.computed)(e,(function(){return(0,r.get)(this,e)e)),e.or=o(0,(e=>!e))})),e("@ember/object/lib/computed/reduce_computed_macros",["exports","@ember/debug","@ember/-internals/metal","@ember/object","@ember/utils","@ember/array"],(function(e,t,r,n,i,o){"use strict";function s(e){return Array.isArray(e)||o.default.detect(e)}function a(e,t,r,i){return(0,n.computed)(`${e}.[]`,(function(){let i=(0,n.get)(this,e);return null===i||"object"!=typeof i?r:i.reduce(t,r,this)})).readOnly()}function l(e,t,r){let i;return/@each/.test(e)?i=e.replace(/\.@each.*$/,""):(i=e,e+=".[]"),(0,n.computed)(e,...t,(function(){let e=(0,n.get)(this,i);return s(e)?(0,o.A)(r.call(this,e)):(0,o.A)()})).readOnly()}function u(e,t,r){let i=e.map((e=>`${e}.[]`));return(0,n.computed)(...i,(function(){return(0,o.A)(t.call(this,e))})).readOnly()}function c(e,t,r){let n;"function"==typeof t?(r=t,n=[]):n=t;const i=r;return l(e,n,(function(e){return Array.isArray(e),e.map(i,this)}))}function p(e,t,r){let n;"function"==typeof t?(r=t,n=[]):n=t;const i=r;return l(e,n,(function(e){return Array.isArray(e),e.filter(i,this)}))}function d(e,...t){return u([e,...t],(function(e){let t=(0,o.A)(),r=new Set;return e.forEach((e=>{let i=(0,n.get)(this,e);s(i)&&i.forEach((e=>{r.has(e)||(r.add(e),t.push(e))}))})),t}))}Object.defineProperty(e,"__esModule",{value:!0}),e.collect=function(e,...t){let r=[e,...t];return u(r,(function(){let e=r.map((e=>{let t=(0,n.get)(this,e);return void 0===t?null:t}));return(0,o.A)(e)}),"collect")},e.filter=p,e.filterBy=function(e,t,r){let i;i=2===arguments.length?e=>(0,n.get)(e,t):e=>(0,n.get)(e,t)===r;return p(`${e}.@each.${t}`,i)},e.intersect=function(e,...t){return u([e,...t],(function(e){let t=e.map((e=>{let t=(0,n.get)(this,e);return Array.isArray(t)?t:[]})),r=t.pop(),i=r.filter((e=>{for(let r of t){let t=!1;for(let n of r)if(n===e){t=!0;break}if(!1===t)return!1}return!0}));return(0,o.A)(i)}),"intersect")},e.map=c,e.mapBy=function(e,t){return c(`${e}.@each.${t}`,(e=>(0,n.get)(e,t)))},e.max=function(e){return a(e,((e,t)=>Math.max(e,t)),-1/0,"max")},e.min=function(e){return a(e,((e,t)=>Math.min(e,t)),1/0,"min")},e.setDiff=function(e,t){return(0,n.computed)(`${e}.[]`,`${t}.[]`,(function(){let r=(0,n.get)(this,e),i=(0,n.get)(this,t);return s(r)?s(i)?r.filter((e=>-1===i.indexOf(e))):r:(0,o.A)()})).readOnly()},e.sort=function(e,t,a){!1;let u,c;Array.isArray(t)?(u=t,c=a):(u=[],c=t);return"function"==typeof c?function(e,t,r){return l(e,t,(function(e){return e.slice().sort(((e,t)=>r.call(this,e,t)))}))}(e,u,c):function(e,t){let a=(0,r.autoComputed)((function(r){let a=(0,n.get)(this,t);let l="@this"===e,u=function(e){let t=e=>{let[t,r]=e.split(":");return r=r||"asc",[t,r]};return Array.isArray(e),e.map(t)}(a),c=l?this:(0,n.get)(this,e);return s(c)?0===u.length?(0,o.A)(c.slice()):function(e,t){return(0,o.A)(e.slice().sort(((e,r)=>{for(let[o,s]of t){let t=(0,i.compare)((0,n.get)(e,o),(0,n.get)(r,o));if(0!==t)return"desc"===s?-1*t:t}return 0})))}(c,u):(0,o.A)()})).readOnly();return a}(e,c)},e.sum=function(e){return a(e,((e,t)=>e+t),0,"sum")},e.union=void 0,e.uniq=d,e.uniqBy=function(e,t){return(0,n.computed)(`${e}.[]`,(function(){let r=(0,n.get)(this,e);return s(r)?(0,o.uniqBy)(r,t):(0,o.A)()})).readOnly()};e.union=d})),e("@ember/object/mixin",["exports","@ember/-internals/container","@ember/-internals/meta","@ember/-internals/utils","@ember/debug","@ember/-internals/metal","@ember/object/events"],(function(e,t,r,n,i,o,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.applyMixin=y,e.default=void 0,e.mixin=function(e,...t){return y(e,t),e};const a=Array.prototype.concat,{isArray:l}=Array;function u(e,t,r,n){let i=r[e]||n[e];return t[e]&&(i=i?a.call(i,t[e]):t[e]),i}function c(e,t,r,i){if(!0===r)return t;let s=r._getter;if(void 0===s)return t;let a=i[e],l="function"==typeof a?(0,o.descriptorForDecorator)(a):a;if(void 0===l||!0===l)return t;let u=l._getter;if(void 0===u)return t;let c,p=(0,n.wrap)(s,u),d=r._setter,h=l._setter;if(c=void 0!==h?void 0!==d?(0,n.wrap)(d,h):h:d,p!==s||c!==d){let e=r._dependentKeys||[],t=new o.ComputedProperty([...e,{get:p,set:c}]);return t._readOnly=r._readOnly,t._meta=r._meta,t.enumerable=r.enumerable,(0,o.makeComputedDecorator)(t,o.ComputedProperty)}return t}function p(e,t,r,i){if(void 0!==i[e])return t;let o=r[e];return"function"==typeof o?(0,n.wrap)(t,o):t}function d(e){return e?Array.isArray(e)?e:[e]:[]}function h(e,t,r){let n=d(r[e]).concat(d(t));return n}function m(e,t,r){let i=r[e];if(!i)return t;let o=Object.assign({},i),s=!1,a=Object.keys(t);for(let e of a){let r=t[e];"function"==typeof r?(s=!0,o[e]=p(e,r,i,{})):o[e]=r}return s&&(o._super=n.ROOT),o}function f(e,t,r,n,i,o,s){let a;for(let l=0;l{let t=o.indexOf(e);-1!==t&&o.splice(t,1)})))}else g(t,a,r,n,i,o,s)}function g(e,t,r,n,i,s,a){let l=u("concatenatedProperties",t,n,i),d=u("mergedProperties",t,n,i),f=Object.keys(t);for(let u of f){let f=t[u];if(void 0===f)continue;if(-1===s.indexOf(u)){s.push(u);let t=e.peekDescriptors(u);if(void 0===t){if(!(0,o.isClassicDecorator)(f)){let e=n[u]=i[u];"function"==typeof e&&b(i,u,e,!1)}}else r[u]=t,a.push(u),t.teardown(i,u,e)}let g="function"==typeof f;if(g){let e=(0,o.descriptorForDecorator)(f);if(void 0!==e){r[u]=c(u,f,e,r),n[u]=void 0;continue}}l&&l.indexOf(u)>=0||"concatenatedProperties"===u||"mergedProperties"===u?f=h(u,f,n):d&&d.indexOf(u)>-1?f=m(u,f,n):g&&(f=p(u,f,n,r)),n[u]=f,r[u]=void 0}}function b(e,t,r,i){let a=(0,n.observerListenerMetaFor)(r);if(void 0===a)return;let{observers:l,listeners:u}=a;if(void 0!==l){let r=i?o.addObserver:o.removeObserver;for(let n of l.paths)r(e,n,null,t,l.sync)}if(void 0!==u){let r=i?s.addListener:s.removeListener;for(let n of u)r(e,n,null,t)}}function y(e,t,i=!1){let s=Object.create(null),a=Object.create(null),l=(0,r.meta)(e),u=[],c=[];e._super=n.ROOT,f(t,l,s,a,e,u,c);for(let t of u){let r=a[t],n=s[t];void 0!==r?("function"==typeof r&&b(e,t,r,!0),(0,o.defineValue)(e,t,r,-1!==c.indexOf(t),!i)):void 0!==n&&(0,o.defineDecorator)(e,t,n,l)}return l.isPrototypeMeta(e)||(0,o.revalidateObservers)(e),e}const v=new WeakSet;class _{constructor(e,t){v.add(this),this.properties=function(e){if(void 0!==e)for(let t of Object.keys(e)){let r=Object.getOwnPropertyDescriptor(e,t);void 0===r.get&&void 0===r.set||Object.defineProperty(e,t,{value:(0,o.nativeDescDecorator)(r)})}return e}(t),this.mixins=O(e),this.ownerConstructor=void 0,this._without=void 0}static create(...e){(0,o.setUnprocessedMixins)();return new this(e,void 0)}static mixins(e){let t=(0,r.peekMeta)(e),n=[];return null===t||t.forEachMixins((e=>{e.properties||n.push(e)})),n}reopen(...e){if(0===e.length)return this;if(this.properties){let e=new _(void 0,this.properties);this.properties=void 0,this.mixins=[e]}else this.mixins||(this.mixins=[]);return this.mixins=this.mixins.concat(O(e)),this}apply(e,t=!1){return y(e,[this],t)}applyPartial(e){return y(e,[this])}detect(e){if("object"!=typeof e||null===e)return!1;if(v.has(e))return C(e,this);let t=(0,r.peekMeta)(e);return null!==t&&t.hasMixin(this)}without(...e){let t=new _([this]);return t._without=e,t}keys(){let e=E(this);return e}toString(){return"(unknown mixin)"}}function O(e){let t,r=e&&e.length||0;if(r>0){t=new Array(r);for(let n=0;nC(e,t,r)))}function E(e,t=new Set,r=new Set){if(!r.has(e)){if(r.add(e),e.properties){let r=Object.keys(e.properties);for(let e of r)t.add(e)}else e.mixins&&e.mixins.forEach((e=>E(e,t,r)));return t}}e.default=_})),e("@ember/object/observable",["exports","@ember/-internals/meta","@ember/-internals/metal","@ember/object","@ember/object/mixin","@ember/debug"],(function(e,t,r,n,i,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const s=i.default.create({get(e){return(0,n.get)(this,e)},getProperties(...e){return(0,n.getProperties)(this,...e)},set(e,t){return(0,n.set)(this,e,t)},setProperties(e){return(0,n.setProperties)(this,e)},beginPropertyChanges(){return(0,r.beginPropertyChanges)(),this},endPropertyChanges(){return(0,r.endPropertyChanges)(),this},notifyPropertyChange(e){return(0,r.notifyPropertyChange)(this,e),this},addObserver(e,t,n,i){return(0,r.addObserver)(this,e,t,n,i),this},removeObserver(e,t,n,i){return(0,r.removeObserver)(this,e,t,n,i),this},hasObserverFor(e){return(0,r.hasListeners)(this,`${e}:change`)},incrementProperty(e,t=1){return(0,n.set)(this,e,(parseFloat((0,n.get)(this,e))||0)+t)},decrementProperty(e,t=1){return(0,n.set)(this,e,((0,n.get)(this,e)||0)-t)},toggleProperty(e){return(0,n.set)(this,e,!(0,n.get)(this,e))},cacheFor(e){let r=(0,t.peekMeta)(this);return null!==r?r.valueFor(e):void 0}});e.default=s})),e("@ember/object/observers",["exports","@ember/-internals/metal"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addObserver",{enumerable:!0,get:function(){return t.addObserver}}),Object.defineProperty(e,"removeObserver",{enumerable:!0,get:function(){return t.removeObserver}})})),e("@ember/object/promise-proxy-mixin",["exports","@ember/object","@ember/object/mixin"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;const n=r.default.create({reason:null,isPending:(0,t.computed)("isSettled",(function(){return!(0,t.get)(this,"isSettled")})).readOnly(),isSettled:(0,t.computed)("isRejected","isFulfilled",(function(){return(0,t.get)(this,"isRejected")||(0,t.get)(this,"isFulfilled")})).readOnly(),isRejected:!1,isFulfilled:!1,promise:(0,t.computed)({get(){throw new Error("PromiseProxy's promise must be set")},set(e,r){return function(e,r){return(0,t.setProperties)(e,{isFulfilled:!1,isRejected:!1}),r.then((r=>(e.isDestroyed||e.isDestroying||(0,t.setProperties)(e,{content:r,isFulfilled:!0}),r)),(r=>{throw e.isDestroyed||e.isDestroying||(0,t.setProperties)(e,{reason:r,isRejected:!0}),r}),"Ember: PromiseProxy")}(this,r)}}),then:i("then"),catch:i("catch"),finally:i("finally")});function i(e){return function(...r){return(0,t.get)(this,"promise")[e](...r)}}e.default=n})),e("@ember/object/proxy",["exports","@ember/object/-internals","@ember/-internals/runtime"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class n extends t.FrameworkObject{}n.PrototypeMixin.reopen(r._ProxyMixin);e.default=n})),e("@ember/owner/index",["exports","@ember/-internals/owner"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getOwner=void 0,Object.defineProperty(e,"setOwner",{enumerable:!0,get:function(){return t.setOwner}});e.getOwner=t.getOwner})),e("@ember/renderer/index",["exports","@ember/-internals/glimmer"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"renderSettled",{enumerable:!0,get:function(){return t.renderSettled}})})),e("@ember/routing/-internals",["exports","@ember/routing/lib/router_state","@ember/routing/lib/routing-service","@ember/routing/lib/utils","@ember/routing/lib/generate_controller","@ember/routing/lib/cache","@ember/routing/lib/dsl","@ember/routing/lib/controller_for"],(function(e,t,r,n,i,o,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BucketCache",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"DSL",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"RouterState",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"RoutingService",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"controllerFor",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"generateController",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"generateControllerFactory",{enumerable:!0,get:function(){return i.generateControllerFactory}}),Object.defineProperty(e,"prefixRouteNameArg",{enumerable:!0,get:function(){return n.prefixRouteNameArg}})})),e("@ember/routing/hash-location",["exports","@ember/object","@ember/runloop","@ember/routing/lib/location-utils"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class i extends t.default{constructor(){super(...arguments),this.lastSetURL=null}init(){this.location=this._location??window.location,this._hashchangeHandler=void 0}getHash(){return(0,n.getHash)(this.location)}getURL(){let e=this.getHash().substring(1),t=e;return"/"!==t[0]&&(t="/",e&&(t+=`#${e}`)),t}setURL(e){this.location.hash=e,this.lastSetURL=e}replaceURL(e){this.location.replace(`#${e}`),this.lastSetURL=e}onUpdateURL(e){this._removeEventListener(),this._hashchangeHandler=(0,r.bind)(this,(function(t){let r=this.getURL();this.lastSetURL!==r&&(this.lastSetURL=null,e(r))})),window.addEventListener("hashchange",this._hashchangeHandler)}formatURL(e){return`#${e}`}willDestroy(){this._removeEventListener()}_removeEventListener(){this._hashchangeHandler&&window.removeEventListener("hashchange",this._hashchangeHandler)}}e.default=i})),e("@ember/routing/history-location",["exports","@ember/object","@ember/debug","@ember/routing/lib/location-utils"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let i=!1;function o(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){let t,r;return t=16*Math.random()|0,r="x"===e?t:3&t|8,r.toString(16)}))}class s extends t.default{constructor(){super(...arguments),this.rootURL="/"}getHash(){return(0,n.getHash)(this.location)}init(){this._super(...arguments);let e=document.querySelector("base"),t="";null!==e&&e.hasAttribute("href")&&(t=e.getAttribute("href")??""),this.baseURL=t,this.location=this.location??window.location,this._popstateHandler=void 0}initState(){let e=this.history??window.history;this.history=e;let{state:t}=e,r=this.formatURL(this.getURL());t&&t.path===r?this._previousURL=this.getURL():this.replaceState(r)}getURL(){let{location:e,rootURL:t,baseURL:r}=this,n=e.pathname;t=t.replace(/\/$/,""),r=r.replace(/\/$/,"");let i=n.replace(new RegExp(`^${r}(?=/|$)`),"").replace(new RegExp(`^${t}(?=/|$)`),"").replace(/\/\//g,"/");return i+=(e.search||"")+this.getHash(),i}setURL(e){let{state:t}=this.history;e=this.formatURL(e),t&&t.path===e||this.pushState(e)}replaceURL(e){let{state:t}=this.history;e=this.formatURL(e),t&&t.path===e||this.replaceState(e)}pushState(e){let t={path:e,uuid:o()};this.history.pushState(t,"",e),this._previousURL=this.getURL()}replaceState(e){let t={path:e,uuid:o()};this.history.replaceState(t,"",e),this._previousURL=this.getURL()}onUpdateURL(e){this._removeEventListener(),this._popstateHandler=()=>{(i||(i=!0,this.getURL()!==this._previousURL))&&e(this.getURL())},window.addEventListener("popstate",this._popstateHandler)}formatURL(e){let{rootURL:t,baseURL:r}=this;return""!==e?(t=t.replace(/\/$/,""),r=r.replace(/\/$/,"")):"/"===r[0]&&"/"===t[0]&&(r=r.replace(/\/$/,"")),r+t+e}willDestroy(){this._removeEventListener()}_removeEventListener(){this._popstateHandler&&window.removeEventListener("popstate",this._popstateHandler)}}e.default=s})),e("@ember/routing/index",["exports","@ember/-internals/glimmer"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LinkTo",{enumerable:!0,get:function(){return t.LinkTo}})})),e("@ember/routing/lib/cache",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=class{constructor(){this.cache=new Map}has(e){return this.cache.has(e)}stash(e,t,r){let n=this.cache.get(e);void 0===n&&(n=new Map,this.cache.set(e,n)),n.set(t,r)}lookup(e,t,r){if(!this.has(e))return r;let n=this.cache.get(e);return n.has(t)?n.get(t):r}}})),e("@ember/routing/lib/controller_for",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t,r){return e.lookup(`controller:${t}`,r)}})),e("@ember/routing/lib/dsl",["exports","@ember/debug"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let r=0;function n(e){return"function"==typeof e}class i{constructor(e=null,t){this.explicitIndex=!1,this.parent=e,this.enableLoadingSubstates=Boolean(t&&t.enableLoadingSubstates),this.matches=[],this.options=t}route(e,t,r){let a,l=null,u=`/_unused_dummy_error_path_route_${e}/:error`;if(n(t)?(a={},l=t):n(r)?(a=t,l=r):a=t||{},this.enableLoadingSubstates&&(s(this,`${e}_loading`,{resetNamespace:a.resetNamespace}),s(this,`${e}_error`,{resetNamespace:a.resetNamespace,path:u})),l){let t=o(this,e,a.resetNamespace),r=new i(t,this.options);s(r,"loading"),s(r,"error",{path:u}),l.call(r),s(this,e,a,r.generate())}else s(this,e,a)}push(e,t,r,n){let i=t.split(".");if(this.options.engineInfo){let e=t.slice(this.options.engineInfo.fullName.length+1),r=Object.assign({localFullName:e},this.options.engineInfo);n&&(r.serializeMethod=n),this.options.addRouteForEngine(t,r)}else if(n)throw new Error(`Defining a route serializer on route '${t}' outside an Engine is not allowed.`);""!==e&&"/"!==e&&"index"!==i[i.length-1]||(this.explicitIndex=!0),this.matches.push(e,t,r)}generate(){let e=this.matches;return this.explicitIndex||this.route("index",{path:"/"}),t=>{for(let r=0;r`(generated ${t} controller)`});let i=`controller:${t}`;return e.register(i,n),e.factoryFor(i)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(e,t){i(e,t);let r=`controller:${t}`,n=e.lookup(r);!1;return n},e.generateControllerFactory=i})),e("@ember/routing/lib/location-utils",["exports"],(function(e){"use strict";function t(e){let t=e.pathname;return"/"!==t[0]&&(t=`/${t}`),t}function r(e){return e.search}function n(e){return void 0!==e.hash?e.hash.substring(0):""}function i(e){let t=e.origin;return t||(t=`${e.protocol}//${e.hostname}`,e.port&&(t+=`:${e.port}`)),t}Object.defineProperty(e,"__esModule",{value:!0}),e.getFullPath=function(e){return t(e)+r(e)+n(e)},e.getHash=n,e.getOrigin=i,e.getPath=t,e.getQuery=r,e.replacePath=function(e,t){e.replace(i(e)+t)}})),e("@ember/routing/lib/query_params",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=class{constructor(e=null){this.isQueryParams=!0,this.values=e}}})),e("@ember/routing/lib/route-info",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),e("@ember/routing/lib/router_state",["exports","@ember/routing/lib/utils"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=class{constructor(e,t,r){this.emberRouter=e,this.router=t,this.routerJsState=r}isActiveIntent(e,r,n){let i=this.routerJsState;if(!this.router.isActiveIntent(e,r,void 0,i))return!1;if(void 0!==n&&Object.keys(n).length>0){let o=Object.assign({},n);return this.emberRouter._prepareQueryParams(e,r,o),(0,t.shallowEqual)(o,i.queryParams)}return!0}}})),e("@ember/routing/lib/routing-service",["exports","@ember/-internals/owner","@ember/debug","@ember/object/computed","@ember/service","@ember/routing/router","@ember/routing/router-service"],(function(e,t,r,n,i,o,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class a extends i.default{get router(){let e=this[s.ROUTER];if(void 0!==e)return e;let r=(0,t.getOwner)(this),n=r.lookup("router:main");return n.setupRouter(),this[s.ROUTER]=n}hasRoute(e){return this.router.hasRoute(e)}transitionTo(e,t,r,n){let i=this.router._doTransition(e,t,r);return n&&i.method("replace"),i}normalizeQueryParams(e,t,r){this.router._prepareQueryParams(e,t,r)}_generateURL(e,t,r){let n={};return r&&(Object.assign(n,r),this.normalizeQueryParams(e,t,n)),this.router.generate(e,...t,{queryParams:n})}generateURL(e,t,r){if(this.router._initialTransitionStarted)return this._generateURL(e,t,r);try{return this._generateURL(e,t,r)}catch(e){return}}isActiveForRoute(e,t,r,n){let i=this.router._routerMicrolib.recognizer.handlersFor(r),o=i[i.length-1].handler,s=function(e,t){let r=0;for(let n=0;ns&&(r=o),n.isActiveIntent(r,e,t)}}e.default=a,a.reopen({targetState:(0,n.readOnly)("router.targetState"),currentState:(0,n.readOnly)("router.currentState"),currentRouteName:(0,n.readOnly)("router.currentRouteName"),currentPath:(0,n.readOnly)("router.currentPath")})})),e("@ember/routing/lib/utils",["exports","@ember/-internals/metal","@ember/-internals/owner","@ember/debug","@ember/engine/instance","router_js"],(function(e,t,r,n,i,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.calculateCacheKey=function(e,r=[],n){let i="";for(let o of r){let r,s=a(e,o);if(n)if(s&&s in n){let e=0===o.indexOf(s)?o.substring(s.length+1):o;r=(0,t.get)(n[s],e)}else r=(0,t.get)(n,o);i+=`::${o}:${r}`}return e+i.replace(s,"-")},e.extractRouteArgs=function(e){let t,r,n=(e=e.slice())[e.length-1];!function(e){if(e&&"object"==typeof e){let t=e.queryParams;if(t&&"object"==typeof t)return Object.keys(t).every((e=>"string"==typeof e))}return!1}(n)?t={}:(e.pop(),t=n.queryParams);"string"==typeof e[0]&&(r=e.shift());return{routeName:r,models:e,queryParams:t}},e.getActiveTargetName=function(e){let t=e.activeTransition?e.activeTransition[o.STATE_SYMBOL].routeInfos:e.state.routeInfos,r=t[t.length-1];return r.name},e.normalizeControllerQueryParams=function(e){let t={};for(let r of e)l(r,t);return t},e.prefixRouteNameArg=function(e,t){let n,i=(0,r.getOwner)(e);let o=i.mountPoint;if(i.routable&&"string"==typeof t[0]){if(n=t[0],u(n))throw new Error("Programmatic transitions by URL cannot be used within an Engine. Please use the route name instead.");n=`${o}.${n}`,t[0]=n}return t},e.resemblesURL=u,e.shallowEqual=function(e,t){let r=0,n=0;for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(e[n]!==t[n])return!1;r++}for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&n++;return r===n},e.stashParamNames=function(e,t){if(t._namesStashed)return;let r=t[t.length-1];let n,i=r.name,o=e._routerMicrolib.recognizer.handlersFor(i);for(let e=0;e=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const E=Symbol("render"),w=Symbol("render-state");class k extends(s.default.extend(u.ActionHandler,a.default)){constructor(e){if(super(e),this.context={},this[O]=void 0,e){let r=e.lookup("router:main"),n=e.lookup(t.privatize`-bucket-cache:main`);this._router=r,this._bucketCache=n,this._topLevelViewTemplate=e.lookup("template:-outlet"),this._environment=e.lookup("-environment:main")}}serialize(e,t){if(t.length<1||!e)return;let r={};if(1===t.length){let[n]=t;"object"==typeof e&&n in e?r[n]=(0,s.get)(e,n):/_id$/.test(n)?r[n]=(0,s.get)(e,"id"):(0,p.isProxy)(e)&&(r[n]=(0,s.get)(e,n))}else r=(0,s.getProperties)(e,t);return r}_setRouteName(e){this.routeName=e;let t=(0,n.getOwner)(this);this.fullRouteName=P(t,e)}_stashNames(e,t){if(this._names)return;let r=this._names=e._names;r.length||(r=(e=t)&&e._names||[]);let n=(0,s.get)(this,"_qp").qps,i=new Array(r.length);for(let t=0;t(e[t]=r,e)),a)}serializeQueryParamKey(e){return e}serializeQueryParam(e,t,r){return this._router._serializeQueryParam(e,r)}deserializeQueryParam(e,t,r){return this._router._deserializeQueryParam(e,r)}_optionsForQueryParam(e){const t=(0,s.get)(this,"queryParams");return(0,s.get)(t,e.urlKey)||(0,s.get)(t,e.prop)||t[e.urlKey]||t[e.prop]||{}}resetController(e,t,r){return this}exit(e){this.deactivate(e),this.trigger("deactivate",e),this.teardownViews()}_internalReset(e,t){let r=this.controller;r._qpDelegate=(0,s.get)(this,"_qp").states.inactive,this.resetController(r,e,t)}enter(e){this[w]=void 0,this.activate(e),this.trigger("activate",e)}deactivate(e){}activate(e){}intermediateTransitionTo(...e){let[t,...r]=(0,_.prefixRouteNameArg)(this,e);this._router.intermediateTransitionTo(t,...r)}refresh(){return this._router._routerMicrolib.refresh(this)}setup(e,t){let n=this.controllerName||this.routeName,i=this.controllerFor(n,!0)??this.generateController(n),o=(0,s.get)(this,"_qp");if(!this.controller){let e=o.propertyNames;!function(e,t){t.forEach((t=>{if(void 0===(0,r.descriptorForProperty)(e,t)){let n=(0,p.lookupDescriptor)(e,t);null===n||"function"!=typeof n.get&&"function"!=typeof n.set||(0,r.defineProperty)(e,t,(0,g.dependentKeyCompat)({get:n.get,set:n.set}))}(0,r.addObserver)(e,`${t}.[]`,e,e._qpChanged,!1)}))}(i,e),this.controller=i}let a=o.states;if(i._qpDelegate=a.allowOverrides,t){(0,_.stashParamNames)(this._router,t[y.STATE_SYMBOL].routeInfos);let e=this._bucketCache,r=t[y.PARAMS_SYMBOL];o.propertyNames.forEach((t=>{let n=o.map[t];n.values=r;let a=(0,_.calculateCacheKey)(n.route.fullRouteName,n.parts,n.values),l=e.lookup(a,t,n.undecoratedDefaultValue);(0,s.set)(i,t,l)}));let n=R(this,t[y.STATE_SYMBOL]);(0,s.setProperties)(i,n)}this.setupController(i,e,t),this._environment.options.shouldRender&&this[E](),(0,r.flushAsyncObservers)(!1)}_qpChanged(e,t,r){if(!r)return;let n=this._bucketCache,i=(0,_.calculateCacheKey)(r.route.fullRouteName,r.parts,r.values);n.stash(i,e,t)}beforeModel(e){}afterModel(e,t){}redirect(e,t){}contextDidChange(){this.currentModel=this.context}model(e,t){let r,n,i,o=(0,s.get)(this,"_qp").map;for(let t in e){if("queryParams"===t||o&&t in o)continue;let s=t.match(/^(.*)_id$/);null!==s&&(r=s[1],i=e[t]),n=!0}if(!r){if(n)return Object.assign({},e);if(t.resolveIndex<1)return;return t[y.STATE_SYMBOL].routeInfos[t.resolveIndex-1].context}return this.findModel(r,i)}deserialize(e,t){return this.model(this._paramsFor(this.routeName,e),t)}findModel(e,t){if(i.ENV._NO_IMPLICIT_ROUTE_MODEL)return;(0,m.deprecateUntil)(`The implicit model loading behavior for routes is deprecated. Please define an explicit model hook for ${this.fullRouteName}.`,m.DEPRECATIONS.DEPRECATE_IMPLICIT_ROUTE_MODEL);const r="store"in this?this.store:(0,s.get)(this,"_store");return r.find(e,t)}setupController(e,t,r){e&&void 0!==t&&(0,s.set)(e,"model",t)}controllerFor(e,t=!1){let r=(0,n.getOwner)(this),i=r.lookup(`route:${e}`);i&&i.controllerName&&(e=i.controllerName);let o=r.lookup(`controller:${e}`);return o}generateController(e){let t=(0,n.getOwner)(this);return(0,o.generateController)(t,e)}modelFor(e){let t,r=(0,n.getOwner)(this),i=this._router&&this._router._routerMicrolib?this._router._routerMicrolib.activeTransition:void 0;t=r.routable&&void 0!==i?P(r,e):e;let o=r.lookup(`route:${t}`);if(null!=i){let e=o&&o.routeName||t;if(Object.prototype.hasOwnProperty.call(i.resolvedModels,e))return i.resolvedModels[e]}return o?.currentModel}[(O=w,E)](){this[w]=function(e){let t=(0,n.getOwner)(e);let r=e.routeName,i=t.lookup(`controller:${e.controllerName||r}`);let o=e.currentModel,s=t.lookup(`template:${e.templateName||r}`),a={owner:t,into:void 0,outlet:"main",name:r,controller:i,model:o,template:s?.(t)??e._topLevelViewTemplate(t)};0;return a}(this),(0,b.once)(this._router,"_setOutlets")}willDestroy(){this.teardownViews()}teardownViews(){this[w]&&(this[w]=void 0,(0,b.once)(this._router,"_setOutlets"))}buildRouteInfoMetadata(){}_paramsFor(e,t){return void 0!==this._router._routerMicrolib.activeTransition?this.paramsFor(e):t}get _store(){const e=(0,n.getOwner)(this);this.routeName;return{find(t,r){let n=e.factoryFor(`model:${t}`);if(n)return n=n.class,n.find(r)}}}get _qp(){let e={},t=this.controllerName||this.routeName,r=(0,n.getOwner)(this),i=r.lookup(`controller:${t}`),a=(0,s.get)(this,"queryParams"),l=Object.keys(a).length>0;if(i){let t=(0,s.get)(i,"queryParams")||[];e=function(e,t){let r={},n={defaultValue:!0,type:!0,scope:!0,as:!0};for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i]={...e[i],...t[i]},n[i]=!0);for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&!n[i]&&(r[i]={...t[i],...e[i]});return r}((0,_.normalizeControllerQueryParams)(t),a)}else l&&(i=(0,o.generateController)(r,t),e=a);let u=[],p={},d=[];for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("unknownProperty"===r||"_super"===r)continue;let n,o=e[r],a=o.scope||"model";"controller"===a&&(n=[]);let l=o.as||this.serializeQueryParamKey(r),h=(0,s.get)(i,r);h=S(h);let m=o.type||(0,c.typeOf)(h),f=this.serializeQueryParam(h,l,m),g=`${t}:${r}`,b={undecoratedDefaultValue:(0,s.get)(i,r),defaultValue:h,serializedDefaultValue:f,serializedValue:f,type:m,urlKey:l,prop:r,scopedPropertyName:g,controllerName:t,route:this,parts:n,values:null,scope:a};p[r]=p[l]=p[g]=b,u.push(b),d.push(r)}return{qps:u,map:p,propertyNames:d,states:{inactive:(e,t)=>{let r=p[e];this._qpChanged(e,t,r)},active:(e,t)=>{let r=p[e];return this._qpChanged(e,t,r),this._activeQPChanged(r,t)},allowOverrides:(e,t)=>{let r=p[e];return this._qpChanged(e,t,r),this._updatingQPChanged(r)}}}}}function T(e,t){if(t.fullQueryParams)return t.fullQueryParams;let r=t.routeInfos.every((e=>e.route)),n={...t.queryParams};return e._deserializeQueryParams(t.routeInfos,n),r&&(t.fullQueryParams=n),n}function R(e,t){t.queryParamsFor=t.queryParamsFor||{};let r=e.fullRouteName,n=t.queryParamsFor[r];if(n)return n;let i=T(e._router,t),o=t.queryParamsFor[r]={},a=(0,s.get)(e,"_qp").qps;for(let e of a){let t=e.prop in i;o[e.prop]=t?i[e.prop]:S(e.defaultValue)}return o}function S(e){return Array.isArray(e)?(0,l.A)(e.slice()):e}function P(e,t){if(e.routable){let r=e.mountPoint;return"application"===t?r:`${r}.${t}`}return t}k.isRouteFactory=!0,C([s.computed],k.prototype,"_store",null),C([s.computed],k.prototype,"_qp",null);const A=e.defaultSerialize=k.prototype.serialize;k.reopen({mergedProperties:["queryParams"],queryParams:{},templateName:null,controllerName:null,send(...e){if(this._router&&this._router._routerMicrolib||!(0,h.isTesting)())this._router.send(...e);else{let t=e.shift(),r=this.actions[t];if(r)return r.apply(this,e)}},actions:{queryParamsDidChange(e,t,r){let n=(0,s.get)(this,"_qp").map,i=Object.keys(e).concat(Object.keys(r));for(let e of i){let t=n[e];if(t){let e=this._optionsForQueryParam(t);if((0,s.get)(e,"refreshModel")&&this._router.currentState){this.refresh();break}}}return!0},finalizeQueryParamChange(e,t,n){if("application"!==this.fullRouteName)return!0;if(!n)return;let i,o=n[y.STATE_SYMBOL].routeInfos,a=this._router,l=a._queryParamsFor(o),u=a._qpUpdates,c=!1;(0,_.stashParamNames)(a,o);for(let r of l.qps){let o,a,l=r.route,p=l.controller,d=r.urlKey in e&&r.urlKey;if(u.has(r.urlKey)?(o=(0,s.get)(p,r.prop),a=l.serializeQueryParam(o,r.urlKey,r.type)):d?(a=e[d],void 0!==a&&(o=l.deserializeQueryParam(a,r.urlKey,r.type))):(a=r.serializedDefaultValue,o=S(r.defaultValue)),p._qpDelegate=(0,s.get)(l,"_qp").states.inactive,a!==r.serializedValue){if(n.queryParamsOnly&&!1!==i){let e=l._optionsForQueryParam(r),t=(0,s.get)(e,"replace");t?i=!0:!1===t&&(i=!1)}(0,s.set)(p,r.prop,o),c=!0}r.serializedValue=a,r.serializedDefaultValue===a||t.push({value:a,visible:!0,key:d||r.urlKey})}!0===c&&(0,r.flushAsyncObservers)(!1),i&&n.method("replace"),l.qps.forEach((e=>{let t=(0,s.get)(e.route,"_qp");e.route.controller._qpDelegate=(0,s.get)(t,"states.active")})),a._qpUpdates.clear()}}});e.default=k})),e("@ember/routing/router-service",["exports","@ember/-internals/owner","@ember/object/evented","@ember/debug","@ember/object/computed","@ember/service","@glimmer/validator","@ember/routing/router","@ember/routing/lib/utils"],(function(e,t,r,n,i,o,s,a,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ROUTER=void 0;var u=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const c=e.ROUTER=Symbol("ROUTER");function p(e,t){return"/"===t?e:e.substring(t.length)}class d extends(o.default.extend(r.default)){get _router(){let e=this[c];if(void 0!==e)return e;let r=(0,t.getOwner)(this),n=r.lookup("router:main");return this[c]=n}willDestroy(){super.willDestroy(),this[c]=void 0}transitionTo(...e){if((0,l.resemblesURL)(e[0]))return this._router._doURLTransition("transitionTo",e[0]);let{routeName:t,models:r,queryParams:n}=(0,l.extractRouteArgs)(e);return this._router._doTransition(t,r,n,!0)}replaceWith(...e){return this.transitionTo(...e).method("replace")}urlFor(e,...t){return this._router.setupRouter(),this._router.generate(e,...t)}isActive(...e){let{routeName:t,models:r,queryParams:n}=(0,l.extractRouteArgs)(e),i=this._router._routerMicrolib;if((0,s.consumeTag)((0,s.tagFor)(this._router,"currentURL")),!i.isActiveIntent(t,r))return!1;if(Object.keys(n).length>0){let e=t;n=Object.assign({},n),this._router._prepareQueryParams(e,r,n,!0);let o=Object.assign({},i.state.queryParams);return this._router._prepareQueryParams(e,r,o,!0),(0,l.shallowEqual)(n,o)}return!0}recognize(e){this._router.setupRouter();let t=p(e,this.rootURL);return this._router._routerMicrolib.recognize(t)}recognizeAndLoad(e){this._router.setupRouter();let t=p(e,this.rootURL);return this._router._routerMicrolib.recognizeAndLoad(t)}refresh(e){if(!e)return this._router._routerMicrolib.refresh();let r=(0,t.getOwner)(this),n=r.lookup(`route:${e}`);return this._router._routerMicrolib.refresh(n)}}e.default=d,u([(0,i.readOnly)("_router.currentRouteName")],d.prototype,"currentRouteName",void 0),u([(0,i.readOnly)("_router.currentURL")],d.prototype,"currentURL",void 0),u([(0,i.readOnly)("_router.location")],d.prototype,"location",void 0),u([(0,i.readOnly)("_router.rootURL")],d.prototype,"rootURL",void 0),u([(0,i.readOnly)("_router.currentRoute")],d.prototype,"currentRoute",void 0)})),e("@ember/routing/router",["exports","@ember/-internals/container","@ember/object","@ember/owner","@ember/routing/-internals","@ember/routing/lib/utils","@ember/array","@ember/utils","@ember/object/evented","@ember/debug","@ember/runloop","@ember/routing/route","router_js","@ember/engine/instance"],(function(e,t,r,n,i,o,s,a,l,u,c,p,d,h){"use strict";function m(e){T(this),this._cancelSlowTransitionTimer(),this.notifyPropertyChange("url"),this.set("currentState",this.targetState)}function f(e,t){0}function g(){return this}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.triggerEvent=w;const{slice:b}=Array.prototype;class y extends(r.default.extend(l.default)){static map(e){return this.dslCallbacks||(this.dslCallbacks=[],this.reopenClass({dslCallbacks:this.dslCallbacks})),this.dslCallbacks.push(e),this}static _routePath(e){let t,r,n,i=[];function o(e,t){for(let r=0;r{e.setURL(n),(0,r.set)(t,"currentURL",n)}))}didTransition(e){t.didTransition(e)}willTransition(e,r){t.willTransition(e,r)}triggerEvent(e,r,n,i){return w.bind(t)(e,r,n,i)}routeWillChange(e){t.trigger("routeWillChange",e),t._routerService.trigger("routeWillChange",e),e.isIntermediate&&t.set("currentRoute",e.to)}routeDidChange(e){t.set("currentRoute",e.to),(0,c.once)((()=>{t.trigger("routeDidChange",e),t._routerService.trigger("routeDidChange",e)}))}transitionDidError(e,r){return e.wasAborted||r.isAborted?(0,d.logAbort)(r):(r.trigger(!1,"error",e.error,r,e.route),t._isErrorHandled(e.error)?(r.rollback(),this.routeDidChange(r),e.error):(r.abort(),e.error))}replaceURL(n){if(e.replaceURL){let i=()=>{e.replaceURL(n),(0,r.set)(t,"currentURL",n)};(0,c.once)(i)}else this.updateURL(n)}}let a=this._routerMicrolib=new s,l=this.constructor.dslCallbacks||[g],u=this._buildDSL();u.route("application",{path:"/",resetNamespace:!0,overrideNameAssertion:!0},(function(){for(let e=0;er.factoryFor(`route-map:${e}`),addRouteForEngine(e,r){t._engineInfoByRoute[e]||(t._engineInfoByRoute[e]=r)}};return new i.DSL(null,o)}_resetQueuedQueryParameterChanges(){this._queuedQPChanges={}}_hasModuleBasedResolver(){let e=(0,n.getOwner)(this),t=(0,r.get)(e,"application.__registry__.resolver.moduleBasedResolver");return Boolean(t)}startRouting(){if(this.setupRouter()){let e=(0,r.get)(this,"initialURL");void 0===e&&(e=(0,r.get)(this,"location").getURL());let t=this.handleURL(e);if(t&&t.error)throw t.error}}setupRouter(){if(this._didSetupRouter)return!1;this._didSetupRouter=!0,this._setupLocation();let e=(0,r.get)(this,"location");return!(0,r.get)(e,"cancelRouterSetup")&&(this._initRouterJs(),e.onUpdateURL((e=>{this.handleURL(e)})),!0)}_setOutlets(){if(this.isDestroying||this.isDestroyed)return;let e=this._routerMicrolib.currentRouteInfos;if(!e)return;let t=null,r=null;for(let n of e){let e=n.route,i=(0,p.getRenderState)(e);if(!i)break;{let e={render:i,outlets:{main:void 0}};r?r.outlets.main=e:t=e,r=e}}if(null!==t)if(this._toplevelView)this._toplevelView.setOutletState(t);else{let e=(0,n.getOwner)(this),r=e.factoryFor("view:-outlet"),i=e.lookup("application:main"),o=e.lookup("-environment:main"),s=e.lookup("template:-outlet");this._toplevelView=r.create({environment:o,template:s,application:i}),this._toplevelView.setOutletState(t);let a=e.lookup("-application-instance:main");a&&a.didCreateRootView(this._toplevelView)}}handleURL(e){let t=e.split(/#(.+)?/)[0];return this._doURLTransition("handleURL",t)}_doURLTransition(e,t){this._initialTransitionStarted=!0;let r=this._routerMicrolib[e](t||"/");return R(r,this),r}transitionTo(...e){if((0,o.resemblesURL)(e[0]))return this._doURLTransition("transitionTo",e[0]);let{routeName:t,models:r,queryParams:n}=(0,o.extractRouteArgs)(e);return this._doTransition(t,r,n)}intermediateTransitionTo(e,...t){this._routerMicrolib.intermediateTransitionTo(e,...t),T(this)}replaceWith(...e){return this.transitionTo(...e).method("replace")}generate(e,...t){let r=this._routerMicrolib.generate(e,...t);return this.location.formatURL(r)}isActive(e){return this._routerMicrolib.isActive(e)}isActiveIntent(e,t,r){return this.currentState.isActiveIntent(e,t,r)}send(e,...t){this._routerMicrolib.trigger(e,...t)}hasRoute(e){return this._routerMicrolib.hasRoute(e)}reset(){this._didSetupRouter=!1,this._initialTransitionStarted=!1,this._routerMicrolib&&this._routerMicrolib.reset()}willDestroy(){this._toplevelView&&(this._toplevelView.destroy(),this._toplevelView=null),super.willDestroy(),this.reset();let e=this._engineInstances;for(let t in e){let r=e[t];for(let e in r){let t=r[e];(0,c.run)(t,"destroy")}}}_activeQPChanged(e,t){this._queuedQPChanges[e]=t,(0,c.once)(this,this._fireQueryParamTransition)}_updatingQPChanged(e){this._qpUpdates.add(e)}_fireQueryParamTransition(){this.transitionTo({queryParams:this._queuedQPChanges}),this._resetQueuedQueryParameterChanges()}_setupLocation(){let e=this.location,t=this.rootURL,i=(0,n.getOwner)(this);if("string"==typeof e){let t=i.lookup(`location:${e}`);e=(0,r.set)(this,"location",t)}null!==e&&"object"==typeof e&&(t&&(0,r.set)(e,"rootURL",t),"function"==typeof e.initState&&e.initState())}_serializeQueryParams(e,t){S(this,e,t,((e,r,n)=>{if(n)delete t[e],t[n.urlKey]=n.route.serializeQueryParam(r,n.urlKey,n.type);else{if(void 0===r)return;t[e]=this._serializeQueryParam(r,(0,a.typeOf)(r))}}))}_serializeQueryParam(e,t){return null==e?e:"array"===t?JSON.stringify(e):`${e}`}_deserializeQueryParams(e,t){S(this,e,t,((e,r,n)=>{n&&(delete t[e],t[n.prop]=n.route.deserializeQueryParam(r,n.urlKey,n.type))}))}_deserializeQueryParam(e,t){return null==e?e:"boolean"===t?"true"===e:"number"===t?Number(e).valueOf():"array"===t?(0,s.A)(JSON.parse(e)):e}_pruneDefaultQueryParamValues(e,t){let r=this._queryParamsFor(e);for(let e in t){let n=r.map[e];n&&n.serializedDefaultValue===t[e]&&delete t[e]}}_doTransition(e,t,r,n){let i=e||(0,o.getActiveTargetName)(this._routerMicrolib);this._initialTransitionStarted=!0;let s={};this._processActiveTransitionQueryParams(i,t,s,r),Object.assign(s,r),this._prepareQueryParams(i,t,s,Boolean(n));let a=this._routerMicrolib.transitionTo(i,...t,{queryParams:s});return R(a,this),a}_processActiveTransitionQueryParams(e,t,r,n){if(!this._routerMicrolib.activeTransition)return;let i={},o=this._qpUpdates,s=(0,p.getFullQueryParams)(this,this._routerMicrolib.activeTransition[d.STATE_SYMBOL]);for(let e in s)o.has(e)||(i[e]=s[e]);this._fullyScopeQueryParams(e,t,n),this._fullyScopeQueryParams(e,t,i),Object.assign(r,i)}_prepareQueryParams(e,t,r,n){let i=k(this,e,t);this._hydrateUnsuppliedQueryParams(i,r,Boolean(n)),this._serializeQueryParams(i.routeInfos,r),n||this._pruneDefaultQueryParamValues(i.routeInfos,r)}_getQPMeta(e){let t=e.route;return t&&(0,r.get)(t,"_qp")}_queryParamsFor(e){let t=e[e.length-1].name,r=this._qpCache[t];if(void 0!==r)return r;let n,i=!0,o={},s=[];for(let t of e)if(n=this._getQPMeta(t),n){for(let e of n.qps)s.push(e);Object.assign(o,n.map)}else i=!1;let a={qps:s,map:o};return i&&(this._qpCache[t]=a),a}_fullyScopeQueryParams(e,t,r){let n,i=k(this,e,t).routeInfos;for(let e of i)if(n=this._getQPMeta(e),n)for(let e of n.qps){let t=e.prop in r&&e.prop||e.scopedPropertyName in r&&e.scopedPropertyName||e.urlKey in r&&e.urlKey;t&&t!==e.scopedPropertyName&&(r[e.scopedPropertyName]=r[t],delete r[t])}}_hydrateUnsuppliedQueryParams(e,t,r){let n,i,s,a=e.routeInfos,l=this._bucketCache;for(let r of a)if(n=this._getQPMeta(r),n)for(let r=0,a=n.qps.length;r=0;--r){let n=e[r],i=n.route;if(void 0!==i&&!0!==t(i,n))return}}let _={willResolveModel(e,t,r){this._scheduleLoadingEvent(t,r)},error(e,t,r){let n=this,i=e[e.length-1];v(e,((e,r)=>{if(r!==i){let r=C(e,"error");if(r)return n._markErrorAsHandled(t),n.intermediateTransitionTo(r,t),!1}let o=O(e,"error");return!o||(n._markErrorAsHandled(t),n.intermediateTransitionTo(o,t),!1)})),function(e,t){let r,n=[];r=e&&"object"==typeof e&&"object"==typeof e.errorThrown?e.errorThrown:e;t&&n.push(t);r&&(r.message&&n.push(r.message),r.stack&&n.push(r.stack),"string"==typeof r&&n.push(r));console.error(...n)}(t,`Error while processing route: ${r.targetName}`)},loading(e,t){let r=this,n=e[e.length-1];v(e,((e,i)=>{if(i!==n){let t=C(e,"loading");if(t)return r.intermediateTransitionTo(t),!1}let o=O(e,"loading");return o?(r.intermediateTransitionTo(o),!1):t.pivotHandler!==e}))}};function O(e,t){let r=(0,n.getOwner)(e),{routeName:i,fullRouteName:o,_router:s}=e,a=`${o}_${t}`;return E(r,s,`${i}_${t}`,a)?a:""}function C(e,t){let r=(0,n.getOwner)(e),{routeName:i,fullRouteName:o,_router:s}=e,a="application"===o?t:`${o}.${t}`;return E(r,s,"application"===i?t:`${i}.${t}`,a)?a:""}function E(e,t,r,n){let i=t.hasRoute(n),o=e.factoryFor(`template:${r}`)||e.factoryFor(`route:${r}`);return i&&o}function w(e,t,r,n){if(!e){if(t)return;throw new Error(`Can't trigger action '${r}' because your app hasn't finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call \`.send()\` on the \`Transition\` object passed to the \`model/beforeModel/afterModel\` hooks.`)}let i,o,s,a=!1;for(let t=e.length-1;t>=0;t--)if(i=e[t],o=i.route,s=o&&o.actions&&o.actions[r],s){if(!0!==s.apply(o,n))return void("error"===r&&o._router._markErrorAsHandled(n[0]));a=!0}let l=_[r];if(l)l.call(this,e,...n);else if(!a&&!t)throw new Error(`Nothing handled the action '${r}'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.`)}function k(e,t,r){let n=e._routerMicrolib.applyIntent(t,r),{routeInfos:i,params:o}=n;for(let e of i)e.isResolved?o[e.name]=e.params:o[e.name]=e.serialize(e.context);return n}function T(e){let t=e._routerMicrolib.currentRouteInfos;if(0===t.length)return;let n=y._routePath(t),i=t[t.length-1],o=i.name,s=e.location,a=s.getURL();(0,r.set)(e,"currentPath",n),(0,r.set)(e,"currentRouteName",o),(0,r.set)(e,"currentURL",a)}function R(e,t){let r=new i.RouterState(t,t._routerMicrolib,e[d.STATE_SYMBOL]);t.currentState||t.set("currentState",r),t.set("targetState",r),e.promise=e.catch((e=>{if(!t._isErrorHandled(e))throw e;t._clearHandledError(e)}),"Transition Error")}function S(e,t,r,n){let i=e._queryParamsFor(t);for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;n(e,r[e],i.map[e])}}y.reopen({didTransition:m,willTransition:f,rootURL:"/",location:"hash",url:(0,r.computed)((function(){let e=(0,r.get)(this,"location");if("string"!=typeof e)return e.getURL()}))});e.default=y})),e("@ember/routing/transition",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),e("@ember/runloop/-private/backburner",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})})),e("@ember/runloop/index",["exports","@ember/debug","@ember/-internals/error-handling","@ember/-internals/metal","backburner.js"],(function(e,t,r,n,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._backburner=void 0,e._cancelTimers=function(){l.cancelTimers()},e._getCurrentRunLoop=function(){return o},e._hasScheduledTimers=function(){return l.hasTimers()},e._rsvpErrorQueue=e._queues=void 0,e.begin=function(){l.begin()},e.bind=function(...e){return(...t)=>u(...e.concat(t))},e.cancel=function(e){return l.cancel(e)},e.debounce=function(...e){return l.debounce(...e)},e.end=function(){l.end()},e.join=u,e.later=function(...e){return l.later(...e)},e.next=function(...e){return l.later(...e,1)},e.once=function(...e){return l.scheduleOnce("actions",...e)},e.run=function(...e){return l.run(...e)},e.schedule=function(...e){return l.schedule(...e)},e.scheduleOnce=function(...e){return l.scheduleOnce(...e)},e.throttle=function(...e){return l.throttle(...e)};let o=null;const s=e._rsvpErrorQueue=`${Math.random()}${Date.now()}`.replace(".",""),a=e._queues=["actions","routerTransitions","render","afterRender","destroy",s],l=e._backburner=new i.default(a,{defaultQueue:"actions",onBegin:function(e){o=e},onEnd:function(e,t){o=t,(0,n.flushAsyncObservers)()},onErrorTarget:r.onErrorTarget,onErrorMethod:"onerror",flush:function(e,t){"render"!==e&&e!==s||(0,n.flushAsyncObservers)(),t()}});function u(e,t,...r){return l.join(e,t,...r)}})),e("@ember/service/index",["exports","@ember/object/-internals","@ember/-internals/metal"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.inject=function(...e){return(0,r.inject)("service",...e)},e.service=function(...e){return(0,r.inject)("service",...e)};class n extends t.FrameworkObject{}n.isServiceFactory=!0;e.default=n})),e("@ember/template-compilation/index",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.__emberTemplateCompiler=void 0,e.__registerTemplateCompiler=function(r){e.__emberTemplateCompiler=t=r},e.precompileTemplate=e.compileTemplate=void 0;let t=e.__emberTemplateCompiler=void 0;e.compileTemplate=(...e)=>{if(!t)throw new Error("Attempted to call `compileTemplate` without first loading the runtime template compiler.");return t.compile(...e)};e.precompileTemplate=void 0})),e("@ember/template-factory/index",["exports","@glimmer/opcode-compiler"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createTemplateFactory",{enumerable:!0,get:function(){return t.templateFactory}})})),e("@ember/template/index",["exports","@ember/-internals/glimmer"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"htmlSafe",{enumerable:!0,get:function(){return t.htmlSafe}}),Object.defineProperty(e,"isHTMLSafe",{enumerable:!0,get:function(){return t.isHTMLSafe}})})),e("@ember/test/adapter",["exports","ember-testing"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.Adapter}})})),e("@ember/test/index",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.registerHelper=e.registerAsyncHelper=e._impl=void 0,e.registerTestImplementation=function(a){let{Test:l}=a;e.registerAsyncHelper=t=l.registerAsyncHelper,e.registerHelper=r=l.registerHelper,e.registerWaiter=n=l.registerWaiter,e.unregisterHelper=i=l.unregisterHelper,e.unregisterWaiter=o=l.unregisterWaiter,e._impl=s=a},e.unregisterWaiter=e.unregisterHelper=e.registerWaiter=void 0;let t=e.registerAsyncHelper=void 0,r=e.registerHelper=void 0,n=e.registerWaiter=void 0,i=e.unregisterHelper=void 0,o=e.unregisterWaiter=void 0,s=e._impl=void 0,a=()=>{throw new Error("Attempted to use test utilities, but `ember-testing` was not included")};e.registerAsyncHelper=t=a,e.registerHelper=r=a,e.registerWaiter=n=a,e.unregisterHelper=i=a,e.unregisterWaiter=o=a})),e("@ember/utils/index",["exports","@ember/utils/lib/is_none","@ember/utils/lib/is_blank","@ember/utils/lib/is_empty","@ember/utils/lib/is_present","@ember/utils/lib/is-equal","@ember/utils/lib/type-of","@ember/utils/lib/compare"],(function(e,t,r,n,i,o,s,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"compare",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"isBlank",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"isEmpty",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"isEqual",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"isNone",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"isPresent",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"typeOf",{enumerable:!0,get:function(){return s.default}})})),e("@ember/utils/lib/compare",["exports","@ember/utils/lib/type-of","@ember/-internals/runtime","@ember/debug"],(function(e,t,r,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function e(r,n){if(r===n)return 0;let a=(0,t.default)(r),l=(0,t.default)(n);if("instance"===a&&s(r)&&r.constructor.compare)return r.constructor.compare(r,n);if("instance"===l&&s(n)&&n.constructor.compare)return-1*n.constructor.compare(n,r);let u=o(i[a],i[l]);if(0!==u)return u;switch(a){case"boolean":return o(Number(r),Number(n));case"number":return o(r,n);case"string":return o(r.localeCompare(n),0);case"array":{let t=r.length,i=n.length,s=Math.min(t,i);for(let t=0;t{o.push(` ${e.name} = ${r+t},`),i=t})),o.push(` Size = ${i+r+1},`),o.push("}");let s,a=o.join("\n");s=n?p` + export function is${e}(value: number): value is ${e} { + return value >= ${r} && value <= ${n}; + } + `:p` + export function is${e}(value: number): value is ${e} { + return value >= ${r}; + } + `;return{enumString:a,predicate:s}},e.buildMetas=function(e,t){let r=[];for(let n of Object.keys(t))r.push(d(e,t,n));return r.join("\n\n")},e.buildSingleMeta=d,e.check=function(e,t,r=k){if("function"==typeof t)return t(e),e;if(t.validate(e))return e;throw new Error(r(e,t.expected()))},e.debug=function(e,t,r){return},e.debugSlice=function(e,t,r){},e.expectStackChange=function(e,t,r){let n=e.sp-T;if(n===t)return;throw new Error(`Expected stack to change by ${t}, but it changed by ${n} in ${r}`)},e.logOpcode=function(e,t){},e.normalize=s,e.normalizeAll=function(e){let t=c(e.machine),r=c(e.syscall);return{machine:t,syscall:r}},e.normalizeParsed=c,e.opcodeMetadata=function(e,t){let r=t?i[e]:n[e];return r||null},e.recordStackSize=function(e){T=e},e.strip=p,e.wrap=function(e){return new class{validate(t){return e().validate(t)}expected(){return e().expected()}}};const n=new Array(r.Op.Size).fill(null),i=new Array(r.Op.Size).fill(null);i[r.MachineOp.PushFrame]={name:"PushFrame",mnemonic:"pushf",before:null,stackChange:2,ops:[],operands:0,check:!0},i[r.MachineOp.PopFrame]={name:"PopFrame",mnemonic:"popf",before:null,stackChange:-2,ops:[],operands:0,check:!1},i[r.MachineOp.InvokeVirtual]={name:"InvokeVirtual",mnemonic:"vcall",before:null,stackChange:-1,ops:[],operands:0,check:!0},i[r.MachineOp.InvokeStatic]={name:"InvokeStatic",mnemonic:"scall",before:null,stackChange:0,ops:[{name:"offset",type:"u32"}],operands:1,check:!0},i[r.MachineOp.Jump]={name:"Jump",mnemonic:"goto",before:null,stackChange:0,ops:[{name:"to",type:"u32"}],operands:1,check:!0},i[r.MachineOp.Return]={name:"Return",mnemonic:"ret",before:null,stackChange:0,ops:[],operands:0,check:!1},i[r.MachineOp.ReturnTo]={name:"ReturnTo",mnemonic:"setra",before:null,stackChange:0,ops:[{name:"offset",type:"i32"}],operands:1,check:!0},n[r.Op.Helper]={name:"Helper",mnemonic:"ncall",before:null,stackChange:null,ops:[{name:"helper",type:"handle"}],operands:1,check:!0},n[r.Op.DynamicHelper]={name:"DynamicHelper",mnemonic:"dynamiccall",before:null,stackChange:null,ops:[],operands:0,check:!0},n[r.Op.SetNamedVariables]={name:"SetNamedVariables",mnemonic:"vsargs",before:null,stackChange:0,ops:[{name:"register",type:"u32"}],operands:1,check:!0},n[r.Op.SetBlocks]={name:"SetBlocks",mnemonic:"vbblocks",before:null,stackChange:0,ops:[{name:"register",type:"u32"}],operands:1,check:!0},n[r.Op.SetVariable]={name:"SetVariable",mnemonic:"sbvar",before:null,stackChange:-1,ops:[{name:"symbol",type:"u32"}],operands:1,check:!0},n[r.Op.SetBlock]={name:"SetBlock",mnemonic:"sblock",before:null,stackChange:-3,ops:[{name:"symbol",type:"u32"}],operands:1,check:!0},n[r.Op.GetVariable]={name:"GetVariable",mnemonic:"symload",before:null,stackChange:1,ops:[{name:"symbol",type:"u32"}],operands:1,check:!0},n[r.Op.GetProperty]={name:"GetProperty",mnemonic:"getprop",before:null,stackChange:0,ops:[{name:"property",type:"str"}],operands:1,check:!0},n[r.Op.GetBlock]={name:"GetBlock",mnemonic:"blockload",before:null,stackChange:1,ops:[{name:"block",type:"u32"}],operands:1,check:!0},n[r.Op.SpreadBlock]={name:"SpreadBlock",mnemonic:"blockspread",before:null,stackChange:2,ops:[],operands:0,check:!0},n[r.Op.HasBlock]={name:"HasBlock",mnemonic:"hasblockload",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.HasBlockParams]={name:"HasBlockParams",mnemonic:"hasparamsload",before:null,stackChange:-2,ops:[],operands:0,check:!0},n[r.Op.Concat]={name:"Concat",mnemonic:"concat",before:null,stackChange:null,ops:[{name:"count",type:"u32"}],operands:1,check:!0},n[r.Op.IfInline]={name:"IfInline",mnemonic:"ifinline",before:null,stackChange:-2,ops:[{name:"count",type:"u32"}],operands:1,check:!0},n[r.Op.Not]={name:"Not",mnemonic:"not",before:null,stackChange:0,ops:[{name:"count",type:"u32"}],operands:1,check:!0},n[r.Op.Constant]={name:"Constant",mnemonic:"rconstload",before:null,stackChange:1,ops:[{name:"constant",type:"unknown"}],operands:1,check:!0},n[r.Op.ConstantReference]={name:"ConstantReference",mnemonic:"rconstrefload",before:null,stackChange:1,ops:[{name:"constant",type:"unknown"}],operands:1,check:!0},n[r.Op.Primitive]={name:"Primitive",mnemonic:"pconstload",before:null,stackChange:1,ops:[{name:"constant",type:"primitive"}],operands:1,check:!0},n[r.Op.PrimitiveReference]={name:"PrimitiveReference",mnemonic:"ptoref",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.ReifyU32]={name:"ReifyU32",mnemonic:"reifyload",before:null,stackChange:1,ops:[],operands:0,check:!0},n[r.Op.Dup]={name:"Dup",mnemonic:"dup",before:null,stackChange:1,ops:[{name:"register",type:"u32"},{name:"offset",type:"u32"}],operands:2,check:!0},n[r.Op.Pop]={name:"Pop",mnemonic:"pop",before:null,stackChange:0,ops:[{name:"count",type:"u32"}],operands:1,check:!1},n[r.Op.Load]={name:"Load",mnemonic:"put",before:null,stackChange:-1,ops:[{name:"register",type:"u32"}],operands:1,check:!0},n[r.Op.Fetch]={name:"Fetch",mnemonic:"regload",before:null,stackChange:1,ops:[{name:"register",type:"u32"}],operands:1,check:!0},n[r.Op.RootScope]={name:"RootScope",mnemonic:"rscopepush",before:null,stackChange:0,ops:[{name:"symbols",type:"u32"}],operands:1,check:!0},n[r.Op.VirtualRootScope]={name:"VirtualRootScope",mnemonic:"vrscopepush",before:null,stackChange:0,ops:[{name:"register",type:"u32"}],operands:1,check:!0},n[r.Op.ChildScope]={name:"ChildScope",mnemonic:"cscopepush",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.PopScope]={name:"PopScope",mnemonic:"scopepop",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.Text]={name:"Text",mnemonic:"apnd_text",before:null,stackChange:0,ops:[{name:"contents",type:"str"}],operands:1,check:!0},n[r.Op.Comment]={name:"Comment",mnemonic:"apnd_comment",before:null,stackChange:0,ops:[{name:"contents",type:"str"}],operands:1,check:!0},n[r.Op.AppendHTML]={name:"AppendHTML",mnemonic:"apnd_dynhtml",before:null,stackChange:-1,ops:[],operands:0,check:!0},n[r.Op.AppendSafeHTML]={name:"AppendSafeHTML",mnemonic:"apnd_dynshtml",before:null,stackChange:-1,ops:[],operands:0,check:!0},n[r.Op.AppendDocumentFragment]={name:"AppendDocumentFragment",mnemonic:"apnd_dynfrag",before:null,stackChange:-1,ops:[],operands:0,check:!0},n[r.Op.AppendNode]={name:"AppendNode",mnemonic:"apnd_dynnode",before:null,stackChange:-1,ops:[],operands:0,check:!0},n[r.Op.AppendText]={name:"AppendText",mnemonic:"apnd_dyntext",before:null,stackChange:-1,ops:[],operands:0,check:!0},n[r.Op.OpenElement]={name:"OpenElement",mnemonic:"apnd_tag",before:null,stackChange:0,ops:[{name:"tag",type:"str"}],operands:1,check:!0},n[r.Op.OpenDynamicElement]={name:"OpenDynamicElement",mnemonic:"apnd_dyntag",before:null,stackChange:-1,ops:[],operands:0,check:!0},n[r.Op.PushRemoteElement]={name:"PushRemoteElement",mnemonic:"apnd_remotetag",before:null,stackChange:-3,ops:[],operands:0,check:!0},n[r.Op.StaticAttr]={name:"StaticAttr",mnemonic:"apnd_attr",before:null,stackChange:0,ops:[{name:"name",type:"str"},{name:"value",type:"str"},{name:"namespace",type:"option-str"}],operands:3,check:!0},n[r.Op.DynamicAttr]={name:"DynamicAttr",mnemonic:"apnd_dynattr",before:null,stackChange:-1,ops:[{name:"name",type:"str"},{name:"trusting",type:"bool"},{name:"namespace",type:"option-str"}],operands:3,check:!0},n[r.Op.ComponentAttr]={name:"ComponentAttr",mnemonic:"apnd_cattr",before:null,stackChange:-1,ops:[{name:"name",type:"str"},{name:"trusting",type:"bool"},{name:"namespace",type:"option-str"}],operands:3,check:!0},n[r.Op.FlushElement]={name:"FlushElement",mnemonic:"apnd_flushtag",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.CloseElement]={name:"CloseElement",mnemonic:"apnd_closetag",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.PopRemoteElement]={name:"PopRemoteElement",mnemonic:"apnd_closeremotetag",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.Modifier]={name:"Modifier",mnemonic:"apnd_modifier",before:null,stackChange:-1,ops:[{name:"helper",type:"handle"}],operands:1,check:!0},n[r.Op.BindDynamicScope]={name:"BindDynamicScope",mnemonic:"setdynscope",before:null,stackChange:null,ops:[{name:"names",type:"str-array"}],operands:1,check:!0},n[r.Op.PushDynamicScope]={name:"PushDynamicScope",mnemonic:"dynscopepush",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.PopDynamicScope]={name:"PopDynamicScope",mnemonic:"dynscopepop",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.CompileBlock]={name:"CompileBlock",mnemonic:"cmpblock",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.PushBlockScope]={name:"PushBlockScope",mnemonic:"scopeload",before:null,stackChange:1,ops:[{name:"scope",type:"scope"}],operands:1,check:!0},n[r.Op.PushSymbolTable]={name:"PushSymbolTable",mnemonic:"dsymload",before:null,stackChange:1,ops:[{name:"table",type:"symbol-table"}],operands:1,check:!0},n[r.Op.InvokeYield]={name:"InvokeYield",mnemonic:"invokeyield",before:null,stackChange:null,ops:[],operands:0,check:!0},n[r.Op.JumpIf]={name:"JumpIf",mnemonic:"iftrue",before:null,stackChange:-1,ops:[{name:"to",type:"u32"}],operands:1,check:!0},n[r.Op.JumpUnless]={name:"JumpUnless",mnemonic:"iffalse",before:null,stackChange:-1,ops:[{name:"to",type:"u32"}],operands:1,check:!0},n[r.Op.JumpEq]={name:"JumpEq",mnemonic:"ifeq",before:null,stackChange:0,ops:[{name:"to",type:"i32"},{name:"comparison",type:"i32"}],operands:2,check:!0},n[r.Op.AssertSame]={name:"AssertSame",mnemonic:"assert_eq",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.Enter]={name:"Enter",mnemonic:"blk_start",before:null,stackChange:0,ops:[{name:"args",type:"u32"}],operands:1,check:!0},n[r.Op.Exit]={name:"Exit",mnemonic:"blk_end",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.ToBoolean]={name:"ToBoolean",mnemonic:"anytobool",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.EnterList]={name:"EnterList",mnemonic:"list_start",before:null,stackChange:null,ops:[{name:"address",type:"u32"},{name:"address",type:"u32"}],operands:2,check:!0},n[r.Op.ExitList]={name:"ExitList",mnemonic:"list_end",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.Iterate]={name:"Iterate",mnemonic:"iter",before:null,stackChange:0,ops:[{name:"end",type:"u32"}],operands:1,check:!1},n[r.Op.Main]={name:"Main",mnemonic:"main",before:null,stackChange:-2,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.ContentType]={name:"ContentType",mnemonic:"ctload",before:null,stackChange:1,ops:[],operands:0,check:!0},n[r.Op.DynamicContentType]={name:"DynamicContentType",mnemonic:"dctload",before:null,stackChange:1,ops:[],operands:0,check:!0},n[r.Op.Curry]={name:"Curry",mnemonic:"curry",before:null,stackChange:null,ops:[{name:"type",type:"u32"},{name:"is-strict",type:"bool"}],operands:2,check:!0},n[r.Op.PushComponentDefinition]={name:"PushComponentDefinition",mnemonic:"cmload",before:null,stackChange:1,ops:[{name:"spec",type:"handle"}],operands:1,check:!0},n[r.Op.PushDynamicComponentInstance]={name:"PushDynamicComponentInstance",mnemonic:"dciload",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.ResolveDynamicComponent]={name:"ResolveDynamicComponent",mnemonic:"cdload",before:null,stackChange:0,ops:[{name:"owner",type:"owner"}],operands:1,check:!0},n[r.Op.PushArgs]={name:"PushArgs",mnemonic:"argsload",before:null,stackChange:null,ops:[{name:"names",type:"str-array"},{name:"block-names",type:"str-array"},{name:"flags",type:"u32"}],operands:3,check:!0},n[r.Op.PushEmptyArgs]={name:"PushEmptyArgs",mnemonic:"emptyargsload",before:null,stackChange:1,ops:[],operands:0,check:!0},n[r.Op.PopArgs]={name:"PopArgs",mnemonic:"argspop",before:null,stackChange:null,ops:[],operands:0,check:!0},n[r.Op.PrepareArgs]={name:"PrepareArgs",mnemonic:"argsprep",before:null,stackChange:0,ops:[{name:"state",type:"register"}],operands:1,check:!1},n[r.Op.CaptureArgs]={name:"CaptureArgs",mnemonic:"argscapture",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.CreateComponent]={name:"CreateComponent",mnemonic:"comp_create",before:null,stackChange:0,ops:[{name:"flags",type:"u32"},{name:"state",type:"register"}],operands:2,check:!0},n[r.Op.RegisterComponentDestructor]={name:"RegisterComponentDestructor",mnemonic:"comp_dest",before:null,stackChange:0,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.PutComponentOperations]={name:"PutComponentOperations",mnemonic:"comp_elops",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.GetComponentSelf]={name:"GetComponentSelf",mnemonic:"comp_selfload",before:null,stackChange:1,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.GetComponentTagName]={name:"GetComponentTagName",mnemonic:"comp_tagload",before:null,stackChange:1,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.GetComponentLayout]={name:"GetComponentLayout",mnemonic:"comp_layoutload",before:null,stackChange:2,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.BindEvalScope]={name:"BindEvalScope",mnemonic:"eval_scope",before:null,stackChange:0,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.SetupForEval]={name:"SetupForEval",mnemonic:"eval_setup",before:null,stackChange:0,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.PopulateLayout]={name:"PopulateLayout",mnemonic:"comp_layoutput",before:null,stackChange:-2,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.InvokeComponentLayout]={name:"InvokeComponentLayout",mnemonic:"comp_invokelayout",before:null,stackChange:0,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.BeginComponentTransaction]={name:"BeginComponentTransaction",mnemonic:"comp_begin",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.CommitComponentTransaction]={name:"CommitComponentTransaction",mnemonic:"comp_commit",before:null,stackChange:0,ops:[],operands:0,check:!0},n[r.Op.DidCreateElement]={name:"DidCreateElement",mnemonic:"comp_created",before:null,stackChange:0,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.DidRenderLayout]={name:"DidRenderLayout",mnemonic:"comp_rendered",before:null,stackChange:0,ops:[{name:"state",type:"register"}],operands:1,check:!0},n[r.Op.ResolveMaybeLocal]={name:"ResolveMaybeLocal",mnemonic:"eval_varload",before:null,stackChange:1,ops:[{name:"local",type:"str"}],operands:1,check:!0},n[r.Op.Debugger]={name:"Debugger",mnemonic:"debugger",before:null,stackChange:0,ops:[{name:"symbols",type:"str-array"},{name:"debugInfo",type:"array"}],operands:2,check:!0};const o=e.OPERAND_TYPES=["u32","i32","owner","handle","str","option-str","array","str-array","bool","primitive","register","unknown","symbol-table","scope"];function s(e,t){let r;if(void 0===t.format)throw new Error(`Missing format in ${JSON.stringify(t)}`);r=Array.isArray(t.format)?t.format[0]:t.format;let n=Array.isArray(t.format)?function(e){if(!Array.isArray(e))throw new Error(`Expected operands array, got ${JSON.stringify(e)}`);return e.map(u)}(t.format.slice(1)):[];return{name:r,mnemonic:e,before:null,stackChange:a(t["operand-stack"]),ops:n,operands:n.length,check:!0!==t.skip}}function a(e){if(void 0===e)return 0;let t=e[0],r=e[1];return l(t)||l(r)?null:r.length-t.length}function l(e){if(!Array.isArray(e))throw new Error(`Unexpected stack entry: ${JSON.stringify(e)}`);return e.some((e=>"..."===e.slice(-3)))}function u(e){let[t,r]=e.split(":");if(n=r,-1!==o.indexOf(n))return{name:t,type:r};throw new Error(`Expected operand, found ${JSON.stringify(e)}`);var n}function c(e){let t=Object.create(null);for(const[r,n]of Object.entries(e))t[r]=s(r,n);return t}function p(e,...t){let r="";for(let n=0;nh(e,t))).join(", ")}]`;let r=["{"];for(let n of Object.keys(e))r.push(`${" ".repeat(t+2)}${n}: ${h(e[n],t+2)},`);return r.push(`${" ".repeat(t)}}`),r.join("\n")}class m{constructor(e){this.expectedType=e}validate(e){return typeof e===this.expectedType}expected(){return`typeof ${this.expectedType}`}}class f{constructor(e){this.Class=e}validate(e){return!!e&&e instanceof this.Class}expected(){return`an instance of ${this.Class.name}`}}class g{constructor(e,t){this.checker=e,this.emptyValue=t}validate(e){return e===this.emptyValue||this.checker.validate(e)}expected(){return`${this.checker.expected()} or null`}}class b{constructor(e){this.checker=e}validate(e){return null==e||this.checker.validate(e)}expected(){return`${this.checker.expected()} or null or undefined`}}class y{constructor(e,t){this.left=e,this.right=t}validate(e){return this.left.validate(e)||this.right.validate(e)}expected(){return`${this.left.expected()} or ${this.right.expected()}`}}class v{constructor(e,t){this.value=e,this.desc=t}validate(e){return e===this.value}expected(){return this.desc}}class _{constructor(e){this.checkers=e}validate(e){return"object"==typeof e&&(null!=e&&Object.entries(this.checkers).every((([t,r])=>t in e&&r.validate(e[t]))))}expected(){return`{ ${Object.entries(this.checkers).map((([e,t])=>`${e}: ${t.expected()}`)).join(",")} }`}}class O{constructor(e){this.checker=e}validate(e){return null!=e&&(!!Array.isArray(e)&&e.every((e=>this.checker.validate(e))))}expected(){return`Array<${this.checker.expected()}>`}}class C{constructor(e){this.checker=e}validate(e){if(!("object"==typeof e&&null!==e&&null===Object.getPrototypeOf(e)))return!1;let{checker:t}=this;for(let r in e)if(!t.validate(e[r]))return!1;return!0}expected(){return"a primitive"}}function E(e){return new _(e)}function w(e){return new O(e)}function k(e,t){return`Got ${e}, expected:\n${t}`}let T=0;e.CheckPrimitive=new class{validate(e){return"string"!=typeof e||"number"==typeof e||"string"==typeof e||null==e}expected(){return"a primitive"}},e.CheckFunction=new m("function");const R=e.CheckNumber=new m("number"),S=e.CheckBoolean=new m("boolean"),P=(e.CheckHandle=R,e.CheckString=new m("string")),A=(e.CheckNull=new class{validate(e){return null===e}expected(){return"null"}},e.CheckUndefined=new class{validate(e){return void 0===e}expected(){return"undefined"}},e.CheckUnknown=new class{constructor(){this.type=void 0}validate(e){return!0}expected(){return"any"}});e.CheckSafeString=new class{validate(e){return"object"==typeof e&&null!==e&&"function"==typeof e.toHTML}expected(){return"SafeString"}},e.CheckObject=new class{validate(e){return"function"==typeof e||"object"==typeof e&&null!==e}expected(){return"an object or function (valid WeakMap key)"}};function x(e,t=String(e)){return new v(e,t)}e.CheckBlockSymbolTable=E({parameters:w(R)}),e.CheckProgramSymbolTable=E({hasEval:S,symbols:w(P)}),e.CheckElement=E({nodeType:x(1),tagName:P,nextSibling:A}),e.CheckDocumentFragment=E({nodeType:x(11),nextSibling:A}),e.CheckNode=E({nodeType:R,nextSibling:A})})),e("@glimmer/destroyable",["exports","@glimmer/global-context","@glimmer/util"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._hasDestroyableChildren=function(e){let t=i.get(e);return void 0!==t&&null!==t.children},e.assertDestroyablesDestroyed=void 0,e.associateDestroyableChild=function(e,t){0;let r=l(e),n=l(t);return r.children=o(r.children,t),n.parents=o(n.parents,e),t},e.destroy=u,e.destroyChildren=function(e){let{children:t}=l(e);s(t,u)},e.enableDestroyableTracking=void 0,e.isDestroyed=function(e){let t=i.get(e);return void 0!==t&&t.state>=n.Destroyed},e.isDestroying=c,e.registerDestructor=function(e,t,r=!1){0;let n=l(e),i=!0===r?"eagerDestructors":"destructors";return n[i]=o(n[i],t),t},e.unregisterDestructor=function(e,t,r=!1){0;let n=l(e),i=!0===r?"eagerDestructors":"destructors";n[i]=a(n[i],t,!1)};var n=function(e){return e[e.Live=0]="Live",e[e.Destroying=1]="Destroying",e[e.Destroyed=2]="Destroyed",e}(n||{});let i=new WeakMap;function o(e,t){return null===e?t:Array.isArray(e)?(e.push(t),e):[e,t]}function s(e,t){Array.isArray(e)?e.forEach(t):null!==e&&t(e)}function a(e,t,r){if(Array.isArray(e)&&e.length>1){let r=e.indexOf(t);return e.splice(r,1),e}return null}function l(e){let t=i.get(e);return void 0===t&&(t={parents:null,children:null,eagerDestructors:null,destructors:null,state:n.Live},i.set(e,t)),t}function u(e){let r=l(e);if(r.state>=n.Destroying)return;let{parents:i,children:o,eagerDestructors:c,destructors:p}=r;r.state=n.Destroying,s(o,u),s(c,(t=>t(e))),s(p,(r=>(0,t.scheduleDestroy)(e,r))),(0,t.scheduleDestroyed)((()=>{s(i,(t=>function(e,t){let r=l(t);r.state===n.Live&&(r.children=a(r.children,e))}(e,t))),r.state=n.Destroyed}))}function c(e){let t=i.get(e);return void 0!==t&&t.state>=n.Destroying}e.enableDestroyableTracking=void 0,e.assertDestroyablesDestroyed=void 0})),e("@glimmer/encoder",["exports","@glimmer/vm"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InstructionEncoderImpl=void 0;e.InstructionEncoderImpl=class{constructor(e){this.size=0,this.buffer=e}encode(e,r,...n){if(e>t.TYPE_SIZE)throw new Error(`Opcode type over 8-bits. Got ${e}.`);let i=e|r|arguments.length-2<{};e.scheduleRevalidate=t;let r=e.scheduleDestroy=void 0,n=e.scheduleDestroyed=void 0,i=e.toIterator=void 0,o=e.toBool=void 0,s=e.getProp=void 0,a=e.setProp=void 0,l=e.getPath=void 0,u=e.setPath=void 0,c=e.warnIfStyleNotTrusted=void 0,p=e.assert=void 0,d=e.deprecate=void 0;e.assertGlobalContextWasSet=void 0,e.testOverrideGlobalContext=void 0})),e("@glimmer/manager",["exports","@glimmer/util","@glimmer/destroyable","@glimmer/reference","@glimmer/validator","@glimmer/debug","@glimmer/vm"],(function(e,t,r,n,i,o,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CustomModifierManager=e.CustomHelperManager=e.CustomComponentManager=void 0,e.capabilityFlagsFrom=function(e){return m|f(e,"dynamicLayout")|f(e,"dynamicTag")|f(e,"prepareArgs")|f(e,"createArgs")|f(e,"attributeHook")|f(e,"elementHook")|f(e,"dynamicScope")|f(e,"createCaller")|f(e,"updateHook")|f(e,"createInstance")|f(e,"wrapped")|f(e,"willDestroy")|f(e,"hasSubOwner")},e.componentCapabilities=function(e,t={}){0;let r=Boolean(t.updateHook);return h({asyncLifeCycleCallbacks:Boolean(t.asyncLifecycleCallbacks),destructor:Boolean(t.destructor),updateHook:r})},e.getComponentTemplate=function(e){let t=e;for(;null!==t;){let e=j.get(t);if(void 0!==e)return e;t=F(t)}return},e.getCustomTagFor=function(e){return a.get(e)},e.getInternalComponentManager=function(e,t){0;const r=k(_,e);if(void 0===r&&!0===t)return null;return r},e.getInternalHelperManager=function(e,t){0;let r=k(C,e);void 0===r&&"function"==typeof e&&(r=S);if(r)return r;if(!0===t)return null;return null},e.getInternalModifierManager=function(e,t){0;const r=k(O,e);if(void 0===r&&!0===t)return null;return r},e.hasCapability=function(e,t){return(0,o.check)(e,o.CheckNumber),!!(e&t)},e.hasDestroyable=b,e.hasInternalComponentManager=function(e){return void 0!==k(_,e)},e.hasInternalHelperManager=function(e){return function(e){return"function"==typeof e}(e)||void 0!==k(C,e)},e.hasInternalModifierManager=function(e){return void 0!==k(O,e)},e.hasValue=g,e.helperCapabilities=function(e,t={}){0;0;0;return h({hasValue:Boolean(t.hasValue),hasDestroyable:Boolean(t.hasDestroyable),hasScheduledEffect:Boolean(t.hasScheduledEffect)})},e.managerHasCapability=function(e,t,r){return(0,o.check)(t,o.CheckNumber),!!(t&r)},e.modifierCapabilities=function(e,t={}){0;return h({disableAutoTracking:Boolean(t.disableAutoTracking)})},e.setComponentManager=function(e,t){return P(new N(e),t)},e.setComponentTemplate=function(e,t){0;0;return j.set(t,e),t},e.setCustomTagFor=l,e.setHelperManager=function(e,t){return R(new y(e),t)},e.setInternalComponentManager=P,e.setInternalHelperManager=R,e.setInternalModifierManager=T,e.setModifierManager=function(e,t){return T(new I(e),t)};const a=new WeakMap;function l(e,t){a.set(e,t)}function u(e){if("symbol"==typeof e)return null;const t=Number(e);return isNaN(t)?null:t%1==0?t:null}class c{constructor(e){this.named=e}get(e,t){const r=this.named[t];if(void 0!==r)return(0,n.valueForRef)(r)}has(e,t){return t in this.named}ownKeys(){return Object.keys(this.named)}isExtensible(){return!1}getOwnPropertyDescriptor(e,t){return{enumerable:!0,configurable:!0}}}class p{constructor(e){this.positional=e}get(e,t){let{positional:r}=this;if("length"===t)return r.length;const i=u(t);return null!==i&&i{const{named:r,positional:o}=e;const s=new c(r),a=new p(o),d=Object.create(null);const h=new Proxy(d,s),m=new Proxy([],a);return l(h,((e,t)=>function(e,t){return(0,i.track)((()=>{t in e&&(0,n.valueForRef)(e[t])}))}(r,t))),l(m,((e,t)=>function(e,t){return(0,i.track)((()=>{"[]"===t&&e.forEach(n.valueForRef);const r=u(t);null!==r&&r{let o=this.getDelegateFor(i);const s=d(t),a=o.createHelper(e,s);if(g(o)){let e=(0,n.createComputeRef)((()=>o.getValue(a)),null,!1);return b(o)&&(0,r.associateDestroyableChild)(e,o.getDestroyable(a)),e}if(b(o)){let e=(0,n.createConstRef)(void 0,!1);return(0,r.associateDestroyableChild)(e,o.getDestroyable(a)),e}return n.UNDEFINED_REFERENCE}}}e.CustomHelperManager=y;class v{constructor(){this.capabilities={hasValue:!0,hasDestroyable:!1,hasScheduledEffect:!1}}createHelper(e,t){return{fn:e,args:t}}getValue({fn:e,args:t}){if(Object.keys(t.named).length>0){return e(...[...t.positional,t.named])}return e(...t.positional)}getDebugName(e){return e.name?`(helper function ${e.name})`:"(anonymous helper function)"}}const _=new WeakMap,O=new WeakMap,C=new WeakMap,E=Object.getPrototypeOf;function w(e,t,r){return e.set(r,t),r}function k(e,t){let r=t;for(;null!=r;){const t=e.get(r);if(void 0!==t)return t;r=E(r)}}function T(e,t){return w(O,e,t)}function R(e,t){return w(C,e,t)}const S=new y((()=>new v));function P(e,t){return w(_,e,t)}const A={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!0,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!0,updateHook:!0,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1};function x(e){return e.capabilities.asyncLifeCycleCallbacks}function M(e){return e.capabilities.updateHook}class N{constructor(e){this.componentManagerDelegates=new WeakMap,this.factory=e}getDelegateFor(e){let{componentManagerDelegates:t}=this,r=t.get(e);if(void 0===r){let{factory:n}=this;r=n(e),t.set(e,r)}return r}create(e,t,r){let n=this.getDelegateFor(e),i=d(r.capture()),o=n.createComponent(t,i);return new D(o,n,i)}getDebugName(e){return"function"==typeof e?e.name:e.toString()}update(e){let{delegate:t}=e;if(M(t)){let{component:r,args:n}=e;t.updateComponent(r,n)}}didCreate({component:e,delegate:t}){x(t)&&t.didCreateComponent(e)}didUpdate({component:e,delegate:t}){(function(e){return x(e)&&M(e)})(t)&&t.didUpdateComponent(e)}didRenderLayout(){}didUpdateLayout(){}getSelf({component:e,delegate:t}){return(0,n.createConstRef)(t.getContext(e),"this")}getDestroyable(e){const{delegate:t}=e;if(function(e){return e.capabilities.destructor}(t)){const{component:n}=e;return(0,r.registerDestructor)(e,(()=>t.destroyComponent(n))),e}return null}getCapabilities(){return A}}e.CustomComponentManager=N;class D{constructor(e,t,r){this.component=e,this.delegate=t,this.args=r}}class I{constructor(e){this.componentManagerDelegates=new WeakMap,this.factory=e}getDelegateFor(e){let{componentManagerDelegates:t}=this,r=t.get(e);if(void 0===r){let{factory:n}=this;r=n(e),t.set(e,r)}return r}create(e,t,n,o){let s,a=this.getDelegateFor(e),l=d(o),u=a.createModifier(n,l);return s={tag:(0,i.createUpdatableTag)(),element:t,delegate:a,args:l,modifier:u},(0,r.registerDestructor)(s,(()=>a.destroyModifier(u,l))),s}getDebugName(e){return"function"==typeof e?e.name||e.toString():""}getDebugInstance({modifier:e}){return e}getTag({tag:e}){return e}install({element:e,args:r,modifier:n,delegate:o}){let{capabilities:s}=o;!0===s.disableAutoTracking?(0,i.untrack)((()=>o.installModifier(n,(0,t.castToBrowser)(e,"ELEMENT"),r))):o.installModifier(n,(0,t.castToBrowser)(e,"ELEMENT"),r)}update({args:e,modifier:t,delegate:r}){let{capabilities:n}=r;!0===n.disableAutoTracking?(0,i.untrack)((()=>r.updateModifier(t,e))):r.updateModifier(t,e)}getDestroyable(e){return e}}e.CustomModifierManager=I;const j=new WeakMap,F=Object.getPrototypeOf})),e("@glimmer/node",["exports","@glimmer/runtime","@simple-dom/document"],(function(e,t,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.NodeDOMTreeConstruction=void 0,e.serializeBuilder=function(e,t){return o.forInitialRender(e,t)};class n extends t.DOMTreeConstruction{constructor(e){super(e||(0,r.default)())}setupUselessElement(){}insertHTMLBefore(e,r,n){let i=this.document.createRawHTMLSection(n);return e.insertBefore(i,r),new t.ConcreteBounds(e,i,i)}createElement(e){return this.document.createElement(e)}setAttribute(e,t,r){e.setAttribute(t,r)}}e.NodeDOMTreeConstruction=n;const i=new WeakMap;class o extends t.NewElementBuilder{constructor(...e){super(...e),this.serializeBlockDepth=0}__openBlock(){let{tagName:e}=this.element;if("TITLE"!==e&&"SCRIPT"!==e&&"STYLE"!==e){let e=this.serializeBlockDepth++;this.__appendComment(`%+b:${e}%`)}super.__openBlock()}__closeBlock(){let{tagName:e}=this.element;if(super.__closeBlock(),"TITLE"!==e&&"SCRIPT"!==e&&"STYLE"!==e){let e=--this.serializeBlockDepth;this.__appendComment(`%-b:${e}%`)}}__appendHTML(e){let{tagName:r}=this.element;if("TITLE"===r||"SCRIPT"===r||"STYLE"===r)return super.__appendHTML(e);let n=this.__appendComment("%glmr%");if("TABLE"===r){let t=e.indexOf("<");if(t>-1){"tr"===e.slice(t+1,t+3)&&(e=`${e}`)}}""===e?this.__appendComment("% %"):super.__appendHTML(e);let i=this.__appendComment("%glmr%");return new t.ConcreteBounds(this.element,n,i)}__appendText(e){let{tagName:t}=this.element,r=function(e){let{element:t,nextSibling:r}=e;return null===r?t.lastChild:r.previousSibling}(this);return"TITLE"===t||"SCRIPT"===t||"STYLE"===t?super.__appendText(e):""===e?this.__appendComment("% %"):(r&&3===r.nodeType&&this.__appendComment("%|%"),super.__appendText(e))}closeElement(){return i.has(this.element)&&(i.delete(this.element),super.closeElement()),super.closeElement()}openElement(e){return"tr"===e&&"TBODY"!==this.element.tagName&&"THEAD"!==this.element.tagName&&"TFOOT"!==this.element.tagName&&(this.openElement("tbody"),i.set(this.constructing,!0),this.flushElement(null)),super.openElement(e)}pushRemoteElement(e,t,r=null){let{dom:n}=this,i=n.createElement("script");return i.setAttribute("glmr",t),n.insertBefore(e,i,r),super.pushRemoteElement(e,t,r)}}})),e("@glimmer/opcode-compiler",["exports","@glimmer/util","@glimmer/debug","@glimmer/vm","@glimmer/encoder","@glimmer/wire-format","@glimmer/manager"],(function(e,t,r,n,i,o,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WrappedBuilder=e.StdLib=e.MINIMAL_CAPABILITIES=e.EMPTY_BLOCKS=e.DEFAULT_CAPABILITIES=e.CompileTimeCompilationContextImpl=void 0,e.compilable=me,e.compileStatements=fe,e.compileStd=re,e.debugCompiler=void 0,e.invokeStaticBlock=$,e.invokeStaticBlockWithStack=z,e.meta=B,e.programCompilationContext=function(e,t,r){return new oe(e,t,r)},e.templateCacheCounters=void 0,e.templateCompilationContext=se,e.templateFactory=function({id:e,moduleName:t,block:r,scope:n,isStrictMode:i}){let o,s=e||"client-"+be++,a=null,l=new WeakMap,u=e=>{if(void 0===o&&(o=JSON.parse(r)),void 0===e)return null===a?(ye.cacheMiss++,a=new ve({id:s,block:o,moduleName:t,owner:null,scope:n,isStrictMode:i})):ye.cacheHit++,a;let u=l.get(e);return void 0===u?(ye.cacheMiss++,u=new ve({id:s,block:o,moduleName:t,owner:e,scope:n,isStrictMode:i}),l.set(e,u)):ye.cacheHit++,u};return u.__id=s,u.__meta={moduleName:t},u};e.debugCompiler=void 0;function a(e){return t=>{if(!function(e){return Array.isArray(e)&&2===e.length}(t))return!1;let r=t[0];return r===o.SexpOpcodes.GetStrictKeyword||r===o.SexpOpcodes.GetLexicalSymbol||r===e}}const l=a(o.SexpOpcodes.GetFreeAsComponentHead),u=a(o.SexpOpcodes.GetFreeAsModifierHead),c=a(o.SexpOpcodes.GetFreeAsHelperHead),p=a(o.SexpOpcodes.GetFreeAsComponentOrHelperHead);function d(e,r,n,i,o){let{upvars:s}=n,a=(0,t.unwrap)(s[e[1]]),l=r.lookupBuiltInHelper(a);return i.helper(l,a)}const h={Modifier:1003,Component:1004,Helper:1005,ComponentOrHelper:1007,OptionalComponentOrHelper:1008,Local:1010,TemplateLocal:1011},m={Label:1e3,StartLabels:1001,StopLabels:1002,Start:1e3,End:1002},f={Label:1,IsStrictMode:2,DebugSymbols:3,Block:4,StdLib:5,NonSmallInt:6,SymbolTable:7,Layout:8};function g(e){return{type:f.Label,value:e}}function b(){return{type:f.IsStrictMode,value:void 0}}function y(e){return{type:f.StdLib,value:e}}function v(e){return{type:f.SymbolTable,value:e}}function _(e){return{type:f.Layout,value:e}}class O{constructor(){this.labels=(0,t.dict)(),this.targets=[]}label(e,t){this.labels[e]=t}target(e,t){this.targets.push({at:e,target:t})}patch(e){let{targets:r,labels:n}=this;for(const{at:i,target:o}of r){let r=n[o]-i;(0,t.assert)(-1===e.getbyaddr(i),"Expected heap to contain a placeholder, but it did not"),e.setbyaddr(i,r)}}}function C(e,r,n,i,s){if(function(e){return e=0;r--){let i=(0,t.unwrap)(o[r]);e(m.Label,i.label),e(n.Op.Pop,1),i.callback(),0!==r&&e(n.MachineOp.Jump,g("END"))}e(m.Label,"END"),e(m.StopLabels),e(n.Op.Exit)}function W(e,t,r){e(m.StartLabels),e(n.MachineOp.PushFrame),e(n.MachineOp.ReturnTo,g("ENDINITIAL"));let i=t();e(n.Op.Enter,i),r(),e(m.Label,"FINALLY"),e(n.Op.Exit),e(n.MachineOp.Return),e(m.Label,"ENDINITIAL"),e(n.MachineOp.PopFrame),e(m.StopLabels)}function Y(e,t,r,i){return W(e,t,(()=>{e(n.Op.JumpUnless,g("ELSE")),r(),e(n.MachineOp.Jump,g("FINALLY")),e(m.Label,"ELSE"),void 0!==i&&i()}))}D.add(o.SexpOpcodes.Concat,((e,[,t])=>{for(let r of t)j(e,r);e(n.Op.Concat,t.length)})),D.add(o.SexpOpcodes.Call,((e,[,t,r,n])=>{c(t)?e(h.Helper,t,(t=>{A(e,t,r,n)})):(j(e,t),x(e,r,n))})),D.add(o.SexpOpcodes.Curry,((e,[,t,r,n,i])=>{M(e,r,t,n,i)})),D.add(o.SexpOpcodes.GetSymbol,((e,[,t,r])=>{e(n.Op.GetVariable,t),I(e,r)})),D.add(o.SexpOpcodes.GetLexicalSymbol,((e,[,t,r])=>{e(h.TemplateLocal,t,(t=>{e(n.Op.ConstantReference,t),I(e,r)}))})),D.add(o.SexpOpcodes.GetStrictKeyword,((e,t)=>{e(h.Local,t[1],(r=>{e(h.Helper,t,(t=>{A(e,t,null,null)}))}))})),D.add(o.SexpOpcodes.GetFreeAsHelperHead,((e,t)=>{e(h.Local,t[1],(r=>{e(h.Helper,t,(t=>{A(e,t,null,null)}))}))})),D.add(o.SexpOpcodes.Undefined,(e=>S(e,void 0))),D.add(o.SexpOpcodes.HasBlock,((e,[,t])=>{j(e,t),e(n.Op.HasBlock)})),D.add(o.SexpOpcodes.HasBlockParams,((e,[,t])=>{j(e,t),e(n.Op.SpreadBlock),e(n.Op.CompileBlock),e(n.Op.HasBlockParams)})),D.add(o.SexpOpcodes.IfInline,((e,[,t,r,i])=>{j(e,i),j(e,r),j(e,t),e(n.Op.IfInline)})),D.add(o.SexpOpcodes.Not,((e,[,t])=>{j(e,t),e(n.Op.Not)})),D.add(o.SexpOpcodes.GetDynamicVar,((e,[,t])=>{j(e,t),e(n.Op.GetDynamicVar)})),D.add(o.SexpOpcodes.Log,((e,[,t])=>{e(n.MachineOp.PushFrame),F(e,t,null,!1),e(n.Op.Log),e(n.MachineOp.PopFrame),e(n.Op.Fetch,n.$v0)}));const Q="&attrs";function K(e,r,i,o,a,l){let{compilable:u,capabilities:c,handle:p}=r,d=i?[i,[]]:null,h=Array.isArray(l)||null===l?R(l):l;u?(e(n.Op.PushComponentDefinition,p),function(e,{capabilities:r,layout:i,elementBlock:o,positional:a,named:l,blocks:u}){let{symbolTable:c}=i,p=c.hasEval||(0,s.hasCapability)(r,n.InternalComponentCapabilities.prepareArgs);if(p)return void X(e,{capabilities:r,elementBlock:o,positional:a,named:l,atNames:!0,blocks:u,layout:i});e(n.Op.Fetch,n.$s0),e(n.Op.Dup,n.$sp,1),e(n.Op.Load,n.$s0),e(n.MachineOp.PushFrame);let{symbols:d}=c,h=[],m=[],f=[],g=u.names;if(null!==o){let t=d.indexOf(Q);-1!==t&&(V(e,o),h.push(t))}for(const t of g){let r=d.indexOf(`&${t}`);-1!==r&&(V(e,u.get(t)),h.push(r))}if((0,s.hasCapability)(r,n.InternalComponentCapabilities.createArgs)){let r=L(e,a)<<4;r|=8;let i=t.EMPTY_STRING_ARRAY;if(null!==l){i=l[0];let r=l[1];for(let n=0;n0?1:0),e(n.Op.SetVariable,0);for(const r of(0,t.reverse)(m))-1===r?e(n.Op.Pop,1):e(n.Op.SetVariable,r+1);null!==a&&e(n.Op.Pop,a.length);for(const r of(0,t.reverse)(h))e(n.Op.SetBlock,r+1);e(n.Op.Constant,_(i)),e(n.Op.CompileBlock),e(n.MachineOp.InvokeVirtual),e(n.Op.DidRenderLayout,n.$s0),e(n.MachineOp.PopFrame),e(n.Op.PopScope),(0,s.hasCapability)(r,n.InternalComponentCapabilities.dynamicScope)&&e(n.Op.PopDynamicScope);e(n.Op.CommitComponentTransaction),e(n.Op.Load,n.$s0)}(e,{capabilities:c,layout:u,elementBlock:d,positional:o,named:a,blocks:h})):(e(n.Op.PushComponentDefinition,p),X(e,{capabilities:c,elementBlock:d,positional:o,named:a,atNames:!0,blocks:h}))}function J(e,t,r,i,o,s,a,l){let u=r?[r,[]]:null,c=Array.isArray(s)||null===s?R(s):s;W(e,(()=>(j(e,t),e(n.Op.Dup,n.$sp,0),2)),(()=>{e(n.Op.JumpUnless,g("ELSE")),l?e(n.Op.ResolveCurriedComponent):e(n.Op.ResolveDynamicComponent,b()),e(n.Op.PushDynamicComponentInstance),X(e,{capabilities:!0,elementBlock:u,positional:i,named:o,atNames:a,blocks:c}),e(m.Label,"ELSE")}))}function X(e,{capabilities:r,elementBlock:i,positional:o,named:a,atNames:l,blocks:u,layout:c}){let p=!!u,d=!0===r||(0,s.hasCapability)(r,n.InternalComponentCapabilities.prepareArgs)||!(!a||0===a[0].length),h=u.with("attrs",i);e(n.Op.Fetch,n.$s0),e(n.Op.Dup,n.$sp,1),e(n.Op.Load,n.$s0),e(n.MachineOp.PushFrame),function(e,r,i,o,s){let a=o.names;for(const t of a)V(e,o.get(t));let l=L(e,r)<<4;s&&(l|=8),o&&(l|=7);let u=t.EMPTY_ARRAY;if(i){u=i[0];let t=i[1];for(let r=0;r{c?(e(n.Op.PushSymbolTable,v(c.symbolTable)),e(n.Op.Constant,_(c)),e(n.Op.CompileBlock)):e(n.Op.GetComponentLayout,n.$s0),e(n.Op.PopulateLayout,n.$s0)})),e(n.Op.Load,n.$s0)}function Z(e,t,r){e(m.StartLabels),function(e,t,r){e(n.Op.Fetch,t),r(),e(n.Op.Load,t)}(e,n.$s1,(()=>{e(n.Op.GetComponentTagName,n.$s0),e(n.Op.PrimitiveReference),e(n.Op.Dup,n.$sp,0)})),e(n.Op.JumpUnless,g("BODY")),e(n.Op.Fetch,n.$s1),e(n.Op.PutComponentOperations),e(n.Op.OpenDynamicElement),e(n.Op.DidCreateElement,n.$s0),H(e,r,null),e(n.Op.FlushElement),e(m.Label,"BODY"),$(e,[t.block[0],[]]),e(n.Op.Fetch,n.$s1),e(n.Op.JumpUnless,g("END")),e(n.Op.CloseElement),e(m.Label,"END"),e(n.Op.Load,n.$s1),e(m.StopLabels)}function ee(e,t,r,i,o=null){e(n.Op.BeginComponentTransaction,n.$s0),e(n.Op.PushDynamicScope),e(n.Op.CreateComponent,0|t,n.$s0),o&&o(),e(n.Op.RegisterComponentDestructor,n.$s0),e(n.Op.GetComponentSelf,n.$s0),e(n.Op.VirtualRootScope,n.$s0),e(n.Op.SetVariable,0),e(n.Op.SetupForEval,n.$s0),i&&e(n.Op.SetNamedVariables,n.$s0),r&&e(n.Op.SetBlocks,n.$s0),e(n.Op.Pop,1),e(n.Op.InvokeComponentLayout,n.$s0),e(n.Op.DidRenderLayout,n.$s0),e(n.MachineOp.PopFrame),e(n.Op.PopScope),e(n.Op.PopDynamicScope),e(n.Op.CommitComponentTransaction)}function te(e,t,r){G(e,(()=>e(n.Op.ContentType)),(i=>{i(n.ContentType.String,(()=>{t?(e(n.Op.AssertSame),e(n.Op.AppendHTML)):e(n.Op.AppendText)})),"number"==typeof r?(i(n.ContentType.Component,(()=>{e(n.Op.ResolveCurriedComponent),e(n.Op.PushDynamicComponentInstance),function(e){e(n.Op.Fetch,n.$s0),e(n.Op.Dup,n.$sp,1),e(n.Op.Load,n.$s0),e(n.MachineOp.PushFrame),e(n.Op.PushEmptyArgs),e(n.Op.PrepareArgs,n.$s0),ee(e,!1,!1,!0,(()=>{e(n.Op.GetComponentLayout,n.$s0),e(n.Op.PopulateLayout,n.$s0)})),e(n.Op.Load,n.$s0)}(e)})),i(n.ContentType.Helper,(()=>{x(e,null,null,(()=>{e(n.MachineOp.InvokeStatic,r)}))}))):(i(n.ContentType.Component,(()=>{e(n.Op.AppendText)})),i(n.ContentType.Helper,(()=>{e(n.Op.AppendText)}))),i(n.ContentType.SafeString,(()=>{e(n.Op.AssertSame),e(n.Op.AppendSafeHTML)})),i(n.ContentType.Fragment,(()=>{e(n.Op.AssertSame),e(n.Op.AppendDocumentFragment)})),i(n.ContentType.Node,(()=>{e(n.Op.AssertSame),e(n.Op.AppendNode)}))}))}function re(e){let t=ie(e,(e=>function(e){e(n.Op.Main,n.$s0),ee(e,!1,!1,!0)}(e))),r=ie(e,(e=>te(e,!0,null))),i=ie(e,(e=>te(e,!1,null))),o=ie(e,(e=>te(e,!0,r))),s=ie(e,(e=>te(e,!1,i)));return new w(t,o,s,r,i)}const ne={evalSymbols:null,upvars:null,moduleName:"stdlib",scopeValues:null,isStrictMode:!0,owner:null,size:0};function ie(e,t){let{constants:r,heap:n,resolver:i}=e,o=new E(n,ne);t((function(...e){C(o,r,i,ne,e)}));let s=o.commit(0);if("number"!=typeof s)throw new Error("Unexpected errors compiling std");return s}class oe{constructor({constants:e,heap:t},r,n){this.constants=void 0,this.heap=void 0,this.stdlib=void 0,this.resolver=r,this.createOp=n,this.constants=e,this.heap=t,this.stdlib=re(this)}}function se(e,t){return{program:e,encoder:new E(e.heap,t,e.stdlib),meta:t}}e.CompileTimeCompilationContextImpl=oe;const ae=new N,le=["class","id","value","name","type","style","href"],ue=["div","span","p","a"];function ce(e){return"string"==typeof e?e:ue[e]}function pe(e){return"string"==typeof e?e:le[e]}function de(e){if(null===e)return null;return[e[0].map((e=>`@${e}`)),e[1]]}ae.add(o.SexpOpcodes.Comment,((e,t)=>e(n.Op.Comment,t[1]))),ae.add(o.SexpOpcodes.CloseElement,(e=>e(n.Op.CloseElement))),ae.add(o.SexpOpcodes.FlushElement,(e=>e(n.Op.FlushElement))),ae.add(o.SexpOpcodes.Modifier,((e,[,t,r,i])=>{u(t)?e(h.Modifier,t,(t=>{e(n.MachineOp.PushFrame),F(e,r,i,!1),e(n.Op.Modifier,t),e(n.MachineOp.PopFrame)})):(j(e,t),e(n.MachineOp.PushFrame),F(e,r,i,!1),e(n.Op.Dup,n.$fp,1),e(n.Op.DynamicModifier),e(n.MachineOp.PopFrame))})),ae.add(o.SexpOpcodes.StaticAttr,((e,[,t,r,i])=>{e(n.Op.StaticAttr,pe(t),r,i??null)})),ae.add(o.SexpOpcodes.StaticComponentAttr,((e,[,t,r,i])=>{e(n.Op.StaticComponentAttr,pe(t),r,i??null)})),ae.add(o.SexpOpcodes.DynamicAttr,((e,[,t,r,i])=>{j(e,r),e(n.Op.DynamicAttr,pe(t),!1,i??null)})),ae.add(o.SexpOpcodes.TrustingDynamicAttr,((e,[,t,r,i])=>{j(e,r),e(n.Op.DynamicAttr,pe(t),!0,i??null)})),ae.add(o.SexpOpcodes.ComponentAttr,((e,[,t,r,i])=>{j(e,r),e(n.Op.ComponentAttr,pe(t),!1,i??null)})),ae.add(o.SexpOpcodes.TrustingComponentAttr,((e,[,t,r,i])=>{j(e,r),e(n.Op.ComponentAttr,pe(t),!0,i??null)})),ae.add(o.SexpOpcodes.OpenElement,((e,[,t])=>{e(n.Op.OpenElement,ce(t))})),ae.add(o.SexpOpcodes.OpenElementWithSplat,((e,[,t])=>{e(n.Op.PutComponentOperations),e(n.Op.OpenElement,ce(t))})),ae.add(o.SexpOpcodes.Component,((e,[,t,r,n,i])=>{l(t)?e(h.Component,t,(t=>{K(e,t,r,null,n,i)})):J(e,t,r,null,n,i,!0,!0)})),ae.add(o.SexpOpcodes.Yield,((e,[,t,r])=>H(e,t,r))),ae.add(o.SexpOpcodes.AttrSplat,((e,[,t])=>H(e,t,null))),ae.add(o.SexpOpcodes.Debugger,((e,[,t])=>e(n.Op.Debugger,{type:f.DebugSymbols,value:void 0},t))),ae.add(o.SexpOpcodes.Append,((e,[,t])=>{if(Array.isArray(t))if(p(t))e(h.OptionalComponentOrHelper,t,{ifComponent(t){K(e,t,null,null,null,null)},ifHelper(t){e(n.MachineOp.PushFrame),A(e,t,null,null),e(n.MachineOp.InvokeStatic,y("cautious-non-dynamic-append")),e(n.MachineOp.PopFrame)},ifValue(t){e(n.MachineOp.PushFrame),e(n.Op.ConstantReference,t),e(n.MachineOp.InvokeStatic,y("cautious-non-dynamic-append")),e(n.MachineOp.PopFrame)}});else if(t[0]===o.SexpOpcodes.Call){let[,r,i,o]=t;p(r)?e(h.ComponentOrHelper,r,{ifComponent(t){K(e,t,null,i,de(o),null)},ifHelper(t){e(n.MachineOp.PushFrame),A(e,t,i,o),e(n.MachineOp.InvokeStatic,y("cautious-non-dynamic-append")),e(n.MachineOp.PopFrame)}}):G(e,(()=>{j(e,r),e(n.Op.DynamicContentType)}),(t=>{t(n.ContentType.Component,(()=>{e(n.Op.ResolveCurriedComponent),e(n.Op.PushDynamicComponentInstance),X(e,{capabilities:!0,elementBlock:null,positional:i,named:o,atNames:!1,blocks:R(null)})})),t(n.ContentType.Helper,(()=>{x(e,i,o,(()=>{e(n.MachineOp.InvokeStatic,y("cautious-non-dynamic-append"))}))}))}))}else e(n.MachineOp.PushFrame),j(e,t),e(n.MachineOp.InvokeStatic,y("cautious-append")),e(n.MachineOp.PopFrame);else e(n.Op.Text,null==t?"":String(t))})),ae.add(o.SexpOpcodes.TrustingAppend,((e,[,t])=>{Array.isArray(t)?(e(n.MachineOp.PushFrame),j(e,t),e(n.MachineOp.InvokeStatic,y("trusting-append")),e(n.MachineOp.PopFrame)):e(n.Op.Text,null==t?"":String(t))})),ae.add(o.SexpOpcodes.Block,((e,[,t,r,n,i])=>{l(t)?e(h.Component,t,(t=>{K(e,t,null,r,de(n),i)})):J(e,t,null,r,n,i,!1,!1)})),ae.add(o.SexpOpcodes.InElement,((e,[,t,r,i,o])=>{Y(e,(()=>(j(e,r),void 0===o?S(e,void 0):j(e,o),j(e,i),e(n.Op.Dup,n.$sp,0),4)),(()=>{e(n.Op.PushRemoteElement),$(e,t),e(n.Op.PopRemoteElement)}))})),ae.add(o.SexpOpcodes.If,((e,[,t,r,i])=>Y(e,(()=>(j(e,t),e(n.Op.ToBoolean),1)),(()=>{$(e,r)}),i?()=>{$(e,i)}:void 0))),ae.add(o.SexpOpcodes.Each,((e,[,t,r,i,o])=>W(e,(()=>(r?j(e,r):S(e,null),j(e,t),2)),(()=>{e(n.Op.EnterList,g("BODY"),g("ELSE")),e(n.MachineOp.PushFrame),e(n.Op.Dup,n.$fp,1),e(n.MachineOp.ReturnTo,g("ITER")),e(m.Label,"ITER"),e(n.Op.Iterate,g("BREAK")),e(m.Label,"BODY"),z(e,i,2),e(n.Op.Pop,2),e(n.MachineOp.Jump,g("FINALLY")),e(m.Label,"BREAK"),e(n.MachineOp.PopFrame),e(n.Op.ExitList),e(n.MachineOp.Jump,g("FINALLY")),e(m.Label,"ELSE"),o&&$(e,o)})))),ae.add(o.SexpOpcodes.Let,((e,[,t,r])=>{z(e,r,L(e,t))})),ae.add(o.SexpOpcodes.WithDynamicVars,((e,[,t,r])=>{if(t){let[i,o]=t;L(e,o),function(e,t,r){e(n.Op.PushDynamicScope),e(n.Op.BindDynamicScope,t),r(),e(n.Op.PopDynamicScope)}(e,i,(()=>{$(e,r)}))}else $(e,r)})),ae.add(o.SexpOpcodes.InvokeComponent,((e,[,t,r,n,i])=>{l(t)?e(h.Component,t,(t=>{K(e,t,null,r,de(n),i)})):J(e,t,null,r,n,i,!1,!1)}));class he{constructor(e,t,r,n="plain block"){this.compiled=null,this.statements=e,this.meta=t,this.symbolTable=r,this.moduleName=n}compile(e){return function(e,t){if(null!==e.compiled)return e.compiled;e.compiled=-1;let{statements:r,meta:n}=e,i=fe(r,n,t);return e.compiled=i,i}(this,e)}}function me(e,t){let[r,n,i]=e.block;return new he(r,B(e),{symbols:n,hasEval:i},t)}function fe(e,t,r){let n=ae,i=se(r,t),{encoder:o,program:{constants:s,resolver:a}}=i;function l(...e){C(o,s,a,t,e)}for(const t of e)n.compile(l,t);return i.encoder.commit(t.size)}e.DEFAULT_CAPABILITIES={dynamicLayout:!0,dynamicTag:!0,prepareArgs:!0,createArgs:!0,attributeHook:!1,elementHook:!1,dynamicScope:!0,createCaller:!1,updateHook:!0,createInstance:!0,wrapped:!1,willDestroy:!1,hasSubOwner:!1},e.MINIMAL_CAPABILITIES={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!1,attributeHook:!1,elementHook:!1,dynamicScope:!1,createCaller:!1,updateHook:!1,createInstance:!1,wrapped:!1,willDestroy:!1,hasSubOwner:!1};class ge{constructor(e,t){this.symbolTable=void 0,this.compiled=null,this.attrsBlockNumber=void 0,this.layout=e,this.moduleName=t;let{block:r}=e,[,n,i]=r;n=n.slice();let o=n.indexOf(Q);this.attrsBlockNumber=-1===o?n.push(Q):o+1,this.symbolTable={hasEval:i,symbols:n}}compile(e){if(null!==this.compiled)return this.compiled;let t=B(this.layout),r=se(e,t),{encoder:n,program:{constants:i,resolver:o}}=r;Z((function(...e){C(n,i,o,t,e)}),this.layout,this.attrsBlockNumber);let s=r.encoder.commit(t.size);return"number"!=typeof s||(this.compiled=s),s}}e.WrappedBuilder=ge;let be=0,ye=e.templateCacheCounters={cacheHit:0,cacheMiss:0};class ve{constructor(e){this.result="ok",this.layout=null,this.wrappedLayout=null,this.parsedLayout=e}get moduleName(){return this.parsedLayout.moduleName}get id(){return this.parsedLayout.id}get referrer(){return{moduleName:this.parsedLayout.moduleName,owner:this.parsedLayout.owner}}asLayout(){return this.layout?this.layout:this.layout=me((0,t.assign)({},this.parsedLayout),this.moduleName)}asWrappedLayout(){return this.wrappedLayout?this.wrappedLayout:this.wrappedLayout=new ge((0,t.assign)({},this.parsedLayout),this.moduleName)}}})),e("@glimmer/owner",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OWNER=void 0,e.getOwner=function(e){return e[t]},e.setOwner=function(e,r){e[t]=r};const t=e.OWNER=Symbol("OWNER")})),e("@glimmer/program",["exports","@glimmer/manager","@glimmer/opcode-compiler","@glimmer/util","@glimmer/vm","@glimmer/wire-format"],(function(e,t,r,n,i,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.RuntimeProgramImpl=e.RuntimeOpImpl=e.RuntimeHeapImpl=e.RuntimeConstantsImpl=e.HeapImpl=e.ConstantsImpl=e.CompileTimeConstantImpl=void 0,e.artifacts=function(){return{constants:new d,heap:new b}},e.hydrateHeap=function(e){return new g(e)};const s=[[[o.SexpOpcodes.Yield,1,null]],["&default"],!1,[]],a={id:"1b32f5c2-7623-43d6-a0ad-9672898920a1",moduleName:"__default__.hbs",block:JSON.stringify(s),scope:null,isStrictMode:!0},l=Object.freeze([]),u=(0,n.constants)(l),c=u.indexOf(l);class p{constructor(){this.values=u.slice(),this.indexMap=new Map(this.values.map(((e,t)=>[e,t])))}value(e){let t=this.indexMap,r=t.get(e);return void 0===r&&(r=this.values.push(e)-1,t.set(e,r)),r}array(e){if(0===e.length)return c;let t=new Array(e.length);for(let r=0;r=0,`cannot get value for handle: ${e}`),this.values[e]}getArray(e){let t=this.reifiedArrs,r=t[e];if(void 0===r){let i=this.getValue(e);r=new Array(i.length);for(const[e,t]of(0,n.enumerate)(i))r[e]=this.getValue(t);t[e]=r}return r}}e.ConstantsImpl=d;class h{constructor(e){this.offset=0,this.heap=e}get size(){return 1+((this.heap.getbyaddr(this.offset)&i.OPERAND_LEN_MASK)>>i.ARG_SHIFT)}get isMachine(){return this.heap.getbyaddr(this.offset)&i.MACHINE_MASK?1:0}get type(){return this.heap.getbyaddr(this.offset)&i.TYPE_MASK}get op1(){return this.heap.getbyaddr(this.offset+1)}get op2(){return this.heap.getbyaddr(this.offset+2)}get op3(){return this.heap.getbyaddr(this.offset+3)}}e.RuntimeOpImpl=h;var m=function(e){return e[e.Allocated=0]="Allocated",e[e.Freed=1]="Freed",e[e.Purged=2]="Purged",e[e.Pointer=3]="Pointer",e}(m||{});const f=1048576;class g{constructor(e){this.heap=void 0,this.table=void 0;let{buffer:t,table:r}=e;this.heap=new Int32Array(t),this.table=r}getaddr(e){return(0,n.unwrap)(this.table[e])}getbyaddr(e){return(0,n.expect)(this.heap[e],"Access memory out of bounds of the heap")}sizeof(e){return y(this.table)}}e.RuntimeHeapImpl=g;class b{constructor(){this.offset=0,this.heap=void 0,this.handleTable=void 0,this.handleState=void 0,this.handle=0,this.heap=new Int32Array(f),this.handleTable=[],this.handleState=[]}pushRaw(e){this.sizeCheck(),this.heap[this.offset++]=e}pushOp(e){this.pushRaw(e)}pushMachine(e){this.pushRaw(e|i.MACHINE_MASK)}sizeCheck(){let{heap:e}=this;if(this.offset===this.heap.length){let t=new Int32Array(e.length+f);t.set(e,0),this.heap=t}}getbyaddr(e){return(0,n.unwrap)(this.heap[e])}setbyaddr(e,t){this.heap[e]=t}malloc(){return this.handleTable.push(this.offset),this.handleTable.length-1}finishMalloc(e){}size(){return this.offset}getaddr(e){return(0,n.unwrap)(this.handleTable[e])}sizeof(e){return y(this.handleTable)}free(e){this.handleState[e]=m.Freed}compact(){let e=0,{handleTable:t,handleState:r,heap:i}=this;for(let o=0;of(e)),(t=>g(e,t)));return t.debugLabel=e.debugLabel,t[i]=l,t},e.createIteratorItemRef=function(e){let t=e,r=(0,n.createTag)();return h((()=>((0,n.consumeTag)(r),t)),(e=>{t!==e&&(t=e,(0,n.dirtyTag)(r))}))},e.createIteratorRef=function(e,n){return h((()=>{let i=f(e),o=function(e){switch(e){case"@key":return w(v);case"@index":return w(_);case"@identity":return w(O);default:return function(e){0;return w((r=>(0,t.getPath)(r,e)))}(e)}}(n);if(Array.isArray(i))return new T(i,o);let s=(0,t.toIterator)(i);return null===s?new T(r.EMPTY_ARRAY,(()=>null)):new k(s,o)}))},e.createPrimitiveRef=c,e.createReadOnlyRef=function(e){return m(e)?h((()=>f(e)),null,e.debugLabel):e},e.createUnboundRef=d,e.isConstRef=function(e){return e.tag===n.CONSTANT_TAG},e.isInvokableRef=function(e){return e[i]===l},e.isUpdatableRef=m,e.updateRef=g,e.valueForRef=f;const i=e.REFERENCE=Symbol("REFERENCE"),o=0,s=1,a=2,l=3;class u{constructor(e){this[i]=void 0,this.tag=null,this.lastRevision=n.INITIAL,this.lastValue=void 0,this.children=null,this.compute=null,this.update=null,this.debugLabel=void 0,this[i]=e}}function c(e){const t=new u(a);return t.tag=n.CONSTANT_TAG,t.lastValue=e,t}const p=e.UNDEFINED_REFERENCE=c(void 0);e.NULL_REFERENCE=c(null),e.TRUE_REFERENCE=c(!0),e.FALSE_REFERENCE=c(!1);function d(e,t){const r=new u(a);return r.lastValue=e,r.tag=n.CONSTANT_TAG,r}function h(e,t=null,r="unknown"){const n=new u(s);return n.compute=e,n.update=t,n}function m(e){return null!==e.update}function f(e){const t=e;let{tag:r}=t;if(r===n.CONSTANT_TAG)return t.lastValue;const{lastRevision:i}=t;let o;if(null!==r&&(0,n.validateTag)(r,i))o=t.lastValue;else{const{compute:e}=t,i=(0,n.track)((()=>{o=t.lastValue=e()}),!1);r=t.tag=i,t.lastRevision=(0,n.valueForTag)(i)}return(0,n.consumeTag)(r),o}function g(e,t){const n=e;(0,r.expect)(n.update,"called update on a non-updatable reference")(t)}function b(e,n){const o=e,s=o[i];let l,u=o.children;if(null===u)u=o.children=new Map;else if(l=u.get(n),void 0!==l)return l;if(s===a){const e=f(o);l=(0,r.isDict)(e)?d(e[n]):p}else l=h((()=>{const e=f(o);if((0,r.isDict)(e))return(0,t.getProp)(e,n)}),(e=>{const i=f(o);if((0,r.isDict)(i))return(0,t.setProp)(i,n,e)}));return u.set(n,l),l}e.createDebugAliasRef=void 0;const y={},v=(e,t)=>t,_=(e,t)=>String(t),O=e=>null===e?y:e;class C{constructor(){this._weakMap=void 0,this._primitiveMap=void 0}get weakMap(){return void 0===this._weakMap&&(this._weakMap=new WeakMap),this._weakMap}get primitiveMap(){return void 0===this._primitiveMap&&(this._primitiveMap=new Map),this._primitiveMap}set(e,t){(0,r.isObject)(e)?this.weakMap.set(e,t):this.primitiveMap.set(e,t)}get(e){return(0,r.isObject)(e)?this.weakMap.get(e):this.primitiveMap.get(e)}}const E=new C;function w(e){let t=new C;return(r,n)=>{let i=e(r,n),o=t.get(i)||0;return t.set(i,o+1),0===o?i:function(e,t){let r=E.get(e);void 0===r&&(r=[],E.set(e,r));let n=r[t];return void 0===n&&(n={value:e,count:t},r[t]=n),n}(i,o)}}class k{constructor(e,t){this.inner=e,this.keyFor=t}isEmpty(){return this.inner.isEmpty()}next(){let e=this.inner.next();return null!==e&&(e.key=this.keyFor(e.value,e.memo)),e}}class T{constructor(e,t){this.current=void 0,this.pos=0,this.iterator=e,this.keyFor=t,0===e.length?this.current={kind:"empty"}:this.current={kind:"first",value:e[this.pos]}}isEmpty(){return"empty"===this.current.kind}next(){let e,t=this.current;if("first"===t.kind)this.current={kind:"progress"},e=t.value;else{if(this.pos>=this.iterator.length-1)return null;e=this.iterator[++this.pos]}let{keyFor:r}=this;return{key:r(e,this.pos),value:e,memo:this.pos}}}})),e("@glimmer/runtime",["exports","@glimmer/debug","@glimmer/reference","@glimmer/util","@glimmer/vm","@glimmer/destroyable","@glimmer/global-context","@glimmer/manager","@glimmer/validator","@glimmer/program","@glimmer/owner"],(function(e,t,r,n,i,o,s,a,l,u,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.array=e.UpdatingVM=e.UpdatableBlockImpl=e.TemplateOnlyComponentManager=e.TemplateOnlyComponent=e.TEMPLATE_ONLY_COMPONENT_MANAGER=e.SimpleDynamicAttribute=e.SERIALIZATION_FIRST_NODE_STRING=e.RemoteLiveBlock=e.RehydrateBuilder=e.PartialScopeImpl=e.NewElementBuilder=e.LowLevelVM=e.IDOMChanges=e.EnvironmentImpl=e.EMPTY_POSITIONAL=e.EMPTY_NAMED=e.EMPTY_ARGS=e.DynamicScopeImpl=e.DynamicAttribute=e.DOMTreeConstruction=e.DOMChanges=e.CursorImpl=e.CurriedValue=e.ConcreteBounds=void 0,e.clear=E,e.clientBuilder=function(e,t){return re.forInitialRender(e,t)},e.concat=void 0,e.createCapturedArgs=lt,e.curry=ye,Object.defineProperty(e,"destroy",{enumerable:!0,get:function(){return o.destroy}}),e.dynamicAttribute=$,e.hash=e.get=e.fn=void 0,e.inTransaction=Qt,e.invokeHelper=function(e,t,r){0;const n=(0,c.getOwner)(e),i=(0,a.getInternalHelperManager)(t);0;0;const s=i.getDelegateFor(n);let u,p=new tr(e,r),d=s.createHelper(t,p);if(!(0,a.hasValue)(s))throw new Error("TODO: unreachable, to be implemented with hasScheduledEffect");u=(0,l.createCache)((()=>s.getValue(d))),(0,o.associateDestroyableChild)(e,u);if((0,a.hasDestroyable)(s)){let e=s.getDestroyable(d);(0,o.associateDestroyableChild)(u,e)}return u},Object.defineProperty(e,"isDestroyed",{enumerable:!0,get:function(){return o.isDestroyed}}),Object.defineProperty(e,"isDestroying",{enumerable:!0,get:function(){return o.isDestroying}}),e.isSerializationFirstNode=function(e){return e.nodeValue===Or},e.isWhitespace=function(e){return Bt.test(e)},e.normalizeProperty=P,e.on=void 0,Object.defineProperty(e,"registerDestructor",{enumerable:!0,get:function(){return o.registerDestructor}}),e.rehydrationBuilder=function(e,t){return Er.forInitialRender(e,t)},e.reifyArgs=function(e){return{named:ut(e.named),positional:ct(e.positional)}},e.reifyNamed=ut,e.reifyPositional=ct,e.renderComponent=function(e,t,i,o,s,a={},l=new p){let u=br.empty(e,{treeBuilder:t,handle:i.stdlib.main,dynamicScope:l,owner:o},i);return function(e,t,r,i,o){const s=Object.keys(o).map((e=>[e,o[e]])),a=["main","else","attrs"],l=s.map((([e])=>`@${e}`));let u=e[y].component(i,r);e.pushFrame();for(let t=0;t<3*a.length;t++)e.stack.push(null);e.stack.push(null),s.forEach((([,t])=>{e.stack.push(t)})),e[v].setup(e.stack,l,a,0,!0);const c=(0,n.expect)(u.compilable,"BUG: Expected the root component rendered with renderComponent to have an associated template, set with setComponentTemplate"),p=(0,n.unwrapHandle)(c.compile(t)),d={handle:p,symbolTable:c.symbolTable};return e.stack.push(e[v]),e.stack.push(d),e.stack.push(u),new _r(e)}(u,i,o,s,function(e){const t=(0,r.createConstRef)(e,"args");return Object.keys(e).reduce(((e,n)=>(e[n]=(0,r.childRefFor)(t,n),e)),{})}(a))},e.renderMain=function(e,t,r,i,o,s,a=new p){let l=(0,n.unwrapHandle)(s.compile(t)),u=s.symbolTable.symbols.length,c=br.initial(e,t,{self:i,dynamicScope:a,treeBuilder:o,handle:l,numSymbols:u,owner:r});return new _r(c)},e.renderSync=function(e,t){let r;return Qt(e,(()=>r=t.sync())),r},e.resetDebuggerCallback=function(){kt=wt},e.runtimeContext=function(e,t,r,n){return{env:new Yt(e,t),program:new u.RuntimeProgramImpl(r.constants,r.heap),resolver:n}},e.setDebuggerCallback=function(e){kt=e},e.templateOnlyComponent=function(e,t){return new At(e,t)};class p{constructor(e){this.bucket=void 0,this.bucket=e?(0,n.assign)({},e):{}}get(e){return(0,n.unwrap)(this.bucket[e])}set(e,t){return this.bucket[e]=t}child(){return new p(this.bucket)}}e.DynamicScopeImpl=p;class d{static root(e,t=0,n){let i=new Array(t+1).fill(r.UNDEFINED_REFERENCE);return new d(i,n,null,null,null).init({self:e})}static sized(e=0,t){let n=new Array(e+1).fill(r.UNDEFINED_REFERENCE);return new d(n,t,null,null,null)}constructor(e,t,r,n,i){this.slots=e,this.owner=t,this.callerScope=r,this.evalScope=n,this.partialMap=i}init({self:e}){return this.slots[0]=e,this}getSelf(){return this.get(0)}getSymbol(e){return this.get(e)}getBlock(e){let t=this.get(e);return t===r.UNDEFINED_REFERENCE?null:t}getEvalScope(){return this.evalScope}getPartialMap(){return this.partialMap}bind(e,t){this.set(e,t)}bindSelf(e){this.set(0,e)}bindSymbol(e,t){this.set(e,t)}bindBlock(e,t){this.set(e,t)}bindEvalScope(e){this.evalScope=e}bindPartialMap(e){this.partialMap=e}bindCallerScope(e){this.callerScope=e}getCallerScope(){return this.callerScope}child(){return new d(this.slots.slice(),this.owner,this.callerScope,this.evalScope,this.partialMap)}get(e){if(e>=this.slots.length)throw new RangeError(`BUG: cannot get $${e} from scope; length=${this.slots.length}`);return this.slots[e]}set(e,t){if(e>=this.slots.length)throw new RangeError(`BUG: cannot get $${e} from scope; length=${this.slots.length}`);this.slots[e]=t}}e.PartialScopeImpl=d;const h=Symbol("INNER_VM"),m=Symbol("DESTROYABLE_STACK"),f=Symbol("STACKS"),g=Symbol("REGISTERS"),b=Symbol("HEAP"),y=Symbol("CONSTANTS"),v=Symbol("ARGS");class _{constructor(e,t){this.element=e,this.nextSibling=t}}e.CursorImpl=_;class O{constructor(e,t,r){this.parentNode=e,this.first=t,this.last=r}parentElement(){return this.parentNode}firstNode(){return this.first}lastNode(){return this.last}}function C(e,t){let r=e.parentElement(),i=e.firstNode(),o=e.lastNode(),s=i;for(;;){let e=s.nextSibling;if(r.insertBefore(s,t),s===o)return e;s=(0,n.expect)(e,"invalid bounds")}}function E(e){let t=e.parentElement(),r=e.firstNode(),i=e.lastNode(),o=r;for(;;){let e=o.nextSibling;if(t.removeChild(o),o===i)return e;o=(0,n.expect)(e,"invalid bounds")}}function w(e){return k(e)?"":String(e)}function k(e){return null==e||"function"!=typeof e.toString}function T(e){return"object"==typeof e&&null!==e&&"function"==typeof e.toHTML}function R(e){return"object"==typeof e&&null!==e&&"number"==typeof e.nodeType}function S(e){return"string"==typeof e}function P(e,t){let r,n;if(t in e)n=t,r="prop";else{let i=t.toLowerCase();i in e?(r="prop",n=i):(r="attr",n=t)}return"prop"!==r||"style"!==n.toLowerCase()&&!function(e,t){let r=A[e.toUpperCase()];return r&&r[t.toLowerCase()]||!1}(e.tagName,n)||(r="attr"),{normalized:n,type:r}}e.ConcreteBounds=O;const A={INPUT:{form:!0,autocorrect:!0,list:!0},SELECT:{form:!0},OPTION:{form:!0},TEXTAREA:{form:!0},LABEL:{form:!0},FIELDSET:{form:!0},LEGEND:{form:!0},OBJECT:{form:!0},OUTPUT:{form:!0},BUTTON:{form:!0}};const x=["javascript:","vbscript:"],M=["A","BODY","LINK","IMG","IFRAME","BASE","FORM"],N=["EMBED"],D=["href","src","background","action"],I=["src"];function j(e,t){return-1!==e.indexOf(t)}function F(e,t){return(null===e||j(M,e))&&j(D,t)}function L(e,t){return null!==e&&(j(N,e)&&j(I,t))}function B(e,t){return F(e,t)||L(e,t)}let U;function H(e){return U||(U=function(){if("object"==typeof URL&&null!==URL&&"function"==typeof URL.parse){let e=URL;return t=>{let r=null;return"string"==typeof t&&(r=e.parse(t).protocol),null===r?":":r}}if("function"==typeof URL)return e=>{try{return new URL(e).protocol}catch(e){return":"}};throw new Error('@glimmer/runtime needs a valid "globalThis.URL"')}()),U(e)}function V(e,t,r){let n=null;if(null==r)return r;if(T(r))return r.toHTML();n=e?e.tagName.toUpperCase():null;let i=w(r);if(F(n,t)){let e=H(i);if(j(x,e))return`unsafe:${i}`}return L(n,t)?`unsafe:${i}`:i}function $(e,t,r,i=!1){const{tagName:o,namespaceURI:s}=e,a={element:e,name:t,namespace:r};if(s===n.NS_SVG)return z(o,t,a);const{type:l,normalized:u}=P(e,t);return"attr"===l?z(o,u,a):function(e,t,r){if(B(e,t))return new Y(t,r);if(function(e,t){return("INPUT"===e||"TEXTAREA"===e)&&"value"===t}(e,t))return new K(t,r);if(function(e,t){return"OPTION"===e&&"selected"===t}(e,t))return new J(t,r);return new W(t,r)}(o,u,a)}function z(e,t,r){return B(e,t)?new Q(r):new G(r)}class q{constructor(e){this.attribute=e}}e.DynamicAttribute=q;class G extends q{set(e,t,r){const n=X(t);if(null!==n){const{name:t,namespace:r}=this.attribute;e.__setAttribute(t,n,r)}}update(e,t){const r=X(e),{element:n,name:i}=this.attribute;null===r?n.removeAttribute(i):n.setAttribute(i,r)}}e.SimpleDynamicAttribute=G;class W extends q{constructor(e,t){super(t),this.value=void 0,this.normalizedName=e}set(e,t,r){null!=t&&(this.value=t,e.__setProperty(this.normalizedName,t))}update(e,t){const{element:r}=this.attribute;this.value!==e&&(r[this.normalizedName]=this.value=e,null==e&&this.removeAttribute())}removeAttribute(){const{element:e,namespace:t}=this.attribute;t?e.removeAttributeNS(t,this.normalizedName):e.removeAttribute(this.normalizedName)}}class Y extends W{set(e,t,r){const{element:n,name:i}=this.attribute,o=V(n,i,t);super.set(e,o,r)}update(e,t){const{element:r,name:n}=this.attribute,i=V(r,n,e);super.update(i,t)}}class Q extends G{set(e,t,r){const{element:n,name:i}=this.attribute,o=V(n,i,t);super.set(e,o,r)}update(e,t){const{element:r,name:n}=this.attribute,i=V(r,n,e);super.update(i,t)}}class K extends W{set(e,t){e.__setProperty("value",w(t))}update(e){const t=(0,n.castToBrowser)(this.attribute.element,["input","textarea"]),r=t.value,i=w(e);r!==i&&(t.value=i)}}class J extends W{set(e,t){null!=t&&!1!==t&&e.__setProperty("selected",!0)}update(e){const t=(0,n.castToBrowser)(this.attribute.element,"option");t.selected=!!e}}function X(e){return!1===e||null==e||void 0===e.toString?null:!0===e?"":"function"==typeof e?null:String(e)}class Z{constructor(e){this.node=e}firstNode(){return this.node}}class ee{constructor(e){this.node=e}lastNode(){return this.node}}const te=Symbol("CURSOR_STACK");class re{static forInitialRender(e,t){return new this(e,t.element,t.nextSibling).initialize()}static resume(e,t){let r=new this(e,t.parentElement(),t.reset(e)).initialize();return r.pushLiveBlock(t),r}constructor(e,t,r){this.dom=void 0,this.updateOperations=void 0,this.constructing=null,this.operations=null,this.env=void 0,this[te]=new n.Stack,this.modifierStack=new n.Stack,this.blockStack=new n.Stack,this.pushElement(t,r),this.env=e,this.dom=e.getAppendOperations(),this.updateOperations=e.getDOM()}initialize(){return this.pushSimpleBlock(),this}debugBlocks(){return this.blockStack.toArray()}get element(){return this[te].current.element}get nextSibling(){return this[te].current.nextSibling}get hasBlocks(){return this.blockStack.size>0}block(){return(0,n.expect)(this.blockStack.current,"Expected a current live block")}popElement(){this[te].pop(),(0,n.expect)(this[te].current,"can't pop past the last element")}pushSimpleBlock(){return this.pushLiveBlock(new ne(this.element))}pushUpdatableBlock(){return this.pushLiveBlock(new oe(this.element))}pushBlockList(e){return this.pushLiveBlock(new se(this.element,e))}pushLiveBlock(e,t=!1){let r=this.blockStack.current;return null!==r&&(t||r.didAppendBounds(e)),this.__openBlock(),this.blockStack.push(e),e}popBlock(){return this.block().finalize(this),this.__closeBlock(),(0,n.expect)(this.blockStack.pop(),"Expected popBlock to return a block")}__openBlock(){}__closeBlock(){}openElement(e){let t=this.__openElement(e);return this.constructing=t,t}__openElement(e){return this.dom.createElement(e,this.element)}flushElement(e){let t=this.element,r=(0,n.expect)(this.constructing,"flushElement should only be called when constructing an element");this.__flushElement(t,r),this.constructing=null,this.operations=null,this.pushModifiers(e),this.pushElement(r,null),this.didOpenElement(r)}__flushElement(e,t){this.dom.insertBefore(e,t,this.nextSibling)}closeElement(){return this.willCloseElement(),this.popElement(),this.popModifiers()}pushRemoteElement(e,t,r){return this.__pushRemoteElement(e,t,r)}__pushRemoteElement(e,t,r){if(this.pushElement(e,r),void 0===r)for(;e.lastChild;)e.removeChild(e.lastChild);let n=new ie(e);return this.pushLiveBlock(n,!0)}popRemoteElement(){const e=this.popBlock();return(0,n.assert)(e instanceof ie,"[BUG] expecting a RemoteLiveBlock"),this.popElement(),e}pushElement(e,t=null){this[te].push(new _(e,t))}pushModifiers(e){this.modifierStack.push(e)}popModifiers(){return this.modifierStack.pop()}didAppendBounds(e){return this.block().didAppendBounds(e),e}didAppendNode(e){return this.block().didAppendNode(e),e}didOpenElement(e){return this.block().openElement(e),e}willCloseElement(){this.block().closeElement()}appendText(e){return this.didAppendNode(this.__appendText(e))}__appendText(e){let{dom:t,element:r,nextSibling:n}=this,i=t.createTextNode(e);return t.insertBefore(r,i,n),i}__appendNode(e){return this.dom.insertBefore(this.element,e,this.nextSibling),e}__appendFragment(e){let t=e.firstChild;if(t){let r=new O(this.element,t,e.lastChild);return this.dom.insertBefore(this.element,e,this.nextSibling),r}{const e=this.__appendComment("");return new O(this.element,e,e)}}__appendHTML(e){return this.dom.insertHTMLBefore(this.element,this.nextSibling,e)}appendDynamicHTML(e){let t=this.trustedContent(e);this.didAppendBounds(t)}appendDynamicText(e){let t=this.untrustedContent(e);return this.didAppendNode(t),t}appendDynamicFragment(e){let t=this.__appendFragment(e);this.didAppendBounds(t)}appendDynamicNode(e){let t=this.__appendNode(e),r=new O(this.element,t,t);this.didAppendBounds(r)}trustedContent(e){return this.__appendHTML(e)}untrustedContent(e){return this.__appendText(e)}appendComment(e){return this.didAppendNode(this.__appendComment(e))}__appendComment(e){let{dom:t,element:r,nextSibling:n}=this,i=t.createComment(e);return t.insertBefore(r,i,n),i}__setAttribute(e,t,r){this.dom.setAttribute(this.constructing,e,t,r)}__setProperty(e,t){this.constructing[e]=t}setStaticAttribute(e,t,r){this.__setAttribute(e,t,r)}setDynamicAttribute(e,t,r,n){let i=$(this.constructing,e,n,r);return i.set(this,t,this.env),i}}e.NewElementBuilder=re;class ne{constructor(e){this.first=null,this.last=null,this.nesting=0,this.parent=e}parentElement(){return this.parent}firstNode(){return(0,n.expect)(this.first,"cannot call `firstNode()` while `SimpleLiveBlock` is still initializing").firstNode()}lastNode(){return(0,n.expect)(this.last,"cannot call `lastNode()` while `SimpleLiveBlock` is still initializing").lastNode()}openElement(e){this.didAppendNode(e),this.nesting++}closeElement(){this.nesting--}didAppendNode(e){0===this.nesting&&(this.first||(this.first=new Z(e)),this.last=new ee(e))}didAppendBounds(e){0===this.nesting&&(this.first||(this.first=e),this.last=e)}finalize(e){null===this.first&&e.appendComment("")}}class ie extends ne{constructor(e){super(e),(0,o.registerDestructor)(this,(()=>{this.parentElement()===this.firstNode().parentNode&&E(this)}))}}e.RemoteLiveBlock=ie;class oe extends ne{reset(){(0,o.destroy)(this);let e=E(this);return this.first=null,this.last=null,this.nesting=0,e}}e.UpdatableBlockImpl=oe;class se{constructor(e,t){this.parent=e,this.boundList=t,this.parent=e,this.boundList=t}parentElement(){return this.parent}firstNode(){return(0,n.expect)(this.boundList[0],"cannot call `firstNode()` while `LiveBlockList` is still initializing").firstNode()}lastNode(){let e=this.boundList;return(0,n.expect)(e[e.length-1],"cannot call `lastNode()` while `LiveBlockList` is still initializing").lastNode()}openElement(e){(0,n.assert)(!1,"Cannot openElement directly inside a block list")}closeElement(){(0,n.assert)(!1,"Cannot closeElement directly inside a block list")}didAppendNode(e){(0,n.assert)(!1,"Cannot create a new node directly inside a block list")}didAppendBounds(e){}finalize(e){(0,n.assert)(this.boundList.length>0,"boundsList cannot be empty")}}const ae=new class{constructor(){this.evaluateOpcode=new Array(i.Op.Size).fill(null)}add(e,t,r="syscall"){this.evaluateOpcode[e]={syscall:"machine"!==r,evaluate:t}}debugBefore(e,r){let n,o;return(0,t.recordStackSize)(e.fetchValue(i.$sp)),{sp:undefined,pc:e.fetchValue(i.$pc),name:o,params:n,type:r.type,isMachine:r.isMachine,size:r.size,state:void 0}}debugAfter(e,t){}evaluate(e,t,r){let i=(0,n.unwrap)(this.evaluateOpcode[r]);i.syscall?((0,n.assert)(!t.isMachine,`BUG: Mismatch between operation.syscall (${i.syscall}) and opcode.isMachine (${t.isMachine}) for ${t.type}`),i.evaluate(e,t)):((0,n.assert)(t.isMachine,`BUG: Mismatch between operation.syscall (${i.syscall}) and opcode.isMachine (${t.isMachine}) for ${t.type}`),i.evaluate(e[h],t))}},le=Symbol("TYPE"),ue=Symbol("INNER"),ce=Symbol("OWNER"),pe=Symbol("ARGS"),de=Symbol("RESOLVED"),he=new WeakSet;function me(e){return he.has(e)}function fe(e,t){return me(e)&&e[le]===t}class ge{constructor(e,t,r,n,i=!1){this[le]=void 0,this[ue]=void 0,this[ce]=void 0,this[pe]=void 0,this[de]=void 0,he.add(this),this[le]=e,this[ue]=t,this[ce]=r,this[pe]=n,this[de]=i}}function be(e){let t,r,n,i,o,s=e;for(;;){let{[pe]:e,[ue]:a}=s;if(null!==e){let{named:n,positional:i}=e;i.length>0&&(t=void 0===t?i:i.concat(t)),void 0===r&&(r=[]),r.unshift(n)}if(!me(a)){n=a,i=s[ce],o=s[de];break}s=a}return{definition:n,owner:i,resolved:o,positional:t,named:r}}function ye(e,t,r,n,i=!1){return new ge(e,t,r,n,i)}function ve(e){return"getDebugCustomRenderTree"in e}e.CurriedValue=ge,ae.add(i.Op.ChildScope,(e=>e.pushChildScope())),ae.add(i.Op.PopScope,(e=>e.popScope())),ae.add(i.Op.PushDynamicScope,(e=>e.pushDynamicScope())),ae.add(i.Op.PopDynamicScope,(e=>e.popDynamicScope())),ae.add(i.Op.Constant,((e,{op1:t})=>{e.stack.push(e[y].getValue((0,n.decodeHandle)(t)))})),ae.add(i.Op.ConstantReference,((e,{op1:t})=>{e.stack.push((0,r.createConstRef)(e[y].getValue((0,n.decodeHandle)(t)),!1))})),ae.add(i.Op.Primitive,((e,{op1:t})=>{let r=e.stack;if((0,n.isHandle)(t)){let i=e[y].getValue((0,n.decodeHandle)(t));r.push(i)}else r.push((0,n.decodeImmediate)(t))})),ae.add(i.Op.PrimitiveReference,(e=>{let n,i=e.stack,o=(0,t.check)(i.pop(),t.CheckPrimitive);n=void 0===o?r.UNDEFINED_REFERENCE:null===o?r.NULL_REFERENCE:!0===o?r.TRUE_REFERENCE:!1===o?r.FALSE_REFERENCE:(0,r.createPrimitiveRef)(o),i.push(n)})),ae.add(i.Op.Dup,((e,{op1:r,op2:n})=>{let i=(0,t.check)(e.fetchValue(r),t.CheckNumber)-n;e.stack.dup(i)})),ae.add(i.Op.Pop,((e,{op1:t})=>{e.stack.pop(t)})),ae.add(i.Op.Load,((e,{op1:t})=>{e.load(t)})),ae.add(i.Op.Fetch,((e,{op1:t})=>{e.fetch(t)})),ae.add(i.Op.BindDynamicScope,((e,{op1:t})=>{let r=e[y].getArray(t);e.bindDynamicScope(r)})),ae.add(i.Op.Enter,((e,{op1:t})=>{e.enter(t)})),ae.add(i.Op.Exit,(e=>{e.exit()})),ae.add(i.Op.PushSymbolTable,((e,{op1:t})=>{e.stack.push(e[y].getValue(t))})),ae.add(i.Op.PushBlockScope,(e=>{e.stack.push(e.scope())})),ae.add(i.Op.CompileBlock,(e=>{let t=e.stack,r=t.pop();r?t.push(e.compile(r)):t.push(null)})),ae.add(i.Op.InvokeYield,(e=>{let{stack:r}=e,i=(0,t.check)(r.pop(),(0,t.CheckOption)(t.CheckHandle)),o=(0,t.check)(r.pop(),(0,t.CheckOption)($e)),s=(0,t.check)(r.pop(),(0,t.CheckOption)(t.CheckBlockSymbolTable));(0,n.assert)(null===s||s&&"object"==typeof s&&Array.isArray(s.parameters),`Expected top of stack to be ${"Option"}, was ${String(s)}`);let a=(0,t.check)(r.pop(),(0,t.CheckInstanceof)(et));if(null===s)return e.pushFrame(),void e.pushScope(o??e.scope());let l=(0,n.expect)(o,"BUG: expected scope");{let e=s.parameters,t=e.length;if(t>0){l=l.child();for(let r=0;r{let i=(0,t.check)(e.stack.pop(),Fe),o=Boolean((0,r.valueForRef)(i));(0,r.isConstRef)(i)?!0===o&&e.goto(n):(!0===o&&e.goto(n),e.updateWith(new _e(i)))})),ae.add(i.Op.JumpUnless,((e,{op1:n})=>{let i=(0,t.check)(e.stack.pop(),Fe),o=Boolean((0,r.valueForRef)(i));(0,r.isConstRef)(i)?!1===o&&e.goto(n):(!1===o&&e.goto(n),e.updateWith(new _e(i)))})),ae.add(i.Op.JumpEq,((e,{op1:r,op2:n})=>{(0,t.check)(e.stack.peek(),t.CheckNumber)===n&&e.goto(r)})),ae.add(i.Op.AssertSame,(e=>{let n=(0,t.check)(e.stack.peek(),Fe);!1===(0,r.isConstRef)(n)&&e.updateWith(new _e(n))})),ae.add(i.Op.ToBoolean,(e=>{let{stack:n}=e,i=(0,t.check)(n.pop(),Fe);n.push((0,r.createComputeRef)((()=>(0,s.toBool)((0,r.valueForRef)(i)))))}));class _e{constructor(e){this.last=void 0,this.ref=e,this.last=(0,r.valueForRef)(e)}evaluate(e){let{last:t,ref:n}=this;t!==(0,r.valueForRef)(n)&&e.throw()}}class Oe{constructor(e,t){this.last=void 0,this.ref=e,this.filter=t,this.last=t((0,r.valueForRef)(e))}evaluate(e){let{last:t,ref:n,filter:i}=this;t!==i((0,r.valueForRef)(n))&&e.throw()}}class Ce{constructor(){this.tag=l.CONSTANT_TAG,this.lastRevision=l.INITIAL,this.target=void 0}finalize(e,t){this.target=t,this.didModify(e)}evaluate(e){let{tag:t,target:r,lastRevision:i}=this;!e.alwaysRevalidate&&(0,l.validateTag)(t,i)&&((0,l.consumeTag)(t),e.goto((0,n.expect)(r,"VM BUG: Target must be set before attempting to jump")))}didModify(e){this.tag=e,this.lastRevision=(0,l.valueForTag)(this.tag),(0,l.consumeTag)(e)}}class Ee{constructor(e){this.debugLabel=e}evaluate(){(0,l.beginTrackFrame)(this.debugLabel)}}class we{constructor(e){this.target=e}evaluate(){let e=(0,l.endTrackFrame)();this.target.didModify(e)}}ae.add(i.Op.Text,((e,{op1:t})=>{e.elements().appendText(e[y].getValue(t))})),ae.add(i.Op.Comment,((e,{op1:t})=>{e.elements().appendComment(e[y].getValue(t))})),ae.add(i.Op.OpenElement,((e,{op1:t})=>{e.elements().openElement(e[y].getValue(t))})),ae.add(i.Op.OpenDynamicElement,(e=>{let n=(0,t.check)((0,r.valueForRef)((0,t.check)(e.stack.pop(),Fe)),t.CheckString);e.elements().openElement(n)})),ae.add(i.Op.PushRemoteElement,(e=>{let n=(0,t.check)(e.stack.pop(),Fe),i=(0,t.check)(e.stack.pop(),Fe),s=(0,t.check)(e.stack.pop(),Fe),a=(0,t.check)((0,r.valueForRef)(n),t.CheckElement),l=(0,t.check)((0,r.valueForRef)(i),(0,t.CheckMaybe)((0,t.CheckOption)(t.CheckNode))),u=(0,r.valueForRef)(s);(0,r.isConstRef)(n)||e.updateWith(new _e(n)),void 0===l||(0,r.isConstRef)(i)||e.updateWith(new _e(i));let c=e.elements().pushRemoteElement(a,u,l);if(c&&e.associateDestroyable(c),void 0!==e.env.debugRenderTree){let t=lt(void 0===l?{}:{insertBefore:i},[n]);e.env.debugRenderTree.create(c,{type:"keyword",name:"in-element",args:t,instance:null}),(0,o.registerDestructor)(c,(()=>{e.env.debugRenderTree?.willDestroy(c)}))}})),ae.add(i.Op.PopRemoteElement,(e=>{let t=e.elements().popRemoteElement();void 0!==e.env.debugRenderTree&&e.env.debugRenderTree.didRender(t,t)})),ae.add(i.Op.FlushElement,(e=>{let r=(0,t.check)(e.fetchValue(i.$t0),je),n=null;r&&(n=r.flush(e),e.loadValue(i.$t0,null)),e.elements().flushElement(n)})),ae.add(i.Op.CloseElement,(e=>{let t=e.elements().closeElement();null!==t&&t.forEach((t=>{e.env.scheduleInstallModifier(t);const r=t.manager.getDestroyable(t.state);null!==r&&e.associateDestroyable(r)}))})),ae.add(i.Op.Modifier,((e,{op1:r})=>{if(!1===e.env.isInteractive)return;let o=e.getOwner(),s=(0,t.check)(e.stack.pop(),Be),a=e[y].getValue(r),{manager:u}=a,{constructing:c}=e.elements(),p=s.capture(),d=u.create(o,(0,n.expect)(c,"BUG: ElementModifier could not find the element it applies to"),a.state,p),h={manager:u,state:d,definition:a};(0,n.expect)((0,t.check)(e.fetchValue(i.$t0),je),"BUG: ElementModifier could not find operations to append to").addModifier(e,h,p);let m=u.getTag(d);return null!==m?((0,l.consumeTag)(m),e.updateWith(new ke(m,h))):void 0})),ae.add(i.Op.DynamicModifier,(e=>{if(!1===e.env.isInteractive)return;let{stack:o}=e,s=(0,t.check)(o.pop(),Fe),u=(0,t.check)(o.pop(),Be).capture(),{positional:c,named:p}=u,{constructing:d}=e.elements(),h=e.getOwner(),m=(0,r.createComputeRef)((()=>{let e,t,o=(0,r.valueForRef)(s);if(!(0,n.isObject)(o))return;if(fe(o,i.CurriedTypes.Modifier)){let{definition:r,owner:n,positional:i,named:s}=be(o);t=r,e=n,void 0!==i&&(u.positional=i.concat(c)),void 0!==s&&(u.named=Object.assign({},...s,p))}else t=o,e=h;let l=(0,a.getInternalModifierManager)(t,!0);if(null===l)throw new Error("BUG: modifier manager expected");let m={resolvedName:null,manager:l,state:t},f=l.create(e,(0,n.expect)(d,"BUG: ElementModifier could not find the element it applies to"),m.state,u);return{manager:l,state:f,definition:m}})),f=(0,r.valueForRef)(m),g=null;if(void 0!==f){(0,n.expect)((0,t.check)(e.fetchValue(i.$t0),je),"BUG: ElementModifier could not find operations to append to").addModifier(e,f,u),g=f.manager.getTag(f.state),null!==g&&(0,l.consumeTag)(g)}return!(0,r.isConstRef)(s)||g?e.updateWith(new Te(g,f,m)):void 0}));class ke{constructor(e,t){this.lastUpdated=void 0,this.tag=e,this.modifier=t,this.lastUpdated=(0,l.valueForTag)(e)}evaluate(e){let{modifier:t,tag:r,lastUpdated:n}=this;(0,l.consumeTag)(r),(0,l.validateTag)(r,n)||(e.env.scheduleUpdateModifier(t),this.lastUpdated=(0,l.valueForTag)(r))}}class Te{constructor(e,t,r){this.lastUpdated=void 0,this.tag=e,this.instance=t,this.instanceRef=r,this.lastUpdated=(0,l.valueForTag)(e??l.CURRENT_TAG)}evaluate(e){let{tag:t,lastUpdated:n,instance:i,instanceRef:s}=this,a=(0,r.valueForRef)(s);if(a!==i){if(void 0!==i){let e=i.manager.getDestroyable(i.state);null!==e&&(0,o.destroy)(e)}if(void 0!==a){let{manager:r,state:n}=a,i=r.getDestroyable(n);null!==i&&(0,o.associateDestroyableChild)(this,i),t=r.getTag(n),null!==t&&(this.lastUpdated=(0,l.valueForTag)(t)),this.tag=t,e.env.scheduleInstallModifier(a)}this.instance=a}else null===t||(0,l.validateTag)(t,n)||(e.env.scheduleUpdateModifier(i),this.lastUpdated=(0,l.valueForTag)(t));null!==t&&(0,l.consumeTag)(t)}}ae.add(i.Op.StaticAttr,((e,{op1:t,op2:r,op3:n})=>{let i=e[y].getValue(t),o=e[y].getValue(r),s=n?e[y].getValue(n):null;e.elements().setStaticAttribute(i,o,s)})),ae.add(i.Op.DynamicAttr,((e,{op1:n,op2:i,op3:o})=>{let s=e[y].getValue(n),a=e[y].getValue(i),l=(0,t.check)(e.stack.pop(),Fe),u=(0,r.valueForRef)(l),c=o?e[y].getValue(o):null,p=e.elements().setDynamicAttribute(s,u,a,c);(0,r.isConstRef)(l)||e.updateWith(new Re(l,p,e.env))}));class Re{constructor(e,t,n){this.updateRef=void 0;let i=!1;this.updateRef=(0,r.createComputeRef)((()=>{let o=(0,r.valueForRef)(e);!0===i?t.update(o,n):i=!0})),(0,r.valueForRef)(this.updateRef)}evaluate(){(0,r.valueForRef)(this.updateRef)}}ae.add(i.Op.PushComponentDefinition,((e,{op1:t})=>{let r=e[y].getValue(t);(0,n.assert)(!!r,`Missing component for ${t}`);let{manager:i,capabilities:o}=r,s={definition:r,manager:i,capabilities:o,state:null,handle:null,table:null,lookup:null};e.stack.push(s)})),ae.add(i.Op.ResolveDynamicComponent,((e,{op1:o})=>{let s,a=e.stack,l=(0,t.check)((0,r.valueForRef)((0,t.check)(a.pop(),Fe)),(0,t.CheckOr)(t.CheckString,We)),u=e[y],c=e.getOwner();u.getValue(o);if(e.loadValue(i.$t1,null),"string"==typeof l){0;let t=function(e,t,r,i){let o=e.lookupComponent(r,(0,n.expect)(i,"BUG: expected owner when looking up component"));return t.resolvedComponent(o,r)}(e.runtime.resolver,u,l,c);s=(0,n.expect)(t,`Could not find a component named "${l}"`)}else s=me(l)?l:u.component(l,c);a.push(s)})),ae.add(i.Op.ResolveCurriedComponent,(e=>{let n,i=e.stack,o=(0,t.check)(i.pop(),Fe),s=(0,r.valueForRef)(o),a=e[y];n=me(s)?s:a.component(s,e.getOwner(),!0),i.push(n)})),ae.add(i.Op.PushDynamicComponentInstance,(e=>{let t,r,{stack:n}=e,i=n.pop();me(i)?r=t=null:(r=i.manager,t=i.capabilities),n.push({definition:i,capabilities:t,manager:r,state:null,handle:null,table:null})})),ae.add(i.Op.PushArgs,((e,{op1:t,op2:r,op3:i})=>{let o=e.stack,s=e[y].getArray(t),a=i>>4,l=8&i,u=7&i?e[y].getArray(r):n.EMPTY_STRING_ARRAY;e[v].setup(o,s,u,a,!!l),o.push(e[v])})),ae.add(i.Op.PushEmptyArgs,(e=>{let{stack:t}=e;t.push(e[v].empty(t))})),ae.add(i.Op.CaptureArgs,(e=>{let r=e.stack,n=(0,t.check)(r.pop(),(0,t.CheckInstanceof)(et)).capture();r.push(n)})),ae.add(i.Op.PrepareArgs,((e,{op1:r})=>{let o=e.stack,s=e.fetchValue(r),l=(0,t.check)(o.pop(),(0,t.CheckInstanceof)(et)),{definition:u}=s;if(fe(u,i.CurriedTypes.Component)){(0,n.assert)(!u.manager,"If the component definition was curried, we don't yet have a manager");let t=e[y],{definition:r,owner:o,resolved:a,positional:c,named:p}=be(u);if(!0===a)u=r;else if("string"==typeof r){let i=e.runtime.resolver.lookupComponent(r,o);u=t.resolvedComponent((0,n.expect)(i,"BUG: expected resolved component"),r)}else u=t.component(r,o);void 0!==p&&l.named.merge((0,n.assign)({},...p)),void 0!==c&&(l.realloc(c.length),l.positional.prepend(c));let{manager:d}=u;(0,n.assert)(null===s.manager,"component instance manager should not be populated yet"),(0,n.assert)(null===s.capabilities,"component instance manager should not be populated yet"),s.definition=u,s.manager=d,s.capabilities=u.capabilities,e.loadValue(i.$t1,o)}let{manager:c,state:p}=u,d=s.capabilities;if(!(0,a.managerHasCapability)(c,d,i.InternalComponentCapabilities.prepareArgs))return void o.push(l);let h=l.blocks.values,m=l.blocks.names,f=c.prepareArgs(p,l);if(f){l.clear();for(let e=0;e{let o=(0,t.check)(e.fetchValue(n),Ge),{definition:s,manager:l,capabilities:u}=o;if(!(0,a.managerHasCapability)(l,u,i.InternalComponentCapabilities.createInstance))return;let c=null;(0,a.managerHasCapability)(l,u,i.InternalComponentCapabilities.dynamicScope)&&(c=e.dynamicScope());let p=1&r,d=null;(0,a.managerHasCapability)(l,u,i.InternalComponentCapabilities.createArgs)&&(d=(0,t.check)(e.stack.peek(),Be));let h=null;(0,a.managerHasCapability)(l,u,i.InternalComponentCapabilities.createCaller)&&(h=e.getSelf());let m=l.create(e.getOwner(),s.state,d,e.env,c,h,!!p);o.state=m,(0,a.managerHasCapability)(l,u,i.InternalComponentCapabilities.updateHook)&&e.updateWith(new Me(m,l,c))})),ae.add(i.Op.RegisterComponentDestructor,((e,{op1:r})=>{let{manager:n,state:i,capabilities:o}=(0,t.check)(e.fetchValue(r),Ge),s=n.getDestroyable(i);s&&e.associateDestroyable(s)})),ae.add(i.Op.BeginComponentTransaction,((e,{op1:t})=>{let r;e.beginCacheGroup(r),e.elements().pushSimpleBlock()})),ae.add(i.Op.PutComponentOperations,(e=>{e.loadValue(i.$t0,new Se)})),ae.add(i.Op.ComponentAttr,((e,{op1:r,op2:n,op3:o})=>{let s=e[y].getValue(r),a=e[y].getValue(n),l=(0,t.check)(e.stack.pop(),Fe),u=o?e[y].getValue(o):null;(0,t.check)(e.fetchValue(i.$t0),(0,t.CheckInstanceof)(Se)).setAttribute(s,l,a,u)})),ae.add(i.Op.StaticComponentAttr,((e,{op1:r,op2:n,op3:o})=>{let s=e[y].getValue(r),a=e[y].getValue(n),l=o?e[y].getValue(o):null;(0,t.check)(e.fetchValue(i.$t0),(0,t.CheckInstanceof)(Se)).setStaticAttribute(s,a,l)}));class Se{constructor(){this.attributes=(0,n.dict)(),this.classes=[],this.modifiers=[]}setAttribute(e,t,r,n){let i={value:t,namespace:n,trusting:r};"class"===e&&this.classes.push(t),this.attributes[e]=i}setStaticAttribute(e,t,r){let n={value:t,namespace:r};"class"===e&&this.classes.push(t),this.attributes[e]=n}addModifier(e,t,r){if(this.modifiers.push(t),void 0!==e.env.debugRenderTree){const{manager:i,definition:s,state:a}=t;if(null===a||"object"!=typeof a&&"function"!=typeof a)return;let{element:l,constructing:u}=e.elements(),c=i.getDebugName(s.state),p=i.getDebugInstance(a);(0,n.assert)(u,"Expected a constructing element in addModifier");let d=new O(l,u,u);e.env.debugRenderTree.create(a,{type:"modifier",name:c,args:r,instance:p}),e.env.debugRenderTree.didRender(a,d),e.associateDestroyable(a),e.updateWith(new De(a)),e.updateWith(new Ie(a,d)),(0,o.registerDestructor)(a,(()=>{e.env.debugRenderTree?.willDestroy(a)}))}}flush(e){let t,r=this.attributes;for(let i in this.attributes){if("type"===i){t=r[i];continue}let o=(0,n.unwrap)(this.attributes[i]);"class"===i?Ae(e,"class",Pe(this.classes),o.namespace,o.trusting):Ae(e,i,o.value,o.namespace,o.trusting)}return void 0!==t&&Ae(e,"type",t.value,t.namespace,t.trusting),this.modifiers}}function Pe(e){return 0===e.length?"":1===e.length?(0,n.unwrap)(e[0]):function(e){return e.every((e=>"string"==typeof e))}(e)?e.join(" "):(t=e,(0,r.createComputeRef)((()=>{let e=[];for(const n of t){let t=w("string"==typeof n?n:(0,r.valueForRef)(n));t&&e.push(t)}return 0===e.length?null:e.join(" ")})));var t}function Ae(e,t,n,i,o=!1){if("string"==typeof n)e.elements().setStaticAttribute(t,n,i);else{let s=e.elements().setDynamicAttribute(t,(0,r.valueForRef)(n),o,i);(0,r.isConstRef)(n)||e.updateWith(new Re(n,s,e.env))}}function xe(e,t,r,n,i){let o=r.table.symbols.indexOf(e),s=n.get(t);-1!==o&&i.scope().bindBlock(o+1,s),r.lookup&&(r.lookup[e]=s)}ae.add(i.Op.DidCreateElement,((e,{op1:r})=>{let{definition:o,state:s}=(0,t.check)(e.fetchValue(r),Ge),{manager:a}=o,l=(0,t.check)(e.fetchValue(i.$t0),(0,t.CheckInstanceof)(Se));a.didCreateElement(s,(0,n.expect)(e.elements().constructing,"Expected a constructing element in DidCreateOpcode"),l)})),ae.add(i.Op.GetComponentSelf,((e,{op1:s,op2:l})=>{let u=(0,t.check)(e.fetchValue(s),Ge),{definition:c,state:p}=u,{manager:d}=c,h=d.getSelf(p);if(void 0!==e.env.debugRenderTree){let u,c,d=(0,t.check)(e.fetchValue(s),Ge),{definition:m,manager:f}=d;if(e.stack.peek()===e[v])u=e[v].capture();else{let t=e[y].getArray(l);e[v].setup(e.stack,t,[],0,!0),u=e[v].capture()}let g=m.compilable;if(null===g?((0,n.assert)((0,a.managerHasCapability)(f,d.capabilities,i.InternalComponentCapabilities.dynamicLayout),"BUG: No template was found for this component, and the component did not have the dynamic layout capability"),g=f.getDynamicLayout(p,e.runtime.resolver),c=null!==g?g.moduleName:"__default__.hbs"):c=g.moduleName,e.associateDestroyable(d),ve(f)){f.getDebugCustomRenderTree(d.definition.state,d.state,u,c).forEach((t=>{let{bucket:r}=t;e.env.debugRenderTree.create(r,t),(0,o.registerDestructor)(d,(()=>{e.env.debugRenderTree?.willDestroy(r)})),e.updateWith(new De(r))}))}else{let t=m.resolvedName??f.getDebugName(m.state);e.env.debugRenderTree.create(d,{type:"component",name:t,args:u,template:c,instance:(0,r.valueForRef)(h)}),(0,o.registerDestructor)(d,(()=>{e.env.debugRenderTree?.willDestroy(d)})),e.updateWith(new De(d))}}e.stack.push(h)})),ae.add(i.Op.GetComponentTagName,((e,{op1:r})=>{let{definition:n,state:i}=(0,t.check)(e.fetchValue(r),Ge),{manager:o}=n,s=o.getTagName(i);e.stack.push(s)})),ae.add(i.Op.GetComponentLayout,((e,{op1:r})=>{let o=(0,t.check)(e.fetchValue(r),Ge),{manager:s,definition:l}=o,{stack:u}=e,{compilable:c}=l;if(null===c){let{capabilities:t}=o;(0,n.assert)((0,a.managerHasCapability)(s,t,i.InternalComponentCapabilities.dynamicLayout),"BUG: No template was found for this component, and the component did not have the dynamic layout capability"),c=s.getDynamicLayout(o.state,e.runtime.resolver),null===c&&(c=(0,a.managerHasCapability)(s,t,i.InternalComponentCapabilities.wrapped)?(0,n.unwrapTemplate)(e[y].defaultTemplate).asWrappedLayout():(0,n.unwrapTemplate)(e[y].defaultTemplate).asLayout())}let p=c.compile(e.context);u.push(c.symbolTable),u.push(p)})),ae.add(i.Op.Main,((e,{op1:r})=>{let n=(0,t.check)(e.stack.pop(),Ze),i=(0,t.check)(e.stack.pop(),Ye),{manager:o,capabilities:s}=n,a={definition:n,manager:o,capabilities:s,state:null,handle:i.handle,table:i.symbolTable,lookup:null};e.loadValue(r,a)})),ae.add(i.Op.PopulateLayout,((e,{op1:r})=>{let{stack:n}=e,i=(0,t.check)(n.pop(),t.CheckHandle),o=(0,t.check)(n.pop(),t.CheckProgramSymbolTable),s=(0,t.check)(e.fetchValue(r),Ge);s.handle=i,s.table=o})),ae.add(i.Op.VirtualRootScope,((e,{op1:r})=>{let n,{table:o,manager:s,capabilities:l,state:u}=(0,t.check)(e.fetchValue(r),Qe);(0,a.managerHasCapability)(s,l,i.InternalComponentCapabilities.hasSubOwner)?(n=s.getOwner(u),e.loadValue(i.$t1,null)):(n=e.fetchValue(i.$t1),null===n?n=e.getOwner():e.loadValue(i.$t1,null)),e.pushRootScope(o.symbols.length+1,n)})),ae.add(i.Op.SetupForEval,((e,{op1:r})=>{let i=(0,t.check)(e.fetchValue(r),Qe);if(i.table.hasEval){let t=i.lookup=(0,n.dict)();e.scope().bindEvalScope(t)}})),ae.add(i.Op.SetNamedVariables,((e,{op1:r})=>{let i=(0,t.check)(e.fetchValue(r),Qe),o=e.scope(),s=(0,t.check)(e.stack.peek(),Be),a=s.named.atNames;for(let e=a.length-1;e>=0;e--){let t=(0,n.unwrap)(a[e]),r=i.table.symbols.indexOf(t),l=s.named.get(t,!0);-1!==r&&o.bindSymbol(r+1,l),i.lookup&&(i.lookup[t]=l)}})),ae.add(i.Op.SetBlocks,((e,{op1:r})=>{let i=(0,t.check)(e.fetchValue(r),Qe),{blocks:o}=(0,t.check)(e.stack.peek(),Be);for(const[t]of(0,n.enumerate)(o.names))xe((0,n.unwrap)(o.symbolNames[t]),(0,n.unwrap)(o.names[t]),i,o,e)})),ae.add(i.Op.InvokeComponentLayout,((e,{op1:r})=>{let n=(0,t.check)(e.fetchValue(r),Qe);e.call(n.handle)})),ae.add(i.Op.DidRenderLayout,((e,{op1:r})=>{let n=(0,t.check)(e.fetchValue(r),Ge),{manager:o,state:s,capabilities:l}=n,u=e.elements().popBlock();if(void 0!==e.env.debugRenderTree)if(ve(o)){o.getDebugCustomRenderTree(n.definition.state,s,bt).reverse().forEach((t=>{let{bucket:r}=t;e.env.debugRenderTree.didRender(r,u),e.updateWith(new Ie(r,u))}))}else e.env.debugRenderTree.didRender(n,u),e.updateWith(new Ie(n,u));if((0,a.managerHasCapability)(o,l,i.InternalComponentCapabilities.createInstance)){(0,t.check)(o,(0,t.CheckInterface)({didRenderLayout:t.CheckFunction})).didRenderLayout(s,u),e.env.didCreate(n),e.updateWith(new Ne(n,u))}})),ae.add(i.Op.CommitComponentTransaction,(e=>{e.commitCacheGroup()}));class Me{constructor(e,t,r){this.component=e,this.manager=t,this.dynamicScope=r}evaluate(e){let{component:t,manager:r,dynamicScope:n}=this;r.update(t,n)}}class Ne{constructor(e,t){this.component=e,this.bounds=t}evaluate(e){let{component:t,bounds:r}=this,{manager:n,state:i}=t;n.didUpdateLayout(i,r),e.env.didUpdate(t)}}class De{constructor(e){this.bucket=e}evaluate(e){e.env.debugRenderTree?.update(this.bucket)}}class Ie{constructor(e,t){this.bucket=e,this.bounds=t}evaluate(e){e.env.debugRenderTree?.didRender(this.bucket,this.bounds)}}(0,t.CheckInterface)({[l.COMPUTE]:t.CheckFunction});const je=(0,t.wrap)((()=>(0,t.CheckOption)((0,t.CheckInstanceof)(Se))));const Fe=new class{validate(e){return"object"==typeof e&&null!==e&&r.REFERENCE in e}expected(){return"Reference"}},Le=(0,t.CheckInterface)({next:t.CheckFunction,isEmpty:t.CheckFunction}),Be=(0,t.wrap)((()=>(0,t.CheckInstanceof)(et))),Ue=t.CheckFunction;const He=new class{validate(e){return e===r.UNDEFINED_REFERENCE}expected(){return"undefined"}},Ve=(0,t.CheckInterface)({positional:(0,t.wrap)((()=>(0,t.CheckArray)(Fe))),named:(0,t.wrap)((()=>(0,t.CheckDict)(Fe)))}),$e=(0,t.wrap)((()=>(0,t.CheckInstanceof)(d))),ze=(0,t.CheckInterface)({getCapabilities:t.CheckFunction}),qe=t.CheckNumber,Ge=(0,t.CheckInterface)({definition:t.CheckUnknown,state:t.CheckUnknown,handle:t.CheckUnknown,table:t.CheckUnknown}),We=(0,t.CheckOr)(t.CheckObject,t.CheckFunction),Ye=(0,t.CheckInterface)({handle:t.CheckNumber,symbolTable:t.CheckProgramSymbolTable});(0,t.CheckInterface)({setAttribute:t.CheckFunction});const Qe=(0,t.CheckInterface)({definition:t.CheckUnknown,state:t.CheckUnknown,handle:t.CheckHandle,table:t.CheckProgramSymbolTable}),Ke=(0,t.CheckInterface)({compile:t.CheckFunction,symbolTable:t.CheckBlockSymbolTable}),Je=(0,t.CheckInterface)({compile:t.CheckFunction,symbolTable:t.CheckProgramSymbolTable}),Xe=(0,t.CheckInterface)({0:Ke,1:$e,2:t.CheckBlockSymbolTable}),Ze=(0,t.CheckInterface)({resolvedName:(0,t.CheckOption)(t.CheckString),handle:t.CheckNumber,state:(0,t.CheckOr)(t.CheckObject,t.CheckFunction),manager:ze,capabilities:qe,compilable:Je});class et{constructor(){this.stack=null,this.positional=new rt,this.named=new nt,this.blocks=new st}empty(e){let t=e[g][i.$sp]+1;return this.named.empty(e,t),this.positional.empty(e,t),this.blocks.empty(e,t),this}setup(e,t,r,n,o){this.stack=e;let s=this.named,a=t.length,l=e[g][i.$sp]-a+1;s.setup(e,l,a,t,o);let u=l-n;this.positional.setup(e,u,n);let c=this.blocks,p=r.length,d=u-3*p;c.setup(e,d,p,r)}get base(){return this.blocks.base}get length(){return this.positional.length+this.named.length+3*this.blocks.length}at(e){return this.positional.at(e)}realloc(e){let{stack:t}=this;if(e>0&&null!==t){let{positional:r,named:n}=this,o=r.base+e;for(let e=r.length+n.length-1;e>=0;e--)t.copy(e+r.base,e+o);r.base+=e,n.base+=e,t[g][i.$sp]+=e}}capture(){let e=0===this.positional.length?gt:this.positional.capture();return{named:0===this.named.length?ft:this.named.capture(),positional:e}}clear(){let{stack:e,length:t}=this;t>0&&null!==e&&e.pop(t)}}const tt=(0,n.emptyArray)();class rt{constructor(){this.base=0,this.length=0,this.stack=null,this._references=null}empty(e,t){this.stack=e,this.base=t,this.length=0,this._references=tt}setup(e,t,r){this.stack=e,this.base=t,this.length=r,this._references=0===r?tt:null}at(e){let{base:n,length:i,stack:o}=this;return e<0||e>=i?r.UNDEFINED_REFERENCE:(0,t.check)(o.get(e,n),Fe)}capture(){return this.references}prepend(e){let t=e.length;if(t>0){let{base:r,length:n,stack:i}=this;this.base=r-=t,this.length=n+t;for(let n=0;n0){let{names:r,length:n,stack:i}=this,o=r.slice();for(const r of t){-1===o.indexOf(r)&&(n=o.push(r),i.push(e[r]))}this.length=n,this._references=null,this._names=o,this._atNames=null}}get references(){let e=this._references;if(!e){let{base:t,length:r,stack:n}=this;e=this._references=n.slice(t,t+r)}return e}toSyntheticName(e){return e.slice(1)}toAtName(e){return`@${e}`}}function it(e){return`&${e}`}const ot=(0,n.emptyArray)();class st{constructor(){this.internalValues=null,this._symbolNames=null,this.internalTag=null,this.names=n.EMPTY_STRING_ARRAY,this.length=0,this.base=0}empty(e,t){this.stack=e,this.names=n.EMPTY_STRING_ARRAY,this.base=t,this.length=0,this._symbolNames=null,this.internalTag=l.CONSTANT_TAG,this.internalValues=ot}setup(e,t,r,n){this.stack=e,this.names=n,this.base=t,this.length=r,this._symbolNames=null,0===r?(this.internalTag=l.CONSTANT_TAG,this.internalValues=ot):(this.internalTag=null,this.internalValues=null)}get values(){let e=this.internalValues;if(!e){let{base:t,length:r,stack:n}=this;e=this.internalValues=n.slice(t,t+3*r)}return e}has(e){return-1!==this.names.indexOf(e)}get(e){let r=this.names.indexOf(e);if(-1===r)return null;let{base:n,stack:i}=this,o=(0,t.check)(i.get(3*r,n),(0,t.CheckOption)(t.CheckBlockSymbolTable)),s=(0,t.check)(i.get(3*r+1,n),(0,t.CheckOption)($e)),a=(0,t.check)(i.get(3*r+2,n),(0,t.CheckOption)((0,t.CheckOr)(t.CheckHandle,Ke)));return null===a?null:[a,s,o]}capture(){return new at(this.names,this.values)}get symbolNames(){let e=this._symbolNames;return null===e&&(e=this._symbolNames=this.names.map(it)),e}}class at{constructor(e,t){this.length=void 0,this.names=e,this.values=t,this.length=e.length}has(e){return-1!==this.names.indexOf(e)}get(e){let t=this.names.indexOf(e);return-1===t?null:[this.values[3*t+2],this.values[3*t+1],this.values[3*t]]}}function lt(e,t){return{named:e,positional:t}}function ut(e){let t=(0,n.dict)();for(const[n,i]of Object.entries(e))t[n]=(0,r.valueForRef)(i);return t}function ct(e){return e.map(r.valueForRef)}const pt=Symbol("ARGUMENT_ERROR");function dt(e){return null!==e&&"object"==typeof e&&e[pt]}function ht(e){return{[pt]:!0,error:e}}function mt(e){return{named:function(e){let t=(0,n.dict)();for(const[n,i]of Object.entries(e))try{t[n]=(0,r.valueForRef)(i)}catch(e){t[n]=ht(e)}return t}(e.named),positional:function(e){return e.map((e=>{try{return(0,r.valueForRef)(e)}catch(e){return ht(e)}}))}(e.positional)}}const ft=e.EMPTY_NAMED=Object.freeze(Object.create(null)),gt=e.EMPTY_POSITIONAL=tt,bt=e.EMPTY_ARGS=lt(ft,gt);function yt(e){return"string"==typeof e?e:"function"!=typeof e.toString?"":String(e)}function vt(e,t){let r,i=(0,a.getInternalHelperManager)(e,!0);return null===i?r=null:(r="function"==typeof i?i:i.getHelper(e),(0,n.assert)(i,"BUG: expected manager or helper")),r}function _t(e){return(0,n.assert)(Array.isArray(e)||e===r.UNDEFINED_REFERENCE,"a reference other than UNDEFINED_REFERENCE is illegal here"),e===r.UNDEFINED_REFERENCE}ae.add(i.Op.Curry,((e,{op1:o,op2:s})=>{let a=e.stack,l=(0,t.check)(a.pop(),Fe),u=(0,t.check)(a.pop(),Ve),c=e.getOwner();e.runtime.resolver;e.loadValue(i.$v0,function(e,t,o,s){let a,l;return(0,r.createComputeRef)((()=>{let u=(0,r.valueForRef)(t);return u===a||(l=fe(u,e)?s?ye(e,u,o,s):s:e===i.CurriedTypes.Component&&"string"==typeof u&&u||(0,n.isObject)(u)?ye(e,u,o,s):null,a=u),l}))}(o,l,c,u))})),ae.add(i.Op.DynamicHelper,(e=>{let s,a=e.stack,l=(0,t.check)(a.pop(),Fe),u=(0,t.check)(a.pop(),Be).capture(),c=e.getOwner(),p=(0,r.createComputeRef)((()=>{void 0!==s&&(0,o.destroy)(s);let e=(0,r.valueForRef)(l);if(fe(e,i.CurriedTypes.Helper)){let{definition:t,owner:r,positional:i,named:a}=be(e),c=vt(t,l);void 0!==a&&(u.named=(0,n.assign)({},...a,u.named)),void 0!==i&&(u.positional=i.concat(u.positional)),s=c(u,r),(0,o.associateDestroyableChild)(p,s)}else if((0,n.isObject)(e)){let t=vt(e,l);s=t(u,c),(0,o._hasDestroyableChildren)(s)&&(0,o.associateDestroyableChild)(p,s)}else s=r.UNDEFINED_REFERENCE})),d=(0,r.createComputeRef)((()=>((0,r.valueForRef)(p),(0,r.valueForRef)(s))));e.associateDestroyable(p),e.loadValue(i.$v0,d)})),ae.add(i.Op.Helper,((e,{op1:r})=>{let n=e.stack,s=(0,t.check)(e[y].getValue(r),Ue)((0,t.check)(n.pop(),Be).capture(),e.getOwner(),e.dynamicScope());(0,o._hasDestroyableChildren)(s)&&e.associateDestroyable(s),e.loadValue(i.$v0,s)})),ae.add(i.Op.GetVariable,((e,{op1:t})=>{let r=e.referenceForSymbol(t);e.stack.push(r)})),ae.add(i.Op.SetVariable,((e,{op1:r})=>{let n=(0,t.check)(e.stack.pop(),Fe);e.scope().bindSymbol(r,n)})),ae.add(i.Op.SetBlock,((e,{op1:r})=>{let n=(0,t.check)(e.stack.pop(),Ke),i=(0,t.check)(e.stack.pop(),$e),o=(0,t.check)(e.stack.pop(),t.CheckBlockSymbolTable);e.scope().bindBlock(r,[n,i,o])})),ae.add(i.Op.ResolveMaybeLocal,((e,{op1:t})=>{let n=e[y].getValue(t),i=e.scope().getPartialMap()[n];void 0===i&&(i=(0,r.childRefFor)(e.getSelf(),n)),e.stack.push(i)})),ae.add(i.Op.RootScope,((e,{op1:t})=>{e.pushRootScope(t,e.getOwner())})),ae.add(i.Op.GetProperty,((e,{op1:n})=>{let i=e[y].getValue(n),o=(0,t.check)(e.stack.pop(),Fe);e.stack.push((0,r.childRefFor)(o,i))})),ae.add(i.Op.GetBlock,((e,{op1:t})=>{let{stack:r}=e,n=e.scope().getBlock(t);r.push(n)})),ae.add(i.Op.SpreadBlock,(e=>{let{stack:r}=e,n=(0,t.check)(r.pop(),(0,t.CheckOption)((0,t.CheckOr)(Xe,He)));if(n&&!_t(n)){let[e,t,i]=n;r.push(i),r.push(t),r.push(e)}else r.push(null),r.push(null),r.push(null)})),ae.add(i.Op.HasBlock,(e=>{let{stack:n}=e,i=(0,t.check)(n.pop(),(0,t.CheckOption)((0,t.CheckOr)(Xe,He)));i&&!_t(i)?n.push(r.TRUE_REFERENCE):n.push(r.FALSE_REFERENCE)})),ae.add(i.Op.HasBlockParams,(e=>{let n=e.stack.pop(),i=e.stack.pop();(0,t.check)(n,(0,t.CheckMaybe)((0,t.CheckOr)(t.CheckHandle,Ke))),(0,t.check)(i,(0,t.CheckMaybe)($e));let o=(0,t.check)(e.stack.pop(),(0,t.CheckMaybe)(t.CheckBlockSymbolTable)),s=o&&o.parameters.length;e.stack.push(s?r.TRUE_REFERENCE:r.FALSE_REFERENCE)})),ae.add(i.Op.Concat,((e,{op1:n})=>{let i=new Array(n);for(let r=n;r>0;r--){i[r-1]=(0,t.check)(e.stack.pop(),Fe)}var o;e.stack.push((o=i,(0,r.createComputeRef)((()=>{const e=[];for(const t of o){const n=(0,r.valueForRef)(t);null!=n&&e.push(yt(n))}return e.length>0?e.join(""):null}))))})),ae.add(i.Op.IfInline,(e=>{let n=(0,t.check)(e.stack.pop(),Fe),i=(0,t.check)(e.stack.pop(),Fe),o=(0,t.check)(e.stack.pop(),Fe);e.stack.push((0,r.createComputeRef)((()=>!0===(0,s.toBool)((0,r.valueForRef)(n))?(0,r.valueForRef)(i):(0,r.valueForRef)(o))))})),ae.add(i.Op.Not,(e=>{let n=(0,t.check)(e.stack.pop(),Fe);e.stack.push((0,r.createComputeRef)((()=>!(0,s.toBool)((0,r.valueForRef)(n)))))})),ae.add(i.Op.GetDynamicVar,(e=>{let n=e.dynamicScope(),i=e.stack,o=(0,t.check)(i.pop(),Fe);i.push((0,r.createComputeRef)((()=>{let e=String((0,r.valueForRef)(o));return(0,r.valueForRef)(n.get(e))})))})),ae.add(i.Op.Log,(e=>{let{positional:n}=(0,t.check)(e.stack.pop(),Be).capture();e.loadValue(i.$v0,(0,r.createComputeRef)((()=>{console.log(...ct(n))})))}));class Ot{constructor(e,t,r){this.node=e,this.reference=t,this.lastValue=r}evaluate(){let e,t=(0,r.valueForRef)(this.reference),{lastValue:n}=this;if(t!==n&&(e=k(t)?"":S(t)?t:String(t),e!==n)){this.node.nodeValue=this.lastValue=e}}}function Ct(e){return function(e){return S(e)||k(e)||"boolean"==typeof e||"number"==typeof e}(e)?i.ContentType.String:fe(e,i.CurriedType.Component)||(0,a.hasInternalComponentManager)(e)?i.ContentType.Component:fe(e,i.CurriedType.Helper)||(0,a.hasInternalHelperManager)(e)?i.ContentType.Helper:T(e)?i.ContentType.SafeString:function(e){return R(e)&&11===e.nodeType}(e)?i.ContentType.Fragment:R(e)?i.ContentType.Node:i.ContentType.String}function Et(e){return(0,n.isObject)(e)?fe(e,i.CurriedType.Component)||(0,a.hasInternalComponentManager)(e)?i.ContentType.Component:i.ContentType.Helper:i.ContentType.String}function wt(e,t){console.info("Use `context`, and `get()` to debug this template."),t("this")}ae.add(i.Op.ContentType,(e=>{let n=(0,t.check)(e.stack.peek(),Fe);e.stack.push(Ct((0,r.valueForRef)(n))),(0,r.isConstRef)(n)||e.updateWith(new Oe(n,Ct))})),ae.add(i.Op.DynamicContentType,(e=>{let n=(0,t.check)(e.stack.peek(),Fe);e.stack.push(Et((0,r.valueForRef)(n))),(0,r.isConstRef)(n)||e.updateWith(new Oe(n,Et))})),ae.add(i.Op.AppendHTML,(e=>{let n=(0,t.check)(e.stack.pop(),Fe),i=(0,r.valueForRef)(n),o=k(i)?"":String(i);e.elements().appendDynamicHTML(o)})),ae.add(i.Op.AppendSafeHTML,(e=>{let n=(0,t.check)(e.stack.pop(),Fe),i=(0,t.check)((0,r.valueForRef)(n),t.CheckSafeString).toHTML(),o=k(i)?"":(0,t.check)(i,t.CheckString);e.elements().appendDynamicHTML(o)})),ae.add(i.Op.AppendText,(e=>{let n=(0,t.check)(e.stack.pop(),Fe),i=(0,r.valueForRef)(n),o=k(i)?"":String(i),s=e.elements().appendDynamicText(o);(0,r.isConstRef)(n)||e.updateWith(new Ot(s,n,o))})),ae.add(i.Op.AppendDocumentFragment,(e=>{let n=(0,t.check)(e.stack.pop(),Fe),i=(0,t.check)((0,r.valueForRef)(n),t.CheckDocumentFragment);e.elements().appendDynamicFragment(i)})),ae.add(i.Op.AppendNode,(e=>{let n=(0,t.check)(e.stack.pop(),Fe),i=(0,t.check)((0,r.valueForRef)(n),t.CheckNode);e.elements().appendDynamicNode(i)}));let kt=wt;class Tt{constructor(e,t,r){this.locals=(0,n.dict)(),this.scope=e;for(const i of r){let r=(0,n.unwrap)(t[i-1]),o=e.getSymbol(i);this.locals[r]=o}}get(e){let t,{scope:i,locals:o}=this,s=e.split("."),[a,...l]=e.split("."),u=i.getEvalScope();return"this"===a?t=i.getSelf():o[a]?t=(0,n.unwrap)(o[a]):0===a.indexOf("@")&&u[a]?t=u[a]:(t=this.scope.getSelf(),l=s),l.reduce(((e,t)=>(0,r.childRefFor)(e,t)),t)}}ae.add(i.Op.Debugger,((e,{op1:t,op2:i})=>{let o=e[y].getArray(t),s=e[y].getArray((0,n.decodeHandle)(i)),a=new Tt(e.scope(),o,s);kt((0,r.valueForRef)(e.getSelf()),(e=>(0,r.valueForRef)(a.get(e))))})),ae.add(i.Op.EnterList,((e,{op1:n,op2:i})=>{let o=e.stack,s=(0,t.check)(o.pop(),Fe),a=(0,t.check)(o.pop(),Fe),l=(0,r.valueForRef)(a),u=null===l?"@identity":String(l),c=(0,r.createIteratorRef)(s,u),p=(0,r.valueForRef)(c);e.updateWith(new Oe(c,(e=>e.isEmpty()))),!0===p.isEmpty()?e.goto(i+1):(e.enterList(c,n),e.stack.push(p))})),ae.add(i.Op.ExitList,(e=>{e.exitList()})),ae.add(i.Op.Iterate,((e,{op1:r})=>{let n=e.stack,i=(0,t.check)(n.peek(),Le).next();null!==i?e.registerItem(e.enterItem(i)):e.goto(r)}));const Rt={dynamicLayout:!1,dynamicTag:!1,prepareArgs:!1,createArgs:!1,attributeHook:!1,elementHook:!1,createCaller:!1,dynamicScope:!1,updateHook:!1,createInstance:!1,wrapped:!1,willDestroy:!1,hasSubOwner:!1};class St{getCapabilities(){return Rt}getDebugName({name:e}){return e}getSelf(){return r.NULL_REFERENCE}getDestroyable(){return null}}e.TemplateOnlyComponentManager=St;const Pt=e.TEMPLATE_ONLY_COMPONENT_MANAGER=new St;class At{constructor(e="@glimmer/component/template-only",t="(unknown template-only component)"){this.moduleName=e,this.name=t}toString(){return this.moduleName}}e.TemplateOnlyComponent=At,(0,a.setInternalComponentManager)(Pt,At.prototype);const xt={foreignObject:1,desc:1,title:1},Mt=Object.create(null);class Nt{constructor(e){this.document=e,this.setupUselessElement()}setupUselessElement(){this.uselessElement=this.document.createElement("div")}createElement(e,t){let r,i;if(t?(r=t.namespaceURI===n.NS_SVG||"svg"===e,i=!!xt[t.tagName]):(r="svg"===e,i=!1),r&&!i){if(Mt[e])throw new Error(`Cannot create a ${e} inside an SVG context`);return this.document.createElementNS(n.NS_SVG,e)}return this.document.createElement(e)}insertBefore(e,t,r){e.insertBefore(t,r)}insertHTMLBefore(e,t,r){if(""===r){const r=this.createComment("");return e.insertBefore(r,t),new O(e,r,r)}const i=t?t.previousSibling:e.lastChild;let o;if(null===t)e.insertAdjacentHTML(n.INSERT_BEFORE_END,r),o=(0,n.expect)(e.lastChild,"bug in insertAdjacentHTML?");else if(t instanceof HTMLElement)t.insertAdjacentHTML("beforebegin",r),o=(0,n.expect)(t.previousSibling,"bug in insertAdjacentHTML?");else{const{uselessElement:i}=this;e.insertBefore(i,t),i.insertAdjacentHTML(n.INSERT_BEFORE_BEGIN,r),o=(0,n.expect)(i.previousSibling,"bug in insertAdjacentHTML?"),e.removeChild(i)}const s=(0,n.expect)(i?i.nextSibling:e.firstChild,"bug in insertAdjacentHTML?");return new O(e,s,o)}createTextNode(e){return this.document.createTextNode(e)}createComment(e){return this.document.createComment(e)}}function Dt(e,t,r){if(!e)return t;if(!function(e,t){const r=e.createElementNS(t,"svg");try{r.insertAdjacentHTML(n.INSERT_BEFORE_END,"")}catch(e){}finally{return 1!==r.childNodes.length||(0,n.castToBrowser)((0,n.unwrap)(r.firstChild),"SVG").namespaceURI!==n.NS_SVG}}(e,r))return t;const i=e.createElement("div");return class extends t{insertHTMLBefore(e,t,o){return""===o||e.namespaceURI!==r?super.insertHTMLBefore(e,t,o):function(e,t,r,i){let o;if((0,n.assert)(""!==r,"html cannot be empty"),"FOREIGNOBJECT"===e.tagName.toUpperCase()){const e=""+r+"";(0,n.clearElement)(t),t.insertAdjacentHTML(n.INSERT_AFTER_BEGIN,e),o=t.firstChild.firstChild}else{const e=""+r+"";(0,n.clearElement)(t),t.insertAdjacentHTML(n.INSERT_AFTER_BEGIN,e),o=t.firstChild}return function(e,t,r){const i=(0,n.expect)(e.firstChild,"source is empty");let o=i,s=i;for(;s;){const e=s.nextSibling;t.insertBefore(s,r),o=s,s=e}return new O(t,i,o)}(o,e,i)}(e,i,o,t)}}}function It(e,t){return e&&function(e){const t=e.createElement("div");if(t.appendChild(e.createTextNode("first")),t.insertAdjacentHTML(n.INSERT_BEFORE_END,"second"),2===t.childNodes.length)return!1;return!0}(e)?class extends t{constructor(e){super(e),this.uselessComment=void 0,this.uselessComment=e.createComment("")}insertHTMLBefore(e,t,r){if(""===r)return super.insertHTMLBefore(e,t,r);let n=!1;const i=t?t.previousSibling:e.lastChild;i&&i instanceof Text&&(n=!0,e.insertBefore(this.uselessComment,t));const o=super.insertHTMLBefore(e,t,r);return n&&e.removeChild(this.uselessComment),o}}:t}const jt="undefined"==typeof document?null:(0,n.castToSimple)(document);let Ft=class extends Nt{createElementNS(e,t){return this.document.createElementNS(e,t)}setAttribute(e,t,r,n=null){n?e.setAttributeNS(n,t,r):e.setAttribute(t,r)}};Ft=It(jt,Ft),Ft=Dt(jt,Ft,n.NS_SVG);const Lt=e.DOMTreeConstruction=Ft;["b","big","blockquote","body","br","center","code","dd","div","dl","dt","em","embed","h1","h2","h3","h4","h5","h6","head","hr","i","img","li","listing","main","meta","nobr","ol","p","pre","ruby","s","small","span","strong","strike","sub","sup","table","tt","u","ul","var"].forEach((e=>Mt[e]=1));const Bt=/[\t\n\v\f\r \xA0\u{1680}\u{180e}\u{2000}-\u{200a}\u{2028}\u{2029}\u{202f}\u{205f}\u{3000}\u{feff}]/u,Ut="undefined"==typeof document?null:(0,n.castToSimple)(document);class Ht extends Nt{constructor(e){super(e),this.namespace=void 0,this.document=e,this.namespace=null}setAttribute(e,t,r){e.setAttribute(t,r)}removeAttribute(e,t){e.removeAttribute(t)}insertAfter(e,t,r){this.insertBefore(e,t,r.nextSibling)}}e.IDOMChanges=Ht;let Vt=Ht;Vt=It(Ut,Vt),Vt=Dt(Ut,Vt,n.NS_SVG);e.DOMChanges=Vt;let $t=0;class zt{constructor(e){this.id=$t++,this.value=void 0,this.value=e}get(){return this.value}release(){this.value=null}toString(){let e=`Ref ${this.id}`;if(null===this.value)return`${e} (released)`;try{return`${e}: ${this.value}`}catch{return e}}}class qt{constructor(){this.stack=new n.Stack,this.refs=new WeakMap,this.roots=new Set,this.nodes=new WeakMap}begin(){this.reset()}create(e,t){let r=(0,n.assign)({},t,{bounds:null,refs:new Set});this.nodes.set(e,r),this.appendChild(r,e),this.enter(e)}update(e){this.enter(e)}didRender(e,t){this.nodeFor(e).bounds=t,this.exit()}willDestroy(e){(0,n.expect)(this.refs.get(e),"BUG: missing ref").release()}commit(){this.reset()}capture(){return this.captureRefs(this.roots)}reset(){if(0!==this.stack.size){let e=(0,n.expect)(this.stack.toArray()[0],"expected root state when resetting render tree"),t=this.refs.get(e);for(void 0!==t&&this.roots.delete(t);!this.stack.isEmpty();)this.stack.pop()}}enter(e){this.stack.push(e)}exit(){this.stack.pop()}nodeFor(e){return(0,n.expect)(this.nodes.get(e),"BUG: missing node")}appendChild(e,t){let r=this.stack.current,n=new zt(t);if(this.refs.set(t,n),r){let t=this.nodeFor(r);t.refs.add(n),e.parent=t}else this.roots.add(n)}captureRefs(e){let t=[];return e.forEach((r=>{let n=r.get();n?t.push(this.captureNode(`render-node:${r.id}`,n)):e.delete(r)})),t}captureNode(e,t){let r=this.nodeFor(t),{type:n,name:i,args:o,instance:s,refs:a}=r,l=this.captureTemplate(r),u=this.captureBounds(r),c=this.captureRefs(a);return{id:e,type:n,name:i,args:mt(o),instance:s,template:l,bounds:u,children:c}}captureTemplate({template:e}){return e||null}captureBounds(e){let t=(0,n.expect)(e.bounds,"BUG: missing bounds");return{parentElement:t.parentElement(),firstNode:t.firstNode(),lastNode:t.lastNode()}}}const Gt=Symbol("TRANSACTION");class Wt{constructor(){this.scheduledInstallModifiers=[],this.scheduledUpdateModifiers=[],this.createdComponents=[],this.updatedComponents=[]}didCreate(e){this.createdComponents.push(e)}didUpdate(e){this.updatedComponents.push(e)}scheduleInstallModifier(e){this.scheduledInstallModifiers.push(e)}scheduleUpdateModifier(e){this.scheduledUpdateModifiers.push(e)}commit(){let{createdComponents:e,updatedComponents:t}=this;for(const{manager:t,state:r}of e)t.didCreate(r);for(const{manager:e,state:r}of t)e.didUpdate(r);let{scheduledInstallModifiers:r,scheduledUpdateModifiers:n}=this;for(const{manager:e,state:t,definition:n}of r){let r=e.getTag(t);if(null!==r){let n=(0,l.track)((()=>e.install(t)),!1);(0,l.updateTag)(r,n)}else e.install(t)}for(const{manager:e,state:t,definition:r}of n){let r=e.getTag(t);if(null!==r){let n=(0,l.track)((()=>e.update(t)),!1);(0,l.updateTag)(r,n)}else e.update(t)}}}class Yt{constructor(e,t){this[Gt]=null,this.updateOperations=void 0,this.isInteractive=void 0,this.isArgumentCaptureError=void 0,this.debugRenderTree=void 0,this.delegate=t,this.isInteractive=t.isInteractive,this.debugRenderTree=this.delegate.enableDebugTooling?new qt:void 0,this.isArgumentCaptureError=this.delegate.enableDebugTooling?dt:void 0,e.appendOperations?(this.appendOperations=e.appendOperations,this.updateOperations=e.updateOperations):e.document&&(this.appendOperations=new Lt(e.document),this.updateOperations=new Ht(e.document))}getAppendOperations(){return this.appendOperations}getDOM(){return(0,n.expect)(this.updateOperations,"Attempted to get DOM updateOperations, but they were not provided by the environment. You may be attempting to rerender in an environment which does not support rerendering, such as SSR.")}begin(){(0,n.assert)(!this[Gt],"A glimmer transaction was begun, but one already exists. You may have a nested transaction, possibly caused by an earlier runtime exception while rendering. Please check your console for the stack trace of any prior exceptions."),this.debugRenderTree?.begin(),this[Gt]=new Wt}get transaction(){return(0,n.expect)(this[Gt],"must be in a transaction")}didCreate(e){this.transaction.didCreate(e)}didUpdate(e){this.transaction.didUpdate(e)}scheduleInstallModifier(e){this.isInteractive&&this.transaction.scheduleInstallModifier(e)}scheduleUpdateModifier(e){this.isInteractive&&this.transaction.scheduleUpdateModifier(e)}commit(){let e=this.transaction;this[Gt]=null,e.commit(),this.debugRenderTree?.commit(),this.delegate.onTransactionCommit()}}function Qt(e,t){if(e[Gt])t();else{e.begin();try{t()}finally{e.commit()}}}function Kt(e){return(0,a.setInternalHelperManager)(e,{})}e.EnvironmentImpl=Yt;e.array=Kt((({positional:e})=>(0,r.createComputeRef)((()=>ct(e)),null,"array")));const Jt=e=>(e=>null==e||"function"!=typeof e.toString)(e)?"":String(e),Xt=(e.concat=Kt((({positional:e})=>(0,r.createComputeRef)((()=>ct(e).map(Jt).join("")),null,"concat"))),(0,n.buildUntouchableThis)("`fn` helper"));e.fn=Kt((({positional:e})=>{let n=(0,t.check)(e[0],Zt);return(0,r.createComputeRef)((()=>(...t)=>{let[i,...o]=ct(e);if((0,r.isInvokableRef)(n)){let e=o.length>0?o[0]:t[0];return(0,r.updateRef)(n,e)}return i.call(Xt,...o,...t)}),null,"fn")}));function Zt(e){if(!e||!(0,r.isInvokableRef)(e)&&"function"!=typeof(0,r.valueForRef)(e))throw new Error(`You must pass a function as the \`fn\` helper's first argument, you passed ${e?(0,r.valueForRef)(e):e}. While rendering:\n\n${e?.debugLabel}`)}e.get=Kt((({positional:e})=>{let t=e[0]??r.UNDEFINED_REFERENCE,i=e[1]??r.UNDEFINED_REFERENCE;return(0,r.createComputeRef)((()=>{let e=(0,r.valueForRef)(t);if((0,n.isDict)(e))return(0,s.getPath)(e,String((0,r.valueForRef)(i)))}),(e=>{let o=(0,r.valueForRef)(t);if((0,n.isDict)(o))return(0,s.setPath)(o,String((0,r.valueForRef)(i)),e)}),"get")})),e.hash=Kt((({named:e})=>{let t=(0,r.createComputeRef)((()=>ut(e)),null,"hash"),n=new Map;for(let t in e)n.set(t,e[t]);return t.children=n,t}));function er(e){return(0,l.getValue)(e.argsCache)}class tr{constructor(e,t=()=>bt){this.argsCache=void 0;let r=(0,l.createCache)((()=>t(e)));this.argsCache=r}get named(){return er(this).named||ft}get positional(){return er(this).positional||gt}}(0,n.buildUntouchableThis)("`on` modifier");class rr{constructor(e,t){this.tag=(0,l.createUpdatableTag)(),this.element=void 0,this.args=void 0,this.listener=null,this.element=e,this.args=t,(0,o.registerDestructor)(this,(()=>{let{element:e,listener:t}=this;if(t){let{eventName:r,callback:n,options:i}=t;or(e,r,n,i)}}))}updateListener(){let{element:e,args:i,listener:o}=this;(0,n.assert)(i.positional[0],"You must pass a valid DOM event name as the first argument to the `on` modifier");let s=(0,t.check)((0,r.valueForRef)(i.positional[0]),t.CheckString,(()=>"You must pass a valid DOM event name as the first argument to the `on` modifier"));(0,n.assert)(i.positional[1],"You must pass a function as the second argument to the `on` modifier");let a,l,u,c=(0,t.check)((0,r.valueForRef)(i.positional[1]),t.CheckFunction,(e=>`You must pass a function as the second argument to the \`on\` modifier; you passed ${null===e?"null":typeof e}. While rendering:\n\n${i.positional[1]?.debugLabel??"{unlabeled value}"}`));{let{once:e,passive:t,capture:n}=i.named;e&&(a=(0,r.valueForRef)(e)),t&&(l=(0,r.valueForRef)(t)),n&&(u=(0,r.valueForRef)(n))}let p,d=!1;if(d=null===o||(s!==o.eventName||c!==o.userProvidedCallback||a!==o.once||l!==o.passive||u!==o.capture),d&&(void 0===a&&void 0===l&&void 0===u||(p={once:a,passive:l,capture:u})),d){let t=c;0,this.listener={eventName:s,callback:t,userProvidedCallback:c,once:a,passive:l,capture:u,options:p},o&&or(e,o.eventName,o.callback,o.options),function(e,t,r,n){nr++,e.addEventListener(t,r,n)}(e,s,t,p)}}}let nr=0,ir=0;function or(e,t,r,n){ir++,e.removeEventListener(t,r,n)}e.on=(0,a.setInternalModifierManager)(new class{getDebugName(){return"on"}getDebugInstance(){return null}get counters(){return{adds:nr,removes:ir}}create(e,t,r,n){return new rr(t,n)}getTag({tag:e}){return e}install(e){e.updateListener()}update(e){e.updateListener()}getDestroyable(e){return e}},{});class sr{constructor(e,t,r,n,i){this.currentOpSize=0,this.stack=e,this.heap=t,this.program=r,this.externs=n,this.registers=i}fetchRegister(e){return this.registers[e]}loadRegister(e,t){this.registers[e]=t}setPc(e){(0,n.assert)("number"==typeof e&&!isNaN(e),"pc is set to a number"),this.registers[i.$pc]=e}pushFrame(){this.stack.push(this.registers[i.$ra]),this.stack.push(this.registers[i.$fp]),this.registers[i.$fp]=this.registers[i.$sp]-1}popFrame(){this.registers[i.$sp]=this.registers[i.$fp]-1,this.registers[i.$ra]=this.stack.get(0),this.registers[i.$fp]=this.stack.get(1)}pushSmallFrame(){this.stack.push(this.registers[i.$ra])}popSmallFrame(){this.registers[i.$ra]=this.stack.pop()}goto(e){this.setPc(this.target(e))}target(e){return this.registers[i.$pc]+e-this.currentOpSize}call(e){(0,n.assert)(e<4294967295,"Jumping to placeholder address"),this.registers[i.$ra]=this.registers[i.$pc],this.setPc(this.heap.getaddr(e))}returnTo(e){this.registers[i.$ra]=this.target(e)}return(){this.setPc(this.registers[i.$ra])}nextStatement(){let{registers:e,program:t}=this,r=e[i.$pc];if((0,n.assert)("number"==typeof r,"pc is a number"),-1===r)return null;let o=t.opcode(r),s=this.currentOpSize=o.size;return this.registers[i.$pc]+=s,o}evaluateOuter(e,t){this.evaluateInner(e,t)}evaluateInner(e,t){e.isMachine?this.evaluateMachine(e):this.evaluateSyscall(e,t)}evaluateMachine(e){switch(e.type){case i.MachineOp.PushFrame:return this.pushFrame();case i.MachineOp.PopFrame:return this.popFrame();case i.MachineOp.InvokeStatic:return this.call(e.op1);case i.MachineOp.InvokeVirtual:return this.call(this.stack.pop());case i.MachineOp.Jump:return this.goto(e.op1);case i.MachineOp.Return:return this.return();case i.MachineOp.ReturnTo:return this.returnTo(e.op1)}}evaluateSyscall(e,t){ae.evaluate(t,e,e.type)}}class ar{constructor(e,{alwaysRevalidate:t=!1}){this.env=void 0,this.dom=void 0,this.alwaysRevalidate=void 0,this.frameStack=new n.Stack,this.env=e,this.dom=e.getDOM(),this.alwaysRevalidate=t}execute(e,t){this._execute(e,t)}_execute(e,t){let{frameStack:r}=this;for(this.try(e,t);!r.isEmpty();){let e=this.frame.nextStatement();void 0!==e?e.evaluate(this):r.pop()}}get frame(){return(0,n.expect)(this.frameStack.current,"bug: expected a frame")}goto(e){this.frame.goto(e)}try(e,t){this.frameStack.push(new hr(e,t))}throw(){this.frame.handleException(),this.frameStack.pop()}}e.UpdatingVM=ar;class lr{constructor(e,t){this.state=e,this.resumeCallback=t}resume(e,t){return this.resumeCallback(e,this.state,t)}}class ur{constructor(e,t,r,n){this.children=void 0,this.bounds=void 0,this.state=e,this.runtime=t,this.children=n,this.bounds=r}parentElement(){return this.bounds.parentElement()}firstNode(){return this.bounds.firstNode()}lastNode(){return this.bounds.lastNode()}evaluate(e){e.try(this.children,null)}}class cr extends ur{constructor(...e){super(...e),this.type="try"}evaluate(e){e.try(this.children,this)}handleException(){let{state:e,bounds:t,runtime:r}=this;(0,o.destroyChildren)(this);let n=re.resume(r.env,t),i=e.resume(r,n),s=[],a=this.children=[],l=i.execute((e=>{e.pushUpdating(s),e.updateWith(this),e.pushUpdating(a)}));(0,o.associateDestroyableChild)(this,l.drop)}}class pr extends cr{constructor(e,t,r,n,i,o){super(e,t,r,[]),this.retained=!1,this.index=-1,this.key=n,this.memo=i,this.value=o}updateReferences(e){this.retained=!0,(0,r.updateRef)(this.value,e.value),(0,r.updateRef)(this.memo,e.memo)}shouldRemove(){return!this.retained}reset(){this.retained=!1}}class dr extends ur{constructor(e,t,n,i,o){super(e,t,n,i),this.type="list-block",this.opcodeMap=new Map,this.marker=null,this.lastIterator=void 0,this.iterableRef=o,this.lastIterator=(0,r.valueForRef)(o)}initializeChild(e){e.index=this.children.length-1,this.opcodeMap.set(e.key,e)}evaluate(e){let t=(0,r.valueForRef)(this.iterableRef);if(this.lastIterator!==t){let{bounds:r}=this,{dom:i}=e,o=this.marker=i.createComment("");i.insertAfter(r.parentElement(),o,(0,n.expect)(r.lastNode(),"can't insert after an empty bounds")),this.sync(t),this.parentElement().removeChild(o),this.marker=null,this.lastIterator=t}super.evaluate(e)}sync(e){let{opcodeMap:t,children:r}=this,i=0,o=0;for(this.children=this.bounds.boundList=[];;){let s=e.next();if(null===s)break;let a=r[i],{key:l}=s;for(;void 0!==a&&!0===a.retained;)a=r[++i];if(void 0!==a&&a.key===l)this.retainItem(a,s),i++;else if(t.has(l)){let e=t.get(l);if(e.index{t.pushUpdating();let n=t.enterItem(e);n.index=a.length,a.push(n),r.set(l,n),(0,o.associateDestroyableChild)(this,n)}))}moveItem(e,t,n){let i,o,{children:s}=this;(0,r.updateRef)(e.memo,t.memo),(0,r.updateRef)(e.value,t.value),e.retained=!0,void 0===n?C(e,this.marker):(i=e.lastNode().nextSibling,o=n.firstNode(),i!==o&&C(e,o)),e.index=s.length,s.push(e)}deleteItem(e){(0,o.destroy)(e),E(e),this.opcodeMap.delete(e.key)}}class hr{constructor(e,t){this.current=0,this.ops=e,this.exceptionHandler=t}goto(e){this.current=e}nextStatement(){return this.ops[this.current++]}handleException(){this.exceptionHandler&&this.exceptionHandler.handleException()}}class mr{constructor(e,t,r,n){this.env=e,this.updating=t,this.bounds=r,this.drop=n,(0,o.associateDestroyableChild)(this,n),(0,o.registerDestructor)(this,(()=>E(this.bounds)))}rerender({alwaysRevalidate:e=!1}={alwaysRevalidate:!1}){let{env:t,updating:r}=this;new ar(t,{alwaysRevalidate:e}).execute(r,this)}parentElement(){return this.bounds.parentElement()}firstNode(){return this.bounds.firstNode()}lastNode(){return this.bounds.lastNode()}handleException(){throw"this should never happen"}}class fr{static restore(e){return new this(e.slice(),[0,-1,e.length-1,0])}constructor(e=[],t){this[g]=void 0,this.stack=e,this[g]=t}push(e){this.stack[++this[g][i.$sp]]=e}dup(e=this[g][i.$sp]){this.stack[++this[g][i.$sp]]=this.stack[e]}copy(e,t){this.stack[t]=this.stack[e]}pop(e=1){let t=this.stack[this[g][i.$sp]];return this[g][i.$sp]-=e,t}peek(e=0){return this.stack[this[g][i.$sp]-e]}get(e,t=this[g][i.$fp]){return this.stack[t+e]}set(e,t,r=this[g][i.$fp]){this.stack[r+t]=e}slice(e,t){return this.stack.slice(e,t)}capture(e){let t=this[g][i.$sp]+1,r=t-e;return this.stack.slice(r,t)}reset(){this.stack.length=0}toArray(){return this.stack.slice(this[g][i.$fp],this[g][i.$sp]+1)}}class gr{constructor(){this.scope=new n.Stack,this.dynamicScope=new n.Stack,this.updating=new n.Stack,this.cache=new n.Stack,this.list=new n.Stack}}class br{get stack(){return this[h].stack}get pc(){return this[h].fetchRegister(i.$pc)}fetch(e){let t=this.fetchValue(e);this.stack.push(t)}load(e){let t=this.stack.pop();this.loadValue(e,t)}fetchValue(e){if((0,i.isLowLevelRegister)(e))return this[h].fetchRegister(e);switch(e){case i.$s0:return this.s0;case i.$s1:return this.s1;case i.$t0:return this.t0;case i.$t1:return this.t1;case i.$v0:return this.v0}}loadValue(e,t){switch((0,i.isLowLevelRegister)(e)&&this[h].loadRegister(e,t),e){case i.$s0:this.s0=t;break;case i.$s1:this.s1=t;break;case i.$t0:this.t0=t;break;case i.$t1:this.t1=t;break;case i.$v0:this.v0=t}}pushFrame(){this[h].pushFrame()}popFrame(){this[h].popFrame()}goto(e){this[h].goto(e)}call(e){this[h].call(e)}returnTo(e){this[h].returnTo(e)}return(){this[h].return()}constructor(e,{pc:t,scope:r,dynamicScope:o,stack:s},a,l){this[f]=new gr,this[b]=void 0,this.destructor=void 0,this[m]=new n.Stack,this[y]=void 0,this[v]=void 0,this[h]=void 0,this.s0=null,this.s1=null,this.t0=null,this.t1=null,this.v0=null,this.resume=void 0,this.runtime=e,this.elementStack=a,this.context=l,this.resume=vr(l);let u=fr.restore(s);(0,n.assert)("number"==typeof t,"pc is a number"),u[g][i.$pc]=t,u[g][i.$sp]=s.length-1,u[g][i.$fp]=-1,this[b]=this.program.heap,this[y]=this.program.constants,this.elementStack=a,this[f].scope.push(r),this[f].dynamicScope.push(o),this[v]=new et,this[h]=new sr(u,this[b],e.program,{debugBefore:e=>ae.debugBefore(this,e),debugAfter:e=>{ae.debugAfter(this,e)}},u[g]),this.destructor={},this[m].push(this.destructor)}static initial(e,t,{handle:r,self:n,dynamicScope:i,treeBuilder:o,numSymbols:s,owner:a}){let l=d.root(n,s,a),u=yr(e.program.heap.getaddr(r),l,i),c=vr(t)(e,u,o);return c.pushUpdating(),c}static empty(e,{handle:t,treeBuilder:n,dynamicScope:i,owner:o},s){let a=vr(s)(e,yr(e.program.heap.getaddr(t),d.root(r.UNDEFINED_REFERENCE,0,o),i),n);return a.pushUpdating(),a}compile(e){return(0,n.unwrapHandle)(e.compile(this.context))}get program(){return this.runtime.program}get env(){return this.runtime.env}captureState(e,t=this[h].fetchRegister(i.$pc)){return{pc:t,scope:this.scope(),dynamicScope:this.dynamicScope(),stack:this.stack.capture(e)}}capture(e,t=this[h].fetchRegister(i.$pc)){return new lr(this.captureState(e,t),this.resume)}beginCacheGroup(e){let t=this.updating(),r=new Ce;t.push(r),t.push(new Ee(e)),this[f].cache.push(r),(0,l.beginTrackFrame)(e)}commitCacheGroup(){let e=this.updating(),t=(0,n.expect)(this[f].cache.pop(),"VM BUG: Expected a cache group"),r=(0,l.endTrackFrame)();e.push(new we(t)),t.finalize(r,e.length)}enter(e){let t=this.capture(e),r=this.elements().pushUpdatableBlock(),n=new cr(t,this.runtime,r,[]);this.didEnter(n)}enterItem({key:e,value:t,memo:n}){let{stack:i}=this,o=(0,r.createIteratorItemRef)(t),s=(0,r.createIteratorItemRef)(n);i.push(o),i.push(s);let a=this.capture(2),l=this.elements().pushUpdatableBlock(),u=new pr(a,this.runtime,l,e,s,o);return this.didEnter(u),u}registerItem(e){this.listBlock().initializeChild(e)}enterList(e,t){let r=[],n=this[h].target(t),i=this.capture(0,n),o=this.elements().pushBlockList(r),s=new dr(i,this.runtime,o,r,e);this[f].list.push(s),this.didEnter(s)}didEnter(e){this.associateDestroyable(e),this[m].push(e),this.updateWith(e),this.pushUpdating(e.children)}exit(){this[m].pop(),this.elements().popBlock(),this.popUpdating()}exitList(){this.exit(),this[f].list.pop()}pushUpdating(e=[]){this[f].updating.push(e)}popUpdating(){return(0,n.expect)(this[f].updating.pop(),"can't pop an empty stack")}updateWith(e){this.updating().push(e)}listBlock(){return(0,n.expect)(this[f].list.current,"expected a list block")}associateDestroyable(e){let t=(0,n.expect)(this[m].current,"Expected destructor parent");(0,o.associateDestroyableChild)(t,e)}tryUpdating(){return this[f].updating.current}updating(){return(0,n.expect)(this[f].updating.current,"expected updating opcode on the updating opcode stack")}elements(){return this.elementStack}scope(){return(0,n.expect)(this[f].scope.current,"expected scope on the scope stack")}dynamicScope(){return(0,n.expect)(this[f].dynamicScope.current,"expected dynamic scope on the dynamic scope stack")}pushChildScope(){this[f].scope.push(this.scope().child())}pushDynamicScope(){let e=this.dynamicScope().child();return this[f].dynamicScope.push(e),e}pushRootScope(e,t){let r=d.sized(e,t);return this[f].scope.push(r),r}pushScope(e){this[f].scope.push(e)}popScope(){this[f].scope.pop()}popDynamicScope(){this[f].dynamicScope.pop()}getOwner(){return this.scope().owner}getSelf(){return this.scope().getSelf()}referenceForSymbol(e){return this.scope().getSymbol(e)}execute(e){return this._execute(e)}_execute(e){let t;e&&e(this);do{t=this.next()}while(!t.done);return t.value}next(){let e,{env:t,elementStack:r}=this,n=this[h].nextStatement();return null!==n?(this[h].evaluateOuter(n,this),e={done:!1,value:null}):(this.stack.reset(),e={done:!0,value:new mr(t,this.popUpdating(),r.popBlock(),this.destructor)}),e}bindDynamicScope(e){let t=this.dynamicScope();for(const r of(0,n.reverse)(e))t.set(r,this.stack.pop())}}function yr(e,t,r){return{pc:e,scope:t,dynamicScope:r,stack:[]}}function vr(e){return(t,r,n)=>new br(t,r,n,e)}e.LowLevelVM=br;class _r{constructor(e){this.vm=e}next(){return this.vm.next()}sync(){return this.vm.execute()}}const Or=e.SERIALIZATION_FIRST_NODE_STRING="%+b:0%";class Cr extends _{constructor(e,t,r){super(e,t),this.candidate=null,this.openBlockDepth=void 0,this.injectedOmittedNode=!1,this.startingBlockDepth=r,this.openBlockDepth=r-1}}class Er extends re{constructor(e,t,r){if(super(e,t,r),this.unmatchedAttributes=null,this.blockDepth=0,this.startingBlockOffset=void 0,r)throw new Error("Rehydration with nextSibling not supported");let i=this.currentCursor.element.firstChild;for(;null!==i&&!wr(i);)i=i.nextSibling;(0,n.assert)(i,"Must have opening comment for rehydration."),this.candidate=i;const o=Tr(i);if(0!==o){const e=o-1,t=this.dom.createComment(`%+b:${e}%`);i.parentNode.insertBefore(t,this.candidate);let r=i.nextSibling;for(;null!==r&&(!kr(r)||Tr(r)!==o);)r=r.nextSibling;(0,n.assert)(r,"Must have closing comment for starting block comment");const s=this.dom.createComment(`%-b:${e}%`);i.parentNode.insertBefore(s,r.nextSibling),this.candidate=t,this.startingBlockOffset=e}else this.startingBlockOffset=0}get currentCursor(){return this[te].current}get candidate(){return this.currentCursor?this.currentCursor.candidate:null}set candidate(e){this.currentCursor.candidate=e}disableRehydration(e){const t=this.currentCursor;t.candidate=null,t.nextSibling=e}enableRehydration(e){const t=this.currentCursor;t.candidate=e,t.nextSibling=null}pushElement(e,t=null){const r=new Cr(e,t,this.blockDepth||0);null!==this.candidate&&(r.candidate=e.firstChild,this.candidate=e.nextSibling),this[te].push(r)}clearMismatch(e){let t=e;const r=this.currentCursor;if(null!==r){const e=r.openBlockDepth;if(e>=r.startingBlockDepth)for(;t;){if(kr(t)){if(e>=Rr(t,this.startingBlockOffset))break}t=this.remove(t)}else for(;null!==t;)t=this.remove(t);this.disableRehydration(t)}}__openBlock(){const{currentCursor:e}=this;if(null===e)return;const t=this.blockDepth;this.blockDepth++;const{candidate:r}=e;if(null===r)return;const{tagName:n}=e.element;wr(r)&&Rr(r,this.startingBlockOffset)===t?(this.candidate=this.remove(r),e.openBlockDepth=t):"TITLE"!==n&&"SCRIPT"!==n&&"STYLE"!==n&&this.clearMismatch(r)}__closeBlock(){const{currentCursor:e}=this;if(null===e)return;const t=e.openBlockDepth;this.blockDepth--;const{candidate:r}=e;let n=!1;if(null!==r)if(n=!0,kr(r)&&Rr(r,this.startingBlockOffset)===t){const t=this.remove(r);this.candidate=t,e.openBlockDepth--}else this.clearMismatch(r),n=!1;if(!1===n){const t=e.nextSibling;if(null!==t&&kr(t)&&Rr(t,this.startingBlockOffset)===this.blockDepth){const r=this.remove(t);this.enableRehydration(r),e.openBlockDepth--}}}__appendNode(e){const{candidate:t}=this;return t||super.__appendNode(e)}__appendHTML(e){const t=this.markerBounds();if(t){const e=t.firstNode(),r=t.lastNode(),n=new O(this.element,e.nextSibling,r.previousSibling),i=this.remove(e);return this.remove(r),null!==i&&Ar(i)&&(this.candidate=this.remove(i),null!==this.candidate&&this.clearMismatch(this.candidate)),n}return super.__appendHTML(e)}remove(e){const t=(0,n.expect)(e.parentNode,"cannot remove a detached node"),r=e.nextSibling;return t.removeChild(e),r}markerBounds(){const e=this.candidate;if(e&&Pr(e)){const t=e;let r=(0,n.expect)(t.nextSibling,"BUG: serialization markers must be paired");for(;r&&!Pr(r);)r=(0,n.expect)(r.nextSibling,"BUG: serialization markers must be paired");return new O(this.element,t,r)}return null}__appendText(e){const{candidate:t}=this;return t?3===t.nodeType?(t.nodeValue!==e&&(t.nodeValue=e),this.candidate=t.nextSibling,t):function(e){return 8===e.nodeType&&"%|%"===e.nodeValue}(t)||Ar(t)&&""===e?(this.candidate=this.remove(t),this.__appendText(e)):(this.clearMismatch(t),super.__appendText(e)):super.__appendText(e)}__appendComment(e){const t=this.candidate;return t&&8===t.nodeType?(t.nodeValue!==e&&(t.nodeValue=e),this.candidate=t.nextSibling,t):(t&&this.clearMismatch(t),super.__appendComment(e))}__openElement(e){const t=this.candidate;if(t&&Sr(t)&&function(e,t){if(e.namespaceURI===n.NS_SVG)return e.tagName===t;return e.tagName===t.toUpperCase()}(t,e))return this.unmatchedAttributes=[].slice.call(t.attributes),t;if(t){if(Sr(t)&&"TBODY"===t.tagName)return this.pushElement(t,null),this.currentCursor.injectedOmittedNode=!0,this.__openElement(e);this.clearMismatch(t)}return super.__openElement(e)}__setAttribute(e,t,r){const n=this.unmatchedAttributes;if(n){const r=xr(n,e);if(r)return r.value!==t&&(r.value=t),void n.splice(n.indexOf(r),1)}return super.__setAttribute(e,t,r)}__setProperty(e,t){const r=this.unmatchedAttributes;if(r){const n=xr(r,e);if(n)return n.value!==t&&(n.value=t),void r.splice(r.indexOf(n),1)}return super.__setProperty(e,t)}__flushElement(e,t){const{unmatchedAttributes:r}=this;if(r){for(const e of r)this.constructing.removeAttribute(e.name);this.unmatchedAttributes=null}else super.__flushElement(e,t)}willCloseElement(){const{candidate:e,currentCursor:t}=this;null!==e&&this.clearMismatch(e),t&&t.injectedOmittedNode&&this.popElement(),super.willCloseElement()}getMarker(e,t){const r=e.querySelector(`script[glmr="${t}"]`);return r?(0,n.castToSimple)(r):null}__pushRemoteElement(e,t,r){const i=this.getMarker((0,n.castToBrowser)(e,"HTML"),t);if((0,n.assert)(!i||i.parentNode===e,"expected remote element marker's parent node to match remote element"),void 0===r){for(;null!==e.firstChild&&e.firstChild!==i;)this.remove(e.firstChild);r=null}const o=new Cr(e,null,this.blockDepth);this[te].push(o),null===i?this.disableRehydration(r):this.candidate=this.remove(i);const s=new ie(e);return this.pushLiveBlock(s,!0)}didAppendBounds(e){if(super.didAppendBounds(e),this.candidate){const t=e.lastNode();this.candidate=t&&t.nextSibling}return e}}function wr(e){return e.nodeType===n.COMMENT_NODE&&0===e.nodeValue.lastIndexOf("%+b:",0)}function kr(e){return e.nodeType===n.COMMENT_NODE&&0===e.nodeValue.lastIndexOf("%-b:",0)}function Tr(e){return parseInt(e.nodeValue.slice(4),10)}function Rr(e,t){return Tr(e)-t}function Sr(e){return 1===e.nodeType}function Pr(e){return 8===e.nodeType&&"%glmr%"===e.nodeValue}function Ar(e){return 8===e.nodeType&&"% %"===e.nodeValue}function xr(e,t){for(const r of e)if(r.name===t)return r}e.RehydrateBuilder=Er})),e("@glimmer/tracking/index",["exports","@ember/-internals/metal"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cached",{enumerable:!0,get:function(){return t.cached}}),Object.defineProperty(e,"tracked",{enumerable:!0,get:function(){return t.tracked}})})),e("@glimmer/tracking/primitives/cache",["exports","@ember/-internals/metal"],(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createCache",{enumerable:!0,get:function(){return t.createCache}}),Object.defineProperty(e,"getValue",{enumerable:!0,get:function(){return t.getValue}}),Object.defineProperty(e,"isConst",{enumerable:!0,get:function(){return t.isConst}})})),e("@glimmer/util",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TEXT_NODE=e.Stack=e.SERIALIZATION_FIRST_NODE_STRING=e.RAW_NODE=e.NS_XMLNS=e.NS_XML=e.NS_XLINK=e.NS_SVG=e.NS_MATHML=e.NS_HTML=e.LOGGER=e.LOCAL_LOGGER=e.ImmediateConstants=e.INSERT_BEFORE_END=e.INSERT_BEFORE_BEGIN=e.INSERT_AFTER_END=e.INSERT_AFTER_BEGIN=e.EMPTY_STRING_ARRAY=e.EMPTY_NUMBER_ARRAY=e.EMPTY_ARRAY=e.ELEMENT_NODE=e.DOCUMENT_TYPE_NODE=e.DOCUMENT_NODE=e.DOCUMENT_FRAGMENT_NODE=e.COMMENT_NODE=void 0,e.arrayToOption=function(e){return a(e)?e:null},e.asPresentArray=function(e,t="unexpected empty list"){return l(e,t),e},e.assert=function(e,t){if(!e)throw new Error(t||"assertion failure")},e.assertNever=function(e,t="unexpected unreachable branch"){throw R.log("unreachable",e),R.log(`${t} :: ${JSON.stringify(e)} (${e})`),new Error("code reached unreachable")},e.assertPresent=function(e,t){if(!s(e))throw new Error(`Expected present, got ${"string"==typeof e?e:t}`)},e.assertPresentArray=l,e.beginTestSteps=e.assign=void 0,e.buildUntouchableThis=function(e){let t=null;0;return t},e.castToBrowser=function(e,t){if(null==e)return null;if(void 0===typeof document)throw new Error("Attempted to cast to a browser node in a non-browser context");if(C(e))return e;if(e.ownerDocument!==document)throw new Error("Attempted to cast to a browser node with a node that was not created from this document");return w(e,t)},e.castToSimple=function(e){return C(e)||E(e),e},e.checkNode=w,e.clearElement=function(e){let t=e.firstChild;for(;t;){let r=t.nextSibling;e.removeChild(t),t=r}},e.constants=function(...e){return[!1,!0,null,void 0,...e]},e.debugToString=void 0,e.decodeHandle=function(e){return e},e.decodeImmediate=_,e.decodeNegative=g,e.decodePositive=y,e.deprecate=function(e){T.warn(`DEPRECATION: ${e}`)},e.dict=function(){return Object.create(null)},e.emptyArray=r,e.encodeHandle=function(e){return e},e.encodeImmediate=v,e.encodeNegative=f,e.encodePositive=b,e.endTestSteps=void 0,e.entries=function(e){return Object.entries(e)},e.enumerate=n,e.exhausted=function(e){throw new Error(`Exhausted ${String(e)}`)},e.expect=function(e,t){if(null==e)throw new Error(t);return e},e.extractHandle=function(e){return"number"==typeof e?e:e.handle},e.getFirst=c,e.getLast=u,e.ifPresent=function(e,t,r){return a(e)?t(e):r()},e.intern=function(e){let t={};t[e]=1;for(let r in t)if(r===e)return r;return e},e.isDict=function(e){return null!=e},e.isElement=function(e){return e?.nodeType===d&&e instanceof Element},e.isEmptyArray=function(e){return e===t},e.isErrHandle=function(e){return"number"==typeof e},e.isHandle=function(e){return e>=0},e.isNonPrimitiveHandle=function(e){return e>m.ENCODED_UNDEFINED_HANDLE},e.isObject=function(e){return"function"==typeof e||"object"==typeof e&&null!==e},e.isOkHandle=function(e){return"number"==typeof e},e.isPresent=s,e.isPresentArray=a,e.isSerializationFirstNode=function(e){return e.nodeValue===O},e.isSimpleElement=E,e.isSmallInt=function(e){return e%1==0&&e<=m.MAX_INT&&e>=m.MIN_INT},e.keys=function(e){return Object.keys(e)},e.logStep=void 0,e.mapPresentArray=function(e,t){if(null===e)return null;let r=[];for(let n of e)r.push(t(n));return r},e.reverse=function*(e){for(let t=e.length-1;t>=0;t--)yield e[t]},e.strip=function(e,...t){let r="";for(const[i,o]of n(e)){r+=`${o}${void 0!==t[i]?String(t[i]):""}`}let i=r.split("\n");for(;a(i)&&/^\s*$/u.test(c(i));)i.shift();for(;a(i)&&/^\s*$/u.test(u(i));)i.pop();let o=1/0;for(let e of i){let t=/^\s*/u.exec(e)[0].length;o=Math.min(o,t)}let s=[];for(let e of i)s.push(e.slice(o));return s.join("\n")},e.tuple=void 0,e.unreachable=o,e.unwrap=i,e.unwrapHandle=function(e){if("number"==typeof e)return e;{let t=e.errors[0];throw new Error(`Compile Error: ${t.problem} @ ${t.span.start}..${t.span.end}`)}},e.unwrapTemplate=function(e){if("error"===e.result)throw new Error(`Compile Error: ${e.problem} @ ${e.span.start}..${e.span.end}`);return e},e.values=function(e){return Object.values(e)},e.verifySteps=void 0;const t=e.EMPTY_ARRAY=Object.freeze([]);function r(){return t}e.EMPTY_STRING_ARRAY=r(),e.EMPTY_NUMBER_ARRAY=r();function*n(e){let t=0;for(const r of e)yield[t++,r]}function i(e){if(null==e)throw new Error("Expected value to be present");return e}function o(e="unreachable"){return new Error(e)}function s(e){return null!=e}function a(e){return e.length>0}function l(e,t="unexpected empty list"){if(!a(e))throw new Error(t)}function u(e){return 0===e.length?void 0:e[e.length-1]}function c(e){return 0===e.length?void 0:e[0]}e.tuple=(...e)=>e;e.Stack=class{constructor(e=[]){this.stack=void 0,this.current=null,this.stack=e}get size(){return this.stack.length}push(e){this.current=e,this.stack.push(e)}pop(){let e=this.stack.pop();return this.current=u(this.stack)??null,void 0===e?null:e}nth(e){let t=this.stack.length;return tm.SIGN_BIT?y(e):g(e)}[1,-1].forEach((e=>_(v(e))));const O=e.SERIALIZATION_FIRST_NODE_STRING="%+b:0%";e.assign=Object.assign;function C(e){return e.nodeType===h}function E(e){return e?.nodeType===d}function w(e,t){let r=!1;if(null!==e)if("string"==typeof t)r=k(e,t);else{if(!Array.isArray(t))throw o();r=t.some((t=>k(e,t)))}if(r&&e instanceof Node)return e;throw function(e,t){return new Error(`cannot cast a ${e} into ${String(t)}`)}(`SimpleElement(${e?.constructor?.name??"null"})`,t)}function k(e,t){switch(t){case"NODE":return!0;case"HTML":return e instanceof HTMLElement;case"SVG":return e instanceof SVGElement;case"ELEMENT":return e instanceof Element;default:if(t.toUpperCase()===t)throw new Error("BUG: this code is missing handling for a generic node type");return e instanceof Element&&e.tagName.toLowerCase()===t}}const T=e.LOCAL_LOGGER=console,R=e.LOGGER=console})),e("@glimmer/validator",["exports","@glimmer/global-context","@glimmer/util"],(function(e,t,r){"use strict";function n(e){if(null==e)throw new Error("Expected value to be present");return e}Object.defineProperty(e,"__esModule",{value:!0}),e.VolatileTag=e.VOLATILE_TAG=e.VOLATILE=e.INITIAL=e.CurrentTag=e.CURRENT_TAG=e.CONSTANT_TAG=e.CONSTANT=e.COMPUTE=e.ALLOW_CYCLES=void 0,e.beginTrackFrame=M,e.beginUntrackFrame=D,e.bump=function(){s++},e.combine=void 0,e.consumeTag=j,e.createCache=function(e,t){0;let r={[F]:e,[L]:void 0,[B]:void 0,[U]:-1};0;return r},e.createTag=function(){return new h(a)},e.createUpdatableTag=g,e.dirtyTag=e.debug=void 0,e.dirtyTagFor=T,e.endTrackFrame=N,e.endUntrackFrame=I,e.getValue=function(e){H(e,"getValue");let t=e[F],r=e[B],n=e[U];if(void 0!==r&&p(r,n))j(r);else{M();try{e[L]=t()}finally{r=N(),e[B]=r,e[U]=c(r),j(r)}}return e[L]},e.isConst=function(e){H(e,"isConst");let t=e[B];return function(){0}(),y(t)},e.isConstTag=y,e.isTracking=function(){return null!==A},e.resetTracking=function(){for(;x.length>0;)x.pop();A=null,!1},e.tagFor=S,e.tagMetaFor=R,e.track=function(e,t){let r;M(t);try{e()}finally{r=N()}return r},e.trackedData=function(e,t){let r=new WeakMap,n="function"==typeof t;return{getter:function(i){let o;return j(S(i,e)),n&&!r.has(i)?(o=t.call(i),r.set(i,o)):o=r.get(i),o},setter:function(t,n){T(t,e),r.set(t,n)}}},e.untrack=function(e){D();try{return e()}finally{I()}},e.updateTag=void 0,e.validateTag=p,e.valueForTag=c;e.debug={};e.CONSTANT=0;const i=e.INITIAL=1,o=e.VOLATILE=NaN;let s=i;const a=0,l=1,u=e.COMPUTE=Symbol("TAG_COMPUTE");function c(e){return e[u]()}function p(e,t){return t>=e[u]()}const d=Symbol("TAG_TYPE");e.ALLOW_CYCLES=void 0;class h{static combine(e){switch(e.length){case 0:return b;case 1:return e[0];default:{let t=new h(2);return t.subtag=e,t}}}constructor(e){this.revision=i,this.lastChecked=i,this.lastValue=i,this.isUpdating=!1,this.subtag=null,this.subtagBufferCache=null,this[d]=void 0,this[d]=e}[u](){let{lastChecked:e}=this;if(!0===this.isUpdating)this.lastChecked=++s;else if(e!==s){this.isUpdating=!0,this.lastChecked=s;try{let{subtag:e,revision:t}=this;if(null!==e)if(Array.isArray(e))for(const r of e){let e=r[u]();t=Math.max(e,t)}else{let r=e[u]();r===this.subtagBufferCache?t=Math.max(t,this.lastValue):(this.subtagBufferCache=null,t=Math.max(t,r))}this.lastValue=t}finally{this.isUpdating=!1}}return this.lastValue}static updateTag(e,t){let r=e,n=t;n===b?r.subtag=null:(r.subtagBufferCache=n[u](),r.subtag=n)}static dirtyTag(e,r){e.revision=++s,(0,t.scheduleRevalidate)()}}const m=e.dirtyTag=h.dirtyTag,f=e.updateTag=h.updateTag;function g(){return new h(l)}const b=e.CONSTANT_TAG=new h(3);function y(e){return e===b}class v{constructor(){this[d]=100}[u](){return o}}e.VolatileTag=v;e.VOLATILE_TAG=new v;class _{constructor(){this[d]=101}[u](){return s}}e.CurrentTag=_;e.CURRENT_TAG=new _;const O=e.combine=h.combine;let C=g(),E=g(),w=g();c(C),m(C),c(C),f(C,O([E,w])),c(C),m(E),c(C),m(w),c(C),f(C,w),c(C),m(w),c(C);const k=new WeakMap;function T(e,t,r){let n=void 0===r?k.get(e):r;if(void 0===n)return;let i=n.get(t);void 0!==i&&m(i,!0)}function R(e){let t=k.get(e);return void 0===t&&(t=new Map,k.set(e,t)),t}function S(e,t,r){let n=void 0===r?R(e):r,i=n.get(t);return void 0===i&&(i=g(),n.set(t,i)),i}class P{constructor(){this.tags=new Set,this.last=null}add(e){e!==b&&(this.tags.add(e),this.last=e)}combine(){let{tags:e}=this;return 0===e.size?b:1===e.size?this.last:O(Array.from(this.tags))}}let A=null;const x=[];function M(e){x.push(A),A=new P}function N(){let e=A;return A=x.pop()||null,n(e).combine()}function D(){x.push(A),A=null}function I(){A=x.pop()||null}function j(e){null!==A&&A.add(e)}const F=Symbol("FN"),L=Symbol("LAST_VALUE"),B=Symbol("TAG"),U=Symbol("SNAPSHOT");Symbol("DEBUG_LABEL");function H(e,t){0}const V=Symbol("GLIMMER_VALIDATOR_REGISTRATION"),$=function(){if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof global)return global;throw new Error("unable to locate global object")}();if(!0===$[V])throw new Error("The `@glimmer/validator` library has been included twice in this application. It could be different versions of the package, or the same version included twice by mistake. `@glimmer/validator` depends on having a single copy of the package in use at any time in an application, even if they are the same version. You must dedupe your build to remove the duplicate packages in order to prevent this error.");$[V]=!0})),e("@glimmer/vm",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TemporaryRegister=e.TYPE_SIZE=e.TYPE_MASK=e.SavedRegister=e.Op=e.OPERAND_LEN_MASK=e.MachineRegister=e.MachineOp=e.MAX_SIZE=e.MACHINE_MASK=e.InternalComponentCapability=e.InternalComponentCapabilities=e.CurriedTypes=e.CurriedType=e.ContentType=e.ARG_SHIFT=e.$v0=e.$t1=e.$t0=e.$sp=e.$s1=e.$s0=e.$ra=e.$pc=e.$fp=void 0,e.isLowLevelRegister=function(e){return e<=t},e.isMachineOp=function(e){return e>=0&&e<=15},e.isOp=function(e){return e>=16};e.ContentType={Component:0,Helper:1,String:2,Empty:3,SafeString:4,Fragment:5,Node:6,Other:8},e.CurriedTypes=e.CurriedType={Component:0,Helper:1,Modifier:2},e.InternalComponentCapability=e.InternalComponentCapabilities={Empty:0,dynamicLayout:1,dynamicTag:2,prepareArgs:4,createArgs:8,attributeHook:16,elementHook:32,dynamicScope:64,createCaller:128,updateHook:256,createInstance:512,wrapped:1024,willDestroy:2048,hasSubOwner:4096},e.ARG_SHIFT=8,e.MAX_SIZE=2147483647,e.TYPE_SIZE=255,e.TYPE_MASK=255,e.OPERAND_LEN_MASK=768,e.MACHINE_MASK=1024,e.MachineOp={PushFrame:0,PopFrame:1,InvokeVirtual:2,InvokeStatic:3,Jump:4,Return:5,ReturnTo:6,Size:7},e.Op={Helper:16,SetNamedVariables:17,SetBlocks:18,SetVariable:19,SetBlock:20,GetVariable:21,GetProperty:22,GetBlock:23,SpreadBlock:24,HasBlock:25,HasBlockParams:26,Concat:27,Constant:28,ConstantReference:29,Primitive:30,PrimitiveReference:31,ReifyU32:32,Dup:33,Pop:34,Load:35,Fetch:36,RootScope:37,VirtualRootScope:38,ChildScope:39,PopScope:40,Text:41,Comment:42,AppendHTML:43,AppendSafeHTML:44,AppendDocumentFragment:45,AppendNode:46,AppendText:47,OpenElement:48,OpenDynamicElement:49,PushRemoteElement:50,StaticAttr:51,DynamicAttr:52,ComponentAttr:53,FlushElement:54,CloseElement:55,PopRemoteElement:56,Modifier:57,BindDynamicScope:58,PushDynamicScope:59,PopDynamicScope:60,CompileBlock:61,PushBlockScope:62,PushSymbolTable:63,InvokeYield:64,JumpIf:65,JumpUnless:66,JumpEq:67,AssertSame:68,Enter:69,Exit:70,ToBoolean:71,EnterList:72,ExitList:73,Iterate:74,Main:75,ContentType:76,Curry:77,PushComponentDefinition:78,PushDynamicComponentInstance:79,ResolveDynamicComponent:80,ResolveCurriedComponent:81,PushArgs:82,PushEmptyArgs:83,PopArgs:84,PrepareArgs:85,CaptureArgs:86,CreateComponent:87,RegisterComponentDestructor:88,PutComponentOperations:89,GetComponentSelf:90,GetComponentTagName:91,GetComponentLayout:92,BindEvalScope:93,SetupForEval:94,PopulateLayout:95,InvokeComponentLayout:96,BeginComponentTransaction:97,CommitComponentTransaction:98,DidCreateElement:99,DidRenderLayout:100,ResolveMaybeLocal:102,Debugger:103,Size:104,StaticComponentAttr:105,DynamicContentType:106,DynamicHelper:107,DynamicModifier:108,IfInline:109,Not:110,GetDynamicVar:111,Log:112};e.$pc=0,e.$ra=1,e.$fp=2;const t=e.$sp=3;e.$s0=4,e.$s1=5,e.$t0=6,e.$t1=7,e.$v0=8;e.MachineRegister=function(e){return e[e.pc=0]="pc",e[e.ra=1]="ra",e[e.fp=2]="fp",e[e.sp=3]="sp",e}({});e.SavedRegister=function(e){return e[e.s0=4]="s0",e[e.s1=5]="s1",e}({}),e.TemporaryRegister=function(e){return e[e.t0=6]="t0",e[e.t1=7]="t1",e}({})})),e("@glimmer/wire-format",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WellKnownTagNames=e.WellKnownAttrNames=e.VariableResolutionContext=e.SexpOpcodes=void 0,e.getStringFromValue=function(e){return e},e.is=r,e.isArgument=function(e){return e[0]===t.StaticArg||e[0]===t.DynamicArg},e.isAttribute=function(e){return e[0]===t.StaticAttr||e[0]===t.DynamicAttr||e[0]===t.TrustingDynamicAttr||e[0]===t.ComponentAttr||e[0]===t.StaticComponentAttr||e[0]===t.TrustingComponentAttr||e[0]===t.AttrSplat||e[0]===t.Modifier},e.isGet=e.isFlushElement=void 0,e.isHelper=function(e){return Array.isArray(e)&&e[0]===t.Call},e.isStringLiteral=function(e){return"string"==typeof e};const t=e.SexpOpcodes={Append:1,TrustingAppend:2,Comment:3,Modifier:4,StrictModifier:5,Block:6,StrictBlock:7,Component:8,OpenElement:10,OpenElementWithSplat:11,FlushElement:12,CloseElement:13,StaticAttr:14,DynamicAttr:15,ComponentAttr:16,AttrSplat:17,Yield:18,DynamicArg:20,StaticArg:21,TrustingDynamicAttr:22,TrustingComponentAttr:23,StaticComponentAttr:24,Debugger:26,Undefined:27,Call:28,Concat:29,GetSymbol:30,GetLexicalSymbol:32,GetStrictKeyword:31,GetFreeAsComponentOrHelperHead:35,GetFreeAsHelperHead:37,GetFreeAsModifierHead:38,GetFreeAsComponentHead:39,InElement:40,If:41,Each:42,Let:44,WithDynamicVars:45,InvokeComponent:46,HasBlock:48,HasBlockParams:49,Curry:50,Not:51,IfInline:52,GetDynamicVar:53,Log:54};e.VariableResolutionContext={Strict:0,ResolveAsComponentOrHelperHead:1,ResolveAsHelperHead:5,ResolveAsModifierHead:6,ResolveAsComponentHead:7},e.WellKnownAttrNames={class:0,id:1,value:2,name:3,type:4,style:5,href:6},e.WellKnownTagNames={div:0,span:1,p:2,a:3};function r(e){return function(t){return Array.isArray(t)&&t[0]===e}}e.isFlushElement=r(t.FlushElement);e.isGet=r(t.GetSymbol)})),e("@simple-dom/document",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){const e=new d(null,9,"#document",null,"http://www.w3.org/1999/xhtml"),t=new d(e,10,"html",null,"http://www.w3.org/1999/xhtml"),r=new d(e,1,"HTML",null,"http://www.w3.org/1999/xhtml"),n=new d(e,1,"HEAD",null,"http://www.w3.org/1999/xhtml"),i=new d(e,1,"BODY",null,"http://www.w3.org/1999/xhtml");return r.appendChild(n),r.appendChild(i),e.appendChild(t),e.appendChild(r),e};const t=[];function r(e,t,r){for(let n=0;n{};function n(e){if("function"==typeof Promise){const t=Promise.resolve();return()=>t.then(e)}if("function"==typeof MutationObserver){let t=0,r=new MutationObserver(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),()=>(t=++t%2,n.data=""+t,t)}return()=>t(e,0)}function i(e){let t=r;return{setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),now:()=>Date.now(),next:n(e),clearNext:t}}const o=/\d+/;function s(e){let t=typeof e;return"number"===t&&e==e||"string"===t&&o.test(e)}function a(e){return e.onError||e.onErrorTarget&&e.onErrorTarget[e.onErrorMethod]}function l(e,t,r){let n=-1;for(let i=0,o=r.length;i=t[r]?i=r+6:o=r;return e>=t[i]?i+6:i}class d{constructor(e,t={},r={}){this._queueBeingFlushed=[],this.targetQueues=new Map,this.index=0,this._queue=[],this.name=e,this.options=t,this.globalOptions=r}stackFor(e){if(e0){let e=a(this.globalOptions);o=e?this.invokeWithOnError:this.invoke;for(let s=this.index;s0&&this.flush(!0)}hasWork(){return this._queueBeingFlushed.length>0||this._queue.length>0}cancel({target:e,method:t}){let r=this._queue,n=this.targetQueues.get(e);void 0!==n&&n.delete(t);let i=l(e,t,r);return i>-1?(r[i+1]=null,!0):(r=this._queueBeingFlushed,i=l(e,t,r),i>-1&&(r[i+1]=null,!0))}push(e,t,r,n){return this._queue.push(e,t,r,n),{queue:this,target:e,method:t}}pushUnique(e,t,r,n){let i=this.targetQueues.get(e);void 0===i&&(i=new Map,this.targetQueues.set(e,i));let o=i.get(t);if(void 0===o){let o=this._queue.push(e,t,r,n)-4;i.set(t,o)}else{let e=this._queue;e[o+2]=r,e[o+3]=n}return{queue:this,target:e,method:t}}_getDebugInfo(e){if(e){return c(this._queue,4)}}invoke(e,t,r){void 0===r?t.call(e):t.apply(e,r)}invokeWithOnError(e,t,r,n,i){try{void 0===r?t.call(e):t.apply(e,r)}catch(e){n(e,i)}}}class h{constructor(e=[],t){this.queues={},this.queueNameIndex=0,this.queueNames=e,e.reduce((function(e,r){return e[r]=new d(r,t[r],t),e}),this.queues)}schedule(e,t,r,n,i,o){let s=this.queues[e];if(void 0===s)throw new Error(`You attempted to schedule an action in a queue (${e}) that doesn't exist`);if(null==r)throw new Error(`You attempted to schedule an action in a queue (${e}) for a method that doesn't exist`);return this.queueNameIndex=0,i?s.pushUnique(t,r,n,o):s.push(t,r,n,o)}flush(e=!1){let t,r,n=this.queueNames.length;for(;this.queueNameIndexi){let t=n-i;e=new Array(t);for(let r=0;r{F++,!1!==this._autorun&&(this._autorun=!1,this._autorunStack=null,this._end(!0))};let r=this.options._buildPlatform||i;this._platform=r(this._boundAutorunEnd)}get counters(){return{begin:_,end:O,events:{begin:C,end:0},autoruns:{created:j,completed:F},run:E,join:w,defer:k,schedule:T,scheduleIterable:R,deferOnce:S,scheduleOnce:P,setTimeout:A,later:x,throttle:M,debounce:N,cancelTimers:D,cancel:I,loops:{total:L,nested:B}}}get defaultQueue(){return this._defaultQueue}begin(){_++;let e,t=this.options,r=this.currentInstance;return!1!==this._autorun?(e=r,this._cancelAutorun()):(null!==r&&(B++,this.instanceStack.push(r)),L++,e=this.currentInstance=new h(this.queueNames,t),C++,this._trigger("begin",e,r)),this._onBegin(e,r),e}end(){O++,this._end(!1)}on(e,t){if("function"!=typeof t)throw new TypeError("Callback must be a function");let r=this._eventCallbacks[e];if(void 0===r)throw new TypeError(`Cannot on() event ${e} because it does not exist`);r.push(t)}off(e,t){let r=this._eventCallbacks[e];if(!e||void 0===r)throw new TypeError(`Cannot off() event ${e} because it does not exist`);let n=!1;if(t)for(let e=0;e0&&s(r[i-1])&&(n=parseInt(r.pop(),10));return[e,t,r,n]}(...arguments);return this._later(e,t,r,n)}throttle(){M++;let e,[t,r,n,i,o=!0]=y(...arguments),s=u(t,r,this._timers);if(-1===s)e=this._later(t,r,o?g:n,i),o&&this._join(t,r,n);else{e=this._timers[s+1];let t=s+4;this._timers[t]!==g&&(this._timers[t]=n)}return e}debounce(){N++;let e,[t,r,n,i,o=!1]=y(...arguments),s=this._timers,a=u(t,r,s);if(-1===a)e=this._later(t,r,o?g:n,i),o&&this._join(t,r,n);else{let o=this._platform.now()+i,l=a+4;s[l]===g&&(n=g),e=s[a+1];let u=p(o,s);if(a+6===u)s[a]=o,s[l]=n;else{let i=this._timers[a+5];this._timers.splice(u,0,o,e,t,r,n,i),this._timers.splice(a,6)}0===a&&this._reinstallTimerTimeout()}return e}cancelTimers(){D++,this._clearTimerTimeout(),this._timers=[],this._cancelAutorun()}hasTimers(){return this._timers.length>0||this._autorun}cancel(e){if(I++,null==e)return!1;let t=typeof e;return"number"===t?this._cancelLaterTimer(e):!("object"!==t||!e.queue||!e.method)&&e.queue.cancel(e)}ensureInstance(){this._ensureInstance()}getDebugInfo(){if(this.DEBUG)return{autorun:this._autorunStack,counters:this.counters,timers:c(this._timers,6,2),instanceStack:[this.currentInstance,...this.instanceStack].map((e=>e&&e._getDebugInfo(this.DEBUG)))}}_end(e){let t=this.currentInstance,r=null;if(null===t)throw new Error("end called without begin");let n,i=!1;try{n=t.flush(e)}finally{if(!i)if(i=!0,1===n){const e=this.queueNames[t.queueNameIndex];this._scheduleAutorun(e)}else this.currentInstance=null,this.instanceStack.length>0&&(r=this.instanceStack.pop(),this.currentInstance=r),this._trigger("end",t,r),this._onEnd(t,r)}}_join(e,t,r){return null===this.currentInstance?this._run(e,t,r):void 0===e&&void 0===r?t():t.apply(e,r)}_run(e,t,r){let n=a(this.options);if(this.begin(),n)try{return t.apply(e,r)}catch(e){n(e)}finally{this.end()}else try{return t.apply(e,r)}finally{this.end()}}_cancelAutorun(){this._autorun&&(this._platform.clearNext(),this._autorun=!1,this._autorunStack=null)}_later(e,t,r,n){let i=this.DEBUG?new Error:void 0,o=this._platform.now()+n,s=v++;if(0===this._timers.length)this._timers.push(o,s,e,t,r,i),this._installTimerTimeout();else{let n=p(o,this._timers);this._timers.splice(n,0,o,s,e,t,r,i),this._reinstallTimerTimeout()}return s}_cancelLaterTimer(e){for(let t=1;t0&&(this.begin(),this._scheduleExpiredTimers(),this.end())}_scheduleExpiredTimers(){let e=this._timers,t=0,r=e.length,n=this._defaultQueue,i=this._platform.now();for(;ti)break;let r=e[t+4];if(r!==g){let i=e[t+2],o=e[t+3],s=e[t+5];this.currentInstance.schedule(n,i,o,r,!1,s)}}e.splice(0,t),this._installTimerTimeout()}_reinstallTimerTimeout(){this._clearTimerTimeout(),this._installTimerTimeout()}_clearTimerTimeout(){null!==this._timerTimeoutId&&(this._platform.clearTimeout(this._timerTimeoutId),this._timerTimeoutId=null)}_installTimerTimeout(){if(0===this._timers.length)return;let e=this._timers[0],t=this._platform.now(),r=Math.max(0,e-t);this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,r)}_ensureInstance(){let e=this.currentInstance;return null===e&&(this._autorunStack=this.DEBUG?new Error:void 0,e=this.begin(),this._scheduleAutorun(this.queueNames[0])),e}_scheduleAutorun(e){j++;const t=this._platform.next,r=this.options.flush;r?r(e,t):t(),this._autorun=!0}}U.Queue=d,U.buildPlatform=i,U.buildNext=n;e.default=U})),e("dag-map",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=function(){function e(){this._vertices=new r}return e.prototype.add=function(e,t,r,n){if(!e)throw new Error("argument `key` is required");var i=this._vertices,o=i.add(e);if(o.val=t,r)if("string"==typeof r)i.addEdge(o,i.add(r));else for(var s=0;s0){var n="cycle detected: "+t;throw this.each(this.path,(function(e){n+=" <- "+e})),new Error(n)}}},e.prototype.reset=function(){this.stack.length=0,this.path.length=0,this.result.length=0;for(var e=0,t=this.length;e=0){var a=this[s];if(a.flag)continue;if(a.flag=!0,i.push(s),t===a.key)break;n.push(~s),this.pushIncoming(a)}else i.pop(),o.push(~s)}},e.prototype.pushIncoming=function(e){for(var t=this.stack,r=e.length-1;r>=0;r--){var n=e[r];this[n].flag||t.push(n)}},e.prototype.each=function(e,t){for(var r=0,n=e.length;r=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return t=e[Symbol.iterator](),t.next.bind(t)},e.createSuper=function(e){return function(){let t,i=r(e);if(n){let e=r(this).constructor;t=Reflect.construct(i,arguments,e)}else t=i.apply(this,arguments);return l(this,t)}},e.inheritsLoose=function(e,r){0;e.prototype=Object.create(null===r?null:r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),null!==r&&t(e,r)},e.objectDestructuringEmpty=function(e){0},e.possibleConstructorReturn=l,e.taggedTemplateLiteralLoose=function(e,t){t||(t=e.slice(0));return e.raw=t,e},e.wrapNativeSuper=function(e){if(i.has(e))return i.get(e);function r(){}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),i.set(e,r),t(r,e)};const t=Object.setPrototypeOf,r=Object.getPrototypeOf,n="object"==typeof Reflect&&"function"==typeof Reflect.construct,i=new Map;let o=0;function s(e,t){for(let r=0;re.length)&&(t=e.length);let r=new Array(t);for(let n=0;n(te.__emberTemplateCompiler&&(oe.precompile=ie.precompile=te.__emberTemplateCompiler.precompile,oe.compile=ie.compile=te.compileTemplate,Object.defineProperty(re,"HTMLBars",{configurable:!0,writable:!0,enumerable:!0,value:oe}),Object.defineProperty(re,"Handlebars",{configurable:!0,writable:!0,enumerable:!0,value:ie})),"Handlebars"===e?ie:oe)})}function ae(e){Object.defineProperty(re,e,{configurable:!0,enumerable:!0,get(){if(ee._impl){let{Test:t,Adapter:r,QUnitAdapter:n,setupForTesting:i}=ee._impl;return t.Adapter=r,t.QUnitAdapter=n,Object.defineProperty(re,"Test",{configurable:!0,writable:!0,enumerable:!0,value:t}),Object.defineProperty(re,"setupForTesting",{configurable:!0,writable:!0,enumerable:!0,value:i}),"Test"===e?t:i}}})}se("HTMLBars"),se("Handlebars"),ae("Test"),ae("setupForTesting"),(0,S.runLoadHooks)("Ember");e.default=re})),e("ember/version",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default="5.9.0"})),e("route-recognizer",["exports"],(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Object.create;function r(){var e=t(null);return e.__=void 0,delete e.__,e}var n=function(e,t,r){this.path=e,this.matcher=t,this.delegate=r};n.prototype.to=function(e,t){var r=this.delegate;if(r&&r.willAddRoute&&(e=r.willAddRoute(this.matcher.target,e)),this.matcher.add(this.path,e),t){if(0===t.length)throw new Error("You must have an argument in the function passed to `to`");this.matcher.addChild(this.path,e,t,this.delegate)}};var i=function(e){this.routes=r(),this.children=r(),this.target=e};function o(e,t,r){return function(i,s){var a=e+i;if(!s)return new n(a,t,r);s(o(a,t,r))}}function s(e,t,r){for(var n=0,i=0;i0&&47===t.charCodeAt(0)&&(t=t.substr(1));for(var n=t.split("/"),i=void 0,o=void 0,s=0;s2&&"[]"===o.slice(s-2)&&(a=!0,r[o=o.slice(0,s-2)]||(r[o]=[])),l=i[1]?S(i[1]):""),a?r[o].push(l):r[o]=l}return r},P.prototype.recognize=function(e){var t,r=[this.rootState],n={},i=!1,o=e.indexOf("#");-1!==o&&(e=e.substr(0,o));var s=e.indexOf("?");if(-1!==s){var a=e.substr(s+1,e.length);e=e.substr(0,s),n=this.parseQueryString(a)}"/"!==e.charAt(0)&&(e="/"+e);var u=e;P.ENCODE_AND_DECODE_PATH_SEGMENTS?e=l(e):(e=decodeURI(e),u=decodeURI(u));var c=e.length;c>1&&"/"===e.charAt(c-1)&&(e=e.substr(0,c-1),u=u.substr(0,u.length-1),i=!0);for(var p=0;p0){let i=e[n-1];if(function(e){if(e&&"object"==typeof e){let t=e;return"queryParams"in t&&Object.keys(t.queryParams).every((e=>"string"==typeof e))}return!1}(i))return r=i.queryParams,t=o.call(e,0,n-1),[t,r]}return[e,null]}function u(e){for(let t in e){let r=e[t];if("number"==typeof r)e[t]=""+r;else if(Array.isArray(r))for(let e=0,t=r.length;e{throw this.router.transitionDidError(e,this)}),f("Handle Abort"))}else this.promise=r.Promise.resolve(this[g]),this[b]={}}then(e,t,r){return this.promise.then(e,t,r)}catch(e,t){return this.promise.catch(e,t)}finally(e,t){return this.promise.finally(e,t)}abort(){this.rollback();let e=new v(this.router,void 0,void 0,void 0);return e.to=this.from,e.from=this.from,e.isAborted=!0,this.router.routeWillChange(e),this.router.routeDidChange(e),this}rollback(){this.isAborted||(c(this.router,this.sequence,this.targetName+": transition was aborted"),void 0!==this.intent&&null!==this.intent&&(this.intent.preTransitionState=this.router.state),this.isAborted=!0,this.isActive=!1,this.router.activeTransition=void 0)}redirect(e){this.rollback(),this.router.routeWillChange(e)}retry(){this.abort();let e=this.router.transitionByIntent(this.intent,!1);return null!==this.urlMethod&&e.method(this.urlMethod),e}method(e){return this.urlMethod=e,this}send(e=!1,t,r,n,i){this.trigger(e,t,r,n,i)}trigger(e=!1,t,...r){"string"==typeof e&&(t=e,e=!1),this.router.triggerEvent(this[g].routeInfos.slice(0,this.resolveIndex+1),e,t,r)}followRedirects(){let e=this.router;return this.promise.catch((function(t){return e.activeTransition?e.activeTransition.followRedirects():r.Promise.reject(t)}))}toString(){return"Transition (sequence "+this.sequence+")"}log(e){c(this.router,this.sequence,e)}}function _(e){return c(e.router,e.sequence,"detected abort."),n()}function O(e){return"object"==typeof e&&e instanceof v&&e.isTransition}e.InternalTransition=v;let C=new WeakMap;function E(e,t={},r={includeAttributes:!1,localizeMapUpdates:!1}){const n=new WeakMap;return e.map(((i,o)=>{let{name:s,params:a,paramNames:l,context:u,route:c}=i,p=i;if(C.has(p)&&r.includeAttributes){let e=C.get(p);e=function(e,t){let r={get metadata(){return k(e)}};if(!Object.isExtensible(t)||t.hasOwnProperty("metadata"))return Object.freeze(Object.assign({},t,r));return Object.assign(t,r)}(c,e);let t=w(e,u);return n.set(p,e),r.localizeMapUpdates||C.set(p,t),t}const d=r.localizeMapUpdates?n:C;let h={find(t,r){let n,i=[];3===t.length&&(i=e.map((e=>d.get(e))));for(let o=0;e.length>o;o++)if(n=d.get(e[o]),t.call(r,n,o,i))return n},get name(){return s},get paramNames(){return l},get metadata(){return k(i.route)},get parent(){let t=e[o-1];return void 0===t?null:d.get(t)},get child(){let t=e[o+1];return void 0===t?null:d.get(t)},get localName(){let e=this.name.split(".");return e[e.length-1]},get params(){return a},get queryParams(){return t}};return r.includeAttributes&&(h=w(h,u)),n.set(i,h),r.localizeMapUpdates||C.set(i,h),h}))}function w(e,t){let r={get attributes(){return t}};return!Object.isExtensible(e)||e.hasOwnProperty("attributes")?Object.freeze(Object.assign({},e,r)):Object.assign(e,r)}function k(e){return null!=e&&void 0!==e.buildRouteInfoMetadata?e.buildRouteInfoMetadata():null}class T{constructor(e,t,r,n){this._routePromise=void 0,this._route=null,this.params={},this.isResolved=!1,this.name=t,this.paramNames=r,this.router=e,n&&this._processRoute(n)}getModel(e){return r.Promise.resolve(this.context)}serialize(e){return this.params||{}}resolve(e){return r.Promise.resolve(this.routePromise).then((t=>(i(e),t))).then((()=>this.runBeforeModelHook(e))).then((()=>i(e))).then((()=>this.getModel(e))).then((t=>(i(e),t))).then((t=>this.runAfterModelHook(e,t))).then((t=>this.becomeResolved(e,t)))}becomeResolved(e,t){let r,n=this.serialize(t);e&&(this.stashResolvedModel(e,t),e[b]=e[b]||{},e[b][this.name]=n);let i=t===this.context;!("context"in this)&&i||(r=t);let o=C.get(this),s=new R(this.router,this.name,this.paramNames,n,this.route,r);return void 0!==o&&C.set(s,o),s}shouldSupersede(e){if(!e)return!0;let t=e.context===this.context;return e.name!==this.name||"context"in this&&!t||this.hasOwnProperty("params")&&!function(e,t){if(e===t)return!0;if(!e||!t)return!1;for(let r in e)if(e.hasOwnProperty(r)&&e[r]!==t[r])return!1;return!0}(this.params,e.params)}get route(){return null!==this._route?this._route:this.fetchRoute()}set route(e){this._route=e}get routePromise(){return this._routePromise||this.fetchRoute(),this._routePromise}set routePromise(e){this._routePromise=e}log(e,t){e.log&&e.log(this.name+": "+t)}updateRoute(e){return e._internalName=this.name,this.route=e}runBeforeModelHook(e){let t;return e.trigger&&e.trigger(!0,"willResolveModel",e,this.route),this.route&&void 0!==this.route.beforeModel&&(t=this.route.beforeModel(e)),O(t)&&(t=null),r.Promise.resolve(t)}runAfterModelHook(e,t){let n,i=this.name;var o;return this.stashResolvedModel(e,t),void 0!==this.route&&void 0!==this.route.afterModel&&(n=this.route.afterModel(t,e)),n=O(o=n)?null:o,r.Promise.resolve(n).then((()=>e.resolvedModels[i]))}stashResolvedModel(e,t){e.resolvedModels=e.resolvedModels||{},e.resolvedModels[this.name]=t}fetchRoute(){let e=this.router.getRoute(this.name);return this._processRoute(e)}_processRoute(e){return this.routePromise=r.Promise.resolve(e),null!==(t=e)&&"object"==typeof t&&"function"==typeof t.then?(this.routePromise=this.routePromise.then((e=>this.updateRoute(e))),this.route=void 0):e?this.updateRoute(e):void 0;var t}}e.InternalRouteInfo=T;class R extends T{constructor(e,t,r,n,i,o){super(e,t,r,i),this.params=n,this.isResolved=!0,this.context=o}resolve(e){return e&&e.resolvedModels&&(e.resolvedModels[this.name]=this.context),r.Promise.resolve(this)}}class S extends T{constructor(e,t,r,n,i){super(e,t,r,i),this.params={},n&&(this.params=n)}getModel(e){let t=this.params;e&&e[y]&&(t={},a(t,this.params),t.queryParams=e[y]);let n,i=this.route;return i.deserialize?n=i.deserialize(t,e):i.model&&(n=i.model(t,e)),n&&O(n)&&(n=void 0),r.Promise.resolve(n)}}class P extends T{constructor(e,t,r,n){super(e,t,r),this.context=n,this.serializer=this.router.getSerializer(t)}getModel(e){return void 0!==this.router.log&&this.router.log(this.name+": resolving provided model"),super.getModel(e)}serialize(e){let{paramNames:t,context:r}=this;e||(e=r);let n={};if(p(e))return n[t[0]]=e,n;if(this.serializer)return this.serializer.call(null,e,t);if(void 0!==this.route&&this.route.serialize)return this.route.serialize(e,t);if(1!==t.length)return;let i=t[0];return/_id$/.test(i)?n[i]=e.id:n[i]=e,n}}class A{constructor(e,t={}){this.router=e,this.data=t}}function x(e,t,r){let n=e.routeInfos,i=t.resolveIndex>=n.length?n.length-1:t.resolveIndex,o=t.isAborted;throw new I(r,e.routeInfos[i].route,o,e)}function M(e,t){if(t.resolveIndex===e.routeInfos.length)return;let r=e.routeInfos[t.resolveIndex],n=N.bind(null,e,t);return r.resolve(t).then(n,null,e.promiseLabel("Proceed"))}function N(e,t,r){let n=e.routeInfos[t.resolveIndex].isResolved;if(e.routeInfos[t.resolveIndex++]=r,!n){let{route:e}=r;void 0!==e&&e.redirect&&e.redirect(r.context,t)}return i(t),M(e,t)}class D{constructor(){this.routeInfos=[],this.queryParams={},this.params={}}promiseLabel(e){let t="";return d(this.routeInfos,(function(e){return""!==t&&(t+="."),t+=e.name,!0})),f("'"+t+"': "+e)}resolve(e){let t=this.params;d(this.routeInfos,(e=>(t[e.name]=e.params||{},!0))),e.resolveIndex=0;let n=M.bind(null,this,e),i=x.bind(null,this,e);return r.Promise.resolve(null,this.promiseLabel("Start transition")).then(n,null,this.promiseLabel("Resolve route")).catch(i,this.promiseLabel("Handle error")).then((()=>this))}}e.TransitionState=D;class I{constructor(e,t,r,n){this.error=e,this.route=t,this.wasAborted=r,this.state=n}}e.TransitionError=I;class j extends A{constructor(e,t,r,n=[],i={},o){super(e,o),this.preTransitionState=void 0,this.name=t,this.pivotHandler=r,this.contexts=n,this.queryParams=i}applyToState(e,t){let r=this.router.recognizer.handlersFor(this.name),n=r[r.length-1].handler;return this.applyToHandlers(e,r,n,t,!1)}applyToHandlers(e,t,r,n,i){let o,s,l=new D,u=this.contexts.slice(0),c=t.length;if(this.pivotHandler)for(o=0,s=t.length;o=0;--o){let s=t[o],a=s.handler,p=e.routeInfos[o],d=null;if(d=s.names.length>0?o>=c?this.createParamHandlerInfo(a,s.names,u,p):this.getHandlerInfoForDynamicSegment(a,s.names,u,p,r,o):this.createParamHandlerInfo(a,s.names,u,p),i){d=d.becomeResolved(null,d.context);let e=p&&p.context;s.names.length>0&&void 0!==p.context&&d.context===e&&(d.params=p&&p.params),d.context=e}let h=p;(o>=c||d.shouldSupersede(p))&&(c=Math.min(o,c),h=d),n&&!i&&(h=h.becomeResolved(null,h.context)),l.routeInfos.unshift(h)}if(u.length>0)throw new Error("More context objects were passed than there are dynamic segments for the route: "+r);return n||this.invalidateChildren(l.routeInfos,c),a(l.queryParams,this.queryParams||{}),n&&e.queryParams&&a(l.queryParams,e.queryParams),l}invalidateChildren(e,t){for(let r=t,n=e.length;r0){if(s=r[r.length-1],p(s))return this.createParamHandlerInfo(e,t,r,n);r.pop()}else{if(n&&n.name===e)return n;if(!this.preTransitionState)return n;{let e=this.preTransitionState.routeInfos[o];s=null==e?void 0:e.context}}return new P(this.router,e,t,s)}createParamHandlerInfo(e,t,r,n){let i={},o=t.length,s=[];for(;o--;){let a=n&&e===n.name&&n.params||{},l=r[r.length-1],u=t[o];p(l)?i[u]=""+r.pop():a.hasOwnProperty(u)?i[u]=a[u]:s.push(u)}if(s.length>0)throw new Error(`You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route ${e}. Missing params: ${s}`);return new S(this.router,e,t,i)}}const F=function(){function e(t){let r=Error.call(this,t);this.name="UnrecognizedURLError",this.message=t||"UnrecognizedURL",Error.captureStackTrace?Error.captureStackTrace(this,e):this.stack=r.stack}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}();class L extends A{constructor(e,t,r){super(e,r),this.url=t,this.preTransitionState=void 0}applyToState(e){let t,r,n=new D,i=this.router.recognizer.recognize(this.url);if(!i)throw new F(this.url);let o=!1,s=this.url;function l(e){if(e&&e.inaccessibleByURL)throw new F(s);return e}for(t=0,r=i.length;t=0&&n;--r){let i=t[r],o=i.handler;e.add(t,{as:o}),n="/"===i.path||""===i.path||".index"===o.slice(-6)}}))}hasRoute(e){return this.recognizer.hasRoute(e)}queryParamsTransition(e,t,r,n){if(this.fireQueryParamDidChange(n,e),!t&&this.activeTransition)return this.activeTransition;{let e=new v(this,void 0,void 0);return e.queryParamsOnly=!0,r.queryParams=this.finalizeQueryParamChange(n.routeInfos,n.queryParams,e),e[y]=n.queryParams,this.toReadOnlyInfos(e,n),this.routeWillChange(e),e.promise=e.promise.then((t=>(e.isAborted||(this._updateURL(e,r),this.didTransition(this.currentRouteInfos),this.toInfos(e,n.routeInfos,!0),this.routeDidChange(e)),t)),null,f("Transition complete")),e}}transitionByIntent(e,t){try{return this.getTransitionByIntent(e,t)}catch(t){return new v(this,e,void 0,t,void 0)}}recognize(e){let t=new L(this,e),r=this.generateNewState(t);if(null===r)return r;let n=E(r.routeInfos,r.queryParams,{includeAttributes:!1,localizeMapUpdates:!0});return n[n.length-1]}recognizeAndLoad(e){let t=new L(this,e),n=this.generateNewState(t);if(null===n)return r.Promise.reject(`URL ${e} was not recognized`);let i=new v(this,t,n,void 0);return i.then((()=>{let e=E(n.routeInfos,i[y],{includeAttributes:!0,localizeMapUpdates:!1});return e[e.length-1]}))}generateNewState(e){try{return e.applyToState(this.state,!1)}catch(e){return null}}getTransitionByIntent(e,t){let r,n=!!this.activeTransition,i=n?this.activeTransition[g]:this.state,o=e.applyToState(i,t),s=h(i.queryParams,o.queryParams);if(B(o.routeInfos,i.routeInfos)){if(s){let e=this.queryParamsTransition(s,n,i,o);return e.queryParamsOnly=!0,e}return this.activeTransition||new v(this,void 0,void 0)}if(t){let e=new v(this,void 0,o);return e.isIntermediate=!0,this.toReadOnlyInfos(e,o),this.setupContexts(o,e),this.routeWillChange(e),this.activeTransition}return r=new v(this,e,o,void 0,this.activeTransition),function(e,t){if(e.length!==t.length)return!1;for(let r=0,n=e.length;rthis.finalizeTransition(r,e)),null,f("Settle transition promise when transition is finalized")),n||this.notifyExistingHandlers(o,r),this.fireQueryParamDidChange(o,s),r}doTransition(e,t=[],r=!1){let n,i=t[t.length-1],o={};if(i&&Object.prototype.hasOwnProperty.call(i,"queryParams")&&(o=t.pop().queryParams),void 0===e){c(this,"Updating query params");let{routeInfos:e}=this.state;n=new j(this,e[e.length-1].name,void 0,[],o)}else"/"===e.charAt(0)?(c(this,"Attempting URL transition to "+e),n=new L(this,e)):(c(this,"Attempting transition to "+e),n=new j(this,e,void 0,t,o));return this.transitionByIntent(n,r)}finalizeTransition(e,t){try{c(e.router,e.sequence,"Resolved all models on destination route; finalizing transition.");let n=t.routeInfos;return this.setupContexts(t,e),e.isAborted?(this.state.routeInfos=this.currentRouteInfos,r.Promise.reject(_(e))):(this._updateURL(e,t),e.isActive=!1,this.activeTransition=void 0,this.triggerEvent(this.currentRouteInfos,!0,"didTransition",[]),this.didTransition(this.currentRouteInfos),this.toInfos(e,t.routeInfos,!0),this.routeDidChange(e),c(this,e.sequence,"TRANSITION COMPLETE."),n[n.length-1].route)}catch(t){if("object"!=typeof(n=t)||null===n||"TRANSITION_ABORTED"!==n.code){let r=e[g].routeInfos;e.trigger(!0,"error",t,e,r[r.length-1].route),e.abort()}throw t}var n}setupContexts(e,t){let r,n,i,o=this.partitionRoutes(this.state,e);for(r=0,n=o.exited.length;r=0;--e){let t=n[e];a(o,t.params),t.route.inaccessibleByURL&&(r=null)}if(r){o.queryParams=e._visibleQueryParams||t.queryParams;let n=this.recognizer.generate(i,o),s=e.isCausedByInitialTransition,a="replace"===r&&!e.isCausedByAbortingTransition,l=e.queryParamsOnly&&"replace"===r,u="replace"===r&&e.isCausedByAbortingReplaceTransition;s||a||l||u?this.replaceURL(n):this.updateURL(n)}}finalizeQueryParamChange(e,t,r){for(let e in t)t.hasOwnProperty(e)&&null===t[e]&&delete t[e];let n=[];this.triggerEvent(e,!0,"finalizeQueryParamChange",[t,n,r]),r&&(r._visibleQueryParams={});let i={};for(let e=0,t=n.length;e0){let r=E(t,Object.assign({},this._lastQueryParams),{includeAttributes:!0,localizeMapUpdates:!1});e.from=r[r.length-1]||null}}toInfos(e,t,r=!1){if(void 0!==e&&t.length>0){let n=E(t,Object.assign({},e[y]),{includeAttributes:r,localizeMapUpdates:!1});e.to=n[n.length-1]||null}}notifyExistingHandlers(e,t){let r,n,i,o,s=this.state.routeInfos;for(n=s.length,r=0;r{for(let e=0;e{t===r?g(e,r):m(e,r)}),(t=>b(e,t)))}(e,t):"function"==typeof r?function(e,t,r){i.async((e=>{let n=!1,i=function(e,t,r,n){try{e.call(t,r,n)}catch(e){return e}}(r,t,(r=>{n||(n=!0,t===r?g(e,r):m(e,r))}),(t=>{n||(n=!0,b(e,t))}),e._label);!n&&i&&(n=!0,b(e,i))}),e)}(e,t,r):g(e,t)}function m(e,t){if(e===t)g(e,t);else if(function(e){let t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){let r;try{r=t.then}catch(t){return void b(e,t)}h(e,t,r)}else g(e,t)}function f(e){e._onError&&e._onError(e._result),v(e)}function g(e,t){e._state===c&&(e._result=t,e._state=p,0===e._subscribers.length?i.instrument&&a("fulfilled",e):i.async(v,e))}function b(e,t){e._state===c&&(e._state=d,e._result=t,i.async(f,e))}function y(e,t,r,n){let o=e._subscribers,s=o.length;e._onError=null,o[s]=t,o[s+p]=r,o[s+d]=n,0===s&&e._state&&i.async(v,e)}function v(e){let t=e._subscribers,r=e._state;if(i.instrument&&a(r===p?"fulfilled":"rejected",e),0===t.length)return;let n,o,s=e._result;for(let e=0;e_(o,s,r,l)))}return s}class C{constructor(e,t,r,n){this._instanceConstructor=e,this.promise=new e(u,n),this._abortOnReject=r,this._isUsingOwnPromise=e===R,this._isUsingOwnResolve=e.resolve===l,this._init(...arguments)}_init(e,t){let r=t.length||0;this.length=r,this._remaining=r,this._result=new Array(r),this._enumerate(t)}_enumerate(e){let t=this.length,r=this.promise;for(let n=0;r._state===c&&nt(e))),t,r)}else this._willSettleAt(n.resolve(e),t,r)}_eachEntry(e,t,r){null!==e&&"object"==typeof e?this._settleMaybeThenable(e,t,r):this._setResultAt(p,t,e,r)}_settledAt(e,t,r,n){let i=this.promise;i._state===c&&(this._abortOnReject&&e===d?b(i,r):(this._setResultAt(e,t,r,n),this._checkFullfillment()))}_setResultAt(e,t,r,n){this._remaining--,this._result[t]=r}_willSettleAt(e,t,r){y(e,void 0,(e=>this._settledAt(p,t,e,r)),(e=>this._settledAt(d,t,e,r)))}}function E(e,t,r){this._remaining--,this._result[t]=e===p?{state:"fulfilled",value:r}:{state:"rejected",reason:r}}const w="rsvp_"+Date.now()+"-";let k=0;let T=class e{constructor(t,r){this._id=k++,this._label=r,this._state=void 0,this._result=void 0,this._subscribers=[],i.instrument&&a("created",this),u!==t&&("function"!=typeof t&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof e?function(e,t){let r=!1;try{t((t=>{r||(r=!0,m(e,t))}),(t=>{r||(r=!0,b(e,t))}))}catch(t){b(e,t)}}(this,t):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}_onError(e){i.after((()=>{this._onError&&i.trigger("error",e,this._label)}))}catch(e,t){return this.then(void 0,e,t)}finally(e,t){let r=this,n=r.constructor;return"function"==typeof e?r.then((t=>n.resolve(e()).then((()=>t))),(t=>n.resolve(e()).then((()=>{throw t})))):r.then(e,e)}};T.cast=l,T.all=function(e,t){return Array.isArray(e)?new C(this,e,!0,t).promise:this.reject(new TypeError("Promise.all must be called with an array"),t)},T.race=function(e,t){let r=this,n=new r(u,t);if(!Array.isArray(e))return b(n,new TypeError("Promise.race must be called with an array")),n;for(let t=0;n._state===c&&tm(n,e)),(e=>b(n,e)));return n},T.resolve=l,T.reject=function(e,t){let r=new this(u,t);return b(r,e),r},T.prototype._guidKey=w,T.prototype.then=O;var R=e.Promise=T;function S(e,t){return{then:(r,n)=>e.call(t,r,n)}}function P(e,t){let r=function(){let r=arguments.length,n=new Array(r+1),i=!1;for(let e=0;eA(e,t,r,n)))}(o,n,e,this):A(o,n,e,this)};return r.__proto__=e,r}function A(e,t,r,n){try{r.apply(n,t)}catch(t){b(e,t)}return e}function x(e,t){return R.all(e,t)}class M extends C{constructor(e,t,r){super(e,t,!1,r)}}function N(e,t){return Array.isArray(e)?new M(R,e,t).promise:R.reject(new TypeError("Promise.allSettled must be called with an array"),t)}function D(e,t){return R.race(e,t)}M.prototype._setResultAt=E;class I extends C{constructor(e,t,r=!0,n){super(e,t,r,n)}_init(e,t){this._result={},this._enumerate(t)}_enumerate(e){let t,r,n=Object.keys(e),i=n.length,o=this.promise;this._remaining=i;for(let s=0;o._state===c&&s{throw e})),e}function U(e){let t={resolve:void 0,reject:void 0};return t.promise=new R(((e,r)=>{t.resolve=e,t.reject=r}),e),t}F.prototype._setResultAt=E;class H extends C{constructor(e,t,r,n){super(e,t,!0,n,r)}_init(e,t,r,n,i){let o=t.length||0;this.length=o,this._remaining=o,this._result=new Array(o),this._mapFn=i,this._enumerate(t)}_setResultAt(e,t,r,n){if(n)try{this._eachEntry(this._mapFn(r,t),t,!1)}catch(e){this._settledAt(d,t,e,!1)}else this._remaining--,this._result[t]=r}}function V(e,t,r){return"function"!=typeof t?R.reject(new TypeError("map expects a function as a second argument"),r):R.resolve(e,r).then((function(e){if(!Array.isArray(e))throw new TypeError("map must be called with an array");return new H(R,e,t,r).promise}))}function $(e,t){return R.resolve(e,t)}function z(e,t){return R.reject(e,t)}const q={};class G extends H{_checkFullfillment(){if(0===this._remaining&&null!==this._result){let e=this._result.filter((e=>e!==q));g(this.promise,e),this._result=null}}_setResultAt(e,t,r,n){if(n){this._result[t]=r;let e,n=!0;try{e=this._mapFn(r,t)}catch(e){n=!1,this._settledAt(d,t,e,!1)}n&&this._eachEntry(e,t,!1)}else this._remaining--,r||(this._result[t]=q)}}function W(e,t,r){return"function"!=typeof t?R.reject(new TypeError("filter expects function as a second argument"),r):R.resolve(e,r).then((function(e){if(!Array.isArray(e))throw new TypeError("filter must be called with an array");return new G(R,e,t,r).promise}))}let Y,Q=0;function K(e,t){ne[Q]=e,ne[Q+1]=t,Q+=2,2===Q&&oe()}const J="undefined"!=typeof window?window:void 0,X=J||{},Z=X.MutationObserver||X.WebKitMutationObserver,ee="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),te="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function re(){return()=>setTimeout(ie,1)}const ne=new Array(1e3);function ie(){for(let e=0;ee(ie)}():Z?function(){let e=0,t=new Z(ie),r=document.createTextNode("");return t.observe(r,{characterData:!0}),()=>r.data=e=++e%2}():te?function(){let e=new MessageChannel;return e.port1.onmessage=ie,()=>e.port2.postMessage(0)}():void 0===J&&"function"==typeof t?function(){try{const e=Function("return this")().require("vertx");return Y=e.runOnLoop||e.runOnContext,void 0!==Y?function(){Y(ie)}:re()}catch(e){return re()}}():re(),i.async=K,i.after=e=>setTimeout(e,0);const se=e.cast=$,ae=(e,t)=>i.async(e,t);function le(){i.on(...arguments)}function ue(){i.off(...arguments)}if(e.async=ae,"undefined"!=typeof window&&"object"==typeof window.__PROMISE_INSTRUMENTATION__){let e=window.__PROMISE_INSTRUMENTATION__;o("instrument",!0);for(let t in e)e.hasOwnProperty(t)&&le(t,e[t])}e.default={asap:K,cast:se,Promise:R,EventTarget:n,all:x,allSettled:N,race:D,hash:j,hashSettled:L,rethrow:B,defer:U,denodeify:P,configure:o,on:le,off:ue,resolve:$,reject:z,map:V,async:ae,filter:W}})),"object"==typeof module&&"function"==typeof module.require&&(module.exports=t("ember").default)}(),"undefined"==typeof FastBoot){var preferNative=!0;!function(e){define("fetch",["exports","ember","rsvp"],(function(t,r,n){"use strict";var i="default"in r?r.default:r,o=(("default"in n?n.default:n).Promise,["FormData","FileReader","Blob","URLSearchParams","Symbol","ArrayBuffer"]),s=o;preferNative&&(s=o.concat(["fetch","Headers","Request","Response","AbortController"])),s.forEach((function(r){e[r]&&Object.defineProperty(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}));if(!t.fetch)throw new Error("fetch is not defined - maybe your browser targets are not covering everything you need?");var a=0;function l(e){return a--,e}i.Test?(i.Test.registerWaiter((function(){return 0===a})),t.default=function(){return a++,t.fetch.apply(e,arguments).then((function(e){return e.clone().blob().then(l,l),e}),(function(e){throw l(e),e}))}):t.default=t.fetch,o.forEach((function(e){delete t[e]}))}))}("undefined"!=typeof window&&window||"undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||"undefined"!=typeof global&&global)}loader.makeDefaultExport=!1; +//# sourceMappingURL=vendor.map \ No newline at end of file diff --git a/assets/vendor.90ed48205f732f478c26401c87d461b5.js.br b/assets/vendor.90ed48205f732f478c26401c87d461b5.js.br new file mode 100644 index 00000000..becf34b4 Binary files /dev/null and b/assets/vendor.90ed48205f732f478c26401c87d461b5.js.br differ diff --git a/assets/vendor.90ed48205f732f478c26401c87d461b5.js.gz b/assets/vendor.90ed48205f732f478c26401c87d461b5.js.gz new file mode 100644 index 00000000..b213d5ce Binary files /dev/null and b/assets/vendor.90ed48205f732f478c26401c87d461b5.js.gz differ diff --git a/assets/vendor.css.map b/assets/vendor.css.map new file mode 100644 index 00000000..bc00b79f --- /dev/null +++ b/assets/vendor.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["../../normalize.css/normalize.css","../rewritten-packages/ember-tooltips.a09ad070/node_modules/ember-tooltips/ember-tooltips.css"],"sourcesContent":["/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */\n\n/* Document\n ========================================================================== */\n\n/**\n * 1. Correct the line height in all browsers.\n * 2. Prevent adjustments of font size after orientation changes in iOS.\n */\n\nhtml {\n line-height: 1.15; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n}\n\n/* Sections\n ========================================================================== */\n\n/**\n * Remove the margin in all browsers.\n */\n\nbody {\n margin: 0;\n}\n\n/**\n * Render the `main` element consistently in IE.\n */\n\nmain {\n display: block;\n}\n\n/**\n * Correct the font size and margin on `h1` elements within `section` and\n * `article` contexts in Chrome, Firefox, and Safari.\n */\n\nh1 {\n font-size: 2em;\n margin: 0.67em 0;\n}\n\n/* Grouping content\n ========================================================================== */\n\n/**\n * 1. Add the correct box sizing in Firefox.\n * 2. Show the overflow in Edge and IE.\n */\n\nhr {\n box-sizing: content-box; /* 1 */\n height: 0; /* 1 */\n overflow: visible; /* 2 */\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\npre {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/* Text-level semantics\n ========================================================================== */\n\n/**\n * Remove the gray background on active links in IE 10.\n */\n\na {\n background-color: transparent;\n}\n\n/**\n * 1. Remove the bottom border in Chrome 57-\n * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.\n */\n\nabbr[title] {\n border-bottom: none; /* 1 */\n text-decoration: underline; /* 2 */\n text-decoration: underline dotted; /* 2 */\n}\n\n/**\n * Add the correct font weight in Chrome, Edge, and Safari.\n */\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/**\n * 1. Correct the inheritance and scaling of font size in all browsers.\n * 2. Correct the odd `em` font sizing in all browsers.\n */\n\ncode,\nkbd,\nsamp {\n font-family: monospace, monospace; /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/**\n * Add the correct font size in all browsers.\n */\n\nsmall {\n font-size: 80%;\n}\n\n/**\n * Prevent `sub` and `sup` elements from affecting the line height in\n * all browsers.\n */\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/* Embedded content\n ========================================================================== */\n\n/**\n * Remove the border on images inside links in IE 10.\n */\n\nimg {\n border-style: none;\n}\n\n/* Forms\n ========================================================================== */\n\n/**\n * 1. Change the font styles in all browsers.\n * 2. Remove the margin in Firefox and Safari.\n */\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: 1.15; /* 1 */\n margin: 0; /* 2 */\n}\n\n/**\n * Show the overflow in IE.\n * 1. Show the overflow in Edge.\n */\n\nbutton,\ninput { /* 1 */\n overflow: visible;\n}\n\n/**\n * Remove the inheritance of text transform in Edge, Firefox, and IE.\n * 1. Remove the inheritance of text transform in Firefox.\n */\n\nbutton,\nselect { /* 1 */\n text-transform: none;\n}\n\n/**\n * Correct the inability to style clickable types in iOS and Safari.\n */\n\nbutton,\n[type=\"button\"],\n[type=\"reset\"],\n[type=\"submit\"] {\n -webkit-appearance: button;\n}\n\n/**\n * Remove the inner border and padding in Firefox.\n */\n\nbutton::-moz-focus-inner,\n[type=\"button\"]::-moz-focus-inner,\n[type=\"reset\"]::-moz-focus-inner,\n[type=\"submit\"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n}\n\n/**\n * Restore the focus styles unset by the previous rule.\n */\n\nbutton:-moz-focusring,\n[type=\"button\"]:-moz-focusring,\n[type=\"reset\"]:-moz-focusring,\n[type=\"submit\"]:-moz-focusring {\n outline: 1px dotted ButtonText;\n}\n\n/**\n * Correct the padding in Firefox.\n */\n\nfieldset {\n padding: 0.35em 0.75em 0.625em;\n}\n\n/**\n * 1. Correct the text wrapping in Edge and IE.\n * 2. Correct the color inheritance from `fieldset` elements in IE.\n * 3. Remove the padding so developers are not caught out when they zero out\n * `fieldset` elements in all browsers.\n */\n\nlegend {\n box-sizing: border-box; /* 1 */\n color: inherit; /* 2 */\n display: table; /* 1 */\n max-width: 100%; /* 1 */\n padding: 0; /* 3 */\n white-space: normal; /* 1 */\n}\n\n/**\n * Add the correct vertical alignment in Chrome, Firefox, and Opera.\n */\n\nprogress {\n vertical-align: baseline;\n}\n\n/**\n * Remove the default vertical scrollbar in IE 10+.\n */\n\ntextarea {\n overflow: auto;\n}\n\n/**\n * 1. Add the correct box sizing in IE 10.\n * 2. Remove the padding in IE 10.\n */\n\n[type=\"checkbox\"],\n[type=\"radio\"] {\n box-sizing: border-box; /* 1 */\n padding: 0; /* 2 */\n}\n\n/**\n * Correct the cursor style of increment and decrement buttons in Chrome.\n */\n\n[type=\"number\"]::-webkit-inner-spin-button,\n[type=\"number\"]::-webkit-outer-spin-button {\n height: auto;\n}\n\n/**\n * 1. Correct the odd appearance in Chrome and Safari.\n * 2. Correct the outline style in Safari.\n */\n\n[type=\"search\"] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/**\n * Remove the inner padding in Chrome and Safari on macOS.\n */\n\n[type=\"search\"]::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/**\n * 1. Correct the inability to style clickable types in iOS and Safari.\n * 2. Change font properties to `inherit` in Safari.\n */\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/* Interactive\n ========================================================================== */\n\n/*\n * Add the correct display in Edge, IE 10+, and Firefox.\n */\n\ndetails {\n display: block;\n}\n\n/*\n * Add the correct display in all browsers.\n */\n\nsummary {\n display: list-item;\n}\n\n/* Misc\n ========================================================================== */\n\n/**\n * Add the correct display in IE 10+.\n */\n\ntemplate {\n display: none;\n}\n\n/**\n * Add the correct display in IE 10.\n */\n\n[hidden] {\n display: none;\n}\n",".ember-tooltip-base {\n display: none;\n height: 0;\n width: 0;\n position: absolute;\n}\n\n.ember-tooltip,\n.ember-popover {\n margin-bottom: 10px;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n user-select: none;\n pointer-events: none;\n position: absolute;\n z-index: 2;\n\n font-size: 14px;\n font-family: inherit;\n border-radius: 3px;\n}\n\n.ember-tooltip {\n max-width: 200px;\n padding: 6px 10px;\n color: #fff;\n background: #3a3c47;\n text-shadow: -1px -1px 0 rgba(0,0,0,0.2);\n white-space: normal; /* IE doesnt support initial so fall back to normal */\n white-space: initial;\n}\n\n.ember-popover {\n color: #000;\n background-color: #fff;\n padding: 10px 20px;\n border: 1px solid #ccc;\n}\n\n.ember-popover[aria-hidden=\"false\"] {\n pointer-events: auto;\n cursor: initial;\n -webkit-touch-callout: auto;\n -webkit-user-select: auto;\n user-select: auto;\n}\n\n.ember-tooltip-arrow,\n.ember-popover-arrow {\n width: 0;\n height: 0;\n border-style: solid;\n position: absolute;\n margin: 5px;\n border: 5px solid transparent;\n}\n\n.ember-tooltip, .ember-popover {\n opacity: 0;\n -webkit-transition: opacity ease-out, margin ease-out;\n transition: opacity ease-out, margin ease-out;\n transition-duration: 200ms;\n}\n\n.ember-tooltip.ember-tooltip-effect-none,\n.ember-popover.ember-tooltip-effect-none,\n.ember-tooltip.ember-tooltip-show,\n.ember-popover.ember-tooltip-show {\n opacity: 1;\n}\n\n.ember-tooltip[x-placement^=\"top\"] .ember-tooltip-arrow,\n.ember-popover[x-placement^=\"top\"] .ember-popover-arrow {\n border-bottom-width: 0;\n bottom: -5px;\n left: calc(50% - 5px);\n margin-top: 0;\n margin-bottom: 0;\n}\n\n.ember-tooltip[x-placement^=\"top\"] .ember-tooltip-arrow {\n border-top-color: #3a3c47;\n}\n\n.ember-popover[x-placement^=\"top\"] .ember-popover-arrow {\n border-top-color: #ccc;\n}\n\n.ember-tooltip[x-placement^=\"right\"] .ember-tooltip-arrow,\n.ember-popover[x-placement^=\"right\"] .ember-popover-arrow {\n border-left-width: 0;\n left: -5px;\n top: calc(50% - 5px);\n margin-right: 0;\n margin-left: 0;\n}\n\n.ember-tooltip[x-placement^=\"right\"] .ember-tooltip-arrow {\n border-right-color: #3a3c47;\n}\n\n.ember-popover[x-placement^=\"right\"] .ember-popover-arrow {\n border-right-color: #ccc;\n}\n\n.ember-tooltip[x-placement^=\"bottom\"] .ember-tooltip-arrow,\n.ember-popover[x-placement^=\"bottom\"] .ember-popover-arrow {\n border-top-width: 0;\n top: -5px;\n left: calc(50% - 5px);\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.ember-tooltip[x-placement^=\"bottom\"] .ember-tooltip-arrow {\n border-bottom-color: #3a3c47;\n}\n\n.ember-popover[x-placement^=\"bottom\"] .ember-popover-arrow {\n border-bottom-color: #ccc;\n}\n\n.ember-tooltip[x-placement^=\"left\"] .ember-tooltip-arrow,\n.ember-popover[x-placement^=\"left\"] .ember-popover-arrow {\n border-right-width: 0;\n right: -5px;\n top: calc(50% - 5px);\n margin-left: 0;\n margin-right: 0;\n}\n\n.ember-tooltip[x-placement^=\"left\"] .ember-tooltip-arrow {\n border-left-color: #3a3c47;\n}\n\n.ember-popover[x-placement^=\"left\"] .ember-popover-arrow {\n border-left-color: #ccc;\n}\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC5VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;","file":"vendor.css"} \ No newline at end of file diff --git a/assets/vendor.css.map.br b/assets/vendor.css.map.br new file mode 100644 index 00000000..bf428a69 Binary files /dev/null and b/assets/vendor.css.map.br differ diff --git a/assets/vendor.css.map.gz b/assets/vendor.css.map.gz new file mode 100644 index 00000000..19acf659 Binary files /dev/null and b/assets/vendor.css.map.gz differ diff --git a/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css b/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css new file mode 100644 index 00000000..20fa9a6d --- /dev/null +++ b/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css @@ -0,0 +1,2 @@ +/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */ +html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}details,main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline dotted}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{color:inherit;display:table;max-width:100%;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio],legend{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}.ember-tooltip-base{display:none;height:0;width:0;position:absolute}.ember-popover,.ember-tooltip{margin-bottom:10px;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;pointer-events:none;position:absolute;z-index:2;font-size:14px;font-family:inherit;border-radius:3px}.ember-tooltip{max-width:200px;padding:6px 10px;color:#fff;background:#3a3c47;text-shadow:-1px -1px 0 rgba(0,0,0,.2);white-space:initial}.ember-popover{color:#000;background-color:#fff;padding:10px 20px;border:1px solid #ccc}.ember-popover[aria-hidden=false]{pointer-events:auto;cursor:initial;-webkit-touch-callout:auto;-webkit-user-select:auto;user-select:auto}.ember-popover-arrow,.ember-tooltip-arrow{width:0;height:0;position:absolute;margin:5px;border:5px solid transparent}.ember-popover,.ember-tooltip{opacity:0;-webkit-transition:opacity ease-out,margin ease-out;transition:opacity ease-out,margin ease-out;transition-duration:200ms}.ember-popover.ember-tooltip-effect-none,.ember-popover.ember-tooltip-show,.ember-tooltip.ember-tooltip-effect-none,.ember-tooltip.ember-tooltip-show{opacity:1}.ember-popover[x-placement^=top] .ember-popover-arrow,.ember-tooltip[x-placement^=top] .ember-tooltip-arrow{border-bottom-width:0;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.ember-tooltip[x-placement^=top] .ember-tooltip-arrow{border-top-color:#3a3c47}.ember-popover[x-placement^=top] .ember-popover-arrow{border-top-color:#ccc}.ember-popover[x-placement^=right] .ember-popover-arrow,.ember-tooltip[x-placement^=right] .ember-tooltip-arrow{border-left-width:0;left:-5px;top:calc(50% - 5px);margin-right:0;margin-left:0}.ember-tooltip[x-placement^=right] .ember-tooltip-arrow{border-right-color:#3a3c47}.ember-popover[x-placement^=right] .ember-popover-arrow{border-right-color:#ccc}.ember-popover[x-placement^=bottom] .ember-popover-arrow,.ember-tooltip[x-placement^=bottom] .ember-tooltip-arrow{border-top-width:0;top:-5px;left:calc(50% - 5px);margin-bottom:0;margin-top:0}.ember-tooltip[x-placement^=bottom] .ember-tooltip-arrow{border-bottom-color:#3a3c47}.ember-popover[x-placement^=bottom] .ember-popover-arrow{border-bottom-color:#ccc}.ember-popover[x-placement^=left] .ember-popover-arrow,.ember-tooltip[x-placement^=left] .ember-tooltip-arrow{border-right-width:0;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.ember-tooltip[x-placement^=left] .ember-tooltip-arrow{border-left-color:#3a3c47}.ember-popover[x-placement^=left] .ember-popover-arrow{border-left-color:#ccc} \ No newline at end of file diff --git a/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css.br b/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css.br new file mode 100644 index 00000000..ece27be8 Binary files /dev/null and b/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css.br differ diff --git a/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css.gz b/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css.gz new file mode 100644 index 00000000..d32f99ad Binary files /dev/null and b/assets/vendor.fdd22d3fb8e4abd36fcefa63c2736527.css.gz differ diff --git a/assets/vendor.map b/assets/vendor.map new file mode 100644 index 00000000..d0affa5e --- /dev/null +++ b/assets/vendor.map @@ -0,0 +1 @@ +{"version":3,"names":["loader","define","requireModule","require","requirejs","global","dict","obj","Object","create","undefined","oldGlobals","id","pending","mod","findModule","i","length","exports","module","noConflict","aliases","oldName","newName","hasOwnProperty","makeDefaultExport","registry","uuid","defaultDeps","Module","deps","callback","alias","this","hasExportsAsDep","isAlias","reified","Array","state","noop","Alias","referrer","Error","missingModule","findDeps","push","resolve","child","charAt","parts","split","parentBase","slice","l","part","pop","join","has","prototype","isExtensible","wrapModules","reify","result","apply","unsee","_reify","dep","entry","makeRequire","r","moduleId","arguments","unsupportedModule","isArray","name","defaultExport","target","entries","_eak_seen","clear","self","EmberENV","EXTEND_PROTOTYPES","globalObj","globalThis","window","seen","internalRequire","_name","referrerName","moduleName","Boolean","_exports","defineProperty","value","userAgent","location","isFirefox","isChrome","history","hasDOM","hasDom","Window","constructor","document","navigator","chrome","opera","test","_utils","_debug","_owner","Registry","INIT_FACTORY","Container","getFactoryFor","privatize","fullName","privateNames","type","rawName","intern","privateSuffix","setFactoryFor","options","owner","cache","dictionary","factoryManagerCache","isDestroyed","isDestroying","lookup","container","normalizedName","singleton","isSingleton","cached","factoryManager","factoryFor","instantiate","isInstantiatable","isSingletonInstance","instance","destroy","isFactoryInstance","isSingletonClass","fullname","isFactoryClass","class","instantiateFactory","normalize","destroyDestroyables","finalizeDestroy","resetCache","reset","member","resetMember","ownerInjection","injection","setOwner","getOption","factory","manager","InternalFactoryManager","keys","key","Symbol","madeToString","injections","toString","makeToString","props","VALID_FULL_NAME_REGEXP","fallback","resolver","registrations","_normalizeCache","_resolveCache","_failSet","Set","_options","_typeOptions","register","delete","unregister","_normalizedName","resolved","add","describe","lookupDescription","normalizeFullName","isValidFullName","optionsForType","getOptionsForType","getOptions","optionName","knownForType","fallbackKnown","resolverKnown","localKnown","registeredNames","assign","Math","random","Date","now","replace","_environment","_version","isEnabled","call","since","ENV","_ALL_DEPRECATIONS_ENABLED","DEPRECATIONS","deprecateUntil","message","deprecation","isRemoved","until","url","emberVersionGte","numEmberVersion","parseFloat","_OVERRIDE_DEPRECATION_VERSION","VERSION","emberVersion","significantUntil","DEPRECATE_IMPLICIT_ROUTE_MODEL","for","available","enabled","DEPRECATE_TEMPLATE_ACTION","checkGlobal","context","getENV","getLookup","setLookup","global$1","nodeType","mainContext","Function","Ember","imports","ENABLE_OPTIONAL_FEATURES","LOG_STACKTRACE_ON_DEPRECATION","LOG_VERSION","RAISE_ON_DEPRECATION","STRUCTURED_PROFILE","_APPLICATION_TEMPLATE_WRAPPER","_TEMPLATE_ONLY_GLIMMER_COMPONENTS","_DEBUG_RENDER_TREE","_DEFAULT_ASYNC_OBSERVERS","_NO_IMPLICIT_ROUTE_MODEL","_RERENDER_LOOP_LIMIT","EMBER_LOAD_HOOKS","FEATURES","flag","defaultValue","hookName","hooks","filter","hook","feature","onerror","getDispatchOverride","dispatchOverride","getOnerror","onErrorTarget","setDispatchOverride","handler","setOnerror","_opcodeCompiler","_browserEnvironment","_object","_reference","_validator","_modifier","_metal","_owner2","_manager","_views","_engine","_instance","_instrumentation","_service","_runtime","_runtime2","_util","_string","_destroyable","_deprecations","_runloop","_internals","_container","_environment2","_vm","_program","_rsvp","_node","_globalContext","_internals2","_glimmer","_array","_internals3","_templateFactory","Component","enumerable","get","DOMChanges","DOMTreeConstruction","LinkTo","Input","Helper","NodeDOMTreeConstruction","Textarea","SafeString","RootTemplate","Renderer","OutletView","_resetRenderers","renderers","componentCapabilities","escapeExpression","string","s","isHTMLSafe","toHTML","String","possible","badChars","escapeChar","getTemplate","TEMPLATES","getTemplates","hasTemplate","helper","helper$1","htmlSafe","str","isSerializationFirstNode","modifierCapabilities","renderSettled","renderSettledDeferred","default","defer","_getCurrentRunLoop","_backburner","schedule","NO_OP","promise","setComponentManager","setTemplate","template","setTemplates","templates","setupApplicationRegistry","getOwner","_renderMode","serializeBuilder","bind","rehydrationBuilder","clientBuilder","setupEngineRegistry","OutletTemplate","templateFactory","templateCacheCounters","uniqueId","uniqueId$1","createTemplateFactory","block","isStrictMode","InputTemplate","scope","on","NOOP$2","InternalComponent","args","caller","guidFor","validateArguments","named","isSupportedArgument","onUnsupportedArgument","ref","valueForRef","positional","index","listenerFor","listener","OPAQUE_CONSTRUCTOR_MAP","WeakMap","opaquify","opaque","assert","set","setInternalComponentManager","INTERNAL_COMPONENT_MANAGER","setComponentTemplate","CAPABILITIES$2","dynamicLayout","dynamicTag","prepareArgs","createArgs","attributeHook","elementHook","createCaller","dynamicScope","updateHook","createInstance","wrapped","willDestroy","hasSubOwner","getCapabilities","definition","_env","_dynamicScope","capture","untrack","didCreate","didUpdate","didRenderLayout","didUpdateLayout","getDebugName","getSelf","createConstRef","getDestroyable","__decorate$3","decorators","desc","d","c","getOwnPropertyDescriptor","Reflect","decorate","UNINITIALIZED","freeze","valueForEvent","event","elementForEvent","valueFrom","reference","LocalValue","isConstRef","isUpdatableRef","UpstreamValue","ForkedValue","tracked","updateRef","lastUpstreamValue","upstream","upstreamValue","local","AbstractInput","super","_value","valueDidChange","change","input","keyUp","isVirtualEventListener","_listener","indexOf","action","__decorate$2","isValidInputType","INPUT_TYPES","INPUT_ELEMENT","createElement","isValid","e","_Input","_checked","isCheckbox","checked","checkedDidChange","element","LinkToTemplate","__decorate$1","EMPTY_ARRAY","EMPTY_QUERY_PARAMS","isMissing","isPresent","isQueryParams","debugFreeze","_LinkTo","currentRouteCache","createCache","consumeTag","tagFor","routing","currentRouteName","classes","isActive","classFor","willBeActive","isLoading","isDisabled","href","route","models","query","generateURL","click","isSimpleClick","currentTarget","preventDefault","payload","routeName","queryParams","transition","flaggedInstrument","transitionTo","namespaceRoute","currentRoute","getValue","isActiveForState","currentState","current","targetState","some","model","isEngine","getEngineParent","engineMountPoint","mountPoint","className","currentWhen","isActiveForRoute","service","descriptorFor","property","getPrototypeOf","superOnUnsupportedArgument","configurable","superModelsDescriptor","superModelsGetter","superQueryDescriptor","superQueryGetter","qp","values","TextareaTemplate","__decorate","_Textarea","isTemplateFactory","referenceForParts","rootRef","shift","childRefFor","childRefFromParts","parseAttributeBinding","microsyntax","colonIndex","prop","substring","attribute","installAttributeBinding","component","parsed","operations","isSimple","elementId","elementIdRef","createPrimitiveRef","setAttribute","isPath","createClassNameBindingRef","truthy","falsy","createSimpleClassNameBindingRef","inner","createComputeRef","createColonClassNameBindingRef","path","dasherizedPath","dasherize","NOOP$1","ComponentStateBucket","argsTag","finalizer","hasWrappedElement","isInteractive","classRef","argsRevision","valueForTag","registerDestructor","beginUntrackFrame","trigger","endUntrackFrame","getViewElement","clearElementView","clearViewElement","renderer","finalize","internalHelper","setInternalHelperManager","ACTIONS","WeakSet","fn","restArgs","debugKey","debugLabel","processArgs","valuePathRef","actionArgsRef","mergeArgs","readValue","map","concat","valuePath","NOOP","makeArgsProcessor","isInvokableRef","makeClosureAction","invokeRef","targetRef","actionRef","makeDynamicClosureAction","createUnboundRef","actions","label","processComponentArgs","namedArgs","attrs","ARGS","isAction","MutableCell","REF","MUTABLE_CELL","update","val","enumerableSymbol","HAS_BLOCK","DIRTY_TAG","IS_DISPATCHING_ATTRS","BOUNDS","EMBER_VIEW_REF","CurlyComponentManager","templateFor","layout","layoutName","_factory","unwrapTemplate","asWrappedLayout","getDynamicLayout","bucket","getTagName","tagName","CURLY_CAPABILITIES","ComponentClass","__ARGS__","rest","__args__","positionalParams","captured","reifyPositional","count","min","at","callerSelfRef","hasBlock","parentView","view","capturedArgs","beginTrackFrame","endTrackFrame","aliasIdToElementId","_target","_instrumentStart","initialRenderInstrumentDetails","addChildView","_transitionTo","didCreateElement","setViewElement","setElementView","attributeBindings","classNames","classNameBindings","applyAttributeBindings","forEach","binding","bounds","rerenderInstrumentDetails","validateTag","setProperties","instrumentDetails","initialRender","CURLY_COMPONENT_MANAGER","isCurlyManager","lazyEventsProcessed","CoreView","extend","ChildViewsSupport","ViewStateSupport","ClassNamesSupport","TargetActionSupport","ActionSupport","ViewMixin","didReceiveAttrs","didRender","didUpdateAttrs","willRender","willUpdate","isComponent","init","properties","_superRerender","rerender","_rerender","createTag","eventDispatcher","_dispatcher","lazyEventsProcessedForComponentClass","proto","lazyEvents","mappedEventName","setupHandlerForBrowserEvent","__dispatcher","dispatcher","method","setupHandlerForEmberEvent","dirtyTag","PROPERTY_DID_CHANGE","getAttr","readDOMAttr","_element","isSVG","namespaceURI","normalized","normalizeProperty","getAttribute","_a","isComponentFactory","reopenClass","RECOMPUTE_TAG","IS_CLASSIC_HELPER","FrameworkObject","recompute","isHelperFactory","ClassicHelperManager","capabilities","helperCapabilities","hasValue","hasDestroyable","createHelper","ret","compute","setHelperManager","CLASSIC_HELPER_MANAGER","getInternalHelperManager","Wrapper","SIMPLE_CLASSIC_HELPER_MANAGER","helperFn","__string","escape","chr","instrumentationPayload$1","def","object","CAPABILITIES$1","OutletComponentManager","_args","env","parentStateRef","currentStateRef","controller","debugRenderTree","outletBucket","parentState","parentOwner","render","currentOwner","engine","engineBucket","getDebugCustomRenderTree","nodes","EMPTY_ARGS","OUTLET_MANAGER","OutletComponentDefinition","handle","capabilityFlagsFrom","compilable","asLayout","resolvedName","RootComponentManager","_state","CONSTANT_TAG","ROOT_CAPABILITIES","RootComponentDefinition","EachInWrapper","eachIn","iterable","tagForObject","isProxy","_contentFor","BoundedIterator","position","isEmpty","memoFor","next","valueFor","memo","ArrayIterator","from","fromForEachable","array","item","EmberArrayIterator","objectAt","ObjectIterator","fromIndexable","isTracking","isMapLike","NativeIterator","iterator","done","ArrayLikeNativeIterator","_result","MapLikeNativeIterator","hasForEach","isNativeIterable","DEFAULT_HELPER_MANAGER","scheduleRevalidate","ensureInstance","toBool","predicate","tagForProperty","toIterator","isEmberArray","toEachInIterator","isObject","toEachIterator","getProp","_getProp","setProp","_setProp","getPath","setPath","scheduleDestroy","destroyable","destructor","scheduleDestroyed","finalizeDestructor","warnIfStyleNotTrusted","msg","deprecate","EmberEnvironmentDelegate","enableDebugTooling","onTransactionCommit","disallowDynamicResolution","nameOrValueRef","typeRef","locRef","originalRef","nameOrValue","arg","inElementNullCheckHelper","normalizeClassHelper","classNameArg","valueArg","classNameParts","fullNameRef","trackArray","mut","createInvokableRef","readonly","firstArg","createReadOnlyRef","unbound","a","MODIFIERS","POINTER_EVENT_TYPE_REGEX","ActionHelper","registeredActions","ActionManager","registerAction","actionState","actionId","unregisterAction","ActionState","actionArgs","positionalArgs","tag","createUpdatableTag","eventName","getEventName","getActionArgs","getTarget","implicitTarget","actionName","bubbles","allowedKeys","bubblesVal","preventDefaultVal","allowedKeysVal","shouldBubble","isAllowedEvent","stopPropagation","send","ACTION_MODIFIER_MANAGER","getDebugInstance","install","actionNameRef","ensureEventSetup","getTag","actionModifier","setInternalModifierManager","CAPABILITIES","MOUNT_MANAGER","buildChildEngineInstance","boot","modelRef","controllerFactory","generateControllerFactory","associateDestroyableChild","templateModuleName","MountDefinition","mountHelper","lastName","lastDef","nameRef","createCapturedArgs","EMPTY_POSITIONAL","curry","CurriedType","outletHelper","outletRef","outlets","main","lastState","outletState","outlet","stateFor","validate","instrumentationPayload","BUILTIN_KEYWORD_HELPERS","hash","BUILTIN_HELPERS","BUILTIN_KEYWORD_MODIFIERS","BUILTIN_MODIFIERS","ResolverImpl","componentDefinitionCache","Map","lookupPartial","lookupHelper","lookupBuiltInHelper","lookupModifier","builtin","modifier","lookupBuiltInModifier","lookupComponent","pair","componentFor","isFactory","getComponentTemplate","templateFullName","layoutFor","lookupComponentPair","cachedComponentDefinition","templateOnlyComponent","TEMPLATE_ONLY_COMPONENT_MANAGER","getInternalComponentManager","TOP_LEVEL_NAME","environment","application","namespace","outletStateTag","into","appendTo","selector","querySelector","setOutletState","DynamicScope","RootState","root","runtime","parentElement","builder","getViewId","destroyed","renderMain","nextSibling","sync","alwaysRevalidate","isFor","possibleRoot","inTransaction","deregister","splice","loops","_scheduleRevalidate","_isValid","resolveRenderPromise","_viewRegistry","rootTemplate","viewRegistry","_inRenderTransaction","_lastRevision","_destroyed","_rootTemplate","_roots","_removedRoots","_builder","_isInteractive","_runtimeResolver","sharedArtifacts","artifacts","_context","programCompilationContext","heap","RuntimeOpImpl","runtimeEnvironmentDelegate","runtimeContext","appendOperations","updateOperations","appendOutletView","outletView","WRAPPED_CAPABILITIES","WRAPPED_OUTLET_MANAGER","createRootOutlet","_appendDefinition","UNDEFINED_REFERENCE","rootState","_renderRoot","remove","cleanupRootFor","roots","_clearAllRoots","getElement","getBounds","firstNode","lastNode","getAppendOperations","_renderRootsTransaction","_renderRoots","initialRootsLength","removedRoots","CURRENT_TAG","rootIndex","completedWithoutError","scheduleOnce","_revalidate","_meta","Meta","UNDEFINED","counters","meta","peekMeta","setMeta","objectPrototype","symbol","ListenerKind","currentListenerVersion","_listenersVersion","_inheritedEnd","_flattenedVersion","_parent","_descriptors","_mixins","_lazyChains","_values","_revisions","_isInit","source","_listeners","parent","setInitializing","unsetInitializing","isInitializing","isPrototypeMeta","_getOrCreateOwnMap","_getOrCreateOwnSet","_findInheritedMap","subkey","pointer","_hasInInheritedSet","setValueFor","revisionFor","revisions","setRevisionFor","revision","writableLazyChainsFor","lazyChains","chains","readableLazyChainsFor","addMixin","mixin","hasMixin","forEachMixins","writeDescriptors","peekDescriptors","possibleDesc","removeDescriptors","forEachDescriptors","addToListeners","once","pushListener","ONCE","ADD","removeFromListeners","REMOVE","kind","listeners","writableListeners","indexOfListener","flattenedListeners","parentListeners","unshift","matchingListeners","observerEvents","metaStore","maybeMeta","newMeta","_meta2","addListener","removeListener","targetOrFunction","functionOrName","sendEvent","params","TrackedDescriptor","SYNC_OBSERVERS","PROXY_CONTENT","NAMESPACES_BY_ID","NAMESPACES","Libraries","DEBUG_INJECTION_FUNCTIONS","ComputedProperty","ComputedDescriptor","ASYNC_OBSERVERS","_getPath","activateObserver","addArrayObserver","opts","arrayObserversHelper","addNamespace","flags","unprocessedNamespaces","addObserver","altKey","makeComputedDecorator","AliasedProperty","AliasDecoratorImpl","arrayContentDidChange","arrayContentWillChange","autoComputed","config","AutoComputedProperty","ComputedDecoratorImpl","beginPropertyChanges","changeProperties","computed","defineDecorator","defineValue","deprecateProperty","deprecatedKey","newKey","descriptorForDecorator","descriptorForProperty","eachProxyArrayDidChange","idx","removedCnt","addedCnt","eachProxy","EACH_PROXIES","arrayDidChange","eachProxyArrayWillChange","arrayWillChange","endPropertyChanges","expandProperties","findNamespace","searchDisabled","processAllNamespaces","findNamespaces","flushAsyncObservers","shouldSchedule","currentRevision","lastKnownRevision","activeObservers","observer","lastRevision","sendObserver","getChainTagsForKey","tagMetaFor","getCachedValueFor","getProperties","propertyNames","hasListeners","matched","hasUnknownProperty","inject","elementDescriptor","isElementDescriptor","getInjection","propertyName","decorator","keyName","isClassicDecorator","isComputed","isConst","isNamespaceSearchDisabled","libraries","markObjectAsDirty","nativeDescDecorator","propertyDesc","setClassicDecorator","notifyPropertyChange","func","events","setListeners","processNamespace","removeArrayObserver","removeNamespace","getName","removeObserver","SYNC_DEFAULT","changeEvent","deactivateObserver","start","deleteCount","items","replaceInNativeArray","revalidateObservers","setNamespaceSearchDisabled","setUnprocessedMixins","unprocessedMixins","SELF_TAG","trySet","AFTER_OBSERVERS","getOrCreateActiveObserversFor","observerMap","size","destroyObservers","lastIndexOf","suspended","DEACTIVATE_SUSPENDED","SCHEDULED_DEACTIVATE","flushSyncObservers","setObserverSuspended","propertyKey","addMandatorySetter","customTagFor","getCustomTagFor","dirtyTagFor","deferred","resumeObserverDeactivation","startIdx","removeAmt","addAmt","notify","removedAmount","previousLength","normalStartIdx","CHUNK_SIZE","chunk","operation","willChange","didChange","CHAIN_PASS_THROUGH","finishLazyChains","lazyTags","updateTag","getChainTagsForKeys","tagMeta","tags","getChainTags","combine","chainTags","meta$1","segment","descriptor","currentTagMeta","currentMeta","pathLength","segmentEnd","lastSegmentEnd","arrLength","propertyTag","unknownProperty","instanceMeta","placeholderTag","maybeTarget","maybeKey","maybeDesc","_dependentKeys","setup","_obj","_propertyDesc","teardown","DESCRIPTOR_GETTER_FUNCTION","getter","DESCRIPTOR_SETTER_FUNCTION","COMPUTED_SETTERS","DecoratorClass","setPrototypeOf","DECORATOR_DESCRIPTOR_MAP","dec","END_WITH_EACH_REGEX","pattern","dive","prefix","newStart","arrayLength","end","tempArr","after","_readOnly","_hasConfig","_getter","_setter","maybeConfig","objectConfig","_property","_key","passedArgs","addArg","_throwReadOnlyError","_set","inspect","hadCachedValue","cachedValue","track","readOnly","data","previousDesc","wasDescriptor","writable","firstDotIndexCache","Cache","forSet","fakeProxy","tolerant","newRoot","_setPath","currentValue","lookupDescriptor","setUnknownProperty","setProxy","oneWay","_keyName","AliasedProperty_readOnlySet","AliasedProperty_oneWaySet","_registry","_coreLibIndex","_getLibraryByName","libs","lib","version","isCoreLibrary","registerCoreLibrary","deRegister","initializer","_desc","descriptorForField","setter","trackedData","newValue","newDesc","isTracked","_get","caches","_unprocessedNamespaces","v","code","charCodeAt","tryIsNamespace","setName","_processNamespace","namespaces","paths","isNamespace","DSL","controllerFor","generateController","_registry_proxy","_container_proxy","_comparable","_action_handler","_proxy","_mutable","_target_action_support","contentFor","onerrorDefault","RSVP","_errorHandling","reason","error","withErrorThrown","errorThrown","unwrapErrorThrown","withName","errorFor","overrideDispatch","configure","cb","_rsvpErrorQueue","_mixin","proxy","content","customTagForProxy","ProxyMixin","_super","setCustomTagFor","isTruthy","m","ActionHandler","mergedProperties","Comparable","compare","ContainerProxyMixin","__container__","RegistryProxyMixin","__registry__","resolveRegistration","registryAlias","hasRegistration","registeredOption","registerOptions","registeredOptions","registerOptionsForType","registeredOptionsForType","actionContext","actionContextObject","triggerAction","classify","CLASSIFY_CACHE","STRING_DASHERIZE_CACHE","STRING_DASHERIZE_REGEXP","decamelize","DECAMELIZE_CACHE","STRING_CLASSIFY_REGEXP_1","STRING_CLASSIFY_REGEXP_2","STRING_CLASSIFY_REGEXP_3","replace1","_match","_separator","toUpperCase","replace2","initialChar","match","STRING_DECAMELIZE_REGEXP","toLowerCase","Opaque","ROOT","GUID_KEY","canInvoke","methodName","checkHasSuper","debugName","floor","generateGuid","GUID_PREFIX","guid","OBJECT_GUIDS","NAMES","NON_OBJECT_GUIDS","isInternalSymbol","possibleSymbol","GENERATED_SYMBOLS","PROXIES","observerListenerMetaFor","OBSERVERS_LISTENERS_MAP","createObserverListenerMetaFor","setObservers","observers","teardownMandatorySetter","setupMandatorySetter","setWithMandatorySetter","k","isNone","objectToString","wrap","superFunc","hasSuper","IS_WRAPPED_FUNCTION_SET","_wrap","_uuid","HAS_SUPER_PATTERN","fnToString","HAS_SUPER_MAP","ObserverListenerMeta","superWrapper","orig","limit","store","misses","hits","purge","_event_dispatcher","_component_lookup","_core_view","_class_names_support","_child_views_support","_view_state_support","_view_support","_action_support","_attrs","_action_manager","constructStyleDeprecationMessage","getChildViews","getElementView","getRootViews","getViewBoundingClientRect","getViewBounds","getViewClientRects","childViews","appendChild","concatenatedProperties","priorState","_currentState","_states","exit","enter","_utils2","K","nearestOfType","klass","isOfType","detect","nearestWithProperty","append","body","willInsertElement","didInsertElement","willClearRender","willDestroyElement","didDestroyElement","parentViewDidChange","handleEvent","evt","ROOT_ELEMENT_CLASS","EventDispatcher","touchstart","touchmove","touchend","touchcancel","keydown","keyup","keypress","mousedown","mouseup","contextmenu","dblclick","focusin","focusout","submit","dragstart","drag","dragenter","dragleave","dragover","drop","dragend","rootElement","_eventHandlers","_didSetup","finalEventNameMapping","_sanitizedRootElement","_reverseEventNameMapping","addedEvents","_rootElement","reduce","specifiedRootElement","classList","setupHandler","viewHandler","actionHandler","attr","attributes","cancelBubble","hasAttribute","parentNode","Element","addEventListener","removeEventListener","CHILD_VIEW_IDS","initChildViews","ELEMENT_VIEW","VIEW_ELEMENT","collectChildViews","affectedStyle","contains","b","elMatches","rootViews","getViewRange","getBoundingClientRect","getClientRects","MouseEvent","shiftKey","metaKey","ctrlKey","secondaryClick","which","matches","el","views","range","createRange","setStartBefore","setEndAfter","_evented","isView","_superTrigger","_trigger","_superHas","_has","preRender","_debugContainerKey","isViewFactory","DEFAULT","PRE_RENDER","HAS_ELEMENT","IN_DOM","DESTROYING","states","inDOM","hasElement","destroying","_lazy_load","_route","_router","_hashLocation","_historyLocation","_noneLocation","_routerService","_loaded","onLoad","runLoadHooks","Application","_bootPromise","_bootResolver","buildRegistry","BucketCache","commonSetupRegistry","_document","customEvents","autoboot","_globalsMode","_readinessDeferrals","_booted","_applicationInstances","_prepareForGlobalsMode","waitForDOMReady","buildInstance","base","_watchInstance","_unwatchInstance","Router","_buildDeprecatedInstance","__deprecatedInstance__","readyState","domReady","run","_bootSync","deferReadiness","advanceReadiness","didBecomeReady","_","runInitializers","reject","ready","startRouting","visit","then","catch","buildInitializerMethod","instanceInitializer","ApplicationInstance","_BootOptions","setupRegistry","router","runInstanceInitializers","setupEventDispatcher","didCreateRootView","setupRouter","handleURL","applicationCustomEvents","instanceCustomEvents","getURL","bootOptions","handleTransitionResolve","shouldRender","handleTransitionReject","_routerMicrolib","activeTransition","setURL","coptions","toEnvironment","isBrowser","loaded","loadHooks","CustomEvent","detail","dispatchEvent","Namespace","existing_name","nameClasses","processAll","byName","EMBER_ARRAYS","setEmberArray","_enumerable","_observable","_makeArray","NativeArray","MutableArray","A","removeAt","uniqBy","identityFunction","keyOrFunc","iter","valueProvided","findIndex","startAt","len","find","any","every","withNaNCheck","insertAt","setInterval","EmberArray","typeOf","nonEnumerableComputed","mapBy","objectsAt","indexes","firstObject","lastObject","beginIndex","endIndex","validatedEndIndex","getEach","setEach","x","filterBy","rejectBy","findBy","isEvery","isAny","initialValue","invoke","toArray","compact","includes","sortBy","sortKeys","sort","propA","propB","compareValue","uniq","without","pushObject","pushObjects","objects","popObject","shiftObject","unshiftObject","unshiftObjects","reverseObjects","reverse","setObjects","removeObject","loc","removeObjects","addObject","addObjects","ignore","arr","ARRAY_OBSERVER_MAPPING","customTagForArrayProxy","_arrTag","_lengthTag","ArrayProxy","_objectsDirtyIndex","_objects","_lengthDirty","_length","_arrangedContent","_arrangedContentIsUpdating","_arrangedContentTag","_arrangedContentRevision","_removeArrangedContentArrayObserver","objectAtContent","arrangedContent","amt","replaceContent","added","removedCount","_invalidate","_updateArrangedContentArray","oldLength","newLength","_addArrangedContentArrayObserver","_arrangedContentArrayWillChange","_arrangedContentArrayDidChange","dirtyIndex","arrangedContentTag","reopen","DEFAULT_FEATURES","templateOnly","ControllerMixin","MODEL","isController","_qpDelegate","_qpChanged","_prop","dotIndex","delegate","Controller","_namespace","ContainerDebugAdapter","canCatalogEntriesByType","catalogEntriesByType","types","typeSuffixRegex","RegExp","iterate","RecordsWatcher","getCacheForItem","record","recordCache","recordCaches","hasBeenAdded","updated","wrapRecord","records","recordsAdded","recordsUpdated","recordsRemoved","release","removed","recordArrayCache","_cache","revalidate","TypeWatcher","onChange","hasBeenAccessed","DataAdapter","releaseMethods","recordsWatchers","typeWatchers","flushWatchers","attributeLimit","acceptsModelName","containerDebugAdapter","getFilters","watchModelTypes","typesAdded","typesUpdated","typesToSend","modelTypes","getModelTypes","wrapModelType","observeModelType","_nameToClass","Factory","watchRecords","modelName","getRecords","recordsWatcher","updateFlushWatchers","watcher","off","_klass","columnsForType","typeWatcher","columns","_getObjectsOnNamespaces","columnValues","getRecordColumnValues","searchKeywords","getRecordKeywords","filterValues","getRecordFilterValues","color","getRecordColor","_record","_deprecate2","_testing","_warn2","_inspect","_captureRenderTree","_warnIfUsingStrippedFeatureFlags","info","getDebugFunction","deprecateFunc","debugSeal","debug","isTesting","registerHandler","setDebugFunction","runInDebug","setTesting","warn","app","expect","_index","_handlers","missingOptionsIdDeprecation","missingOptionsDeprecation","missingOptionDeprecation","HANDLERS","_type","_callback","inspectValue","functionToString","objectKeys","stringify","JSON","LIST_LIMIT","DEPTH_LIMIT","SAFE_KEY","depth","valueIsArray","inspectArray","inspectKey","inspectObject","testing","ASSIGN","assertDestroyablesDestroyed","enableDestroyableTracking","unregisterDestructor","_engineParent","_controller","_dagMap","_containerDebugAdapter","setEngineParent","Engine","_initializersRan","resolverFor","RoutingService","ComponentLookup","ensureInitializers","_runInitializer","initialize","bucketName","initializersByName","initializers","graph","before","topsort","Resolver","humanName","superclass","instanceInitializers","EngineInstance","Promise","cloneParentDependencies","ChildEngine","engineInstance","registration","singletons","ENGINE_PARENT","Enumerable","MutableEnumerable","invokeHelper","_payload","instrument","p1","p2","p3","subscribers","exception","withFinalizer","subscribe","regexes","regex","subscriber","unsubscribe","time","perf","performance","mozNow","webkitNow","msNow","oNow","payloadFunc","payloadArg","populateListeners","timeName","console","beforeValues","timestamp","constListeners","timeEnd","setModifierManager","dependentKeyCompat","wrapGetterSetter","originalGet","_computed_macros","_reduce_computed_macros","and","bool","collect","deprecatingAlias","empty","equal","gt","gte","intersect","lt","lte","max","none","not","notEmpty","or","setDiff","sum","union","wasApplied","prototypeMixinMap","destroyCalled","ensureDestroyCalled","keyNames","isDescriptor","baseValue","makeArray","CoreObject","OWNER","applyMixin","_properties","extension","toStringExtension","mixins","Class","PrototypeMixin","flattenProps","willReopen","p","detectInstance","metaForProperty","eachComputedProperty","prototypeMixin","ownerConstructor","initProperties","j","isClass","isMethod","Evented","one","_core","dependentKeys","funcOrDef","dependentKey","EmberObject","BINDINGS_MAP","setupAction","actionFn","parentActions","bindings","cacheFor","generateComputedWithPredicate","additionalDependentKeys","predicateName","expandedProperties","extractProperty","expandPropertiesToArray","lastIdx","regexp","isNativeOrEmberArray","reduceMacro","arrayMacro","multiArrayMacro","additionalDependentKeysOrCallback","cCallback","res","arrays","firstArray","results","candidate","found","Infinity","setAProperty","setBProperty","setA","setB","itemsKey","additionalDependentKeysOrDefinition","sortDefinition","sortDefinitionOrString","comparator","y","customSort","sortPropertiesKey","cp","sortProperties","itemsKeyIsAtThis","normalizedSortProperties","direction","normalizeSortProperties","itemA","itemB","sortByNormalizedSortProperties","propertySort","list","_events","a_concat","concatenatedMixinProperties","concatProp","concats","giveDecoratorSuper","descs","originalGetter","superDesc","superProperty","superGetter","originalSetter","superSetter","newProperty","giveMethodSuper","superMethod","simpleMakeArray","applyConcatenatedProperties","applyMergedProperties","newBase","hasFunction","propValue","mergeMixins","keysWithSuper","currentMixin","MIXINS","mergeProps","Mixin","_without","mergings","propKeys","prev","updateObserversAndListeners","isFunction","updateObserver","updateListener","_hideKeys","extractAccessors","buildMixinsArray","applyPartial","_detect","_keys","curMixin","targetMixin","Observable","hasObserverFor","incrementProperty","increment","decrementProperty","decrement","toggleProperty","PromiseProxyMixin","isPending","isSettled","isRejected","isFulfilled","tap","promiseAlias","finally","ObjectProxy","_ProxyMixin","_router_state","_routingService","_generate_controller","_dsl","_controller_for","prefixRouteNameArg","_locationUtils","HashLocation","lastSetURL","_location","_hashchangeHandler","getHash","originalPath","outPath","replaceURL","onUpdateURL","_removeEventListener","_event","formatURL","popstateFired","HistoryLocation","rootURL","baseURL","_popstateHandler","initState","_previousURL","replaceState","pathname","search","pushState","bucketKey","stash","controllerName","lookupOptions","isCallback","DSLImpl","explicitIndex","enableLoadingSubstates","dummyErrorRoute","createRoute","resetNamespace","getFullName","dsl","generate","serialize","engineInfo","localFullName","routeInfo","serializeMethod","addRouteForEngine","dslMatches","to","mount","engineRouteMap","resolveRouteMap","as","instanceId","shouldResetEngineInfo","oldEngineInfo","optionsForChild","childDSL","substateName","canNest","getQuery","getOrigin","origin","protocol","hostname","port","getFullPath","replacePath","emberRouter","routerJsState","isActiveIntent","visibleQueryParams","_prepareQueryParams","shallowEqual","_computed","_router2","ROUTER","hasRoute","shouldReplace","_doTransition","normalizeQueryParams","_generateURL","_initialTransitionStarted","_e","contexts","routerState","handlers","recognizer","handlersFor","leafName","maximumContexts","handlerName","handlerInfos","req","names","numberOfContextsAcceptedByHandler","currentPath","_router_js","calculateCacheKey","suffixes","cacheValuePrefix","_calculateCacheValuePrefix","partRemovedPrefix","ALL_PERIODS_REGEX","extractRouteArgs","possibleOptions","qps","isRouteOptions","getActiveTargetName","routeInfos","STATE_SYMBOL","lastRouteInfo","normalizeControllerQueryParams","qpMap","queryParam","accumulateQueryParamDescriptors","routable","resemblesURL","aCount","bCount","kA","kB","stashParamNames","dynamicParent","targetRouteName","recogHandlers","_stashNames","prefixParts","currPrefix","currPart","accum","_singleDesc","singleDesc","NoneLocation","updateCallback","_controller2","_compat","_utils3","defaultSerialize","getFullQueryParams","getRenderState","RENDER_STATE","hasDefaultSerialize","RENDER","Route","bucketCache","_bucketCache","_topLevelViewTemplate","_setRouteName","fullRouteName","getEngineRouteName","_names","namePaths","_activeQPChanged","scopedPropertyName","_updatingQPChanged","urlKey","paramsFor","getQueryParamsFor","serializeQueryParamKey","controllerPropertyName","serializeQueryParam","_urlKey","defaultValueType","_serializeQueryParam","deserializeQueryParam","_deserializeQueryParam","_optionsForQueryParam","resetController","_isExiting","_transition","deactivate","teardownViews","_internalReset","isExiting","inactive","activate","intermediateTransitionTo","preparedArgs","refresh","propNames","addQueryParamsObservers","allowOverrides","PARAMS_SYMBOL","aQp","cacheKey","undecoratedDefaultValue","qpValues","setupController","beforeModel","afterModel","_resolvedModel","redirect","_model","contextDidChange","currentModel","sawParams","resolveIndex","findModel","deserialize","_params","_paramsFor","_skipAssert","modelFor","modelLookupName","resolvedModels","templateName","buildRenderState","buildRouteInfoMetadata","_store","modelClass","_qp","combinedQueryParameterConfiguration","queryParameterConfiguraton","hasRouterDefinedQueryParams","controllerDefinedQueryParameterConfiguration","controllerQP","routeQP","keysAlreadyMergedOrSkippable","cqpName","rqpName","mergeEachQueryParams","propName","copyDefaultValue","defaultValueSerialized","serializedDefaultValue","serializedValue","active","fullQueryParams","haveAllRouteInfosResolved","fullQueryParamsState","_deserializeQueryParams","queryParamsFor","existing","qpValueWasPassedIn","isRouteFactory","queryParamsDidChange","changed","_totalPresent","totalChanged","finalizeQueryParamChange","finalParams","replaceUrl","qpMeta","_queryParamsFor","changes","_qpUpdates","qpUpdated","svalue","presentKey","queryParamsOnly","replaceConfigValue","visible","routeQpMeta","cleanURL","RouterService","_doURLTransition","replaceWith","urlFor","routerMicrolib","currentQueryParams","recognize","internalURL","recognizeAndLoad","pivotRouteName","pivotRoute","defaultDidTransition","infos","updatePaths","_cancelSlowTransitionTimer","defaultWillTransition","oldInfos","newInfos","triggerEvent","EmberRouter","dslCallbacks","_routePath","nameParts","oldNameParts","intersectionMatches","a1","a2","_didSetupRouter","currentURL","_qpCache","_queuedQPChanges","_toplevelView","_handledErrors","_engineInstances","_engineInfoByRoute","_slowTransitionTimer","_resetQueuedQueryParameterChanges","routerService","_initRouterJs","PrivateRouter","getRoute","routeOwner","_getEngineInstance","DefaultRoute","getSerializer","updateURL","didTransition","willTransition","ignoreFailure","routeWillChange","isIntermediate","routeDidChange","transitionDidError","wasAborted","isAborted","logAbort","_isErrorHandled","rollback","abort","doReplaceURL","_buildDSL","overrideNameAssertion","_hasModuleBasedResolver","initialURL","initialTransition","_setupLocation","_setOutlets","currentRouteInfos","_url","routerJsMethod","didBeginTransition","instances","instanceMap","queryParameterName","_fireQueryParamTransition","resolvedLocation","_serializeQueryParams","forEachQueryParam","defaultType","Number","valueOf","parse","_pruneDefaultQueryParamValues","_targetRouteName","_queryParams","_fromRouterService","_processActiveTransitionQueryParams","unchangedQPs","qpUpdates","_fullyScopeQueryParams","calculatePostTransitionState","_hydrateUnsuppliedQueryParams","_getQPMeta","leafRouteName","shouldCache","finalQPMeta","presentProp","appCache","qpLen","_scheduleLoadingEvent","originRoute","_handleSlowTransition","RouterState","cancel","_markErrorAsHandled","_clearHandledError","engineInstances","namedInstances","forEachRouteAbove","defaultActionHandlers","willResolveModel","_routeInfos","routeInfoWithError","errorRouteName","findRouteStateName","errorSubstateName","findRouteSubstateName","_error","initialMessage","errorArgs","stack","logError","targetName","loading","routeInfoWithSlowLoading","loadingRouteName","loadingSubstateName","pivotHandler","substateNameFull","routeHasBeenDefined","stateNameFull","localName","routerHasRoute","ownerHasRoute","eventWasHandled","defaultHandler","applyIntent","isResolved","qpCache","_backburner2","_cancelTimers","cancelTimers","currentRunLoop","_hasScheduledTimers","hasTimers","_queues","begin","curried","timer","debounce","later","throttle","defaultQueue","onBegin","onEnd","_current","onErrorMethod","flush","queueName","methodOrTarget","methodOrArg","additionalArgs","Service","isServiceFactory","__emberTemplateCompiler","__registerTemplateCompiler","precompileTemplate","compileTemplate","compile","_emberTesting","Adapter","registerHelper","registerAsyncHelper","_impl","registerTestImplementation","impl","Test","registerWaiter","unregisterHelper","unregisterWaiter","testingNotAvailableMessage","_is_none","_is_blank","_is_empty","_is_present","_isEqual","_typeOf","_compare","w","type1","type2","isComparable","spaceship","TYPE_ORDER","localeCompare","vLen","wLen","getTime","null","boolean","number","function","date","filelist","sign","isEqual","TYPE_MAP","CheckArray","CheckBoolean","CheckBlockSymbolTable","CheckDict","DictChecker","CheckHandle","CheckFunction","CheckElement","CheckDocumentFragment","CheckInstanceof","InstanceofChecker","CheckInterface","CheckMaybe","checker","MaybeChecker","CheckObject","CheckNumber","CheckNull","CheckNode","CheckOption","OptionChecker","CheckOr","left","right","OrChecker","CheckUnknown","CheckUndefined","CheckString","CheckSafeString","CheckProgramSymbolTable","CheckPrimitive","CheckValue","OPERAND_TYPES","META_KIND","buildEnum","offset","last","enumString","strip","buildMetas","all","out","buildSingleMeta","check","defaultMessage","expected","op","isMachine","debugSlice","expectStackChange","actual","sp","logOpcode","normalizeAll","machine","normalizeParsed","syscall","opcodeMetadata","MACHINE_METADATA","METADATA","recordStackSize","Op","Size","fill","MachineOp","PushFrame","mnemonic","stackChange","ops","operands","PopFrame","InvokeVirtual","InvokeStatic","Jump","Return","ReturnTo","DynamicHelper","SetNamedVariables","SetBlocks","SetVariable","SetBlock","GetVariable","GetProperty","GetBlock","SpreadBlock","HasBlock","HasBlockParams","Concat","IfInline","Not","Constant","ConstantReference","Primitive","PrimitiveReference","ReifyU32","Dup","Pop","Load","Fetch","RootScope","VirtualRootScope","ChildScope","PopScope","Text","Comment","AppendHTML","AppendSafeHTML","AppendDocumentFragment","AppendNode","AppendText","OpenElement","OpenDynamicElement","PushRemoteElement","StaticAttr","DynamicAttr","ComponentAttr","FlushElement","CloseElement","PopRemoteElement","Modifier","BindDynamicScope","PushDynamicScope","PopDynamicScope","CompileBlock","PushBlockScope","PushSymbolTable","InvokeYield","JumpIf","JumpUnless","JumpEq","AssertSame","Enter","Exit","ToBoolean","EnterList","ExitList","Iterate","Main","ContentType","DynamicContentType","Curry","PushComponentDefinition","PushDynamicComponentInstance","ResolveDynamicComponent","PushArgs","PushEmptyArgs","PopArgs","PrepareArgs","CaptureArgs","CreateComponent","RegisterComponentDestructor","PutComponentOperations","GetComponentSelf","GetComponentTagName","GetComponentLayout","BindEvalScope","SetupForEval","PopulateLayout","InvokeComponentLayout","BeginComponentTransaction","CommitComponentTransaction","DidCreateElement","DidRenderLayout","ResolveMaybeLocal","Debugger","format","skip","hasRest","strings","exec","MAX_SAFE_INTEGER","line","leading","stripped","o","pad","repeat","TypeofChecker","expectedType","emptyValue","ExactValueChecker","PropertyChecker","checkers","ArrayChecker","parameters","hasEval","symbols","_hasDestroyableChildren","DESTROYABLE_META","children","parentMeta","getDestroyableMeta","childMeta","parents","destroyChildren","DestroyingState","Destroyed","eager","destructorsKey","collection","newItem","eagerDestructors","destructors","Live","Destroying","removeChildFromParent","InstructionEncoderImpl","buffer","encode","TYPE_SIZE","first","ARG_SHIFT","patch","DEBUG","CI","assertGlobalContextWasSet","testOverrideGlobalContext","CustomModifierManager","CustomHelperManager","CustomComponentManager","EMPTY","capability","managerAPI","buildCapabilities","asyncLifeCycleCallbacks","asyncLifecycleCallbacks","CUSTOM_TAG_FOR","isOptional","getManager","COMPONENT_MANAGERS","HELPER_MANAGERS","DEFAULT_MANAGER","getInternalModifierManager","MODIFIER_MANAGERS","hasCapability","hasInternalComponentManager","hasInternalHelperManager","hasDefaultHelperManager","hasInternalModifierManager","hasScheduledEffect","managerHasCapability","optionalFeatures","disableAutoTracking","customTagFn","convertToInt","num","isNaN","NamedArgsProxy","ownKeys","PositionalArgsProxy","argsProxyFor","namedHandler","positionalHandler","namedTarget","namedProxy","Proxy","positionalProxy","tagForNamedArg","tagForPositionalArg","InternalComponentCapabilities","Empty","helperManagerDelegates","undefinedDelegate","getDelegateForOwner","getDelegateFor","getHelper","FunctionHelperManager","getPrototypeOf$1","setManager","hasAsyncLifeCycleCallbacks","hasUpdateHook","componentManagerDelegates","vmArgs","createComponent","CustomComponentState","updateComponent","didCreateComponent","hasAsyncUpdateHook","didUpdateComponent","getContext","hasDestructors","destroyComponent","createModifier","destroyModifier","installModifier","castToBrowser","updateModifier","cursor","SerializeBuilder","forInitialRender","doc","setupUselessElement","insertHTMLBefore","html","raw","createRawHTMLSection","insertBefore","ConcreteBounds","NEEDS_EXTRA_CLOSE","NewElementBuilder","serializeBlockDepth","__openBlock","__appendComment","__closeBlock","__appendHTML","openIndex","__appendText","lastChild","previousSibling","currentNode","closeElement","openElement","constructing","flushElement","pushRemoteElement","cursorId","dom","script","_encoder","_wireFormat","WrappedBuilder","StdLib","MINIMAL_CAPABILITIES","EMPTY_BLOCKS","DEFAULT_CAPABILITIES","CompileTimeCompilationContextImpl","compileStatements","compileStd","debugCompiler","invokeStaticBlock","InvokeStaticBlock","invokeStaticBlockWithStack","InvokeStaticBlockWithStack","createOp","templateCompilationContext","templateId","parsedBlock","clientId","ownerlessTemplate","templateCache","cacheMiss","TemplateImpl","cacheHit","__id","__meta","makeResolutionTypeVerifier","typeToVerify","opcode","isGetLikeTuple","SexpOpcodes","GetStrictKeyword","GetLexicalSymbol","isGetFreeComponent","GetFreeAsComponentHead","isGetFreeModifier","GetFreeAsModifierHead","isGetFreeHelper","GetFreeAsHelperHead","isGetFreeComponentOrHelper","GetFreeAsComponentOrHelperHead","expr","constants","upvars","unwrap","HighLevelResolutionOpcodes","ComponentOrHelper","OptionalComponentOrHelper","Local","TemplateLocal","HighLevelBuilderOpcodes","Label","StartLabels","StopLabels","Start","End","HighLevelOperands","IsStrictMode","DebugSymbols","Block","NonSmallInt","SymbolTable","Layout","labelOperand","stdlibOperand","symbolTableOperand","layoutOperand","Labels","labels","targets","address","getbyaddr","setbyaddr","encodeOp","encoder","isBuilderOpcode","startLabels","stopLabels","scopeValues","resolvedComponent","resolveComponent","resolveModifier","resolveHelper","ifComponent","ifHelper","resolveComponentOrHelper","ifValue","resolveOptionalComponentOrHelper","freeVar","andThen","valueIndex","EncoderImpl","stdlib","labelsStack","Stack","errors","malloc","commit","pushMachine","finishMalloc","isPresentArray","isMachineOp","MACHINE_MASK","pushRaw","operand","encodeHandle","currentLabels","evalSymbols","EMPTY_STRING_ARRAY","containing","CompilableTemplateImpl","trustingGuardedAppend","cautiousGuardedAppend","trustingNonDynamicAppend","cautiousNonDynamicAppend","getAppend","trusting","NamedBlocksImpl","blocks","hasAny","namedBlocks","enumerate","PushPrimitiveReference","PushPrimitive","primitive","isSmallInt","encodeImmediate","Call","SimpleArgs","$v0","CallDynamic","$fp","Compilers","funcs","sexp","EXPRESSIONS","withPath","expression","atNames","CompilePositional","YieldBlock","PushYieldableBlock","PushCompilable","callerCount","calleeCount","_block","SwitchCases","bootstrap","matcher","clauses","clause","Replayable","ReplayableIf","ifTrue","ifFalse","GetSymbol","sym","Undefined","condition","GetDynamicVar","Log","ATTRS_BLOCK","InvokeComponent","_elementBlock","_blocks","elementBlock","symbolTable","bailOut","InvokeNonStaticComponent","$s0","$sp","blockSymbols","argSymbols","argNames","blockNames","InvokeStaticComponent","InvokeDynamicComponent","ResolveCurriedComponent","bindableBlocks","bindableAtNames","with","CompileArgs","invokePreparedComponent","WrappedComponent","attrsBlockNumber","WithSavedRegister","$s1","populateLayout","StdAppend","nonDynamicAppend","when","InvokeBareComponent","Fragment","Node","mainHandle","build","trustingGuardedNonDynamicAppend","cautiousGuardedNonDynamicAppend","trustingGuardedDynamicAppend","cautiousGuardedDynamicAppend","STDLIB_META","program","STATEMENTS","INFLATE_ATTR_TABLE","INFLATE_TAG_TABLE","inflateTagName","inflateAttrName","attrName","hashToArgs","DynamicModifier","StaticComponentAttr","TrustingDynamicAttr","TrustingComponentAttr","OpenElementWithSplat","Yield","AttrSplat","debugInfo","Append","TrustingAppend","InElement","destination","If","inverse","Each","Let","WithDynamicVars","expressions","statements","compiled","maybeCompile","syntaxContext","sCompiler","pushOp","statement","attrsBlockIndex","syntax","parsedLayout","wrappedLayout","RuntimeProgramImpl","RuntimeHeapImpl","RuntimeConstantsImpl","HeapImpl","ConstantsImpl","CompileTimeConstantImpl","hydrateHeap","serializedHeap","DEFAULT_TEMPLATE_BLOCK","DEFAULT_TEMPLATE","WELL_KNOWN_EMPTY_ARRAY","STARTER_CONSTANTS","WELL_KNOWN_EMPTY_ARRAY_POSITION","indexMap","handles","toPool","pool","getArray","n","reifiedArrs","defaultTemplate","helperDefinitionCount","modifierDefinitionCount","componentDefinitionCount","helperDefinitionCache","modifierDefinitionCache","definitionState","_resolvedName","managerOrHelper","resolvedDefinition","OPERAND_LEN_MASK","TYPE_MASK","op1","op2","op3","TableSlotState","PAGE_SIZE","table","Int32Array","getaddr","sizeof","handleTable","handleState","sizeCheck","newHeap","free","Freed","compactedSize","Purged","Allocated","Pointer","_opcode","TRUE_REFERENCE","REFERENCE","NULL_REFERENCE","FALSE_REFERENCE","ReferenceImpl","CONSTANT","lastValue","createDebugAliasRef","INVOKABLE","createIteratorItemRef","createIteratorRef","listRef","keyFor","uniqueKeyFor","KEY","INDEX","IDENTITY","keyForPath","makeKeyFor","maybeIterator","IteratorWrapper","_ref","COMPUTE","UNBOUND","INITIAL","newTag","_parentRef","parentRef","isDict","NULL_IDENTITY","WeakMapWithPrimitives","_weakMap","_primitiveMap","weakMap","primitiveMap","IDENTITIES","identities","identity","identityForNthOccurence","nextValue","pos","_vm2","UpdatingVM","UpdatableBlockImpl","TemplateOnlyComponentManager","TemplateOnlyComponent","SimpleDynamicAttribute","SERIALIZATION_FIRST_NODE_STRING","RemoteLiveBlock","RehydrateBuilder","PartialScopeImpl","LowLevelVM","IDOMChanges","EnvironmentImpl","EMPTY_NAMED","DynamicScopeImpl","DynamicAttribute","CursorImpl","CurriedValue","dynamicAttribute","computeArgs","internalManager","SimpleArgsProxy","node","nodeValue","isWhitespace","WHITESPACE","reifyArgs","reifyNamed","renderComponent","treeBuilder","vm","VM","argList","CONSTANTS","pushFrame","ARGS$1","layoutHandle","unwrapHandle","invocation","TemplateIteratorImpl","renderInvocation","acc","recordToReference","numSymbols","initial","renderSync","resetDebuggerCallback","debugCallback","setDebuggerCallback","TemplateOnlyComponentDefinition","refs","sized","slots","callerScope","evalScope","partialMap","getSymbol","getBlock","getEvalScope","getPartialMap","bindSelf","bindSymbol","bindBlock","bindEvalScope","bindPartialMap","bindCallerScope","getCallerScope","RangeError","INNER_VM","DESTROYABLE_STACK","STACKS","REGISTERS","HEAP","move","removeChild","normalizeStringValue","isEmpty$2","isSafeString","isNode","isString","slotName","lower","ATTR_OVERRIDES","preferAttr","INPUT","form","autocorrect","SELECT","OPTION","TEXTAREA","LABEL","FIELDSET","LEGEND","OBJECT","OUTPUT","BUTTON","badProtocols","badTags","badTagsForDataURI","badAttributes","badAttributesForDataURI","checkURI","checkDataURI","requiresSanitization","_protocolForUrlImplementation","protocolForUrl","URL","nodeURL","findProtocolForURL","sanitizeAttributeValue","isTrusting","NS_SVG","buildDynamicAttribute","SafeDynamicProperty","isUserInputValue","InputValueDynamicAttribute","isOptionSelected","OptionSelectedDynamicAttribute","DefaultDynamicProperty","buildDynamicProperty","SafeDynamicAttribute","normalizedValue","normalizeValue","__setAttribute","removeAttribute","__setProperty","removeAttributeNS","sanitized","option","selected","First","Last","CURSOR_STACK","resume","pushLiveBlock","modifierStack","blockStack","pushElement","getDOM","pushSimpleBlock","debugBlocks","hasBlocks","popElement","SimpleLiveBlock","pushUpdatableBlock","pushBlockList","LiveBlockList","isRemote","didAppendBounds","popBlock","__openElement","modifiers","__flushElement","pushModifiers","didOpenElement","willCloseElement","popModifiers","__pushRemoteElement","_guid","popRemoteElement","didAppendNode","appendText","text","createTextNode","__appendNode","__appendFragment","fragment","firstChild","comment","appendDynamicHTML","trustedContent","appendDynamicText","untrustedContent","appendDynamicFragment","appendDynamicNode","appendComment","createComment","setStaticAttribute","setDynamicAttribute","nesting","boundList","_bounds","_stack","APPEND_OPCODES","evaluateOpcode","evaluate","debugBefore","opName","fetchValue","pc","$pc","debugAfter","pre","TYPE","INNER","RESOLVED","CURRIED_VALUES","isCurriedValue","isCurriedType","resolveCurriedValue","curriedValue","currentWrapper","curriedArgs","curriedNamed","curriedPositional","spec","hasCustomDebugRenderTreeLifecycle","pushChildScope","popScope","pushDynamicScope","popDynamicScope","other","decodeHandle","isHandle","decodeImmediate","dup","load","fetch","bindDynamicScope","_table","CheckScope","VMArgumentsImpl","pushScope","invokingScope","locals","localsCount","CheckReference","goto","updateWith","Assert","comparison","peek","valueRef","throw","AssertFilter","JumpIfNotModifiedOpcode","didModify","BeginTrackFrameOpcode","EndTrackFrameOpcode","elements","elementRef","insertBeforeRef","guidRef","associateDestroyable","$t0","CheckOperations","loadValue","scheduleInstallModifier","CheckArguments","addModifier","UpdateModifierOpcode","outerPositional","outerNamed","initialOwner","instanceRef","hostDefinition","CurriedTypes","curriedOwner","UpdateDynamicModifierOpcode","lastUpdated","scheduleUpdateModifier","newInstance","_trusting","UpdateDynamicAttributeOpcode","initialized","_isStrict","CheckCurriedComponentDefinition","$t1","_blockNames","positionalCount","resolvedValue","merge","realloc","prepend","CheckComponentInstance","hasDefaultBlock","UpdateComponentOpcode","beginCacheGroup","ComponentElementOperations","DebugRenderTreeUpdateOpcode","DebugRenderTreeDidRenderOpcode","setDeferredAttr","mergeClasses","allStringClasses","symbolName","blockName","selfRef","CheckComponentDefinition","CheckInvocation","CheckFinishedComponentInstance","pushRootScope","callerNames","atName","symbolNames","DidUpdateLayoutOpcode","commitCacheGroup","CheckIterator","CheckHelper","CheckUndefinedReference","CheckCapturedArguments","CheckComponentManager","CheckCapabilities","CheckCompilableBlock","CheckCompilableProgram","CheckScopeBlock","PositionalArgumentsImpl","NamedArgumentsImpl","BlockArgumentsImpl","namedCount","namedBase","positionalBase","blocksCount","blocksBase","copy","EMPTY_REFERENCES","emptyArray","_references","references","additions","_atNames","toSyntheticName","toAtName","newNames","toSymbolName","EMPTY_BLOCK_VALUES","internalValues","_symbolNames","internalTag","CapturedBlockArgumentsImpl","ARGUMENT_ERROR","isArgumentError","ArgumentErrorImpl","reifyArgsDebug","reifyNamedDebug","reifyPositionalDebug","castToString","isUndefinedReference","curriedDefinition","createCurryRef","helperRef","helperInstanceRef","resolvedDef","helperValueRef","referenceForSymbol","handleOrCompilable","hasBlockParams","partsRefs","log","DynamicTextContent","toContentType","shouldCoerce","isFragment","toDynamicContentType","rawValue","ScopeInspector","slot","head","tail","_symbols","_debugInfo","inspector","relativeStart","elseTarget","keyRef","keyValue","iteratorRef","enterList","exitList","breaks","registerItem","enterItem","SVG_INTEGRATION_POINTS","foreignObject","title","BLACKLIST_TABLE","DOMOperations","uselessElement","isElementInSVGNamespace","isHTMLIntegrationPoint","createElementNS","insertAdjacentHTML","INSERT_BEFORE_END","HTMLElement","INSERT_BEFORE_BEGIN","applySVGInnerHTMLFix","DOMClass","svgNamespace","svg","childNodes","shouldApplyFix$1","div","wrappedHtml","clearElement","INSERT_AFTER_BEGIN","moveNodesBefore","fixSVG","applyTextNodeMergingFix","mergingTextDiv","shouldApplyFix","uselessComment","didSetUselessComment","nextPrevious","doc$1","castToSimple","appliedTreeConstruction","setAttributeNS","DOMChangesImpl","insertAfter","GUID","Ref","DebugRenderTreeImpl","internalNode","nodeFor","captureRefs","captureNode","captureTemplate","captureBounds","TRANSACTION","TransactionImpl","scheduledInstallModifiers","scheduledUpdateModifiers","createdComponents","updatedComponents","modifierTag","isArgumentCaptureError","transaction","normalizeTextValue","isEmpty$1","buildUntouchableThis","callbackRef","assertCallbackIsFn","invocationArgs","sourceRef","pathRef","getArgs","argsCache","OnModifierState","passive","userProvidedCallback","_once","_passive","_capture","shouldUpdate","adds","removes","externs","registers","currentOpSize","fetchRegister","loadRegister","setPc","$ra","popFrame","pushSmallFrame","popSmallFrame","returnTo","nextStatement","operationSize","evaluateOuter","evaluateInner","evaluateMachine","evaluateSyscall","return","frameStack","execute","opcodes","_execute","try","frame","UpdatingVMFrame","handleException","ResumableVMStateImpl","resumeCallback","BlockOpcode","TryOpcode","elementStack","updating","pushUpdating","ListItemOpcode","retained","updateReferences","shouldRemove","ListBlockOpcode","iterableRef","opcodeMap","marker","lastIterator","initializeChild","itemMap","currentOpcodeIndex","seenIndex","retainItem","itemOpcode","moveItem","seenUnretained","insertItem","deleteItem","currentSibling","exceptionHandler","RenderResultImpl","EvaluationStackImpl","restore","snapshot","top","Stacks","isLowLevelRegister","s0","s1","t0","t1","v0","initVM","evalStack","vmState","captureState","guard","tryOpcode","didEnter","memoRef","listBlock","addr","popUpdating","tryUpdating","RehydratingCursor","startingBlockDepth","openBlockDepth","injectedOmittedNode","unmatchedAttributes","blockDepth","startingBlockOffset","currentCursor","isOpenBlock","getBlockDepth","newBlockDepth","newCandidate","closingNode","isCloseBlock","newClosingBlock","disableRehydration","enableRehydration","clearMismatch","getBlockDepthWithOffset","isRehydrating","candidateBounds","markerBounds","newBounds","possibleEmptyMarker","_candidate","isMarker","isSeparator","isElement","isSameNodeType","unmatched","findByName","getMarker","COMMENT_NODE","parseInt","TEXT_NODE","RAW_NODE","NS_XMLNS","NS_XML","NS_XLINK","NS_MATHML","NS_HTML","LOGGER","LOCAL_LOGGER","ImmediateConstants","INSERT_AFTER_END","EMPTY_NUMBER_ARRAY","ELEMENT_NODE","DOCUMENT_TYPE_NODE","DOCUMENT_NODE","DOCUMENT_FRAGMENT_NODE","arrayToOption","asPresentArray","assertPresentArray","assertNever","assertPresent","beginTestSteps","sugaryCheck","isDocument","ownerDocument","checkBrowserNode","isSimpleElement","checkNode","debugToString","decodeNegative","decodePositive","encodeNegative","encodePositive","endTestSteps","exhausted","extractHandle","getFirst","getLast","ifPresent","otherwise","u","isEmptyArray","isErrHandle","isNonPrimitiveHandle","ENCODED_UNDEFINED_HANDLE","isOkHandle","MAX_INT","MIN_INT","logStep","mapPresentArray","mapper","lines","tuple","unreachable","problem","span","verifySteps","nth","SIGN_BIT","isMatch","stringCheckNode","checkError","SVGElement","VolatileTag","VOLATILE_TAG","VOLATILE","CurrentTag","ALLOW_CYCLES","bump","$REVISION","debuggingLabel","FN","LAST_VALUE","TAG","SNAPSHOT","MonomorphicTagImpl","DIRYTABLE_TAG_ID","assertCache","assertTag","isConstTag","CURRENT_TRACKER","resetTracking","OPEN_TRACK_FRAMES","hasInitializer","NaN","UPDATABLE_TAG_ID","subtag","lastChecked","isUpdating","subtagBufferCache","subtagValue","_tag","_subtag","disableConsumptionAssertion","UPDATE_TAG","tag1","tag2","tag3","TRACKED_TAGS","Tracker","debuggingContext","fnName","GLIMMER_VALIDATOR_REGISTRATION","getGlobal","TemporaryRegister","SavedRegister","MachineRegister","MAX_SIZE","InternalComponentCapability","isOp","Other","WellKnownTagNames","WellKnownAttrNames","VariableResolutionContext","getStringFromValue","is","isArgument","StaticArg","DynamicArg","isAttribute","isGet","isFlushElement","isHelper","isStringLiteral","StrictModifier","StrictBlock","Strict","ResolveAsComponentOrHelperHead","ResolveAsHelperHead","ResolveAsModifierHead","ResolveAsComponentHead","style","variant","SimpleNodeImpl","doctype","EMPTY_ATTRS","indexOfAttribute","adjustAttrName","specified","ChildNodes","stale","oldLen","cloneNode","deep","clone","nodeName","copyAttrs","nodeFrom","nextChild","newChild","refChild","invalidate","insertFragment","insertBetween","oldChild","removeBetween","_childNodes","getAttributeNS","qualifiedName","parseQualifiedName","documentElement","createDocumentFragment","buildPlatform","SET_TIMEOUT","setTimeout","buildNext","autorunPromise","MutationObserver","iterations","observe","characterData","clearNext","ms","clearTimeout","timerId","NUMBER","isCoercableNumber","suspect","getOnError","onError","findItem","findTimerItem","getQueueItems","queueItemLength","queueItemPositionOffset","queueItems","maybeError","queueItem","binarySearch","timers","middle","Queue","globalOptions","_queueBeingFlushed","targetQueues","_queue","stackFor","errorRecordedForStack","invokeWithOnError","mustYield","hasWork","queue","targetQueueMap","pushUnique","localQueueMap","queueIndex","_getDebugInfo","debugEnabled","DeferredActionQueues","queueNames","queues","queueNameIndex","onceFlag","fromAutorun","numberOfQueues","iteratorDrain","DISABLE_SCHEDULE","parseArgs","argsIndex","methodOrArgs","parseDebounceArgs","isImmediate","wait","UUID","beginCount","endCount","beginEventCount","runCount","joinCount","deferCount","scheduleCount","scheduleIterableCount","deferOnceCount","scheduleOnceCount","setTimeoutCount","laterCount","throttleCount","debounceCount","cancelTimersCount","cancelCount","autorunsCreatedCount","autorunsCompletedCount","deferredActionQueuesCreatedCount","nestedDeferredActionQueuesCreated","Backburner","currentInstance","instanceStack","_eventCallbacks","_timerTimeoutId","_timers","_autorun","_autorunStack","_defaultQueue","_onBegin","_onEnd","_boundRunExpiredTimers","_runExpiredTimers","_boundAutorunEnd","_end","_buildPlatform","_platform","autoruns","created","completed","scheduleIterable","deferOnce","total","nested","previousInstance","_cancelAutorun","TypeError","callbacks","callbackFound","_run","_join","_ensureInstance","parseTimerArgs","_later","argIndex","executeAt","_reinstallTimerTimeout","_clearTimerTimeout","timerType","_cancelLaterTimer","getDebugInfo","autorun","deferredActionQueue","nextInstance","finallyAlreadyCalled","plannedNextQueue","_scheduleAutorun","_installTimerTimeout","arg1","arg2","_scheduleExpiredTimers","minExpiresAt","DAG","_vertices","Vertices","vertices","addEdge","addEdges","each","walk","IntStack","vertex","msg_1","pushIncoming","incomming","indices","assertThisInitialized","classCallCheck","Constructor","classPrivateFieldLooseBase","receiver","privateKey","classPrivateFieldLooseKey","privateFieldId","createClass","protoProps","staticProps","_defineProperties","createForOfIteratorHelperLoose","minLen","arrayLikeToArray","unsupportedIterableToArray","createSuper","Derived","Super","hasReflectConstruct","NewTarget","construct","possibleConstructorReturn","inheritsLoose","subClass","superClass","objectDestructuringEmpty","taggedTemplateLiteralLoose","wrapNativeSuper","nativeWrapperCache","arr2","utils","instrumentation","metal","_canaryFeatures","_dataAdapter","_application","_component","_helper","_instance2","_mutable2","_observers","_proxy2","_promiseProxyMixin","glimmerRuntime","_test","templateCompilation","EmberDebug","_setComponentManager","_componentManagerCapabilities","_modifierManagerCapabilities","_createCache","_cacheGetValue","_cacheIsConst","_descriptor","_setClassicDecorator","_tracked","_ContainerProxyMixin","_RegistryProxyMixin","_Cache","captureRenderTree","Debug","registerDeprecationHandler","registerWarnHandler","_assertDestroyablesDestroyed","_associateDestroyableChild","_enableDestroyableTracking","_isDestroying","_isDestroyed","_registerDestructor","_unregisterDestructor","Instrumentation","_action","_dependentKeyCompat","RouterDSL","isBlank","ViewUtils","_getComponentTemplate","_helperManagerCapabilities","_setComponentTemplate","_setHelperManager","_setModifierManager","_templateOnlyComponent","_invokeHelper","_hash","_concat","_on","_fn","_Backburner","__loader","g","EmberHandlebars","Utils","EmberHTMLBars","defineEmberTemplateCompilerLazyLoad","precompile","defineEmberTestingLazyLoad","QUnitAdapter","setupForTesting","createObject","createMap","Target","willAddRoute","addChild","Matcher","routes","generateMatch","startingPath","fullPath","addRoute","routeArray","substr","eachRoute","baseRoute","contextEntered","normalizePath","normalizeSegment","SEGMENT_RESERVED_CHARS","decodeURIComponent","encodeURIComponent","PATH_SEGMENT_ENCODINGS","encodePathSegment","escapeRegex","getParam","eachChar","ch","put","RouteRecognizer","ENCODE_AND_DECODE_PATH_SEGMENTS","EmptyObject","EmptyArray","segments","shouldDecodes","isEqualCharSpec","char","negate","State","nextStates","_regex","recognizeChar","child$1","returned","RecognizeResults","decodeQueryParamPart","allSegments","output","generateQueryString","pairs","arrayPair","parseQueryString","queryString","keyLength","isSlashDropped","hashStart","queryStart","decodeURI","pathLen","solutions","i$1","astatics","adynamics","astars","ref$1","bstatics","bdynamics","bstars","sortSolutions","captures","currentCapture","isDynamic","findHandler","Normalizer","addRouteCallback","_routeRecognizer","buildTransitionAborted","throwIfAborted","maybe","maybeAbortable","TransitionState","TransitionError","QUERY_PARAMS_SYMBOL","InternalTransition","InternalRouteInfo","extractQueryParams","cast","isQueryParamsContainer","coerceQueryParamsToString","sequence","isParam","getChangelist","oldObject","newObject","oldElement","newElement","promiseLabel","Transition","intent","previousTransition","urlMethod","isTransition","isCausedByAbortingTransition","isCausedByInitialTransition","isCausedByAbortingReplaceTransition","_visibleQueryParams","handlerInfo","currentSequence","onFulfilled","onRejected","onRejection","preTransitionState","newTransition","retry","transitionByIntent","err","followRedirects","ROUTE_INFOS","toReadOnlyRouteInfo","includeAttributes","localizeMapUpdates","LOCAL_ROUTE_INFOS","paramNames","metadata","attachMetadata","routeInfoWithAttribute","createRouteInfoWithAttributes","routeInfosRef","thisArg","publicInfo","_routePromise","_processRoute","getModel","routePromise","runBeforeModelHook","resolvedModel","runAfterModelHook","becomeResolved","resolvedContext","stashResolvedModel","contextsMatch","ResolvedRouteInfo","shouldSupersede","paramsMatch","fetchRoute","updateRoute","_internalName","UnresolvedRouteInfoByParam","fullParams","UnresolvedRouteInfoByObject","serializer","TransitionIntent","handleError","errorHandlerIndex","resolveOneRouteInfo","proceed","resolvedRouteInfo","wasAlreadyResolved","errorHandler","NamedTransitionIntent","applyToState","oldState","applyToHandlers","parsedHandlers","checkingIfActive","newState","invalidateIndex","oldHandlerInfo","newHandlerInfo","createParamHandlerInfo","getHandlerInfoForDynamicSegment","oldContext","handlerToUse","invalidateChildren","objectToUse","preTransitionHandlerInfo","numNames","missingParams","oldParams","paramName","UnrecognizedURLError","captureStackTrace","URLTransitionIntent","statesDiffer","checkHandlerAccessibility","inaccessibleByURL","newRouteInfo","oldRouteInfo","routeInfosEqual","otherRouteInfos","paramsEqual","otherParams","otherKeys","logger","_lastQueryParams","_changedQueryParams","queryParamsTransition","changelist","wasTransitioning","fireQueryParamDidChange","toReadOnlyInfos","_updateURL","toInfos","getTransitionByIntent","generateNewState","readonlyInfos","routeInfosWithAttributes","queryParamChangelist","setupContexts","routeInfosSameExceptQueryParams","finalizeTransition","notifyExistingHandlers","doTransition","modelsArray","lastArg","partition","partitionRoutes","exited","unchanged","updatedContext","routeEnteredOrUpdated","entered","_routeEnteredOrUpdated","routeChanged","oldRouteInfos","newRouteInfos","contextChanged","replaceAndNotAborting","isQueryParamsRefreshTransition","replacingReplace","resolvedHandlers","newQueryParams","finalQueryParamsArray","finalQueryParams","fromInfos","oldRouteInfoLen","oldHandler","partitionedArgs","suppliedParams","targetRouteInfos","targetHandler","recognizerHandlers","testState","routesEqual","activeQPsOnNewHandler","activeQueryParams","callbacksFor","_promiseCallbacks","EventTarget","allSettled","asap","async","denodeify","hashSettled","race","rethrow","allCallbacks","queue$1","_guidKey","_id","childId","_label","timeStamp","childGuid","resolve$2","resolve$1","PENDING","FULFILLED","REJECTED","handleMaybeThenable","maybeThenable","then$1","thenable","fulfill","_onError","reject$2","handleOwnThenable","sealed","fulfillmentHandler","rejectionHandler","tryThen","handleForeignThenable","objectOrFunction","publishRejection","publish","_subscribers","onFulfillment","settled","invokeCallback","hasCallback","succeeded","Enumerator","abortOnReject","_instanceConstructor","_abortOnReject","_isUsingOwnPromise","Promise$2","_isUsingOwnResolve","_init","_remaining","_enumerate","_eachEntry","_checkFullfillment","_settleMaybeThenable","firstPass","_settledAt","_willSettleAt","_setResultAt","setSettledResult","guidKey","counter","Promise$1","needsResolver","initializePromise","needsNew","wrapThenable","onFulFillment","nodeFunc","promiseInput","arrayResult","argumentNames","makeObject","handleValueInput","handlePromiseInput","__proto__","AllSettled","PromiseHash","HashSettled","MapEnumerator","mapFn","_mapFn","promises","EMPTY_OBJECT","FilterEnumerator","filterFn","vertxNext","scheduleFlush","browserWindow","browserGlobal","BrowserMutationObserver","WebKitMutationObserver","process","isWorker","Uint8ClampedArray","importScripts","MessageChannel","useSetTimeout","nextTick","versions","setImmediate","useNextTick","useMutationObserver","channel","port1","onmessage","port2","postMessage","useMessageChannel","vertx","runOnLoop","runOnContext","attemptVertex","FastBoot","preferNative","originalGlobal","Ember__module","RSVP__module","supportProps","combinedProps","response","blob"],"sources":["../rewritten-packages/@embroider/synthesized-vendor/vendor/loader/loader.js","../rewritten-packages/@embroider/synthesized-vendor/vendor/ember-fetch.js","../rewritten-packages/@embroider/synthesized-vendor/vendor/disable-prototype-extensions.js","loader.js","@ember/-internals/browser-environment/index.js","@ember/-internals/container/index.js","@ember/-internals/deprecations/index.js","@ember/-internals/environment/index.js","@ember/-internals/error-handling/index.js","@ember/-internals/glimmer/index.js","@ember/-internals/meta/index.js","@ember/-internals/meta/lib/meta.js","@ember/-internals/metal/index.js","@ember/-internals/owner/index.js","@ember/-internals/routing/index.js","@ember/-internals/runtime/index.js","@ember/-internals/runtime/lib/ext/rsvp.js","@ember/-internals/runtime/lib/mixins/-proxy.js","@ember/-internals/runtime/lib/mixins/action_handler.js","@ember/-internals/runtime/lib/mixins/comparable.js","@ember/-internals/runtime/lib/mixins/container_proxy.js","@ember/-internals/runtime/lib/mixins/registry_proxy.js","@ember/-internals/runtime/lib/mixins/target_action_support.js","@ember/-internals/string/index.js","@ember/-internals/utility-types/index.js","@ember/-internals/utils/index.js","@ember/-internals/views/index.js","@ember/-internals/views/lib/compat/attrs.js","@ember/-internals/views/lib/compat/fallback-view-registry.js","@ember/-internals/views/lib/component_lookup.js","@ember/-internals/views/lib/mixins/action_support.js","@ember/-internals/views/lib/mixins/child_views_support.js","@ember/-internals/views/lib/mixins/class_names_support.js","@ember/-internals/views/lib/mixins/view_state_support.js","@ember/-internals/views/lib/mixins/view_support.js","@ember/-internals/views/lib/system/action_manager.js","@ember/-internals/views/lib/system/event_dispatcher.js","@ember/-internals/views/lib/system/utils.js","@ember/-internals/views/lib/views/core_view.js","@ember/-internals/views/lib/views/states.js","@ember/application/index.js","@ember/application/instance.js","@ember/application/lib/lazy_load.js","@ember/application/namespace.js","@ember/array/-internals.js","@ember/array/index.js","@ember/array/lib/make-array.js","@ember/array/mutable.js","@ember/array/proxy.js","@ember/canary-features/index.js","@ember/component/helper.js","@ember/component/index.js","@ember/component/template-only.js","@ember/controller/index.js","@ember/debug/container-debug-adapter.js","@ember/debug/data-adapter.js","@ember/debug/index.js","@ember/debug/lib/capture-render-tree.js","@ember/debug/lib/deprecate.js","@ember/debug/lib/handlers.js","@ember/debug/lib/inspect.js","@ember/debug/lib/testing.js","@ember/debug/lib/warn.js","@ember/deprecated-features/index.js","@ember/destroyable/index.js","@ember/engine/index.js","@ember/engine/instance.js","@ember/engine/lib/engine-parent.js","@ember/enumerable/index.js","@ember/enumerable/mutable.js","@ember/helper/index.js","@ember/instrumentation/index.js","@ember/modifier/index.js","@ember/object/-internals.js","@ember/object/compat.js","@ember/object/computed.js","@ember/object/core.js","@ember/object/evented.js","@ember/object/events.js","@ember/object/index.js","@ember/object/internals.js","@ember/object/lib/computed/computed_macros.js","@ember/object/lib/computed/reduce_computed_macros.js","@ember/object/mixin.js","@ember/object/observable.js","@ember/object/observers.js","@ember/object/promise-proxy-mixin.js","@ember/object/proxy.js","@ember/owner/index.js","@ember/renderer/index.js","@ember/routing/-internals.js","@ember/routing/hash-location.js","@ember/routing/history-location.js","@ember/routing/index.js","@ember/routing/lib/cache.js","@ember/routing/lib/controller_for.js","@ember/routing/lib/dsl.js","@ember/routing/lib/engines.js","@ember/routing/lib/generate_controller.js","@ember/routing/lib/location-utils.js","@ember/routing/lib/query_params.js","@ember/routing/lib/route-info.js","@ember/routing/lib/router_state.js","@ember/routing/lib/routing-service.js","@ember/routing/lib/utils.js","@ember/routing/location.js","@ember/routing/none-location.js","@ember/routing/route-info.js","@ember/routing/route.js","@ember/routing/router-service.js","@ember/routing/router.js","@ember/routing/transition.js","@ember/runloop/-private/backburner.js","@ember/runloop/index.js","@ember/service/index.js","@ember/template-compilation/index.js","@ember/template-factory/index.js","@ember/template/index.js","@ember/test/adapter.js","@ember/test/index.js","@ember/utils/index.js","@ember/utils/lib/compare.js","@ember/utils/lib/is-equal.js","@ember/utils/lib/is_blank.js","@ember/utils/lib/is_empty.js","@ember/utils/lib/is_none.js","@ember/utils/lib/is_present.js","@ember/utils/lib/type-of.js","@ember/version/index.js","@glimmer/debug.js","@glimmer/destroyable.js","@glimmer/encoder.js","@glimmer/env.js","@glimmer/global-context.js","@glimmer/manager.js","@glimmer/node.js","@glimmer/opcode-compiler.js","@glimmer/owner.js","@glimmer/program.js","@glimmer/reference.js","@glimmer/runtime.js","@glimmer/tracking/index.js","@glimmer/tracking/primitives/cache.js","@glimmer/util.js","@glimmer/validator.js","@glimmer/vm.js","@glimmer/wire-format.js","@simple-dom/document.js","backburner.js.js","dag-map.js","ember-babel.js","ember/index.js","ember/version.js","route-recognizer.js","router_js.js","rsvp.js"],"sourcesContent":["var loader, define, requireModule, require, requirejs;\n\n(function (global) {\n 'use strict';\n\n function dict() {\n var obj = Object.create(null);\n obj['__'] = undefined;\n delete obj['__'];\n return obj;\n }\n\n // Save off the original values of these globals, so we can restore them if someone asks us to\n var oldGlobals = {\n loader: loader,\n define: define,\n requireModule: requireModule,\n require: require,\n requirejs: requirejs\n };\n\n requirejs = require = requireModule = function (id) {\n var pending = [];\n var mod = findModule(id, '(require)', pending);\n\n for (var i = pending.length - 1; i >= 0; i--) {\n pending[i].exports();\n }\n\n return mod.module.exports;\n };\n\n loader = {\n noConflict: function (aliases) {\n var oldName, newName;\n\n for (oldName in aliases) {\n if (aliases.hasOwnProperty(oldName)) {\n if (oldGlobals.hasOwnProperty(oldName)) {\n newName = aliases[oldName];\n\n global[newName] = global[oldName];\n global[oldName] = oldGlobals[oldName];\n }\n }\n }\n },\n // Option to enable or disable the generation of default exports\n makeDefaultExport: true\n };\n\n var registry = dict();\n var seen = dict();\n\n var uuid = 0;\n\n function unsupportedModule(length) {\n throw new Error('an unsupported module was defined, expected `define(id, deps, module)` instead got: `' + length + '` arguments to define`');\n }\n\n var defaultDeps = ['require', 'exports', 'module'];\n\n function Module(id, deps, callback, alias) {\n this.uuid = uuid++;\n this.id = id;\n this.deps = !deps.length && callback.length ? defaultDeps : deps;\n this.module = { exports: {} };\n this.callback = callback;\n this.hasExportsAsDep = false;\n this.isAlias = alias;\n this.reified = new Array(deps.length);\n\n /*\n Each module normally passes through these states, in order:\n new : initial state\n pending : this module is scheduled to be executed\n reifying : this module's dependencies are being executed\n reified : this module's dependencies finished executing successfully\n errored : this module's dependencies failed to execute\n finalized : this module executed successfully\n */\n this.state = 'new';\n }\n\n Module.prototype.makeDefaultExport = function () {\n var exports = this.module.exports;\n if (exports !== null && (typeof exports === 'object' || typeof exports === 'function') && exports['default'] === undefined && Object.isExtensible(exports)) {\n exports['default'] = exports;\n }\n };\n\n Module.prototype.exports = function () {\n // if finalized, there is no work to do. If reifying, there is a\n // circular dependency so we must return our (partial) exports.\n if (this.state === 'finalized' || this.state === 'reifying') {\n return this.module.exports;\n }\n\n\n if (loader.wrapModules) {\n this.callback = loader.wrapModules(this.id, this.callback);\n }\n\n this.reify();\n\n var result = this.callback.apply(this, this.reified);\n this.reified.length = 0;\n this.state = 'finalized';\n\n if (!(this.hasExportsAsDep && result === undefined)) {\n this.module.exports = result;\n }\n if (loader.makeDefaultExport) {\n this.makeDefaultExport();\n }\n return this.module.exports;\n };\n\n Module.prototype.unsee = function () {\n this.state = 'new';\n this.module = { exports: {} };\n };\n\n Module.prototype.reify = function () {\n if (this.state === 'reified') {\n return;\n }\n this.state = 'reifying';\n try {\n this.reified = this._reify();\n this.state = 'reified';\n } finally {\n if (this.state === 'reifying') {\n this.state = 'errored';\n }\n }\n };\n\n Module.prototype._reify = function () {\n var reified = this.reified.slice();\n for (var i = 0; i < reified.length; i++) {\n var mod = reified[i];\n reified[i] = mod.exports ? mod.exports : mod.module.exports();\n }\n return reified;\n };\n\n Module.prototype.findDeps = function (pending) {\n if (this.state !== 'new') {\n return;\n }\n\n this.state = 'pending';\n\n var deps = this.deps;\n\n for (var i = 0; i < deps.length; i++) {\n var dep = deps[i];\n var entry = this.reified[i] = { exports: undefined, module: undefined };\n if (dep === 'exports') {\n this.hasExportsAsDep = true;\n entry.exports = this.module.exports;\n } else if (dep === 'require') {\n entry.exports = this.makeRequire();\n } else if (dep === 'module') {\n entry.exports = this.module;\n } else {\n entry.module = findModule(resolve(dep, this.id), this.id, pending);\n }\n }\n };\n\n Module.prototype.makeRequire = function () {\n var id = this.id;\n var r = function (dep) {\n return require(resolve(dep, id));\n };\n r['default'] = r;\n r.moduleId = id;\n r.has = function (dep) {\n return has(resolve(dep, id));\n };\n return r;\n };\n\n define = function (id, deps, callback) {\n var module = registry[id];\n\n // If a module for this id has already been defined and is in any state\n // other than `new` (meaning it has been or is currently being required),\n // then we return early to avoid redefinition.\n if (module && module.state !== 'new') {\n return;\n }\n\n if (arguments.length < 2) {\n unsupportedModule(arguments.length);\n }\n\n if (!Array.isArray(deps)) {\n callback = deps;\n deps = [];\n }\n\n if (callback instanceof Alias) {\n registry[id] = new Module(callback.id, deps, callback, true);\n } else {\n registry[id] = new Module(id, deps, callback, false);\n }\n };\n\n define.exports = function (name, defaultExport) {\n var module = registry[name];\n\n // If a module for this name has already been defined and is in any state\n // other than `new` (meaning it has been or is currently being required),\n // then we return early to avoid redefinition.\n if (module && module.state !== 'new') {\n return;\n }\n\n module = new Module(name, [], noop, null);\n module.module.exports = defaultExport;\n module.state = 'finalized';\n registry[name] = module;\n\n return module;\n };\n\n function noop() {}\n // we don't support all of AMD\n // define.amd = {};\n\n function Alias(id) {\n this.id = id;\n }\n\n define.alias = function (id, target) {\n if (arguments.length === 2) {\n return define(target, new Alias(id));\n }\n\n return new Alias(id);\n };\n\n function missingModule(id, referrer) {\n throw new Error('Could not find module `' + id + '` imported from `' + referrer + '`');\n }\n\n function findModule(id, referrer, pending) {\n var mod = registry[id] || registry[id + '/index'];\n\n while (mod && mod.isAlias) {\n mod = registry[mod.id] || registry[mod.id + '/index'];\n }\n\n if (!mod) {\n missingModule(id, referrer);\n }\n\n if (pending && mod.state !== 'pending' && mod.state !== 'finalized') {\n mod.findDeps(pending);\n pending.push(mod);\n }\n return mod;\n }\n\n function resolve(child, id) {\n if (child.charAt(0) !== '.') {\n return child;\n }\n\n\n var parts = child.split('/');\n var nameParts = id.split('/');\n var parentBase = nameParts.slice(0, -1);\n\n for (var i = 0, l = parts.length; i < l; i++) {\n var part = parts[i];\n\n if (part === '..') {\n if (parentBase.length === 0) {\n throw new Error('Cannot access parent module of root');\n }\n parentBase.pop();\n } else if (part === '.') {\n continue;\n } else {\n parentBase.push(part);\n }\n }\n\n return parentBase.join('/');\n }\n\n function has(id) {\n return !!(registry[id] || registry[id + '/index']);\n }\n\n requirejs.entries = requirejs._eak_seen = registry;\n requirejs.has = has;\n requirejs.unsee = function (id) {\n findModule(id, '(unsee)', false).unsee();\n };\n\n requirejs.clear = function () {\n requirejs.entries = requirejs._eak_seen = registry = dict();\n seen = dict();\n };\n\n // This code primes the JS engine for good performance by warming the\n // JIT compiler for these functions.\n define('foo', function () {});\n define('foo/bar', [], function () {});\n define('foo/asdf', ['module', 'exports', 'require'], function (module, exports, require) {\n if (require.has('foo/bar')) {\n require('foo/bar');\n }\n });\n define('foo/baz', [], define.alias('foo'));\n define('foo/quz', define.alias('foo'));\n define.alias('foo', 'foo/qux');\n define('foo/bar', ['foo', './quz', './baz', './asdf', './bar', '../foo'], function () {});\n define('foo/main', ['foo/bar'], function () {});\n define.exports('foo/exports', {});\n\n require('foo/exports');\n require('foo/main');\n require.unsee('foo/bar');\n\n requirejs.clear();\n\n if (typeof exports === 'object' && typeof module === 'object' && module.exports) {\n module.exports = { require: require, define: define };\n }\n})(this);","if (typeof FastBoot === 'undefined') {\n var preferNative = true;\n (function (originalGlobal) {\n define('fetch', ['exports', 'ember', 'rsvp'], function (exports, Ember__module, RSVP__module) {\n 'use strict';\n\n var Ember = 'default' in Ember__module ? Ember__module['default'] : Ember__module;\n var RSVP = 'default' in RSVP__module ? RSVP__module['default'] : RSVP__module;\n var Promise = RSVP.Promise;\n var supportProps = ['FormData', 'FileReader', 'Blob', 'URLSearchParams', 'Symbol', 'ArrayBuffer'];\n var polyfillProps = ['fetch', 'Headers', 'Request', 'Response', 'AbortController'];\n var combinedProps = supportProps;\n if (preferNative) {\n combinedProps = supportProps.concat(polyfillProps);\n }\n combinedProps.forEach(function (prop) {\n if (originalGlobal[prop]) {\n Object.defineProperty(exports, prop, {\n configurable: true,\n get: function () {\n return originalGlobal[prop];\n },\n set: function (v) {\n originalGlobal[prop] = v;\n }\n });\n }\n });\n\n // shadow github/fetch global object\n // https://github.com/github/fetch/blob/v3.4.0/fetch.js\n var globalThis = exports;\n // shadow mo/abortcontroller-polyfill global object\n // https://github.com/mo/abortcontroller-polyfill/blob/v1.4.0/src/abortcontroller-polyfill.js\n var self = exports;\n if (!globalThis.fetch) {\n throw new Error('fetch is not defined - maybe your browser targets are not covering everything you need?');\n }\n var pending = 0;\n function decrement(result) {\n pending--;\n return result;\n }\n if (Ember.Test) {\n Ember.Test.registerWaiter(function () {\n return pending === 0;\n });\n exports['default'] = function () {\n pending++;\n return exports.fetch.apply(originalGlobal, arguments).then(function (response) {\n response.clone().blob().then(decrement, decrement);\n return response;\n }, function (reason) {\n decrement(reason);\n throw reason;\n });\n };\n } else {\n exports['default'] = exports.fetch;\n }\n supportProps.forEach(function (prop) {\n delete exports[prop];\n });\n });\n})(typeof window !== 'undefined' && window || typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global);\n }","self.EmberENV.EXTEND_PROTOTYPES = false;\n","/* eslint-disable no-var */\n/* globals global globalThis self */\n/* eslint-disable-next-line no-unused-vars */\nvar define, require;\n(function () {\n var globalObj = typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : null;\n if (globalObj === null) {\n throw new Error('unable to locate global object');\n }\n if (typeof globalObj.define === 'function' && typeof globalObj.require === 'function') {\n define = globalObj.define;\n require = globalObj.require;\n return;\n }\n var registry = Object.create(null);\n var seen = Object.create(null);\n function missingModule(name, referrerName) {\n if (referrerName) {\n throw new Error('Could not find module ' + name + ' required by: ' + referrerName);\n } else {\n throw new Error('Could not find module ' + name);\n }\n }\n function internalRequire(_name, referrerName) {\n var name = _name;\n var mod = registry[name];\n if (!mod) {\n name = name + '/index';\n mod = registry[name];\n }\n var exports = seen[name];\n if (exports !== undefined) {\n return exports;\n }\n exports = seen[name] = {};\n if (!mod) {\n missingModule(_name, referrerName);\n }\n var deps = mod.deps;\n var callback = mod.callback;\n var reified = new Array(deps.length);\n for (var i = 0; i < deps.length; i++) {\n if (deps[i] === 'exports') {\n reified[i] = exports;\n } else if (deps[i] === 'require') {\n reified[i] = require;\n } else {\n reified[i] = require(deps[i], name);\n }\n }\n callback.apply(this, reified);\n return exports;\n }\n require = function (name) {\n return internalRequire(name, null);\n };\n define = function (name, deps, callback) {\n registry[name] = {\n deps: deps,\n callback: callback\n };\n };\n\n // setup `require` module\n require['default'] = require;\n require.has = function registryHas(moduleName) {\n return Boolean(registry[moduleName]) || Boolean(registry[moduleName + '/index']);\n };\n require._eak_seen = require.entries = registry;\n})();","define(\"@ember/-internals/browser-environment/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.window = _exports.userAgent = _exports.location = _exports.isFirefox = _exports.isChrome = _exports.history = _exports.hasDOM = void 0;\n // check if window exists and actually is the global\n var hasDom = _exports.hasDOM = typeof self === 'object' && self !== null && self.Object === Object && typeof Window !== 'undefined' && self.constructor === Window && typeof document === 'object' && document !== null && self.document === document && typeof location === 'object' && location !== null && self.location === location && typeof history === 'object' && history !== null && self.history === history && typeof navigator === 'object' && navigator !== null && self.navigator === navigator && typeof navigator.userAgent === 'string';\n const window = _exports.window = hasDom ? self : null;\n const location$1 = _exports.location = hasDom ? self.location : null;\n const history$1 = _exports.history = hasDom ? self.history : null;\n const userAgent = _exports.userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n const isChrome = _exports.isChrome = hasDom ? typeof chrome === 'object' && !(typeof opera === 'object') : false;\n const isFirefox = _exports.isFirefox = hasDom ? /Firefox|FxiOS/.test(userAgent) : false;\n});","define(\"@ember/-internals/container/index\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/owner\"], function (_exports, _utils, _debug, _owner) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.Registry = _exports.INIT_FACTORY = _exports.Container = void 0;\n _exports.getFactoryFor = getFactoryFor;\n _exports.privatize = privatize;\n _exports.setFactoryFor = setFactoryFor;\n let leakTracking;\n let containers;\n if (false /* DEBUG */) {\n // requires v8\n // chrome --js-flags=\"--allow-natives-syntax --expose-gc\"\n // node --allow-natives-syntax --expose-gc\n try {\n if (typeof gc === 'function') {\n leakTracking = (() => {\n // avoid syntax errors when --allow-natives-syntax not present\n let GetWeakSetValues = new Function('weakSet', 'return %GetWeakSetValues(weakSet, 0)');\n containers = new WeakSet();\n return {\n hasContainers() {\n gc();\n return GetWeakSetValues(containers).length > 0;\n },\n reset() {\n let values = GetWeakSetValues(containers);\n for (let i = 0; i < values.length; i++) {\n containers.delete(values[i]);\n }\n }\n };\n })();\n }\n } catch (e) {\n // ignore\n }\n }\n /**\n A container used to instantiate and cache objects.\n \n Every `Container` must be associated with a `Registry`, which is referenced\n to determine the factory and options that should be used to instantiate\n objects.\n \n The public API for `Container` is still in flux and should not be considered\n stable.\n \n @private\n @class Container\n */\n class Container {\n constructor(registry, options = {}) {\n this.registry = registry;\n this.owner = options.owner || null;\n this.cache = (0, _utils.dictionary)(options.cache || null);\n this.factoryManagerCache = (0, _utils.dictionary)(options.factoryManagerCache || null);\n this.isDestroyed = false;\n this.isDestroying = false;\n if (false /* DEBUG */) {\n this.validationCache = (0, _utils.dictionary)(options.validationCache || null);\n if (containers !== undefined) {\n containers.add(this);\n }\n }\n }\n /**\n @private\n @property registry\n @type Registry\n @since 1.11.0\n */\n /**\n @private\n @property cache\n @type InheritingDict\n */\n /**\n @private\n @property validationCache\n @type InheritingDict\n */\n /**\n Given a fullName return a corresponding instance.\n The default behavior is for lookup to return a singleton instance.\n The singleton is scoped to the container, allowing multiple containers\n to all have their own locally scoped singletons.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter');\n twitter instanceof Twitter; // => true\n // by default the container will return singletons\n let twitter2 = container.lookup('api:twitter');\n twitter2 instanceof Twitter; // => true\n twitter === twitter2; //=> true\n ```\n If singletons are not wanted, an optional flag can be provided at lookup.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter', { singleton: false });\n let twitter2 = container.lookup('api:twitter', { singleton: false });\n twitter === twitter2; //=> false\n ```\n @private\n @method lookup\n @param {String} fullName\n @param {RegisterOptions} [options]\n @return {any}\n */\n lookup(fullName, options) {\n if (this.isDestroyed) {\n throw new Error(`Cannot call \\`.lookup('${fullName}')\\` after the owner has been destroyed`);\n }\n (false && !(this.registry.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(fullName)));\n return lookup(this, this.registry.normalize(fullName), options);\n }\n /**\n A depth first traversal, destroying the container, its descendant containers and all\n their managed objects.\n @private\n @method destroy\n */\n destroy() {\n this.isDestroying = true;\n destroyDestroyables(this);\n }\n finalizeDestroy() {\n resetCache(this);\n this.isDestroyed = true;\n }\n /**\n Clear either the entire cache or just the cache for a particular key.\n @private\n @method reset\n @param {String} fullName optional key to reset; if missing, resets everything\n */\n reset(fullName) {\n if (this.isDestroyed) return;\n if (fullName === undefined) {\n destroyDestroyables(this);\n resetCache(this);\n } else {\n resetMember(this, this.registry.normalize(fullName));\n }\n }\n /**\n Returns an object that can be used to provide an owner to a\n manually created instance.\n @private\n @method ownerInjection\n @returns { Object }\n */\n ownerInjection() {\n let injection = {};\n (0, _owner.setOwner)(injection, this.owner);\n return injection;\n }\n /**\n Given a fullName, return the corresponding factory. The consumer of the factory\n is responsible for the destruction of any factory instances, as there is no\n way for the container to ensure instances are destroyed when it itself is\n destroyed.\n @public\n @method factoryFor\n @param {String} fullName\n @return {any}\n */\n factoryFor(fullName) {\n if (this.isDestroyed) {\n throw new Error(`Cannot call \\`.factoryFor('${fullName}')\\` after the owner has been destroyed`);\n }\n let normalizedName = this.registry.normalize(fullName);\n (false && !(this.registry.isValidFullName(normalizedName)) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(normalizedName)));\n return factoryFor(this, normalizedName, fullName);\n }\n }\n _exports.Container = Container;\n if (false /* DEBUG */) {\n Container._leakTracking = leakTracking;\n }\n /*\n * Wrap a factory manager in a proxy which will not permit properties to be\n * set on the manager.\n */\n function wrapManagerInDeprecationProxy(manager) {\n let validator = {\n set(_obj, prop) {\n throw new Error(`You attempted to set \"${String(prop)}\" on a factory manager created by container#factoryFor. A factory manager is a read-only construct.`);\n }\n };\n // Note:\n // We have to proxy access to the manager here so that private property\n // access doesn't cause the above errors to occur.\n let m = manager;\n let proxiedManager = {\n class: m.class,\n create(props) {\n return m.create(props);\n }\n };\n return new Proxy(proxiedManager, validator);\n }\n function isSingleton(container, fullName) {\n return container.registry.getOption(fullName, 'singleton') !== false;\n }\n function isInstantiatable(container, fullName) {\n return container.registry.getOption(fullName, 'instantiate') !== false;\n }\n function lookup(container, fullName, options = {}) {\n let normalizedName = fullName;\n if (options.singleton === true || options.singleton === undefined && isSingleton(container, fullName)) {\n let cached = container.cache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n }\n return instantiateFactory(container, normalizedName, fullName, options);\n }\n function factoryFor(container, normalizedName, fullName) {\n let cached = container.factoryManagerCache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n let factory = container.registry.resolve(normalizedName);\n if (factory === undefined) {\n return;\n }\n if (false /* DEBUG */ && factory && typeof factory._onLookup === 'function') {\n factory._onLookup(fullName);\n }\n let manager = new InternalFactoryManager(container, factory, fullName, normalizedName);\n if (false /* DEBUG */) {\n manager = wrapManagerInDeprecationProxy(manager);\n }\n container.factoryManagerCache[normalizedName] = manager;\n return manager;\n }\n function isSingletonClass(container, fullName, {\n instantiate,\n singleton\n }) {\n return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n }\n function isSingletonInstance(container, fullName, {\n instantiate,\n singleton\n }) {\n return singleton !== false && instantiate !== false && (singleton === true || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n }\n function isFactoryClass(container, fullname, {\n instantiate,\n singleton\n }) {\n return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n }\n function isFactoryInstance(container, fullName, {\n instantiate,\n singleton\n }) {\n return instantiate !== false && (singleton === false || !isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n }\n function instantiateFactory(container, normalizedName, fullName, options) {\n let factoryManager = factoryFor(container, normalizedName, fullName);\n if (factoryManager === undefined) {\n return;\n }\n // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n // By default majority of objects fall into this case\n if (isSingletonInstance(container, fullName, options)) {\n let instance = container.cache[normalizedName] = factoryManager.create();\n // if this lookup happened _during_ destruction (emits a deprecation, but\n // is still possible) ensure that it gets destroyed\n if (container.isDestroying) {\n if (typeof instance.destroy === 'function') {\n instance.destroy();\n }\n }\n return instance;\n }\n // SomeClass { singleton: false, instantiate: true }\n if (isFactoryInstance(container, fullName, options)) {\n return factoryManager.create();\n }\n // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n return factoryManager.class;\n }\n throw new Error('Could not create factory');\n }\n function destroyDestroyables(container) {\n let cache = container.cache;\n let keys = Object.keys(cache);\n for (let key of keys) {\n let value = cache[key];\n (false && !(value) && (0, _debug.assert)('has cached value', value));\n if (value.destroy) {\n value.destroy();\n }\n }\n }\n function resetCache(container) {\n container.cache = (0, _utils.dictionary)(null);\n container.factoryManagerCache = (0, _utils.dictionary)(null);\n }\n function resetMember(container, fullName) {\n let member = container.cache[fullName];\n delete container.factoryManagerCache[fullName];\n if (member) {\n delete container.cache[fullName];\n if (member.destroy) {\n member.destroy();\n }\n }\n }\n const INIT_FACTORY = _exports.INIT_FACTORY = Symbol('INIT_FACTORY');\n function getFactoryFor(obj) {\n // SAFETY: since we know `obj` is an `object`, we also know we can safely ask\n // whether a key is set on it.\n return obj[INIT_FACTORY];\n }\n function setFactoryFor(obj, factory) {\n // SAFETY: since we know `obj` is an `object`, we also know we can safely set\n // a key it safely at this location. (The only way this could be blocked is if\n // someone has gone out of their way to use `Object.defineProperty()` with our\n // internal-only symbol and made it `writable: false`.)\n obj[INIT_FACTORY] = factory;\n }\n class InternalFactoryManager {\n constructor(container, factory, fullName, normalizedName) {\n this.container = container;\n this.owner = container.owner;\n this.class = factory;\n this.fullName = fullName;\n this.normalizedName = normalizedName;\n this.madeToString = undefined;\n this.injections = undefined;\n }\n toString() {\n if (this.madeToString === undefined) {\n this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n }\n return this.madeToString;\n }\n create(options) {\n let {\n container\n } = this;\n if (container.isDestroyed) {\n throw new Error(`Cannot create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);\n }\n let props = options ? {\n ...options\n } : {};\n (0, _owner.setOwner)(props, container.owner);\n setFactoryFor(props, this);\n if (false /* DEBUG */) {\n let lazyInjections;\n let validationCache = this.container.validationCache;\n // Ensure that all lazy injections are valid at instantiation time\n if (!validationCache[this.fullName] && this.class && typeof this.class._lazyInjections === 'function') {\n lazyInjections = this.class._lazyInjections();\n lazyInjections = this.container.registry.normalizeInjectionsHash(lazyInjections);\n this.container.registry.validateInjections(lazyInjections);\n }\n validationCache[this.fullName] = true;\n (false && !(typeof this.class.create === 'function') && (0, _debug.assert)(`Failed to create an instance of '${this.normalizedName}'. Most likely an improperly defined class or an invalid module export.`, typeof this.class.create === 'function'));\n }\n return this.class.create(props);\n }\n }\n const VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;\n /**\n A registry used to store factory and option information keyed\n by type.\n \n A `Registry` stores the factory and option information needed by a\n `Container` to instantiate and cache objects.\n \n The API for `Registry` is still in flux and should not be considered stable.\n \n @private\n @class Registry\n @since 1.11.0\n */\n class Registry {\n constructor(options = {}) {\n this.fallback = options.fallback || null;\n this.resolver = options.resolver || null;\n this.registrations = (0, _utils.dictionary)(options.registrations || null);\n this._normalizeCache = (0, _utils.dictionary)(null);\n this._resolveCache = (0, _utils.dictionary)(null);\n this._failSet = new Set();\n this._options = (0, _utils.dictionary)(null);\n this._typeOptions = (0, _utils.dictionary)(null);\n }\n /**\n A backup registry for resolving registrations when no matches can be found.\n @private\n @property fallback\n @type Registry\n */\n /**\n An object that has a `resolve` method that resolves a name.\n @private\n @property resolver\n @type Resolver\n */\n /**\n @private\n @property registrations\n @type InheritingDict\n */\n /**\n @private\n @property _normalizeCache\n @type InheritingDict\n */\n /**\n @private\n @property _resolveCache\n @type InheritingDict\n */\n /**\n @private\n @property _options\n @type InheritingDict\n */\n /**\n @private\n @property _typeOptions\n @type InheritingDict\n */\n /**\n Creates a container based on this registry.\n @private\n @method container\n @param {Object} options\n @return {Container} created container\n */\n container(options) {\n return new Container(this, options);\n }\n register(fullName, factory, options = {}) {\n (false && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n (false && !(factory !== undefined) && (0, _debug.assert)(`Attempting to register an unknown factory: '${fullName}'`, factory !== undefined));\n let normalizedName = this.normalize(fullName);\n (false && !(!this._resolveCache[normalizedName]) && (0, _debug.assert)(`Cannot re-register: '${fullName}', as it has already been resolved.`, !this._resolveCache[normalizedName]));\n this._failSet.delete(normalizedName);\n this.registrations[normalizedName] = factory;\n this._options[normalizedName] = options;\n }\n /**\n Unregister a fullName\n ```javascript\n let registry = new Registry();\n registry.register('model:user', User);\n registry.resolve('model:user').create() instanceof User //=> true\n registry.unregister('model:user')\n registry.resolve('model:user') === undefined //=> true\n ```\n @private\n @method unregister\n @param {String} fullName\n */\n unregister(fullName) {\n (false && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n let normalizedName = this.normalize(fullName);\n delete this.registrations[normalizedName];\n delete this._resolveCache[normalizedName];\n delete this._options[normalizedName];\n this._failSet.delete(normalizedName);\n }\n /**\n Given a fullName return the corresponding factory.\n By default `resolve` will retrieve the factory from\n the registry.\n ```javascript\n let registry = new Registry();\n registry.register('api:twitter', Twitter);\n registry.resolve('api:twitter') // => Twitter\n ```\n Optionally the registry can be provided with a custom resolver.\n If provided, `resolve` will first provide the custom resolver\n the opportunity to resolve the fullName, otherwise it will fallback\n to the registry.\n ```javascript\n let registry = new Registry();\n registry.resolver = function(fullName) {\n // lookup via the module system of choice\n };\n // the twitter factory is added to the module system\n registry.resolve('api:twitter') // => Twitter\n ```\n @private\n @method resolve\n @param {String} fullName\n @return {Function} fullName's factory\n */\n resolve(fullName) {\n let factory = resolve(this, this.normalize(fullName));\n if (factory === undefined && this.fallback !== null) {\n factory = this.fallback.resolve(fullName);\n }\n return factory;\n }\n /**\n A hook that can be used to describe how the resolver will\n attempt to find the factory.\n For example, the default Ember `.describe` returns the full\n class name (including namespace) where Ember's resolver expects\n to find the `fullName`.\n @private\n @method describe\n @param {String} fullName\n @return {string} described fullName\n */\n describe(fullName) {\n if (this.resolver !== null && this.resolver.lookupDescription) {\n return this.resolver.lookupDescription(fullName);\n } else if (this.fallback !== null) {\n return this.fallback.describe(fullName);\n } else {\n return fullName;\n }\n }\n /**\n A hook to enable custom fullName normalization behavior\n @private\n @method normalizeFullName\n @param {String} fullName\n @return {string} normalized fullName\n */\n normalizeFullName(fullName) {\n if (this.resolver !== null && this.resolver.normalize) {\n return this.resolver.normalize(fullName);\n } else if (this.fallback !== null) {\n return this.fallback.normalizeFullName(fullName);\n } else {\n return fullName;\n }\n }\n /**\n Normalize a fullName based on the application's conventions\n @private\n @method normalize\n @param {String} fullName\n @return {string} normalized fullName\n */\n normalize(fullName) {\n return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n }\n /**\n @method makeToString\n @private\n @param {any} factory\n @param {string} fullName\n @return {function} toString function\n */\n makeToString(factory, fullName) {\n if (this.resolver !== null && this.resolver.makeToString) {\n return this.resolver.makeToString(factory, fullName);\n } else if (this.fallback !== null) {\n return this.fallback.makeToString(factory, fullName);\n } else {\n return typeof factory === 'string' ? factory : factory.name ?? '(unknown class)';\n }\n }\n /**\n Given a fullName check if the container is aware of its factory\n or singleton instance.\n @private\n @method has\n @param {String} fullName\n @param {Object} [options]\n @param {String} [options.source] the fullname of the request source (used for local lookups)\n @return {Boolean}\n */\n has(fullName) {\n if (!this.isValidFullName(fullName)) {\n return false;\n }\n return has(this, this.normalize(fullName));\n }\n /**\n Allow registering options for all factories of a type.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n // if all of type `connection` must not be singletons\n registry.optionsForType('connection', { singleton: false });\n registry.register('connection:twitter', TwitterConnection);\n registry.register('connection:facebook', FacebookConnection);\n let twitter = container.lookup('connection:twitter');\n let twitter2 = container.lookup('connection:twitter');\n twitter === twitter2; // => false\n let facebook = container.lookup('connection:facebook');\n let facebook2 = container.lookup('connection:facebook');\n facebook === facebook2; // => false\n ```\n @private\n @method optionsForType\n @param {String} type\n @param {Object} options\n */\n optionsForType(type, options) {\n this._typeOptions[type] = options;\n }\n getOptionsForType(type) {\n let optionsForType = this._typeOptions[type];\n if (optionsForType === undefined && this.fallback !== null) {\n optionsForType = this.fallback.getOptionsForType(type);\n }\n return optionsForType;\n }\n /**\n @private\n @method options\n @param {String} fullName\n @param {Object} options\n */\n options(fullName, options) {\n let normalizedName = this.normalize(fullName);\n this._options[normalizedName] = options;\n }\n getOptions(fullName) {\n let normalizedName = this.normalize(fullName);\n let options = this._options[normalizedName];\n if (options === undefined && this.fallback !== null) {\n options = this.fallback.getOptions(fullName);\n }\n return options;\n }\n getOption(fullName, optionName) {\n let options = this._options[fullName];\n if (options !== undefined && options[optionName] !== undefined) {\n return options[optionName];\n }\n let type = fullName.split(':')[0];\n (false && !(type) && (0, _debug.assert)('has type', type)); // split always will have at least one value\n options = this._typeOptions[type];\n if (options && options[optionName] !== undefined) {\n return options[optionName];\n } else if (this.fallback !== null) {\n return this.fallback.getOption(fullName, optionName);\n }\n return undefined;\n }\n /**\n @private\n @method knownForType\n @param {String} type the type to iterate over\n */\n knownForType(type) {\n let localKnown = (0, _utils.dictionary)(null);\n let registeredNames = Object.keys(this.registrations);\n for (let fullName of registeredNames) {\n let itemType = fullName.split(':')[0];\n if (itemType === type) {\n localKnown[fullName] = true;\n }\n }\n let fallbackKnown, resolverKnown;\n if (this.fallback !== null) {\n fallbackKnown = this.fallback.knownForType(type);\n }\n if (this.resolver !== null && this.resolver.knownForType) {\n resolverKnown = this.resolver.knownForType(type);\n }\n return Object.assign({}, fallbackKnown, localKnown, resolverKnown);\n }\n isValidFullName(fullName) {\n return VALID_FULL_NAME_REGEXP.test(fullName);\n }\n }\n _exports.Registry = Registry;\n if (false /* DEBUG */) {\n const proto = Registry.prototype;\n proto.normalizeInjectionsHash = function (hash) {\n let injections = [];\n for (let key in hash) {\n if (Object.prototype.hasOwnProperty.call(hash, key)) {\n let value = hash[key];\n (false && !(value) && (0, _debug.assert)('has value', value));\n let {\n specifier\n } = value;\n (false && !(this.isValidFullName(specifier)) && (0, _debug.assert)(`Expected a proper full name, given '${specifier}'`, this.isValidFullName(specifier)));\n injections.push({\n property: key,\n specifier\n });\n }\n }\n return injections;\n };\n proto.validateInjections = function (injections) {\n if (!injections) {\n return;\n }\n for (let injection of injections) {\n let {\n specifier\n } = injection;\n (false && !(this.has(specifier)) && (0, _debug.assert)(`Attempting to inject an unknown injection: '${specifier}'`, this.has(specifier)));\n }\n };\n }\n function resolve(registry, _normalizedName) {\n let normalizedName = _normalizedName;\n let cached = registry._resolveCache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n if (registry._failSet.has(normalizedName)) {\n return;\n }\n let resolved;\n if (registry.resolver) {\n resolved = registry.resolver.resolve(normalizedName);\n }\n if (resolved === undefined) {\n resolved = registry.registrations[normalizedName];\n }\n if (resolved === undefined) {\n registry._failSet.add(normalizedName);\n } else {\n registry._resolveCache[normalizedName] = resolved;\n }\n return resolved;\n }\n function has(registry, fullName) {\n return registry.resolve(fullName) !== undefined;\n }\n const privateNames = (0, _utils.dictionary)(null);\n const privateSuffix = `${Math.random()}${Date.now()}`.replace('.', '');\n function privatize([fullName]) {\n (false && !(arguments.length === 1 && fullName) && (0, _debug.assert)('has a single string argument', arguments.length === 1 && fullName));\n let name = privateNames[fullName];\n if (name) {\n return name;\n }\n let [type, rawName] = fullName.split(':');\n return privateNames[fullName] = (0, _utils.intern)(`${type}:${rawName}-${privateSuffix}`);\n }\n});","define(\"@ember/-internals/deprecations/index\", [\"exports\", \"@ember/-internals/environment\", \"@ember/version\", \"@ember/debug\"], function (_exports, _environment, _version, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.DEPRECATIONS = void 0;\n _exports.deprecateUntil = deprecateUntil;\n _exports.emberVersionGte = emberVersionGte;\n _exports.isRemoved = isRemoved;\n function isEnabled(options) {\n return Object.hasOwnProperty.call(options.since, 'enabled') || _environment.ENV._ALL_DEPRECATIONS_ENABLED;\n }\n let numEmberVersion = parseFloat(_environment.ENV._OVERRIDE_DEPRECATION_VERSION ?? _version.VERSION);\n /* until must only be a minor version or major version */\n function emberVersionGte(until, emberVersion = numEmberVersion) {\n let significantUntil = until.replace(/(\\.0+)/g, '');\n return emberVersion >= parseFloat(significantUntil);\n }\n function isRemoved(options) {\n return emberVersionGte(options.until);\n }\n function deprecation(options) {\n return {\n options,\n test: !isEnabled(options),\n isEnabled: isEnabled(options) || isRemoved(options),\n isRemoved: isRemoved(options)\n };\n }\n /*\n To add a deprecation, you must add a new entry to the `DEPRECATIONS` object.\n The entry should be an object with the following properties:\n \n * `id` (required): A string that uniquely identifies the deprecation. This\n should be a short, descriptive name, typically dasherized.\n * `for` (required): The string `ember-source` -- every deprecation from this\n package is for `ember-source`.\n * `since` (required): An object with `available` and `enabled`. `available` is\n the first version of Ember that the deprecation is available in. `enabled` is\n the version of Ember that the deprecation was first enabled. This is used as\n a feature flag deprecations. For public APIs, the `enabled` value is added\n only once the deprecation RFC is [Ready for Release](https://github.com/emberjs/rfcs#ready-for-release).\n * `until` (required): The version of Ember that the deprecation will be removed\n * `url` (required): A URL to the deprecation guide for the deprecation. This\n URL can be constructed in advance of the deprecation being added to the\n [deprecation app](https://github.com/ember-learn/deprecation-app) by\n following this format: `https://deprecations.emberjs.com/deprecations/{{id}}`.\n \n For example:\n `deprecate` should then be called using the entry from the `DEPRECATIONS` object.\n \n ```ts\n import { DEPRECATIONS } from '@ember/-internals/deprecations';\n //...\n \n deprecateUntil(message, DEPRECATIONS.MY_DEPRECATION);\n ```\n \n `expectDeprecation` should also use the DEPRECATIONS object, but it should be noted\n that it uses `isEnabled` instead of `test` because the expectations of `expectDeprecation`\n are the opposite of `test`.\n \n ```ts\n expectDeprecation(\n () => {\n assert.equal(foo, bar(), 'foo is equal to bar'); // something that triggers the deprecation\n },\n /matchesMessage/,\n DEPRECATIONS.MY_DEPRECATION.isEnabled\n );\n ```\n \n Tests can be conditionally run based on whether a deprecation is enabled or not:\n \n ```ts\n [`${testUnless(DEPRECATIONS.MY_DEPRECATION.isRemoved)} specific deprecated feature tested only in this test`]\n ```\n \n This test will be skipped when the MY_DEPRECATION is removed.\n When adding a deprecation, we need to guard all the code that will eventually be removed, including tests.\n For tests that are not specifically testing the deprecated feature, we need to figure out how to\n test the behavior without encountering the deprecated feature, just as users would.\n */\n const DEPRECATIONS = _exports.DEPRECATIONS = {\n DEPRECATE_IMPLICIT_ROUTE_MODEL: deprecation({\n id: 'deprecate-implicit-route-model',\n for: 'ember-source',\n since: {\n available: '5.3.0',\n enabled: '5.3.0'\n },\n until: '6.0.0',\n url: 'https://deprecations.emberjs.com/v5.x/#toc_deprecate-implicit-route-model'\n }),\n DEPRECATE_TEMPLATE_ACTION: deprecation({\n id: 'template-action',\n url: 'https://deprecations.emberjs.com/id/template-action',\n until: '6.0.0',\n for: 'ember-source',\n since: {\n available: '5.9.0',\n enabled: '5.9.0'\n }\n })\n };\n function deprecateUntil(message, deprecation) {\n const {\n options\n } = deprecation;\n (false && !(Boolean(options.for === 'ember-source')) && (0, _debug.assert)('deprecateUntil must only be called for ember-source', Boolean(options.for === 'ember-source')));\n if (deprecation.isRemoved) {\n throw new Error(`The API deprecated by ${options.id} was removed in ember-source ${options.until}. The message was: ${message}. Please see ${options.url} for more details.`);\n }\n (false && !(deprecation.test) && (0, _debug.deprecate)(message, deprecation.test, options));\n }\n});","define(\"@ember/-internals/environment/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.context = _exports.ENV = void 0;\n _exports.getENV = getENV;\n _exports.getLookup = getLookup;\n _exports.global = void 0;\n _exports.setLookup = setLookup;\n // from lodash to catch fake globals\n function checkGlobal(value) {\n return value && value.Object === Object ? value : undefined;\n }\n // element ids can ruin global miss checks\n function checkElementIdShadowing(value) {\n return value && value.nodeType === undefined ? value : undefined;\n }\n // export real global\n var global$1 = _exports.global = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext ||\n // set before strict mode in Ember loader/wrapper\n new Function('return this')(); // eval outside of strict mode\n\n // legacy imports/exports/lookup stuff (should we keep this??)\n const context = _exports.context = function (global, Ember) {\n return Ember === undefined ? {\n imports: global,\n exports: global,\n lookup: global\n } : {\n // import jQuery\n imports: Ember.imports || global,\n // export Ember\n exports: Ember.exports || global,\n // search for Namespaces\n lookup: Ember.lookup || global\n };\n }(global$1, global$1.Ember);\n function getLookup() {\n return context.lookup;\n }\n function setLookup(value) {\n context.lookup = value;\n }\n\n /**\n The hash of environment variables used to control various configuration\n settings. To specify your own or override default settings, add the\n desired properties to a global hash named `EmberENV` (or `ENV` for\n backwards compatibility with earlier versions of Ember). The `EmberENV`\n hash must be created before loading Ember.\n \n @class EmberENV\n @type Object\n @public\n */\n const ENV = _exports.ENV = {\n ENABLE_OPTIONAL_FEATURES: false,\n /**\n Determines whether Ember should add to `Array`\n native object prototypes, a few extra methods in order to provide a more\n friendly API.\n We generally recommend leaving this option set to true however, if you need\n to turn it off, you can add the configuration property\n `EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.\n Note, when disabled (the default configuration for Ember Addons), you will\n instead have to access all methods and functions from the Ember\n namespace.\n @property EXTEND_PROTOTYPES\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n EXTEND_PROTOTYPES: {\n Array: true\n },\n /**\n The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n a full stack trace during deprecation warnings.\n @property LOG_STACKTRACE_ON_DEPRECATION\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n LOG_STACKTRACE_ON_DEPRECATION: true,\n /**\n The `LOG_VERSION` property, when true, tells Ember to log versions of all\n dependent libraries in use.\n @property LOG_VERSION\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n LOG_VERSION: true,\n RAISE_ON_DEPRECATION: false,\n STRUCTURED_PROFILE: false,\n /**\n Whether to insert a `
` wrapper around the\n application template. See RFC #280.\n This is not intended to be set directly, as the implementation may change in\n the future. Use `@ember/optional-features` instead.\n @property _APPLICATION_TEMPLATE_WRAPPER\n @for EmberENV\n @type Boolean\n @default true\n @private\n */\n _APPLICATION_TEMPLATE_WRAPPER: true,\n /**\n Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\n components semantics) for template-only components. See RFC #278.\n This is not intended to be set directly, as the implementation may change in\n the future. Use `@ember/optional-features` instead.\n @property _TEMPLATE_ONLY_GLIMMER_COMPONENTS\n @for EmberENV\n @type Boolean\n @default false\n @private\n */\n _TEMPLATE_ONLY_GLIMMER_COMPONENTS: false,\n /**\n Whether to perform extra bookkeeping needed to make the `captureRenderTree`\n API work.\n This has to be set before the ember JavaScript code is evaluated. This is\n usually done by setting `window.EmberENV = { _DEBUG_RENDER_TREE: true };`\n before the \"vendor\" ` + + + + + + + + + + + + \ No newline at end of file diff --git a/index.html.br b/index.html.br new file mode 100644 index 00000000..905c59ae Binary files /dev/null and b/index.html.br differ diff --git a/index.html.gz b/index.html.gz new file mode 100644 index 00000000..d2ca3d4b Binary files /dev/null and b/index.html.gz differ diff --git a/manifest.webmanifest b/manifest.webmanifest new file mode 100644 index 00000000..68a3715a --- /dev/null +++ b/manifest.webmanifest @@ -0,0 +1 @@ +{"name":"rustacean.info","short_name":"crates.io","description":"crates.io is the default crate host for Rust.","start_url":"/","display":"standalone","background_color":"#3b6837","theme_color":"#f9f7ec","icons":[{"src":"/assets/ferris.png","sizes":"227x227","type":"image/png"}]} diff --git a/opensearch.xml b/opensearch.xml new file mode 100644 index 00000000..f5f5b3f4 --- /dev/null +++ b/opensearch.xml @@ -0,0 +1,7 @@ + + + rustacean.info + rustacean.info + https://rustacean.info/assets/ferris.png + + diff --git a/opensearch.xml.br b/opensearch.xml.br new file mode 100644 index 00000000..cdc30659 --- /dev/null +++ b/opensearch.xml.br @@ -0,0 +1,2 @@ + bMN\$;Egv˗/Hf MRֹZ\H_e`@0>L +nխ')_,d$=aQD `.ΜP OH%ll0da[wTe Ϝg\׸7K~-{ t2;B՟gT \ No newline at end of file diff --git a/opensearch.xml.gz b/opensearch.xml.gz new file mode 100644 index 00000000..e4be0810 Binary files /dev/null and b/opensearch.xml.gz differ diff --git a/related-articles.json b/related-articles.json new file mode 100644 index 00000000..3921e9ee --- /dev/null +++ b/related-articles.json @@ -0,0 +1,74 @@ +[ + { + "title": "This Week in Rust 557", + "link": "https://this-week-in-rust.org/blog/2024/07/24/this-week-in-rust-557/" + }, + { + "title": "This Week in Rust 556", + "link": "https://this-week-in-rust.org/blog/2024/07/17/this-week-in-rust-556/" + }, + { + "title": "This Week in Rust 555", + "link": "https://this-week-in-rust.org/blog/2024/07/10/this-week-in-rust-555/" + }, + { + "title": "This Week in Rust 554", + "link": "https://this-week-in-rust.org/blog/2024/07/03/this-week-in-rust-554/" + }, + { + "title": "What's new in SeaORM 1.0-rc.x", + "link": "https://www.sea-ql.org/blog/2024-04-08-whats-new-in-seaorm-1.0-rc.x/" + }, + { + "title": "What's new in SeaORM 0.12.x", + "link": "https://www.sea-ql.org/blog/2024-01-23-whats-new-in-seaorm-0.12.x/" + }, + { + "title": "Announcing SeaORM 0.12 🐚", + "link": "https://www.sea-ql.org/blog/2023-08-12-announcing-seaorm-0.12/" + }, + { + "title": "What's new in SeaORM 0.11.0", + "link": "https://www.sea-ql.org/blog/2023-02-08-whats-new-in-seaorm-0.11.0/" + }, + { + "title": "What's new in SeaORM 0.10.x", + "link": "https://www.sea-ql.org/blog/2022-11-10-whats-new-in-0.10.x/" + }, + { + "title": "What's new in SeaORM 0.9.0", + "link": "https://www.sea-ql.org/blog/2022-07-17-whats-new-in-0.9.0/" + }, + { + "title": "What's new in SeaORM 0.8.0", + "link": "https://www.sea-ql.org/blog/2022-05-15-whats-new-in-0.8.0/" + }, + { + "title": "What's new in SeaORM 0.7.0", + "link": "https://www.sea-ql.org/blog/2022-03-26-whats-new-in-0.7.0/" + }, + { + "title": "What's new in SeaORM 0.6.0", + "link": "https://www.sea-ql.org/blog/2022-02-07-whats-new-in-0.6.0/" + }, + { + "title": "What's new in SeaORM 0.5.0", + "link": "https://www.sea-ql.org/blog/2022-01-01-whats-new-in-0.5.0/" + }, + { + "title": "What's new in SeaORM 0.4.0", + "link": "https://www.sea-ql.org/blog/2021-11-19-whats-new-in-0.4.0/" + }, + { + "title": "What's new in SeaORM 0.3.0", + "link": "https://www.sea-ql.org/blog/2021-10-15-whats-new-in-0.3.0/" + }, + { + "title": "What's new in SeaORM 0.2.4", + "link": "https://www.sea-ql.org/blog/2021-10-01-whats-new-in-0.2.4/" + }, + { + "title": "Introducing SeaORM 🐚", + "link": "https://www.sea-ql.org/blog/2021-09-20-introducing-sea-orm/" + } +] \ No newline at end of file diff --git a/related-articles/_CONTRIBUTING.md b/related-articles/_CONTRIBUTING.md new file mode 100644 index 00000000..2c7a50a7 --- /dev/null +++ b/related-articles/_CONTRIBUTING.md @@ -0,0 +1,26 @@ +## How to contribute related articles? + +### If JSON file exists + +Visit [https://github.com/billy1624/crates.io/edit/rustacean.info/public/related-articles/CRATE_ID.json](https://github.com/billy1624/crates.io/edit/rustacean.info/public/related-articles/CRATE_ID.json) and replace the `CRATE_ID` with your desire crate ID. If the file exists, you can simply edit the JSON file and add more related articles into the JSON array. + +### If JSON file does not exist + +If the above edit link shows "404 not found", then please create a new file with crate ID as the file name. + +Visit [https://github.com/billy1624/crates.io/new/rustacean.info/public/related-articles](https://github.com/billy1624/crates.io/new/rustacean.info/public/related-articles), and name the file as `CRATE_ID.json`. + +Here is the sample JSON for your reference: + +```json +[ + { + "title": "This Week in Rust 556", + "link": "https://this-week-in-rust.org/blog/2024/07/17/this-week-in-rust-556/" + }, + { + "title": "This Week in Rust 555", + "link": "https://this-week-in-rust.org/blog/2024/07/10/this-week-in-rust-555/" + } +] +``` diff --git a/related-articles/sea-orm.json b/related-articles/sea-orm.json new file mode 100644 index 00000000..b8d6e5fc --- /dev/null +++ b/related-articles/sea-orm.json @@ -0,0 +1,58 @@ +[ + { + "title": "What's new in SeaORM 1.0-rc.x", + "link": "https://www.sea-ql.org/blog/2024-04-08-whats-new-in-seaorm-1.0-rc.x/" + }, + { + "title": "What's new in SeaORM 0.12.x", + "link": "https://www.sea-ql.org/blog/2024-01-23-whats-new-in-seaorm-0.12.x/" + }, + { + "title": "Announcing SeaORM 0.12 🐚", + "link": "https://www.sea-ql.org/blog/2023-08-12-announcing-seaorm-0.12/" + }, + { + "title": "What's new in SeaORM 0.11.0", + "link": "https://www.sea-ql.org/blog/2023-02-08-whats-new-in-seaorm-0.11.0/" + }, + { + "title": "What's new in SeaORM 0.10.x", + "link": "https://www.sea-ql.org/blog/2022-11-10-whats-new-in-0.10.x/" + }, + { + "title": "What's new in SeaORM 0.9.0", + "link": "https://www.sea-ql.org/blog/2022-07-17-whats-new-in-0.9.0/" + }, + { + "title": "What's new in SeaORM 0.8.0", + "link": "https://www.sea-ql.org/blog/2022-05-15-whats-new-in-0.8.0/" + }, + { + "title": "What's new in SeaORM 0.7.0", + "link": "https://www.sea-ql.org/blog/2022-03-26-whats-new-in-0.7.0/" + }, + { + "title": "What's new in SeaORM 0.6.0", + "link": "https://www.sea-ql.org/blog/2022-02-07-whats-new-in-0.6.0/" + }, + { + "title": "What's new in SeaORM 0.5.0", + "link": "https://www.sea-ql.org/blog/2022-01-01-whats-new-in-0.5.0/" + }, + { + "title": "What's new in SeaORM 0.4.0", + "link": "https://www.sea-ql.org/blog/2021-11-19-whats-new-in-0.4.0/" + }, + { + "title": "What's new in SeaORM 0.3.0", + "link": "https://www.sea-ql.org/blog/2021-10-15-whats-new-in-0.3.0/" + }, + { + "title": "What's new in SeaORM 0.2.4", + "link": "https://www.sea-ql.org/blog/2021-10-01-whats-new-in-0.2.4/" + }, + { + "title": "Introducing SeaORM 🐚", + "link": "https://www.sea-ql.org/blog/2021-09-20-introducing-sea-orm/" + } +] \ No newline at end of file diff --git a/robots.txt b/robots.txt new file mode 100644 index 00000000..f5916452 --- /dev/null +++ b/robots.txt @@ -0,0 +1,3 @@ +# http://www.robotstxt.org +User-agent: * +Disallow: diff --git a/robots.txt.br b/robots.txt.br new file mode 100644 index 00000000..a4897d1e --- /dev/null +++ b/robots.txt.br @@ -0,0 +1,4 @@ + # http://www.robotstxt.org +User-agent: * +Disallow: + \ No newline at end of file diff --git a/robots.txt.gz b/robots.txt.gz new file mode 100644 index 00000000..ee9ba387 Binary files /dev/null and b/robots.txt.gz differ