Home
last modified time | relevance | path

Searched refs:labelId (Results 1 – 16 of 16) sorted by relevance

/plugin/authgooglesheets/vendor/google/apiclient-services/src/ShoppingContent/
H A DAccountLabel.php33 public $labelId; variable in Google\\Service\\ShoppingContent\\AccountLabel
74 public function setLabelId($labelId) argument
76 $this->labelId = $labelId;
83 return $this->labelId;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/ShoppingContent/Resource/
H A DAccountsLabels.php53 * @param string $labelId Required. The id of the label to delete.
56 public function delete($accountId, $labelId, $optParams = []) argument
58 $params = ['accountId' => $accountId, 'labelId' => $labelId];
90 * @param string $labelId Required. The id of the label to update.
95 public function patch($accountId, $labelId, AccountLabel $postBody, $optParams = []) argument
97 $params = ['accountId' => $accountId, 'labelId' => $labelId, 'postBody' => $postBody];
/plugin/searchtablejs/
H A Dtablefilter.js802 var labelId = t.tf_colOperation["id"];
808 if( (typeof labelId).toLowerCase()=="object"
856 if( grabEBI( labelId[i] )!=undefined )
861 grabEBI( labelId[i] ).innerHTML = result;
864 grabEBI( labelId[i] ).value = result;
867 var oldnode = grabEBI( labelId[i] ).firstChild;
869 grabEBI( labelId[i] ).replaceChild( txtnode,oldnode );
877 grabEBI( labelId[i] ).innerHTML = result.toFixed( precision );
/plugin/searchtablejs/TableFilter_EN/
H A Dtablefilter.js802 var labelId = t.tf_colOperation["id"];
808 if( (typeof labelId).toLowerCase()=="object"
856 if( grabEBI( labelId[i] )!=undefined )
861 grabEBI( labelId[i] ).innerHTML = result;
864 grabEBI( labelId[i] ).value = result;
867 var oldnode = grabEBI( labelId[i] ).firstChild;
869 grabEBI( labelId[i] ).replaceChild( txtnode,oldnode );
877 grabEBI( labelId[i] ).innerHTML = result.toFixed( precision );
/plugin/ckgdoku/ckeditor/plugins/smiley/dialogs/
H A Dsmiley.js.unc133 var labelId = CKEDITOR.tools.getNextId() + '_smiley_emtions_label';
136 '<span id="' + labelId + '" class="cke_voice_label">' + lang.options + '</span>',
137 …'<table role="listbox" aria-labelledby="' + labelId + '" style="width:100%;height:100%;border-coll…
/plugin/ckgedit/ckeditor/plugins/smiley/dialogs/
H A Dsmiley.js.unc133 var labelId = CKEDITOR.tools.getNextId() + '_smiley_emtions_label';
136 '<span id="' + labelId + '" class="cke_voice_label">' + lang.options + '</span>',
137 …'<table role="listbox" aria-labelledby="' + labelId + '" style="width:100%;height:100%;border-coll…
/plugin/authgooglesheets/vendor/google/apiclient-services/src/
H A DShoppingContent.php350 'path' => 'accounts/{accountId}/labels/{labelId}',
358 'labelId' => [
383 'path' => 'accounts/{accountId}/labels/{labelId}',
391 'labelId' => [
H A DGmail.php276 'labelId' => [
/plugin/ckgdoku/ckeditor/
H A Dckeditor.js496 …ement:function(b,c,d,e){if(!(4>arguments.length)){var f=a.call(this,c);f.labelId=CKEDITOR.tools.ge…
497labelId);CKEDITOR.ui.dialog.uiElement.call(this,b,c,d,"div",null,k,function(){var a=[],d=c.require…
498 …",html:'\x3clabel class\x3d"cke_dialog_ui_labeled_label'+d+'" id\x3d"'+f.labelId+'" for\x3d"'+f.in…
500 …idth:'+c.width+'" ');a.push("\x3e\x3cinput ");k["aria-labelledby"]=this._.labelId;this._.required&&
502 …og.labeledElement.call(this,b,c,e,function(){l["aria-labelledby"]=this._.labelId;this._.required&&…
508 …:e.inputId,"class":"cke_dialog_ui_input_select","aria-labelledby":this._.labelId};d.push('\x3cdiv …
514 …g.uiElement,{setLabel:function(a){var b=CKEDITOR.document.getById(this._.labelId);1>b.getChildCoun…
515 CKEDITOR.document.getById(this._.labelId);return!a||1>a.getChildCount()?"":a.getChild(0).getText()}…
525 …ion\x3d"',CKEDITOR.tools.htmlEncode(d.action),'"\x3e\x3clabel id\x3d"',b.labelId,'" for\x3d"',x,'"…
526 '\x3c/label\x3e\x3cinput style\x3d"width:100%" id\x3d"',x,'" aria-labelledby\x3d"',b.labelId,'" typ…
/plugin/ckgedit/ckeditor/
H A Dckeditor.js543 …ement:function(b,a,d,f){if(!(4>arguments.length)){var c=h.call(this,a);c.labelId=CKEDITOR.tools.ge…
544labelId);CKEDITOR.ui.dialog.uiElement.call(this,b,a,d,"div",null,e,function(){var e=[],g=a.require…
545 …",html:'\x3clabel class\x3d"cke_dialog_ui_labeled_label'+g+'" id\x3d"'+c.labelId+'" for\x3d"'+c.in…
547 …idth:'+a.width+'" ');b.push("\x3e\x3cinput ");c["aria-labelledby"]=this._.labelId;this._.required&&
549 …og.labeledElement.call(this,b,a,d,function(){e["aria-labelledby"]=this._.labelId;this._.required&&…
555 …:f.inputId,"class":"cke_dialog_ui_input_select","aria-labelledby":this._.labelId};e.push('\x3cdiv …
561 …g.uiElement,{setLabel:function(b){var a=CKEDITOR.document.getById(this._.labelId);1>a.getChildCoun…
562 b;return this},getLabel:function(){var b=CKEDITOR.document.getById(this._.labelId);return!b||1>b.ge…
572 …ion\x3d"',CKEDITOR.tools.htmlEncode(f.action),'"\x3e\x3clabel id\x3d"',a.labelId,'" for\x3d"',h,'"…
573 '\x3c/label\x3e\x3cinput style\x3d"width:100%" id\x3d"',h,'" aria-labelledby\x3d"',a.labelId,'" typ…
H A Dckeditor.js.unc10769 c.labelId = CKEDITOR.tools.getNextId() +
10775 a.includeLabel && (e["aria-labelledby"] = c.labelId);
10779 …clabel class\x3d"cke_dialog_ui_labeled_label' + g + '" ', ' id\x3d"' + c.labelId + '"', c.inputId …
10786 … '\x3clabel class\x3d"cke_dialog_ui_labeled_label' + g + '" id\x3d"' + c.labelId + '" for\x3d"' + …
10828 c["aria-labelledby"] = this._.labelId;
10854 e["aria-labelledby"] = this._.labelId;
10997 "aria-labelledby": this._.labelId
11100 var a = CKEDITOR.document.getById(this._.labelId);
11106 var b = CKEDITOR.document.getById(this._.labelId);
11326 …\x3d"', CKEDITOR.tools.htmlEncode(f.action), '"\x3e\x3clabel id\x3d"', a.labelId, '" for\x3d"', h,…
[all …]
/plugin/dirtylittlehelper/script/
H A Dmermaid.min.js.map1labelId","shapeSvg","shapeBBox","domNode","newText","escaped","processEscapeSequences","svgCluster…
/plugin/dirtylittlehelper/mermaid/editor/
H A Dbundle.js426labelId&&c.attr("id",a.labelId),i.has(a,"width")&&(h.width=a.width),i.has(a,"height")&&(h.height=a…
/plugin/dirtylittlehelper/mermaid/editor/docs/
H A Dbundle.js426labelId&&c.attr("id",a.labelId),i.has(a,"width")&&(h.width=a.width),i.has(a,"height")&&(h.height=a…
H A Dbundle.js.map1labelId) { label.attr(\"id\", edge.labelId); }\n if (!_.has(edge, \"width\")) { edge.width = bb…
/plugin/mermaid/
H A Dmermaid.min.js103 `;break;default:a+=p}f=!1}else p==="\\"?f=!0:a+=p;return a}function w0t(i,a,f){var p=a.label,w=i.append("g");a.labelType==="svg"?PBe(w,a):typeof p!="string"||a.labelType==="html"?b0t(w,a):FBe(w,a);var m=w.node().getBBox(),b;switch(f){case"top":b=-a.height/2;break;case"bottom":b=a.height/2-m.height;break;default:b=-m.height/2}return w.attr("transform","translate("+-m.width/2+","+b+")"),w}var v0t=function(i,a){var f=a.nodes().filter(function(m){return dNt(a,m)}),p=i.selectAll("g.cluster").data(f,function(m){return m});um(p.exit(),a).style("opacity",0).remove();var w=p.enter().append("g").attr("class","cluster").attr("id",function(m){var b=a.node(m);return b.id}).style("opacity",0).each(function(m){var b=a.node(m),E=yr(this);yr(this).append("rect");var _=E.append("g").attr("class","label");w0t(_,b,b.clusterLabelPos)});return p=p.merge(w),p=um(p,a).style("opacity",1),p.selectAll("rect").each(function(m){var b=a.node(m),E=yr(this);w3(E,b.style)}),p};function BBe(i){v0t=i}let m0t=function(i,a){var f=i.selectAll("g.edgeLabel").data(a.edges(),function(w){return gNt(w)}).classed("update",!0);f.exit().remove(),f.enter().append("g").classed("edgeLabel",!0).style("opacity",0),f=i.selectAll("g.edgeLabel"),f.each(function(w){var m=yr(this);m.select(".label").remove();var b=a.edge(w),E=w0t(m,a.edge(w),0).classed("label",!0),_=E.node().getBBox();b.labelId&&E.attr("id",b.labelId),za(b,"width")||(b.width=_.width),za(b,"height")||(b.height=_.height)});var p;return f.exit?p=f.exit():p=f.selectAll(null),um(p,a).style("opacity",0).remove(),f};function RBe(i){m0t=i}function bNt(i,a){return i.intersect(a)}var y0t=function(i,a,f){var p=i.selectAll("g.edgePath").data(a.edges(),function(b){return gNt(b)}).classed("update",!0),w=HBe(p,a);VBe(p,a);var m=p.merge!==void 0?p.merge(w):p;return um(m,a).style("opacity",1),m.each(function(b){var E=yr(this),_=a.edge(b);_.elem=this,_.id&&E.attr("id",_.id),pNt(E,_.class,(E.classed("update")?"update ":"")+"edgePath")}),m.selectAll("path.path").each(function(b){var E=a.edge(b);E.arrowheadId=vY("arrowhead");var _=yr(this).attr("marker-end",function(){return"url("+$Be(location.href,E.arrowheadId)+")"}).style("fill","none");um(_,a).attr("d",function(A){return zBe(a,A)}),w3(_,E.style)}),m.selectAll("defs *").remove(),m.selectAll("defs").each(function(b){var E=a.edge(b),_=f[E.arrowhead];_(yr(this),E.arrowheadId,E,"arrowhead")}),m};function jBe(i){y0t=i}function $Be(i,a){var f=i.split("#")[0];return f+"#"+a}function zBe(i,a){var f=i.edge(a),p=i.node(a.v),w=i.node(a.w),m=f.points.slice(1,f.points.length-1);return m.unshift(bNt(p,m[0])),m.push(bNt(w,m[m.length-1])),wNt(f,m)}function wNt(i,a){var f=(E5||wEe.line)().x(function(p){return p.x}).y(function(p){return p.y});return(f.curve||f.interpolate)(i.curve),f(a)}function qBe(i){var a=i.getBBox(),f=i.ownerSVGElement.getScreenCTM().inverse().multiply(i.getScreenCTM()).translate(a.width/2,a.height/2);return{x:f.e,y:f.f}}function HBe(i,a){var f=i.enter().append("g").attr("class","edgePath").style("opacity",0);return f.append("path").attr("class","path").attr("d",function(p){var w=a.edge(p),m=a.node(p.v).elem,b=yT(w.points.length).map(function(){return qBe(m)});return wNt(w,b)}),f.append("defs"),f}function VBe(i,a){var f=i.exit();um(f,a).style("opacity",0).remove()}var x0t=function(i,a,f){var p=a.nodes().filter(function(b){return!dNt(a,b)}),w=i.selectAll("g.node").data(p,function(b){return b}).classed("update",!0);w.exit().remove(),w.enter().append("g").attr("class","node").style("opacity",0),w=i.selectAll("g.node"),w.each(function(b){var E=a.node(b),_=yr(this);pNt(_,E.class,(_.classed("update")?"update ":"")+"node"),_.select("g.label").remove();var A=_.append("g").attr("class","label"),I=w0t(A,E),B=f[E.shape],N=vF(I.node().getBBox(),"width","height");E.elem=this,E.id&&_.attr("id",E.id),E.labelId&&A.attr("id",E.labelId),za(E,"width")&&(N.width=E.width),za(E,"height")&&(N.height=E.height),N.width+=E.paddingLeft+E.paddingRight,N.height+=E.paddingTop+E.paddingBottom,A.attr("transform","translate("+(E.paddingLeft-E.paddingRight)/2+","+(E.paddingTop-E.paddingBottom)/2+")");var R=yr(this);R.select(".label-container").remove();var z=B(R,N,E).classed("label-container",!0);w3(z,E.style);var W=z.node().getBBox();E.width=W.width,E.height=W.height});var m;return w.exit?m=w.exit():m=w.selectAll(null),um(m,a).style("opacity",0).remove(),w};function GBe(i){x0t=i}function UBe(i,a){var f=i.filter(function(){return!yr(this).classed("update")});function p(w){var m=a.node(w);return"translate("+m.x+","+m.y+")"}f.attr("transform",p),um(i,a).style("opacity",1).attr("transform",p),um(f.selectAll("rect"),a).attr("width",function(w){return a.node(w).width}).attr("height",function(w){return a.node(w).height}).attr("x",function(w){var m=a.node(w);return-m.width/2}).attr("y",function(w){var m=a.node(w);return-m.height/2})}function WBe(i,a){var f=i.filter(function(){return!yr(this).classed("update")});function p(w){var m=a.edge(w);return za(m,"x")?"translate("+m.x+","+m.y+")":""}f.attr("transform",p),um(i,a).style("opacity",1).attr("transform",p)}function YBe(i,a){var f=i.filter(function(){return!yr(this).classed("update")});function p(w){var m=a.node(w);return"translate("+m.x+","+m.y+")"}f.attr("transform",p),um(i,a).style("opacity",1).attr("transform",p)}function vNt(i,a,f,p){var w=i.x,m=i.y,b=w-p.x,E=m-p.y,_=Math.sqrt(a*a*E*E+f*f*b*b),A=Math.abs(a*f*b/_);p.x<w&&(A=-A);var I=Math.abs(a*f*E/_);return p.y<m&&(I=-I),{x:w+A,y:m+I}}function KBe(i,a,f){return vNt(i,a,a,f)}function XBe(i,a,f,p){var w,m,b,E,_,A,I,B,N,R,z,W,et,st,at;if(w=a.y-i.y,b=i.x-a.x,_=a.x*i.y-i.x*a.y,N=w*f.x+b*f.y+_,R=w*p.x+b*p.y+_,!(N!==0&&R!==0&&mNt(N,R))&&(m=p.y-f.y,E=f.x-p.x,A=p.x*f.y-f.x*p.y,I=m*i.x+E*i.y+A,B=m*a.x+E*a.y+A,!(I!==0&&B!==0&&mNt(I,B))&&(z=w*E-m*b,z!==0)))return W=Math.abs(z/2),et=b*A-E*_,st=et<0?(et-W)/z:(et+W)/z,et=m*_-w*A,at=et<0?(et-W)/z:(et+W)/z,{x:st,y:at}}function mNt(i,a){return i*a>0}function v3(i,a,f){var p=i.x,w=i.y,m=[],b=Number.POSITIVE_INFINITY,E=Number.POSITIVE_INFINITY;a.forEach(function(z){b=Math.min(b,z.x),E=Math.min(E,z.y)});for(var _=p-i.width/2-b,A=w-i.height/2-E,I=0;I<a.length;I++){var B=a[I],N=a[I<a.length-1?I+1:0],R=XBe(i,f,{x:_+B.x,y:A+B.y},{x:_+N.x,y:A+N.y});R&&m.push(R)}return m.length?(m.length>1&&m.sort(function(z,W){var et=z.x-f.x,st=z.y-f.y,at=Math.sqrt(et*et+st*st),bt=W.x-f.x,mt=W.y-f.y,yt=Math.sqrt(bt*bt+mt*mt);return at<yt?-1:at===yt?0:1}),m[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",i),i)}function k0t(i,a){var f=i.x,p=i.y,w=a.x-f,m=a.y-p,b=i.width/2,E=i.height/2,_,A;return Math.abs(m)*b>Math.abs(w)*E?(m<0&&(E=-E),_=m===0?0:E*w/m,A=E):(w<0&&(b=-b),_=b,A=w===0?0:b*m/w),{x:f+_,y:p+A}}var E0t={rect:ZBe,ellipse:JBe,circle:tRe,diamond:eRe};function QBe(i){E0t=i}function ZBe(i,a,f){var p=i.insert("rect",":first-child").attr("rx",f.rx).attr("ry",f.ry).attr("x",-a.width/2).attr("y",-a.height/2).attr("width",a.width).attr("height",a.height);return f.intersect=function(w){return k0t(f,w)},p}function JBe(i,a,f){var p=a.width/2,w=a.height/2,m=i.insert("ellipse",":first-child").attr("x",-a.width/2).attr("y",-a.height/2).attr("rx",p).attr("ry",w);return f.intersect=function(b){return vNt(f,p,w,b)},m}function tRe(i,a,f){var p=Math.max(a.width,a.height)/2,w=i.insert("circle",":first-child").attr("x",-a.width/2).attr("y",-a.height/2).attr("r",p);return f.intersect=function(m){return KBe(f,p,m)},w}function eRe(i,a,f){var p=a.width*Math.SQRT2/2,w=a.height*Math.SQRT2/2,m=[{x:0,y:-w},{x:-p,y:0},{x:0,y:w},{x:p,y:0}],b=i.insert("polygon",":first-child").attr("points",m.map(function(E){return E.x+","+E.y}).join(" "));return f.intersect=function(E){return v3(f,m,E)},b}function nRe(){var i=function(a,f){sRe(f);var p=EF(a,"output"),w=EF(p,"clusters"),m=EF(p,"edgePaths"),b=m0t(EF(p,"edgeLabels"),f),E=x0t(EF(p,"nodes"),f,E0t);aL(f),YBe(E,f),WBe(b,f),y0t(m,f,p0t);var _=v0t(w,f);UBe(_,f),aRe(f)};return i.createNodes=function(a){return arguments.length?(GBe(a),i):x0t},i.createClusters=function(a){return arguments.length?(BBe(a),i):v0t},i.createEdgeLabels=function(a){return arguments.length?(RBe(a),i):m0t},i.createEdgePaths=function(a){return arguments.length?(jBe(a),i):y0t},i.shapes=function(a){return arguments.length?(QBe(a),i):E0t},i.arrows=function(a){return arguments.length?(MBe(a),i):p0t},i}var rRe={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},iRe={arrowhead:"normal",curve:cg};function sRe(i){i.nodes().forEach(function(a){var f=i.node(a);!za(f,"label")&&!i.children(a).length&&(f.label=a),za(f,"paddingX")&&iL(f,{paddingLeft:f.paddingX,paddingRight:f.paddingX}),za(f,"paddingY")&&iL(f,{paddingTop:f.paddingY,paddingBottom:f.paddingY}),za(f,"padding")&&iL(f,{paddingLeft:f.padding,paddingRight:f.padding,paddingTop:f.padding,paddingBottom:f.padding}),iL(f,rRe),cr(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(p){f[p]=Number(f[p])}),za(f,"width")&&(f._prevWidth=f.width),za(f,"height")&&(f._prevHeight=f.height)}),i.edges().forEach(function(a){var f=i.edge(a);za(f,"label")||(f.label=""),iL(f,iRe)})}function aRe(i){cr(i.nodes(),function(a){var f=i.node(a);za(f,"_prevWidth")?f.width=f._prevWidth:delete f.width,za(f,"_prevHeight")?f.height=f._prevHeight:delete f.height,delete f._prevWidth,delete f._prevHeight})}function EF(i,a){var f=i.select("g."+a);return f.empty()&&(f=i.append("g").attr("class",a)),f}function yNt(i,a,f){const p=a.width,w=a.height,m=(p+w)*.9,b=[{x:m/2,y:0},{x:m,y:-m/2},{x:m/2,y:-m},{x:0,y:-m/2}],E=O5(i,m,m,b);return f.intersect=function(_){return v3(f,b,_)},E}function xNt(i,a,f){const w=a.height,m=w/4,b=a.width+2*m,E=[{x:m,y:0},{x:b-m,y:0},{x:b,y:-w/2},{x:b-m,y:-w},{x:m,y:-w},{x:0,y:-w/2}],_=O5(i,b,w,E);return f.intersect=function(A){return v3(f,E,A)},_}function kNt(i,a,f){const p=a.width,w=a.height,m=[{x:-w/2,y:0},{x:p,y:0},{x:p,y:-w},{x:-w/2,y:-w},{x:0,y:-w/2}],b=O5(i,p,w,m);return f.intersect=function(E){return v3(f,m,E)},b}function ENt(i,a,f){const p=a.width,w=a.height,m=[{x:-2*w/6,y:0},{x:p-w/6,y:0},{x:p+2*w/6,y:-w},{x:w/6,y:-w}],b=O5(i,p,w,m);return f.intersect=function(E){return v3(f,m,E)},b}function TNt(i,a,f){const p=a.width,w=a.height,m=[{x:2*w/6,y:0},{x:p+w/6,y:0},{x:p-2*w/6,y:-w},{x:-w/6,y:-w}],b=O5(i,p,w,m);return f.intersect=function(E){return v3(f,m,E)},b}function CNt(i,a,f){const p=a.width,w=a.height,m=[{x:-2*w/6,y:0},{x:p+2*w/6,y:0},{x:p-w/6,y:-w},{x:w/6,y:-w}],b=O5(i,p,w,m);return f.intersect=function(E){return v3(f,m,E)},b}function _Nt(i,a,f){const p=a.width,w=a.height,m=[{x:w/6,y:0},{x:p-w/6,y:0},{x:p+2*w/6,y:-w},{x:-2*w/6,y:-w}],b=O5(i,p,w,m);return f.intersect=function(E){return v3(f,m,E)},b}function SNt(i,a,f){const p=a.width,w=a.height,m=[{x:0,y:0},{x:p+w/2,y:0},{x:p,y:-w/2},{x:p+w/2,y:-w},{x:0,y:-w}],b=O5(i,p,w,m);return f.intersect=function(E){return v3(f,m,E)},b}function ANt(i,a,f){const p=a.height,w=a.width+p/4,m=i.insert("rect",":first-child").attr("rx",p/2).attr("ry",p/2).attr("x",-w/2).attr("y",-p/2).attr("width",w).attr("height",p);return f.intersect=function(b){return k0t(f,b)},m}function LNt(i,a,f){const p=a.width,w=a.height,m=[{x:0,y:0},{x:p,y:0},{x:p,y:-w},{x:0,y:-w},{x:0,y:0},{x:-8,y:0},{x:p+8,y:0},{x:p+8,y:-w},{x:-8,y:-w},{x:-8,y:0}],b=O5(i,p,w,m);return f.intersect=function(E){return v3(f,m,E)},b}function MNt(i,a,f){const p=a.width,w=p/2,m=w/(2.5+p/50),b=a.height+m,E="M 0,"+m+" a "+w+","+m+" 0,0,0 "+p+" 0 a "+w+","+m+" 0,0,0 "+-p+" 0 l 0,"+b+" a "+w+","+m+" 0,0,0 "+p+" 0 l 0,"+-b,_=i.attr("label-offset-y",m).insert("path",":first-child").attr("d",E).attr("transform","translate("+-p/2+","+-(b/2+m)+")");return f.intersect=function(A){const I=k0t(f,A),B=I.x-f.x;if(w!=0&&(Math.abs(B)<f.width/2||Math.abs(B)==f.width/2&&Math.abs(I.y-f.y)>f.height/2-m)){let N=m*m*(1-B*B/(w*w));N!=0&&(N=Math.sqrt(N)),N=m-N,A.y-f.y>0&&(N=-N),I.y+=N}return I},_}function oRe(i){i.shapes().question=yNt,i.shapes().hexagon=xNt,i.shapes().stadium=ANt,i.shapes().subroutine=LNt,i.shapes().cylinder=MNt,i.shapes().rect_left_inv_arrow=kNt,i.shapes().lean_right=ENt,i.shapes().lean_left=TNt,i.shapes().trapezoid=CNt,i.shapes().inv_trapezoid=_Nt,i.shapes().rect_right_inv_arrow=SNt}function cRe(i){i({question:yNt}),i({hexagon:xNt}),i({stadium:ANt}),i({subroutine:LNt}),i({cylinder:MNt}),i({rect_left_inv_arrow:kNt}),i({lean_right:ENt}),i({lean_left:TNt}),i({trapezoid:CNt}),i({inv_trapezoid:_Nt}),i({rect_right_inv_arrow:SNt})}function O5(i,a,f,p){return i.insert("polygon",":first-child").attr("points",p.map(function(w){return w.x+","+w.y}).join(" ")).attr("transform","translate("+-a/2+","+f/2+")")}const uRe={addToRender:oRe,addToRenderV2:cRe},DNt={},lRe=function(i){const a=Object.keys(i);for(const f of a)DNt[f]=i[f]},INt=function(i,a,f,p,w,m){const b=p?p.select(`[id="${f}"]`):yr(`[id="${f}"]`),E=w||document;Object.keys(i).forEach(function(A){const I=i[A];let B="default";I.classes.length>0&&(B=I.classes.join(" "));const N=im(I.styles);let R=I.text!==void 0?I.text:I.id,z;if(o1(Oe().flowchart.htmlLabels)){const st={label:R.replace(/fa[blrs]?:fa-[\w-]+/g,at=>`<i class='${at.replace(":"," ")}'></i>`)};z=b0t(b,st).node(),z.parentNode.removeChild(z)}else{const st=E.createElementNS("http://www.w3.org/2000/svg","text");st.setAttribute("style",N.labelStyle.replace("color:","fill:"));const at=R.split(Kr.lineBreakRegex);for(const bt of at){const mt=E.createElementNS("http://www.w3.org/2000/svg","tspan");mt.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),mt.setAttribute("dy","1em"),mt.setAttribute("x","1"),mt.textContent=bt,st.appendChild(mt)}z=st}let W=0,et="";switch(I.type){case"round":W=5,et="rect";break;case"square":et="rect";break;case"diamond":et="question";break;case"hexagon":et="hexagon";break;case"odd":et="rect_left_inv_arrow";break;case"lean_right":et="lean_right";break;case"lean_left":et="lean_left";break;case"trapezoid":et="trapezoid";break;case"inv_trapezoid":et="inv_trapezoid";break;case"odd_right":et="rect_left_inv_arrow";break;case"circle":et="circle";break;case"ellipse":et="ellipse";break;case"stadium":et="stadium";break;case"subroutine":et="subroutine";break;case"cylinder":et="cylinder";break;case"group":et="rect";break;default:et="rect"}Ut.warn("Adding node",I.id,I.domId),a.setNode(m.db.lookUpDomId(I.id),{labelType:"svg",labelStyle:N.labelStyle,shape:et,label:z,rx:W,ry:W,class:B,style:N.style,id:m.db.lookUpDomId(I.id)})})},ONt=function(i,a,f){let p=0,w,m;if(i.defaultStyle!==void 0){const b=im(i.defaultStyle);w=b.style,m=b.labelStyle}i.forEach(function(b){p++;const E="L-"+b.start+"-"+b.end,_="LS-"+b.start,A="LE-"+b.end,I={};b.type==="arrow_open"?I.arrowhead="none":I.arrowhead="normal";let B="",N="";if(b.style!==void 0){const R=im(b.style);B=R.style,N=R.labelStyle}else switch(b.stroke){case"normal":B="fill:none",w!==void 0&&(B=w),m!==void 0&&(N=m);break;case"dotted":B="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":B=" stroke-width: 3.5px;fill:none";break}I.style=B,I.labelStyle=N,b.interpolate!==void 0?I.curve=ew(b.interpolate,cg):i.defaultInterpolate!==void 0?I.curve=ew(i.defaultInterpolate,cg):I.curve=ew(DNt.curve,cg),b.text===void 0?b.style!==void 0&&(I.arrowheadStyle="fill: #333"):(I.arrowheadStyle="fill: #333",I.labelpos="c",o1(Oe().flowchart.htmlLabels)?(I.labelType="html",I.label=`<span id="L-${E}" class="edgeLabel L-${_}' L-${A}" style="${I.labelStyle}">${b.text.replace(/fa[blrs]?:fa-[\w-]+/g,R=>`<i class='${R.replace(":"," ")}'></i>`)}</span>`):(I.labelType="text",I.label=b.text.replace(Kr.lineBreakRegex,`
[all...]