schematic-symbols 0.0.211 → 0.0.213
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
function _(t,o){return Array.isArray(o)?[t.a*o[0]+t.c*o[1]+t.e,t.b*o[0]+t.d*o[1]+t.f]:{x:t.a*o.x+t.c*o.y+t.e,y:t.b*o.x+t.d*o.y+t.f}}function $t(t){return typeof t>"u"}function
|
|
1
|
+
function _(t,o){return Array.isArray(o)?[t.a*o[0]+t.c*o[1]+t.e,t.b*o[0]+t.d*o[1]+t.f]:{x:t.a*o.x+t.c*o.y+t.e,y:t.b*o.x+t.d*o.y+t.f}}function $t(t){return typeof t>"u"}function bt(t,o=0){return{a:1,c:0,e:t,b:0,d:1,f:o}}function V(...t){t=Array.isArray(t[0])?t[0]:t;let o=(i,l)=>({a:i.a*l.a+i.c*l.b,c:i.a*l.c+i.c*l.d,e:i.a*l.e+i.c*l.f+i.e,b:i.b*l.a+i.d*l.b,d:i.b*l.c+i.d*l.d,f:i.b*l.e+i.d*l.f+i.f});switch(t.length){case 0:throw new Error("no matrices provided");case 1:return t[0];case 2:return o(t[0],t[1]);default:{let[i,l,...a]=t,y=o(i,l);return V(y,...a)}}}var{cos:Of,sin:Jf,PI:V4}=Math;function hr(t,o,i){let l=Of(t),a=Jf(t),y={a:l,c:-a,e:0,b:a,d:l,f:0};return $t(o)||$t(i)?y:V([bt(o,i),y,bt(-o,-i)])}var{tan:M4}=Math;function $f(t,o){function i(){this.constructor=t}i.prototype=o.prototype,t.prototype=new i}function Mt(t,o,i,l){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,Mt.prototype),a.expected=o,a.found=i,a.location=l,a.name="SyntaxError",a}$f(Mt,Error);function dr(t,o,i){return i=i||" ",t.length>o?t:(o-=t.length,i+=i.repeat(o),t+i.slice(0,o))}Mt.prototype.format=function(t){var o="Error: "+this.message;if(this.location){var i=null,l;for(l=0;l<t.length;l++)if(t[l].source===this.location.source){i=t[l].text.split(/\r\n|\n|\r/g);break}var a=this.location.start,y=this.location.source&&typeof this.location.source.offset=="function"?this.location.source.offset(a):a,n=this.location.source+":"+y.line+":"+y.column;if(i){var m=this.location.end,h=dr("",y.line.toString().length," "),p=i[a.line-1],x=a.line===m.line?m.column:p.length+1,f=x-a.column||1;o+=`
|
|
2
2
|
--> `+n+`
|
|
3
3
|
`+h+` |
|
|
4
4
|
`+y.line+" | "+p+`
|
|
5
|
-
`+h+" | "+
|
|
6
|
-
at `+n}return o};Mt.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var x=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+x.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description}};function l(p){return p.charCodeAt(0).toString(16).toUpperCase()}function a(p){return p.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function y(p){return p.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function n(p){return i[p.type](p)}function m(p){var x=p.map(n),f,d;if(x.sort(),x.length>0){for(f=1,d=1;f<x.length;f++)x[f-1]!==x[f]&&(x[d]=x[f],d++);x.length=d}switch(x.length){case 1:return x[0];case 2:return x[0]+" or "+x[1];default:return x.slice(0,-1).join(", ")+", or "+x[x.length-1]}}function h(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+h(o)+" found."};function gt(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let o=1/0,i=-1/0,l=1/0,a=-1/0,y=n=>{o=Math.min(o,n.x),i=Math.max(i,n.x),l=Math.min(l,n.y),a=Math.max(a,n.y)};return t.forEach(n=>{switch(n.type){case"path":n.points.forEach(y);break;case"text":y({x:n.x,y:n.y});break;case"circle":{let{x:m,y:h,radius:p}=n;y({x:m-p,y:h-p}),y({x:m+p,y:h+p});break}case"box":{let{x:m,y:h,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:h-d}),y({x:m+f,y:h+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var Of=(t,o="right")=>{switch(o){case"down":switch(t){case"middle_top":return"middle_right";case"middle_bottom":return"middle_left";case"middle_left":return"middle_bottom";case"middle_right":return"middle_top"}break;case"up":switch(t){case"middle_top":return"middle_left";case"middle_bottom":return"middle_right";case"middle_left":return"middle_top";case"middle_right":return"middle_bottom"}break;case"left":switch(t){case"middle_top":return"middle_bottom";case"middle_bottom":return"middle_top";case"middle_left":return"middle_right";case"middle_right":return"middle_left"}break;case"right":return t}return t},u=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=V({a:1,b:0,c:0,d:-1,e:0,f:2*l.y}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={top_left:"bottom_left",top_right:"bottom_right",bottom_left:"top_left",bottom_right:"top_right",center:"center",middle_top:"middle_bottom",middle_bottom:"middle_top",middle_left:"middle_left",middle_right:"middle_right"};return{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Y=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=V({a:-1,b:0,c:0,d:1,e:0,f:2*l.x}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={top_left:"top_right",top_right:"top_left",bottom_left:"bottom_right",bottom_right:"bottom_left",center:"center",middle_top:"middle_top",middle_bottom:"middle_bottom",middle_left:"middle_right",middle_right:"middle_left"};return{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Pt=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=cr(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:h,ports:p}=t,x=n.map(c=>{switch(c={...c},c.type){case"path":return{...c,points:c.points.map(Lf=>_(y,Lf))};case"text":let mp=_(y,{x:c.x,y:c.y});return c.anchor=Of(c.anchor,i??"right"),{...c,x:mp.x,y:mp.y};case"circle":let np=_(y,{x:c.x,y:c.y});return{...c,x:np.x,y:np.y};case"box":let fp=_(y,{x:c.x,y:c.y});return{...c,x:fp.x,y:fp.y,width:c.height,height:c.width}}}),f=p.map(c=>({...c,..._(y,c)})),d=gt(x);return{primitives:x,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>Pt(t,{newOrientation:o,overrides:i});var dr=class{symbol;constructor(o){this.symbol=JSON.parse(JSON.stringify(o)),this.symbol.size=this.computeSize()}changeTextAnchor(o,i,l){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(a=>a.type==="text"&&a.text===o?{...a,anchor:i,...l?{x:a.x+l.x,y:a.y+l.y}:{}}:a)},this}labelPort(o,i){return this.symbol={...this.symbol,ports:this.symbol.ports.map(l=>l.labels.includes(o)?{...l,labels:i}:l)},this}rotateRightFacingSymbol(o){return this.symbol=Pt(this.symbol,{newOrientation:o}),this}computeSize(){let o=gt(this.symbol.primitives);return{width:o.maxX-o.minX,height:o.maxY-o.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let o=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],i=t.ports??Object.entries(t.refblocks).flatMap(([a,y])=>[{...y,labels:[a]}]),l=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(l={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new dr({...t,primitives:o,ports:i,center:l})};var v={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path17:{type:"path",points:[{x:0,y:-.13},{x:.07,y:-.11}],color:"primary",fill:!1},path18:{type:"path",points:[{x:.07,y:-.11},{x:.14,y:-.13}],color:"primary",fill:!1},path19:{type:"path",points:[{x:-.15,y:-.13},{x:-.07,y:-.11}],color:"primary",fill:!1},path20:{type:"path",points:[{x:-.07,y:-.11},{x:0,y:-.13}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:$f,texts:Wb,bounds:Ct,refblocks:hp,circles:Mf}=v,dp=e({primitives:[...Object.values($f),...Object.values(Mf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...hp.left1,labels:["1"]},{...hp.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Cf,texts:Kb,bounds:Nt,refblocks:bp,circles:Nf}=v,_p=e({primitives:[...Object.values(Cf),...Object.values(Nf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...bp.left1,labels:["1"]},{...bp.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:If,texts:o_,bounds:It,refblocks:gp,circles:Bf}=v,up=e({primitives:[...Object.values(If),...Object.values(Bf),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...gp.left1,labels:["1"]},{...gp.right1,labels:["2"]}],size:{width:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:qf,texts:a_,bounds:Bt,refblocks:vp,circles:Df}=v,wp=e({primitives:[...Object.values(qf),...Object.values(Df),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...vp.left1,labels:["1"]},{...vp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Gf,texts:m_,bounds:qt,refblocks:Ap,circles:Uf}=v,Pp=e({primitives:[...Object.values(Gf),...Object.values(Uf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ap.left1,labels:["1"]},{...Ap.right1,labels:["2"]}],size:{width:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Wf,texts:h_,bounds:Dt,refblocks:Sp,circles:Hf}=v,Rp=e({primitives:[...Object.values(Wf),...Object.values(Hf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Sp.left1,labels:["1"]},{...Sp.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var w={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.2}],color:"primary",fill:!1},"path43-8-3":{type:"path",points:[{x:.21,y:-.11},{x:.15,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:Qf,texts:u_,bounds:Gt,refblocks:Fp,circles:Kf}=w,Tp=e({primitives:[...Object.values(Qf),...Object.values(Kf),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Fp.left1,labels:["1"]},{...Fp.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ep=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:tc,texts:F_,bounds:Ut,refblocks:Yp,circles:ec}=w,Xp=e({primitives:[...Object.values(tc),...Object.values(ec),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...Yp.left1,labels:["1"]},{...Yp.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Lp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:rc,texts:j_,bounds:Wt,refblocks:Vp,circles:oc}=w,jp=e({primitives:[...Object.values(rc),...Object.values(oc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Vp.left1,labels:["1"]},{...Vp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ic,texts:J_,bounds:Ht,refblocks:kp,circles:lc}=w,zp=e({primitives:[...Object.values(ic),...Object.values(lc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...kp.left1,labels:["1"]},{...kp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var j={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.14,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.18,y:.18},{x:.11,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.18,y:-.09},{x:.11,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:ac,texts:I_,bounds:Zt,refblocks:Op,circles:yc}=j,Jp=e({primitives:[...Object.values(ac),...Object.values(yc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Op.left1,labels:["1"]},{...Op.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:sc,texts:G_,bounds:Qt,refblocks:$p,circles:xc}=j,Kt=e({primitives:[...Object.values(sc),...Object.values(xc),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...$p.left1,labels:["1"]},{...$p.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:mc,texts:Z_,bounds:te,refblocks:Mp,circles:nc}=j,Cp=e({primitives:[...Object.values(mc),...Object.values(nc),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...Mp.left1,labels:["1"]},{...Mp.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:r3,texts:o3,bounds:i3,refblocks:l3,circles:p3}=j,br=r(Kt,"down"),_r=br.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gr=br.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_r.anchor="middle_left";gr.anchor="middle_left";_r.x=.25;_r.y+=.21;gr.y-=.21;gr.x=.25;var Np=br;function s(t){let o=t.size;if(!o){let i=gt(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var Ip={paths:{path43:{type:"path",points:[{x:-.06,y:.19},{x:-.06,y:-.12}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.02,y:.13},{x:.02,y:-.06}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.06,y:.03},{x:-.45,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.03},{x:.03,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.28}},refblocks:{left1:{x:-.45,y:.03},right1:{x:.45,y:.03}},bounds:{minX:-.47,maxX:.47,minY:-.38,maxY:.27,width:.95,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:cc,texts:Bp,bounds:ee,refblocks:qp,circles:hc}=Ip,re=s({primitives:[...Object.values(cc),...Object.values(hc),{...Bp.top1,anchor:"middle_bottom"},{...Bp.bottom1,anchor:"middle_top"}],ports:[{...qp.left1,labels:["1"]},{...qp.right1,labels:["2"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}});var Dp=Pt(re,{newOrientation:"up"});var k={paths:{path1:{type:"path",points:[{x:-.53,y:.05},{x:-.25,y:.05}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.28,y:.05},{x:.57,y:.05}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.02,y:.18},{x:.28,y:.18},{x:.28,y:-.09},{x:-.25,y:-.09},{x:-.25,y:.18},{x:.02,y:.18}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.53,y:.05},right1:{x:.57,y:.05}},bounds:{minX:-.56,maxX:.56,minY:-.25,maxY:.25,width:1.12,height:.5,centerX:0,centerY:0},circles:{}};var{paths:bc,texts:u3,bounds:Gp,refblocks:Up,circles:_c}=k,Wp=e({primitives:[...Object.values(bc),...Object.values(_c),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Up.left1,labels:["1"]},{...Up.right1,labels:["2"]}],center:{x:Gp.centerX,y:Gp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:gc,texts:P3,bounds:Hp,refblocks:Zp,circles:uc}=k,Qp=e({primitives:[...Object.values(gc),...Object.values(uc),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...Zp.left1,labels:["1"]},{...Zp.right1,labels:["2"]}],center:{x:Hp.centerX,y:Hp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:vc,texts:T3,bounds:Kp,refblocks:ta,circles:wc}=k,ea=e({primitives:[...Object.values(vc),...Object.values(wc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...ta.left1,labels:["1"]},{...ta.right1,labels:["2"]}],center:{x:Kp.centerX,y:Kp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var z={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.55,y:-.01}],color:"primary",fill:!0},"path2-5":{type:"path",points:[{x:-.15,y:.06},{x:.14,y:.06}],color:"primary",fill:!0},"path2-5-1":{type:"path",points:[{x:.14,y:.06},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-5-1-6":{type:"path",points:[{x:-.16,y:.06},{x:-.16,y:-.08}],color:"primary",fill:!0},"path2-5-4":{type:"path",points:[{x:-.15,y:-.08},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-9":{type:"path",points:[{x:-.55,y:-.01},{x:-.17,y:-.01}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.17},bottom1:{type:"text",text:"{VAL}",x:0,y:-.17}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.17,maxY:.17,width:1.16,height:.35,centerX:0,centerY:0},circles:{}};var{paths:Pc,texts:V3,bounds:oe,refblocks:ra,circles:Sc}=z,oa=e({primitives:[...Object.values(Pc),...Object.values(Sc),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...ra.left1,labels:["1"]},{...ra.right1,labels:["2"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Rc,texts:O3,bounds:ie,refblocks:ia,circles:Fc}=z,la=e({primitives:[...Object.values(Rc),...Object.values(Fc),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...ia.left1,labels:["1"]},{...ia.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Tc,texts:C3,bounds:le,refblocks:pa,circles:Ec}=z,aa=e({primitives:[...Object.values(Tc),...Object.values(Ec),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...pa.left1,labels:["1"]},{...pa.right1,labels:["2"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Yc,texts:q3,bounds:pe,refblocks:ya,circles:Xc}=z,sa=e({primitives:[...Object.values(Yc),...Object.values(Xc),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...ya.left1,labels:["1"]},{...ya.right1,labels:["2"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Lc,texts:W3,bounds:xa,refblocks:ma,circles:Vc}=k,na=e({primitives:[...Object.values(Lc),...Object.values(Vc),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...ma.left1,labels:["1"]},{...ma.right1,labels:["2"]}],center:{x:xa.centerX,y:xa.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var ut={paths:{"horizontal-bar":{type:"path",points:[{x:-.4,y:0},{x:.4,y:0}],color:"primary",fill:!1},"middle-dash-1":{type:"path",points:[{x:0,y:.2},{x:0,y:.07}],color:"primary",fill:!1},"middle-dash-2":{type:"path",points:[{x:0,y:.01},{x:0,y:-.12}],color:"primary",fill:!1},"middle-dash-3":{type:"path",points:[{x:0,y:-.18},{x:0,y:-.31}],color:"primary",fill:!1},"left-vertical":{type:"path",points:[{x:-.25,y:0},{x:-.25,y:-.2}],color:"primary",fill:!1},"right-vertical":{type:"path",points:[{x:.25,y:0},{x:.25,y:-.2}],color:"primary",fill:!1},"left-ground":{type:"path",points:[{x:-.3,y:-.2},{x:-.25,y:-.3},{x:-.2,y:-.2},{x:-.3,y:-.2}],color:"primary",fill:!1},"right-ground":{type:"path",points:[{x:.2,y:-.2},{x:.25,y:-.3},{x:.3,y:-.2},{x:.2,y:-.2}],color:"primary",fill:!1}},refblocks:{left1:{x:-.4,y:0},right1:{x:.4,y:0}},texts:{ref:{type:"text",text:"{REF}",x:0,y:.35}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.35,width:.8,height:.75,centerX:0,centerY:-.02},circles:{}};var{paths:kc,texts:tg,bounds:fa,refblocks:ca,circles:zc}=ut,ha=e({primitives:[...Object.values(kc),...Object.values(zc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ca.left1,labels:["1"]},{...ca.right1,labels:["2"]}],center:{x:fa.centerX,y:fa.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Oc,texts:ig,bounds:da,refblocks:ba,circles:Jc}=ut,ae=e({primitives:[...Object.values(Oc),...Object.values(Jc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ba.left1,labels:["1"]},{...ba.right1,labels:["2"]}],center:{x:da.centerX,y:da.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var _a=Y(ae);var{paths:$c,texts:mg,bounds:ga,refblocks:ua,circles:Mc}=ut,va=e({primitives:[...Object.values($c),...Object.values(Mc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ua.left1,labels:["1"]},{...ua.right1,labels:["2"]}],center:{x:ga.centerX,y:ga.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var O={paths:{path27:{type:"path",points:[{x:.55,y:.02},{x:.07,y:.02}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.09,y:.02},{x:-.55,y:.02}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.07,y:.28},{x:.07,y:-.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.09,y:.28},{x:-.09,y:-.25}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.55,y:.02},right1:{x:.55,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:Nc,texts:dg,bounds:ye,refblocks:wa,circles:Ic}=O,Aa=e({primitives:[...Object.values(Nc),...Object.values(Ic),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...wa.left1,labels:["1"]},{...wa.right1,labels:["2"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Pa=e(O).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var J={paths:{"path27-5":{type:"path",points:[{x:.5229378000000007,y:.017283050000003186},{x:.001333100000000531,y:.017283050000003186}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.08560379999999945,y:.017283050000003186},{x:-.5353954999999995,y:.017283050000003186}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:-.0024798999999995353,y:.28420285000000334},{x:-.0024798999999995353,y:-.247479349999999}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.1433630999999993,y:-.24400714999999806},{x:-.1433630999999993,y:-.24400714999999806},{x:-.14092865582592523,y:-.23988656287036855},{x:-.13853515727407342,y:-.23575569829629459},{x:-.13618295529999938,y:-.23161452149999845},{x:-.13387240085925864,y:-.2274629977037022},{x:-.13160384490740681,y:-.22330109212962815},{x:-.12937763839999944,y:-.21912876999999858},{x:-.12719413229259205,y:-.21494599653703564},{x:-.12505367754074023,y:-.21075273696296162},{x:-.12295662509999944,y:-.20654895649999858},{x:-.12090332592592543,y:-.202334620370369},{x:-.11889413097407354,y:-.1981096937962949},{x:-.11692939119999951,y:-.19387414199999867},{x:-.11500945755925875,y:-.18962793020370225},{x:-.11313468100740696,y:-.18537102362962823},{x:-.1113054124999995,y:-.18110338749999852},{x:-.10952200299259213,y:-.17682498703703556},{x:-.10778480344074029,y:-.17253578746296144},{x:-.10609416479999957,y:-.16823575399999846},{x:-.10445043802592549,y:-.1639248518703688},{x:-.10285397407407365,y:-.15960304629629468},{x:-.10130512389999959,y:-.15527030249999835},{x:-.09980423845925884,y:-.15092658570370204},{x:-.098351668707407,y:-.14657186112962792},{x:-.0969477655999996,y:-.14220609399999828},{x:-.09559288009259218,y:-.1378292495370353},{x:-.09428736314074034,y:-.13344129296296123},{x:-.0930315656999996,y:-.12904218949999824},{x:-.09182583872592552,y:-.12463190437036864},{x:-.09067053317407366,y:-.12021040279629455},{x:-.08956599999999959,y:-.1157776499999983},{x:-.08956599999999959,y:-.11577764999999829},{x:-.08956599999999959,y:-.11577764999999829},{x:-.08824151191481441,y:-.11018647672962796},{x:-.08698330065185143,y:-.10458327583703543},{x:-.08579087569999959,y:-.09896843569999846},{x:-.08466374654814773,y:-.0933423446962948},{x:-.08360142268518476,y:-.08770539120370224},{x:-.08260341359999958,y:-.08205796359999859},{x:-.08166922878148106,y:-.07640045026296158},{x:-.0807983777185181,y:-.07073323957036905},{x:-.07999036989999954,y:-.06505671989999867},{x:-.07924471481481438,y:-.05937127962962835},{x:-.07856092195185138,y:-.053677307137035765},{x:-.07793850079999955,y:-.04797519079999877},{x:-.07737696084814766,y:-.042265318996295057},{x:-.07687581158518474,y:-.03654808010370251},{x:-.07643456249999953,y:-.030823862499998803},{x:-.076052723081481,y:-.025093054562961768},{x:-.07572980281851803,y:-.019356044670369183},{x:-.07546531119999952,y:-.013613221199998807},{x:-.07525875771481433,y:-.007864972529628433},{x:-.07510965185185137,y:-.0021116870370358233},{x:-.07501750309999951,y:.003646246900001227},{x:-.07498182094814765,y:.009408440903704952},{x:-.07500211488518468,y:.015174506596297575},{x:-.07507789439999951,y:.02094405560000131},{x:-.07520866898148099,y:.026716699537038383},{x:-.07539394811851803,y:.032492050029631014},{x:-.07563324129999952,y:.03826971870000144},{x:-.07592605801481433,y:.04404931717037187},{x:-.07627190775185136,y:.049830457062964524},{x:-.07667029999999952,y:.05561275000000163},{x:-.07667029999999952,y:.055612750000001654},{x:-.07667029999999952,y:.055612750000001654},{x:-.07711763639629585,y:.06051565994814989},{x:-.07758839517036993,y:.06542268825185367},{x:-.07808370069999958,y:.07033314260000188},{x:-.07860467736296256,y:.07524633068148343},{x:-.07915244953703664,y:.08016156018518718},{x:-.07972814159999962,y:.08507813880000203},{x:-.08033287792962926,y:.08999537421481688},{x:-.08096778290370335,y:.09491257411852061},{x:-.08163398089999961,y:.09982904620000208},{x:-.08233259629629595,y:.10474409814815028},{x:-.08306475347037001,y:.10965703765185393},{x:-.0838315767999997,y:.11456717240000211},{x:-.08463419066296263,y:.11947381008148356},{x:-.08547371943703674,y:.12437625838518729},{x:-.08635128749999971,y:.12927382500000204},{x:-.08726801922962936,y:.13416581761481683},{x:-.08822503900370343,y:.1390515439185205},{x:-.08922347119999974,y:.14393031160000197},{x:-.09026444019629604,y:.14880142834815008},{x:-.09134907037037011,y:.15366420185185373},{x:-.09247848609999976,y:.15851793980000184},{x:-.09365381176296271,y:.16336194988148328},{x:-.0948761717370368,y:.16819553978518692},{x:-.09614669039999976,y:.17301801720000168},{x:-.09746649212962939,y:.17782868981481642},{x:-.09883670130370346,y:.18262686531852007},{x:-.10025844229999976,y:.1874118514000015},{x:-.10173283949629608,y:.19218295574814956},{x:-.10326101727037013,y:.19693948605185319},{x:-.10484409999999976,y:.2016807500000013},{x:-.10484409999999977,y:.2016807500000013},{x:-.10484409999999977,y:.2016807500000013},{x:-.1057993367777776,y:.20445172446666784},{x:-.10677724488888875,y:.2072177244000011},{x:-.1077778209999999,y:.20997856460000103},{x:-.10880106177777768,y:.21273405986666769},{x:-.1098469638888888,y:.21548402500000097},{x:-.11091552399999995,y:.21822827480000098},{x:-.11200673877777771,y:.22096662406666764},{x:-.11312060488888884,y:.22369888760000106},{x:-.11425711899999991,y:.22642488020000096},{x:-.11541627777777771,y:.2291444166666677},{x:-.11659807788888879,y:.23185731180000102},{x:-.11780251599999993,y:.23456338040000121},{x:-.11902958877777765,y:.23726243726666785},{x:-.1202792928888888,y:.23995429720000136},{x:-.12155162499999986,y:.24263877500000136},{x:-.12284658177777764,y:.24531568546666818},{x:-.12416415988888875,y:.2479848434000016},{x:-.12550435599999987,y:.25064606360000175},{x:-.12686716677777762,y:.2532991608666685},{x:-.1282525888888887,y:.255943950000002},{x:-.1296606189999998,y:.25858024580000205},{x:-.13109125377777758,y:.2612078630666688},{x:-.1325444898888887,y:.2638266166000023},{x:-.13402032399999983,y:.2664363212000024},{x:-.13551875277777758,y:.26903679166666916},{x:-.13703977288888872,y:.27162784280000263},{x:-.13858338099999984,y:.27420928940000266},{x:-.14014957377777765,y:.2767809462666695},{x:-.14173834788888875,y:.2793426282000029},{x:-.1433496999999999,y:.28189415000000295},{x:-.1433496999999999,y:.28189415000000295}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26345180000000035,y:.2438394499999994},{x:.12298460000000011,y:.2438394499999994},{x:.12298460000000011,y:.2505664500000009},{x:.26345180000000035,y:.2505664500000009}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.19751530000000006,y:.31834525000000014},{x:.19751530000000006,y:.17787805000000034},{x:.1907882999999999,y:.17787805000000034},{x:.1907882999999999,y:.31834525000000014}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.012864499999999612,y:.4200086500000033},bottom1:{type:"text",text:"{VAL}",x:-.003850499999999979,y:-.42000864999999976}},refblocks:{left1:{x:-.5512093,y:.016380250000000984},right1:{x:.5512093,y:.016926950000001995}},bounds:{minX:-.579367741,maxX:.579367741,minY:-.42000864999999976,maxY:.4200086500000033,width:1.158735482,height:.8400173000000031,centerX:0,centerY:17763568394002505e-31},circles:{}};var Sa=e(J).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:-.12,y:-.3}).build();var Ra=e(J).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_bottom").build();var Fa=e(J).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.78}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.78}).build();var Ta=e(J).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:-.12,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:.72,y:-.3}).build();var Ea=e(O).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:qc,texts:$g,bounds:se,refblocks:Ya,circles:Dc}=O,Xa=e({primitives:[...Object.values(qc),...Object.values(Dc),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...Ya.left1,labels:["1"]},{...Ya.right1,labels:["2"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var A={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.29,y:.29},{x:.29,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.37}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:Uc,texts:Bg,bounds:xe,refblocks:La,circles:Wc}=A,Va=e({primitives:[...Object.values(Uc),...Object.values(Wc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...La.left1,labels:["1"]},{...La.right1,labels:["2"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var ja=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Hc,texts:Zg,bounds:me,refblocks:ka,circles:Zc}=A,za=e({primitives:[...Object.values(Hc),...Object.values(Zc),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...ka.left1,labels:["1"]},{...ka.right1,labels:["2"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Oa=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Qc,texts:iu,bounds:ne,refblocks:Ja,circles:Kc}=A,$a=e({primitives:[...Object.values(Qc),...Object.values(Kc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ja.left1,labels:["1"]},{...Ja.right1,labels:["2"]}],size:{width:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:th,texts:yu,bounds:fe,refblocks:Ma,circles:eh}=A,Ca=e({primitives:[...Object.values(th),...Object.values(eh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ma.left1,labels:["1"]},{...Ma.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var $={paths:{path27:{type:"path",points:[{x:.54,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:.25},{x:.13,y:-.27}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:.25},{x:.07,y:-.28}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:.25},{x:-.14,y:-.27}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:.26},{x:-.08,y:-.27}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.21,y:.32},{x:.2,y:.32}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.71},{x:0,y:.33},{x:0,y:.32}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:-.21,y:.32},{x:-.21,y:.25}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.25}],color:"primary",fill:!1},"path43-9":{type:"path",points:[{x:.19,y:-.35},{x:-.22,y:-.35}],color:"primary",fill:!1},"path44-0-5":{type:"path",points:[{x:-.02,y:-.71},{x:-.02,y:-.36},{x:-.02,y:-.35}],color:"primary",fill:!1},"path43-8-1":{type:"path",points:[{x:.19,y:-.35},{x:.19,y:-.28}],color:"primary",fill:!1},"path43-8-8-9":{type:"path",points:[{x:-.22,y:-.35},{x:-.22,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,y:-.01}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"{REF}",x:.53,y:.28},right1:{type:"text",text:"{VAL}",x:.54,y:-.28}},refblocks:{top1:{x:0,y:.71},bottom1:{x:-.02,y:-.71},left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.74,maxY:.74,width:1.14,height:1.48,centerX:0,centerY:0},circles:{}};var{paths:oh,texts:fu,bounds:ce,refblocks:he,circles:ih}=$,Na=e({primitives:[...Object.values(oh),...Object.values(ih),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...he.left1,labels:["1"]},{...he.right1,labels:["3"]},{...he.bottom1,labels:["2"]},{...he.top1,labels:["4"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Ia=e($).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Ba=e($).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var{paths:lh,texts:Au,bounds:de,refblocks:be,circles:ph}=$,qa=e({primitives:[...Object.values(lh),...Object.values(ph),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...be.left1,labels:["1"]},{...be.right1,labels:["3"]},{...be.bottom1,labels:["2"]},{...be.top1,labels:["4"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var M={paths:{path27:{type:"path",points:[{x:.55,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.55,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:-.28},{x:.13,y:.25}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:-.28},{x:.07,y:.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:-.28},{x:-.14,y:.25}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:-.28},{x:-.08,y:.25}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{VAL}",x:-.01,y:-.42},bottom1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.52,maxY:.43,width:1.16,height:1,centerX:0,centerY:-.04},circles:{}};var{paths:yh,texts:Tu,bounds:_e,refblocks:Da,circles:sh}=M,Ga=e({primitives:[...Object.values(yh),...Object.values(sh),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Da.left1,labels:["1"]},{...Da.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ua=e(M).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Wa=e(M).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:xh,texts:Ju,bounds:ge,refblocks:Ha,circles:mh}=M,Za=e({primitives:[...Object.values(xh),...Object.values(mh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Ha.left1,labels:["1"]},{...Ha.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var St=.6,ur=.3,nh=[{type:"path",points:[{x:-St,y:0},{x:-ur,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:ur,y:0},{x:St,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:ur,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Qa=e({primitives:[...nh,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-St,y:0,labels:["1"]},{x:St,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:St*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Rt=.6,vr=.3,fh=[{type:"path",points:[{x:-Rt,y:0},{x:-vr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:vr,y:0},{x:Rt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:vr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],Ka=e({primitives:[...fh,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-Rt,y:0,labels:["1"]},{x:Rt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Rt*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ft=.6,wr=.3,ch=[{type:"path",points:[{x:-Ft,y:0},{x:-wr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:wr,y:0},{x:Ft,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:wr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],ty=e({primitives:[...ch,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Ft,y:0,labels:["1"]},{x:Ft,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Ft*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Tt=.6,Ar=.3,hh=[{type:"path",points:[{x:-Tt,y:0},{x:-Ar,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Ar,y:0},{x:Tt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Ar,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],ey=e({primitives:[...hh,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-Tt,y:0,labels:["1"]},{x:Tt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Tt*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var P={paths:{path11:{type:"path",points:[{x:1.99,y:-1.64},{x:2.1,y:-1.64}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:2.1,y:-1.48},{x:2.1,y:-1.8}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:2.22,y:-1.5},{x:2.11,y:-1.58}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:2.23,y:-1.78},{x:2.11,y:-1.7}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:2.23,y:-1.49},{x:2.23,y:-1.14}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.97},{x:2.23,y:-1.79}],color:"primary",fill:!1},"arrow-2":{type:"path",points:[{x:2.17,y:-1.7},{x:2.13,y:-1.76},{x:2.19,y:-1.76},{x:2.17,y:-1.7}],color:"primary",fill:!0},path1:{type:"path",points:[{x:1.6,y:-1.5},{x:1.86,y:-1.5}],color:"primary",fill:!1},path2:{type:"path",points:[{x:1.87,y:-1.34},{x:1.87,y:-1.66}],color:"primary",fill:!1},path3:{type:"path",points:[{x:1.99,y:-1.36},{x:1.87,y:-1.44}],color:"primary",fill:!1},path4:{type:"path",points:[{x:1.99,y:-1.64},{x:1.88,y:-1.56}],color:"primary",fill:!1},"arrow-1":{type:"path",points:[{x:1.94,y:-1.56},{x:1.89,y:-1.62},{x:1.96,y:-1.62},{x:1.94,y:-1.56}],color:"primary",fill:!0},path9:{type:"path",points:[{x:1.99,y:-1.35},{x:2.23,y:-1.36}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:1.88,y:-1.94},right1:{type:"text",text:"{REF}",x:1.88,y:-1.14}},refblocks:{right1:{x:2.23,y:-1.97},right2:{x:1.6,y:-1.5},right3:{x:2.23,y:-1.14}},bounds:{minX:1.58,maxX:2.35,minY:-1.98,maxY:-1.12,width:.77,height:.86,centerX:1.96,centerY:-1.55},circles:{"path1-0":{type:"circle",x:2.05,y:-1.54,radius:.3,color:"primary",fill:!1}}};var ry=e(P).rotateRightFacingSymbol("down").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:0,y:.15}).build();var oy=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var iy=e(P).rotateRightFacingSymbol("left").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.8}).changeTextAnchor("{REF}","middle_left",{x:0,y:.8}).build();var ly=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var py=e(P).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build();var ay=e(P).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build();var yy={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:.09},{x:.12,y:.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.45},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.35},left1:{type:"text",text:"A",x:0,y:-.1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:-.09,maxY:.09,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:_h,texts:gh,bounds:ue,refblocks:sy,circles:uh}=yy,Et=s({primitives:[...Object.values(_h),...Object.values(uh),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...gh.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...sy.left1,labels:["1"]},{...sy.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}});function vh(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function wh(t){return typeof t=="object"&&t!==null&&t.type==="text"&&typeof t.text=="string"&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.anchor=="string"}var{6:Pr,2:Sr,...Ah}=Et.primitives;vh(Sr)&&Sr.points.map(t=>{t.y+=.05});wh(Pr)&&(Pr.y+=.025);function Ph(t){return typeof t=="object"}var xy=r({...Et,primitives:Object.values(Ah).filter(Ph)}),my={...xy,primitives:[...xy.primitives,Pr,Sr]};var S={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:-.14},{x:.12,y:-.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:Rh,texts:A7,bounds:ve,refblocks:ny,circles:Fh}=S,fy=e({primitives:[...Object.values(Rh),...Object.values(Fh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ny.left1,labels:["1"]},{...ny.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Th,texts:F7,bounds:we,refblocks:cy,circles:Eh}=S,hy=e({primitives:[...Object.values(Th),...Object.values(Eh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...cy.left1,labels:["1"]},{...cy.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Yh,texts:X7,bounds:Ae,refblocks:dy,circles:Xh}=S,by=e({primitives:[...Object.values(Yh),...Object.values(Xh),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...dy.left1,labels:["1"]},{...dy.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Lh,texts:k7,bounds:Pe,refblocks:_y,circles:Vh}=S,gy=e({primitives:[...Object.values(Lh),...Object.values(Vh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{..._y.left1,labels:["1"]},{..._y.right1,labels:["2"]}],size:{width:Pe.width,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:jh,texts:$7,bounds:Se,refblocks:uy,circles:kh}=S,vy=e({primitives:[...Object.values(jh),...Object.values(kh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...uy.left1,labels:["1"]},{...uy.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:zh,texts:I7,bounds:Re,refblocks:wy,circles:Oh}=S,Ay=e({primitives:[...Object.values(zh),...Object.values(Oh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...wy.left1,labels:["1"]},{...wy.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var R={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}};var Py=e(R).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:-.03,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.2}).build();var Sy=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Ry=e(R).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.8}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.9}).build();var Fy=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Ty=e(R).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build();var Ey=e(R).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build();var C={paths:{triangle:{type:"path",points:[{x:-.06,y:-.09},{x:-.06,y:.09},{x:.06,y:0},{x:-.06,y:-.09}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.11,y:0},{x:-.06,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:-.11,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:Mh,bounds:Yy,refblocks:Ch}=C,Xy=e({primitives:[...Object.values(Mh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Ch.left1,labels:["1"]}],center:{x:Yy.centerX,y:Yy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:Nh,bounds:Ly,refblocks:Ih}=C,Vy=e({primitives:[...Object.values(Nh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Ih.left1,labels:["1"]}],center:{x:Ly.centerX,y:Ly.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Bh,bounds:jy,refblocks:qh}=C,ky=e({primitives:[...Object.values(Bh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...qh.left1,labels:["1"]}],center:{x:jy.centerX,y:jy.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Dh,bounds:zy,refblocks:Gh}=C,Oy=e({primitives:[...Object.values(Dh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Gh.left1,labels:["1"]}],center:{x:zy.centerX,y:zy.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Jy={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var N=e(Jy).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var $y=r(N,"down");var My=r(N,"left");var Cy=r(N,"up");var Ny={paths:{path1:{type:"path",points:[{x:-.37,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-2":{type:"path",points:[{x:-.07,y:.22},{x:.11,y:.16}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.37,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.37,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.37,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-5":{type:"path",points:[{x:-.07,y:-.19},{x:.1,y:-.24}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.37,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.37,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.2},{x:0,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.56},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}};var I=e(Ny).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Rr=r(I,"down"),Fr=Rr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tr=Rr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fr.anchor="middle_bottom";Tr.anchor="middle_top";Fr.x=0;Fr.y+=.537;Tr.y-=.5375;Tr.x=0;var Iy=Rr;var Er=r(I,"left"),Yr=Er.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xr=Er.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yr.anchor="middle_bottom";Xr.anchor="middle_top";Yr.x=0;Yr.y+=1;Xr.y-=1;Xr.x=0;var By=Er;var Lr=r(I,"up"),Vr=Lr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jr=Lr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vr.anchor="middle_bottom";jr.anchor="middle_top";Vr.x=0;Vr.y+=.537;jr.y-=.5375;jr.x=0;var qy=Lr;var Dy={paths:{path1:{type:"path",points:[{x:-.37,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.23},{x:.11,y:.33}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.37,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.37,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.37,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-6":{type:"path",points:[{x:-.07,y:-.18},{x:.11,y:-.07}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.37,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.37,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.12},{x:0,y:.27}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.61},bottom1:{type:"text",text:"{VAL}",x:0,y:-.52}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}};var B=e(Dy).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var kr=r(B,"down"),zr=kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Or=kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zr.anchor="middle_bottom";Or.anchor="middle_top";zr.x=0;zr.y+=.565;Or.y-=.555;Or.x=0;var Gy=kr;var Jr=r(B,"left"),$r=Jr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mr=Jr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$r.anchor="middle_bottom";Mr.anchor="middle_top";$r.x=0;$r.y+=1.09;Mr.y-=1.09;Mr.x=0;var Uy=Jr;var Cr=r(B,"up"),Nr=Cr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ir=Cr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Nr.anchor="middle_bottom";Ir.anchor="middle_top";Nr.x=0;Nr.y+=.565;Ir.y-=.555;Ir.x=0;var Wy=Cr;var Hy={paths:{path11:{type:"path",points:[{x:-.38,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.11,y:.11}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.38,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.38,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.17},{x:.11,y:-.12}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.38,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.31}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}};var q=e(Hy).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Br=r(q,"down"),qr=Br.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Dr=Br.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qr.anchor="middle_bottom";Dr.anchor="middle_top";qr.x=.4;qr.y+=.265;Dr.y-=.265;Dr.x=.4;var Zy=Br;var Gr=r(q,"left"),Ur=Gr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wr=Gr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ur.anchor="middle_bottom";Wr.anchor="middle_top";Ur.x=0;Ur.y+=.67;Wr.y-=.67;Wr.x=0;var Qy=Gr;var Hr=r(q,"up"),Zr=Hr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qr=Hr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zr.anchor="middle_bottom";Qr.anchor="middle_top";Zr.x=.46;Zr.y+=.265;Qr.y-=.265;Qr.x=.46;var Ky=Hr;var ts={paths:{path11:{type:"path",points:[{x:-.38,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.1,y:.2}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.38,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.38,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.16},{x:.1,y:-.03}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.38,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}};var D=e(ts).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Kr=r(D,"down"),to=Kr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),eo=Kr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");to.anchor="middle_bottom";eo.anchor="middle_top";to.x=.4;to.y+=.295;eo.y-=.295;eo.x=.42;var es=Kr;var ro=r(D,"left"),oo=ro.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),io=ro.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");oo.anchor="middle_bottom";io.anchor="middle_top";oo.x=0;oo.y+=.795;io.y-=.795;io.x=0;var rs=ro;var lo=r(D,"up"),po=lo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ao=lo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");po.anchor="middle_bottom";ao.anchor="middle_top";po.x=.46;po.y+=.315;ao.y-=.315;ao.x=.46;var os=lo;var Fe={paths:{path5:{type:"path",points:[{x:-.44,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.44,y:.01}],color:"primary",fill:!1},path9:{type:"path",points:[{x:-.25,y:-.16},{x:.02,y:.3},{x:.25,y:.17},{x:-.02,y:-.29},{x:-.25,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.44,y:0},right1:{x:.44,y:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:td,texts:O6,bounds:Te,refblocks:is,circles:ed}=Fe,Ee=e({primitives:[...Object.values(td),...Object.values(ed),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...is.left1,labels:["1"]},{...is.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var yo=u(Ee),so=yo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xo=yo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");so.anchor="middle_left";xo.anchor="middle_left";so.y+=.4;so.x=.32;xo.y-=.45;xo.x=.32;var ls=yo;var Ye=e(Fe).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ps=Y(Ye);var F={paths:{path11:{type:"path",points:[{x:-.56,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.48,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.14,y:-.15},{x:.14,y:.25}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.22,y:.25},{x:-.21,y:-.15},{x:.14,y:.05},{x:-.22,y:.25}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.09,y:.38},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.38},right1:{type:"text",text:"",x:.59,y:-.33}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{minX:-.59,maxX:.59,minY:-.38,maxY:.38,width:1.18,height:.76,centerX:0,centerY:0},circles:{}};var{paths:od,texts:Q6,bounds:Xe,refblocks:as,circles:id}=F,ys=e({primitives:[...Object.values(od),...Object.values(id),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...as.left1,labels:["1"]},{...as.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ld,texts:rv,bounds:Le,refblocks:ss,circles:pd}=F,xs=e({primitives:[...Object.values(ld),...Object.values(pd),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ss.left1,labels:["1"]},{...ss.right1,labels:["2"]}],size:{width:Le.width,height:Le.height},center:{x:Le.centerX,y:Le.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ad,texts:pv,bounds:Ve,refblocks:ms,circles:yd}=F,ns=e({primitives:[...Object.values(ad),...Object.values(yd),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...ms.left1,labels:["1"]},{...ms.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:sd,texts:xv,bounds:je,refblocks:fs,circles:xd}=F,cs=e({primitives:[...Object.values(sd),...Object.values(xd),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...fs.left1,labels:["1"]},{...fs.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:md,texts:cv,bounds:ke,refblocks:hs,circles:nd}=F,ds=e({primitives:[...Object.values(md),...Object.values(nd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...hs.left1,labels:["1"]},{...hs.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:fd,texts:_v,bounds:ze,refblocks:bs,circles:cd}=F,_s=e({primitives:[...Object.values(fd),...Object.values(cd),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...bs.left1,labels:["1"]},{...bs.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var gs={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:dd,texts:bd,bounds:Oe,refblocks:us,circles:_d}=gs,Yt=s({primitives:[...Object.values(dd),...Object.values(_d),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...bd.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...us.left1,labels:["1"]},{...us.right1,labels:["2"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}});var{5:gd,...ud}=Yt.primitives;function vd(t){return typeof t=="object"}var vs=r({...Yt,primitives:Object.values(ud).filter(vd)}),ws={...vs,primitives:[...vs.primitives,gd]};var As={paths:{path10:{type:"path",points:[{x:-.53,y:.04},{x:.53,y:.04}],color:"primary",fill:!1},path14:{type:"path",points:[{x:0,y:.17},{x:.27,y:.17},{x:.27,y:-.1},{x:-.26,y:-.1},{x:-.26,y:.17},{x:0,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.24},bottom1:{type:"text",text:"{VAL}",x:-.17,y:-.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{minX:-.56,maxX:.56,minY:-.24,maxY:.24,width:1.13,height:.47,centerX:0,centerY:0},circles:{}};var{paths:Ad,texts:Pd,bounds:Je,refblocks:Ps}=As,$e=s({primitives:[...Object.values(Ad),{...Pd.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Ps.left1,labels:["1"]},{...Ps.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}});var Ss=r($e);var T={paths:{path1:{type:"path",points:[{x:-.29,y:.01},{x:.04,y:0}],color:"primary",fill:!0},path2:{type:"path",points:[{x:.04,y:-.22},{x:.04,y:.22}],color:"primary",fill:!0},path3:{type:"path",points:[{x:.12,y:-.17},{x:.12,y:.17}],color:"primary",fill:!0},path4:{type:"path",points:[{x:.19,y:-.06},{x:.19,y:.06}],color:"primary",fill:!0}},texts:{right1:{type:"text",text:"{REF}",x:.31,y:-.02}},refblocks:{left1:{x:-.29,y:.01}},bounds:{minX:-.31,maxX:.31,minY:-.22,maxY:.22,width:.62,height:.45,centerX:0,centerY:0},circles:{}};var Rs=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Fs=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Ts=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Es=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Ys=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Xs=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Xt={paths:{path11:{type:"path",points:[{x:-.52,y:.03},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.52,y:.04}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.31,y:.2},{x:-.31,y:-.11},{x:-.01,y:.04},{x:-.3,y:.2}],color:"primary",fill:!0},"path11-0-9-5":{type:"path",points:[{x:.33,y:.2},{x:.33,y:-.1},{x:.04,y:.04},{x:.33,y:.2}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.04,y:.32},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.32}},refblocks:{left1:{x:-.52,y:.03},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.32,maxY:.32,width:1.09,height:.63,centerX:0,centerY:0},circles:{}};var{paths:rw,texts:ow,bounds:iw,refblocks:lw,circles:pw}=Xt,Ls=e(Xt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Vs=e(Xt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var js={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.3,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1},box:{type:"path",points:[{x:-.3,y:-.4},{x:.3,y:-.4},{x:.3,y:.4},{x:-.3,y:.4},{x:-.3,y:-.4},{x:-.3,y:.4}],color:"primary",fill:!1},"path48-1":{type:"path",points:[{x:-.3,y:.13},{x:-.54,y:.13}],color:"primary",fill:!1},"path48-2":{type:"path",points:[{x:-.3,y:-.13},{x:-.54,y:-.13}],color:"primary",fill:!1},"path48-3":{type:"path",points:[{x:.3,y:-.13},{x:.54,y:-.13}],color:"primary",fill:!1},"path48-4":{type:"path",points:[{x:.3,y:.13},{x:.54,y:.13}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.43},right1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.54,y:.13},left2:{x:-.54,y:-.13},right1:{x:.54,y:-.13},right2:{x:.54,y:.13}},bounds:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}};var G=e(js).labelPort("left1",["1","DIN"]).labelPort("left2",["2","POWER"]).labelPort("right1",["3","GND"]).labelPort("right2",["4","DOUT"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ks=r(G,"down");var zs=Y(G);var mo=r(G,"up"),no=mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fo=mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");no.anchor="middle_left";fo.anchor="middle_left";no.y+=.21;no.x=.44;fo.y-=.21;fo.x=.44;var Os=mo;var Js={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:-.01,y:0}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.01,y:-.12},{x:.01,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.28,y:-.25},{x:.28,y:-.56}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.56},{x:.28,y:.27}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.17,y:-.22},{x:.28,y:-.23},{x:.23,y:-.14}],color:"primary",fill:!0},path17:{type:"path",points:[{x:.08,y:-.09},{x:.23,y:-.2}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.28,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.36},bottom1:{type:"text",text:"{VAL}",x:.02,y:-.42}},refblocks:{top1:{x:.28,y:.56},bottom1:{x:.28,y:-.56},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.17,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:.01,radius:.29,color:"primary",fill:!1}}};var Me=e(Js).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var co=r(Me),ho=co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$s=co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ho.anchor="middle_left";$s.anchor="middle_right";ho.x=.45;ho.y+=.065;$s.y+=.065;var Ms=co;var Cs={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.02,y:-.02},{x:.02,y:-.1}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.47,y:-.19},{x:-.17,y:-.19}],color:"primary",fill:!1},"path12-1-5-6-8":{type:"path",points:[{x:.02,y:.17},{x:.02,y:.11}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.15,y:-.03},{x:.2,y:-.19}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.19},{x:.47,y:-.19}],color:"primary",fill:!1},"path12-1-8-6-9-4":{type:"path",points:[{x:.02,y:.12},{x:.02,y:.02}],color:"primary",fill:!1},"path12-1-8-6-9-4-3":{type:"path",points:[{x:.08,y:.11},{x:.08,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-3-1":{type:"path",points:[{x:-.04,y:.11},{x:-.04,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-4":{type:"path",points:[{x:.08,y:.11},{x:-.04,y:.11}],color:"primary",fill:!1},"path14-5":{type:"path",points:[{x:-.01,y:.28},{x:.01,y:.25},{x:.04,y:.23},{x:.06,y:.2}],color:"primary",fill:!0},"path14-5-3":{type:"path",points:[{x:-.01,y:.2},{x:.01,y:.23},{x:.04,y:.25},{x:.06,y:.28}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.38},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.38}},refblocks:{left1:{x:-.47,y:-.19},right1:{x:.47,y:-.19}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.38,width:1,height:.76,centerX:0,centerY:0},circles:{path9:{type:"circle",x:.02,y:.24,radius:.06,color:"primary",fill:!1}}};var Ce=e(Cs).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ns=r(Ce),Is=Ns.primitives.filter(t=>t.type==="text"),bo=Is.find(t=>t.text==="{VAL}");bo.x=-.35;bo.y=0;bo.anchor="middle_right";var _o=Is.find(t=>t.text==="{REF}");_o.y=0;_o.x=.35;_o.anchor="middle_left";var Bs=Ns;var qs={paths:{path8698:{type:"path",points:[{x:-.2,y:-.02},{x:-.2,y:-.02},{x:-.21,y:-.01},{x:-.21,y:-.01},{x:-.21,y:0},{x:-.21,y:0},{x:-.21,y:0},{x:-.22,y:.01},{x:-.22,y:.01},{x:-.22,y:.02},{x:-.22,y:.02},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.04},{x:-.24,y:.04},{x:-.24,y:.04},{x:-.24,y:.05},{x:-.24,y:.05},{x:-.25,y:.05},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.26,y:.06},{x:-.26,y:.06},{x:-.26,y:.07},{x:-.26,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.29,y:.07},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.31,y:.08},{x:-.31,y:.08},{x:-.31,y:.07},{x:-.31,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.34,y:.07},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.35,y:.06},{x:-.35,y:.06},{x:-.35,y:.05},{x:-.35,y:.05},{x:-.36,y:.05},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.02},{x:-.38,y:.02},{x:-.38,y:.01},{x:-.38,y:.01},{x:-.38,y:0},{x:-.39,y:0},{x:-.39,y:0},{x:-.39,y:-.01},{x:-.39,y:-.01},{x:-.4,y:-.02},{x:-.4,y:-.02}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:0,y:-.02},{x:0,y:-.02},{x:-.01,y:-.01},{x:-.01,y:-.01},{x:-.01,y:0},{x:-.01,y:0},{x:-.02,y:0},{x:-.02,y:.01},{x:-.02,y:.01},{x:-.02,y:.02},{x:-.03,y:.02},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.05},{x:-.05,y:.05},{x:-.05,y:.05},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.09,y:.07},{x:-.09,y:.07},{x:-.09,y:.08},{x:-.09,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.14,y:.07},{x:-.14,y:.07},{x:-.14,y:.06},{x:-.14,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.05},{x:-.16,y:.05},{x:-.16,y:.05},{x:-.16,y:.04},{x:-.16,y:.04},{x:-.17,y:.04},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.18,y:.02},{x:-.18,y:.02},{x:-.18,y:.01},{x:-.18,y:.01},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:-.01},{x:-.2,y:-.01},{x:-.2,y:-.02},{x:-.2,y:-.02}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2,y:-.02},{x:.2,y:-.02},{x:.19,y:-.01},{x:.19,y:-.01},{x:.19,y:0},{x:.19,y:0},{x:.18,y:0},{x:.18,y:.01},{x:.18,y:.01},{x:.18,y:.02},{x:.17,y:.02},{x:.17,y:.03},{x:.17,y:.03},{x:.17,y:.03},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.05},{x:.15,y:.05},{x:.15,y:.05},{x:.15,y:.06},{x:.15,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.06,y:.07},{x:.06,y:.07},{x:.06,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.05},{x:.04,y:.05},{x:.04,y:.05},{x:.04,y:.04},{x:.04,y:.04},{x:.03,y:.04},{x:.03,y:.03},{x:.03,y:.03},{x:.03,y:.03},{x:.02,y:.02},{x:.02,y:.02},{x:.02,y:.01},{x:.02,y:.01},{x:.01,y:0},{x:.01,y:0},{x:.01,y:0},{x:.01,y:-.01},{x:0,y:-.01},{x:0,y:-.02},{x:0,y:-.02}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.4,y:-.02},{x:.39,y:-.02},{x:.39,y:-.01},{x:.39,y:-.01},{x:.39,y:0},{x:.39,y:0},{x:.38,y:0},{x:.38,y:.01},{x:.38,y:.01},{x:.38,y:.02},{x:.37,y:.02},{x:.37,y:.03},{x:.37,y:.03},{x:.37,y:.03},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.05},{x:.35,y:.05},{x:.35,y:.05},{x:.35,y:.06},{x:.35,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.31,y:.07},{x:.31,y:.07},{x:.31,y:.08},{x:.31,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.26,y:.07},{x:.26,y:.07},{x:.26,y:.06},{x:.26,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.05},{x:.24,y:.05},{x:.24,y:.05},{x:.24,y:.04},{x:.24,y:.04},{x:.23,y:.04},{x:.23,y:.03},{x:.23,y:.03},{x:.23,y:.03},{x:.22,y:.02},{x:.22,y:.02},{x:.22,y:.01},{x:.22,y:.01},{x:.21,y:0},{x:.21,y:0},{x:.21,y:0},{x:.21,y:-.01},{x:.2,y:-.01},{x:.2,y:-.02},{x:.2,y:-.02}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.4,y:-.02},{x:-.55,y:-.02}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.55,y:-.03},{x:.4,y:-.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.23},bottom1:{type:"text",text:"{VAL}",x:0,y:-.23}},refblocks:{left1:{x:-.55,y:-.02},right1:{x:.55,y:-.03}},bounds:{minX:-.58,maxX:.58,minY:-.23,maxY:.23,width:1.16,height:.46,centerX:0,centerY:0},circles:{}};var{paths:Xd,texts:Ds,bounds:Ne,refblocks:Gs,circles:Ld}=qs,vt=s({primitives:[...Object.values(Xd),...Object.values(Ld),{...Ds.top1,anchor:"middle_bottom"},{...Ds.bottom1,anchor:"middle_top"}],ports:[{...Gs.left1,labels:["1"]},{...Gs.right1,labels:["2"]}],size:{width:Ne.width,height:Ne.height},center:{x:Ne.centerX,y:Ne.centerY}});var Ie=r(vt,"up");var Us=u(Ie);var Ws=Y(vt);var go={paths:{path11:{type:"path",points:[{x:-.54,y:-.06},{x:-.15,y:-.06}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:-.05},{x:-.13,y:-.18}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.08},{x:.13,y:-.05}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.18},{x:-.13,y:.08}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.08},{x:.13,y:-.18}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:-.05},{x:.54,y:-.06}],color:"primary",fill:!1},"path25-0-9-8":{type:"path",points:[{x:-.03,y:.39},{x:-.05,y:.47},{x:-.08,y:.39}],color:"primary",fill:!0},"path78-6-5-5":{type:"path",points:[{x:-.05,y:.27},{x:-.05,y:.29},{x:-.05,y:.41},{x:-.05,y:.42}],color:"primary",fill:!1},"path25-0-9-8-2":{type:"path",points:[{x:.07,y:.39},{x:.04,y:.47},{x:.02,y:.39}],color:"primary",fill:!0},"path78-6-5-5-7":{type:"path",points:[{x:.04,y:.27},{x:.04,y:.29},{x:.04,y:.41},{x:.04,y:.42}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:.03,y:.06},{x:.03,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.38,y:.38},bottom1:{type:"text",text:"{VAL}",x:.38,y:-.47}},refblocks:{left1:{x:-.54,y:-.06},right1:{x:.54,y:-.06}},bounds:{minX:-.57,maxX:.57,minY:-.47,maxY:.47,width:1.14,height:.93,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.05,radius:.29,color:"primary",fill:!1}}};go.bounds.width+=.2;var U=e(go).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var uo=r(U,"down"),vo=uo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wo=uo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vo.anchor="middle_left";wo.anchor="middle_left";vo.y+=.9;vo.x=.3;wo.y-=.1;wo.x=.3;var Hs=uo;var Ao=r(U,"left"),Po=Ao.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),So=Ao.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Po.anchor="middle_left";So.anchor="middle_left";Po.y+=.71;Po.x=.44;So.y-=.71;So.x=.44;var Zs=Ao;var Ro=r(U,"up"),Fo=Ro.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),To=Ro.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fo.anchor="middle_left";To.anchor="middle_left";Fo.y+=.1;Fo.x=.3;To.y-=.71;To.x=.3;var Qs=Ro;var Ks={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.54,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.54,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.21},right1:{type:"text",text:"{REF}",x:0,y:.41}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}};var{paths:kd,texts:tx,bounds:Be,refblocks:ex,circles:zd}=Ks,wt=s({primitives:[...Object.values(kd),...Object.values(zd),{...tx.bottom1,anchor:"middle_top"},{...tx.right1,anchor:"middle_bottom"}],ports:[{...ex.left1,labels:["1"]},{...ex.right1,labels:["2"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}});var Eo=r(wt,"up"),Yo=Eo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xo=Eo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yo.anchor="middle_left";Xo.anchor="middle_left";Yo.y+=.21;Yo.x=.21;Xo.y-=.21;Xo.x=.21;var qe=Eo;var Lo=u(qe),Vo=Lo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jo=Lo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vo.anchor="middle_left";jo.anchor="middle_left";Vo.y+=.4;Vo.x=.2;jo.y-=.41;jo.x=.2;var rx=Lo;var ox=Y(wt);var ix={paths:{path11:{type:"path",points:[{x:-.52,y:-.01},{x:-.18,y:-.01}],color:"primary",fill:!1},"path11-2":{type:"path",points:[{x:-.17,y:-.11},{x:-.17,y:.08}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.17,y:-.12},{x:.16,y:-.12}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:-.17,y:.08},{x:.16,y:.08}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.17,y:-.01},{x:.52,y:-.01}],color:"primary",fill:!1},"path11-2-1":{type:"path",points:[{x:.16,y:-.12},{x:.16,y:.08}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:-.4,y:-.21},{x:-.33,y:-.18},{x:-.34,y:-.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:-.45,y:-.34},{x:-.44,y:-.32},{x:-.35,y:-.22},{x:-.35,y:-.22}],color:"primary",fill:!1},"path25-0-9-0":{type:"path",points:[{x:-.3,y:-.34},{x:-.22,y:-.31},{x:-.24,y:-.4}],color:"primary",fill:!0},"path78-6-5-9":{type:"path",points:[{x:-.35,y:-.46},{x:-.34,y:-.45},{x:-.25,y:-.35},{x:-.25,y:-.35}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:-.41},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.46}},refblocks:{left1:{x:-.52,y:-.01},right1:{x:.52,y:-.01}},bounds:{minX:-.55,maxX:.55,minY:-.51,maxY:.46,width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}};var{paths:Jd,texts:lx,bounds:De,refblocks:px,circles:$d}=ix,Ge=s({primitives:[...Object.values(Jd),...Object.values($d),{...lx.top1,anchor:"middle_left",x:0},{...lx.bottom1,anchor:"middle_left",x:0}],ports:[{...px.left1,labels:["1"]},{...px.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX,y:De.centerY}});var ax=r(Ge),yx=ax.primitives.filter(t=>t.type==="text"),ko=yx.find(t=>t.text==="{VAL}");ko.x=-.35;ko.y=0;ko.anchor="middle_right";var zo=yx.find(t=>t.text==="{REF}");zo.y=0;zo.x=.35;zo.anchor="middle_left";var sx=ax;var xx={paths:{path208:{type:"path",points:[{x:.38,y:.13},{x:.52,y:-.13}],color:"primary",fill:!1},path209:{type:"path",points:[{x:.25,y:-.13},{x:.38,y:.13}],color:"primary",fill:!1},path210:{type:"path",points:[{x:.52,y:-.13},{x:.25,y:-.13}],color:"primary",fill:!1},path211:{type:"path",points:[{x:.25,y:.13},{x:.52,y:.13}],color:"primary",fill:!1},path212:{type:"path",points:[{x:.12,y:-.4},{x:.38,y:-.4}],color:"primary",fill:!1},path213:{type:"path",points:[{x:.38,y:.4},{x:.12,y:.4}],color:"primary",fill:!1},path214:{type:"path",points:[{x:.12,y:.54},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.54},{x:.12,y:0}],color:"primary",fill:!1},path216:{type:"path",points:[{x:.38,y:-.4},{x:.38,y:.4}],color:"primary",fill:!1},path217:{type:"path",points:[{x:-.14,y:.26},{x:-.14,y:-.27}],color:"primary",fill:!1},path218:{type:"path",points:[{x:-.22,y:-.27},{x:-.22,y:.26}],color:"primary",fill:!1},path219:{type:"path",points:[{x:-.54,y:-.27},{x:-.22,y:-.27}],color:"primary",fill:!1},path220:{type:"path",points:[{x:-.14,y:-.19},{x:.12,y:-.19}],color:"primary",fill:!1},path221:{type:"path",points:[{x:-.14,y:.18},{x:.12,y:.18}],color:"primary",fill:!1},path222:{type:"path",points:[{x:-.07,y:0},{x:.12,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{VAL}",x:.57,y:.02},right2:{type:"text",text:"{REF}",x:.57,y:.21}},refblocks:{top1:{x:.12,y:.54},bottom1:{x:.12,y:-.54},left1:{x:-.54,y:-.27}},bounds:{minX:-.57,maxX:.57,minY:-.57,maxY:.57,width:1.14,height:1.14,centerX:0,centerY:0},circles:{}};var{paths:Cd,texts:mx,bounds:Ue,refblocks:Oo}=xx,We=s({primitives:[...Object.values(Cd),{...mx.right1,anchor:"middle_left"},{...mx.right2,anchor:"middle_left"}],ports:[{...Oo.top1,labels:["1"]},{...Oo.bottom1,labels:["2"]},{...Oo.left1,labels:["3"]}],size:{width:Ue.width+.4,height:Ue.height},center:{x:Ue.centerX+.2,y:Ue.centerY}});var Jo=r(We),nx=Jo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$o=Jo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");nx.anchor="middle_top";$o.anchor="middle_top";nx.x=$o.x;$o.y+=.15;var fx=Jo;var cx={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.01,y:.07},{x:.01,y:-.01}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.47,y:-.09},{x:-.17,y:-.09}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.16,y:-.01},{x:.17,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.09},{x:.47,y:-.09}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.1,y:.06},{x:-.1,y:.06},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.09,y:.09},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.11},{x:-.09,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.05,y:.14},{x:-.05,y:.15},{x:-.05,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.01,y:.16},{x:-.01,y:.16},{x:0,y:.16},{x:0,y:.16},{x:0,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.05,y:.15},{x:.05,y:.15},{x:.05,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.08,y:.14},{x:.08,y:.13},{x:.08,y:.13},{x:.08,y:.13},{x:.09,y:.13},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.1,y:.11},{x:.1,y:.11},{x:.1,y:.1},{x:.1,y:.1},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.06},{x:.11,y:.06},{x:.1,y:.06},{x:.1,y:.06},{x:.09,y:.06},{x:.09,y:.06},{x:.08,y:.06},{x:.07,y:.06},{x:.07,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.04,y:.06},{x:.03,y:.06},{x:.03,y:.06},{x:.02,y:.06},{x:.01,y:.06},{x:.01,y:.06},{x:0,y:.06},{x:-.01,y:.06},{x:-.01,y:.06},{x:-.02,y:.06},{x:-.03,y:.06},{x:-.03,y:.06},{x:-.04,y:.06},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.07,y:.06},{x:-.07,y:.06},{x:-.08,y:.06},{x:-.09,y:.06},{x:-.09,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.27}},refblocks:{left1:{x:-.47,y:-.09},right1:{x:.47,y:-.09}},bounds:{minX:-.5,maxX:.5,minY:-.27,maxY:.27,width:1,height:.53,centerX:0,centerY:0},circles:{}};var{paths:Id,texts:hx,bounds:He,refblocks:dx,circles:Bd}=cx,Ze=s({primitives:[...Object.values(Id),...Object.values(Bd),{...hx.top1,anchor:"middle_bottom",x:0},{...hx.bottom1,anchor:"middle_top",x:0}],ports:[{...dx.left1,labels:["1"]},{...dx.right1,labels:["2"]}],size:{width:He.width,height:He.height},center:{x:He.centerX+.006,y:He.centerY+.06}});var Mo=r(Ze),Lt=Mo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qe=Mo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lt.anchor="middle_left";Qe.anchor="middle_right";Lt.x=Lt.x-.03;Lt.y=Lt.y;Qe.x=Qe.x;Qe.y=0;var bx=Mo;var _x={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:Dd,texts:gx,bounds:Ke,refblocks:Co,circles:Gd}=_x,t0=s({primitives:[...Object.values(Dd),...Object.values(Gd),{...gx.top1,anchor:"middle_right",x:0},{...gx.bottom1,anchor:"middle_right",x:0}],ports:[{...Co.top1,labels:["1","drain"]},{...Co.bottom1,labels:["2","source"]},{...Co.left1,labels:["3","gate"]}],size:{width:Ke.width,height:Ke.height},center:{x:Ke.centerX,y:Ke.centerY}});var ux=r(t0),vx=ux.primitives.filter(t=>t.type==="text"),No=vx.find(t=>t.text==="{VAL}");No.x=-.35;No.y=0;No.anchor="middle_right";var Io=vx.find(t=>t.text==="{REF}");Io.y=0;Io.x=.35;Io.anchor="middle_left";var wx=ux;var Ax={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:Wd,texts:Px,bounds:e0,refblocks:Bo,circles:Hd}=Ax,r0=s({primitives:[...Object.values(Wd),...Object.values(Hd),{...Px.top1,anchor:"middle_right",x:0},{...Px.bottom1,anchor:"middle_right",x:0}],ports:[{...Bo.top1,labels:["1","drain"]},{...Bo.bottom1,labels:["2","source"]},{...Bo.left1,labels:["3","gate"]}],size:{width:e0.width,height:e0.height},center:{x:e0.centerX,y:e0.centerY}});var Sx=r(r0),Rx=Sx.primitives.filter(t=>t.type==="text"),qo=Rx.find(t=>t.text==="{VAL}");qo.x=-.35;qo.y=0;qo.anchor="middle_right";var Do=Rx.find(t=>t.text==="{REF}");Do.y=0;Do.x=.35;Do.anchor="middle_left";var Fx=Sx;var Tx={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.55},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.07},{x:.01,y:0},{x:-.08,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:Qd,texts:Ex,bounds:o0,refblocks:Go,circles:Kd}=Tx,i0=s({primitives:[...Object.values(Qd),...Object.values(Kd),{...Ex.top1,anchor:"middle_right",x:0},{...Ex.bottom1,anchor:"middle_right",x:0}],ports:[{...Go.top1,labels:["1","drain"]},{...Go.bottom1,labels:["2","source"]},{...Go.left1,labels:["3","gate"]}],size:{width:o0.width,height:o0.height},center:{x:o0.centerX,y:o0.centerY}});var Yx=r(i0),Xx=Yx.primitives.filter(t=>t.type==="text"),Uo=Xx.find(t=>t.text==="{VAL}");Uo.x=-.35;Uo.y=0;Uo.anchor="middle_right";var Wo=Xx.find(t=>t.text==="{REF}");Wo.y=0;Wo.x=.35;Wo.anchor="middle_left";var Lx=Yx;var Vx={paths:{diag1:{type:"path",points:[{x:-.1,y:-.1},{x:.1,y:.1}],color:"primary",fill:!1},diag2:{type:"path",points:[{x:-.1,y:.1},{x:.1,y:-.1}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1}},texts:{},refblocks:{left1:{x:-.2,y:0}},bounds:{minX:-.19,maxX:.2,minY:-.12,maxY:.12,width:.39,height:.24,centerX:0,centerY:0},circles:{}};var{paths:e2,bounds:jx,refblocks:r2}=Vx,W=e({primitives:[...Object.values(e2)],ports:[{...r2.left1,labels:["1"]}],center:{x:jx.centerX,y:jx.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var kx=r(W,"down");var zx=r(W,"left");var Ox=r(W,"up");var E={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.55}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.19,y:-.1},{x:.12,y:-.2},{x:.22,y:-.2},{x:.19,y:-.1}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.36},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:i2,texts:EP,bounds:l0,refblocks:Ho,circles:l2}=E,Jx=e({primitives:[...Object.values(i2),...Object.values(l2),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...Ho.top1,labels:["1","collector"]},{...Ho.bottom1,labels:["3","emitter"]},{...Ho.left1,labels:["2","base"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:p2,texts:VP,bounds:p0,refblocks:Zo,circles:a2}=E,$x=e({primitives:[...Object.values(p2),...Object.values(a2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Zo.top1,labels:["1","collector"]},{...Zo.bottom1,labels:["3","emitter"]},{...Zo.left1,labels:["2","base"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:y2,texts:OP,bounds:a0,refblocks:Qo,circles:s2}=E,Mx=e({primitives:[...Object.values(y2),...Object.values(s2),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...Qo.top1,labels:["1","collector"]},{...Qo.bottom1,labels:["3","emitter"]},{...Qo.left1,labels:["2","base"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:x2,texts:CP,bounds:y0,refblocks:Ko,circles:m2}=E,Cx=e({primitives:[...Object.values(x2),...Object.values(m2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Ko.top1,labels:["1","collector"]},{...Ko.bottom1,labels:["3","emitter"]},{...Ko.left1,labels:["2","base"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:n2,texts:qP,bounds:s0,refblocks:ti,circles:f2}=E,Nx=e({primitives:[...Object.values(n2),...Object.values(f2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ti.top1,labels:["1","collector"]},{...ti.bottom1,labels:["3","emitter"]},{...ti.left1,labels:["2","base"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:c2,texts:WP,bounds:x0,refblocks:ei,circles:h2}=E,Ix=e({primitives:[...Object.values(c2),...Object.values(h2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ei.top1,labels:["1","collector"]},{...ei.bottom1,labels:["3","emitter"]},{...ei.left1,labels:["2","base"]}],size:{width:x0.width,height:x0.height},center:{x:x0.centerX,y:x0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Bx={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var H=e(Bx).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var qx=r(H,"down");var Dx=u(r(H,"left"));var Gx=r(H,"up");var Ux={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var Z=e(Ux).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["4","out"]).labelPort("top2",["5","V+"]).labelPort("bottom1",["3","V-"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Wx=r(Z,"down");var Hx=u(r(Z,"left"));var Zx=r(Z,"up");var Qx={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:g2,texts:Kx,bounds:m0,refblocks:ri,circles:u2}=Qx,n0=s({primitives:[...Object.values(g2),...Object.values(u2),{...Kx.top1,anchor:"middle_right",x:0},{...Kx.bottom1,anchor:"middle_right",x:0}],ports:[{...ri.top1,labels:["1","drain"]},{...ri.bottom1,labels:["2","source"]},{...ri.left1,labels:["3","gate"]}],size:{width:m0.width,height:m0.height},center:{x:m0.centerX,y:m0.centerY}});var tm=r(n0),em=tm.primitives.filter(t=>t.type==="text"),oi=em.find(t=>t.text==="{VAL}");oi.x=-.35;oi.y=0;oi.anchor="middle_right";var ii=em.find(t=>t.text==="{REF}");ii.y=0;ii.x=.35;ii.anchor="middle_left";var rm=tm;var om={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:w2,texts:im,bounds:f0,refblocks:li,circles:A2}=om,c0=s({primitives:[...Object.values(w2),...Object.values(A2),{...im.top1,anchor:"middle_right",x:0},{...im.bottom1,anchor:"middle_right",x:0}],ports:[{...li.top1,labels:["1","drain"]},{...li.bottom1,labels:["2","source"]},{...li.left1,labels:["3","gate"]}],size:{width:f0.width,height:f0.height},center:{x:f0.centerX,y:f0.centerY}});var lm=r(c0),pm=lm.primitives.filter(t=>t.type==="text"),pi=pm.find(t=>t.text==="{VAL}");pi.x=-.35;pi.y=0;pi.anchor="middle_right";var ai=pm.find(t=>t.text==="{REF}");ai.y=0;ai.x=.35;ai.anchor="middle_left";var am=lm;var ym={paths:{path11:{type:"path",points:[{x:-.54,y:-.01},{x:-.15,y:-.02}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:0},{x:-.13,y:-.13}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.13},{x:.13,y:0}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.13},{x:-.13,y:.13}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.13},{x:.13,y:-.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:0},{x:.54,y:-.01}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:.2,y:.38},{x:.16,y:.28},{x:.26,y:.3}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:.33,y:.43},{x:.32,y:.42},{x:.21,y:.31},{x:.21,y:.31}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:.35,y:.35},{x:.31,y:.26},{x:.41,y:.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:.48,y:.4},{x:.47,y:.39},{x:.35,y:.29},{x:.35,y:.29}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.1,y:.35},bottom1:{type:"text",text:"{VAL}",x:0,y:-.43}},refblocks:{left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.43,maxY:.43,width:1.14,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.01,radius:.29,color:"primary",fill:!1}}};var h0=e(ym).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var sm=r(h0),S2=sm.primitives.filter(t=>t.type==="text"),xm=S2.find(t=>t.text==="{REF}");xm.y=0;xm.anchor="middle_left";var mm=sm;var nm={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.55},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.01,y:-.07},{x:.01,y:.06},{x:-.08,y:0},{x:.01,y:-.07}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:F2,texts:fm,bounds:d0,refblocks:yi,circles:T2}=nm,b0=s({primitives:[...Object.values(F2),...Object.values(T2),{...fm.top1,anchor:"middle_right",x:0},{...fm.bottom1,anchor:"middle_right"}],ports:[{...yi.top1,labels:["1","drain"]},{...yi.bottom1,labels:["2","source"]},{...yi.left1,labels:["3","gate"]}],size:{width:d0.width,height:d0.height},center:{x:d0.centerX,y:d0.centerY}});var cm=r(b0),hm=cm.primitives.filter(t=>t.type==="text"),si=hm.find(t=>t.text==="{VAL}");si.x=-.35;si.y=0;si.anchor="middle_right";var xi=hm.find(t=>t.text==="{REF}");xi.y=0;xi.x=.35;xi.anchor="middle_left";var dm=cm;var g={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.55}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.15,y:-.23},{x:.22,y:-.12},{x:.12,y:-.12},{x:.15,y:-.23}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:Y2,texts:tR,bounds:_0,refblocks:mi,circles:X2}=g,bm=e({primitives:[...Object.values(Y2),...Object.values(X2),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...mi.top1,labels:["1","collector"]},{...mi.bottom1,labels:["2","emitter"]},{...mi.left1,labels:["3","base"]}],size:{width:_0.width,height:_0.height},center:{x:_0.centerX,y:_0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:iR,texts:lR,bounds:pR,refblocks:aR,circles:yR}=g,_m=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:L2,texts:nR,bounds:g0,refblocks:ni,circles:V2}=g,gm=e({primitives:[...Object.values(L2),...Object.values(V2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ni.top1,labels:["1","collector"]},{...ni.bottom1,labels:["2","emitter"]},{...ni.left1,labels:["3","base"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX,y:g0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:j2,texts:dR,bounds:u0,refblocks:fi,circles:k2}=g,um=e({primitives:[...Object.values(j2),...Object.values(k2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...fi.top1,labels:["1","collector"]},{...fi.bottom1,labels:["2","emitter"]},{...fi.left1,labels:["3","base"]}],size:{width:u0.width,height:u0.height},center:{x:u0.centerX,y:u0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:z2,texts:uR,bounds:v0,refblocks:ci,circles:O2}=g,vm=e({primitives:[...Object.values(z2),...Object.values(O2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ci.top1,labels:["1","collector"]},{...ci.bottom1,labels:["2","emitter"]},{...ci.left1,labels:["3","base"]}],size:{width:v0.width,height:v0.height},center:{x:v0.centerX,y:v0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:J2,texts:PR,bounds:w0,refblocks:hi,circles:$2}=g,wm=e({primitives:[...Object.values(J2),...Object.values($2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...hi.top1,labels:["1","collector"]},{...hi.bottom1,labels:["2","emitter"]},{...hi.left1,labels:["3","base"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Am={paths:{path40:{type:"path",points:[{x:-.19,y:.33},{x:-.26,y:.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:.26},{x:-.19,y:.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:.14},{x:-.38,y:.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:.39},{x:-.13,y:.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.2},{x:-.52,y:0}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.52},{x:-.19,y:.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:-.32},{x:-.38,y:-.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:-.13},{x:-.19,y:-.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:-.26},{x:-.26,y:-.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:-.26},{x:-.26,y:-.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:-.19},{x:-.51,y:-.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:-.5},{x:-.19,y:-.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:.19},{x:.13,y:.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:.38},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:.26},{x:.26,y:.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:.26},{x:.26,y:.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:.32},{x:.01,y:.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.52,y:0},{x:.32,y:.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:-.19},{x:.26,y:-.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:-.26},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:-.38},{x:.13,y:-.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:-.13},{x:.39,y:-.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:-.32},{x:0,y:-.52}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:-.01},{x:.32,y:-.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:-.5}},refblocks:{top1:{x:0,y:.52},bottom1:{x:0,y:-.52},left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{minX:-.55,maxX:.55,minY:-.55,maxY:.55,width:1.09,height:1.09,centerX:0,centerY:0},circles:{}};var{paths:C2,texts:Pm,bounds:A0,refblocks:Sm}=Am,P0=s({primitives:[...Object.values(C2),{...Pm.bottom1,y:.35,anchor:"middle_top"},{...Pm.top1,anchor:"middle_left"}],ports:[{...Sm.left1,labels:["1"]},{...Sm.right1,labels:["2"]}],size:{width:A0.width+.05,height:A0.height},center:{x:A0.centerX,y:A0.centerY}});var N2=r(P0),Rm=N2;var Fm={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path24:{type:"path",points:[{x:.29,y:-.29},{x:.26,y:-.16},{x:.16,y:-.26},{x:.29,y:-.29}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.2,y:-.2}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:B2,texts:Tm,bounds:S0,refblocks:Em}=Fm,Q=s({primitives:[...Object.values(B2),{...Tm.bottom1,x:0,y:-.35,anchor:"middle_top"},{...Tm.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...Em.left1,labels:["1"]},{...Em.right1,labels:["2"]}],size:{width:S0.width+.05,height:S0.height},center:{x:S0.centerX,y:S0.centerY}});var di=r(Q,"down"),bi=di.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),_i=di.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bi.anchor="middle_left";_i.anchor="middle_left";bi.y+=.31;bi.x=.34;_i.y-=.31;_i.x=.34;var Ym=di;var gi=r(Q,"left"),ui=gi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),vi=gi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ui.anchor="middle_bottom";vi.anchor="middle_top";ui.y+=.73;ui.x=0;vi.y-=.7;vi.x=0;var Xm=gi;var wi=r(Q,"up"),Ai=wi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Pi=wi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ai.anchor="middle_left";Pi.anchor="middle_left";Ai.y+=.21;Ai.x=.34;Pi.y-=.21;Pi.x=.34;var Lm=wi;var K={paths:{path1:{type:"path",points:[{x:-.42,y:0},{x:-.3,y:0}],color:"primary",fill:!1},"path1-2-1":{type:"path",points:[{x:-.3,y:0},{x:-.25,y:.1},{x:-.15,y:-.1},{x:-.05,y:.1},{x:.05,y:-.1},{x:.15,y:.1},{x:.25,y:-.1},{x:.3,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.3,y:0},{x:.42,y:0}],color:"primary",fill:!1},path3:{type:"path",points:[{x:0,y:-.17},{x:0,y:-.4}],color:"primary",fill:!1},path15:{type:"path",points:[{x:0,y:-.12},{x:.05,y:-.2},{x:-.05,y:-.2},{x:0,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.3,y:.25},bottom1:{type:"text",text:"{VAL}",x:.3,y:-.25}},refblocks:{left:{x:-.42,y:0},right:{x:.42,y:0},bottom:{x:0,y:-.4}},bounds:{minX:-.42,maxX:.42,minY:-.2,maxY:.2,width:.84,height:.4,centerX:0,centerY:0},circles:{}};var{paths:D2,texts:WR,bounds:R0,refblocks:Si,circles:G2}=K,Vm=e({primitives:[...Object.values(D2),...Object.values(G2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Si.left,labels:["1"]},{...Si.right,labels:["3"]},{...Si.bottom,labels:["2"]}],size:{width:R0.width,height:R0.height},center:{x:R0.centerX,y:R0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:U2,texts:KR,bounds:F0,refblocks:Ri,circles:W2}=K,jm=e({primitives:[...Object.values(U2),...Object.values(W2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Ri.left,labels:["1"]},{...Ri.right,labels:["3"]},{...Ri.bottom,labels:["2"]}],size:{width:F0.width,height:F0.height},center:{x:F0.centerX,y:F0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var km=e(K).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:H2,texts:pF,bounds:T0,refblocks:Fi,circles:Z2}=K,zm=e({primitives:[...Object.values(H2),...Object.values(Z2),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Fi.left,labels:["1"]},{...Fi.right,labels:["3"]},{...Fi.bottom,labels:["2"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Om={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.16,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4},left1:{type:"text",text:"COS \u03C6",x:-.15,y:.01}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:K2,texts:mF,bounds:E0,refblocks:Jm,circles:t9}=Om,Y0=s({primitives:[...Object.values(K2),...Object.values(t9),{type:"text",text:"{REF}",x:0,y:.43330070000000065,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.43330070000000065,anchor:"middle_top"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...Jm.left1,labels:["1"]},{...Jm.right1,labels:["2"]}],size:{width:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}});var $m=r(Y0),Yi=$m.primitives.filter(t=>t.type==="text"),Ti=Yi.find(t=>t.text==="{REF}"),Xi=Yi.find(t=>t.text==="{VAL}"),Ei=Yi.find(t=>t.text==="COS \u03C6");Ti.x=.35;Ti.y=.4279000000000375,Ti.anchor="middle_left";Xi.anchor="middle_left";Xi.x=.35;Xi.y=-.4279000000000375,Ei.x=0;Ei.y=.014279000000000375,Ei.anchor="center";var Mm=$m;var Cm={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:.01,y:.03},{x:.01,y:-.09}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.47,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:-.09},{x:.18,y:-.09}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.47,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.22},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,width:1,height:.45,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}};var{paths:r9,texts:Nm,bounds:X0,refblocks:Im,circles:o9}=Cm,L0=s({primitives:[...Object.values(r9),...Object.values(o9),{...Nm.top1,anchor:"middle_left"},{...Nm.bottom1,anchor:"middle_left"}],ports:[{...Im.left1,labels:["1"]},{...Im.right1,labels:["2"]}],size:{width:X0.width,height:X0.height},center:{x:X0.centerX,y:X0.centerY}});var Bm=r(L0,"up");var V0={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:-.05,y:.09},{x:-.05,y:.04}],color:"primary",fill:!1},"path12-1-8-7-9-9":{type:"path",points:[{x:-.05,y:.09},{x:.07,y:.09}],color:"primary",fill:!1},"path12-1-8-6-9-10":{type:"path",points:[{x:.07,y:.09},{x:.07,y:.04}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.47,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:.04},{x:.18,y:.04}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.47,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.29},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,width:1,height:.45,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}};var{paths:l9,texts:qm,bounds:j0,refblocks:Dm,circles:p9}=V0,X=s({primitives:[...Object.values(l9),...Object.values(p9),{...qm.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...qm.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Dm.left1,labels:["1"]},{...Dm.right1,labels:["2"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}});var Li=r(X,"down"),Vi=Li.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ji=Li.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vi.anchor="middle_bottom";ji.anchor="middle_top";Vi.y=.4;Vi.x=.35;ji.y=-.4;ji.x=.35;var Gm=Li;var{paths:a9,texts:Um,bounds:k0,refblocks:Wm,circles:y9}=V0,Hm=s({primitives:[...Object.values(a9),...Object.values(y9),{...Um.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...Um.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Wm.left1,labels:["1"]},{...Wm.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}});var ki=r(X,"left"),zi=ki.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Oi=ki.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");zi.anchor="middle_bottom";Oi.anchor="middle_top";zi.y=.4;zi.x=0;Oi.y=-.4;Oi.x=0;var Zm=ki;var Ji=r(X,"up"),$i=Ji.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mi=Ji.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");$i.anchor="middle_left";Mi.anchor="middle_left";$i.y+=.4;$i.x=.34;Mi.y-=.41;Mi.x=.34;var Qm=Ji;var Ci=r(X,"up"),Ni=Ci.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ii=Ci.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ni.anchor="middle_left";Ii.anchor="middle_left";Ni.y+=.4;Ni.x=.34;Ii.y-=.41;Ii.x=.34;var Km=Ci;var tt={paths:{path12_rotated:{type:"path",points:[{x:-.09,y:.12},{x:-.09,y:-.12}],color:"primary",fill:!1},path2_rotated:{type:"path",points:[{x:-.09,y:0},{x:.09,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:.09,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:x9,texts:qF,bounds:tn,refblocks:m9,circles:n9}=tt,en=e({primitives:[...Object.values(x9),...Object.values(n9),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...m9.left1,labels:["1"]}],center:{x:tn.centerX,y:tn.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:f9,texts:WF,bounds:rn,refblocks:c9,circles:h9}=tt,on=e({primitives:[...Object.values(f9),...Object.values(h9),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...c9.left1,labels:["1"]}],center:{x:rn.centerX,y:rn.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:d9,texts:KF,bounds:ln,refblocks:b9,circles:_9}=tt,pn=e({primitives:[...Object.values(d9),...Object.values(_9),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...b9.left1,labels:["1"]}],center:{x:ln.centerX,y:ln.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:g9,texts:oT,bounds:an,refblocks:u9}=tt,yn=e({primitives:[...Object.values(g9),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...u9.left1,labels:["1"]}],center:{x:an.centerX,y:an.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var sn={paths:{path40:{type:"path",points:[{x:-.19,y:-.33},{x:-.26,y:-.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:-.26},{x:-.19,y:-.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:-.14},{x:-.38,y:-.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:-.39},{x:-.13,y:-.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:-.2},{x:-.52,y:0}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:-.52},{x:-.19,y:-.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:.32},{x:-.38,y:.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:.13},{x:-.19,y:.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:.26},{x:-.26,y:.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:.26},{x:-.26,y:.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:.19},{x:-.51,y:.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:.5},{x:-.19,y:.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:-.19},{x:.13,y:-.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:-.38},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:-.26},{x:.26,y:-.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:-.26},{x:.26,y:-.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:-.32},{x:.01,y:-.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.52,y:0},{x:.32,y:-.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:.19},{x:.26,y:.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:.26},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:.38},{x:.13,y:.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:.13},{x:.39,y:.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:.32},{x:0,y:.52}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:.01},{x:.32,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:-.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:.5}},refblocks:{top1:{x:0,y:-.52},bottom1:{x:0,y:.52},left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{minX:-.55,maxX:.55,minY:-.56,maxY:.55,width:1.09,height:1.1,centerX:0,centerY:0},circles:{}};var{paths:w9,texts:xn,bounds:z0,refblocks:O0,circles:A9}=sn,J0=s({primitives:[...Object.values(w9),...Object.values(A9),{...xn.top1,anchor:"middle_right"},{...xn.bottom1,anchor:"middle_right"}],ports:[{...O0.top1,labels:["1"]},{...O0.bottom1,labels:["2"]},{...O0.left1,labels:["3"]},{...O0.right1,labels:["4"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}});var Bi=r(J0),P9=Bi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),S9=Bi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");P9.anchor="middle_left";S9.anchor="middle_right";var mn=Bi;var et={paths:{path27:{type:"path",points:[{x:.47,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.47,y:.04}],color:"primary",fill:!1},"path27-8-2-4":{type:"path",points:[{x:.21,y:.04},{x:.19,y:-.05}],color:"primary",fill:!1},"path27-8-2-4-29":{type:"path",points:[{x:-.19,y:.14},{x:-.21,y:.04}],color:"primary",fill:!1},"path27-8-2-4-5":{type:"path",points:[{x:.19,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1":{type:"path",points:[{x:.08,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9":{type:"path",points:[{x:.08,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2":{type:"path",points:[{x:-.03,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1":{type:"path",points:[{x:-.03,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.19,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.05,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.04,y:-.42}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{minX:-.49,maxX:.49,minY:-.42,maxY:.42,width:.99,height:.84,centerX:0,centerY:0},circles:{}};var{paths:F9,texts:hT,bounds:$0,refblocks:nn,circles:T9}=et,fn=e({primitives:[...Object.values(F9),...Object.values(T9),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...nn.left1,labels:["1"]},{...nn.right1,labels:["2"]}],size:{width:$0.width,height:$0.height},center:{x:$0.centerX,y:$0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:E9,texts:gT,bounds:M0,refblocks:cn,circles:Y9}=et,hn=e({primitives:[...Object.values(E9),...Object.values(Y9),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...cn.left1,labels:["1"]},{...cn.right1,labels:["2"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:X9,texts:AT,bounds:C0,refblocks:dn,circles:L9}=et,bn=e({primitives:[...Object.values(X9),...Object.values(L9),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...dn.left1,labels:["1"]},{...dn.right1,labels:["2"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:V9,texts:FT,bounds:N0,refblocks:_n,circles:j9}=et,gn=e({primitives:[...Object.values(V9),...Object.values(j9),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{..._n.left1,labels:["1"]},{..._n.right1,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var I0={paths:{path27:{type:"path",points:[{x:.76,y:-.28},{x:.31,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.3,y:-.02},{x:-.77,y:-.02}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.3,y:.35},{x:-.3,y:-.28}],color:"primary",fill:!1},"path27-3":{type:"path",points:[{x:.77,y:.35},{x:.32,y:.35}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.07,y:-.28},{x:-.3,y:-.28}],color:"primary",fill:!1},"path29-5-7":{type:"path",points:[{x:.33,y:-.28},{x:.11,y:-.28}],color:"primary",fill:!1},"path29-5-7-6":{type:"path",points:[{x:-.06,y:-.17},{x:-.06,y:-.39}],color:"primary",fill:!1},"path29-5-7-6-6":{type:"path",points:[{x:.09,y:-.17},{x:.09,y:-.39}],color:"primary",fill:!1},"path29-5-9":{type:"path",points:[{x:-.07,y:.35},{x:-.3,y:.35}],color:"primary",fill:!1},"path29-5-7-2":{type:"path",points:[{x:.33,y:.35},{x:.11,y:.35}],color:"primary",fill:!1},"path29-5-7-6-0":{type:"path",points:[{x:-.06,y:.46},{x:-.06,y:.24}],color:"primary",fill:!1},"path29-5-7-6-6-2":{type:"path",points:[{x:.09,y:.46},{x:.09,y:.24}],color:"primary",fill:!1},"path29-5-92":{type:"path",points:[{x:.33,y:.13},{x:.33,y:.35}],color:"primary",fill:!1},"path29-5-7-28":{type:"path",points:[{x:.33,y:-.28},{x:.33,y:-.05}],color:"primary",fill:!1},"path29-5-7-6-9":{type:"path",points:[{x:.44,y:.11},{x:.22,y:.11}],color:"primary",fill:!1},"path29-5-7-6-6-7":{type:"path",points:[{x:.44,y:-.04},{x:.22,y:-.04}],color:"primary",fill:!1},"path29-5-7-6-9-2":{type:"path",points:[{x:.44,y:.07},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4":{type:"path",points:[{x:.44,y:0},{x:.44,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4-6":{type:"path",points:[{x:.22,y:0},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-9":{type:"path",points:[{x:.44,y:0},{x:.22,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.02,y:.53},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.54}},refblocks:{left1:{x:-.77,y:-.02},right1:{x:.76,y:-.28},right2:{x:.77,y:.35}},bounds:{minX:-.79,maxX:.79,minY:-.54,maxY:.54,width:1.59,height:1.07,centerX:0,centerY:0},circles:{}};var{paths:z9,texts:un,bounds:B0,refblocks:qi,circles:O9}=I0,rt=s({primitives:[...Object.values(z9),...Object.values(O9),{...un.top1,anchor:"middle_bottom"},{...un.bottom1,anchor:"middle_top"}],ports:[{...qi.left1,labels:["1"]},{...qi.right1,labels:["2"]},{...qi.right2,labels:["3"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var Di=r(rt,"down"),Gi=Di.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ui=Di.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gi.anchor="middle_bottom";Ui.anchor="middle_top";Gi.y+=.3;Gi.x+=.101;Ui.y-=.49999;Ui.x+=1.19999;var vn=Di;var{paths:J9,texts:JT,bounds:q0,refblocks:Wi,circles:$9}=I0,D0=s({primitives:[...Object.values(J9),...Object.values($9),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Wi.left1,labels:["1"]},{...Wi.right1,labels:["2"]},{...Wi.right2,labels:["3"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}});var Hi=r(rt,"left"),Zi=Hi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qi=Hi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Zi.anchor="middle_bottom";Qi.anchor="middle_top";Zi.y+=.99;Zi.x-=0;Qi.y-=1.10999;Qi.x=0;var wn=Hi;var Ki=r(rt,"up"),tl=Ki.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),el=Ki.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");tl.anchor="middle_bottom";el.anchor="middle_top";tl.y+=.499;tl.x=.62;el.y-=.29999;el.x+=.1;var An=Ki;var Pn=r(D0);var Sn={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-7":{type:"path",points:[{x:.21,y:.18},{x:.14,y:.18}],color:"primary",fill:!1},"path43-7-9":{type:"path",points:[{x:.21,y:.13},{x:.21,y:.18}],color:"primary",fill:!1},"path43-7-2":{type:"path",points:[{x:.08,y:-.09},{x:.14,y:-.09}],color:"primary",fill:!1},"path43-7-9-3":{type:"path",points:[{x:.08,y:-.04},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var ot=e(Sn).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var rl=r(ot,"down"),ol=rl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),il=rl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ol.anchor="middle_left";il.anchor="middle_left";ol.y+=.3;ol.x=.3;il.y-=.3;il.x=.3;var Rn=rl;var ll=r(ot,"left"),pl=ll.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),al=ll.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");pl.anchor="middle_bottom";al.anchor="middle_top";pl.y+=.5;pl.x=0;al.y-=.55;al.x=0;var Fn=ll;var yl=r(ot,"up"),sl=yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xl=yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sl.anchor="middle_left";xl.anchor="middle_left";sl.y+=.3;sl.x=.3;xl.y-=.3;xl.x=.3;var Tn=yl;var ml={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.52,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.18,y:-.15},{x:.18,y:.25}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.19,y:0},{x:.35,y:-.14}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.35,y:-.14},{x:.34,y:-.35}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.17,y:.27},{x:-.17,y:-.15},{x:.18,y:.05},{x:-.17,y:.27}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.22,y:.38},bottom1:{type:"text",text:"{VAL}",x:.11,y:-.38}},refblocks:{bottom1:{x:.34,y:-.35},left1:{x:-.52,y:.04},right1:{x:.52,y:.05}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.38,width:1.09,height:.77,centerX:0,centerY:0},circles:{}};var{paths:mE,texts:nE,bounds:fE,refblocks:cE,circles:hE}=ml,G0=e(ml).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var En=r(G0),N9=En.primitives.filter(t=>t.type==="text"),Yn=N9.find(t=>t.text==="{REF}");Yn.y=0;Yn.anchor="middle_left";var Xn=En;var it={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.45,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.03},{x:.18,y:-.02}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.07,y:-.02},{x:-.07,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var Ln=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Vn=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var jn=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var kn=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var lt={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.45,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:-.03},{x:.18,y:-.02}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.1},{x:.07,y:-.15}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.07,y:.1},{x:-.07,y:-.15}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07,y:-.15},{x:-.07,y:-.15},{x:-.09,y:-.15},{x:-.1,y:-.14},{x:-.11,y:-.13},{x:-.13,y:-.12},{x:-.14,y:-.11},{x:-.14,y:-.1},{x:-.15,y:-.09},{x:-.16,y:-.08},{x:-.16,y:-.07},{x:-.16,y:-.06},{x:-.17,y:-.05},{x:-.17,y:-.04},{x:-.17,y:-.03},{x:-.17,y:-.02},{x:-.17,y:-.01},{x:-.16,y:0},{x:-.16,y:.01},{x:-.16,y:.02},{x:-.15,y:.03},{x:-.15,y:.04},{x:-.14,y:.05},{x:-.14,y:.05},{x:-.13,y:.06},{x:-.12,y:.07},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.08,y:.1},{x:-.07,y:.1},{x:-.07,y:.1}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07,y:-.15},{x:.07,y:-.15},{x:.09,y:-.15},{x:.1,y:-.14},{x:.12,y:-.13},{x:.13,y:-.12},{x:.14,y:-.11},{x:.14,y:-.1},{x:.15,y:-.09},{x:.16,y:-.08},{x:.16,y:-.07},{x:.17,y:-.06},{x:.17,y:-.05},{x:.17,y:-.04},{x:.17,y:-.03},{x:.17,y:-.02},{x:.17,y:-.01},{x:.16,y:0},{x:.16,y:.01},{x:.16,y:.02},{x:.15,y:.03},{x:.15,y:.04},{x:.14,y:.05},{x:.14,y:.05},{x:.13,y:.06},{x:.12,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.09},{x:.09,y:.09},{x:.08,y:.1},{x:.07,y:.1},{x:.07,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.15}},refblocks:{left1:{x:-.45,y:-.03},right1:{x:.45,y:-.03}},bounds:{minX:-.47,maxX:.47,minY:-.15,maxY:.15,width:.95,height:.31,centerX:0,centerY:0},circles:{}};var zn=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var On=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var Jn=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var $n=e(lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var pt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Mn=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Cn=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var Nn=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var In=e(pt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var at={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Bn=e(at).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var qn=e(at).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var Dn=e(at).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Gn=e(at).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var yt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Un=e(yt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Wn=e(yt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var Hn=e(yt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Zn=e(yt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var st={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Qn=e(st).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Kn=e(st).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var t1=e(st).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var e1=e(st).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var r1={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:-.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right2:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}};var xt=e(r1).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var nl=r(xt,"down"),fl=nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cl=nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_bottom";cl.anchor="middle_top";fl.x=.44;fl.y+=.28;cl.y-=.28;cl.x=.44;var o1=nl;var hl=r(xt,"left"),dl=hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bl=hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_bottom";bl.anchor="middle_top";dl.x=0;dl.y+=.625;bl.y-=.695;bl.x=0;var i1=hl;var _l=r(xt,"up"),gl=_l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ul=_l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gl.anchor="middle_bottom";ul.anchor="middle_top";gl.x=.4;gl.y+=.28;ul.y-=.28;ul.x=.4;var l1=_l;var p1={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:.14}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right3:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}};var mt=e(p1).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var vl=r(mt,"down"),wl=vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Al=vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wl.anchor="middle_bottom";Al.anchor="middle_top";wl.x=.44;wl.y+=.28;Al.y-=.28;Al.x=.44;var a1=vl;var Pl=r(mt,"left"),Sl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sl.anchor="middle_bottom";Rl.anchor="middle_top";Sl.x=0;Sl.y+=.625;Rl.y-=.695;Rl.x=0;var y1=Pl;var Fl=r(mt,"up"),Tl=Fl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),El=Fl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tl.anchor="middle_bottom";El.anchor="middle_top";Tl.x=.4;Tl.y+=.28;El.y-=.28;El.x=.4;var s1=Fl;var Vt={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:0},{x:.11,y:.05}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.12,y:-.01},{x:.38,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.28}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete Vt.refblocks.left1;delete Vt.refblocks.right1;Vt.bounds.width+=.2;var nt=e(Vt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Yl=r(nt,"down"),Xl=Yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ll=Yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xl.anchor="middle_bottom";Ll.anchor="middle_top";Xl.x=.3;Xl.y+=.265;Ll.y-=.265;Ll.x=.3;var x1=Yl;var Vl=r(nt,"left"),jl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jl.anchor="middle_bottom";kl.anchor="middle_top";jl.x=0;jl.y+=.57;kl.y-=.57;kl.x=0;var m1=Vl;var zl=r(nt,"up"),Ol=zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jl=zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ol.anchor="middle_bottom";Jl.anchor="middle_top";Ol.x=.3;Ol.y+=.265;Jl.y-=.265;Jl.x=.3;var n1=zl;var jt={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:.01},{x:.1,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.12,y:-.01},{x:.38,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete jt.refblocks.left1;delete jt.refblocks.right1;jt.bounds.width+=.2;var ft=e(jt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var $l=r(ft,"down"),Ml=$l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cl=$l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ml.anchor="middle_bottom";Cl.anchor="middle_top";Ml.x=.3;Ml.y+=.265;Cl.y-=.265;Cl.x=.3;var f1=$l;var Nl=r(ft,"left"),Il=Nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bl=Nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Il.anchor="middle_bottom";Bl.anchor="middle_top";Il.x=0;Il.y+=.57;Bl.y-=.57;Bl.x=0;var c1=Nl;var ql=r(ft,"up"),Dl=ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gl=ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Dl.anchor="middle_bottom";Gl.anchor="middle_top";Dl.x=.3;Dl.y+=.265;Gl.y-=.265;Gl.x=.3;var h1=ql;var ct={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4458008,y:.02709619999999968}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.4458008,y:.026971799999999657},{x:.1677968999999997,y:.027926399999999685}],color:"primary",fill:!1},"path8704-1":{type:"path",points:[{x:-.0040837000000002455,y:-.13467459999999964},{x:-.0040837000000002455,y:-.13467459999999964},{x:-.017668143940740948,y:-.1311205263185182},{x:-.03043520885925943,y:-.12727072121481456},{x:-.04240966440000013,y:-.1231399985999998},{x:-.05361628020740751,y:-.11874317238518502},{x:-.064079825925926,y:-.11409505648148131},{x:-.07382507120000005,y:-.10921046479999987},{x:-.0828767856740741,y:-.10410421125185171},{x:-.0912597389925926,y:-.09879110974814802},{x:-.09899870079999995,y:-.0932859741999998},{x:-.10611844074074069,y:-.08760361851851838},{x:-.11264372845925916,y:-.0817588566148146},{x:-.11859933359999993,y:-.07576650239999982},{x:-.12401002580740728,y:-.06964136978518495},{x:-.12890057472592584,y:-.06339827268148127},{x:-.13329574999999985,y:-.05705202499999972},{x:-.13722032127407394,y:-.05061744065185156},{x:-.14069905819259243,y:-.04410933354814783},{x:-.14375673039999987,y:-.03754251759999966},{x:-.14641810754074058,y:-.030931806718518143},{x:-.1487079592592591,y:-.0242920148148144},{x:-.15065105519999983,y:-.017637955799999563},{x:-.15227216500740723,y:-.01098444358518472},{x:-.15359605832592574,y:-.004346292081480994},{x:-.1546475047999998,y:.00226168480000051},{x:-.15545127407407386,y:.008824673148148676},{x:-.1560321357925924,y:.015327859051852397},{x:-.1564148595999998,y:.02175642860000056},{x:-.1566242151407405,y:.028095567881482052},{x:-.15668497205925902,y:.03433046298518576},{x:-.15662189999999976,y:.04044630000000058},{x:-.15662189999999976,y:.0404463000000006},{x:-.15662189999999976,y:.0404463000000006},{x:-.15622857394444417,y:.04717166472222282},{x:-.1553217675555553,y:.05388046444444503},{x:-.15392183849999977,y:.060558907500000585},{x:-.1520491444444442,y:.0671932022222228},{x:-.1497240430555553,y:.07376955694444502},{x:-.14696689199999974,y:.08027418000000058},{x:-.14379804894444415,y:.0866932797222228},{x:-.1402378715555553,y:.09301306444444506},{x:-.13630671749999965,y:.09921974250000057},{x:-.13202494444444415,y:.10529952222222282},{x:-.12741291005555522,y:.11123861194444501},{x:-.1224909719999997,y:.1170232200000006},{x:-.11727948794444407,y:.12263955472222278},{x:-.11179881555555524,y:.12807382444444504},{x:-.10606931249999965,y:.13331223750000057},{x:-.1001113364444441,y:.13834100222222284},{x:-.09394524505555521,y:.14314632694444504},{x:-.08759139599999967,y:.14771442000000062},{x:-.08107014694444413,y:.15203148972222283},{x:-.07440185555555523,y:.15608374444444503},{x:-.0676068794999997,y:.15985739250000058},{x:-.06070557644444415,y:.16333864222222283},{x:-.05371830405555529,y:.16651370194444504},{x:-.04666541999999976,y:.1693687800000006},{x:-.03956728194444424,y:.1718900847222228},{x:-.03244424755555539,y:.17406382444444501},{x:-.025316674499999876,y:.17587620750000055},{x:-.01820492044444437,y:.17731344222222278},{x:-.01112934305555553,y:.178361736944445},{x:-.004110300000000034,y:.17900730000000054},{x:-.004110300000000011,y:.17900730000000054}],color:"primary",fill:!1},"path8704-1-9":{type:"path",points:[{x:.004158700000000071,y:-.1355885000000001},{x:.004158700000000071,y:-.1355885000000001},{x:.017743143940740766,y:-.1320344263185187},{x:.03051020885925925,y:-.12818462121481505},{x:.042484664399999955,y:-.12405389860000024},{x:.053691280207407335,y:-.11965707238518546},{x:.0641548259259258,y:-.11500895648148178},{x:.07390007119999986,y:-.1101243648000003},{x:.0829517856740739,y:-.10501811125185218},{x:.0913347389925924,y:-.09970500974814848},{x:.09907370079999973,y:-.09419987420000027},{x:.10619344074074046,y:-.08851751851851883},{x:.11271872845925893,y:-.08267275661481507},{x:.11867433359999968,y:-.07668040240000029},{x:.12408502580740703,y:-.0705552697851854},{x:.12897557472592555,y:-.06431217268148172},{x:.13337074999999957,y:-.05796592500000018},{x:.13729532127407365,y:-.05153134065185202},{x:.14077405819259214,y:-.045023233548148286},{x:.14383173039999952,y:-.038456417600000126},{x:.14649310754074024,y:-.03184570671851861},{x:.14878295925925875,y:-.02520591481481487},{x:.1507260551999995,y:-.01855185580000003},{x:.15234716500740686,y:-.011898343585185192},{x:.15367105832592537,y:-.005260192081481464},{x:.15472250479999944,y:.001347784800000043},{x:.1555262740740735,y:.007910773148148207},{x:.156107135792592,y:.01441395905185193},{x:.1564898595999994,y:.020842528600000094},{x:.15669921514074014,y:.02718166788148159},{x:.15675997205925862,y:.03341656298518529},{x:.15669689999999936,y:.03953240000000011},{x:.15669689999999936,y:.039532400000000134},{x:.15669689999999936,y:.039532400000000134},{x:.1563035739444438,y:.04625776472222235},{x:.15539676755555493,y:.05296656444444457},{x:.15399683849999934,y:.05964500750000013},{x:.1521241444444438,y:.06627930222222234},{x:.14979904305555491,y:.07285565694444456},{x:.14704189199999937,y:.07936028000000013},{x:.1438730489444438,y:.08577937972222234},{x:.1403128715555549,y:.09209916444444458},{x:.13638171749999925,y:.0983058425000001},{x:.13209994444444376,y:.10438562222222235},{x:.12748791005555482,y:.11032471194444453},{x:.12256597199999929,y:.11610932000000013},{x:.1173544879444437,y:.1217256547222223},{x:.11187381555555485,y:.12715992444444457},{x:.10614431249999925,y:.1323983375000001},{x:.10018633644444369,y:.13742710222222235},{x:.09402024505555481,y:.14223242694444457},{x:.08766639599999927,y:.14680052000000016},{x:.08114514694444372,y:.15111758972222236},{x:.07447685555555483,y:.15516984444444457},{x:.06768187949999929,y:.15894349250000012},{x:.06078057644444377,y:.16242474222222236},{x:.053793304055554894,y:.16559980194444457},{x:.046740419999999366,y:.16845488000000014},{x:.039642281944443844,y:.17097618472222234},{x:.03251924755555499,y:.17314992444444455},{x:.02539167449999948,y:.17496230750000008},{x:.018279920444443973,y:.17639954222222232},{x:.011204343055555134,y:.17744783694444452},{x:.004185299999999637,y:.17809340000000007},{x:.004185299999999614,y:.17809340000000007}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.08039130000000005,y:.0179576999999993},{x:-.08039130000000005,y:.09650599999999931}],color:"primary",fill:!0},"path4-5":{type:"path",points:[{x:.01494479999999987,y:-.055216500000000224},{x:.01494479999999987,y:.09691909999999937}],color:"primary",fill:!0},"path4-5-8":{type:"path",points:[{x:.06871169999999927,y:-.056870000000000864},{x:.06871169999999927,y:.018784499999999538}],color:"primary",fill:!0},"path4-1":{type:"path",points:[{x:-.08179359999999969,y:.09650570000000003},{x:.015771699999999722,y:.09650570000000003}],color:"primary",fill:!0},"path4-1-6":{type:"path",points:[{x:.0117995999999998,y:-.05594970000000088},{x:.06843709999999925,y:-.05594970000000088}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.17162450000000073,y:.11125030000000025},{x:-.2688274000000015,y:.11125030000000025},{x:-.2688274000000015,y:.11469129999999961},{x:-.17162450000000073,y:.11469129999999961}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.2184661999999995,y:.16159429999999997},{x:-.2184661999999995,y:.06439139999999943},{x:-.22190719999999908,y:.06439139999999943},{x:-.22190719999999908,y:.16159429999999997}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.0024445000000006267,y:.23933980000000044},bottom1:{type:"text",text:"{VAL}",x:.00341719999999901,y:-.23933980000000066}},refblocks:{left1:{x:-.4458008,y:.02709619999999968},right1:{x:.4458008,y:.026971799999999657}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.23933980000000066,maxY:.23933980000000044,width:.947918482,height:.4786796000000011,centerX:0,centerY:-11102230246251565e-32},circles:{}};var d1=e(ct).rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_left",{x:.02,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:-.2}).build();var b1=e(ct).rotateRightFacingSymbol("left").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.45}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.55}).build();var _1=e(ct).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var g1=e(ct).rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_left",{x:.02,y:-.2}).changeTextAnchor("{REF}","middle_left",{x:.5,y:.2}).build();var Ul={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-5":{type:"path",points:[{x:.19,y:-.09},{x:.15,y:-.09}],color:"primary",fill:!1},"path43-5-2":{type:"path",points:[{x:.19,y:-.14},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:iL,texts:lL,bounds:pL,refblocks:aL,circles:yL}=Ul,U0=e(Ul).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var u1=r(U0);var v1={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:r5,texts:o5,bounds:W0,refblocks:w1,circles:i5}=v1,kt=s({primitives:[...Object.values(r5),...Object.values(i5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...o5.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...w1.left1,labels:["1"]},{...w1.right1,labels:["2"]}],size:{width:W0.width,height:W0.height},center:{x:W0.centerX,y:W0.centerY}});var{5:l5,...p5}=kt.primitives;function a5(t){return typeof t=="object"}var A1=r({...kt,primitives:Object.values(p5).filter(a5)}),P1={...A1,primitives:[...A1.primitives,l5]};var ht=s({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,o)=>{let i=Math.PI/2-o*Math.PI/7,l=.1;return{x:.1-l*Math.cos(i),y:l*Math.sin(i)}}),color:"primary",fill:!1},{type:"text",text:"{REF}",x:.125,y:0,anchor:"middle_left"}],ports:[{x:-.2,y:0,labels:["1"]}],center:{x:0,y:0}});var R1=r(ht,"down"),S1=R1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");S1&&(S1.anchor="middle_top");var F1=R1;var T1=r(ht,"left");var Y1=r(ht,"up"),E1=Y1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");E1&&(E1.anchor="middle_bottom");var X1=Y1;var L1={paths:{path40:{type:"path",points:[{x:.44,y:.04},{x:.19,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:.19,y:.18},{x:.44,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.19,y:-.09},{x:.19,y:.18}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.19,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.43,y:.22},{x:-.11,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{right1:{x:-.43,y:.22}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var At=e(L1).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Wl=r(At,"up"),Hl=Wl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Zl=Wl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Hl.anchor="middle_bottom";Zl.anchor="middle_top";Hl.x=.4;Hl.y+=.2;Zl.y-=.3;Zl.x=.4;var H0=Wl;var Ql=u(H0),Kl=Ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),tp=Ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Kl.anchor="middle_bottom";tp.anchor="middle_top";Kl.x=.35;Kl.y+=.4;tp.y-=.4;tp.x=.35;var V1=Ql;var ep=r(At,"left"),rp=ep.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),op=ep.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rp.anchor="middle_bottom";op.anchor="middle_top";rp.x=0;rp.y+=.5;op.y-=.6;op.x=0;var j1=ep;var ip={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0},"path12-2":{type:"path",points:[{x:.09,y:-.06},{x:.27,y:-.17}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.27,y:-.18},{x:.27,y:-.31}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{bottom1:{x:.27,y:-.31},left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}};var{paths:GL,texts:UL,bounds:WL,refblocks:HL,circles:ZL}=ip,Z0=e(ip).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var k1=r(Z0),z1=k1.primitives.filter(t=>t.type==="text"),x5=z1.find(t=>t.text==="{REF}"),m5=z1.find(t=>t.text==="{VAL}");x5.y=0;m5.y=0;var O1=k1;var J1={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.14,y:-.09},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:f5,texts:$1,bounds:Q0,refblocks:M1,circles:c5}=J1,K0=s({primitives:[...Object.values(f5),...Object.values(c5),{...$1.top1,anchor:"middle_bottom"},{...$1.bottom1,anchor:"middle_top"}],ports:[{...M1.left1,labels:["1"]},{...M1.right1,labels:["2"]}],size:{width:Q0.width,height:Q0.height},center:{x:Q0.centerX,y:Q0.centerY}});var lp=r(K0),h5=lp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),d5=lp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");h5.anchor="middle_left";d5.anchor="middle_right";var C1=lp;var N1={paths:{path11:{type:"path",points:[{x:-.34,y:.22},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.4}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.35}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.01,y:-.18},{x:-.01,y:.23}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.23,y:.12},{x:-.01,y:.12}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.11,y:.13},{x:-.17,y:.04},{x:-.06,y:.03},{x:-.11,y:.13}],color:"primary",fill:!0},"path11-0-3-8":{type:"path",points:[{x:.23,y:-.08},{x:-.01,y:-.08}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.2,y:.39},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{top1:{x:.23,y:.4},bottom1:{x:.23,y:-.35},left1:{x:-.34,y:.22}},bounds:{minX:-.37,maxX:.37,minY:-.42,maxY:.42,width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}};var{paths:_5,texts:I1,bounds:tr,refblocks:pp,circles:g5}=N1,er=s({primitives:[...Object.values(_5),...Object.values(g5),{...I1.top1,anchor:"middle_left"},{...I1.bottom1,anchor:"middle_right"}],ports:[{...pp.top1,labels:["1"]},{...pp.bottom1,labels:["2"]},{...pp.left1,labels:["3"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}});var B1=r(er),q1=B1.primitives.filter(t=>t.type==="text"),u5=q1.find(t=>t.text==="{REF}");u5.y=.1;var D1=q1.find(t=>t.text==="{VAL}");D1.y=.1;D1.x=-.4;var G1=B1;var U1={paths:{capsule_outer:{type:"path",points:[{x:-.44,y:.34},{x:-.45,y:.39},{x:-.46,y:.42},{x:-.49,y:.44},{x:-.52,y:.46},{x:-.56,y:.46},{x:-.6,y:.46},{x:-.63,y:.44},{x:-.65,y:.42},{x:-.67,y:.39},{x:-.68,y:.34},{x:-.68,y:-.34},{x:-.67,y:-.39},{x:-.65,y:-.42},{x:-.63,y:-.44},{x:-.6,y:-.45},{x:-.56,y:-.46},{x:-.52,y:-.45},{x:-.49,y:-.44},{x:-.46,y:-.42},{x:-.45,y:-.39},{x:-.44,y:-.34},{x:-.44,y:.34}],color:"primary",fill:!1},capsule_inner:{type:"path",points:[{x:-.51,y:.28},{x:-.52,y:.32},{x:-.53,y:.34},{x:-.56,y:.35},{x:-.57,y:.35},{x:-.58,y:.34},{x:-.6,y:.32},{x:-.61,y:.28},{x:-.61,y:-.28},{x:-.6,y:-.32},{x:-.58,y:-.34},{x:-.57,y:-.35},{x:-.56,y:-.35},{x:-.53,y:-.34},{x:-.52,y:-.32},{x:-.51,y:-.28},{x:-.51,y:.28}],color:"primary",fill:!0},usb_vertical:{type:"path",points:[{x:.1,y:-.4},{x:.1,y:.4}],color:"primary",fill:!1},usb_left_branch:{type:"path",points:[{x:.1,y:-.1},{x:-.03,y:.05},{x:-.03,y:.15}],color:"primary",fill:!1},usb_right_branch:{type:"path",points:[{x:.1,y:0},{x:.25,y:.15},{x:.25,y:.25}],color:"primary",fill:!1},usb_arrow:{type:"path",points:[{x:.05,y:.4},{x:.1,y:.5},{x:.15,y:.4},{x:.05,y:.4}],color:"primary",fill:!0},usb_square:{type:"path",points:[{x:.2,y:.25},{x:.3,y:.25},{x:.3,y:.35},{x:.2,y:.35},{x:.2,y:.25}],color:"primary",fill:!0}},circles:{usb_base:{type:"circle",x:.1,y:-.4,radius:.07,color:"primary",fill:!0},usb_tip_circle:{type:"circle",x:-.03,y:.15,radius:.04,color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.25,y:.7}},refblocks:{},bounds:{minX:-.75,maxX:.35,minY:-.6,maxY:.75,width:1.1,height:1.35,centerX:-.2,centerY:.08}};var W1=e(U1).changeTextAnchor("{REF}","middle_bottom").build();var H1={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Var",x:-.19,y:.07}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:A5,texts:ap,bounds:rr,refblocks:Z1,circles:P5}=H1,or=s({primitives:[...Object.values(A5),...Object.values(P5),{...ap.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...ap.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...ap.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...Z1.left1,labels:["1"]},{...Z1.right1,labels:["2"]}],size:{width:rr.width,height:rr.height},center:{x:rr.centerX,y:rr.centerY}});var Q1=r(or);var K1={paths:{path40:{type:"path",points:[{x:.08,y:.04},{x:-.18,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.18,y:.18},{x:.08,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.18,y:-.09},{x:-.18,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.09,y:.17},{x:.1,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.2,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.19,y:.17},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:R5,texts:tf,bounds:ir,refblocks:ef,circles:F5}=K1,lr=s({primitives:[...Object.values(R5),...Object.values(F5),{...tf.top1,anchor:"middle_bottom"},{...tf.bottom1,anchor:"middle_top"}],ports:[{...ef.left1,labels:["1"]},{...ef.right1,labels:["2"]}],size:{width:ir.width,height:ir.height},center:{x:ir.centerX,y:ir.centerY}});var yp=r(lr),T5=yp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),E5=yp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");T5.anchor="middle_left";E5.anchor="middle_right";var rf=yp;var of={paths:{path5:{type:"path",points:[{x:-.54,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.54,y:.01}],color:"primary",fill:!1},path7:{type:"path",points:[{x:.27,y:-.23},{x:-.26,y:.24}],color:"primary",fill:!1},path8:{type:"path",points:[{x:.38,y:-.23},{x:.27,y:-.23}],color:"primary",fill:!1},path9:{type:"path",points:[{x:0,y:.14},{x:.27,y:.14},{x:.27,y:-.13},{x:-.26,y:-.13},{x:-.26,y:.14},{x:0,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.06,y:.25},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.25}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:X5,texts:lf,bounds:pr,refblocks:pf}=of,ar=s({primitives:[...Object.values(X5),{...lf.top1,anchor:"middle_left"},{...lf.bottom1,anchor:"middle_right"}],ports:[{...pf.left1,labels:["1","-"]},{...pf.right1,labels:["2","+"]}],size:{width:pr.width,height:pr.height},center:{x:pr.centerX,y:pr.centerY}});var af=r(ar);var yf={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Var",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:V5,texts:j5,bounds:yr,refblocks:sf,circles:k5}=yf,zt=s({primitives:[...Object.values(V5),...Object.values(k5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...j5.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...sf.left1,labels:["1"]},{...sf.right1,labels:["2"]}],size:{width:yr.width,height:yr.height},center:{x:yr.centerX,y:yr.centerY}});var{5:z5,...O5}=zt.primitives;function J5(t){return typeof t=="object"}var xf=r({...zt,primitives:Object.values(O5).filter(J5)}),mf={...xf,primitives:[...xf.primitives,z5]};var dt={paths:{"path28-2":{type:"path",points:[{x:.19,y:0},{x:0,y:.09}],color:"primary",fill:!1},"path28-2-6":{type:"path",points:[{x:.19,y:0},{x:0,y:-.09}],color:"primary",fill:!1},"path29-3":{type:"path",points:[{x:.19,y:0},{x:-.23,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{REF}",x:.25,y:0}},refblocks:{left1:{x:-.23,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.09,maxY:.09,width:.5,height:.19,centerX:0,centerY:0},circles:{}};function L(t,o){let{width:i,height:l}=t.size,a=1,y=1;o.width!==void 0&&o.height!==void 0?(a=o.width/i,y=o.height/l):o.width!==void 0?a=y=o.width/i:o.height!==void 0&&(a=y=o.height/l);let n=t.primitives.map(m=>{switch(m.type){case"path":return{...m,points:m.points.map(h=>({x:h.x*a,y:h.y*y}))};case"text":return{...m,x:m.x*a,y:m.y*y,fontSize:m.fontSize?m.fontSize*a:void 0};case"circle":return{...m,x:m.x*a,y:m.y*y,radius:m.radius*a};case"box":return{...m,x:m.x*a,y:m.y*y,width:m.width*a,height:m.height*y};default:return m}});return{...t,primitives:n,center:{x:t.center.x*a,y:t.center.y*y},ports:t.ports.map(m=>({...m,x:m.x*a,y:m.y*y})),size:{width:i*a,height:l*y}}}var M5=e(dt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),nf=L(M5,{width:.24,height:.23});var C5=e(dt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),ff=L(C5,{width:.23,height:.24});var N5=e(dt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),cf=L(N5,{width:.23,height:.24});var I5=e(dt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),hf=L(I5,{width:.24,height:.23});var sp={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.8,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:hj,texts:dj,bounds:bj,circles:_j,refblocks:gj}=sp,sr=e(sp).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var df=r(sr);var bf={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:D5,texts:G5,bounds:xr,refblocks:_f,circles:U5}=bf,Ot=s({primitives:[...Object.values(D5),...Object.values(U5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...G5.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{..._f.left1,labels:["1"]},{..._f.right1,labels:["2"]}],size:{width:xr.width,height:xr.height},center:{x:xr.centerX,y:xr.centerY}});var{5:W5,...H5}=Ot.primitives;function Z5(t){return typeof t=="object"}var gf=r({...Ot,primitives:Object.values(H5).filter(Z5)}),uf={...gf,primitives:[...gf.primitives,W5]};var vf={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:K5,texts:t4,bounds:mr,refblocks:wf,circles:e4}=vf,Jt=s({primitives:[...Object.values(K5),...Object.values(e4),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...t4.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...wf.left1,labels:["1"]},{...wf.right1,labels:["2"]}],size:{width:mr.width,height:mr.height},center:{x:mr.centerX,y:mr.centerY}});var{5:r4,...o4}=Jt.primitives;function i4(t){return typeof t=="object"}var Af=r({...Jt,primitives:Object.values(o4).filter(i4)}),Pf={...Af,primitives:[...Af.primitives,r4]};var Sf={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:p4,texts:Rf,bounds:nr,refblocks:Ff,circles:a4}=Sf,fr=s({primitives:[...Object.values(p4),...Object.values(a4),{...Rf.top1,anchor:"middle_bottom"},{...Rf.bottom1,anchor:"middle_top"}],ports:[{...Ff.left1,labels:["1"]},{...Ff.right1,labels:["2"]}],size:{width:nr.width,height:nr.height},center:{x:nr.centerX,y:nr.centerY}});var xp=r(fr),y4=xp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),s4=xp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");y4.anchor="middle_left";s4.anchor="middle_right";var Tf=xp;var Ef={ac_voltmeter_down:dp,ac_voltmeter_horz:_p,ac_voltmeter_left:up,ac_voltmeter_right:wp,ac_voltmeter_up:Pp,ac_voltmeter_vert:Rp,avalanche_diode_down:Tp,avalanche_diode_horz:Ep,avalanche_diode_left:Xp,avalanche_diode_right:Lp,avalanche_diode_up:jp,avalanche_diode_vert:zp,backward_diode_down:Jp,backward_diode_left:Kt,backward_diode_right:Cp,backward_diode_up:Np,battery_horz:re,battery_vert:Dp,boxresistor_down:Wp,boxresistor_left:Qp,boxresistor_right:ea,boxresistor_small_down:oa,boxresistor_small_left:la,boxresistor_small_right:aa,boxresistor_small_up:sa,boxresistor_up:na,bridged_ground_down:ha,bridged_ground_left:_a,bridged_ground_right:ae,bridged_ground_up:va,capacitor_down:Aa,capacitor_left:Pa,capacitor_polarized_down:Sa,capacitor_polarized_left:Ra,capacitor_polarized_right:Fa,capacitor_polarized_up:Ta,capacitor_right:Ea,capacitor_up:Xa,constant_current_diode_down:Va,constant_current_diode_horz:ja,constant_current_diode_left:za,constant_current_diode_right:Oa,constant_current_diode_up:$a,constant_current_diode_vert:Ca,crystal_4pin_down:Na,crystal_4pin_left:Ia,crystal_4pin_right:Ba,crystal_4pin_up:qa,crystal_down:Ga,crystal_left:Ua,crystal_right:Wa,crystal_up:Za,current_source_down:Qa,current_source_left:Ka,current_source_right:ty,current_source_up:ey,darlington_pair_transistor_down:ry,darlington_pair_transistor_horz:oy,darlington_pair_transistor_left:iy,darlington_pair_transistor_right:ly,darlington_pair_transistor_up:py,darlington_pair_transistor_vert:ay,dc_ammeter_horz:Et,dc_ammeter_vert:my,dc_voltmeter_down:fy,dc_voltmeter_horz:hy,dc_voltmeter_left:by,dc_voltmeter_right:gy,dc_voltmeter_up:vy,dc_voltmeter_vert:Ay,diac_down:Py,diac_horz:Sy,diac_left:Ry,diac_right:Fy,diac_up:Ty,diac_vert:Ey,digital_ground_down:Xy,digital_ground_left:Vy,digital_ground_right:ky,digital_ground_up:Oy,diode_down:$y,diode_left:My,diode_right:N,diode_up:Cy,dpdt_normally_closed_switch_down:Iy,dpdt_normally_closed_switch_left:By,dpdt_normally_closed_switch_right:I,dpdt_normally_closed_switch_up:qy,dpdt_switch_down:Gy,dpdt_switch_left:Uy,dpdt_switch_right:B,dpdt_switch_up:Wy,dpst_normally_closed_switch_down:Zy,dpst_normally_closed_switch_left:Qy,dpst_normally_closed_switch_right:q,dpst_normally_closed_switch_up:Ky,dpst_switch_down:es,dpst_switch_left:rs,dpst_switch_right:D,dpst_switch_up:os,ferrite_bead_down:ls,ferrite_bead_left:ps,ferrite_bead_right:Ye,ferrite_bead_up:Ee,filled_diode_down:ys,filled_diode_horz:xs,filled_diode_left:ns,filled_diode_right:cs,filled_diode_up:ds,filled_diode_vert:_s,frequency_meter_horz:Yt,frequency_meter_vert:ws,fuse_horz:$e,fuse_vert:Ss,ground_down:Rs,ground_horz:Fs,ground_left:Ts,ground_right:Es,ground_up:Ys,ground_vert:Xs,gunn_diode_horz:Ls,gunn_diode_vert:Vs,icled_down:ks,icled_left:zs,icled_right:G,icled_up:Os,igbt_transistor_horz:Me,igbt_transistor_vert:Ms,illuminated_push_button_normally_open_horz:Ce,illuminated_push_button_normally_open_vert:Bs,inductor_down:Us,inductor_left:Ws,inductor_right:vt,inductor_up:Ie,laser_diode_down:Hs,laser_diode_left:Zs,laser_diode_right:U,laser_diode_up:Qs,led_down:rx,led_left:ox,led_right:wt,led_up:qe,light_dependent_resistor_horz:Ge,light_dependent_resistor_vert:sx,mosfet_depletion_normally_on_horz:We,mosfet_depletion_normally_on_vert:fx,mushroom_head_normally_open_momentary_horz:Ze,mushroom_head_normally_open_momentary_vert:bx,n_channel_d_mosfet_transistor_horz:t0,n_channel_d_mosfet_transistor_vert:wx,n_channel_e_mosfet_transistor_horz:r0,n_channel_e_mosfet_transistor_vert:Fx,njfet_transistor_horz:i0,njfet_transistor_vert:Lx,not_connected_down:kx,not_connected_left:zx,not_connected_right:W,not_connected_up:Ox,npn_bipolar_transistor_down:Jx,npn_bipolar_transistor_horz:$x,npn_bipolar_transistor_left:Mx,npn_bipolar_transistor_right:Cx,npn_bipolar_transistor_up:Nx,npn_bipolar_transistor_vert:Ix,opamp_no_power_down:qx,opamp_no_power_left:Dx,opamp_no_power_right:H,opamp_no_power_up:Gx,opamp_with_power_down:Wx,opamp_with_power_left:Hx,opamp_with_power_right:Z,opamp_with_power_up:Zx,p_channel_d_mosfet_transistor_horz:n0,p_channel_d_mosfet_transistor_vert:rm,p_channel_e_mosfet_transistor_horz:c0,p_channel_e_mosfet_transistor_vert:am,photodiode_horz:h0,photodiode_vert:mm,pjfet_transistor_horz:b0,pjfet_transistor_vert:dm,pnp_bipolar_transistor_down:bm,pnp_bipolar_transistor_horz:_m,pnp_bipolar_transistor_left:gm,pnp_bipolar_transistor_right:um,pnp_bipolar_transistor_up:vm,pnp_bipolar_transistor_vert:wm,potentiometer_horz:P0,potentiometer_vert:Rm,potentiometer2_down:Ym,potentiometer2_left:Xm,potentiometer2_right:Q,potentiometer2_up:Lm,potentiometer3_down:Vm,potentiometer3_left:jm,potentiometer3_right:km,potentiometer3_up:zm,power_factor_meter_horz:Y0,power_factor_meter_vert:Mm,push_button_normally_closed_momentary_horz:L0,push_button_normally_closed_momentary_vert:Bm,push_button_normally_open_momentary_down:Gm,push_button_normally_open_momentary_horz:Hm,push_button_normally_open_momentary_left:Zm,push_button_normally_open_momentary_right:X,push_button_normally_open_momentary_up:Qm,push_button_normally_open_momentary_vert:Km,rail_down:en,rail_left:on,rail_right:pn,rail_up:yn,rectifier_diode_horz:J0,rectifier_diode_vert:mn,resistor_down:fn,resistor_left:hn,resistor_right:bn,resistor_up:gn,resonator_down:vn,resonator_horz:D0,resonator_left:wn,resonator_right:rt,resonator_up:An,resonator_vert:Pn,schottky_diode_down:Rn,schottky_diode_left:Fn,schottky_diode_right:ot,schottky_diode_up:Tn,silicon_controlled_rectifier_horz:G0,silicon_controlled_rectifier_vert:Xn,solderjumper2_bridged12_down:Ln,solderjumper2_bridged12_left:Vn,solderjumper2_bridged12_right:jn,solderjumper2_bridged12_up:kn,solderjumper2_down:zn,solderjumper2_left:On,solderjumper2_right:Jn,solderjumper2_up:$n,solderjumper3_bridged12_down:Mn,solderjumper3_bridged12_left:Cn,solderjumper3_bridged12_right:Nn,solderjumper3_bridged12_up:In,solderjumper3_bridged123_down:Bn,solderjumper3_bridged123_left:qn,solderjumper3_bridged123_right:Dn,solderjumper3_bridged123_up:Gn,solderjumper3_bridged23_down:Un,solderjumper3_bridged23_left:Wn,solderjumper3_bridged23_right:Hn,solderjumper3_bridged23_up:Zn,solderjumper3_down:Qn,solderjumper3_left:Kn,solderjumper3_right:t1,solderjumper3_up:e1,spdt_normally_closed_switch_down:o1,spdt_normally_closed_switch_left:i1,spdt_normally_closed_switch_right:xt,spdt_normally_closed_switch_up:l1,spdt_switch_down:a1,spdt_switch_left:y1,spdt_switch_right:mt,spdt_switch_up:s1,spst_normally_closed_switch_down:x1,spst_normally_closed_switch_left:m1,spst_normally_closed_switch_right:nt,spst_normally_closed_switch_up:n1,spst_switch_down:f1,spst_switch_left:c1,spst_switch_right:ft,spst_switch_up:h1,square_wave_down:d1,square_wave_left:b1,square_wave_right:_1,square_wave_up:g1,step_recovery_diode_horz:U0,step_recovery_diode_vert:u1,tachometer_horz:kt,tachometer_vert:P1,testpoint_down:F1,testpoint_left:T1,testpoint_right:ht,testpoint_up:X1,tilted_ground_down:V1,tilted_ground_left:j1,tilted_ground_right:At,tilted_ground_up:H0,triac_horz:Z0,triac_vert:O1,tunnel_diode_horz:K0,tunnel_diode_vert:C1,unijunction_transistor_horz:er,unijunction_transistor_vert:G1,usbc:W1,var_meter_horz:or,var_meter_vert:Q1,varactor_diode_horz:lr,varactor_diode_vert:rf,varistor_horz:ar,varistor_vert:af,varmeter_horz:zt,varmeter_vert:mf,vcc_down:nf,vcc_left:ff,vcc_right:cf,vcc_up:hf,volt_meter_horz:sr,volt_meter_vert:df,watt_hour_meter_horz:Ot,watt_hour_meter_vert:uf,wattmeter_horz:Jt,wattmeter_vert:Pf,zener_diode_horz:fr,zener_diode_vert:Tf};var b=(t,o=!0)=>o?-t:t;var bt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function Yf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${b(a.y,i)}`).join(" ");return o?`${l} Z`:l}function x4(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${b(a,i)-y} L ${l+y} ${b(a,i)} L ${l} ${b(a,i)+y} L ${l-y} ${b(a,i)} Z" fill="green" />`}function m4(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,h=0,p=0,x=y*.75;switch(n){case"top_left":m="start",p=y;break;case"top_right":m="end",p=y;break;case"bottom_left":m="start";break;case"bottom_right":m="end";break;case"center":m="middle",p=y/2;break;case"middle_top":m="middle",p=x;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=x/2;break;case"middle_right":m="end",p=x/2;break}return{text:`<text x="${i}" y="${b(l,o)}" dx="${h}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${bt("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${b(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function n4(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
|
|
5
|
+
`+h+" | "+dr("",a.column-1," ")+dr("",f,"^")}else o+=`
|
|
6
|
+
at `+n}return o};Mt.buildMessage=function(t,o){var i={literal:function(p){return'"'+a(p.text)+'"'},class:function(p){var x=p.parts.map(function(f){return Array.isArray(f)?y(f[0])+"-"+y(f[1]):y(f)});return"["+(p.inverted?"^":"")+x.join("")+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(p){return p.description}};function l(p){return p.charCodeAt(0).toString(16).toUpperCase()}function a(p){return p.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function y(p){return p.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(x){return"\\x0"+l(x)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(x){return"\\x"+l(x)})}function n(p){return i[p.type](p)}function m(p){var x=p.map(n),f,d;if(x.sort(),x.length>0){for(f=1,d=1;f<x.length;f++)x[f-1]!==x[f]&&(x[d]=x[f],d++);x.length=d}switch(x.length){case 1:return x[0];case 2:return x[0]+" or "+x[1];default:return x.slice(0,-1).join(", ")+", or "+x[x.length-1]}}function h(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+h(o)+" found."};function _t(t){if(t.length===0)return{minX:0,maxX:0,minY:0,maxY:0};let o=1/0,i=-1/0,l=1/0,a=-1/0,y=n=>{o=Math.min(o,n.x),i=Math.max(i,n.x),l=Math.min(l,n.y),a=Math.max(a,n.y)};return t.forEach(n=>{switch(n.type){case"path":n.points.forEach(y);break;case"text":y({x:n.x,y:n.y});break;case"circle":{let{x:m,y:h,radius:p}=n;y({x:m-p,y:h-p}),y({x:m+p,y:h+p});break}case"box":{let{x:m,y:h,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:h-d}),y({x:m+f,y:h+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var Cf=(t,o="right")=>{switch(o){case"down":switch(t){case"middle_top":return"middle_right";case"middle_bottom":return"middle_left";case"middle_left":return"middle_bottom";case"middle_right":return"middle_top"}break;case"up":switch(t){case"middle_top":return"middle_left";case"middle_bottom":return"middle_right";case"middle_left":return"middle_top";case"middle_right":return"middle_bottom"}break;case"left":switch(t){case"middle_top":return"middle_bottom";case"middle_bottom":return"middle_top";case"middle_left":return"middle_right";case"middle_right":return"middle_left"}break;case"right":return t}return t},u=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=V({a:1,b:0,c:0,d:-1,e:0,f:2*l.y}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={top_left:"bottom_left",top_right:"bottom_right",bottom_left:"top_left",bottom_right:"top_right",center:"center",middle_top:"middle_bottom",middle_bottom:"middle_top",middle_left:"middle_left",middle_right:"middle_right"};return{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Y=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=V({a:-1,b:0,c:0,d:1,e:0,f:2*l.x}),m=i.map(p=>{switch(p={...p},p.type){case"path":return{...p,points:p.points.map(c=>_(n,c))};case"text":let x=_(n,{x:p.x,y:p.y}),f={top_left:"top_right",top_right:"top_left",bottom_left:"bottom_right",bottom_right:"bottom_left",center:"center",middle_top:"middle_top",middle_bottom:"middle_bottom",middle_left:"middle_right",middle_right:"middle_left"};return{...p,x:x.x,y:x.y,anchor:f[p.anchor]};case"circle":case"box":let d=_(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),h=a.map(p=>({...p,..._(n,p)}));return{primitives:m,center:l,ports:h,size:y,...o}},Pt=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=hr(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:h,ports:p}=t,x=n.map(c=>{switch(c={...c},c.type){case"path":return{...c,points:c.points.map(zf=>_(y,zf))};case"text":let cp=_(y,{x:c.x,y:c.y});return c.anchor=Cf(c.anchor,i??"right"),{...c,x:cp.x,y:cp.y};case"circle":let hp=_(y,{x:c.x,y:c.y});return{...c,x:hp.x,y:hp.y};case"box":let dp=_(y,{x:c.x,y:c.y});return{...c,x:dp.x,y:dp.y,width:c.height,height:c.width}}}),f=p.map(c=>({...c,..._(y,c)})),d=_t(x);return{primitives:x,center:m,ports:f,size:{width:d.maxX-d.minX,height:d.maxY-d.minY},...l}},r=(t,o="down",i={})=>Pt(t,{newOrientation:o,overrides:i});var br=class{symbol;constructor(o){this.symbol=JSON.parse(JSON.stringify(o)),this.symbol.size=this.computeSize()}changeTextAnchor(o,i,l){return this.symbol={...this.symbol,primitives:this.symbol.primitives.map(a=>a.type==="text"&&a.text===o?{...a,anchor:i,...l?{x:a.x+l.x,y:a.y+l.y}:{}}:a)},this}labelPort(o,i){return this.symbol={...this.symbol,ports:this.symbol.ports.map(l=>l.labels.includes(o)?{...l,labels:i}:l)},this}rotateRightFacingSymbol(o){return this.symbol=Pt(this.symbol,{newOrientation:o}),this}computeSize(){let o=_t(this.symbol.primitives);return{width:o.maxX-o.minX,height:o.maxY-o.minY}}build(){return{...this.symbol,size:this.computeSize()}}},e=t=>{let o=t.primitives??[...Object.values(t.paths??{}),...Object.values(t.texts??{}),...Object.values(t.circles??{}),...Object.values(t.rects??{})],i=t.ports??Object.entries(t.refblocks).flatMap(([a,y])=>[{...y,labels:[a]}]),l=t.center??{x:t.bounds.centerX,y:t.bounds.centerY};return i.length===2&&(l={x:(i[0].x+i[1].x)/2,y:(i[0].y+i[1].y)/2}),new br({...t,primitives:o,ports:i,center:l})};var v={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path17:{type:"path",points:[{x:0,y:-.13},{x:.07,y:-.11}],color:"primary",fill:!1},path18:{type:"path",points:[{x:.07,y:-.11},{x:.14,y:-.13}],color:"primary",fill:!1},path19:{type:"path",points:[{x:-.15,y:-.13},{x:-.07,y:-.11}],color:"primary",fill:!1},path20:{type:"path",points:[{x:-.07,y:-.11},{x:0,y:-.13}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:If,texts:K3,bounds:Ct,refblocks:_p,circles:Bf}=v,gp=e({primitives:[...Object.values(If),...Object.values(Bf),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{..._p.left1,labels:["1"]},{..._p.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:qf,texts:ob,bounds:Nt,refblocks:up,circles:Df}=v,vp=e({primitives:[...Object.values(qf),...Object.values(Df),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...up.left1,labels:["1"]},{...up.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Gf,texts:ab,bounds:It,refblocks:wp,circles:Uf}=v,Ap=e({primitives:[...Object.values(Gf),...Object.values(Uf),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...wp.left1,labels:["1"]},{...wp.right1,labels:["2"]}],size:{width:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Wf,texts:mb,bounds:Bt,refblocks:Pp,circles:Hf}=v,Sp=e({primitives:[...Object.values(Wf),...Object.values(Hf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Zf,texts:hb,bounds:qt,refblocks:Rp,circles:Qf}=v,Fp=e({primitives:[...Object.values(Zf),...Object.values(Qf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Rp.left1,labels:["1"]},{...Rp.right1,labels:["2"]}],size:{width:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Kf,texts:gb,bounds:Dt,refblocks:Tp,circles:tc}=v,Ep=e({primitives:[...Object.values(Kf),...Object.values(tc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Tp.left1,labels:["1"]},{...Tp.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var w={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.2}],color:"primary",fill:!1},"path43-8-3":{type:"path",points:[{x:.21,y:-.11},{x:.15,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:rc,texts:Pb,bounds:Gt,refblocks:Yp,circles:oc}=w,Xp=e({primitives:[...Object.values(rc),...Object.values(oc),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Yp.left1,labels:["1"]},{...Yp.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Lp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ic,texts:Xb,bounds:Ut,refblocks:Vp,circles:lc}=w,jp=e({primitives:[...Object.values(ic),...Object.values(lc),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...Vp.left1,labels:["1"]},{...Vp.right1,labels:["2"]}],size:{width:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var kp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:pc,texts:Jb,bounds:Wt,refblocks:zp,circles:ac}=w,Op=e({primitives:[...Object.values(pc),...Object.values(ac),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...zp.left1,labels:["1"]},{...zp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:yc,texts:Nb,bounds:Ht,refblocks:Jp,circles:sc}=w,$p=e({primitives:[...Object.values(yc),...Object.values(sc),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var j={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.14,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.18,y:.18},{x:.11,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.18,y:-.09},{x:.11,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:mc,texts:Gb,bounds:Zt,refblocks:Mp,circles:nc}=j,Cp=e({primitives:[...Object.values(mc),...Object.values(nc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Mp.left1,labels:["1"]},{...Mp.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:fc,texts:Zb,bounds:Qt,refblocks:Np,circles:cc}=j,Kt=e({primitives:[...Object.values(fc),...Object.values(cc),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...Np.left1,labels:["1"]},{...Np.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:hc,texts:e_,bounds:te,refblocks:Ip,circles:dc}=j,Bp=e({primitives:[...Object.values(hc),...Object.values(dc),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...Ip.left1,labels:["1"]},{...Ip.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:p_,texts:a_,bounds:y_,refblocks:s_,circles:x_}=j,_r=r(Kt,"down"),gr=_r.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ur=_r.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gr.anchor="middle_left";ur.anchor="middle_left";gr.x=.25;gr.y+=.21;ur.y-=.21;ur.x=.25;var qp=_r;function s(t){let o=t.size;if(!o){let i=_t(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var Dp={paths:{path43:{type:"path",points:[{x:-.06,y:.19},{x:-.06,y:-.12}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.02,y:.13},{x:.02,y:-.06}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.06,y:.03},{x:-.45,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.03},{x:.03,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.28}},refblocks:{left1:{x:-.45,y:.03},right1:{x:.45,y:.03}},bounds:{minX:-.47,maxX:.47,minY:-.38,maxY:.27,width:.95,height:.29,centerX:0,centerY:.06},circles:{}};var{paths:_c,texts:Gp,bounds:ee,refblocks:Up,circles:gc}=Dp,re=s({primitives:[...Object.values(_c),...Object.values(gc),{...Gp.top1,anchor:"middle_bottom"},{...Gp.bottom1,anchor:"middle_top"}],ports:[{...Up.left1,labels:["1"]},{...Up.right1,labels:["2"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}});var Wp=Pt(re,{newOrientation:"up"});var k={paths:{path1:{type:"path",points:[{x:-.53,y:.05},{x:-.25,y:.05}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.28,y:.05},{x:.57,y:.05}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.02,y:.18},{x:.28,y:.18},{x:.28,y:-.09},{x:-.25,y:-.09},{x:-.25,y:.18},{x:.02,y:.18}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.53,y:.05},right1:{x:.57,y:.05}},bounds:{minX:-.56,maxX:.56,minY:-.25,maxY:.25,width:1.12,height:.5,centerX:0,centerY:0},circles:{}};var{paths:vc,texts:P_,bounds:Hp,refblocks:Zp,circles:wc}=k,Qp=e({primitives:[...Object.values(vc),...Object.values(wc),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Zp.left1,labels:["1"]},{...Zp.right1,labels:["2"]}],center:{x:Hp.centerX,y:Hp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Ac,texts:T_,bounds:Kp,refblocks:ta,circles:Pc}=k,ea=e({primitives:[...Object.values(Ac),...Object.values(Pc),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...ta.left1,labels:["1"]},{...ta.right1,labels:["2"]}],center:{x:Kp.centerX,y:Kp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Sc,texts:L_,bounds:ra,refblocks:oa,circles:Rc}=k,ia=e({primitives:[...Object.values(Sc),...Object.values(Rc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...oa.left1,labels:["1"]},{...oa.right1,labels:["2"]}],center:{x:ra.centerX,y:ra.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var z={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.55,y:-.01}],color:"primary",fill:!0},"path2-5":{type:"path",points:[{x:-.15,y:.06},{x:.14,y:.06}],color:"primary",fill:!0},"path2-5-1":{type:"path",points:[{x:.14,y:.06},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-5-1-6":{type:"path",points:[{x:-.16,y:.06},{x:-.16,y:-.08}],color:"primary",fill:!0},"path2-5-4":{type:"path",points:[{x:-.15,y:-.08},{x:.14,y:-.08}],color:"primary",fill:!0},"path2-9":{type:"path",points:[{x:-.55,y:-.01},{x:-.17,y:-.01}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.17},bottom1:{type:"text",text:"{VAL}",x:0,y:-.17}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.17,maxY:.17,width:1.16,height:.35,centerX:0,centerY:0},circles:{}};var{paths:Tc,texts:O_,bounds:oe,refblocks:la,circles:Ec}=z,pa=e({primitives:[...Object.values(Tc),...Object.values(Ec),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...la.left1,labels:["1"]},{...la.right1,labels:["2"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Yc,texts:C_,bounds:ie,refblocks:aa,circles:Xc}=z,ya=e({primitives:[...Object.values(Yc),...Object.values(Xc),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...aa.left1,labels:["1"]},{...aa.right1,labels:["2"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Lc,texts:q_,bounds:le,refblocks:sa,circles:Vc}=z,xa=e({primitives:[...Object.values(Lc),...Object.values(Vc),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...sa.left1,labels:["1"]},{...sa.right1,labels:["2"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:jc,texts:W_,bounds:pe,refblocks:ma,circles:kc}=z,na=e({primitives:[...Object.values(jc),...Object.values(kc),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...ma.left1,labels:["1"]},{...ma.right1,labels:["2"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:zc,texts:K_,bounds:fa,refblocks:ca,circles:Oc}=k,ha=e({primitives:[...Object.values(zc),...Object.values(Oc),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...ca.left1,labels:["1"]},{...ca.right1,labels:["2"]}],center:{x:fa.centerX,y:fa.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var gt={paths:{"horizontal-bar":{type:"path",points:[{x:-.4,y:0},{x:.4,y:0}],color:"primary",fill:!1},"middle-dash-1":{type:"path",points:[{x:0,y:.2},{x:0,y:.07}],color:"primary",fill:!1},"middle-dash-2":{type:"path",points:[{x:0,y:.01},{x:0,y:-.12}],color:"primary",fill:!1},"middle-dash-3":{type:"path",points:[{x:0,y:-.18},{x:0,y:-.31}],color:"primary",fill:!1},"left-vertical":{type:"path",points:[{x:-.25,y:0},{x:-.25,y:-.2}],color:"primary",fill:!1},"right-vertical":{type:"path",points:[{x:.25,y:0},{x:.25,y:-.2}],color:"primary",fill:!1},"left-ground":{type:"path",points:[{x:-.3,y:-.2},{x:-.25,y:-.3},{x:-.2,y:-.2},{x:-.3,y:-.2}],color:"primary",fill:!1},"right-ground":{type:"path",points:[{x:.2,y:-.2},{x:.25,y:-.3},{x:.3,y:-.2},{x:.2,y:-.2}],color:"primary",fill:!1}},refblocks:{left1:{x:-.4,y:0},right1:{x:.4,y:0}},texts:{ref:{type:"text",text:"{REF}",x:0,y:.35}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.35,width:.8,height:.75,centerX:0,centerY:-.02},circles:{}};var{paths:$c,texts:ig,bounds:da,refblocks:ba,circles:Mc}=gt,_a=e({primitives:[...Object.values($c),...Object.values(Mc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ba.left1,labels:["1"]},{...ba.right1,labels:["2"]}],center:{x:da.centerX,y:da.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Cc,texts:yg,bounds:ga,refblocks:ua,circles:Nc}=gt,ae=e({primitives:[...Object.values(Cc),...Object.values(Nc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...ua.left1,labels:["1"]},{...ua.right1,labels:["2"]}],center:{x:ga.centerX,y:ga.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var va=Y(ae);var{paths:Ic,texts:hg,bounds:wa,refblocks:Aa,circles:Bc}=gt,Pa=e({primitives:[...Object.values(Ic),...Object.values(Bc),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Aa.left1,labels:["1"]},{...Aa.right1,labels:["2"]}],center:{x:wa.centerX,y:wa.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var O={paths:{path27:{type:"path",points:[{x:.55,y:.02},{x:.07,y:.02}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.09,y:.02},{x:-.55,y:.02}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.07,y:.28},{x:.07,y:-.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.09,y:.28},{x:-.09,y:-.25}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.55,y:.02},right1:{x:.55,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:Dc,texts:ug,bounds:ye,refblocks:Sa,circles:Gc}=O,Ra=e({primitives:[...Object.values(Dc),...Object.values(Gc),{type:"text",text:"{REF}",x:-.2,y:.115},{type:"text",text:"{VAL}",x:.2,y:.115}],ports:[{...Sa.left1,labels:["1"]},{...Sa.right1,labels:["2"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Fa=e(O).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var J={paths:{"path27-5":{type:"path",points:[{x:.5229378000000007,y:.017283050000003186},{x:.001333100000000531,y:.017283050000003186}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.08560379999999945,y:.017283050000003186},{x:-.5353954999999995,y:.017283050000003186}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:-.0024798999999995353,y:.28420285000000334},{x:-.0024798999999995353,y:-.247479349999999}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.1433630999999993,y:-.24400714999999806},{x:-.1433630999999993,y:-.24400714999999806},{x:-.14092865582592523,y:-.23988656287036855},{x:-.13853515727407342,y:-.23575569829629459},{x:-.13618295529999938,y:-.23161452149999845},{x:-.13387240085925864,y:-.2274629977037022},{x:-.13160384490740681,y:-.22330109212962815},{x:-.12937763839999944,y:-.21912876999999858},{x:-.12719413229259205,y:-.21494599653703564},{x:-.12505367754074023,y:-.21075273696296162},{x:-.12295662509999944,y:-.20654895649999858},{x:-.12090332592592543,y:-.202334620370369},{x:-.11889413097407354,y:-.1981096937962949},{x:-.11692939119999951,y:-.19387414199999867},{x:-.11500945755925875,y:-.18962793020370225},{x:-.11313468100740696,y:-.18537102362962823},{x:-.1113054124999995,y:-.18110338749999852},{x:-.10952200299259213,y:-.17682498703703556},{x:-.10778480344074029,y:-.17253578746296144},{x:-.10609416479999957,y:-.16823575399999846},{x:-.10445043802592549,y:-.1639248518703688},{x:-.10285397407407365,y:-.15960304629629468},{x:-.10130512389999959,y:-.15527030249999835},{x:-.09980423845925884,y:-.15092658570370204},{x:-.098351668707407,y:-.14657186112962792},{x:-.0969477655999996,y:-.14220609399999828},{x:-.09559288009259218,y:-.1378292495370353},{x:-.09428736314074034,y:-.13344129296296123},{x:-.0930315656999996,y:-.12904218949999824},{x:-.09182583872592552,y:-.12463190437036864},{x:-.09067053317407366,y:-.12021040279629455},{x:-.08956599999999959,y:-.1157776499999983},{x:-.08956599999999959,y:-.11577764999999829},{x:-.08956599999999959,y:-.11577764999999829},{x:-.08824151191481441,y:-.11018647672962796},{x:-.08698330065185143,y:-.10458327583703543},{x:-.08579087569999959,y:-.09896843569999846},{x:-.08466374654814773,y:-.0933423446962948},{x:-.08360142268518476,y:-.08770539120370224},{x:-.08260341359999958,y:-.08205796359999859},{x:-.08166922878148106,y:-.07640045026296158},{x:-.0807983777185181,y:-.07073323957036905},{x:-.07999036989999954,y:-.06505671989999867},{x:-.07924471481481438,y:-.05937127962962835},{x:-.07856092195185138,y:-.053677307137035765},{x:-.07793850079999955,y:-.04797519079999877},{x:-.07737696084814766,y:-.042265318996295057},{x:-.07687581158518474,y:-.03654808010370251},{x:-.07643456249999953,y:-.030823862499998803},{x:-.076052723081481,y:-.025093054562961768},{x:-.07572980281851803,y:-.019356044670369183},{x:-.07546531119999952,y:-.013613221199998807},{x:-.07525875771481433,y:-.007864972529628433},{x:-.07510965185185137,y:-.0021116870370358233},{x:-.07501750309999951,y:.003646246900001227},{x:-.07498182094814765,y:.009408440903704952},{x:-.07500211488518468,y:.015174506596297575},{x:-.07507789439999951,y:.02094405560000131},{x:-.07520866898148099,y:.026716699537038383},{x:-.07539394811851803,y:.032492050029631014},{x:-.07563324129999952,y:.03826971870000144},{x:-.07592605801481433,y:.04404931717037187},{x:-.07627190775185136,y:.049830457062964524},{x:-.07667029999999952,y:.05561275000000163},{x:-.07667029999999952,y:.055612750000001654},{x:-.07667029999999952,y:.055612750000001654},{x:-.07711763639629585,y:.06051565994814989},{x:-.07758839517036993,y:.06542268825185367},{x:-.07808370069999958,y:.07033314260000188},{x:-.07860467736296256,y:.07524633068148343},{x:-.07915244953703664,y:.08016156018518718},{x:-.07972814159999962,y:.08507813880000203},{x:-.08033287792962926,y:.08999537421481688},{x:-.08096778290370335,y:.09491257411852061},{x:-.08163398089999961,y:.09982904620000208},{x:-.08233259629629595,y:.10474409814815028},{x:-.08306475347037001,y:.10965703765185393},{x:-.0838315767999997,y:.11456717240000211},{x:-.08463419066296263,y:.11947381008148356},{x:-.08547371943703674,y:.12437625838518729},{x:-.08635128749999971,y:.12927382500000204},{x:-.08726801922962936,y:.13416581761481683},{x:-.08822503900370343,y:.1390515439185205},{x:-.08922347119999974,y:.14393031160000197},{x:-.09026444019629604,y:.14880142834815008},{x:-.09134907037037011,y:.15366420185185373},{x:-.09247848609999976,y:.15851793980000184},{x:-.09365381176296271,y:.16336194988148328},{x:-.0948761717370368,y:.16819553978518692},{x:-.09614669039999976,y:.17301801720000168},{x:-.09746649212962939,y:.17782868981481642},{x:-.09883670130370346,y:.18262686531852007},{x:-.10025844229999976,y:.1874118514000015},{x:-.10173283949629608,y:.19218295574814956},{x:-.10326101727037013,y:.19693948605185319},{x:-.10484409999999976,y:.2016807500000013},{x:-.10484409999999977,y:.2016807500000013},{x:-.10484409999999977,y:.2016807500000013},{x:-.1057993367777776,y:.20445172446666784},{x:-.10677724488888875,y:.2072177244000011},{x:-.1077778209999999,y:.20997856460000103},{x:-.10880106177777768,y:.21273405986666769},{x:-.1098469638888888,y:.21548402500000097},{x:-.11091552399999995,y:.21822827480000098},{x:-.11200673877777771,y:.22096662406666764},{x:-.11312060488888884,y:.22369888760000106},{x:-.11425711899999991,y:.22642488020000096},{x:-.11541627777777771,y:.2291444166666677},{x:-.11659807788888879,y:.23185731180000102},{x:-.11780251599999993,y:.23456338040000121},{x:-.11902958877777765,y:.23726243726666785},{x:-.1202792928888888,y:.23995429720000136},{x:-.12155162499999986,y:.24263877500000136},{x:-.12284658177777764,y:.24531568546666818},{x:-.12416415988888875,y:.2479848434000016},{x:-.12550435599999987,y:.25064606360000175},{x:-.12686716677777762,y:.2532991608666685},{x:-.1282525888888887,y:.255943950000002},{x:-.1296606189999998,y:.25858024580000205},{x:-.13109125377777758,y:.2612078630666688},{x:-.1325444898888887,y:.2638266166000023},{x:-.13402032399999983,y:.2664363212000024},{x:-.13551875277777758,y:.26903679166666916},{x:-.13703977288888872,y:.27162784280000263},{x:-.13858338099999984,y:.27420928940000266},{x:-.14014957377777765,y:.2767809462666695},{x:-.14173834788888875,y:.2793426282000029},{x:-.1433496999999999,y:.28189415000000295},{x:-.1433496999999999,y:.28189415000000295}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26345180000000035,y:.2438394499999994},{x:.12298460000000011,y:.2438394499999994},{x:.12298460000000011,y:.2505664500000009},{x:.26345180000000035,y:.2505664500000009}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.19751530000000006,y:.31834525000000014},{x:.19751530000000006,y:.17787805000000034},{x:.1907882999999999,y:.17787805000000034},{x:.1907882999999999,y:.31834525000000014}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.012864499999999612,y:.4200086500000033},bottom1:{type:"text",text:"{VAL}",x:-.003850499999999979,y:-.42000864999999976}},refblocks:{left1:{x:-.5512093,y:.016380250000000984},right1:{x:.5512093,y:.016926950000001995}},bounds:{minX:-.579367741,maxX:.579367741,minY:-.42000864999999976,maxY:.4200086500000033,width:1.158735482,height:.8400173000000031,centerX:0,centerY:17763568394002505e-31},circles:{}};var Ta=e(J).rotateRightFacingSymbol("up").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:-.12,y:-.3}).build();var Ea=e(J).rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_bottom").build();var Ya=e(J).rotateRightFacingSymbol("left").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.78}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.78}).build();var Xa=e(J).rotateRightFacingSymbol("down").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_left",{x:-.12,y:.3}).changeTextAnchor("{VAL}","middle_left",{x:.72,y:-.3}).build();var La=e(O).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Wc,texts:Ig,bounds:se,refblocks:Va,circles:Hc}=O,ja=e({primitives:[...Object.values(Wc),...Object.values(Hc),{type:"text",text:"{REF}",x:.2,y:-.095},{type:"text",text:"{VAL}",x:-.2,y:-.095}],ports:[{...Va.left1,labels:["1"]},{...Va.right1,labels:["2"]}],size:{width:se.width,height:se.height},center:{x:se.centerX,y:se.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var A={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.29,y:.29},{x:.29,y:-.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.37}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:Qc,texts:Ug,bounds:xe,refblocks:ka,circles:Kc}=A,za=e({primitives:[...Object.values(Qc),...Object.values(Kc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ka.left1,labels:["1"]},{...ka.right1,labels:["2"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Oa=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:th,texts:eu,bounds:me,refblocks:Ja,circles:eh}=A,$a=e({primitives:[...Object.values(th),...Object.values(eh),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...Ja.left1,labels:["1"]},{...Ja.right1,labels:["2"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ma=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:rh,texts:yu,bounds:ne,refblocks:Ca,circles:oh}=A,Na=e({primitives:[...Object.values(rh),...Object.values(oh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ca.left1,labels:["1"]},{...Ca.right1,labels:["2"]}],size:{width:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ih,texts:nu,bounds:fe,refblocks:Ia,circles:lh}=A,Ba=e({primitives:[...Object.values(ih),...Object.values(lh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ia.left1,labels:["1"]},{...Ia.right1,labels:["2"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var $={paths:{path27:{type:"path",points:[{x:.54,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:.25},{x:.13,y:-.27}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:.25},{x:.07,y:-.28}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:.25},{x:-.14,y:-.27}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:.26},{x:-.08,y:-.27}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.21,y:.32},{x:.2,y:.32}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.71},{x:0,y:.33},{x:0,y:.32}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:-.21,y:.32},{x:-.21,y:.25}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.25}],color:"primary",fill:!1},"path43-9":{type:"path",points:[{x:.19,y:-.35},{x:-.22,y:-.35}],color:"primary",fill:!1},"path44-0-5":{type:"path",points:[{x:-.02,y:-.71},{x:-.02,y:-.36},{x:-.02,y:-.35}],color:"primary",fill:!1},"path43-8-1":{type:"path",points:[{x:.19,y:-.35},{x:.19,y:-.28}],color:"primary",fill:!1},"path43-8-8-9":{type:"path",points:[{x:-.22,y:-.35},{x:-.22,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,y:-.01}],color:"primary",fill:!1}},texts:{left1:{type:"text",text:"{REF}",x:.53,y:.28},right1:{type:"text",text:"{VAL}",x:.54,y:-.28}},refblocks:{top1:{x:0,y:.71},bottom1:{x:-.02,y:-.71},left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.74,maxY:.74,width:1.14,height:1.48,centerX:0,centerY:0},circles:{}};var{paths:ah,texts:bu,bounds:ce,refblocks:he,circles:yh}=$,qa=e({primitives:[...Object.values(ah),...Object.values(yh),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...he.left1,labels:["1"]},{...he.right1,labels:["3"]},{...he.bottom1,labels:["2"]},{...he.top1,labels:["4"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Da=e($).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Ga=e($).labelPort("top1",["4","gnd1"]).labelPort("bottom1",["2","gnd2"]).labelPort("left1",["1"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var{paths:sh,texts:Fu,bounds:de,refblocks:be,circles:xh}=$,Ua=e({primitives:[...Object.values(sh),...Object.values(xh),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...be.left1,labels:["1"]},{...be.right1,labels:["3"]},{...be.bottom1,labels:["2"]},{...be.top1,labels:["4"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var M={paths:{path27:{type:"path",points:[{x:.55,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.55,y:-.01}],color:"primary",fill:!1},path29:{type:"path",points:[{x:.13,y:-.28},{x:.13,y:.25}],color:"primary",fill:!1},"path29-2":{type:"path",points:[{x:.07,y:-.28},{x:.07,y:.25}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.14,y:-.28},{x:-.14,y:.25}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.08,y:-.28},{x:-.08,y:.25}],color:"primary",fill:!1},"path29-2-7":{type:"path",points:[{x:.07,y:-.28},{x:-.08,y:-.28}],color:"primary",fill:!1},"path29-2-7-6":{type:"path",points:[{x:.07,y:.26},{x:-.08,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{VAL}",x:-.01,y:-.42},bottom1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.55,y:-.01},right1:{x:.55,y:-.01}},bounds:{minX:-.58,maxX:.58,minY:-.52,maxY:.43,width:1.16,height:1,centerX:0,centerY:-.04},circles:{}};var{paths:nh,texts:Lu,bounds:_e,refblocks:Wa,circles:fh}=M,Ha=e({primitives:[...Object.values(nh),...Object.values(fh),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Wa.left1,labels:["1"]},{...Wa.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Za=e(M).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Qa=e(M).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ch,texts:Nu,bounds:ge,refblocks:Ka,circles:hh}=M,ty=e({primitives:[...Object.values(ch),...Object.values(hh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Ka.left1,labels:["1"]},{...Ka.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var St=.6,vr=.3,dh=[{type:"path",points:[{x:-St,y:0},{x:-vr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:vr,y:0},{x:St,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:vr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],ey=e({primitives:[...dh,{type:"text",text:"{REF}",x:-.2,y:.35},{type:"text",text:"{VAL}",x:.2,y:.35}],ports:[{x:-St,y:0,labels:["1"]},{x:St,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:St*2,height:.9}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Rt=.6,wr=.3,bh=[{type:"path",points:[{x:-Rt,y:0},{x:-wr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:wr,y:0},{x:Rt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:wr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],ry=e({primitives:[...bh,{type:"text",text:"{REF}",x:0,y:-.4},{type:"text",text:"{VAL}",x:0,y:.4}],ports:[{x:-Rt,y:0,labels:["1"]},{x:Rt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Rt*2,height:.9}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ft=.6,Ar=.3,_h=[{type:"path",points:[{x:-Ft,y:0},{x:-Ar,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Ar,y:0},{x:Ft,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Ar,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],oy=e({primitives:[..._h,{type:"text",text:"{REF}",x:0,y:.4},{type:"text",text:"{VAL}",x:0,y:-.4}],ports:[{x:-Ft,y:0,labels:["1"]},{x:Ft,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Ft*2,height:.9}}).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Tt=.6,Pr=.3,gh=[{type:"path",points:[{x:-Tt,y:0},{x:-Pr,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:Pr,y:0},{x:Tt,y:0}],color:"primary",fill:!1},{type:"circle",x:0,y:0,radius:Pr,color:"primary",fill:!1},{type:"path",points:[{x:-.1,y:0},{x:.15,y:0}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:.08}],color:"primary",fill:!1},{type:"path",points:[{x:.15,y:0},{x:.05,y:-.08}],color:"primary",fill:!1}],iy=e({primitives:[...gh,{type:"text",text:"{REF}",x:.2,y:-.35},{type:"text",text:"{VAL}",x:-.2,y:-.35}],ports:[{x:-Tt,y:0,labels:["1"]},{x:Tt,y:0,labels:["2"]}],center:{x:0,y:0},size:{width:Tt*2,height:.9}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var P={paths:{path11:{type:"path",points:[{x:1.99,y:-1.64},{x:2.1,y:-1.64}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:2.1,y:-1.48},{x:2.1,y:-1.8}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:2.22,y:-1.5},{x:2.11,y:-1.58}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:2.23,y:-1.78},{x:2.11,y:-1.7}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:2.23,y:-1.49},{x:2.23,y:-1.14}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.97},{x:2.23,y:-1.79}],color:"primary",fill:!1},"arrow-2":{type:"path",points:[{x:2.17,y:-1.7},{x:2.13,y:-1.76},{x:2.19,y:-1.76},{x:2.17,y:-1.7}],color:"primary",fill:!0},path1:{type:"path",points:[{x:1.6,y:-1.5},{x:1.86,y:-1.5}],color:"primary",fill:!1},path2:{type:"path",points:[{x:1.87,y:-1.34},{x:1.87,y:-1.66}],color:"primary",fill:!1},path3:{type:"path",points:[{x:1.99,y:-1.36},{x:1.87,y:-1.44}],color:"primary",fill:!1},path4:{type:"path",points:[{x:1.99,y:-1.64},{x:1.88,y:-1.56}],color:"primary",fill:!1},"arrow-1":{type:"path",points:[{x:1.94,y:-1.56},{x:1.89,y:-1.62},{x:1.96,y:-1.62},{x:1.94,y:-1.56}],color:"primary",fill:!0},path9:{type:"path",points:[{x:1.99,y:-1.35},{x:2.23,y:-1.36}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:1.88,y:-1.94},right1:{type:"text",text:"{REF}",x:1.88,y:-1.14}},refblocks:{right1:{x:2.23,y:-1.97},right2:{x:1.6,y:-1.5},right3:{x:2.23,y:-1.14}},bounds:{minX:1.58,maxX:2.35,minY:-1.98,maxY:-1.12,width:.77,height:.86,centerX:1.96,centerY:-1.55},circles:{"path1-0":{type:"circle",x:2.05,y:-1.54,radius:.3,color:"primary",fill:!1}}};var ly=e(P).rotateRightFacingSymbol("down").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:0,y:.15}).build();var py=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ay=e(P).rotateRightFacingSymbol("left").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.8}).changeTextAnchor("{REF}","middle_left",{x:0,y:.8}).build();var yy=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var sy=e(P).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build();var xy=e(P).rotateRightFacingSymbol("up").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_left",{x:0,y:-.15}).changeTextAnchor("{REF}","middle_left",{x:.8,y:.15}).build();var my={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:.09},{x:.12,y:.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.45},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.35},left1:{type:"text",text:"A",x:0,y:-.1}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:-.09,maxY:.09,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:wh,texts:Ah,bounds:ue,refblocks:ny,circles:Ph}=my,Et=s({primitives:[...Object.values(wh),...Object.values(Ph),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Ah.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...ny.left1,labels:["1"]},{...ny.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}});function Sh(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function Rh(t){return typeof t=="object"&&t!==null&&t.type==="text"&&typeof t.text=="string"&&typeof t.x=="number"&&typeof t.y=="number"&&typeof t.anchor=="string"}var{6:Sr,2:Rr,...Fh}=Et.primitives;Sh(Rr)&&Rr.points.map(t=>{t.y+=.05});Rh(Sr)&&(Sr.y+=.025);function Th(t){return typeof t=="object"}var fy=r({...Et,primitives:Object.values(Fh).filter(Th)}),cy={...fy,primitives:[...fy.primitives,Sr,Rr]};var S={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.12,y:-.14},{x:.12,y:-.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:Yh,texts:F8,bounds:ve,refblocks:hy,circles:Xh}=S,dy=e({primitives:[...Object.values(Yh),...Object.values(Xh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...hy.left1,labels:["1"]},{...hy.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Lh,texts:X8,bounds:we,refblocks:by,circles:Vh}=S,_y=e({primitives:[...Object.values(Lh),...Object.values(Vh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...by.left1,labels:["1"]},{...by.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:jh,texts:k8,bounds:Ae,refblocks:gy,circles:kh}=S,uy=e({primitives:[...Object.values(jh),...Object.values(kh),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...gy.left1,labels:["1"]},{...gy.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:zh,texts:$8,bounds:Pe,refblocks:vy,circles:Oh}=S,wy=e({primitives:[...Object.values(zh),...Object.values(Oh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...vy.left1,labels:["1"]},{...vy.right1,labels:["2"]}],size:{width:Pe.width,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Jh,texts:I8,bounds:Se,refblocks:Ay,circles:$h}=S,Py=e({primitives:[...Object.values(Jh),...Object.values($h),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ay.left1,labels:["1"]},{...Ay.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Mh,texts:G8,bounds:Re,refblocks:Sy,circles:Ch}=S,Ry=e({primitives:[...Object.values(Mh),...Object.values(Ch),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Sy.left1,labels:["1"]},{...Sy.right1,labels:["2"]}],size:{width:Re.width,height:Re.height},center:{x:Re.centerX,y:Re.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var R={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.03,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}};var Fy=e(R).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:-.03,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.8,y:-.2}).build();var Ty=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Ey=e(R).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.8}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.9}).build();var Yy=e(R).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var Xy=e(R).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build();var Ly=e(R).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left",{x:.7,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:-.13,y:-.2}).build();var C={paths:{triangle:{type:"path",points:[{x:-.06,y:-.09},{x:-.06,y:.09},{x:.06,y:0},{x:-.06,y:-.09}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.11,y:0},{x:-.06,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:-.11,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:Bh,bounds:Vy,refblocks:qh}=C,jy=e({primitives:[...Object.values(Bh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...qh.left1,labels:["1"]}],center:{x:Vy.centerX,y:Vy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:Dh,bounds:ky,refblocks:Gh}=C,zy=e({primitives:[...Object.values(Dh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Gh.left1,labels:["1"]}],center:{x:ky.centerX,y:ky.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:Uh,bounds:Oy,refblocks:Wh}=C,Jy=e({primitives:[...Object.values(Uh),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...Wh.left1,labels:["1"]}],center:{x:Oy.centerX,y:Oy.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Hh,bounds:$y,refblocks:Zh}=C,My=e({primitives:[...Object.values(Hh),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...Zh.left1,labels:["1"]}],center:{x:$y.centerX,y:$y.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Cy={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var N=e(Cy).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ny=r(N,"down");var Iy=r(N,"left");var By=r(N,"up");var qy={paths:{path1:{type:"path",points:[{x:-.37,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-2":{type:"path",points:[{x:-.07,y:.22},{x:.11,y:.16}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.37,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.37,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.37,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-5":{type:"path",points:[{x:-.07,y:-.19},{x:.1,y:-.24}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.37,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.37,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.2},{x:0,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.56},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}};var I=e(qy).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Fr=r(I,"down"),Tr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Er=Fr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tr.anchor="middle_bottom";Er.anchor="middle_top";Tr.x=0;Tr.y+=.537;Er.y-=.5375;Er.x=0;var Dy=Fr;var Yr=r(I,"left"),Xr=Yr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Lr=Yr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xr.anchor="middle_bottom";Lr.anchor="middle_top";Xr.x=0;Xr.y+=1;Lr.y-=1;Lr.x=0;var Gy=Yr;var Vr=r(I,"up"),jr=Vr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kr=Vr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jr.anchor="middle_bottom";kr.anchor="middle_top";jr.x=0;jr.y+=.537;kr.y-=.5375;kr.x=0;var Uy=Vr;var Wy={paths:{path1:{type:"path",points:[{x:-.37,y:.22},{x:-.13,y:.22}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.23},{x:.11,y:.33}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:.13},{x:.37,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.37,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.37,y:-.18},{x:-.13,y:-.18}],color:"primary",fill:!1},"path4-6":{type:"path",points:[{x:-.07,y:-.18},{x:.11,y:-.07}],color:"primary",fill:!1},path5:{type:"path",points:[{x:.1,y:-.27},{x:.37,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.37,y:-.04}],color:"primary",fill:!1},"path1-4-join":{type:"path",points:[{x:0,y:-.12},{x:0,y:.27}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.61},bottom1:{type:"text",text:"{VAL}",x:0,y:-.52}},refblocks:{left1:{x:-.37,y:.22},left2:{x:-.37,y:-.18},right1:{x:.37,y:.36},right2:{x:.37,y:.13},right3:{x:.37,y:-.04},right5:{x:.37,y:-.27}},bounds:{minX:-.4,maxX:.4,minY:-.47,maxY:.56,width:1,height:1.04,centerX:0,centerY:.05},circles:{"circle-2":{type:"circle",x:.08,y:.13,radius:.02,color:"primary",fill:!1},"circle-5":{type:"circle",x:.08,y:-.27,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:.08,y:.37,radius:.02,color:"primary",fill:!1},"circle-6":{type:"circle",x:.08,y:-.04,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.22,radius:.02,color:"primary",fill:!1},"circle-4":{type:"circle",x:-.1,y:-.18,radius:.02,color:"primary",fill:!1}}};var B=e(Wy).labelPort("left1",["1"]).labelPort("right1",["3"]).labelPort("right2",["2"]).labelPort("right3",["6"]).labelPort("left2",["4"]).labelPort("right5",["5"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var zr=r(B,"down"),Or=zr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jr=zr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Or.anchor="middle_bottom";Jr.anchor="middle_top";Or.x=0;Or.y+=.565;Jr.y-=.555;Jr.x=0;var Hy=zr;var $r=r(B,"left"),Mr=$r.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cr=$r.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mr.anchor="middle_bottom";Cr.anchor="middle_top";Mr.x=0;Mr.y+=1.09;Cr.y-=1.09;Cr.x=0;var Zy=$r;var Nr=r(B,"up"),Ir=Nr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Br=Nr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ir.anchor="middle_bottom";Br.anchor="middle_top";Ir.x=0;Ir.y+=.565;Br.y-=.555;Br.x=0;var Qy=Nr;var Ky={paths:{path11:{type:"path",points:[{x:-.38,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.11,y:.11}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.38,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.38,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.17},{x:.11,y:-.12}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.38,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.31}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}};var q=e(Ky).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var qr=r(q,"down"),Dr=qr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gr=qr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Dr.anchor="middle_bottom";Gr.anchor="middle_top";Dr.x=.4;Dr.y+=.265;Gr.y-=.265;Gr.x=.4;var ts=qr;var Ur=r(q,"left"),Wr=Ur.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hr=Ur.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wr.anchor="middle_bottom";Hr.anchor="middle_top";Wr.x=0;Wr.y+=.67;Hr.y-=.67;Hr.x=0;var es=Ur;var Zr=r(q,"up"),Qr=Zr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Kr=Zr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qr.anchor="middle_bottom";Kr.anchor="middle_top";Qr.x=.46;Qr.y+=.265;Kr.y-=.265;Kr.x=.46;var rs=Zr;var os={paths:{path11:{type:"path",points:[{x:-.38,y:.06},{x:-.14,y:.06}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:.07},{x:.1,y:.2}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.13,y:.06},{x:.38,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.38,y:-.17},{x:-.14,y:-.17}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:-.09,y:-.16},{x:.1,y:-.03}],color:"primary",fill:!1},"path12-0":{type:"path",points:[{x:.13,y:-.17},{x:.38,y:-.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.38,y:-.17},left3:{x:-.38,y:.06},right1:{x:.38,y:-.17},right3:{x:.38,y:.06}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.81,height:.79,centerX:0,centerY:0},circles:{"circle-4":{type:"circle",x:.1,y:.06,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.1,y:-.17,radius:.02,color:"primary",fill:!1},"circle-3":{type:"circle",x:-.11,y:.06,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.11,y:-.17,radius:.02,color:"primary",fill:!1}}};var D=e(os).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var to=r(D,"down"),eo=to.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ro=to.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");eo.anchor="middle_bottom";ro.anchor="middle_top";eo.x=.4;eo.y+=.295;ro.y-=.295;ro.x=.42;var is=to;var oo=r(D,"left"),io=oo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),lo=oo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");io.anchor="middle_bottom";lo.anchor="middle_top";io.x=0;io.y+=.795;lo.y-=.795;lo.x=0;var ls=oo;var po=r(D,"up"),ao=po.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yo=po.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ao.anchor="middle_bottom";yo.anchor="middle_top";ao.x=.46;ao.y+=.315;yo.y-=.315;yo.x=.46;var ps=po;var Fe={paths:{path5:{type:"path",points:[{x:-.44,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.44,y:.01}],color:"primary",fill:!1},path9:{type:"path",points:[{x:-.25,y:-.16},{x:.02,y:.3},{x:.25,y:.17},{x:-.02,y:-.29},{x:-.25,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.44,y:0},right1:{x:.44,y:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:i9,texts:C6,bounds:Te,refblocks:as,circles:l9}=Fe,Ee=e({primitives:[...Object.values(i9),...Object.values(l9),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...as.left1,labels:["1"]},{...as.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var so=u(Ee),xo=so.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mo=so.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xo.anchor="middle_left";mo.anchor="middle_left";xo.y+=.4;xo.x=.32;mo.y-=.45;mo.x=.32;var ys=so;var Ye=e(Fe).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var ss=Y(Ye);var F={paths:{path11:{type:"path",points:[{x:-.56,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.48,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.14,y:-.15},{x:.14,y:.25}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.22,y:.25},{x:-.21,y:-.15},{x:.14,y:.05},{x:-.22,y:.25}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.09,y:.38},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.38},right1:{type:"text",text:"",x:.59,y:-.33}},refblocks:{left1:{x:-.56,y:.04},right1:{x:.48,y:.05}},bounds:{minX:-.59,maxX:.59,minY:-.38,maxY:.38,width:1.18,height:.76,centerX:0,centerY:0},circles:{}};var{paths:a9,texts:rv,bounds:Xe,refblocks:xs,circles:y9}=F,ms=e({primitives:[...Object.values(a9),...Object.values(y9),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...xs.left1,labels:["1"]},{...xs.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:s9,texts:pv,bounds:Le,refblocks:ns,circles:x9}=F,fs=e({primitives:[...Object.values(s9),...Object.values(x9),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ns.left1,labels:["1"]},{...ns.right1,labels:["2"]}],size:{width:Le.width,height:Le.height},center:{x:Le.centerX,y:Le.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:m9,texts:xv,bounds:Ve,refblocks:cs,circles:n9}=F,hs=e({primitives:[...Object.values(m9),...Object.values(n9),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...cs.left1,labels:["1"]},{...cs.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:f9,texts:cv,bounds:je,refblocks:ds,circles:c9}=F,bs=e({primitives:[...Object.values(f9),...Object.values(c9),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...ds.left1,labels:["1"]},{...ds.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:h9,texts:_v,bounds:ke,refblocks:_s,circles:d9}=F,gs=e({primitives:[...Object.values(h9),...Object.values(d9),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{..._s.left1,labels:["1"]},{..._s.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:b9,texts:wv,bounds:ze,refblocks:us,circles:_9}=F,vs=e({primitives:[...Object.values(b9),...Object.values(_9),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...us.left1,labels:["1"]},{...us.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var ws={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Hz",x:0,y:-.04}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:u9,texts:v9,bounds:Oe,refblocks:As,circles:w9}=ws,Yt=s({primitives:[...Object.values(u9),...Object.values(w9),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...v9.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...As.left1,labels:["1"]},{...As.right1,labels:["2"]}],size:{width:Oe.width,height:Oe.height},center:{x:Oe.centerX,y:Oe.centerY}});var{5:A9,...P9}=Yt.primitives;function S9(t){return typeof t=="object"}var Ps=r({...Yt,primitives:Object.values(P9).filter(S9)}),Ss={...Ps,primitives:[...Ps.primitives,A9]};var Rs={paths:{path10:{type:"path",points:[{x:-.53,y:.04},{x:.53,y:.04}],color:"primary",fill:!1},path14:{type:"path",points:[{x:0,y:.17},{x:.27,y:.17},{x:.27,y:-.1},{x:-.26,y:-.1},{x:-.26,y:.17},{x:0,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.24},bottom1:{type:"text",text:"{VAL}",x:-.17,y:-.24}},refblocks:{left1:{x:-.53,y:.04},right1:{x:.53,y:.04}},bounds:{minX:-.56,maxX:.56,minY:-.24,maxY:.24,width:1.13,height:.47,centerX:0,centerY:0},circles:{}};var{paths:F9,texts:T9,bounds:Je,refblocks:Fs}=Rs,$e=s({primitives:[...Object.values(F9),{...T9.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Fs.left1,labels:["1"]},{...Fs.right1,labels:["2"]}],size:{width:Je.width,height:Je.height},center:{x:Je.centerX,y:Je.centerY}});var Ts=r($e);var T={paths:{path1:{type:"path",points:[{x:-.29,y:.01},{x:.04,y:0}],color:"primary",fill:!0},path2:{type:"path",points:[{x:.04,y:-.22},{x:.04,y:.22}],color:"primary",fill:!0},path3:{type:"path",points:[{x:.12,y:-.17},{x:.12,y:.17}],color:"primary",fill:!0},path4:{type:"path",points:[{x:.19,y:-.06},{x:.19,y:.06}],color:"primary",fill:!0}},texts:{right1:{type:"text",text:"{REF}",x:.31,y:-.02}},refblocks:{left1:{x:-.29,y:.01}},bounds:{minX:-.31,maxX:.31,minY:-.22,maxY:.22,width:.62,height:.45,centerX:0,centerY:0},circles:{}};var Es=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Ys=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Xs=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Ls=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Vs=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var js=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Xt={paths:{path11:{type:"path",points:[{x:-.52,y:.03},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.52,y:.04}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.31,y:.2},{x:-.31,y:-.11},{x:-.01,y:.04},{x:-.3,y:.2}],color:"primary",fill:!0},"path11-0-9-5":{type:"path",points:[{x:.33,y:.2},{x:.33,y:-.1},{x:.04,y:.04},{x:.33,y:.2}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.04,y:.32},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.32}},refblocks:{left1:{x:-.52,y:.03},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.32,maxY:.32,width:1.09,height:.63,centerX:0,centerY:0},circles:{}};var{paths:pw,texts:aw,bounds:yw,refblocks:sw,circles:xw}=Xt,ks=e(Xt).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var zs=e(Xt).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Os={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.3,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1},box:{type:"path",points:[{x:-.3,y:-.4},{x:.3,y:-.4},{x:.3,y:.4},{x:-.3,y:.4},{x:-.3,y:-.4},{x:-.3,y:.4}],color:"primary",fill:!1},"path48-1":{type:"path",points:[{x:-.3,y:.13},{x:-.54,y:.13}],color:"primary",fill:!1},"path48-2":{type:"path",points:[{x:-.3,y:-.13},{x:-.54,y:-.13}],color:"primary",fill:!1},"path48-3":{type:"path",points:[{x:.3,y:-.13},{x:.54,y:-.13}],color:"primary",fill:!1},"path48-4":{type:"path",points:[{x:.3,y:.13},{x:.54,y:.13}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.43},right1:{type:"text",text:"{REF}",x:0,y:.43}},refblocks:{left1:{x:-.54,y:.13},left2:{x:-.54,y:-.13},right1:{x:.54,y:-.13},right2:{x:.54,y:.13}},bounds:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}};var G=e(Os).labelPort("left1",["1","DIN"]).labelPort("left2",["2","POWER"]).labelPort("right1",["3","GND"]).labelPort("right2",["4","DOUT"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Js=r(G,"down");var $s=Y(G);var no=r(G,"up"),fo=no.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),co=no.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fo.anchor="middle_left";co.anchor="middle_left";fo.y+=.21;fo.x=.44;co.y-=.21;co.x=.44;var Ms=no;var Cs={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:-.01,y:0}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.01,y:-.12},{x:.01,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.28,y:-.25},{x:.28,y:-.56}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.56},{x:.28,y:.27}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.17,y:-.22},{x:.28,y:-.23},{x:.23,y:-.14}],color:"primary",fill:!0},path17:{type:"path",points:[{x:.08,y:-.09},{x:.23,y:-.2}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.28,y:.26}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.36},bottom1:{type:"text",text:"{VAL}",x:.02,y:-.42}},refblocks:{top1:{x:.28,y:.56},bottom1:{x:.28,y:-.56},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.17,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:.01,radius:.29,color:"primary",fill:!1}}};var Me=e(Cs).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var ho=r(Me),bo=ho.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ns=ho.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");bo.anchor="middle_left";Ns.anchor="middle_right";bo.x=.45;bo.y+=.065;Ns.y+=.065;var Is=ho;var Bs={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.02,y:-.02},{x:.02,y:-.1}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.47,y:-.19},{x:-.17,y:-.19}],color:"primary",fill:!1},"path12-1-5-6-8":{type:"path",points:[{x:.02,y:.17},{x:.02,y:.11}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.15,y:-.03},{x:.2,y:-.19}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.19},{x:.47,y:-.19}],color:"primary",fill:!1},"path12-1-8-6-9-4":{type:"path",points:[{x:.02,y:.12},{x:.02,y:.02}],color:"primary",fill:!1},"path12-1-8-6-9-4-3":{type:"path",points:[{x:.08,y:.11},{x:.08,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-3-1":{type:"path",points:[{x:-.04,y:.11},{x:-.04,y:.05}],color:"primary",fill:!1},"path12-1-8-6-9-4-4":{type:"path",points:[{x:.08,y:.11},{x:-.04,y:.11}],color:"primary",fill:!1},"path14-5":{type:"path",points:[{x:-.01,y:.28},{x:.01,y:.25},{x:.04,y:.23},{x:.06,y:.2}],color:"primary",fill:!0},"path14-5-3":{type:"path",points:[{x:-.01,y:.2},{x:.01,y:.23},{x:.04,y:.25},{x:.06,y:.28}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.38},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.38}},refblocks:{left1:{x:-.47,y:-.19},right1:{x:.47,y:-.19}},bounds:{minX:-.5,maxX:.5,minY:-.38,maxY:.38,width:1,height:.76,centerX:0,centerY:0},circles:{path9:{type:"circle",x:.02,y:.24,radius:.06,color:"primary",fill:!1}}};var Ce=e(Bs).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var qs=r(Ce),Ds=qs.primitives.filter(t=>t.type==="text"),_o=Ds.find(t=>t.text==="{VAL}");_o.x=-.35;_o.y=0;_o.anchor="middle_right";var go=Ds.find(t=>t.text==="{REF}");go.y=0;go.x=.35;go.anchor="middle_left";var Gs=qs;var Us={paths:{path8698:{type:"path",points:[{x:-.2,y:-.02},{x:-.2,y:-.02},{x:-.21,y:-.01},{x:-.21,y:-.01},{x:-.21,y:0},{x:-.21,y:0},{x:-.21,y:0},{x:-.22,y:.01},{x:-.22,y:.01},{x:-.22,y:.02},{x:-.22,y:.02},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.03},{x:-.23,y:.04},{x:-.24,y:.04},{x:-.24,y:.04},{x:-.24,y:.05},{x:-.24,y:.05},{x:-.25,y:.05},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.25,y:.06},{x:-.26,y:.06},{x:-.26,y:.06},{x:-.26,y:.07},{x:-.26,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.27,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.28,y:.07},{x:-.29,y:.07},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.29,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.3,y:.08},{x:-.31,y:.08},{x:-.31,y:.08},{x:-.31,y:.07},{x:-.31,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.32,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.33,y:.07},{x:-.34,y:.07},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.34,y:.06},{x:-.35,y:.06},{x:-.35,y:.06},{x:-.35,y:.05},{x:-.35,y:.05},{x:-.36,y:.05},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.36,y:.04},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.03},{x:-.37,y:.02},{x:-.38,y:.02},{x:-.38,y:.01},{x:-.38,y:.01},{x:-.38,y:0},{x:-.39,y:0},{x:-.39,y:0},{x:-.39,y:-.01},{x:-.39,y:-.01},{x:-.4,y:-.02},{x:-.4,y:-.02}],color:"primary",fill:!1},path8700:{type:"path",points:[{x:0,y:-.02},{x:0,y:-.02},{x:-.01,y:-.01},{x:-.01,y:-.01},{x:-.01,y:0},{x:-.01,y:0},{x:-.02,y:0},{x:-.02,y:.01},{x:-.02,y:.01},{x:-.02,y:.02},{x:-.03,y:.02},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.03,y:.03},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.04},{x:-.04,y:.05},{x:-.05,y:.05},{x:-.05,y:.05},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.06},{x:-.06,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.07,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.09,y:.07},{x:-.09,y:.07},{x:-.09,y:.08},{x:-.09,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.08},{x:-.11,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.12,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.13,y:.07},{x:-.14,y:.07},{x:-.14,y:.07},{x:-.14,y:.06},{x:-.14,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.06},{x:-.15,y:.05},{x:-.16,y:.05},{x:-.16,y:.05},{x:-.16,y:.04},{x:-.16,y:.04},{x:-.17,y:.04},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.17,y:.03},{x:-.18,y:.02},{x:-.18,y:.02},{x:-.18,y:.01},{x:-.18,y:.01},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:0},{x:-.19,y:-.01},{x:-.2,y:-.01},{x:-.2,y:-.02},{x:-.2,y:-.02}],color:"primary",fill:!1},path8702:{type:"path",points:[{x:.2,y:-.02},{x:.2,y:-.02},{x:.19,y:-.01},{x:.19,y:-.01},{x:.19,y:0},{x:.19,y:0},{x:.18,y:0},{x:.18,y:.01},{x:.18,y:.01},{x:.18,y:.02},{x:.17,y:.02},{x:.17,y:.03},{x:.17,y:.03},{x:.17,y:.03},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.04},{x:.16,y:.05},{x:.15,y:.05},{x:.15,y:.05},{x:.15,y:.06},{x:.15,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.06},{x:.14,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.13,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.12,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.08},{x:.11,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.1,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.08},{x:.09,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.08,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.07,y:.07},{x:.06,y:.07},{x:.06,y:.07},{x:.06,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.05,y:.05},{x:.04,y:.05},{x:.04,y:.05},{x:.04,y:.04},{x:.04,y:.04},{x:.03,y:.04},{x:.03,y:.03},{x:.03,y:.03},{x:.03,y:.03},{x:.02,y:.02},{x:.02,y:.02},{x:.02,y:.01},{x:.02,y:.01},{x:.01,y:0},{x:.01,y:0},{x:.01,y:0},{x:.01,y:-.01},{x:0,y:-.01},{x:0,y:-.02},{x:0,y:-.02}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:.4,y:-.02},{x:.39,y:-.02},{x:.39,y:-.01},{x:.39,y:-.01},{x:.39,y:0},{x:.39,y:0},{x:.38,y:0},{x:.38,y:.01},{x:.38,y:.01},{x:.38,y:.02},{x:.37,y:.02},{x:.37,y:.03},{x:.37,y:.03},{x:.37,y:.03},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.04},{x:.36,y:.05},{x:.35,y:.05},{x:.35,y:.05},{x:.35,y:.06},{x:.35,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.06},{x:.34,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.33,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.32,y:.07},{x:.31,y:.07},{x:.31,y:.07},{x:.31,y:.08},{x:.31,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.3,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.08},{x:.29,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.28,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.27,y:.07},{x:.26,y:.07},{x:.26,y:.07},{x:.26,y:.06},{x:.26,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.06},{x:.25,y:.05},{x:.24,y:.05},{x:.24,y:.05},{x:.24,y:.04},{x:.24,y:.04},{x:.23,y:.04},{x:.23,y:.03},{x:.23,y:.03},{x:.23,y:.03},{x:.22,y:.02},{x:.22,y:.02},{x:.22,y:.01},{x:.22,y:.01},{x:.21,y:0},{x:.21,y:0},{x:.21,y:0},{x:.21,y:-.01},{x:.2,y:-.01},{x:.2,y:-.02},{x:.2,y:-.02}],color:"primary",fill:!1},path8706:{type:"path",points:[{x:-.4,y:-.02},{x:-.55,y:-.02}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.55,y:-.03},{x:.4,y:-.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.23},bottom1:{type:"text",text:"{VAL}",x:0,y:-.23}},refblocks:{left1:{x:-.55,y:-.02},right1:{x:.55,y:-.03}},bounds:{minX:-.58,maxX:.58,minY:-.23,maxY:.23,width:1.16,height:.46,centerX:0,centerY:0},circles:{}};var{paths:k9,texts:Ws,bounds:Ne,refblocks:Hs,circles:z9}=Us,ut=s({primitives:[...Object.values(k9),...Object.values(z9),{...Ws.top1,anchor:"middle_bottom"},{...Ws.bottom1,anchor:"middle_top"}],ports:[{...Hs.left1,labels:["1"]},{...Hs.right1,labels:["2"]}],size:{width:Ne.width,height:Ne.height},center:{x:Ne.centerX,y:Ne.centerY}});var Ie=r(ut,"up");var Zs=u(Ie);var Qs=Y(ut);var uo={paths:{path11:{type:"path",points:[{x:-.54,y:-.06},{x:-.15,y:-.06}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:-.05},{x:-.13,y:-.18}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.08},{x:.13,y:-.05}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.18},{x:-.13,y:.08}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.08},{x:.13,y:-.18}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:-.05},{x:.54,y:-.06}],color:"primary",fill:!1},"path25-0-9-8":{type:"path",points:[{x:-.03,y:.39},{x:-.05,y:.47},{x:-.08,y:.39}],color:"primary",fill:!0},"path78-6-5-5":{type:"path",points:[{x:-.05,y:.27},{x:-.05,y:.29},{x:-.05,y:.41},{x:-.05,y:.42}],color:"primary",fill:!1},"path25-0-9-8-2":{type:"path",points:[{x:.07,y:.39},{x:.04,y:.47},{x:.02,y:.39}],color:"primary",fill:!0},"path78-6-5-5-7":{type:"path",points:[{x:.04,y:.27},{x:.04,y:.29},{x:.04,y:.41},{x:.04,y:.42}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:.03,y:.06},{x:.03,y:-.16}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.38,y:.38},bottom1:{type:"text",text:"{VAL}",x:.38,y:-.47}},refblocks:{left1:{x:-.54,y:-.06},right1:{x:.54,y:-.06}},bounds:{minX:-.57,maxX:.57,minY:-.47,maxY:.47,width:1.14,height:.93,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.05,radius:.29,color:"primary",fill:!1}}};uo.bounds.width+=.2;var U=e(uo).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var vo=r(U,"down"),wo=vo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ao=vo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wo.anchor="middle_left";Ao.anchor="middle_left";wo.y+=.9;wo.x=.3;Ao.y-=.1;Ao.x=.3;var Ks=vo;var Po=r(U,"left"),So=Po.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ro=Po.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");So.anchor="middle_left";Ro.anchor="middle_left";So.y+=.71;So.x=.44;Ro.y-=.71;Ro.x=.44;var tx=Po;var Fo=r(U,"up"),To=Fo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Eo=Fo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");To.anchor="middle_left";Eo.anchor="middle_left";To.y+=.1;To.x=.3;Eo.y-=.71;Eo.x=.3;var ex=Fo;var rx={paths:{path45:{type:"path",points:[{x:.14,y:0},{x:-.13,y:-.14}],color:"primary",fill:!1},"path1-8":{type:"path",points:[{x:.13,y:0},{x:.54,y:0}],color:"primary",fill:!1},path46:{type:"path",points:[{x:-.13,y:.13},{x:.14,y:0}],color:"primary",fill:!1},path47:{type:"path",points:[{x:-.13,y:-.14},{x:-.13,y:.13}],color:"primary",fill:!1},path48:{type:"path",points:[{x:.14,y:.13},{x:.14,y:-.14}],color:"primary",fill:!1},path49:{type:"path",points:[{x:-.13,y:0},{x:-.54,y:0}],color:"primary",fill:!1},path25:{type:"path",points:[{x:.16,y:.29},{x:.25,y:.3},{x:.22,y:.21}],color:"primary",fill:!0},path78:{type:"path",points:[{x:.08,y:.17},{x:.09,y:.17},{x:.21,y:.27},{x:.21,y:.27}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:-.02,y:.31},{x:.08,y:.32},{x:.04,y:.23}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:-.1,y:.19},{x:-.09,y:.2},{x:.04,y:.29},{x:.04,y:.29}],color:"primary",fill:!1}},texts:{bottom1:{type:"text",text:"{VAL}",x:0,y:-.21},right1:{type:"text",text:"{REF}",x:0,y:.41}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.56,maxX:.56,minY:-.32,maxY:.32,width:1.13,height:.65,centerX:0,centerY:0},circles:{}};var{paths:$9,texts:ox,bounds:Be,refblocks:ix,circles:M9}=rx,vt=s({primitives:[...Object.values($9),...Object.values(M9),{...ox.bottom1,anchor:"middle_top"},{...ox.right1,anchor:"middle_bottom"}],ports:[{...ix.left1,labels:["1"]},{...ix.right1,labels:["2"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}});var Yo=r(vt,"up"),Xo=Yo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Lo=Yo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xo.anchor="middle_left";Lo.anchor="middle_left";Xo.y+=.21;Xo.x=.21;Lo.y-=.21;Lo.x=.21;var qe=Yo;var Vo=u(qe),jo=Vo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ko=Vo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jo.anchor="middle_left";ko.anchor="middle_left";jo.y+=.4;jo.x=.2;ko.y-=.41;ko.x=.2;var lx=Vo;var px=Y(vt);var ax={paths:{path11:{type:"path",points:[{x:-.52,y:-.01},{x:-.18,y:-.01}],color:"primary",fill:!1},"path11-2":{type:"path",points:[{x:-.17,y:-.11},{x:-.17,y:.08}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.17,y:-.12},{x:.16,y:-.12}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:-.17,y:.08},{x:.16,y:.08}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.17,y:-.01},{x:.52,y:-.01}],color:"primary",fill:!1},"path11-2-1":{type:"path",points:[{x:.16,y:-.12},{x:.16,y:.08}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:-.4,y:-.21},{x:-.33,y:-.18},{x:-.34,y:-.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:-.45,y:-.34},{x:-.44,y:-.32},{x:-.35,y:-.22},{x:-.35,y:-.22}],color:"primary",fill:!1},"path25-0-9-0":{type:"path",points:[{x:-.3,y:-.34},{x:-.22,y:-.31},{x:-.24,y:-.4}],color:"primary",fill:!0},"path78-6-5-9":{type:"path",points:[{x:-.35,y:-.46},{x:-.34,y:-.45},{x:-.25,y:-.35},{x:-.25,y:-.35}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.17,y:-.41},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.46}},refblocks:{left1:{x:-.52,y:-.01},right1:{x:.52,y:-.01}},bounds:{minX:-.55,maxX:.55,minY:-.51,maxY:.46,width:1.1,height:.62,centerX:0,centerY:-.02},circles:{path1:{type:"circle",x:0,y:-.02,radius:.28,color:"primary",fill:!1}}};var{paths:N9,texts:yx,bounds:De,refblocks:sx,circles:I9}=ax,Ge=s({primitives:[...Object.values(N9),...Object.values(I9),{...yx.top1,anchor:"middle_left",x:0},{...yx.bottom1,anchor:"middle_left",x:0}],ports:[{...sx.left1,labels:["1"]},{...sx.right1,labels:["2"]}],size:{width:De.width,height:De.height},center:{x:De.centerX,y:De.centerY}});var xx=r(Ge),mx=xx.primitives.filter(t=>t.type==="text"),zo=mx.find(t=>t.text==="{VAL}");zo.x=-.35;zo.y=0;zo.anchor="middle_right";var Oo=mx.find(t=>t.text==="{REF}");Oo.y=0;Oo.x=.35;Oo.anchor="middle_left";var nx=xx;var fx={paths:{path208:{type:"path",points:[{x:.38,y:.13},{x:.52,y:-.13}],color:"primary",fill:!1},path209:{type:"path",points:[{x:.25,y:-.13},{x:.38,y:.13}],color:"primary",fill:!1},path210:{type:"path",points:[{x:.52,y:-.13},{x:.25,y:-.13}],color:"primary",fill:!1},path211:{type:"path",points:[{x:.25,y:.13},{x:.52,y:.13}],color:"primary",fill:!1},path212:{type:"path",points:[{x:.12,y:-.4},{x:.38,y:-.4}],color:"primary",fill:!1},path213:{type:"path",points:[{x:.38,y:.4},{x:.12,y:.4}],color:"primary",fill:!1},path214:{type:"path",points:[{x:.12,y:.54},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.54},{x:.12,y:0}],color:"primary",fill:!1},path216:{type:"path",points:[{x:.38,y:-.4},{x:.38,y:.4}],color:"primary",fill:!1},path217:{type:"path",points:[{x:-.14,y:.26},{x:-.14,y:-.27}],color:"primary",fill:!1},path218:{type:"path",points:[{x:-.22,y:-.27},{x:-.22,y:.26}],color:"primary",fill:!1},path219:{type:"path",points:[{x:-.54,y:-.27},{x:-.22,y:-.27}],color:"primary",fill:!1},path220:{type:"path",points:[{x:-.14,y:-.19},{x:.12,y:-.19}],color:"primary",fill:!1},path221:{type:"path",points:[{x:-.14,y:.18},{x:.12,y:.18}],color:"primary",fill:!1},path222:{type:"path",points:[{x:-.07,y:0},{x:.12,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{VAL}",x:.57,y:.02},right2:{type:"text",text:"{REF}",x:.57,y:.21}},refblocks:{top1:{x:.12,y:.54},bottom1:{x:.12,y:-.54},left1:{x:-.54,y:-.27}},bounds:{minX:-.57,maxX:.57,minY:-.57,maxY:.57,width:1.14,height:1.14,centerX:0,centerY:0},circles:{}};var{paths:q9,texts:cx,bounds:Ue,refblocks:Jo}=fx,We=s({primitives:[...Object.values(q9),{...cx.right1,anchor:"middle_left"},{...cx.right2,anchor:"middle_left"}],ports:[{...Jo.top1,labels:["1"]},{...Jo.bottom1,labels:["2"]},{...Jo.left1,labels:["3"]}],size:{width:Ue.width+.4,height:Ue.height},center:{x:Ue.centerX+.2,y:Ue.centerY}});var $o=r(We),hx=$o.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Mo=$o.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hx.anchor="middle_top";Mo.anchor="middle_top";hx.x=Mo.x;Mo.y+=.15;var dx=$o;var bx={paths:{"path12-1-8-6-9":{type:"path",points:[{x:.01,y:.07},{x:.01,y:-.01}],color:"primary",fill:!1},"path12-1-5-6":{type:"path",points:[{x:-.47,y:-.09},{x:-.17,y:-.09}],color:"primary",fill:!1},"path12-1-8-0":{type:"path",points:[{x:-.16,y:-.01},{x:.17,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.2,y:-.09},{x:.47,y:-.09}],color:"primary",fill:!1},path2:{type:"path",points:[{x:-.1,y:.06},{x:-.1,y:.06},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.07},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.08},{x:-.1,y:.09},{x:-.09,y:.09},{x:-.09,y:.09},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.1},{x:-.09,y:.11},{x:-.09,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.07,y:.13},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.06,y:.14},{x:-.05,y:.14},{x:-.05,y:.15},{x:-.05,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.04,y:.15},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.03,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.02,y:.16},{x:-.01,y:.16},{x:-.01,y:.16},{x:0,y:.16},{x:0,y:.16},{x:0,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.01,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.02,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.03,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.04,y:.16},{x:.05,y:.15},{x:.05,y:.15},{x:.05,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.15},{x:.06,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.07,y:.14},{x:.08,y:.14},{x:.08,y:.13},{x:.08,y:.13},{x:.08,y:.13},{x:.09,y:.13},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.09,y:.12},{x:.1,y:.11},{x:.1,y:.11},{x:.1,y:.1},{x:.1,y:.1},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.09},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.08},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.07},{x:.11,y:.06},{x:.11,y:.06},{x:.1,y:.06},{x:.1,y:.06},{x:.09,y:.06},{x:.09,y:.06},{x:.08,y:.06},{x:.07,y:.06},{x:.07,y:.06},{x:.06,y:.06},{x:.05,y:.06},{x:.05,y:.06},{x:.04,y:.06},{x:.03,y:.06},{x:.03,y:.06},{x:.02,y:.06},{x:.01,y:.06},{x:.01,y:.06},{x:0,y:.06},{x:-.01,y:.06},{x:-.01,y:.06},{x:-.02,y:.06},{x:-.03,y:.06},{x:-.03,y:.06},{x:-.04,y:.06},{x:-.05,y:.06},{x:-.05,y:.06},{x:-.06,y:.06},{x:-.07,y:.06},{x:-.07,y:.06},{x:-.08,y:.06},{x:-.09,y:.06},{x:-.09,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.27}},refblocks:{left1:{x:-.47,y:-.09},right1:{x:.47,y:-.09}},bounds:{minX:-.5,maxX:.5,minY:-.27,maxY:.27,width:1,height:.53,centerX:0,centerY:0},circles:{}};var{paths:G9,texts:_x,bounds:He,refblocks:gx,circles:U9}=bx,Ze=s({primitives:[...Object.values(G9),...Object.values(U9),{..._x.top1,anchor:"middle_bottom",x:0},{..._x.bottom1,anchor:"middle_top",x:0}],ports:[{...gx.left1,labels:["1"]},{...gx.right1,labels:["2"]}],size:{width:He.width,height:He.height},center:{x:He.centerX+.006,y:He.centerY+.06}});var Co=r(Ze),Lt=Co.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Qe=Co.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Lt.anchor="middle_left";Qe.anchor="middle_right";Lt.x=Lt.x-.03;Lt.y=Lt.y;Qe.x=Qe.x;Qe.y=0;var ux=Co;var vx={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:H9,texts:wx,bounds:Ke,refblocks:No,circles:Z9}=vx,t0=s({primitives:[...Object.values(H9),...Object.values(Z9),{...wx.top1,anchor:"middle_right",x:0},{...wx.bottom1,anchor:"middle_right",x:0}],ports:[{...No.top1,labels:["1","drain"]},{...No.bottom1,labels:["2","source"]},{...No.left1,labels:["3","gate"]}],size:{width:Ke.width,height:Ke.height},center:{x:Ke.centerX,y:Ke.centerY}});var Ax=r(t0),Px=Ax.primitives.filter(t=>t.type==="text"),Io=Px.find(t=>t.text==="{VAL}");Io.x=-.35;Io.y=0;Io.anchor="middle_right";var Bo=Px.find(t=>t.text==="{REF}");Bo.y=0;Bo.x=.35;Bo.anchor="middle_left";var Sx=Ax;var Rx={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.27,y:-.04},{x:.27,y:.03},{x:.2,y:0},{x:.27,y:-.04}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:K9,texts:Fx,bounds:e0,refblocks:qo,circles:t2}=Rx,r0=s({primitives:[...Object.values(K9),...Object.values(t2),{...Fx.top1,anchor:"middle_right",x:0},{...Fx.bottom1,anchor:"middle_right",x:0}],ports:[{...qo.top1,labels:["1","drain"]},{...qo.bottom1,labels:["2","source"]},{...qo.left1,labels:["3","gate"]}],size:{width:e0.width,height:e0.height},center:{x:e0.centerX,y:e0.centerY}});var Tx=r(r0),Ex=Tx.primitives.filter(t=>t.type==="text"),Do=Ex.find(t=>t.text==="{VAL}");Do.x=-.35;Do.y=0;Do.anchor="middle_right";var Go=Ex.find(t=>t.text==="{REF}");Go.y=0;Go.x=.35;Go.anchor="middle_left";var Yx=Tx;var Xx={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.55},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.07},{x:.01,y:0},{x:-.08,y:.06}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:r2,texts:Lx,bounds:o0,refblocks:Uo,circles:o2}=Xx,i0=s({primitives:[...Object.values(r2),...Object.values(o2),{...Lx.top1,anchor:"middle_right",x:0},{...Lx.bottom1,anchor:"middle_right",x:0}],ports:[{...Uo.top1,labels:["1","drain"]},{...Uo.bottom1,labels:["2","source"]},{...Uo.left1,labels:["3","gate"]}],size:{width:o0.width,height:o0.height},center:{x:o0.centerX,y:o0.centerY}});var Vx=r(i0),jx=Vx.primitives.filter(t=>t.type==="text"),Wo=jx.find(t=>t.text==="{VAL}");Wo.x=-.35;Wo.y=0;Wo.anchor="middle_right";var Ho=jx.find(t=>t.text==="{REF}");Ho.y=0;Ho.x=.35;Ho.anchor="middle_left";var kx=Vx;var zx={paths:{diag1:{type:"path",points:[{x:-.1,y:-.1},{x:.1,y:.1}],color:"primary",fill:!1},diag2:{type:"path",points:[{x:-.1,y:.1},{x:.1,y:-.1}],color:"primary",fill:!1},stem:{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1}},texts:{},refblocks:{left1:{x:-.2,y:0}},bounds:{minX:-.19,maxX:.2,minY:-.12,maxY:.12,width:.39,height:.24,centerX:0,centerY:0},circles:{}};var{paths:l2,bounds:Ox,refblocks:p2}=zx,W=e({primitives:[...Object.values(l2)],ports:[{...p2.left1,labels:["1"]}],center:{x:Ox.centerX,y:Ox.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var Jx=r(W,"down");var $x=r(W,"left");var Mx=r(W,"up");var E={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.55}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.19,y:-.1},{x:.12,y:-.2},{x:.22,y:-.2},{x:.19,y:-.1}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.36},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:y2,texts:VP,bounds:l0,refblocks:Zo,circles:s2}=E,Cx=e({primitives:[...Object.values(y2),...Object.values(s2),{type:"text",text:"{REF}",x:-.3,y:.5094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.5094553499999995}],ports:[{...Zo.top1,labels:["1","collector"]},{...Zo.bottom1,labels:["3","emitter"]},{...Zo.left1,labels:["2","base"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:x2,texts:OP,bounds:p0,refblocks:Qo,circles:m2}=E,Nx=e({primitives:[...Object.values(x2),...Object.values(m2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...Qo.top1,labels:["1","collector"]},{...Qo.bottom1,labels:["3","emitter"]},{...Qo.left1,labels:["2","base"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:n2,texts:CP,bounds:a0,refblocks:Ko,circles:f2}=E,Ix=e({primitives:[...Object.values(n2),...Object.values(f2),{type:"text",text:"{REF}",x:-.5,y:.3094553499999995},{type:"text",text:"{VAL}",x:.55,y:.3094553499999995}],ports:[{...Ko.top1,labels:["1","collector"]},{...Ko.bottom1,labels:["3","emitter"]},{...Ko.left1,labels:["2","base"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:c2,texts:qP,bounds:y0,refblocks:ti,circles:h2}=E,Bx=e({primitives:[...Object.values(c2),...Object.values(h2),{type:"text",text:"{REF}",x:.55,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.4094553499999995}],ports:[{...ti.top1,labels:["1","collector"]},{...ti.bottom1,labels:["3","emitter"]},{...ti.left1,labels:["2","base"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:d2,texts:WP,bounds:s0,refblocks:ei,circles:b2}=E,qx=e({primitives:[...Object.values(d2),...Object.values(b2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ei.top1,labels:["1","collector"]},{...ei.bottom1,labels:["3","emitter"]},{...ei.left1,labels:["2","base"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:_2,texts:KP,bounds:x0,refblocks:ri,circles:g2}=E,Dx=e({primitives:[...Object.values(_2),...Object.values(g2),{type:"text",text:"{REF}",x:-.3,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-.3,y:.4094553499999995}],ports:[{...ri.top1,labels:["1","collector"]},{...ri.bottom1,labels:["3","emitter"]},{...ri.left1,labels:["2","base"]}],size:{width:x0.width,height:x0.height},center:{x:x0.centerX,y:x0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Gx={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.3}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var H=e(Gx).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ux=r(H,"down");var Wx=u(r(H,"left"));var Hx=r(H,"up");var Zx={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.32,y:-.21}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.32,y:.31},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.32,y:-.21},{x:-.32,y:.31}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.18},{x:-.57,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.57,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path44-1":{type:"path",points:[{x:-.1,y:.44},{x:-.1,y:.18}],color:"primary",fill:!1},"path44-2":{type:"path",points:[{x:-.09,y:-.34},{x:-.09,y:-.09}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.19,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.19,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:.14},{x:-.23,y:.22}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.25,y:.32},bottom1:{type:"text",text:"{VAL}",x:.25,y:-.24}},refblocks:{left1:{x:-.57,y:.18},left2:{x:-.57,y:-.09},right1:{x:.43,y:.04},top2:{x:-.1,y:.44},bottom1:{x:-.09,y:-.34}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.27,width:1.09,height:.3,centerX:0,centerY:.05},circles:{}};var Z=e(Zx).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["4","out"]).labelPort("top2",["5","V+"]).labelPort("bottom1",["3","V-"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Qx=r(Z,"down");var Kx=u(r(Z,"left"));var tm=r(Z,"up");var em={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.09,y:.19},{x:.09,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.17},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:A2,texts:rm,bounds:m0,refblocks:oi,circles:P2}=em,n0=s({primitives:[...Object.values(A2),...Object.values(P2),{...rm.top1,anchor:"middle_right",x:0},{...rm.bottom1,anchor:"middle_right",x:0}],ports:[{...oi.top1,labels:["1","drain"]},{...oi.bottom1,labels:["2","source"]},{...oi.left1,labels:["3","gate"]}],size:{width:m0.width,height:m0.height},center:{x:m0.centerX,y:m0.centerY}});var om=r(n0),im=om.primitives.filter(t=>t.type==="text"),ii=im.find(t=>t.text==="{VAL}");ii.x=-.35;ii.y=0;ii.anchor="middle_right";var li=im.find(t=>t.text==="{REF}");li.y=0;li.x=.35;li.anchor="middle_left";var lm=om;var pm={paths:{path11:{type:"path",points:[{x:-.42,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.55},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.55},{x:.31,y:-.01}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.09,y:.11},{x:.31,y:.11}],color:"primary",fill:!1},"path2-8-3-7":{type:"path",points:[{x:.09,y:.15},{x:.09,y:.07}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.09,y:-.1},{x:.31,y:-.1}],color:"primary",fill:!1},"path2-8-3":{type:"path",points:[{x:.09,y:-.08},{x:.09,y:-.15}],color:"primary",fill:!1},"path2-8-3-2":{type:"path",points:[{x:.09,y:.03},{x:.09,y:-.04}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.2,y:.03},{x:.2,y:-.04},{x:.27,y:-.01},{x:.2,y:.03}],color:"primary",fill:!0},"path2-0":{type:"path",points:[{x:.09,y:0},{x:.31,y:-.01}],color:"primary",fill:!1},"path12-1-0":{type:"path",points:[{x:.05,y:.11},{x:.05,y:-.11}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.13,y:.36},bottom1:{type:"text",text:"{VAL}",x:.06,y:-.42}},refblocks:{top1:{x:.3,y:.55},bottom1:{x:.31,y:-.55},left1:{x:-.42,y:-.1}},bounds:{minX:-.45,maxX:.45,minY:-.58,maxY:.58,width:.89,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.16,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:R2,texts:am,bounds:f0,refblocks:pi,circles:F2}=pm,c0=s({primitives:[...Object.values(R2),...Object.values(F2),{...am.top1,anchor:"middle_right",x:0},{...am.bottom1,anchor:"middle_right",x:0}],ports:[{...pi.top1,labels:["1","drain"]},{...pi.bottom1,labels:["2","source"]},{...pi.left1,labels:["3","gate"]}],size:{width:f0.width,height:f0.height},center:{x:f0.centerX,y:f0.centerY}});var ym=r(c0),sm=ym.primitives.filter(t=>t.type==="text"),ai=sm.find(t=>t.text==="{VAL}");ai.x=-.35;ai.y=0;ai.anchor="middle_right";var yi=sm.find(t=>t.text==="{REF}");yi.y=0;yi.x=.35;yi.anchor="middle_left";var xm=ym;var mm={paths:{path11:{type:"path",points:[{x:-.54,y:-.01},{x:-.15,y:-.02}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.13,y:0},{x:-.13,y:-.13}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.13,y:.13},{x:.13,y:0}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.13,y:-.13},{x:-.13,y:.13}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.13,y:.13},{x:.13,y:-.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:0},{x:.54,y:-.01}],color:"primary",fill:!1},"path25-0":{type:"path",points:[{x:.2,y:.38},{x:.16,y:.28},{x:.26,y:.3}],color:"primary",fill:!0},"path78-6":{type:"path",points:[{x:.33,y:.43},{x:.32,y:.42},{x:.21,y:.31},{x:.21,y:.31}],color:"primary",fill:!1},"path25-0-9":{type:"path",points:[{x:.35,y:.35},{x:.31,y:.26},{x:.41,y:.27}],color:"primary",fill:!0},"path78-6-5":{type:"path",points:[{x:.48,y:.4},{x:.47,y:.39},{x:.35,y:.29},{x:.35,y:.29}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.1,y:.35},bottom1:{type:"text",text:"{VAL}",x:0,y:-.43}},refblocks:{left1:{x:-.54,y:-.01},right1:{x:.54,y:-.01}},bounds:{minX:-.57,maxX:.57,minY:-.43,maxY:.43,width:1.14,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:-.01,radius:.29,color:"primary",fill:!1}}};var h0=e(mm).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var nm=r(h0),E2=nm.primitives.filter(t=>t.type==="text"),fm=E2.find(t=>t.text==="{REF}");fm.y=0;fm.anchor="middle_left";var cm=nm;var hm={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},path40:{type:"path",points:[{x:.07,y:.19},{x:.07,y:-.18}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.55},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.1}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.07,y:.11},{x:.29,y:.11}],color:"primary",fill:!1},"path2-5":{type:"path",points:[{x:.07,y:-.1},{x:.29,y:-.1}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.01,y:-.07},{x:.01,y:.06},{x:-.08,y:0},{x:.01,y:-.07}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.15,y:.36},bottom1:{type:"text",text:"{VAL}",x:.04,y:-.42}},refblocks:{top1:{x:.28,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:X2,texts:dm,bounds:d0,refblocks:si,circles:L2}=hm,b0=s({primitives:[...Object.values(X2),...Object.values(L2),{...dm.top1,anchor:"middle_right",x:0},{...dm.bottom1,anchor:"middle_right"}],ports:[{...si.top1,labels:["1","drain"]},{...si.bottom1,labels:["2","source"]},{...si.left1,labels:["3","gate"]}],size:{width:d0.width,height:d0.height},center:{x:d0.centerX,y:d0.centerY}});var bm=r(b0),_m=bm.primitives.filter(t=>t.type==="text"),xi=_m.find(t=>t.text==="{VAL}");xi.x=-.35;xi.y=0;xi.anchor="middle_right";var mi=_m.find(t=>t.text==="{REF}");mi.y=0;mi.x=.35;mi.anchor="middle_left";var gm=bm;var g={paths:{path11:{type:"path",points:[{x:-.4,y:0},{x:.06,y:-.01}],color:"primary",fill:!1},"path40-0":{type:"path",points:[{x:.07,y:.27},{x:.07,y:-.28}],color:"primary",fill:!1},"path40-0-5":{type:"path",points:[{x:.28,y:.24},{x:.08,y:.11}],color:"primary",fill:!1},"path40-0-5-0":{type:"path",points:[{x:.29,y:-.24},{x:.09,y:-.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:.25},{x:.29,y:.55}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.55},{x:.29,y:-.25}],color:"primary",fill:!1},path15:{type:"path",points:[{x:.15,y:-.23},{x:.22,y:-.12},{x:.12,y:-.12},{x:.15,y:-.23}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.08,y:.37},bottom1:{type:"text",text:"{VAL}",x:-.07,y:-.41}},refblocks:{top1:{x:.29,y:.55},bottom1:{x:.29,y:-.55},left1:{x:-.4,y:0}},bounds:{minX:-.43,maxX:.43,minY:-.58,maxY:.58,width:.85,height:1.16,centerX:0,centerY:0},circles:{"path1-0":{type:"circle",x:.14,y:0,radius:.29,color:"primary",fill:!1}}};var{paths:j2,texts:iR,bounds:_0,refblocks:ni,circles:k2}=g,um=e({primitives:[...Object.values(j2),...Object.values(k2),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...ni.top1,labels:["1","collector"]},{...ni.bottom1,labels:["2","emitter"]},{...ni.left1,labels:["3","base"]}],size:{width:_0.width,height:_0.height},center:{x:_0.centerX,y:_0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:yR,texts:sR,bounds:xR,refblocks:mR,circles:nR}=g,vm=e(g).rotateRightFacingSymbol("up").changeTextAnchor("{VAL}","middle_left").labelPort("left1",["3","base"]).labelPort("top1",["1","collector"]).labelPort("bottom1",["2","emitter"]).changeTextAnchor("{REF}","middle_right").build();var{paths:z2,texts:dR,bounds:g0,refblocks:fi,circles:O2}=g,wm=e({primitives:[...Object.values(z2),...Object.values(O2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...fi.top1,labels:["1","collector"]},{...fi.bottom1,labels:["2","emitter"]},{...fi.left1,labels:["3","base"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX,y:g0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:J2,texts:uR,bounds:u0,refblocks:ci,circles:$2}=g,Am=e({primitives:[...Object.values(J2),...Object.values($2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ci.top1,labels:["1","collector"]},{...ci.bottom1,labels:["2","emitter"]},{...ci.left1,labels:["3","base"]}],size:{width:u0.width,height:u0.height},center:{x:u0.centerX,y:u0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:M2,texts:PR,bounds:v0,refblocks:hi,circles:C2}=g,Pm=e({primitives:[...Object.values(M2),...Object.values(C2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...hi.top1,labels:["1","collector"]},{...hi.bottom1,labels:["2","emitter"]},{...hi.left1,labels:["3","base"]}],size:{width:v0.width,height:v0.height},center:{x:v0.centerX,y:v0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:N2,texts:TR,bounds:w0,refblocks:di,circles:I2}=g,Sm=e({primitives:[...Object.values(N2),...Object.values(I2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...di.top1,labels:["1","collector"]},{...di.bottom1,labels:["2","emitter"]},{...di.left1,labels:["3","base"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Rm={paths:{path40:{type:"path",points:[{x:-.19,y:.33},{x:-.26,y:.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:.26},{x:-.19,y:.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:.14},{x:-.38,y:.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:.39},{x:-.13,y:.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:.2},{x:-.52,y:0}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:.52},{x:-.19,y:.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:-.32},{x:-.38,y:-.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:-.13},{x:-.19,y:-.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:-.26},{x:-.26,y:-.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:-.26},{x:-.26,y:-.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:-.19},{x:-.51,y:-.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:-.5},{x:-.19,y:-.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:.19},{x:.13,y:.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:.38},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:.26},{x:.26,y:.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:.26},{x:.26,y:.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:.32},{x:.01,y:.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.52,y:0},{x:.32,y:.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:-.19},{x:.26,y:-.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:-.26},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:-.38},{x:.13,y:-.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:-.13},{x:.39,y:-.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:-.32},{x:0,y:-.52}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:-.01},{x:.32,y:-.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:-.5}},refblocks:{top1:{x:0,y:.52},bottom1:{x:0,y:-.52},left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{minX:-.55,maxX:.55,minY:-.55,maxY:.55,width:1.09,height:1.09,centerX:0,centerY:0},circles:{}};var{paths:q2,texts:Fm,bounds:A0,refblocks:Tm}=Rm,P0=s({primitives:[...Object.values(q2),{...Fm.bottom1,y:.35,anchor:"middle_top"},{...Fm.top1,anchor:"middle_left"}],ports:[{...Tm.left1,labels:["1"]},{...Tm.right1,labels:["2"]}],size:{width:A0.width+.05,height:A0.height},center:{x:A0.centerX,y:A0.centerY}});var D2=r(P0),Em=D2;var Ym={paths:{path18:{type:"path",points:[{x:-.53,y:0},{x:-.27,y:0}],color:"primary",fill:!1},path19:{type:"path",points:[{x:.26,y:0},{x:.53,y:0}],color:"primary",fill:!1},path20:{type:"path",points:[{x:0,y:.13},{x:.26,y:.13},{x:.26,y:-.13},{x:-.27,y:-.13},{x:-.27,y:.13},{x:0,y:.13}],color:"primary",fill:!1},path24:{type:"path",points:[{x:.29,y:-.29},{x:.26,y:-.16},{x:.16,y:-.26},{x:.29,y:-.29}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.2,y:-.2}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.06,y:.2},bottom1:{type:"text",text:"{VAL}",x:-.1,y:-.28}},refblocks:{left1:{x:-.53,y:0},right1:{x:.53,y:0}},bounds:{minX:-.56,maxX:.56,minY:-.29,maxY:.29,width:1.13,height:.58,centerX:0,centerY:0},circles:{}};var{paths:U2,texts:Xm,bounds:S0,refblocks:Lm}=Ym,Q=s({primitives:[...Object.values(U2),{...Xm.bottom1,x:0,y:-.35,anchor:"middle_top"},{...Xm.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...Lm.left1,labels:["1"]},{...Lm.right1,labels:["2"]}],size:{width:S0.width+.05,height:S0.height},center:{x:S0.centerX,y:S0.centerY}});var bi=r(Q,"down"),_i=bi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gi=bi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_i.anchor="middle_left";gi.anchor="middle_left";_i.y+=.31;_i.x=.34;gi.y-=.31;gi.x=.34;var Vm=bi;var ui=r(Q,"left"),vi=ui.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wi=ui.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vi.anchor="middle_bottom";wi.anchor="middle_top";vi.y+=.73;vi.x=0;wi.y-=.7;wi.x=0;var jm=ui;var Ai=r(Q,"up"),Pi=Ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Si=Ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pi.anchor="middle_left";Si.anchor="middle_left";Pi.y+=.21;Pi.x=.34;Si.y-=.21;Si.x=.34;var km=Ai;var K={paths:{path1:{type:"path",points:[{x:-.42,y:0},{x:-.3,y:0}],color:"primary",fill:!1},"path1-2-1":{type:"path",points:[{x:-.3,y:0},{x:-.25,y:.1},{x:-.15,y:-.1},{x:-.05,y:.1},{x:.05,y:-.1},{x:.15,y:.1},{x:.25,y:-.1},{x:.3,y:0}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.3,y:0},{x:.42,y:0}],color:"primary",fill:!1},path3:{type:"path",points:[{x:0,y:-.17},{x:0,y:-.4}],color:"primary",fill:!1},path15:{type:"path",points:[{x:0,y:-.12},{x:.05,y:-.2},{x:-.05,y:-.2},{x:0,y:-.12}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:.3,y:.25},bottom1:{type:"text",text:"{VAL}",x:.3,y:-.25}},refblocks:{left:{x:-.42,y:0},right:{x:.42,y:0},bottom:{x:0,y:-.4}},bounds:{minX:-.42,maxX:.42,minY:-.2,maxY:.2,width:.84,height:.4,centerX:0,centerY:0},circles:{}};var{paths:H2,texts:KR,bounds:R0,refblocks:Ri,circles:Z2}=K,zm=e({primitives:[...Object.values(H2),...Object.values(Z2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...Ri.left,labels:["1"]},{...Ri.right,labels:["3"]},{...Ri.bottom,labels:["2"]}],size:{width:R0.width,height:R0.height},center:{x:R0.centerX,y:R0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Q2,texts:oF,bounds:F0,refblocks:Fi,circles:K2}=K,Om=e({primitives:[...Object.values(Q2),...Object.values(K2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...Fi.left,labels:["1"]},{...Fi.right,labels:["3"]},{...Fi.bottom,labels:["2"]}],size:{width:F0.width,height:F0.height},center:{x:F0.centerX,y:F0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Jm=e(K).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:td,texts:xF,bounds:T0,refblocks:Ti,circles:ed}=K,$m=e({primitives:[...Object.values(td),...Object.values(ed),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...Ti.left,labels:["1"]},{...Ti.right,labels:["3"]},{...Ti.bottom,labels:["2"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Mm={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.16,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4},left1:{type:"text",text:"COS \u03C6",x:-.15,y:.01}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.79,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:od,texts:hF,bounds:E0,refblocks:Cm,circles:id}=Mm,Y0=s({primitives:[...Object.values(od),...Object.values(id),{type:"text",text:"{REF}",x:0,y:.43330070000000065,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.43330070000000065,anchor:"middle_top"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...Cm.left1,labels:["1"]},{...Cm.right1,labels:["2"]}],size:{width:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}});var Nm=r(Y0),Xi=Nm.primitives.filter(t=>t.type==="text"),Ei=Xi.find(t=>t.text==="{REF}"),Li=Xi.find(t=>t.text==="{VAL}"),Yi=Xi.find(t=>t.text==="COS \u03C6");Ei.x=.35;Ei.y=.4279000000000375,Ei.anchor="middle_left";Li.anchor="middle_left";Li.x=.35;Li.y=-.4279000000000375,Yi.x=0;Yi.y=.014279000000000375,Yi.anchor="center";var Im=Nm;var Bm={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:.01,y:.03},{x:.01,y:-.09}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.47,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:-.09},{x:.18,y:-.09}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.47,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.22},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,width:1,height:.45,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}};var{paths:pd,texts:qm,bounds:X0,refblocks:Dm,circles:ad}=Bm,L0=s({primitives:[...Object.values(pd),...Object.values(ad),{...qm.top1,anchor:"middle_left"},{...qm.bottom1,anchor:"middle_left"}],ports:[{...Dm.left1,labels:["1"]},{...Dm.right1,labels:["2"]}],size:{width:X0.width,height:X0.height},center:{x:X0.centerX,y:X0.centerY}});var Gm=r(L0,"up");var V0={paths:{"path12-1-8-6-9-9":{type:"path",points:[{x:-.05,y:.09},{x:-.05,y:.04}],color:"primary",fill:!1},"path12-1-8-7-9-9":{type:"path",points:[{x:-.05,y:.09},{x:.07,y:.09}],color:"primary",fill:!1},"path12-1-8-6-9-10":{type:"path",points:[{x:.07,y:.09},{x:.07,y:.04}],color:"primary",fill:!1},"path12-1-5-6-4":{type:"path",points:[{x:-.47,y:-.05},{x:-.17,y:-.05}],color:"primary",fill:!1},"path12-1-8-0-0":{type:"path",points:[{x:-.16,y:.04},{x:.18,y:.04}],color:"primary",fill:!1},"path12-1-0-1":{type:"path",points:[{x:.2,y:-.05},{x:.47,y:-.05}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.29},bottom1:{type:"text",text:"{VAL}",x:-.16,y:-.22}},refblocks:{left1:{x:-.47,y:-.05},right1:{x:.47,y:-.05}},bounds:{minX:-.5,maxX:.5,minY:-.22,maxY:.22,width:1,height:.45,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:-.14,y:-.05,radius:.02,color:"primary",fill:!1},circle:{type:"circle",x:.17,y:-.05,radius:.02,color:"primary",fill:!1}}};var{paths:sd,texts:Um,bounds:j0,refblocks:Wm,circles:xd}=V0,X=s({primitives:[...Object.values(sd),...Object.values(xd),{...Um.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...Um.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Wm.left1,labels:["1"]},{...Wm.right1,labels:["2"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}});var Vi=r(X,"down"),ji=Vi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ki=Vi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ji.anchor="middle_bottom";ki.anchor="middle_top";ji.y=.4;ji.x=.35;ki.y=-.4;ki.x=.35;var Hm=Vi;var{paths:md,texts:Zm,bounds:k0,refblocks:Qm,circles:nd}=V0,Km=s({primitives:[...Object.values(md),...Object.values(nd),{...Zm.top1,x:0,y:.3594553499999995,anchor:"middle_bottom"},{...Zm.bottom1,x:0,y:-.3594553499999995,anchor:"middle_top"}],ports:[{...Qm.left1,labels:["1"]},{...Qm.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}});var zi=r(X,"left"),Oi=zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ji=zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Oi.anchor="middle_bottom";Ji.anchor="middle_top";Oi.y=.4;Oi.x=0;Ji.y=-.4;Ji.x=0;var t1=zi;var $i=r(X,"up"),Mi=$i.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ci=$i.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Mi.anchor="middle_left";Ci.anchor="middle_left";Mi.y+=.4;Mi.x=.34;Ci.y-=.41;Ci.x=.34;var e1=$i;var Ni=r(X,"up"),Ii=Ni.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bi=Ni.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ii.anchor="middle_left";Bi.anchor="middle_left";Ii.y+=.4;Ii.x=.34;Bi.y-=.41;Bi.x=.34;var r1=Ni;var tt={paths:{path12_rotated:{type:"path",points:[{x:-.09,y:.12},{x:-.09,y:-.12}],color:"primary",fill:!1},path2_rotated:{type:"path",points:[{x:-.09,y:0},{x:.09,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.03}},refblocks:{left1:{x:.09,y:0}},bounds:{minX:-.57,maxX:.57,minY:-.37,maxY:.37,width:1.14,height:.74,centerX:0,centerY:0},circles:{}};var{paths:cd,texts:WF,bounds:o1,refblocks:hd,circles:dd}=tt,i1=e({primitives:[...Object.values(cd),...Object.values(dd),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...hd.left1,labels:["1"]}],center:{x:o1.centerX,y:o1.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:bd,texts:KF,bounds:l1,refblocks:_d,circles:gd}=tt,p1=e({primitives:[...Object.values(bd),...Object.values(gd),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{..._d.left1,labels:["1"]}],center:{x:l1.centerX,y:l1.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:ud,texts:oT,bounds:a1,refblocks:vd,circles:wd}=tt,y1=e({primitives:[...Object.values(ud),...Object.values(wd),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...vd.left1,labels:["1"]}],center:{x:a1.centerX,y:a1.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Ad,texts:aT,bounds:s1,refblocks:Pd}=tt,x1=e({primitives:[...Object.values(Ad),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...Pd.left1,labels:["1"]}],center:{x:s1.centerX,y:s1.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var m1={paths:{path40:{type:"path",points:[{x:-.19,y:-.33},{x:-.26,y:-.14}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.38,y:-.26},{x:-.19,y:-.33}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.26,y:-.14},{x:-.38,y:-.26}],color:"primary",fill:!1},path43:{type:"path",points:[{x:-.26,y:-.39},{x:-.13,y:-.26}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.32,y:-.2},{x:-.52,y:0}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:0,y:-.52},{x:-.19,y:-.33}],color:"primary",fill:!1},"path40-4":{type:"path",points:[{x:-.19,y:.32},{x:-.38,y:.26}],color:"primary",fill:!1},"path41-1":{type:"path",points:[{x:-.26,y:.13},{x:-.19,y:.32}],color:"primary",fill:!1},"path42-7":{type:"path",points:[{x:-.38,y:.26},{x:-.26,y:.13}],color:"primary",fill:!1},"path43-1":{type:"path",points:[{x:-.13,y:.26},{x:-.26,y:.39}],color:"primary",fill:!1},"path44-8":{type:"path",points:[{x:-.32,y:.19},{x:-.51,y:.01}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:-.01,y:.5},{x:-.19,y:.32}],color:"primary",fill:!1},"path40-4-0":{type:"path",points:[{x:.32,y:-.19},{x:.13,y:-.26}],color:"primary",fill:!1},"path41-1-2":{type:"path",points:[{x:.26,y:-.38},{x:.32,y:-.19}],color:"primary",fill:!1},"path42-7-1":{type:"path",points:[{x:.13,y:-.26},{x:.26,y:-.38}],color:"primary",fill:!1},"path43-1-8":{type:"path",points:[{x:.39,y:-.26},{x:.26,y:-.13}],color:"primary",fill:!1},"path44-8-7":{type:"path",points:[{x:.2,y:-.32},{x:.01,y:-.51}],color:"primary",fill:!1},"path44-0-7-1":{type:"path",points:[{x:.52,y:0},{x:.32,y:-.19}],color:"primary",fill:!1},"path40-4-8":{type:"path",points:[{x:.32,y:.19},{x:.26,y:.38}],color:"primary",fill:!1},"path41-1-4":{type:"path",points:[{x:.13,y:.26},{x:.32,y:.19}],color:"primary",fill:!1},"path42-7-0":{type:"path",points:[{x:.26,y:.38},{x:.13,y:.26}],color:"primary",fill:!1},"path43-1-0":{type:"path",points:[{x:.26,y:.13},{x:.39,y:.26}],color:"primary",fill:!1},"path44-8-9":{type:"path",points:[{x:.19,y:.32},{x:0,y:.52}],color:"primary",fill:!1},"path44-0-7-3":{type:"path",points:[{x:.5,y:.01},{x:.32,y:.19}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.29,y:-.46},bottom1:{type:"text",text:"{VAL}",x:-.29,y:.5}},refblocks:{top1:{x:0,y:-.52},bottom1:{x:0,y:.52},left1:{x:-.52,y:0},right1:{x:.52,y:0}},bounds:{minX:-.55,maxX:.55,minY:-.56,maxY:.55,width:1.09,height:1.1,centerX:0,centerY:0},circles:{}};var{paths:Rd,texts:n1,bounds:z0,refblocks:O0,circles:Fd}=m1,J0=s({primitives:[...Object.values(Rd),...Object.values(Fd),{...n1.top1,anchor:"middle_right"},{...n1.bottom1,anchor:"middle_right"}],ports:[{...O0.top1,labels:["1"]},{...O0.bottom1,labels:["2"]},{...O0.left1,labels:["3"]},{...O0.right1,labels:["4"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}});var qi=r(J0),Td=qi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ed=qi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Td.anchor="middle_left";Ed.anchor="middle_right";var f1=qi;var et={paths:{path27:{type:"path",points:[{x:.47,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.47,y:.04}],color:"primary",fill:!1},"path27-8-2-4":{type:"path",points:[{x:.21,y:.04},{x:.19,y:-.05}],color:"primary",fill:!1},"path27-8-2-4-29":{type:"path",points:[{x:-.19,y:.14},{x:-.21,y:.04}],color:"primary",fill:!1},"path27-8-2-4-5":{type:"path",points:[{x:.19,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1":{type:"path",points:[{x:.08,y:-.05},{x:.13,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9":{type:"path",points:[{x:.08,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2":{type:"path",points:[{x:-.03,y:-.05},{x:.03,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1":{type:"path",points:[{x:-.03,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.08,y:.14}],color:"primary",fill:!1},"path27-8-2-4-5-1-9-2-1-2-2":{type:"path",points:[{x:-.13,y:-.05},{x:-.19,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.05,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.04,y:-.42}},refblocks:{left1:{x:-.47,y:.04},right1:{x:.47,y:.04}},bounds:{minX:-.49,maxX:.49,minY:-.42,maxY:.42,width:.99,height:.84,centerX:0,centerY:0},circles:{}};var{paths:Xd,texts:gT,bounds:$0,refblocks:c1,circles:Ld}=et,h1=e({primitives:[...Object.values(Xd),...Object.values(Ld),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...c1.left1,labels:["1"]},{...c1.right1,labels:["2"]}],size:{width:$0.width,height:$0.height},center:{x:$0.centerX,y:$0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Vd,texts:AT,bounds:M0,refblocks:d1,circles:jd}=et,b1=e({primitives:[...Object.values(Vd),...Object.values(jd),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...d1.left1,labels:["1"]},{...d1.right1,labels:["2"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:kd,texts:FT,bounds:C0,refblocks:_1,circles:zd}=et,g1=e({primitives:[...Object.values(kd),...Object.values(zd),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{..._1.left1,labels:["1"]},{..._1.right1,labels:["2"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Od,texts:XT,bounds:N0,refblocks:u1,circles:Jd}=et,v1=e({primitives:[...Object.values(Od),...Object.values(Jd),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...u1.left1,labels:["1"]},{...u1.right1,labels:["2"]}],size:{width:N0.width,height:N0.height},center:{x:N0.centerX,y:N0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var I0={paths:{path27:{type:"path",points:[{x:.76,y:-.28},{x:.31,y:-.28}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.3,y:-.02},{x:-.77,y:-.02}],color:"primary",fill:!1},path30:{type:"path",points:[{x:-.3,y:.35},{x:-.3,y:-.28}],color:"primary",fill:!1},"path27-3":{type:"path",points:[{x:.77,y:.35},{x:.32,y:.35}],color:"primary",fill:!1},"path29-5":{type:"path",points:[{x:-.07,y:-.28},{x:-.3,y:-.28}],color:"primary",fill:!1},"path29-5-7":{type:"path",points:[{x:.33,y:-.28},{x:.11,y:-.28}],color:"primary",fill:!1},"path29-5-7-6":{type:"path",points:[{x:-.06,y:-.17},{x:-.06,y:-.39}],color:"primary",fill:!1},"path29-5-7-6-6":{type:"path",points:[{x:.09,y:-.17},{x:.09,y:-.39}],color:"primary",fill:!1},"path29-5-9":{type:"path",points:[{x:-.07,y:.35},{x:-.3,y:.35}],color:"primary",fill:!1},"path29-5-7-2":{type:"path",points:[{x:.33,y:.35},{x:.11,y:.35}],color:"primary",fill:!1},"path29-5-7-6-0":{type:"path",points:[{x:-.06,y:.46},{x:-.06,y:.24}],color:"primary",fill:!1},"path29-5-7-6-6-2":{type:"path",points:[{x:.09,y:.46},{x:.09,y:.24}],color:"primary",fill:!1},"path29-5-92":{type:"path",points:[{x:.33,y:.13},{x:.33,y:.35}],color:"primary",fill:!1},"path29-5-7-28":{type:"path",points:[{x:.33,y:-.28},{x:.33,y:-.05}],color:"primary",fill:!1},"path29-5-7-6-9":{type:"path",points:[{x:.44,y:.11},{x:.22,y:.11}],color:"primary",fill:!1},"path29-5-7-6-6-7":{type:"path",points:[{x:.44,y:-.04},{x:.22,y:-.04}],color:"primary",fill:!1},"path29-5-7-6-9-2":{type:"path",points:[{x:.44,y:.07},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4":{type:"path",points:[{x:.44,y:0},{x:.44,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-4-6":{type:"path",points:[{x:.22,y:0},{x:.22,y:.07}],color:"primary",fill:!1},"path29-5-7-6-9-2-9":{type:"path",points:[{x:.44,y:0},{x:.22,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.02,y:.53},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.54}},refblocks:{left1:{x:-.77,y:-.02},right1:{x:.76,y:-.28},right2:{x:.77,y:.35}},bounds:{minX:-.79,maxX:.79,minY:-.54,maxY:.54,width:1.59,height:1.07,centerX:0,centerY:0},circles:{}};var{paths:Md,texts:w1,bounds:B0,refblocks:Di,circles:Cd}=I0,rt=s({primitives:[...Object.values(Md),...Object.values(Cd),{...w1.top1,anchor:"middle_bottom"},{...w1.bottom1,anchor:"middle_top"}],ports:[{...Di.left1,labels:["1"]},{...Di.right1,labels:["2"]},{...Di.right2,labels:["3"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var Gi=r(rt,"down"),Ui=Gi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wi=Gi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ui.anchor="middle_bottom";Wi.anchor="middle_top";Ui.y+=.3;Ui.x+=.101;Wi.y-=.49999;Wi.x+=1.19999;var A1=Gi;var{paths:Nd,texts:NT,bounds:q0,refblocks:Hi,circles:Id}=I0,D0=s({primitives:[...Object.values(Nd),...Object.values(Id),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Hi.left1,labels:["1"]},{...Hi.right1,labels:["2"]},{...Hi.right2,labels:["3"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}});var Zi=r(rt,"left"),Qi=Zi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ki=Zi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Qi.anchor="middle_bottom";Ki.anchor="middle_top";Qi.y+=.99;Qi.x-=0;Ki.y-=1.10999;Ki.x=0;var P1=Zi;var tl=r(rt,"up"),el=tl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),rl=tl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");el.anchor="middle_bottom";rl.anchor="middle_top";el.y+=.499;el.x=.62;rl.y-=.29999;rl.x+=.1;var S1=tl;var R1=r(D0);var F1={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-7":{type:"path",points:[{x:.21,y:.18},{x:.14,y:.18}],color:"primary",fill:!1},"path43-7-9":{type:"path",points:[{x:.21,y:.13},{x:.21,y:.18}],color:"primary",fill:!1},"path43-7-2":{type:"path",points:[{x:.08,y:-.09},{x:.14,y:-.09}],color:"primary",fill:!1},"path43-7-9-3":{type:"path",points:[{x:.08,y:-.04},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var ot=e(F1).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var ol=r(ot,"down"),il=ol.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ll=ol.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");il.anchor="middle_left";ll.anchor="middle_left";il.y+=.3;il.x=.3;ll.y-=.3;ll.x=.3;var T1=ol;var pl=r(ot,"left"),al=pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yl=pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");al.anchor="middle_bottom";yl.anchor="middle_top";al.y+=.5;al.x=0;yl.y-=.55;yl.x=0;var E1=pl;var sl=r(ot,"up"),xl=sl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ml=sl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xl.anchor="middle_left";ml.anchor="middle_left";xl.y+=.3;xl.x=.3;ml.y-=.3;ml.x=.3;var Y1=sl;var nl={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.52,y:.05}],color:"primary",fill:!1},"path12-6":{type:"path",points:[{x:.18,y:-.15},{x:.18,y:.25}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.19,y:0},{x:.35,y:-.14}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.35,y:-.14},{x:.34,y:-.35}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.17,y:.27},{x:-.17,y:-.15},{x:.18,y:.05},{x:-.17,y:.27}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.22,y:.38},bottom1:{type:"text",text:"{VAL}",x:.11,y:-.38}},refblocks:{bottom1:{x:.34,y:-.35},left1:{x:-.52,y:.04},right1:{x:.52,y:.05}},bounds:{minX:-.55,maxX:.55,minY:-.38,maxY:.38,width:1.09,height:.77,centerX:0,centerY:0},circles:{}};var{paths:hE,texts:dE,bounds:bE,refblocks:_E,circles:gE}=nl,G0=e(nl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var X1=r(G0),Dd=X1.primitives.filter(t=>t.type==="text"),L1=Dd.find(t=>t.text==="{REF}");L1.y=0;L1.anchor="middle_left";var V1=X1;var U0={paths:{path44:{type:"path",points:[{x:-.18117559999999955,y:-.025908000000000264},{x:-.4408346999999999,y:-.025908000000000264}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44036239999999993,y:-.024193299999999418},{x:.1820955000000004,y:-.024193299999999418}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.06701930000000034,y:-.024201099999999753},{x:-.06611399999999956,y:-.024201099999999753}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.0689196000000003,y:.10123170000000048},{x:.0689196000000003,y:-.15075489999999903}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.06809120000000002,y:.1013280000000003},{x:-.06809120000000002,y:-.15065859999999898}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07273700000000005,y:-.15401969999999987},{x:-.07273700000000005,y:-.15401969999999987},{x:-.0883637452185186,y:-.1455928476925925},{x:-.10242134708148157,y:-.13685699620740738},{x:-.11496246490000012,y:-.1278441337},{x:-.12603975798518532,y:-.11858624832592597},{x:-.13570588564814828,y:-.10911532824074079},{x:-.14401350720000017,y:-.09946336160000008},{x:-.15101528195185202,y:-.08966233655925933},{x:-.15676386921481505,y:-.07974424127407413},{x:-.16131192830000016,y:-.06974106390000002},{x:-.16471211851851875,y:-.05968479259259264},{x:-.16701709918148167,y:-.04960741550740742},{x:-.16827952960000025,y:-.03954092080000003},{x:-.16855206908518539,y:-.029517296625925914},{x:-.16788737694814843,y:-.01956853114074074},{x:-.16633811250000025,y:-.009726612499999964},{x:-.16395693505185213,y:-2352885925920034e-20},{x:-.16079650391481512,y:.009508731625925994},{x:-.15690947840000036,y:.018838180800000083},{x:-.15234851781851885,y:.0279328305074075},{x:-.14716628148148186,y:.03676069259259269},{x:-.14141542870000037,y:.04528977890000009},{x:-.13514861878518558,y:.053488101274074155},{x:-.12841851104814855,y:.06132367155925933},{x:-.12127776480000044,y:.06876450160000006},{x:-.11377903935185232,y:.07577860324074076},{x:-.1059749940148153,y:.08233398832592591},{x:-.09791828810000051,y:.08839866869999995},{x:-.08966158091851906,y:.0939406562074073},{x:-.08125753178148204,y:.09892796269259241},{x:-.0727588000000006,y:.10332859999999976},{x:-.07275880000000057,y:.10332859999999977}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07349080000000119,y:-.15414649999999952},{x:.07349080000000119,y:-.15414649999999952},{x:.08911754521851972,y:-.14571964769259216},{x:.1031751470814827,y:-.13698379620740703},{x:.11571626490000125,y:-.12797093369999965},{x:.12679355798518643,y:-.11871304832592562},{x:.13645968564814942,y:-.10924212824074045},{x:.1447673072000013,y:-.09959016159999971},{x:.15176908195185318,y:-.08978913655925898},{x:.15751766921481616,y:-.0798710412740738},{x:.1620657283000013,y:-.06986786389999967},{x:.16546591851851983,y:-.0598115925925923},{x:.16777089918148277,y:-.04973421550740708},{x:.1690333296000014,y:-.03966772079999968},{x:.1693058690851865,y:-.029644096625925563},{x:.16864117694814956,y:-.01969533114074039},{x:.16709191250000135,y:-.009853412499999614},{x:.16471073505185324,y:-.00015032885925885323},{x:.1615503039148162,y:.009381931625926349},{x:.15766327840000144,y:.018711380800000437},{x:.15310231781851993,y:.027806030507407847},{x:.1479200814814829,y:.03663389259259304},{x:.14216922870000145,y:.04516297890000044},{x:.13590241878518663,y:.053361301274074506},{x:.1291723110481496,y:.061196871559259694},{x:.12203156480000146,y:.0686377016000004},{x:.11453283935185332,y:.07565180324074111},{x:.1067287940148163,y:.08220718832592627},{x:.09867208810000148,y:.0882718687000003},{x:.09041538091852001,y:.09381385620740765},{x:.08201133178148297,y:.09880116269259277},{x:.07351260000000151,y:.10320180000000011},{x:.07351260000000148,y:.10320180000000012}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.4458008,y:-.025023700000000426},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.15414649999999952,maxY:.15414649999999952,width:.947918482,height:.30829299999999904,centerX:0,centerY:0},circles:{}};var j1=e(U0).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var wt=e(U0).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var k1=r(wt,"left"),fl=k1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");fl.anchor="middle_bottom";fl.y+=.4;fl.x=0;var z1=k1;var O1=r(wt,"up"),cl=O1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");cl.anchor="middle_left";cl.y+=0;cl.x=.2;var J1=O1;var it={paths:{path44:{type:"path",points:[{x:-.18117559999999955,y:-.025908000000000264},{x:-.45,y:-.025908000000000264}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44036239999999993,y:-.024193299999999418},{x:.1820955000000004,y:-.024193299999999418}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.0689196000000003,y:.10123170000000048},{x:.0689196000000003,y:-.15075489999999903}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.06809120000000002,y:.1013280000000003},{x:-.06809120000000002,y:-.15065859999999898}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.07273700000000005,y:-.15401969999999987},{x:-.07273700000000005,y:-.15401969999999987},{x:-.0883637452185186,y:-.1455928476925925},{x:-.10242134708148157,y:-.13685699620740738},{x:-.11496246490000012,y:-.1278441337},{x:-.12603975798518532,y:-.11858624832592597},{x:-.13570588564814828,y:-.10911532824074079},{x:-.14401350720000017,y:-.09946336160000008},{x:-.15101528195185202,y:-.08966233655925933},{x:-.15676386921481505,y:-.07974424127407413},{x:-.16131192830000016,y:-.06974106390000002},{x:-.16471211851851875,y:-.05968479259259264},{x:-.16701709918148167,y:-.04960741550740742},{x:-.16827952960000025,y:-.03954092080000003},{x:-.16855206908518539,y:-.029517296625925914},{x:-.16788737694814843,y:-.01956853114074074},{x:-.16633811250000025,y:-.009726612499999964},{x:-.16395693505185213,y:-2352885925920034e-20},{x:-.16079650391481512,y:.009508731625925994},{x:-.15690947840000036,y:.018838180800000083},{x:-.15234851781851885,y:.0279328305074075},{x:-.14716628148148186,y:.03676069259259269},{x:-.14141542870000037,y:.04528977890000009},{x:-.13514861878518558,y:.053488101274074155},{x:-.12841851104814855,y:.06132367155925933},{x:-.12127776480000044,y:.06876450160000006},{x:-.11377903935185232,y:.07577860324074076},{x:-.1059749940148153,y:.08233398832592591},{x:-.09791828810000051,y:.08839866869999995},{x:-.08966158091851906,y:.0939406562074073},{x:-.08125753178148204,y:.09892796269259241},{x:-.0727588000000006,y:.10332859999999976},{x:-.07275880000000057,y:.10332859999999977}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.07349080000000119,y:-.15414649999999952},{x:.07349080000000119,y:-.15414649999999952},{x:.08911754521851972,y:-.14571964769259216},{x:.1031751470814827,y:-.13698379620740703},{x:.11571626490000125,y:-.12797093369999965},{x:.12679355798518643,y:-.11871304832592562},{x:.13645968564814942,y:-.10924212824074045},{x:.1447673072000013,y:-.09959016159999971},{x:.15176908195185318,y:-.08978913655925898},{x:.15751766921481616,y:-.0798710412740738},{x:.1620657283000013,y:-.06986786389999967},{x:.16546591851851983,y:-.0598115925925923},{x:.16777089918148277,y:-.04973421550740708},{x:.1690333296000014,y:-.03966772079999968},{x:.1693058690851865,y:-.029644096625925563},{x:.16864117694814956,y:-.01969533114074039},{x:.16709191250000135,y:-.009853412499999614},{x:.16471073505185324,y:-.00015032885925885323},{x:.1615503039148162,y:.009381931625926349},{x:.15766327840000144,y:.018711380800000437},{x:.15310231781851993,y:.027806030507407847},{x:.1479200814814829,y:.03663389259259304},{x:.14216922870000145,y:.04516297890000044},{x:.13590241878518663,y:.053361301274074506},{x:.1291723110481496,y:.061196871559259694},{x:.12203156480000146,y:.0686377016000004},{x:.11453283935185332,y:.07565180324074111},{x:.1067287940148163,y:.08220718832592627},{x:.09867208810000148,y:.0882718687000003},{x:.09041538091852001,y:.09381385620740765},{x:.08201133178148297,y:.09880116269259277},{x:.07351260000000151,y:.10320180000000011},{x:.07351260000000148,y:.10320180000000012}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.020635199999998965,y:.15414649999999952}},refblocks:{left1:{x:-.44,y:-.02},right1:{x:.4458008,y:-.02514810000000045}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.15414649999999952,maxY:.15414649999999952,width:.947918482,height:.30829299999999904,centerX:0,centerY:0},circles:{}};var $1=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var M1=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var C1=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var N1=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var lt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var I1=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var B1=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var q1=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var D1=e(lt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1},path1:{type:"path",points:[{x:-.05,y:.1},{x:-.12,y:.1}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var G1=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var U1=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var W1=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var H1=e(pt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var at={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-0-7":{type:"path",points:[{x:.12,y:.1},{x:.04,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var Z1=e(at).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Q1=e(at).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var K1=e(at).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var tn=e(at).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var yt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.45,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.45,y:.1},{x:.22,y:.1}],color:"primary",fill:!1},"path44-5":{type:"path",points:[{x:0,y:-.03},{x:0,y:-.25}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.12,y:.23},{x:.12,y:-.02}],color:"primary",fill:!0},"path2-88":{type:"path",points:[{x:.04,y:.22},{x:.04,y:-.02}],color:"primary",fill:!0},"path2-88-5":{type:"path",points:[{x:-.05,y:.22},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-88-5-1":{type:"path",points:[{x:.04,y:.22},{x:-.05,y:.22}],color:"primary",fill:!0},"path2-88-5-1-6":{type:"path",points:[{x:.04,y:-.02},{x:-.05,y:-.02}],color:"primary",fill:!0},"path2-8":{type:"path",points:[{x:-.12,y:.23},{x:-.12,y:-.02}],color:"primary",fill:!0},"path8704-1":{type:"path",points:[{x:-.13,y:-.03},{x:-.13,y:-.03},{x:-.14,y:-.02},{x:-.16,y:-.01},{x:-.17,y:0},{x:-.18,y:.01},{x:-.19,y:.02},{x:-.2,y:.03},{x:-.2,y:.04},{x:-.21,y:.05},{x:-.21,y:.06},{x:-.22,y:.07},{x:-.22,y:.08},{x:-.22,y:.09},{x:-.22,y:.1},{x:-.22,y:.11},{x:-.22,y:.12},{x:-.22,y:.13},{x:-.21,y:.14},{x:-.21,y:.15},{x:-.21,y:.15},{x:-.2,y:.16},{x:-.19,y:.17},{x:-.19,y:.18},{x:-.18,y:.19},{x:-.17,y:.2},{x:-.17,y:.2},{x:-.16,y:.21},{x:-.15,y:.22},{x:-.14,y:.22},{x:-.13,y:.23},{x:-.13,y:.23},{x:-.13,y:.23}],color:"primary",fill:!1},"path8704-1-7":{type:"path",points:[{x:.12,y:-.03},{x:.12,y:-.03},{x:.14,y:-.02},{x:.15,y:-.01},{x:.17,y:0},{x:.18,y:.01},{x:.19,y:.02},{x:.2,y:.03},{x:.2,y:.04},{x:.21,y:.05},{x:.21,y:.06},{x:.22,y:.07},{x:.22,y:.08},{x:.22,y:.09},{x:.22,y:.1},{x:.22,y:.11},{x:.22,y:.12},{x:.22,y:.13},{x:.21,y:.14},{x:.21,y:.15},{x:.2,y:.15},{x:.2,y:.16},{x:.19,y:.17},{x:.19,y:.18},{x:.18,y:.19},{x:.17,y:.2},{x:.17,y:.2},{x:.16,y:.21},{x:.15,y:.21},{x:.14,y:.22},{x:.13,y:.23},{x:.12,y:.23},{x:.12,y:.23}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.28}},refblocks:{bottom1:{x:0,y:-.25},left1:{x:-.45,y:.1},right1:{x:.45,y:.1}},bounds:{minX:-.47,maxX:.47,minY:-.28,maxY:.28,width:.95,height:.56,centerX:0,centerY:0},circles:{}};var en=e(yt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var rn=e(yt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var on=e(yt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var ln=e(yt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var pn={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:-.03}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.37},bottom1:{type:"text",text:"{VAL}",x:0,y:-.37}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right2:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}};var st=e(pn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var hl=r(st,"down"),dl=hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bl=hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_bottom";bl.anchor="middle_top";dl.x=.44;dl.y+=.28;bl.y-=.28;bl.x=.44;var an=hl;var _l=r(st,"left"),gl=_l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ul=_l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");gl.anchor="middle_bottom";ul.anchor="middle_top";gl.x=0;gl.y+=.625;ul.y-=.695;ul.x=0;var yn=_l;var vl=r(st,"up"),wl=vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Al=vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wl.anchor="middle_bottom";Al.anchor="middle_top";wl.x=.4;wl.y+=.28;Al.y-=.28;Al.x=.4;var sn=vl;var xn={paths:{path1:{type:"path",points:[{x:-.37,y:.03},{x:-.13,y:.03}],color:"primary",fill:!1},"path-1-3":{type:"path",points:[{x:-.07,y:.03},{x:.11,y:.14}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.1,y:-.06},{x:.37,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.37,y:.17}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.4},bottom1:{type:"text",text:"{VAL}",x:0,y:-.4}},refblocks:{left1:{x:-.37,y:.03},right1:{x:.37,y:-.06},right3:{x:.37,y:.17}},bounds:{minX:-.4,maxX:.4,minY:-.4,maxY:.4,width:.79,height:.79,centerX:0,centerY:0},circles:{"circle-3":{type:"circle",x:.08,y:-.07,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:.03,radius:.02,color:"primary",fill:!1},"circle-2":{type:"circle",x:.08,y:.17,radius:.02,color:"primary",fill:!1}}};var xt=e(xn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Pl=r(xt,"down"),Sl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Rl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sl.anchor="middle_bottom";Rl.anchor="middle_top";Sl.x=.44;Sl.y+=.28;Rl.y-=.28;Rl.x=.44;var mn=Pl;var Fl=r(xt,"left"),Tl=Fl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),El=Fl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tl.anchor="middle_bottom";El.anchor="middle_top";Tl.x=0;Tl.y+=.625;El.y-=.695;El.x=0;var nn=Fl;var Yl=r(xt,"up"),Xl=Yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ll=Yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Xl.anchor="middle_bottom";Ll.anchor="middle_top";Xl.x=.4;Xl.y+=.28;Ll.y-=.28;Ll.x=.4;var fn=Yl;var Vt={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:0},{x:.11,y:.05}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.12,y:-.01},{x:.38,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.31},bottom1:{type:"text",text:"{VAL}",x:0,y:-.28}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete Vt.refblocks.left1;delete Vt.refblocks.right1;Vt.bounds.width+=.2;var mt=e(Vt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Vl=r(mt,"down"),jl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),kl=Vl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");jl.anchor="middle_bottom";kl.anchor="middle_top";jl.x=.3;jl.y+=.265;kl.y-=.265;kl.x=.3;var cn=Vl;var zl=r(mt,"left"),Ol=zl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Jl=zl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ol.anchor="middle_bottom";Jl.anchor="middle_top";Ol.x=0;Ol.y+=.57;Jl.y-=.57;Jl.x=0;var hn=zl;var $l=r(mt,"up"),Ml=$l.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Cl=$l.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ml.anchor="middle_bottom";Cl.anchor="middle_top";Ml.x=.3;Ml.y+=.265;Cl.y-=.265;Cl.x=.3;var dn=$l;var jt={paths:{path11:{type:"path",points:[{x:-.38,y:0},{x:-.12,y:-.01}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.07,y:.01},{x:.1,y:.14}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.12,y:-.01},{x:.38,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:0,y:.25},bottom1:{type:"text",text:"{VAL}",x:0,y:-.25}},refblocks:{left1:{x:-.12,y:-.01},left2:{x:-.38,y:0},right1:{x:.12,y:-.01},right2:{x:.38,y:0}},bounds:{minX:-.4,maxX:.4,minY:-.25,maxY:.25,width:.81,height:.5,centerX:0,centerY:0},circles:{"circle-2":{type:"circle",x:.1,y:0,radius:.02,color:"primary",fill:!1},"circle-1":{type:"circle",x:-.1,y:0,radius:.02,color:"primary",fill:!1}}};delete jt.refblocks.left1;delete jt.refblocks.right1;jt.bounds.width+=.2;var nt=e(jt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Nl=r(nt,"down"),Il=Nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Bl=Nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Il.anchor="middle_bottom";Bl.anchor="middle_top";Il.x=.3;Il.y+=.265;Bl.y-=.265;Bl.x=.3;var bn=Nl;var ql=r(nt,"left"),Dl=ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Gl=ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Dl.anchor="middle_bottom";Gl.anchor="middle_top";Dl.x=0;Dl.y+=.57;Gl.y-=.57;Gl.x=0;var _n=ql;var Ul=r(nt,"up"),Wl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hl=Ul.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wl.anchor="middle_bottom";Hl.anchor="middle_top";Wl.x=.3;Wl.y+=.265;Hl.y-=.265;Hl.x=.3;var gn=Ul;var ft={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4458008,y:.02709619999999968}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.4458008,y:.026971799999999657},{x:.1677968999999997,y:.027926399999999685}],color:"primary",fill:!1},"path8704-1":{type:"path",points:[{x:-.0040837000000002455,y:-.13467459999999964},{x:-.0040837000000002455,y:-.13467459999999964},{x:-.017668143940740948,y:-.1311205263185182},{x:-.03043520885925943,y:-.12727072121481456},{x:-.04240966440000013,y:-.1231399985999998},{x:-.05361628020740751,y:-.11874317238518502},{x:-.064079825925926,y:-.11409505648148131},{x:-.07382507120000005,y:-.10921046479999987},{x:-.0828767856740741,y:-.10410421125185171},{x:-.0912597389925926,y:-.09879110974814802},{x:-.09899870079999995,y:-.0932859741999998},{x:-.10611844074074069,y:-.08760361851851838},{x:-.11264372845925916,y:-.0817588566148146},{x:-.11859933359999993,y:-.07576650239999982},{x:-.12401002580740728,y:-.06964136978518495},{x:-.12890057472592584,y:-.06339827268148127},{x:-.13329574999999985,y:-.05705202499999972},{x:-.13722032127407394,y:-.05061744065185156},{x:-.14069905819259243,y:-.04410933354814783},{x:-.14375673039999987,y:-.03754251759999966},{x:-.14641810754074058,y:-.030931806718518143},{x:-.1487079592592591,y:-.0242920148148144},{x:-.15065105519999983,y:-.017637955799999563},{x:-.15227216500740723,y:-.01098444358518472},{x:-.15359605832592574,y:-.004346292081480994},{x:-.1546475047999998,y:.00226168480000051},{x:-.15545127407407386,y:.008824673148148676},{x:-.1560321357925924,y:.015327859051852397},{x:-.1564148595999998,y:.02175642860000056},{x:-.1566242151407405,y:.028095567881482052},{x:-.15668497205925902,y:.03433046298518576},{x:-.15662189999999976,y:.04044630000000058},{x:-.15662189999999976,y:.0404463000000006},{x:-.15662189999999976,y:.0404463000000006},{x:-.15622857394444417,y:.04717166472222282},{x:-.1553217675555553,y:.05388046444444503},{x:-.15392183849999977,y:.060558907500000585},{x:-.1520491444444442,y:.0671932022222228},{x:-.1497240430555553,y:.07376955694444502},{x:-.14696689199999974,y:.08027418000000058},{x:-.14379804894444415,y:.0866932797222228},{x:-.1402378715555553,y:.09301306444444506},{x:-.13630671749999965,y:.09921974250000057},{x:-.13202494444444415,y:.10529952222222282},{x:-.12741291005555522,y:.11123861194444501},{x:-.1224909719999997,y:.1170232200000006},{x:-.11727948794444407,y:.12263955472222278},{x:-.11179881555555524,y:.12807382444444504},{x:-.10606931249999965,y:.13331223750000057},{x:-.1001113364444441,y:.13834100222222284},{x:-.09394524505555521,y:.14314632694444504},{x:-.08759139599999967,y:.14771442000000062},{x:-.08107014694444413,y:.15203148972222283},{x:-.07440185555555523,y:.15608374444444503},{x:-.0676068794999997,y:.15985739250000058},{x:-.06070557644444415,y:.16333864222222283},{x:-.05371830405555529,y:.16651370194444504},{x:-.04666541999999976,y:.1693687800000006},{x:-.03956728194444424,y:.1718900847222228},{x:-.03244424755555539,y:.17406382444444501},{x:-.025316674499999876,y:.17587620750000055},{x:-.01820492044444437,y:.17731344222222278},{x:-.01112934305555553,y:.178361736944445},{x:-.004110300000000034,y:.17900730000000054},{x:-.004110300000000011,y:.17900730000000054}],color:"primary",fill:!1},"path8704-1-9":{type:"path",points:[{x:.004158700000000071,y:-.1355885000000001},{x:.004158700000000071,y:-.1355885000000001},{x:.017743143940740766,y:-.1320344263185187},{x:.03051020885925925,y:-.12818462121481505},{x:.042484664399999955,y:-.12405389860000024},{x:.053691280207407335,y:-.11965707238518546},{x:.0641548259259258,y:-.11500895648148178},{x:.07390007119999986,y:-.1101243648000003},{x:.0829517856740739,y:-.10501811125185218},{x:.0913347389925924,y:-.09970500974814848},{x:.09907370079999973,y:-.09419987420000027},{x:.10619344074074046,y:-.08851751851851883},{x:.11271872845925893,y:-.08267275661481507},{x:.11867433359999968,y:-.07668040240000029},{x:.12408502580740703,y:-.0705552697851854},{x:.12897557472592555,y:-.06431217268148172},{x:.13337074999999957,y:-.05796592500000018},{x:.13729532127407365,y:-.05153134065185202},{x:.14077405819259214,y:-.045023233548148286},{x:.14383173039999952,y:-.038456417600000126},{x:.14649310754074024,y:-.03184570671851861},{x:.14878295925925875,y:-.02520591481481487},{x:.1507260551999995,y:-.01855185580000003},{x:.15234716500740686,y:-.011898343585185192},{x:.15367105832592537,y:-.005260192081481464},{x:.15472250479999944,y:.001347784800000043},{x:.1555262740740735,y:.007910773148148207},{x:.156107135792592,y:.01441395905185193},{x:.1564898595999994,y:.020842528600000094},{x:.15669921514074014,y:.02718166788148159},{x:.15675997205925862,y:.03341656298518529},{x:.15669689999999936,y:.03953240000000011},{x:.15669689999999936,y:.039532400000000134},{x:.15669689999999936,y:.039532400000000134},{x:.1563035739444438,y:.04625776472222235},{x:.15539676755555493,y:.05296656444444457},{x:.15399683849999934,y:.05964500750000013},{x:.1521241444444438,y:.06627930222222234},{x:.14979904305555491,y:.07285565694444456},{x:.14704189199999937,y:.07936028000000013},{x:.1438730489444438,y:.08577937972222234},{x:.1403128715555549,y:.09209916444444458},{x:.13638171749999925,y:.0983058425000001},{x:.13209994444444376,y:.10438562222222235},{x:.12748791005555482,y:.11032471194444453},{x:.12256597199999929,y:.11610932000000013},{x:.1173544879444437,y:.1217256547222223},{x:.11187381555555485,y:.12715992444444457},{x:.10614431249999925,y:.1323983375000001},{x:.10018633644444369,y:.13742710222222235},{x:.09402024505555481,y:.14223242694444457},{x:.08766639599999927,y:.14680052000000016},{x:.08114514694444372,y:.15111758972222236},{x:.07447685555555483,y:.15516984444444457},{x:.06768187949999929,y:.15894349250000012},{x:.06078057644444377,y:.16242474222222236},{x:.053793304055554894,y:.16559980194444457},{x:.046740419999999366,y:.16845488000000014},{x:.039642281944443844,y:.17097618472222234},{x:.03251924755555499,y:.17314992444444455},{x:.02539167449999948,y:.17496230750000008},{x:.018279920444443973,y:.17639954222222232},{x:.011204343055555134,y:.17744783694444452},{x:.004185299999999637,y:.17809340000000007},{x:.004185299999999614,y:.17809340000000007}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.08039130000000005,y:.0179576999999993},{x:-.08039130000000005,y:.09650599999999931}],color:"primary",fill:!0},"path4-5":{type:"path",points:[{x:.01494479999999987,y:-.055216500000000224},{x:.01494479999999987,y:.09691909999999937}],color:"primary",fill:!0},"path4-5-8":{type:"path",points:[{x:.06871169999999927,y:-.056870000000000864},{x:.06871169999999927,y:.018784499999999538}],color:"primary",fill:!0},"path4-1":{type:"path",points:[{x:-.08179359999999969,y:.09650570000000003},{x:.015771699999999722,y:.09650570000000003}],color:"primary",fill:!0},"path4-1-6":{type:"path",points:[{x:.0117995999999998,y:-.05594970000000088},{x:.06843709999999925,y:-.05594970000000088}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.17162450000000073,y:.11125030000000025},{x:-.2688274000000015,y:.11125030000000025},{x:-.2688274000000015,y:.11469129999999961},{x:-.17162450000000073,y:.11469129999999961}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.2184661999999995,y:.16159429999999997},{x:-.2184661999999995,y:.06439139999999943},{x:-.22190719999999908,y:.06439139999999943},{x:-.22190719999999908,y:.16159429999999997}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.0024445000000006267,y:.23933980000000044},bottom1:{type:"text",text:"{VAL}",x:.00341719999999901,y:-.23933980000000066}},refblocks:{left1:{x:-.4458008,y:.02709619999999968},right1:{x:.4458008,y:.026971799999999657}},bounds:{minX:-.473959241,maxX:.473959241,minY:-.23933980000000066,maxY:.23933980000000044,width:.947918482,height:.4786796000000011,centerX:0,centerY:-11102230246251565e-32},circles:{}};var un=e(ft).rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_left",{x:.02,y:.2}).changeTextAnchor("{VAL}","middle_left",{x:.5,y:-.2}).build();var vn=e(ft).rotateRightFacingSymbol("left").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.45}).changeTextAnchor("{VAL}","middle_top",{x:0,y:-.55}).build();var wn=e(ft).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var An=e(ft).rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_left",{x:.02,y:-.2}).changeTextAnchor("{REF}","middle_left",{x:.5,y:.2}).build();var Zl={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-5":{type:"path",points:[{x:.19,y:-.09},{x:.15,y:-.09}],color:"primary",fill:!1},"path43-5-2":{type:"path",points:[{x:.19,y:-.14},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:yL,texts:sL,bounds:xL,refblocks:mL,circles:nL}=Zl,W0=e(Zl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Pn=r(W0);var Sn={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"RPM",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:p5,texts:a5,bounds:H0,refblocks:Rn,circles:y5}=Sn,kt=s({primitives:[...Object.values(p5),...Object.values(y5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...a5.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...Rn.left1,labels:["1"]},{...Rn.right1,labels:["2"]}],size:{width:H0.width,height:H0.height},center:{x:H0.centerX,y:H0.centerY}});var{5:s5,...x5}=kt.primitives;function m5(t){return typeof t=="object"}var Fn=r({...kt,primitives:Object.values(x5).filter(m5)}),Tn={...Fn,primitives:[...Fn.primitives,s5]};var ct=s({primitives:[{type:"path",points:[{x:-.2,y:0},{x:0,y:0}],color:"primary",fill:!1},{type:"path",points:Array.from({length:8},(t,o)=>{let i=Math.PI/2-o*Math.PI/7,l=.1;return{x:.1-l*Math.cos(i),y:l*Math.sin(i)}}),color:"primary",fill:!1},{type:"text",text:"{REF}",x:.125,y:0,anchor:"middle_left"}],ports:[{x:-.2,y:0,labels:["1"]}],center:{x:0,y:0}});var Yn=r(ct,"down"),En=Yn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");En&&(En.anchor="middle_top");var Xn=Yn;var Ln=r(ct,"left");var jn=r(ct,"up"),Vn=jn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Vn&&(Vn.anchor="middle_bottom");var kn=jn;var zn={paths:{path40:{type:"path",points:[{x:.44,y:.04},{x:.19,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:.19,y:.18},{x:.44,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:.19,y:-.09},{x:.19,y:.18}],color:"primary",fill:!1},path44:{type:"path",points:[{x:.19,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.43,y:.22},{x:-.11,y:.04}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{right1:{x:-.43,y:.22}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var At=e(zn).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ql=r(At,"up"),Kl=Ql.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),tp=Ql.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Kl.anchor="middle_bottom";tp.anchor="middle_top";Kl.x=.4;Kl.y+=.2;tp.y-=.3;tp.x=.4;var Z0=Ql;var ep=u(Z0),rp=ep.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),op=ep.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");rp.anchor="middle_bottom";op.anchor="middle_top";rp.x=.35;rp.y+=.4;op.y-=.4;op.x=.35;var On=ep;var ip=r(At,"left"),lp=ip.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),pp=ip.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");lp.anchor="middle_bottom";pp.anchor="middle_top";lp.x=0;lp.y+=.5;pp.y-=.6;pp.x=0;var Jn=ip;var ap={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.54,y:.04}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.09,y:-.15},{x:-.09,y:.26}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.09,y:-.15},{x:.09,y:.26}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.08,y:.06},{x:-.08,y:-.15},{x:.09,y:-.05},{x:-.08,y:.06}],color:"primary",fill:!0},"path11-0-9-0":{type:"path",points:[{x:.08,y:.26},{x:.08,y:.05},{x:-.09,y:.15},{x:.07,y:.26}],color:"primary",fill:!0},"path12-2":{type:"path",points:[{x:.09,y:-.06},{x:.27,y:-.17}],color:"primary",fill:!1},"path12-2-9":{type:"path",points:[{x:.27,y:-.18},{x:.27,y:-.31}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{bottom1:{x:.27,y:-.31},left1:{x:-.54,y:.04},right1:{x:.54,y:.04}},bounds:{minX:-.57,maxX:.57,minY:-.42,maxY:.42,width:1.14,height:.83,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.05,radius:.29,color:"primary",fill:!1}}};var{paths:ZL,texts:QL,bounds:KL,refblocks:tV,circles:eV}=ap,Q0=e(ap).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var $n=r(Q0),Mn=$n.primitives.filter(t=>t.type==="text"),c5=Mn.find(t=>t.text==="{REF}"),h5=Mn.find(t=>t.text==="{VAL}");c5.y=0;h5.y=0;var Cn=$n;var Nn={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1},"path43-8-8":{type:"path",points:[{x:.14,y:-.09},{x:.08,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:b5,texts:In,bounds:K0,refblocks:Bn,circles:_5}=Nn,tr=s({primitives:[...Object.values(b5),...Object.values(_5),{...In.top1,anchor:"middle_bottom"},{...In.bottom1,anchor:"middle_top"}],ports:[{...Bn.left1,labels:["1"]},{...Bn.right1,labels:["2"]}],size:{width:K0.width,height:K0.height},center:{x:K0.centerX,y:K0.centerY}});var yp=r(tr),g5=yp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),u5=yp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");g5.anchor="middle_left";u5.anchor="middle_right";var qn=yp;var Dn={paths:{path11:{type:"path",points:[{x:-.34,y:.22},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.4}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.35}],color:"primary",fill:!1},"path11-0":{type:"path",points:[{x:-.01,y:-.18},{x:-.01,y:.23}],color:"primary",fill:!1},"path11-0-3":{type:"path",points:[{x:.23,y:.12},{x:-.01,y:.12}],color:"primary",fill:!1},"path11-0-9":{type:"path",points:[{x:-.11,y:.13},{x:-.17,y:.04},{x:-.06,y:.03},{x:-.11,y:.13}],color:"primary",fill:!0},"path11-0-3-8":{type:"path",points:[{x:.23,y:-.08},{x:-.01,y:-.08}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.2,y:.39},bottom1:{type:"text",text:"{VAL}",x:-.03,y:-.42}},refblocks:{top1:{x:.23,y:.4},bottom1:{x:.23,y:-.35},left1:{x:-.34,y:.22}},bounds:{minX:-.37,maxX:.37,minY:-.42,maxY:.42,width:.74,height:.85,centerX:0,centerY:0},circles:{path1:{type:"circle",x:.08,y:.01,radius:.29,color:"primary",fill:!1}}};var{paths:w5,texts:Gn,bounds:er,refblocks:sp,circles:A5}=Dn,rr=s({primitives:[...Object.values(w5),...Object.values(A5),{...Gn.top1,anchor:"middle_left"},{...Gn.bottom1,anchor:"middle_right"}],ports:[{...sp.top1,labels:["1"]},{...sp.bottom1,labels:["2"]},{...sp.left1,labels:["3"]}],size:{width:er.width,height:er.height},center:{x:er.centerX,y:er.centerY}});var Un=r(rr),Wn=Un.primitives.filter(t=>t.type==="text"),P5=Wn.find(t=>t.text==="{REF}");P5.y=.1;var Hn=Wn.find(t=>t.text==="{VAL}");Hn.y=.1;Hn.x=-.4;var Zn=Un;var Qn={paths:{capsule_outer:{type:"path",points:[{x:-.44,y:.34},{x:-.45,y:.39},{x:-.46,y:.42},{x:-.49,y:.44},{x:-.52,y:.46},{x:-.56,y:.46},{x:-.6,y:.46},{x:-.63,y:.44},{x:-.65,y:.42},{x:-.67,y:.39},{x:-.68,y:.34},{x:-.68,y:-.34},{x:-.67,y:-.39},{x:-.65,y:-.42},{x:-.63,y:-.44},{x:-.6,y:-.45},{x:-.56,y:-.46},{x:-.52,y:-.45},{x:-.49,y:-.44},{x:-.46,y:-.42},{x:-.45,y:-.39},{x:-.44,y:-.34},{x:-.44,y:.34}],color:"primary",fill:!1},capsule_inner:{type:"path",points:[{x:-.51,y:.28},{x:-.52,y:.32},{x:-.53,y:.34},{x:-.56,y:.35},{x:-.57,y:.35},{x:-.58,y:.34},{x:-.6,y:.32},{x:-.61,y:.28},{x:-.61,y:-.28},{x:-.6,y:-.32},{x:-.58,y:-.34},{x:-.57,y:-.35},{x:-.56,y:-.35},{x:-.53,y:-.34},{x:-.52,y:-.32},{x:-.51,y:-.28},{x:-.51,y:.28}],color:"primary",fill:!0},usb_vertical:{type:"path",points:[{x:.1,y:-.4},{x:.1,y:.4}],color:"primary",fill:!1},usb_left_branch:{type:"path",points:[{x:.1,y:-.1},{x:-.03,y:.05},{x:-.03,y:.15}],color:"primary",fill:!1},usb_right_branch:{type:"path",points:[{x:.1,y:0},{x:.25,y:.15},{x:.25,y:.25}],color:"primary",fill:!1},usb_arrow:{type:"path",points:[{x:.05,y:.4},{x:.1,y:.5},{x:.15,y:.4},{x:.05,y:.4}],color:"primary",fill:!0},usb_square:{type:"path",points:[{x:.2,y:.25},{x:.3,y:.25},{x:.3,y:.35},{x:.2,y:.35},{x:.2,y:.25}],color:"primary",fill:!0}},circles:{usb_base:{type:"circle",x:.1,y:-.4,radius:.07,color:"primary",fill:!0},usb_tip_circle:{type:"circle",x:-.03,y:.15,radius:.04,color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.25,y:.7}},refblocks:{},bounds:{minX:-.75,maxX:.35,minY:-.6,maxY:.75,width:1.1,height:1.35,centerX:-.2,centerY:.08}};var Kn=e(Qn).changeTextAnchor("{REF}","middle_bottom").build();var tf={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Var",x:-.19,y:.07}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:F5,texts:xp,bounds:or,refblocks:ef,circles:T5}=tf,ir=s({primitives:[...Object.values(F5),...Object.values(T5),{...xp.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...xp.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...xp.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...ef.left1,labels:["1"]},{...ef.right1,labels:["2"]}],size:{width:or.width,height:or.height},center:{x:or.centerX,y:or.centerY}});var rf=r(ir);var of={paths:{path40:{type:"path",points:[{x:.08,y:.04},{x:-.18,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.18,y:.18},{x:.08,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.18,y:-.09},{x:-.18,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.09,y:.17},{x:.1,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.2,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path43-6":{type:"path",points:[{x:.19,y:.17},{x:.19,y:-.09}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:Y5,texts:lf,bounds:lr,refblocks:pf,circles:X5}=of,pr=s({primitives:[...Object.values(Y5),...Object.values(X5),{...lf.top1,anchor:"middle_bottom"},{...lf.bottom1,anchor:"middle_top"}],ports:[{...pf.left1,labels:["1"]},{...pf.right1,labels:["2"]}],size:{width:lr.width,height:lr.height},center:{x:lr.centerX,y:lr.centerY}});var mp=r(pr),L5=mp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),V5=mp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");L5.anchor="middle_left";V5.anchor="middle_right";var af=mp;var yf={paths:{path5:{type:"path",points:[{x:-.54,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.54,y:.01}],color:"primary",fill:!1},path7:{type:"path",points:[{x:.27,y:-.23},{x:-.26,y:.24}],color:"primary",fill:!1},path8:{type:"path",points:[{x:.38,y:-.23},{x:.27,y:-.23}],color:"primary",fill:!1},path9:{type:"path",points:[{x:0,y:.14},{x:.27,y:.14},{x:.27,y:-.13},{x:-.26,y:-.13},{x:-.26,y:.14},{x:0,y:.14}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.06,y:.25},bottom1:{type:"text",text:"{VAL}",x:.01,y:-.25}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:.01}},bounds:{minX:-.57,maxX:.57,minY:-.25,maxY:.25,width:1.13,height:.5,centerX:0,centerY:0},circles:{}};var{paths:k5,texts:sf,bounds:ar,refblocks:xf}=yf,yr=s({primitives:[...Object.values(k5),{...sf.top1,anchor:"middle_left"},{...sf.bottom1,anchor:"middle_right"}],ports:[{...xf.left1,labels:["1","-"]},{...xf.right1,labels:["2","+"]}],size:{width:ar.width,height:ar.height},center:{x:ar.centerX,y:ar.centerY}});var mf=r(yr);var nf={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Var",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:O5,texts:J5,bounds:sr,refblocks:ff,circles:$5}=nf,zt=s({primitives:[...Object.values(O5),...Object.values($5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...J5.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...ff.left1,labels:["1"]},{...ff.right1,labels:["2"]}],size:{width:sr.width,height:sr.height},center:{x:sr.centerX,y:sr.centerY}});var{5:M5,...C5}=zt.primitives;function N5(t){return typeof t=="object"}var cf=r({...zt,primitives:Object.values(C5).filter(N5)}),hf={...cf,primitives:[...cf.primitives,M5]};var ht={paths:{"path28-2":{type:"path",points:[{x:.19,y:0},{x:0,y:.09}],color:"primary",fill:!1},"path28-2-6":{type:"path",points:[{x:.19,y:0},{x:0,y:-.09}],color:"primary",fill:!1},"path29-3":{type:"path",points:[{x:.19,y:0},{x:-.23,y:0}],color:"primary",fill:!1}},texts:{right1:{type:"text",text:"{REF}",x:.25,y:0}},refblocks:{left1:{x:-.23,y:0}},bounds:{minX:-.25,maxX:.25,minY:-.09,maxY:.09,width:.5,height:.19,centerX:0,centerY:0},circles:{}};function L(t,o){let{width:i,height:l}=t.size,a=1,y=1;o.width!==void 0&&o.height!==void 0?(a=o.width/i,y=o.height/l):o.width!==void 0?a=y=o.width/i:o.height!==void 0&&(a=y=o.height/l);let n=t.primitives.map(m=>{switch(m.type){case"path":return{...m,points:m.points.map(h=>({x:h.x*a,y:h.y*y}))};case"text":return{...m,x:m.x*a,y:m.y*y,fontSize:m.fontSize?m.fontSize*a:void 0};case"circle":return{...m,x:m.x*a,y:m.y*y,radius:m.radius*a};case"box":return{...m,x:m.x*a,y:m.y*y,width:m.width*a,height:m.height*y};default:return m}});return{...t,primitives:n,center:{x:t.center.x*a,y:t.center.y*y},ports:t.ports.map(m=>({...m,x:m.x*a,y:m.y*y})),size:{width:i*a,height:l*y}}}var B5=e(ht).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),df=L(B5,{width:.24,height:.23});var q5=e(ht).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),bf=L(q5,{width:.23,height:.24});var D5=e(ht).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),_f=L(D5,{width:.23,height:.24});var G5=e(ht).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),gf=L(G5,{width:.24,height:.23});var np={paths:{path11:{type:"path",points:[{x:-.54,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},"path11-5-5":{type:"path",points:[{x:.1,y:.13},{x:0,y:-.06},{x:-.11,y:.13}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.54,y:.03}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.02,y:.4},bottom1:{type:"text",text:"{VAL}",x:-.01,y:-.4}},refblocks:{left1:{x:-.54,y:.03},right1:{x:.54,y:.03}},bounds:{minX:-.57,maxX:.57,minY:-.4,maxY:.4,width:1.14,height:.8,centerX:0,centerY:0},circles:{path1:{type:"circle",x:0,y:.04,radius:.29,color:"primary",fill:!1}}};var{paths:gj,texts:uj,bounds:vj,circles:wj,refblocks:Aj}=np,xr=e(np).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var uf=r(xr);var vf={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"Wh",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:H5,texts:Z5,bounds:mr,refblocks:wf,circles:Q5}=vf,Ot=s({primitives:[...Object.values(H5),...Object.values(Q5),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Z5.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...wf.left1,labels:["1"]},{...wf.right1,labels:["2"]}],size:{width:mr.width,height:mr.height},center:{x:mr.centerX,y:mr.centerY}});var{5:K5,...t4}=Ot.primitives;function e4(t){return typeof t=="object"}var Af=r({...Ot,primitives:Object.values(t4).filter(e4)}),Pf={...Af,primitives:[...Af.primitives,K5]};var Sf={paths:{path11:{type:"path",points:[{x:-.54,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.54,y:0}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.18,y:-.36},bottom1:{type:"text",text:"{VAL}",x:-.01,y:.43},left1:{type:"text",text:"W",x:0,y:-.02}},refblocks:{left1:{x:-.54,y:0},right1:{x:.54,y:0}},bounds:{minX:-.53,maxX:.53,minY:0,maxY:0,width:1.06,height:1,centerX:0,centerY:0},circles:{path1:{type:"circle",x:-.01,y:-.01,radius:.29,color:"primary",fill:!1}}};var{paths:o4,texts:i4,bounds:nr,refblocks:Rf,circles:l4}=Sf,Jt=s({primitives:[...Object.values(o4),...Object.values(l4),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...i4.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...Rf.left1,labels:["1"]},{...Rf.right1,labels:["2"]}],size:{width:nr.width,height:nr.height},center:{x:nr.centerX,y:nr.centerY}});var{5:p4,...a4}=Jt.primitives;function y4(t){return typeof t=="object"}var Ff=r({...Jt,primitives:Object.values(a4).filter(y4)}),Tf={...Ff,primitives:[...Ff.primitives,p4]};var Ef={paths:{path40:{type:"path",points:[{x:.14,y:.04},{x:-.12,y:-.09}],color:"primary",fill:!1},path41:{type:"path",points:[{x:-.12,y:.18},{x:.14,y:.04}],color:"primary",fill:!1},path42:{type:"path",points:[{x:-.12,y:-.09},{x:-.12,y:.18}],color:"primary",fill:!1},path43:{type:"path",points:[{x:.14,y:.18},{x:.14,y:-.09}],color:"primary",fill:!1},path44:{type:"path",points:[{x:-.12,y:.04},{x:-.52,y:.04}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.52,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"path43-8":{type:"path",points:[{x:.14,y:.18},{x:.08,y:.18}],color:"primary",fill:!1}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.27},bottom1:{type:"text",text:"{VAL}",x:0,y:-.27}},refblocks:{left1:{x:-.52,y:.04},right1:{x:.52,y:.04}},bounds:{minX:-.55,maxX:.55,minY:-.27,maxY:.27,width:1.09,height:.55,centerX:0,centerY:0},circles:{}};var{paths:x4,texts:Yf,bounds:fr,refblocks:Xf,circles:m4}=Ef,cr=s({primitives:[...Object.values(x4),...Object.values(m4),{...Yf.top1,anchor:"middle_bottom"},{...Yf.bottom1,anchor:"middle_top"}],ports:[{...Xf.left1,labels:["1"]},{...Xf.right1,labels:["2"]}],size:{width:fr.width,height:fr.height},center:{x:fr.centerX,y:fr.centerY}});var fp=r(cr),n4=fp.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),f4=fp.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");n4.anchor="middle_left";f4.anchor="middle_right";var Lf=fp;var Vf={ac_voltmeter_down:gp,ac_voltmeter_horz:vp,ac_voltmeter_left:Ap,ac_voltmeter_right:Sp,ac_voltmeter_up:Fp,ac_voltmeter_vert:Ep,avalanche_diode_down:Xp,avalanche_diode_horz:Lp,avalanche_diode_left:jp,avalanche_diode_right:kp,avalanche_diode_up:Op,avalanche_diode_vert:$p,backward_diode_down:Cp,backward_diode_left:Kt,backward_diode_right:Bp,backward_diode_up:qp,battery_horz:re,battery_vert:Wp,boxresistor_down:Qp,boxresistor_left:ea,boxresistor_right:ia,boxresistor_small_down:pa,boxresistor_small_left:ya,boxresistor_small_right:xa,boxresistor_small_up:na,boxresistor_up:ha,bridged_ground_down:_a,bridged_ground_left:va,bridged_ground_right:ae,bridged_ground_up:Pa,capacitor_down:Ra,capacitor_left:Fa,capacitor_polarized_down:Ta,capacitor_polarized_left:Ea,capacitor_polarized_right:Ya,capacitor_polarized_up:Xa,capacitor_right:La,capacitor_up:ja,constant_current_diode_down:za,constant_current_diode_horz:Oa,constant_current_diode_left:$a,constant_current_diode_right:Ma,constant_current_diode_up:Na,constant_current_diode_vert:Ba,crystal_4pin_down:qa,crystal_4pin_left:Da,crystal_4pin_right:Ga,crystal_4pin_up:Ua,crystal_down:Ha,crystal_left:Za,crystal_right:Qa,crystal_up:ty,current_source_down:ey,current_source_left:ry,current_source_right:oy,current_source_up:iy,darlington_pair_transistor_down:ly,darlington_pair_transistor_horz:py,darlington_pair_transistor_left:ay,darlington_pair_transistor_right:yy,darlington_pair_transistor_up:sy,darlington_pair_transistor_vert:xy,dc_ammeter_horz:Et,dc_ammeter_vert:cy,dc_voltmeter_down:dy,dc_voltmeter_horz:_y,dc_voltmeter_left:uy,dc_voltmeter_right:wy,dc_voltmeter_up:Py,dc_voltmeter_vert:Ry,diac_down:Fy,diac_horz:Ty,diac_left:Ey,diac_right:Yy,diac_up:Xy,diac_vert:Ly,digital_ground_down:jy,digital_ground_left:zy,digital_ground_right:Jy,digital_ground_up:My,diode_down:Ny,diode_left:Iy,diode_right:N,diode_up:By,dpdt_normally_closed_switch_down:Dy,dpdt_normally_closed_switch_left:Gy,dpdt_normally_closed_switch_right:I,dpdt_normally_closed_switch_up:Uy,dpdt_switch_down:Hy,dpdt_switch_left:Zy,dpdt_switch_right:B,dpdt_switch_up:Qy,dpst_normally_closed_switch_down:ts,dpst_normally_closed_switch_left:es,dpst_normally_closed_switch_right:q,dpst_normally_closed_switch_up:rs,dpst_switch_down:is,dpst_switch_left:ls,dpst_switch_right:D,dpst_switch_up:ps,ferrite_bead_down:ys,ferrite_bead_left:ss,ferrite_bead_right:Ye,ferrite_bead_up:Ee,filled_diode_down:ms,filled_diode_horz:fs,filled_diode_left:hs,filled_diode_right:bs,filled_diode_up:gs,filled_diode_vert:vs,frequency_meter_horz:Yt,frequency_meter_vert:Ss,fuse_horz:$e,fuse_vert:Ts,ground_down:Es,ground_horz:Ys,ground_left:Xs,ground_right:Ls,ground_up:Vs,ground_vert:js,gunn_diode_horz:ks,gunn_diode_vert:zs,icled_down:Js,icled_left:$s,icled_right:G,icled_up:Ms,igbt_transistor_horz:Me,igbt_transistor_vert:Is,illuminated_push_button_normally_open_horz:Ce,illuminated_push_button_normally_open_vert:Gs,inductor_down:Zs,inductor_left:Qs,inductor_right:ut,inductor_up:Ie,laser_diode_down:Ks,laser_diode_left:tx,laser_diode_right:U,laser_diode_up:ex,led_down:lx,led_left:px,led_right:vt,led_up:qe,light_dependent_resistor_horz:Ge,light_dependent_resistor_vert:nx,mosfet_depletion_normally_on_horz:We,mosfet_depletion_normally_on_vert:dx,mushroom_head_normally_open_momentary_horz:Ze,mushroom_head_normally_open_momentary_vert:ux,n_channel_d_mosfet_transistor_horz:t0,n_channel_d_mosfet_transistor_vert:Sx,n_channel_e_mosfet_transistor_horz:r0,n_channel_e_mosfet_transistor_vert:Yx,njfet_transistor_horz:i0,njfet_transistor_vert:kx,not_connected_down:Jx,not_connected_left:$x,not_connected_right:W,not_connected_up:Mx,npn_bipolar_transistor_down:Cx,npn_bipolar_transistor_horz:Nx,npn_bipolar_transistor_left:Ix,npn_bipolar_transistor_right:Bx,npn_bipolar_transistor_up:qx,npn_bipolar_transistor_vert:Dx,opamp_no_power_down:Ux,opamp_no_power_left:Wx,opamp_no_power_right:H,opamp_no_power_up:Hx,opamp_with_power_down:Qx,opamp_with_power_left:Kx,opamp_with_power_right:Z,opamp_with_power_up:tm,p_channel_d_mosfet_transistor_horz:n0,p_channel_d_mosfet_transistor_vert:lm,p_channel_e_mosfet_transistor_horz:c0,p_channel_e_mosfet_transistor_vert:xm,photodiode_horz:h0,photodiode_vert:cm,pjfet_transistor_horz:b0,pjfet_transistor_vert:gm,pnp_bipolar_transistor_down:um,pnp_bipolar_transistor_horz:vm,pnp_bipolar_transistor_left:wm,pnp_bipolar_transistor_right:Am,pnp_bipolar_transistor_up:Pm,pnp_bipolar_transistor_vert:Sm,potentiometer_horz:P0,potentiometer_vert:Em,potentiometer2_down:Vm,potentiometer2_left:jm,potentiometer2_right:Q,potentiometer2_up:km,potentiometer3_down:zm,potentiometer3_left:Om,potentiometer3_right:Jm,potentiometer3_up:$m,power_factor_meter_horz:Y0,power_factor_meter_vert:Im,push_button_normally_closed_momentary_horz:L0,push_button_normally_closed_momentary_vert:Gm,push_button_normally_open_momentary_down:Hm,push_button_normally_open_momentary_horz:Km,push_button_normally_open_momentary_left:t1,push_button_normally_open_momentary_right:X,push_button_normally_open_momentary_up:e1,push_button_normally_open_momentary_vert:r1,rail_down:i1,rail_left:p1,rail_right:y1,rail_up:x1,rectifier_diode_horz:J0,rectifier_diode_vert:f1,resistor_down:h1,resistor_left:b1,resistor_right:g1,resistor_up:v1,resonator_down:A1,resonator_horz:D0,resonator_left:P1,resonator_right:rt,resonator_up:S1,resonator_vert:R1,schottky_diode_down:T1,schottky_diode_left:E1,schottky_diode_right:ot,schottky_diode_up:Y1,silicon_controlled_rectifier_horz:G0,silicon_controlled_rectifier_vert:V1,solderjumper2_bridged12_down:j1,solderjumper2_bridged12_left:z1,solderjumper2_bridged12_right:wt,solderjumper2_bridged12_up:J1,solderjumper2_down:$1,solderjumper2_left:M1,solderjumper2_right:C1,solderjumper2_up:N1,solderjumper3_bridged12_down:I1,solderjumper3_bridged12_left:B1,solderjumper3_bridged12_right:q1,solderjumper3_bridged12_up:D1,solderjumper3_bridged123_down:G1,solderjumper3_bridged123_left:U1,solderjumper3_bridged123_right:W1,solderjumper3_bridged123_up:H1,solderjumper3_bridged23_down:Z1,solderjumper3_bridged23_left:Q1,solderjumper3_bridged23_right:K1,solderjumper3_bridged23_up:tn,solderjumper3_down:en,solderjumper3_left:rn,solderjumper3_right:on,solderjumper3_up:ln,spdt_normally_closed_switch_down:an,spdt_normally_closed_switch_left:yn,spdt_normally_closed_switch_right:st,spdt_normally_closed_switch_up:sn,spdt_switch_down:mn,spdt_switch_left:nn,spdt_switch_right:xt,spdt_switch_up:fn,spst_normally_closed_switch_down:cn,spst_normally_closed_switch_left:hn,spst_normally_closed_switch_right:mt,spst_normally_closed_switch_up:dn,spst_switch_down:bn,spst_switch_left:_n,spst_switch_right:nt,spst_switch_up:gn,square_wave_down:un,square_wave_left:vn,square_wave_right:wn,square_wave_up:An,step_recovery_diode_horz:W0,step_recovery_diode_vert:Pn,tachometer_horz:kt,tachometer_vert:Tn,testpoint_down:Xn,testpoint_left:Ln,testpoint_right:ct,testpoint_up:kn,tilted_ground_down:On,tilted_ground_left:Jn,tilted_ground_right:At,tilted_ground_up:Z0,triac_horz:Q0,triac_vert:Cn,tunnel_diode_horz:tr,tunnel_diode_vert:qn,unijunction_transistor_horz:rr,unijunction_transistor_vert:Zn,usbc:Kn,var_meter_horz:ir,var_meter_vert:rf,varactor_diode_horz:pr,varactor_diode_vert:af,varistor_horz:yr,varistor_vert:mf,varmeter_horz:zt,varmeter_vert:hf,vcc_down:df,vcc_left:bf,vcc_right:_f,vcc_up:gf,volt_meter_horz:xr,volt_meter_vert:uf,watt_hour_meter_horz:Ot,watt_hour_meter_vert:Pf,wattmeter_horz:Jt,wattmeter_vert:Tf,zener_diode_horz:cr,zener_diode_vert:Lf};var b=(t,o=!0)=>o?-t:t;var dt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function jf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${b(a.y,i)}`).join(" ");return o?`${l} Z`:l}function c4(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${b(a,i)-y} L ${l+y} ${b(a,i)} L ${l} ${b(a,i)+y} L ${l-y} ${b(a,i)} Z" fill="green" />`}function h4(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,h=0,p=0,x=y*.75;switch(n){case"top_left":m="start",p=y;break;case"top_right":m="end",p=y;break;case"bottom_left":m="start";break;case"bottom_right":m="end";break;case"center":m="middle",p=y/2;break;case"middle_top":m="middle",p=x;break;case"middle_bottom":m="middle";break;case"middle_left":m="start",p=x/2;break;case"middle_right":m="end",p=x/2;break}return{text:`<text x="${i}" y="${b(l,o)}" dx="${h}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${dt("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${b(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function d4(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
|
|
7
7
|
${`
|
|
8
8
|
<line x1="${i-y/2}" y1="${b(l,o)-y/2}" x2="${i+y/2}" y2="${b(l,o)+y/2}" stroke="red" stroke-width="0.004" />
|
|
9
9
|
<line x1="${i-y/2}" y1="${b(l,o)+y/2}" x2="${i+y/2}" y2="${b(l,o)-y/2}" stroke="red" stroke-width="0.004" />
|
|
10
10
|
`}
|
|
11
11
|
<text x="${i-n/2}" y="${b(l,o)+y+n/2}"
|
|
12
12
|
text-anchor="middle" style="font: ${n}px monospace; fill: #833;">${m}</text>
|
|
13
|
-
`}function
|
|
14
|
-
`),h=
|
|
13
|
+
`}function kf(t,o={}){let{debug:i=!1}=o,{primitives:l,size:a,ports:y}=t,n=l.map(x=>{switch(x.type){case"path":return`<path d="${jf(x.points,{closed:x.closed,yUpPositive:!0})}" fill="${x.fill?dt(x.color):"none"}" stroke="${dt(x.color)}" stroke-width="0.02" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let f=h4(x,{yUpPositive:!0});return f.text+(i?f.anchor:"");case"circle":return`<circle cx="${x.x}" cy="${b(x.y,!0)}" r="${x.radius}" fill="${x.fill?dt(x.color):"none"}" ${x.fill?"":`stroke="${dt(x.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${x.x}" y="${b(x.y)}" width="${x.width}" height="${x.height}" fill="${dt("primary")}" />`;default:return""}}),m=y.map(x=>d4(x,{yUpPositive:!0})).join(`
|
|
14
|
+
`),h=c4(t.center),p=[];if(i){let x={x:t.center.x-a.width/2,y:t.center.y-a.height/2};p.push(`<text x="${x.x}" y="${x.y}" style="font: 0.05px monospace; fill: #833;">${a.width.toFixed(2)} x ${a.height.toFixed(2)}</text>`),y.forEach((f,d)=>{if(f.labels.length>1){let c=f.labels.slice(1).join(", ");p.push(`<text x="${x.x}" y="${x.y-(d+1)*.05}" dy="-0.15" style="font: 0.05px monospace; fill: #833;">${f.labels[0]} [${c}]</text>`)}}),p.push(...p)}return[n.join(`
|
|
15
15
|
`),m,h,...p].join(`
|
|
16
|
-
`)}function
|
|
16
|
+
`)}function b4(t,o={}){let{size:i}=t,l=kf(t,o),a=1.2,y=i.width*a,n=i.height*a,m={x:t.center.x-y/2,y:b(t.center.y,!0)-n/2,width:y,height:n};return o.width&&!o.height?o.height=o.width*(m.height/m.width):!o.width&&o.height?o.width=o.height*(m.width/m.height):!o.width&&!o.height&&(o.width=m.width,o.height=m.height),`<svg width="${o.width}" height="${o.height}" viewBox="${m.x} ${m.y} ${m.width} ${m.height}" xmlns="http://www.w3.org/2000/svg">${l}</svg>`}var gC=Object.fromEntries(Object.keys(Vf).map(t=>[t,t]));export{gC as BASE_SYMBOLS,kf as getInnerSvg,b4 as getSvg,L as resizeSymbol,Vf as symbols};
|
|
17
17
|
//# sourceMappingURL=index.js.map
|