schematic-symbols 0.0.199 → 0.0.200

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 CHANGED
@@ -1,13 +1,13 @@
1
- function b(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 Vt(t){return typeof t>"u"}function dt(t,o=0){return{a:1,c:0,e:t,b:0,d:1,f:o}}function X(...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 X(y,...a)}}}var{cos:H1,sin:Z1,PI:zb}=Math;function xr(t,o,i){let l=H1(t),a=Z1(t),y={a:l,c:-a,e:0,b:a,d:l,f:0};return Vt(o)||Vt(i)?y:X([dt(o,i),y,dt(-o,-i)])}var{tan:Ib}=Math;function Q1(t,o){function i(){this.constructor=t}i.prototype=o.prototype,t.prototype=new i}function jt(t,o,i,l){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,jt.prototype),a.expected=o,a.found=i,a.location=l,a.name="SyntaxError",a}Q1(jt,Error);function sr(t,o,i){return i=i||" ",t.length>o?t:(o-=t.length,i+=i.repeat(o),t+i.slice(0,o))}jt.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,c=sr("",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+=`
1
+ function b(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 jt(t){return typeof t>"u"}function bt(t,o=0){return{a:1,c:0,e:t,b:0,d:1,f:o}}function X(...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 X(y,...a)}}}var{cos:pf,sin:af,PI:t_}=Math;function sr(t,o,i){let l=pf(t),a=af(t),y={a:l,c:-a,e:0,b:a,d:l,f:0};return jt(o)||jt(i)?y:X([bt(o,i),y,bt(-o,-i)])}var{tan:a_}=Math;function yf(t,o){function i(){this.constructor=t}i.prototype=o.prototype,t.prototype=new i}function kt(t,o,i,l){var a=Error.call(this,t);return Object.setPrototypeOf&&Object.setPrototypeOf(a,kt.prototype),a.expected=o,a.found=i,a.location=l,a.name="SyntaxError",a}yf(kt,Error);function mr(t,o,i){return i=i||" ",t.length>o?t:(o-=t.length,i+=i.repeat(o),t+i.slice(0,o))}kt.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,c=mr("",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
  `+c+` |
4
4
  `+y.line+" | "+p+`
5
- `+c+" | "+sr("",a.column-1," ")+sr("",f,"^")}else o+=`
6
- at `+n}return o};jt.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 c(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+c(o)+" found."};function bt(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:c,radius:p}=n;y({x:m-p,y:c-p}),y({x:m+p,y:c+p});break}case"box":{let{x:m,y:c,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:c-d}),y({x:m+f,y:c+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var tf=(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},L=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=X({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(h=>b(n,h))};case"text":let x=b(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=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),c=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:c,size:y,...o}},E=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=X({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(h=>b(n,h))};case"text":let x=b(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=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),c=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:c,size:y,...o}},wt=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=xr(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:c,ports:p}=t,x=n.map(h=>{switch(h={...h},h.type){case"path":return{...h,points:h.points.map(W1=>b(y,W1))};case"text":let Il=b(y,{x:h.x,y:h.y});return h.anchor=tf(h.anchor,i??"right"),{...h,x:Il.x,y:Il.y};case"circle":let Bl=b(y,{x:h.x,y:h.y});return{...h,x:Bl.x,y:Bl.y};case"box":let ql=b(y,{x:h.x,y:h.y});return{...h,x:ql.x,y:ql.y,width:h.height,height:h.width}}}),f=p.map(h=>({...h,...b(y,h)})),d=bt(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={})=>wt(t,{newOrientation:o,overrides:i});var mr=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=wt(this.symbol,{newOrientation:o}),this}computeSize(){let o=bt(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 mr({...t,primitives:o,ports:i,center:l})};var v={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,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:rf,texts:r_,bounds:kt,refblocks:Ul,circles:of}=v,Gl=e({primitives:[...Object.values(rf),...Object.values(of),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Ul.left1,labels:["1"]},{...Ul.right1,labels:["2"]}],size:{width:kt.width,height:kt.height},center:{x:kt.centerX,y:kt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:lf,texts:p_,bounds:zt,refblocks:Wl,circles:pf}=v,Hl=e({primitives:[...Object.values(lf),...Object.values(pf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Wl.left1,labels:["1"]},{...Wl.right1,labels:["2"]}],size:{width:zt.width,height:zt.height},center:{x:zt.centerX,y:zt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:af,texts:s_,bounds:Ot,refblocks:Zl,circles:yf}=v,Ql=e({primitives:[...Object.values(af),...Object.values(yf),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Zl.left1,labels:["1"]},{...Zl.right1,labels:["2"]}],size:{width:Ot.width,height:Ot.height},center:{x:Ot.centerX,y:Ot.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:xf,texts:h_,bounds:Jt,refblocks:Kl,circles:sf}=v,tp=e({primitives:[...Object.values(xf),...Object.values(sf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Kl.left1,labels:["1"]},{...Kl.right1,labels:["2"]}],size:{width:Jt.width,height:Jt.height},center:{x:Jt.centerX,y:Jt.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:mf,texts:__,bounds:$t,refblocks:ep,circles:nf}=v,rp=e({primitives:[...Object.values(mf),...Object.values(nf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ep.left1,labels:["1"]},{...ep.right1,labels:["2"]}],size:{width:$t.width,height:$t.height},center:{x:$t.centerX,y:$t.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:ff,texts:w_,bounds:Mt,refblocks:op,circles:hf}=v,ip=e({primitives:[...Object.values(ff),...Object.values(hf),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...op.left1,labels:["1"]},{...op.right1,labels:["2"]}],size:{width:Mt.width,height:Mt.height},center:{x:Mt.centerX,y:Mt.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:df,texts:R_,bounds:Ct,refblocks:lp,circles:bf}=w,pp=e({primitives:[...Object.values(df),...Object.values(bf),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...lp.left1,labels:["1"]},{...lp.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 ap=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:_f,texts:j_,bounds:Nt,refblocks:yp,circles:gf}=w,xp=e({primitives:[...Object.values(_f),...Object.values(gf),{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:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var sp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:uf,texts:C_,bounds:It,refblocks:mp,circles:vf}=w,np=e({primitives:[...Object.values(uf),...Object.values(vf),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...mp.left1,labels:["1"]},{...mp.right1,labels:["2"]}],size:{width:It.width,height:It.height},center:{x:It.centerX,y:It.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:wf,texts:q_,bounds:Bt,refblocks:fp,circles:Af}=w,hp=e({primitives:[...Object.values(wf),...Object.values(Af),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...fp.left1,labels:["1"]},{...fp.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var V={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:Sf,texts:H_,bounds:qt,refblocks:cp,circles:Ff}=V,dp=e({primitives:[...Object.values(Sf),...Object.values(Ff),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...cp.left1,labels:["1"]},{...cp.right1,labels:["2"]}],size:{width:qt.width,height:qt.height},center:{x:qt.centerX,y:qt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Rf,texts:t5,bounds:Dt,refblocks:bp,circles:Tf}=V,Ut=e({primitives:[...Object.values(Rf),...Object.values(Tf),{type:"text",text:"{REF}",x:-1118e-7,y:-.18},{type:"text",text:"{VAL}",x:1118e-7,y:.2738453}],ports:[{...bp.left1,labels:["1"]},{...bp.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ef,texts:i5,bounds:Gt,refblocks:_p,circles:Yf}=V,gp=e({primitives:[...Object.values(Ef),...Object.values(Yf),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{..._p.left1,labels:["1"]},{..._p.right1,labels:["2"]}],size:{width:Gt.width,height:Gt.height},center:{x:Gt.centerX,y:Gt.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:x5,texts:s5,bounds:m5,refblocks:n5,circles:f5}=V,nr=r(Ut,"down"),fr=nr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hr=nr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fr.anchor="middle_left";hr.anchor="middle_left";fr.x=.25;fr.y+=.21;hr.y-=.21;hr.x=.25;var up=nr;function s(t){let o=t.size;if(!o){let i=bt(t.primitives);o={width:i.maxX-i.minX,height:i.maxY-i.minY}}return{...t,size:o}}var vp={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:-.44,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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:Lf,texts:wp,bounds:Wt,refblocks:Ap,circles:Vf}=vp,Ht=s({primitives:[...Object.values(Lf),...Object.values(Vf),{...wp.top1,anchor:"middle_bottom"},{...wp.bottom1,anchor:"middle_top"}],ports:[{...Ap.left1,labels:["1"]},{...Ap.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}});var Pp=wt(Ht,{newOrientation:"up"});var j={paths:{path1:{type:"path",points:[{x:-.51,y:.05},{x:-.25,y:.05}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.28,y:.05},{x:.55,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:kf,texts:R5,bounds:Sp,refblocks:Fp,circles:zf}=j,Rp=e({primitives:[...Object.values(kf),...Object.values(zf),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Fp.left1,labels:["1"]},{...Fp.right1,labels:["2"]}],center:{x:Sp.centerX,y:Sp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Of,texts:X5,bounds:Tp,refblocks:Ep,circles:Jf}=j,Yp=e({primitives:[...Object.values(Of),...Object.values(Jf),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...Ep.left1,labels:["1"]},{...Ep.right1,labels:["2"]}],center:{x:Tp.centerX,y:Tp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:$f,texts:k5,bounds:Xp,refblocks:Lp,circles:Mf}=j,Vp=e({primitives:[...Object.values($f),...Object.values(Mf),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...Lp.left1,labels:["1"]},{...Lp.right1,labels:["2"]}],center:{x:Xp.centerX,y:Xp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var k={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.56,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:-.56,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:Nf,texts:M5,bounds:Zt,refblocks:jp,circles:If}=k,kp=e({primitives:[...Object.values(Nf),...Object.values(If),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...jp.left1,labels:["1"]},{...jp.right1,labels:["2"]}],size:{width:Zt.width,height:Zt.height},center:{x:Zt.centerX,y:Zt.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Bf,texts:B5,bounds:Qt,refblocks:zp,circles:qf}=k,Op=e({primitives:[...Object.values(Bf),...Object.values(qf),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...zp.left1,labels:["1"]},{...zp.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Df,texts:G5,bounds:Kt,refblocks:Jp,circles:Uf}=k,$p=e({primitives:[...Object.values(Df),...Object.values(Uf),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Jp.left1,labels:["1"]},{...Jp.right1,labels:["2"]}],size:{width:Kt.width,height:Kt.height},center:{x:Kt.centerX,y:Kt.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:Gf,texts:Q5,bounds:te,refblocks:Mp,circles:Wf}=k,Cp=e({primitives:[...Object.values(Gf),...Object.values(Wf),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Mp.left1,labels:["1"]},{...Mp.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{paths:Hf,texts:rg,bounds:Np,refblocks:Ip,circles:Zf}=j,Bp=e({primitives:[...Object.values(Hf),...Object.values(Zf),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...Ip.left1,labels:["1"]},{...Ip.right1,labels:["2"]}],center:{x:Np.centerX,y:Np.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var _t={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:Kf,texts:ag,bounds:qp,refblocks:Dp,circles:th}=_t,Up=e({primitives:[...Object.values(Kf),...Object.values(th),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Dp.left1,labels:["1"]},{...Dp.right1,labels:["2"]}],center:{x:qp.centerX,y:qp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:eh,texts:mg,bounds:Gp,refblocks:Wp,circles:rh}=_t,ee=e({primitives:[...Object.values(eh),...Object.values(rh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Wp.left1,labels:["1"]},{...Wp.right1,labels:["2"]}],center:{x:Gp.centerX,y:Gp.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Hp=E(ee);var{paths:oh,texts:_g,bounds:Zp,refblocks:Qp,circles:ih}=_t,Kp=e({primitives:[...Object.values(oh),...Object.values(ih),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Qp.left1,labels:["1"]},{...Qp.right1,labels:["2"]}],center:{x:Zp.centerX,y:Zp.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var z={paths:{path27:{type:"path",points:[{x:.52,y:.02},{x:.07,y:.02}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.09,y:.02},{x:-.54,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:ph,texts:Ag,bounds:re,refblocks:ta,circles:ah}=z,ea=e({primitives:[...Object.values(ph),...Object.values(ah),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.2,y:.2094553499999995}],ports:[{...ta.left1,labels:["1"]},{...ta.right1,labels:["2"]}],size:{width:re.width,height:re.height},center:{x:re.centerX,y:re.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var ra=e(z).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var O={paths:{"path27-5":{type:"path",points:[{x:.45,y:.02},{x:0,y:.02}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:0,y:.28},{x:0,y:-.25}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.09,y:-.14},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.17},{x:-.09,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26,y:.25},{x:.12,y:.25},{x:.12,y:.25},{x:.26,y:.25}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.18},{x:.19,y:.18},{x:.19,y:.32}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.54,y:.02},right1:{x:.45,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:xh,texts:Xg,bounds:oe,refblocks:oa,circles:sh}=O,ia=e({primitives:[...Object.values(xh),...Object.values(sh),{type:"text",text:"{REF}",x:.1,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...oa.left1,labels:["2","neg"]},{...oa.right1,labels:["1","pos"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").build();var la=e(O).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:mh,texts:Jg,bounds:ie,refblocks:pa,circles:nh}=O,aa=e({primitives:[...Object.values(mh),...Object.values(nh),{type:"text",text:"{REF}",x:0,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-0,y:.4094553499999995}],ports:[{...pa.left1,labels:["2","neg"]},{...pa.right1,labels:["1","pos"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build();var{paths:fh,texts:Ng,bounds:le,refblocks:ya,circles:hh}=O,xa=e({primitives:[...Object.values(fh),...Object.values(hh),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.3,y:.2094553499999995}],ports:[{...ya.left1,labels:["2","neg"]},{...ya.right1,labels:["1","pos"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").build();var sa=e(z).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:ch,texts:Wg,bounds:pe,refblocks:ma,circles:dh}=z,na=e({primitives:[...Object.values(ch),...Object.values(dh),{type:"text",text:"{REF}",x:.2,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...ma.left1,labels:["1"]},{...ma.right1,labels:["2"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.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:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,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:_h,texts:t3,bounds:ae,refblocks:fa,circles:gh}=A,ha=e({primitives:[...Object.values(_h),...Object.values(gh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...fa.left1,labels:["1"]},{...fa.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var ca=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:uh,texts:a3,bounds:ye,refblocks:da,circles:vh}=A,ba=e({primitives:[...Object.values(uh),...Object.values(vh),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...da.left1,labels:["1"]},{...da.right1,labels:["2"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var _a=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:wh,texts:h3,bounds:xe,refblocks:ga,circles:Ah}=A,ua=e({primitives:[...Object.values(wh),...Object.values(Ah),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ga.left1,labels:["1"]},{...ga.right1,labels:["2"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Ph,texts:_3,bounds:se,refblocks:va,circles:Sh}=A,wa=e({primitives:[...Object.values(Ph),...Object.values(Sh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...va.left1,labels:["1"]},{...va.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 J={paths:{path27:{type:"path",points:[{x:.52,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:.69},{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:-.72},{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:Rh,texts:A3,bounds:me,refblocks:ne,circles:Th}=J,Aa=e({primitives:[...Object.values(Rh),...Object.values(Th),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...ne.left1,labels:["1"]},{...ne.right1,labels:["3"]},{...ne.bottom1,labels:["2"]},{...ne.top1,labels:["4"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Pa=e(J).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Sa=e(J).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:Eh,texts:V3,bounds:fe,refblocks:he,circles:Yh}=J,Fa=e({primitives:[...Object.values(Eh),...Object.values(Yh),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...he.left1,labels:["1"]},{...he.right1,labels:["3"]},{...he.bottom1,labels:["2"]},{...he.top1,labels:["4"]}],size:{width:fe.width,height:fe.height},center:{x:fe.centerX,y:fe.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var $={paths:{path27:{type:"path",points:[{x:.52,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,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:Lh,texts:J3,bounds:ce,refblocks:Ra,circles:Vh}=$,Ta=e({primitives:[...Object.values(Lh),...Object.values(Vh),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Ra.left1,labels:["1"]},{...Ra.right1,labels:["2"]}],size:{width:ce.width,height:ce.height},center:{x:ce.centerX,y:ce.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ea=e($).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Ya=e($).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:jh,texts:G3,bounds:de,refblocks:Xa,circles:kh}=$,La=e({primitives:[...Object.values(jh),...Object.values(kh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...Xa.left1,labels:["1"]},{...Xa.right1,labels:["2"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_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.15}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.96},{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 Va=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 ja=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var ka=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 za=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Oa=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 Ja=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 $a={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Jh,texts:$h,bounds:be,refblocks:Ma,circles:Mh}=$a,At=s({primitives:[...Object.values(Jh),...Object.values(Mh),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...$h.left1,x:0,y:.01,anchor:"center",fontSize:.3}],ports:[{...Ma.left1,labels:["1"]},{...Ma.right1,labels:["2"]}],size:{width:be.width,height:be.height},center:{x:be.centerX,y:be.centerY}});function Ch(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function Nh(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:cr,2:dr,...Ih}=At.primitives;Ch(dr)&&dr.points.map(t=>{t.y+=.05});Nh(cr)&&(cr.y+=.025);function Bh(t){return typeof t=="object"}var Ca=r({...At,primitives:Object.values(Ih).filter(Bh)}),Na={...Ca,primitives:[...Ca.primitives,cr,dr]};var S={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,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:Dh,texts:Su,bounds:_e,refblocks:Ia,circles:Uh}=S,Ba=e({primitives:[...Object.values(Dh),...Object.values(Uh),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Ia.left1,labels:["1"]},{...Ia.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Gh,texts:Eu,bounds:ge,refblocks:qa,circles:Wh}=S,Da=e({primitives:[...Object.values(Gh),...Object.values(Wh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...qa.left1,labels:["1"]},{...qa.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Hh,texts:Vu,bounds:ue,refblocks:Ua,circles:Zh}=S,Ga=e({primitives:[...Object.values(Hh),...Object.values(Zh),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...Ua.left1,labels:["1"]},{...Ua.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Qh,texts:Ou,bounds:ve,refblocks:Wa,circles:Kh}=S,Ha=e({primitives:[...Object.values(Qh),...Object.values(Kh),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Wa.left1,labels:["1"]},{...Wa.right1,labels:["2"]}],size:{width:ve.width,height:ve.height},center:{x:ve.centerX,y:ve.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:tc,texts:Cu,bounds:we,refblocks:Za,circles:ec}=S,Qa=e({primitives:[...Object.values(tc),...Object.values(ec),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Za.left1,labels:["1"]},{...Za.right1,labels:["2"]}],size:{width:we.width,height:we.height},center:{x:we.centerX,y:we.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:rc,texts:qu,bounds:Ae,refblocks:Ka,circles:oc}=S,ty=e({primitives:[...Object.values(rc),...Object.values(oc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Ka.left1,labels:["1"]},{...Ka.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var F={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,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 ey=e(F).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 ry=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var oy=e(F).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 iy=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var ly=e(F).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 py=e(F).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 ay={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 M=e(ay).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var yy=r(M,"down");var xy=r(M,"left");var sy=r(M,"up");var my={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,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:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,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 C=e(my).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 br=r(C,"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_bottom";gr.anchor="middle_top";_r.x=0;_r.y+=.537;gr.y-=.5375;gr.x=0;var ny=br;var ur=r(C,"left"),vr=ur.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wr=ur.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vr.anchor="middle_bottom";wr.anchor="middle_top";vr.x=0;vr.y+=1;wr.y-=1;wr.x=0;var fy=ur;var Ar=r(C,"up"),Pr=Ar.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Sr=Ar.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pr.anchor="middle_bottom";Sr.anchor="middle_top";Pr.x=0;Pr.y+=.537;Sr.y-=.5375;Sr.x=0;var hy=Ar;var cy={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,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:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,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 N=e(cy).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(N,"down"),Rr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Tr=Fr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rr.anchor="middle_bottom";Tr.anchor="middle_top";Rr.x=0;Rr.y+=.565;Tr.y-=.555;Tr.x=0;var dy=Fr;var Er=r(N,"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.09;Xr.y-=1.09;Xr.x=0;var by=Er;var Lr=r(N,"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+=.565;jr.y-=.555;jr.x=0;var _y=Lr;var gy={paths:{path11:{type:"path",points:[{x:-.36,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:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,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:.37,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 I=e(gy).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var kr=r(I,"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=.4;zr.y+=.265;Or.y-=.265;Or.x=.4;var uy=kr;var Jr=r(I,"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+=.67;Mr.y-=.67;Mr.x=0;var vy=Jr;var Cr=r(I,"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=.46;Nr.y+=.265;Ir.y-=.265;Ir.x=.46;var wy=Cr;var Ay={paths:{path11:{type:"path",points:[{x:-.36,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:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,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:.37,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 B=e(Ay).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Br=r(B,"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+=.295;Dr.y-=.295;Dr.x=.42;var Py=Br;var Ur=r(B,"left"),Gr=Ur.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wr=Ur.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gr.anchor="middle_bottom";Wr.anchor="middle_top";Gr.x=0;Gr.y+=.795;Wr.y-=.795;Wr.x=0;var Sy=Ur;var Hr=r(B,"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+=.315;Qr.y-=.315;Qr.x=.46;var Fy=Hr;var Pe={paths:{path5:{type:"path",points:[{x:-.42,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.43,y:0}],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:mc,texts:F7,bounds:Se,refblocks:Ry,circles:nc}=Pe,Fe=e({primitives:[...Object.values(mc),...Object.values(nc),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...Ry.left1,labels:["1"]},{...Ry.right1,labels:["2"]}],size:{width:Se.width,height:Se.height},center:{x:Se.centerX,y:Se.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Kr=L(Fe),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_left";eo.anchor="middle_left";to.y+=.4;to.x=.32;eo.y-=.45;eo.x=.32;var Ty=Kr;var Re=e(Pe).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Ey=E(Re);var R={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.46,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:hc,texts:C7,bounds:Te,refblocks:Yy,circles:cc}=R,Xy=e({primitives:[...Object.values(hc),...Object.values(cc),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...Yy.left1,labels:["1"]},{...Yy.right1,labels:["2"]}],size:{width:Te.width,height:Te.height},center:{x:Te.centerX,y:Te.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:dc,texts:q7,bounds:Ee,refblocks:Ly,circles:bc}=R,Vy=e({primitives:[...Object.values(dc),...Object.values(bc),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Ly.left1,labels:["1"]},{...Ly.right1,labels:["2"]}],size:{width:Ee.width,height:Ee.height},center:{x:Ee.centerX,y:Ee.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:_c,texts:W7,bounds:Ye,refblocks:jy,circles:gc}=R,ky=e({primitives:[...Object.values(_c),...Object.values(gc),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...jy.left1,labels:["1"]},{...jy.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:uc,texts:K7,bounds:Xe,refblocks:zy,circles:vc}=R,Oy=e({primitives:[...Object.values(uc),...Object.values(vc),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...zy.left1,labels:["1"]},{...zy.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:wc,texts:ov,bounds:Le,refblocks:Jy,circles:Ac}=R,$y=e({primitives:[...Object.values(wc),...Object.values(Ac),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Jy.left1,labels:["1"]},{...Jy.right1,labels:["2"]}],size:{width:Le.width,height:Le.height},center:{x:Le.centerX,y:Le.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Pc,texts:av,bounds:Ve,refblocks:My,circles:Sc}=R,Cy=e({primitives:[...Object.values(Pc),...Object.values(Sc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...My.left1,labels:["1"]},{...My.right1,labels:["2"]}],size:{width:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ny={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Rc,texts:Tc,bounds:je,refblocks:Iy,circles:Ec}=Ny,Pt=s({primitives:[...Object.values(Rc),...Object.values(Ec),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Tc.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Iy.left1,labels:["1"]},{...Iy.right1,labels:["2"]}],size:{width:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}});var{5:Yc,...Xc}=Pt.primitives;function Lc(t){return typeof t=="object"}var By=r({...Pt,primitives:Object.values(Xc).filter(Lc)}),qy={...By,primitives:[...By.primitives,Yc]};var Dy={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:jc,texts:kc,bounds:ke,refblocks:Uy}=Dy,ze=s({primitives:[...Object.values(jc),{...kc.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...Uy.left1,labels:["1"]},{...Uy.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}});var Gy=r(ze);var T={paths:{path1:{type:"path",points:[{x:-.29,y:0},{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 Wy=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var Hy=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Zy=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var Qy=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var Ky=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var tx=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var St={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.51,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:qv,texts:Dv,bounds:Uv,refblocks:Gv,circles:Wv}=St,ex=e(St).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var rx=e(St).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var ox={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 q=e(ox).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 ix=r(q,"down");var lx=E(q);var ro=r(q,"up"),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_left";io.anchor="middle_left";oo.y+=.21;oo.x=.44;io.y-=.21;io.x=.44;var px=ro;var ax={paths:{path11:{type:"path",points:[{x:-.39,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:-.54}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.54},{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 Oe=e(ax).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var lo=r(Oe),po=lo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yx=lo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");po.anchor="middle_left";yx.anchor="middle_right";po.x=.45;po.y+=.065;yx.y+=.065;var xx=lo;var sx={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:-.49,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:.49,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 Je=e(sx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var mx=r(Je),nx=mx.primitives.filter(t=>t.type==="text"),ao=nx.find(t=>t.text==="{VAL}");ao.x=-.35;ao.y=0;ao.anchor="middle_right";var yo=nx.find(t=>t.text==="{REF}");yo.y=0;yo.x=.35;yo.anchor="middle_left";var fx=mx;var hx={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:-.53,y:-.02}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.53,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:Nc,texts:cx,bounds:$e,refblocks:dx,circles:Ic}=hx,gt=s({primitives:[...Object.values(Nc),...Object.values(Ic),{...cx.top1,anchor:"middle_bottom"},{...cx.bottom1,anchor:"middle_top"}],ports:[{...dx.left1,labels:["1"]},{...dx.right1,labels:["2"]}],size:{width:$e.width,height:$e.height},center:{x:$e.centerX,y:$e.centerY}});var Me=r(gt,"up");var bx=L(Me);var _x=E(gt);var xo={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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}}};xo.bounds.width+=.2;var D=e(xo).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var so=r(D,"down"),mo=so.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),no=so.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mo.anchor="middle_left";no.anchor="middle_left";mo.y+=.9;mo.x=.3;no.y-=.1;no.x=.3;var gx=so;var fo=r(D,"left"),ho=fo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),co=fo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ho.anchor="middle_left";co.anchor="middle_left";ho.y+=.71;ho.x=.44;co.y-=.71;co.x=.44;var ux=fo;var bo=r(D,"up"),_o=bo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),go=bo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_o.anchor="middle_left";go.anchor="middle_left";_o.y+=.1;_o.x=.3;go.y-=.71;go.x=.3;var vx=bo;var wx={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:.53,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:-.53,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:Dc,texts:Ax,bounds:Ce,refblocks:Px,circles:Uc}=wx,ut=s({primitives:[...Object.values(Dc),...Object.values(Uc),{...Ax.bottom1,anchor:"middle_top"},{...Ax.right1,anchor:"middle_bottom"}],ports:[{...Px.left1,labels:["1"]},{...Px.right1,labels:["2"]}],size:{width:Ce.width,height:Ce.height},center:{x:Ce.centerX,y:Ce.centerY}});var uo=r(ut,"up"),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+=.21;vo.x=.21;wo.y-=.21;wo.x=.21;var Ne=uo;var Ao=L(Ne),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+=.4;Po.x=.2;So.y-=.41;So.x=.2;var Sx=Ao;var Fx=E(ut);var Rx={paths:{path11:{type:"path",points:[{x:-.51,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:.51,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:Wc,texts:Tx,bounds:Ie,refblocks:Ex,circles:Hc}=Rx,Be=s({primitives:[...Object.values(Wc),...Object.values(Hc),{...Tx.top1,anchor:"middle_left",x:0},{...Tx.bottom1,anchor:"middle_left",x:0}],ports:[{...Ex.left1,labels:["1"]},{...Ex.right1,labels:["2"]}],size:{width:Ie.width,height:Ie.height},center:{x:Ie.centerX,y:Ie.centerY}});var Yx=r(Be),Xx=Yx.primitives.filter(t=>t.type==="text"),Fo=Xx.find(t=>t.text==="{VAL}");Fo.x=-.35;Fo.y=0;Fo.anchor="middle_right";var Ro=Xx.find(t=>t.text==="{REF}");Ro.y=0;Ro.x=.35;Ro.anchor="middle_left";var Lx=Yx;var Vx={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:.53},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.53},{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:Qc,texts:jx,bounds:qe,refblocks:To}=Vx,De=s({primitives:[...Object.values(Qc),{...jx.right1,anchor:"middle_left"},{...jx.right2,anchor:"middle_left"}],ports:[{...To.top1,labels:["1"]},{...To.bottom1,labels:["2"]},{...To.left1,labels:["3"]}],size:{width:qe.width+.4,height:qe.height},center:{x:qe.centerX+.2,y:qe.centerY}});var Eo=r(De),kx=Eo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yo=Eo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");kx.anchor="middle_top";Yo.anchor="middle_top";kx.x=Yo.x;Yo.y+=.15;var zx=Eo;var Ox={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:-.49,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:.49,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:td,texts:Jx,bounds:Ue,refblocks:$x,circles:ed}=Ox,Ge=s({primitives:[...Object.values(td),...Object.values(ed),{...Jx.top1,anchor:"middle_bottom",x:0},{...Jx.bottom1,anchor:"middle_top",x:0}],ports:[{...$x.left1,labels:["1"]},{...$x.right1,labels:["2"]}],size:{width:Ue.width,height:Ue.height},center:{x:Ue.centerX+.006,y:Ue.centerY+.06}});var Xo=r(Ge),Ft=Xo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),We=Xo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ft.anchor="middle_left";We.anchor="middle_right";Ft.x=Ft.x-.03;Ft.y=Ft.y;We.x=We.x;We.y=0;var Mx=Xo;var Cx={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:od,texts:Nx,bounds:He,refblocks:Lo,circles:id}=Cx,Ze=s({primitives:[...Object.values(od),...Object.values(id),{...Nx.top1,anchor:"middle_right",x:0},{...Nx.bottom1,anchor:"middle_right",x:0}],ports:[{...Lo.top1,labels:["1","drain"]},{...Lo.bottom1,labels:["2","source"]},{...Lo.left1,labels:["3","gate"]}],size:{width:He.width,height:He.height},center:{x:He.centerX,y:He.centerY}});var Ix=r(Ze),Bx=Ix.primitives.filter(t=>t.type==="text"),Vo=Bx.find(t=>t.text==="{VAL}");Vo.x=-.35;Vo.y=0;Vo.anchor="middle_right";var jo=Bx.find(t=>t.text==="{REF}");jo.y=0;jo.x=.35;jo.anchor="middle_left";var qx=Ix;var Dx={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:pd,texts:Ux,bounds:Qe,refblocks:ko,circles:ad}=Dx,Ke=s({primitives:[...Object.values(pd),...Object.values(ad),{...Ux.top1,anchor:"middle_right",x:0},{...Ux.bottom1,anchor:"middle_right",x:0}],ports:[{...ko.top1,labels:["1","drain"]},{...ko.bottom1,labels:["2","source"]},{...ko.left1,labels:["3","gate"]}],size:{width:Qe.width,height:Qe.height},center:{x:Qe.centerX,y:Qe.centerY}});var Gx=r(Ke),Wx=Gx.primitives.filter(t=>t.type==="text"),zo=Wx.find(t=>t.text==="{VAL}");zo.x=-.35;zo.y=0;zo.anchor="middle_right";var Oo=Wx.find(t=>t.text==="{REF}");Oo.y=0;Oo.x=.35;Oo.anchor="middle_left";var Hx=Gx;var Zx={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{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:xd,texts:Qx,bounds:t0,refblocks:Jo,circles:sd}=Zx,e0=s({primitives:[...Object.values(xd),...Object.values(sd),{...Qx.top1,anchor:"middle_right",x:0},{...Qx.bottom1,anchor:"middle_right",x:0}],ports:[{...Jo.top1,labels:["1","drain"]},{...Jo.bottom1,labels:["2","source"]},{...Jo.left1,labels:["3","gate"]}],size:{width:t0.width,height:t0.height},center:{x:t0.centerX,y:t0.centerY}});var Kx=r(e0),ts=Kx.primitives.filter(t=>t.type==="text"),$o=ts.find(t=>t.text==="{VAL}");$o.x=-.35;$o.y=0;$o.anchor="middle_right";var Mo=ts.find(t=>t.text==="{REF}");Mo.y=0;Mo.x=.35;Mo.anchor="middle_left";var es=Kx;var rs={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:nd,bounds:os,refblocks:fd}=rs,U=e({primitives:[...Object.values(nd)],ports:[{...fd.left1,labels:["1"]}],center:{x:os.centerX,y:os.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var is=r(U,"down");var ls=r(U,"left");var ps=r(U,"up");var g={paths:{path11:{type:"path",points:[{x:-.39,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:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{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:cd,texts:_A,bounds:r0,refblocks:Co,circles:dd}=g,as=e({primitives:[...Object.values(cd),...Object.values(dd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...Co.top1,labels:["1","collector"]},{...Co.bottom1,labels:["2","emitter"]},{...Co.left1,labels:["3","base"]}],size:{width:r0.width,height:r0.height},center:{x:r0.centerX,y:r0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:wA,texts:AA,bounds:PA,refblocks:SA,circles:FA}=g,ys=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:bd,texts:YA,bounds:o0,refblocks:No,circles:_d}=g,xs=e({primitives:[...Object.values(bd),...Object.values(_d),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...No.top1,labels:["1","collector"]},{...No.bottom1,labels:["2","emitter"]},{...No.left1,labels:["3","base"]}],size:{width:o0.width,height:o0.height},center:{x:o0.centerX,y:o0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:gd,texts:jA,bounds:i0,refblocks:Io,circles:ud}=g,ss=e({primitives:[...Object.values(gd),...Object.values(ud),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Io.top1,labels:["1","collector"]},{...Io.bottom1,labels:["2","emitter"]},{...Io.left1,labels:["3","base"]}],size:{width:i0.width,height:i0.height},center:{x:i0.centerX,y:i0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:vd,texts:JA,bounds:l0,refblocks:Bo,circles:wd}=g,ms=e({primitives:[...Object.values(vd),...Object.values(wd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Bo.top1,labels:["1","collector"]},{...Bo.bottom1,labels:["2","emitter"]},{...Bo.left1,labels:["3","base"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Ad,texts:NA,bounds:p0,refblocks:qo,circles:Pd}=g,ns=e({primitives:[...Object.values(Ad),...Object.values(Pd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...qo.top1,labels:["1","collector"]},{...qo.bottom1,labels:["2","emitter"]},{...qo.left1,labels:["3","base"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var fs={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:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:-.05},{x:-.23,y:-.12}],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 G=e(fs).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var hs=r(G,"down");var cs=r(G,"left");var ds=r(G,"up");var bs={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:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,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:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,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 W=e(bs).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 _s=r(W,"down");var gs=r(W,"left");var us=r(W,"up");var vs={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:Td,texts:ws,bounds:a0,refblocks:Do,circles:Ed}=vs,y0=s({primitives:[...Object.values(Td),...Object.values(Ed),{...ws.top1,anchor:"middle_right",x:0},{...ws.bottom1,anchor:"middle_right",x:0}],ports:[{...Do.top1,labels:["1","drain"]},{...Do.bottom1,labels:["2","source"]},{...Do.left1,labels:["3","gate"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}});var As=r(y0),Ps=As.primitives.filter(t=>t.type==="text"),Uo=Ps.find(t=>t.text==="{VAL}");Uo.x=-.35;Uo.y=0;Uo.anchor="middle_right";var Go=Ps.find(t=>t.text==="{REF}");Go.y=0;Go.x=.35;Go.anchor="middle_left";var Ss=As;var Fs={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:Xd,texts:Rs,bounds:x0,refblocks:Wo,circles:Ld}=Fs,s0=s({primitives:[...Object.values(Xd),...Object.values(Ld),{...Rs.top1,anchor:"middle_right",x:0},{...Rs.bottom1,anchor:"middle_right",x:0}],ports:[{...Wo.top1,labels:["1","drain"]},{...Wo.bottom1,labels:["2","source"]},{...Wo.left1,labels:["3","gate"]}],size:{width:x0.width,height:x0.height},center:{x:x0.centerX,y:x0.centerY}});var Ts=r(s0),Es=Ts.primitives.filter(t=>t.type==="text"),Ho=Es.find(t=>t.text==="{VAL}");Ho.x=-.35;Ho.y=0;Ho.anchor="middle_right";var Zo=Es.find(t=>t.text==="{REF}");Zo.y=0;Zo.x=.35;Zo.anchor="middle_left";var Ys=Ts;var Xs={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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 m0=e(Xs).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Ls=r(m0),jd=Ls.primitives.filter(t=>t.type==="text"),Vs=jd.find(t=>t.text==="{REF}");Vs.y=0;Vs.anchor="middle_left";var js=Ls;var ks={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{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:zd,texts:zs,bounds:n0,refblocks:Qo,circles:Od}=ks,f0=s({primitives:[...Object.values(zd),...Object.values(Od),{...zs.top1,anchor:"middle_right",x:0},{...zs.bottom1,anchor:"middle_right"}],ports:[{...Qo.top1,labels:["1","drain"]},{...Qo.bottom1,labels:["2","source"]},{...Qo.left1,labels:["3","gate"]}],size:{width:n0.width,height:n0.height},center:{x:n0.centerX,y:n0.centerY}});var Os=r(f0),Js=Os.primitives.filter(t=>t.type==="text"),Ko=Js.find(t=>t.text==="{VAL}");Ko.x=-.35;Ko.y=0;Ko.anchor="middle_right";var ti=Js.find(t=>t.text==="{REF}");ti.y=0;ti.x=.35;ti.anchor="middle_left";var $s=Os;var u={paths:{path11:{type:"path",points:[{x:-.39,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:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{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:$d,texts:UP,bounds:h0,refblocks:ei,circles:Md}=u,Ms=e({primitives:[...Object.values($d),...Object.values(Md),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...ei.top1,labels:["1","collector"]},{...ei.bottom1,labels:["2","emitter"]},{...ei.left1,labels:["3","base"]}],size:{width:h0.width,height:h0.height},center:{x:h0.centerX,y:h0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:ZP,texts:QP,bounds:KP,refblocks:tS,circles:eS}=u,Cs=e(u).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:Cd,texts:lS,bounds:c0,refblocks:ri,circles:Nd}=u,Ns=e({primitives:[...Object.values(Cd),...Object.values(Nd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ri.top1,labels:["1","collector"]},{...ri.bottom1,labels:["2","emitter"]},{...ri.left1,labels:["3","base"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:Id,texts:xS,bounds:d0,refblocks:oi,circles:Bd}=u,Is=e({primitives:[...Object.values(Id),...Object.values(Bd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...oi.top1,labels:["1","collector"]},{...oi.bottom1,labels:["2","emitter"]},{...oi.left1,labels:["3","base"]}],size:{width:d0.width,height:d0.height},center:{x:d0.centerX,y:d0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:qd,texts:fS,bounds:b0,refblocks:ii,circles:Dd}=u,Bs=e({primitives:[...Object.values(qd),...Object.values(Dd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ii.top1,labels:["1","collector"]},{...ii.bottom1,labels:["2","emitter"]},{...ii.left1,labels:["3","base"]}],size:{width:b0.width,height:b0.height},center:{x:b0.centerX,y:b0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Ud,texts:bS,bounds:_0,refblocks:li,circles:Gd}=u,qs=e({primitives:[...Object.values(Ud),...Object.values(Gd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...li.top1,labels:["1","collector"]},{...li.bottom1,labels:["2","emitter"]},{...li.left1,labels:["3","base"]}],size:{width:_0.width,height:_0.height},center:{x:_0.centerX,y:_0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Ds={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:-.51,y:.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:.51},{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:.5,y:.01},{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:.01,y:-.51}],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:Hd,texts:Us,bounds:g0,refblocks:Gs}=Ds,u0=s({primitives:[...Object.values(Hd),{...Us.bottom1,y:.35,anchor:"middle_top"},{...Us.top1,anchor:"middle_left"}],ports:[{...Gs.left1,labels:["1"]},{...Gs.right1,labels:["2"]}],size:{width:g0.width+.05,height:g0.height},center:{x:g0.centerX,y:g0.centerY}});var Zd=r(u0),Ws=Zd;var Hs={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},path23:{type:"path",points:[{x:.28,y:-.28},{x:.18,y:-.25},{x:.25,y:-.18}],color:"primary",fill:!0},path24:{type:"path",points:[{x:.29,y:-.29},{x:.25,y:-.17},{x:.16,y:-.26}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.23,y:-.23}],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:Kd,texts:Zs,bounds:v0,refblocks:Qs}=Hs,H=s({primitives:[...Object.values(Kd),{...Zs.bottom1,x:0,y:-.35,anchor:"middle_top"},{...Zs.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...Qs.left1,labels:["1"]},{...Qs.right1,labels:["2"]}],size:{width:v0.width+.05,height:v0.height},center:{x:v0.centerX,y:v0.centerY}});var pi=r(H,"down"),ai=pi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),yi=pi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ai.anchor="middle_left";yi.anchor="middle_left";ai.y+=.31;ai.x=.34;yi.y-=.31;yi.x=.34;var Ks=pi;var xi=r(H,"left"),si=xi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),mi=xi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");si.anchor="middle_bottom";mi.anchor="middle_top";si.y+=.73;si.x=0;mi.y-=.7;mi.x=0;var tm=xi;var ni=r(H,"up"),fi=ni.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hi=ni.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fi.anchor="middle_left";hi.anchor="middle_left";fi.y+=.21;fi.x=.34;hi.y-=.21;hi.x=.34;var em=ni;var Z={paths:{path1:{type:"path",points:[{x:-.4,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:.4,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:e2,texts:NS,bounds:w0,refblocks:ci,circles:r2}=Z,rm=e({primitives:[...Object.values(e2),...Object.values(r2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...ci.left,labels:["1"]},{...ci.right,labels:["3"]},{...ci.bottom,labels:["2"]}],size:{width:w0.width,height:w0.height},center:{x:w0.centerX,y:w0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:o2,texts:DS,bounds:A0,refblocks:di,circles:i2}=Z,om=e({primitives:[...Object.values(o2),...Object.values(i2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...di.left,labels:["1"]},{...di.right,labels:["3"]},{...di.bottom,labels:["2"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var im=e(Z).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:l2,texts:KS,bounds:P0,refblocks:bi,circles:p2}=Z,lm=e({primitives:[...Object.values(l2),...Object.values(p2),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{...bi.left,labels:["1"]},{...bi.right,labels:["3"]},{...bi.bottom,labels:["2"]}],size:{width:P0.width,height:P0.height},center:{x:P0.centerX,y:P0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var pm={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,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:y2,texts:iF,bounds:S0,refblocks:am,circles:x2}=pm,F0=s({primitives:[...Object.values(y2),...Object.values(x2),{type:"text",text:"{REF}",x:-.15,y:-.42330070000000064,anchor:"middle_top"},{type:"text",text:"{VAL}",x:-.15,y:.42330070000000064,anchor:"middle_bottom"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...am.left1,labels:["1"]},{...am.right1,labels:["2"]}],size:{width:S0.width,height:S0.height},center:{x:S0.centerX,y:S0.centerY}});var ym=r(F0),_i=ym.primitives.filter(t=>t.type==="text"),gi=_i.find(t=>t.text==="{REF}"),ui=_i.find(t=>t.text==="{VAL}"),vi=_i.find(t=>t.text==="COS \u03C6");gi.x=.35;gi.y=0;gi.anchor="middle_left";ui.anchor="middle_right";ui.x=-.35;ui.y=0;vi.x=0;vi.y=0;vi.anchor="center";var xm=ym;var sm={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:-.49,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:.49,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:m2,texts:mm,bounds:R0,refblocks:nm,circles:n2}=sm,T0=s({primitives:[...Object.values(m2),...Object.values(n2),{...mm.top1,anchor:"middle_left"},{...mm.bottom1,anchor:"middle_left"}],ports:[{...nm.left1,labels:["1"]},{...nm.right1,labels:["2"]}],size:{width:R0.width,height:R0.height},center:{x:R0.centerX,y:R0.centerY}});var fm=r(T0,"up");var hm={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:-.49,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:.49,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:h2,texts:cm,bounds:E0,refblocks:dm,circles:c2}=hm,Y0=s({primitives:[...Object.values(h2),...Object.values(c2),{...cm.top1,anchor:"middle_left"},{...cm.bottom1,anchor:"middle_left"}],ports:[{...dm.left1,labels:["1"]},{...dm.right1,labels:["2"]}],size:{width:E0.width,height:E0.height},center:{x:E0.centerX,y:E0.centerY}});var bm=r(Y0,"up");var Q={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:b2,texts:FF,bounds:_m,refblocks:_2,circles:g2}=Q,gm=e({primitives:[...Object.values(b2),...Object.values(g2),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{..._2.left1,labels:["1"]}],center:{x:_m.centerX,y:_m.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:u2,texts:YF,bounds:um,refblocks:v2,circles:w2}=Q,vm=e({primitives:[...Object.values(u2),...Object.values(w2),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...v2.left1,labels:["1"]}],center:{x:um.centerX,y:um.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:A2,texts:jF,bounds:wm,refblocks:P2,circles:S2}=Q,Am=e({primitives:[...Object.values(A2),...Object.values(S2),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...P2.left1,labels:["1"]}],center:{x:wm.centerX,y:wm.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:F2,texts:JF,bounds:Pm,refblocks:R2}=Q,Sm=e({primitives:[...Object.values(F2),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...R2.left1,labels:["1"]}],center:{x:Pm.centerX,y:Pm.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Fm={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:-.51,y:-.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:-.51},{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:.5,y:-.01},{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:.01,y:.51}],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:E2,texts:Rm,bounds:X0,refblocks:L0,circles:Y2}=Fm,V0=s({primitives:[...Object.values(E2),...Object.values(Y2),{...Rm.top1,anchor:"middle_right"},{...Rm.bottom1,anchor:"middle_right"}],ports:[{...L0.top1,labels:["1"]},{...L0.bottom1,labels:["2"]},{...L0.left1,labels:["3"]},{...L0.right1,labels:["4"]}],size:{width:X0.width,height:X0.height},center:{x:X0.centerX,y:X0.centerY}});var wi=r(V0),X2=wi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),L2=wi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");X2.anchor="middle_left";L2.anchor="middle_right";var Tm=wi;var K={paths:{path27:{type:"path",points:[{x:.46,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.46,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:j2,texts:HF,bounds:j0,refblocks:Em,circles:k2}=K,Ym=e({primitives:[...Object.values(j2),...Object.values(k2),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Em.left1,labels:["1"]},{...Em.right1,labels:["2"]}],size:{width:j0.width,height:j0.height},center:{x:j0.centerX,y:j0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:z2,texts:tR,bounds:k0,refblocks:Xm,circles:O2}=K,Lm=e({primitives:[...Object.values(z2),...Object.values(O2),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...Xm.left1,labels:["1"]},{...Xm.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:J2,texts:iR,bounds:z0,refblocks:Vm,circles:$2}=K,jm=e({primitives:[...Object.values(J2),...Object.values($2),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Vm.left1,labels:["1"]},{...Vm.right1,labels:["2"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:M2,texts:yR,bounds:O0,refblocks:km,circles:C2}=K,zm=e({primitives:[...Object.values(M2),...Object.values(C2),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...km.left1,labels:["1"]},{...km.right1,labels:["2"]}],size:{width:O0.width,height:O0.height},center:{x:O0.centerX,y:O0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var J0={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:-.75,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:I2,texts:Om,bounds:$0,refblocks:Ai,circles:B2}=J0,tt=s({primitives:[...Object.values(I2),...Object.values(B2),{...Om.top1,anchor:"middle_bottom"},{...Om.bottom1,anchor:"middle_top"}],ports:[{...Ai.left1,labels:["1"]},{...Ai.right1,labels:["2"]},{...Ai.right2,labels:["3"]}],size:{width:$0.width,height:$0.height},center:{x:$0.centerX,y:$0.centerY}});var Pi=r(tt,"down"),Si=Pi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fi=Pi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Si.anchor="middle_bottom";Fi.anchor="middle_top";Si.y+=.3;Si.x+=.101;Fi.y-=.49999;Fi.x+=1.19999;var Jm=Pi;var{paths:q2,texts:gR,bounds:M0,refblocks:Ri,circles:D2}=J0,C0=s({primitives:[...Object.values(q2),...Object.values(D2),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Ri.left1,labels:["1"]},{...Ri.right1,labels:["2"]},{...Ri.right2,labels:["3"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}});var Ti=r(tt,"left"),Ei=Ti.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yi=Ti.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ei.anchor="middle_bottom";Yi.anchor="middle_top";Ei.y+=.99;Ei.x-=0;Yi.y-=1.10999;Yi.x=0;var $m=Ti;var Xi=r(tt,"up"),Li=Xi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vi=Xi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Li.anchor="middle_bottom";Vi.anchor="middle_top";Li.y+=.499;Li.x=.62;Vi.y-=.29999;Vi.x+=.1;var Mm=Xi;var Cm=r(C0);var Nm={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 et=e(Nm).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var ji=r(et,"down"),ki=ji.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zi=ji.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ki.anchor="middle_left";zi.anchor="middle_left";ki.y+=.3;ki.x=.3;zi.y-=.3;zi.x=.3;var Im=ji;var Oi=r(et,"left"),Ji=Oi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),$i=Oi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ji.anchor="middle_bottom";$i.anchor="middle_top";Ji.y+=.5;Ji.x=0;$i.y-=.55;$i.x=0;var Bm=Oi;var Mi=r(et,"up"),Ci=Mi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ni=Mi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ci.anchor="middle_left";Ni.anchor="middle_left";Ci.y+=.3;Ci.x=.3;Ni.y-=.3;Ni.x=.3;var qm=Mi;var Ii={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.51,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:-.33}],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:DR,texts:UR,bounds:GR,refblocks:WR,circles:HR}=Ii,N0=e(Ii).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Dm=r(N0),W2=Dm.primitives.filter(t=>t.type==="text"),Um=W2.find(t=>t.text==="{REF}");Um.y=0;Um.anchor="middle_left";var Gm=Dm;var rt={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{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 Wm=e(rt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var Hm=e(rt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var Zm=e(rt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Qm=e(rt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var ot={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{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 Km=e(ot).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var tn=e(ot).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var en=e(ot).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var rn=e(ot).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var it={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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 on=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var ln=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var pn=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var an=e(it).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var lt={paths:{path44:{type:"path",points:[{x:-.22,y:.1},{x:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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 yn=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var xn=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var sn=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var mn=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:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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 nn=e(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var fn=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var hn=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var cn=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:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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 dn=e(at).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var bn=e(at).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var _n=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 un={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,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 yt=e(un).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Bi=r(yt,"down"),qi=Bi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Di=Bi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");qi.anchor="middle_bottom";Di.anchor="middle_top";qi.x=.44;qi.y+=.28;Di.y-=.28;Di.x=.44;var vn=Bi;var Ui=r(yt,"left"),Gi=Ui.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Wi=Ui.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Gi.anchor="middle_bottom";Wi.anchor="middle_top";Gi.x=0;Gi.y+=.625;Wi.y-=.695;Wi.x=0;var wn=Ui;var Hi=r(yt,"up"),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.x=.4;Zi.y+=.28;Qi.y-=.28;Qi.x=.4;var An=Hi;var Pn={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,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(Pn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Ki=r(xt,"down"),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.x=.44;tl.y+=.28;el.y-=.28;el.x=.44;var Sn=Ki;var rl=r(xt,"left"),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_bottom";il.anchor="middle_top";ol.x=0;ol.y+=.625;il.y-=.695;il.x=0;var Fn=rl;var ll=r(xt,"up"),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.x=.4;pl.y+=.28;al.y-=.28;al.x=.4;var Rn=ll;var Rt={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],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:.13,y:0},{x:.37,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 Rt.refblocks.left1;delete Rt.refblocks.right1;Rt.bounds.width+=.2;var st=e(Rt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var yl=r(st,"down"),xl=yl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),sl=yl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");xl.anchor="middle_bottom";sl.anchor="middle_top";xl.x=.3;xl.y+=.265;sl.y-=.265;sl.x=.3;var Tn=yl;var ml=r(st,"left"),nl=ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),fl=ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");nl.anchor="middle_bottom";fl.anchor="middle_top";nl.x=0;nl.y+=.57;fl.y-=.57;fl.x=0;var En=ml;var hl=r(st,"up"),cl=hl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),dl=hl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cl.anchor="middle_bottom";dl.anchor="middle_top";cl.x=.3;cl.y+=.265;dl.y-=.265;dl.x=.3;var Yn=hl;var Tt={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],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:.13,y:0},{x:.37,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 Tt.refblocks.left1;delete Tt.refblocks.right1;Tt.bounds.width+=.2;var mt=e(Tt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var bl=r(mt,"down"),_l=bl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),gl=bl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");_l.anchor="middle_bottom";gl.anchor="middle_top";_l.x=.3;_l.y+=.265;gl.y-=.265;gl.x=.3;var Xn=bl;var ul=r(mt,"left"),vl=ul.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),wl=ul.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");vl.anchor="middle_bottom";wl.anchor="middle_top";vl.x=0;vl.y+=.57;wl.y-=.57;wl.x=0;var Ln=ul;var Al=r(mt,"up"),Pl=Al.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Sl=Al.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Pl.anchor="middle_bottom";Sl.anchor="middle_top";Pl.x=.3;Pl.y+=.265;Sl.y-=.265;Sl.x=.3;var Vn=Al;var nt={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4403295000000007,y:.02621170000000017}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43977860000000035,y:.027926399999999685},{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 jn=e(nt).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 kn=e(nt).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 zn=e(nt).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var On=e(nt).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 Fl={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:$Y,texts:MY,bounds:CY,refblocks:NY,circles:IY}=Fl,I0=e(Fl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Jn=r(I0);var $n={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:x9,texts:s9,bounds:B0,refblocks:Mn,circles:m9}=$n,Et=s({primitives:[...Object.values(x9),...Object.values(m9),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...s9.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...Mn.left1,labels:["1"]},{...Mn.right1,labels:["2"]}],size:{width:B0.width,height:B0.height},center:{x:B0.centerX,y:B0.centerY}});var{5:n9,...f9}=Et.primitives;function h9(t){return typeof t=="object"}var Cn=r({...Et,primitives:Object.values(f9).filter(h9)}),Nn={...Cn,primitives:[...Cn.primitives,n9]};var ft=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 Bn=r(ft,"down"),In=Bn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");In&&(In.anchor="middle_top");var qn=Bn;var Dn=r(ft,"left");var Gn=r(ft,"up"),Un=Gn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Un&&(Un.anchor="middle_bottom");var Wn=Gn;var Hn={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:-.4,y:.2},{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 vt=e(Hn).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Rl=r(vt,"up"),Tl=Rl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),El=Rl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tl.anchor="middle_bottom";El.anchor="middle_top";Tl.x=.4;Tl.y+=.2;El.y-=.3;El.x=.4;var q0=Rl;var Yl=L(q0),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=.35;Xl.y+=.4;Ll.y-=.4;Ll.x=.35;var Zn=Yl;var Vl=r(vt,"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+=.5;kl.y-=.6;kl.x=0;var Qn=Vl;var zl={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,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:-.3}],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:TX,texts:EX,bounds:YX,refblocks:XX,circles:LX}=zl,D0=e(zl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Kn=r(D0),t1=Kn.primitives.filter(t=>t.type==="text"),b9=t1.find(t=>t.text==="{REF}"),_9=t1.find(t=>t.text==="{VAL}");b9.y=0;_9.y=0;var e1=Kn;var r1={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:u9,texts:o1,bounds:U0,refblocks:i1,circles:v9}=r1,G0=s({primitives:[...Object.values(u9),...Object.values(v9),{...o1.top1,anchor:"middle_bottom"},{...o1.bottom1,anchor:"middle_top"}],ports:[{...i1.left1,labels:["1"]},{...i1.right1,labels:["2"]}],size:{width:U0.width,height:U0.height},center:{x:U0.centerX,y:U0.centerY}});var Ol=r(G0),w9=Ol.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),A9=Ol.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");w9.anchor="middle_left";A9.anchor="middle_right";var l1=Ol;var p1={paths:{path11:{type:"path",points:[{x:-.33,y:.21},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.38}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.33}],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:S9,texts:a1,bounds:W0,refblocks:Jl,circles:F9}=p1,H0=s({primitives:[...Object.values(S9),...Object.values(F9),{...a1.top1,anchor:"middle_left"},{...a1.bottom1,anchor:"middle_right"}],ports:[{...Jl.top1,labels:["1"]},{...Jl.bottom1,labels:["2"]},{...Jl.left1,labels:["3"]}],size:{width:W0.width,height:W0.height},center:{x:W0.centerX,y:W0.centerY}});var y1=r(H0),x1=y1.primitives.filter(t=>t.type==="text"),R9=x1.find(t=>t.text==="{REF}");R9.y=.1;var s1=x1.find(t=>t.text==="{VAL}");s1.y=.1;s1.x=-.4;var m1=y1;var n1={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 f1=e(n1).changeTextAnchor("{REF}","middle_bottom").build();var h1={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Y9,texts:$l,bounds:Z0,refblocks:c1,circles:X9}=h1,Q0=s({primitives:[...Object.values(Y9),...Object.values(X9),{...$l.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...$l.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...$l.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...c1.left1,labels:["1"]},{...c1.right1,labels:["2"]}],size:{width:Z0.width,height:Z0.height},center:{x:Z0.centerX,y:Z0.centerY}});var d1=r(Q0);var b1={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:.53,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:V9,texts:_1,bounds:K0,refblocks:g1,circles:j9}=b1,tr=s({primitives:[...Object.values(V9),...Object.values(j9),{..._1.top1,anchor:"middle_bottom"},{..._1.bottom1,anchor:"middle_top"}],ports:[{...g1.left1,labels:["1"]},{...g1.right1,labels:["2"]}],size:{width:K0.width,height:K0.height},center:{x:K0.centerX,y:K0.centerY}});var Ml=r(tr),k9=Ml.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),z9=Ml.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");k9.anchor="middle_left";z9.anchor="middle_right";var u1=Ml;var v1={paths:{path5:{type:"path",points:[{x:-.52,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.53,y:0}],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:J9,texts:w1,bounds:er,refblocks:A1}=v1,rr=s({primitives:[...Object.values(J9),{...w1.top1,anchor:"middle_left"},{...w1.bottom1,anchor:"middle_right"}],ports:[{...A1.left1,labels:["1","-"]},{...A1.right1,labels:["2","+"]}],size:{width:er.width,height:er.height},center:{x:er.centerX,y:er.centerY}});var P1=r(rr);var S1={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:M9,texts:C9,bounds:or,refblocks:F1,circles:N9}=S1,Yt=s({primitives:[...Object.values(M9),...Object.values(N9),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...C9.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...F1.left1,labels:["1"]},{...F1.right1,labels:["2"]}],size:{width:or.width,height:or.height},center:{x:or.centerX,y:or.centerY}});var{5:I9,...B9}=Yt.primitives;function q9(t){return typeof t=="object"}var R1=r({...Yt,primitives:Object.values(B9).filter(q9)}),T1={...R1,primitives:[...R1.primitives,I9]};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:-.22,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 Y(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(c=>({x:c.x*a,y:c.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 U9=e(ht).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),E1=Y(U9,{width:.24,height:.23});var G9=e(ht).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),Y1=Y(G9,{width:.23,height:.24});var W9=e(ht).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),X1=Y(W9,{width:.23,height:.24});var H9=e(ht).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),L1=Y(H9,{width:.24,height:.23});var Cl={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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:HL,texts:ZL,bounds:QL,circles:KL,refblocks:tV}=Cl,ir=e(Cl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var V1=r(ir);var j1={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:K9,texts:tb,bounds:lr,refblocks:k1,circles:eb}=j1,Xt=s({primitives:[...Object.values(K9),...Object.values(eb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...tb.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...k1.left1,labels:["1"]},{...k1.right1,labels:["2"]}],size:{width:lr.width,height:lr.height},center:{x:lr.centerX,y:lr.centerY}});var{5:rb,...ob}=Xt.primitives;function ib(t){return typeof t=="object"}var z1=r({...Xt,primitives:Object.values(ob).filter(ib)}),O1={...z1,primitives:[...z1.primitives,rb]};var J1={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:pb,texts:ab,bounds:pr,refblocks:$1,circles:yb}=J1,Lt=s({primitives:[...Object.values(pb),...Object.values(yb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...ab.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...$1.left1,labels:["1"]},{...$1.right1,labels:["2"]}],size:{width:pr.width,height:pr.height},center:{x:pr.centerX,y:pr.centerY}});var{5:xb,...sb}=Lt.primitives;function mb(t){return typeof t=="object"}var M1=r({...Lt,primitives:Object.values(sb).filter(mb)}),C1={...M1,primitives:[...M1.primitives,xb]};var N1={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:fb,texts:I1,bounds:ar,refblocks:B1,circles:hb}=N1,yr=s({primitives:[...Object.values(fb),...Object.values(hb),{...I1.top1,anchor:"middle_bottom"},{...I1.bottom1,anchor:"middle_top"}],ports:[{...B1.left1,labels:["1"]},{...B1.right1,labels:["2"]}],size:{width:ar.width,height:ar.height},center:{x:ar.centerX,y:ar.centerY}});var Nl=r(yr),cb=Nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),db=Nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");cb.anchor="middle_left";db.anchor="middle_right";var q1=Nl;var D1={ac_voltmeter_down:Gl,ac_voltmeter_horz:Hl,ac_voltmeter_left:Ql,ac_voltmeter_right:tp,ac_voltmeter_up:rp,ac_voltmeter_vert:ip,avalanche_diode_down:pp,avalanche_diode_horz:ap,avalanche_diode_left:xp,avalanche_diode_right:sp,avalanche_diode_up:np,avalanche_diode_vert:hp,backward_diode_down:dp,backward_diode_left:Ut,backward_diode_right:gp,backward_diode_up:up,battery_horz:Ht,battery_vert:Pp,boxresistor_down:Rp,boxresistor_left:Yp,boxresistor_right:Vp,boxresistor_small_down:kp,boxresistor_small_left:Op,boxresistor_small_right:$p,boxresistor_small_up:Cp,boxresistor_up:Bp,bridged_ground_down:Up,bridged_ground_left:Hp,bridged_ground_right:ee,bridged_ground_up:Kp,capacitor_down:ea,capacitor_left:ra,capacitor_polarized_down:ia,capacitor_polarized_left:la,capacitor_polarized_right:aa,capacitor_polarized_up:xa,capacitor_right:sa,capacitor_up:na,constant_current_diode_down:ha,constant_current_diode_horz:ca,constant_current_diode_left:ba,constant_current_diode_right:_a,constant_current_diode_up:ua,constant_current_diode_vert:wa,crystal_4pin_down:Aa,crystal_4pin_left:Pa,crystal_4pin_right:Sa,crystal_4pin_up:Fa,crystal_down:Ta,crystal_left:Ea,crystal_right:Ya,crystal_up:La,darlington_pair_transistor_down:Va,darlington_pair_transistor_horz:ja,darlington_pair_transistor_left:ka,darlington_pair_transistor_right:za,darlington_pair_transistor_up:Oa,darlington_pair_transistor_vert:Ja,dc_ammeter_horz:At,dc_ammeter_vert:Na,dc_voltmeter_down:Ba,dc_voltmeter_horz:Da,dc_voltmeter_left:Ga,dc_voltmeter_right:Ha,dc_voltmeter_up:Qa,dc_voltmeter_vert:ty,diac_down:ey,diac_horz:ry,diac_left:oy,diac_right:iy,diac_up:ly,diac_vert:py,diode_down:yy,diode_left:xy,diode_right:M,diode_up:sy,dpdt_normally_closed_switch_down:ny,dpdt_normally_closed_switch_left:fy,dpdt_normally_closed_switch_right:C,dpdt_normally_closed_switch_up:hy,dpdt_switch_down:dy,dpdt_switch_left:by,dpdt_switch_right:N,dpdt_switch_up:_y,dpst_normally_closed_switch_down:uy,dpst_normally_closed_switch_left:vy,dpst_normally_closed_switch_right:I,dpst_normally_closed_switch_up:wy,dpst_switch_down:Py,dpst_switch_left:Sy,dpst_switch_right:B,dpst_switch_up:Fy,ferrite_bead_down:Ty,ferrite_bead_left:Ey,ferrite_bead_right:Re,ferrite_bead_up:Fe,filled_diode_down:Xy,filled_diode_horz:Vy,filled_diode_left:ky,filled_diode_right:Oy,filled_diode_up:$y,filled_diode_vert:Cy,frequency_meter_horz:Pt,frequency_meter_vert:qy,fuse_horz:ze,fuse_vert:Gy,ground_down:Wy,ground_horz:Hy,ground_left:Zy,ground_right:Qy,ground_up:Ky,ground_vert:tx,gunn_diode_horz:ex,gunn_diode_vert:rx,icled_down:ix,icled_left:lx,icled_right:q,icled_up:px,igbt_transistor_horz:Oe,igbt_transistor_vert:xx,illuminated_push_button_normally_open_horz:Je,illuminated_push_button_normally_open_vert:fx,inductor_down:bx,inductor_left:_x,inductor_right:gt,inductor_up:Me,laser_diode_down:gx,laser_diode_left:ux,laser_diode_right:D,laser_diode_up:vx,led_down:Sx,led_left:Fx,led_right:ut,led_up:Ne,light_dependent_resistor_horz:Be,light_dependent_resistor_vert:Lx,mosfet_depletion_normally_on_horz:De,mosfet_depletion_normally_on_vert:zx,mushroom_head_normally_open_momentary_horz:Ge,mushroom_head_normally_open_momentary_vert:Mx,n_channel_d_mosfet_transistor_horz:Ze,n_channel_d_mosfet_transistor_vert:qx,n_channel_e_mosfet_transistor_horz:Ke,n_channel_e_mosfet_transistor_vert:Hx,njfet_transistor_horz:e0,njfet_transistor_vert:es,not_connected_down:is,not_connected_left:ls,not_connected_right:U,not_connected_up:ps,npn_bipolar_transistor_down:as,npn_bipolar_transistor_horz:ys,npn_bipolar_transistor_left:xs,npn_bipolar_transistor_right:ss,npn_bipolar_transistor_up:ms,npn_bipolar_transistor_vert:ns,opamp_no_power_down:hs,opamp_no_power_left:cs,opamp_no_power_right:G,opamp_no_power_up:ds,opamp_with_power_down:_s,opamp_with_power_left:gs,opamp_with_power_right:W,opamp_with_power_up:us,p_channel_d_mosfet_transistor_horz:y0,p_channel_d_mosfet_transistor_vert:Ss,p_channel_e_mosfet_transistor_horz:s0,p_channel_e_mosfet_transistor_vert:Ys,photodiode_horz:m0,photodiode_vert:js,pjfet_transistor_horz:f0,pjfet_transistor_vert:$s,pnp_bipolar_transistor_down:Ms,pnp_bipolar_transistor_horz:Cs,pnp_bipolar_transistor_left:Ns,pnp_bipolar_transistor_right:Is,pnp_bipolar_transistor_up:Bs,pnp_bipolar_transistor_vert:qs,potentiometer_horz:u0,potentiometer_vert:Ws,potentiometer2_down:Ks,potentiometer2_left:tm,potentiometer2_right:H,potentiometer2_up:em,potentiometer3_down:rm,potentiometer3_left:om,potentiometer3_right:im,potentiometer3_up:lm,power_factor_meter_horz:F0,power_factor_meter_vert:xm,push_button_normally_closed_momentary_horz:T0,push_button_normally_closed_momentary_vert:fm,push_button_normally_open_momentary_horz:Y0,push_button_normally_open_momentary_vert:bm,rail_down:gm,rail_left:vm,rail_right:Am,rail_up:Sm,rectifier_diode_horz:V0,rectifier_diode_vert:Tm,resistor_down:Ym,resistor_left:Lm,resistor_right:jm,resistor_up:zm,resonator_down:Jm,resonator_horz:C0,resonator_left:$m,resonator_right:tt,resonator_up:Mm,resonator_vert:Cm,schottky_diode_down:Im,schottky_diode_left:Bm,schottky_diode_right:et,schottky_diode_up:qm,silicon_controlled_rectifier_horz:N0,silicon_controlled_rectifier_vert:Gm,solderjumper2_bridged12_down:Wm,solderjumper2_bridged12_left:Hm,solderjumper2_bridged12_right:Zm,solderjumper2_bridged12_up:Qm,solderjumper2_down:Km,solderjumper2_left:tn,solderjumper2_right:en,solderjumper2_up:rn,solderjumper3_bridged12_down:on,solderjumper3_bridged12_left:ln,solderjumper3_bridged12_right:pn,solderjumper3_bridged12_up:an,solderjumper3_bridged123_down:yn,solderjumper3_bridged123_left:xn,solderjumper3_bridged123_right:sn,solderjumper3_bridged123_up:mn,solderjumper3_bridged23_down:nn,solderjumper3_bridged23_left:fn,solderjumper3_bridged23_right:hn,solderjumper3_bridged23_up:cn,solderjumper3_down:dn,solderjumper3_left:bn,solderjumper3_right:_n,solderjumper3_up:gn,spdt_normally_closed_switch_down:vn,spdt_normally_closed_switch_left:wn,spdt_normally_closed_switch_right:yt,spdt_normally_closed_switch_up:An,spdt_switch_down:Sn,spdt_switch_left:Fn,spdt_switch_right:xt,spdt_switch_up:Rn,spst_normally_closed_switch_down:Tn,spst_normally_closed_switch_left:En,spst_normally_closed_switch_right:st,spst_normally_closed_switch_up:Yn,spst_switch_down:Xn,spst_switch_left:Ln,spst_switch_right:mt,spst_switch_up:Vn,square_wave_down:jn,square_wave_left:kn,square_wave_right:zn,square_wave_up:On,step_recovery_diode_horz:I0,step_recovery_diode_vert:Jn,tachometer_horz:Et,tachometer_vert:Nn,testpoint_down:qn,testpoint_left:Dn,testpoint_right:ft,testpoint_up:Wn,tilted_ground_down:Zn,tilted_ground_left:Qn,tilted_ground_right:vt,tilted_ground_up:q0,triac_horz:D0,triac_vert:e1,tunnel_diode_horz:G0,tunnel_diode_vert:l1,unijunction_transistor_horz:H0,unijunction_transistor_vert:m1,usbc:f1,var_meter_horz:Q0,var_meter_vert:d1,varactor_diode_horz:tr,varactor_diode_vert:u1,varistor_horz:rr,varistor_vert:P1,varmeter_horz:Yt,varmeter_vert:T1,vcc_down:E1,vcc_left:Y1,vcc_right:X1,vcc_up:L1,volt_meter_horz:ir,volt_meter_vert:V1,watt_hour_meter_horz:Xt,watt_hour_meter_vert:O1,wattmeter_horz:Lt,wattmeter_vert:C1,zener_diode_horz:yr,zener_diode_vert:q1};var _=(t,o=!0)=>o?-t:t;var ct=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function U1(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${_(a.y,i)}`).join(" ");return o?`${l} Z`:l}function bb(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${_(a,i)-y} L ${l+y} ${_(a,i)} L ${l} ${_(a,i)+y} L ${l-y} ${_(a,i)} Z" fill="green" />`}function _b(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,c=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="${_(l,o)}" dx="${c}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${ct("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${_(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function gb(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
5
+ `+c+" | "+mr("",a.column-1," ")+mr("",f,"^")}else o+=`
6
+ at `+n}return o};kt.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 c(p){return p?'"'+a(p)+'"':"end of input"}return"Expected "+m(t)+" but "+c(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:c,radius:p}=n;y({x:m-p,y:c-p}),y({x:m+p,y:c+p});break}case"box":{let{x:m,y:c,width:p,height:x}=n,f=p/2,d=x/2;y({x:m-f,y:c-d}),y({x:m+f,y:c+d});break}}}),{minX:o,maxX:i,minY:l,maxY:a}}var sf=(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},L=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=X({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(h=>b(n,h))};case"text":let x=b(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=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),c=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:c,size:y,...o}},E=(t,o)=>{let{primitives:i,center:l,ports:a,size:y}=t,n=X({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(h=>b(n,h))};case"text":let x=b(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=b(n,{x:p.x,y:p.y});return{...p,x:d.x,y:d.y}}}),c=a.map(p=>({...p,...b(n,p)}));return{primitives:m,center:l,ports:c,size:y,...o}},At=(t,o)=>{let{newOrientation:i,overrides:l}=o,a={up:Math.PI/2,right:0,down:-Math.PI/2,left:-Math.PI},y=sr(i?a[i]:Math.PI/2,t.center.x,t.center.y),{primitives:n,center:m,size:c,ports:p}=t,x=n.map(h=>{switch(h={...h},h.type){case"path":return{...h,points:h.points.map(lf=>b(y,lf))};case"text":let Bl=b(y,{x:h.x,y:h.y});return h.anchor=sf(h.anchor,i??"right"),{...h,x:Bl.x,y:Bl.y};case"circle":let ql=b(y,{x:h.x,y:h.y});return{...h,x:ql.x,y:ql.y};case"box":let Dl=b(y,{x:h.x,y:h.y});return{...h,x:Dl.x,y:Dl.y,width:h.height,height:h.width}}}),f=p.map(h=>({...h,...b(y,h)})),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={})=>At(t,{newOrientation:o,overrides:i});var nr=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=At(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 nr({...t,primitives:o,ports:i,center:l})};var v={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,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:nf,texts:u4,bounds:zt,refblocks:Gl,circles:ff}=v,Wl=e({primitives:[...Object.values(nf),...Object.values(ff),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Gl.left1,labels:["1"]},{...Gl.right1,labels:["2"]}],size:{width:zt.width,height:zt.height},center:{x:zt.centerX,y:zt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:hf,texts:P4,bounds:Ot,refblocks:Hl,circles:cf}=v,Zl=e({primitives:[...Object.values(hf),...Object.values(cf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Hl.left1,labels:["1"]},{...Hl.right1,labels:["2"]}],size:{width:Ot.width,height:Ot.height},center:{x:Ot.centerX,y:Ot.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:df,texts:T4,bounds:Jt,refblocks:Ql,circles:bf}=v,Kl=e({primitives:[...Object.values(df),...Object.values(bf),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Ql.left1,labels:["1"]},{...Ql.right1,labels:["2"]}],size:{width:Jt.width,height:Jt.height},center:{x:Jt.centerX,y:Jt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:_f,texts:L4,bounds:$t,refblocks:tp,circles:gf}=v,ep=e({primitives:[...Object.values(_f),...Object.values(gf),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...tp.left1,labels:["1"]},{...tp.right1,labels:["2"]}],size:{width:$t.width,height:$t.height},center:{x:$t.centerX,y:$t.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:uf,texts:z4,bounds:Mt,refblocks:rp,circles:vf}=v,op=e({primitives:[...Object.values(uf),...Object.values(vf),{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:Mt.width,height:Mt.height},center:{x:Mt.centerX,y:Mt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:wf,texts:M4,bounds:Ct,refblocks:ip,circles:Af}=v,lp=e({primitives:[...Object.values(wf),...Object.values(Af),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ip.left1,labels:["1"]},{...ip.right1,labels:["2"]}],size:{width:Ct.width,height:Ct.height},center:{x:Ct.centerX,y:Ct.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:Sf,texts:q4,bounds:Nt,refblocks:pp,circles:Ff}=w,ap=e({primitives:[...Object.values(Sf),...Object.values(Ff),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...pp.left1,labels:["1"]},{...pp.right1,labels:["2"]}],size:{width:Nt.width,height:Nt.height},center:{x:Nt.centerX,y:Nt.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var yp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Rf,texts:Q4,bounds:It,refblocks:xp,circles:Tf}=w,sp=e({primitives:[...Object.values(Rf),...Object.values(Tf),{type:"text",text:"{REF}",x:-0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.3294553499999995}],ports:[{...xp.left1,labels:["1"]},{...xp.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 mp=e(w).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ef,texts:l5,bounds:Bt,refblocks:np,circles:Yf}=w,fp=e({primitives:[...Object.values(Ef),...Object.values(Yf),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...np.left1,labels:["1"]},{...np.right1,labels:["2"]}],size:{width:Bt.width,height:Bt.height},center:{x:Bt.centerX,y:Bt.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Xf,texts:x5,bounds:qt,refblocks:hp,circles:Lf}=w,cp=e({primitives:[...Object.values(Xf),...Object.values(Lf),{type:"text",text:"{REF}",x:.15,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2294553499999995}],ports:[{...hp.left1,labels:["1"]},{...hp.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 V={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:jf,texts:h5,bounds:Dt,refblocks:dp,circles:kf}=V,bp=e({primitives:[...Object.values(jf),...Object.values(kf),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...dp.left1,labels:["1"]},{...dp.right1,labels:["2"]}],size:{width:Dt.width,height:Dt.height},center:{x:Dt.centerX,y:Dt.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:zf,texts:_5,bounds:Ut,refblocks:_p,circles:Of}=V,Gt=e({primitives:[...Object.values(zf),...Object.values(Of),{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:Ut.width,height:Ut.height},center:{x:Ut.centerX,y:Ut.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["2"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Jf,texts:w5,bounds:Wt,refblocks:gp,circles:$f}=V,up=e({primitives:[...Object.values(Jf),...Object.values($f),{type:"text",text:"{REF}",x:-.0050250999999996715,y:.27384529999999985,anchor:"middle_left"},{type:"text",text:"{VAL}",x:-.00011179999999999524,y:-.27384530000000007,anchor:"middle_left"}],ports:[{...gp.left1,labels:["1"]},{...gp.right1,labels:["2"]}],size:{width:Wt.width,height:Wt.height},center:{x:Wt.centerX,y:Wt.centerY}}).changeTextAnchor("{VAL}","middle_top").labelPort("right1",["2"]).labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:R5,texts:T5,bounds:E5,refblocks:Y5,circles:X5}=V,fr=r(Gt,"down"),hr=fr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),cr=fr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hr.anchor="middle_left";cr.anchor="middle_left";hr.x=.25;hr.y+=.21;cr.y-=.21;cr.x=.25;var vp=fr;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 wp={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:-.44,y:.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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:Cf,texts:Ap,bounds:Ht,refblocks:Pp,circles:Nf}=wp,Zt=s({primitives:[...Object.values(Cf),...Object.values(Nf),{...Ap.top1,anchor:"middle_bottom"},{...Ap.bottom1,anchor:"middle_top"}],ports:[{...Pp.left1,labels:["1"]},{...Pp.right1,labels:["2"]}],size:{width:Ht.width,height:Ht.height},center:{x:Ht.centerX,y:Ht.centerY}});var Sp=At(Zt,{newOrientation:"up"});var j={paths:{path1:{type:"path",points:[{x:-.51,y:.05},{x:-.25,y:.05}],color:"primary",fill:!1},path2:{type:"path",points:[{x:.28,y:.05},{x:.55,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:Bf,texts:q5,bounds:Fp,refblocks:Rp,circles:qf}=j,Tp=e({primitives:[...Object.values(Bf),...Object.values(qf),{type:"text",text:"{REF}",x:-.16,y:.2294553499999995},{type:"text",text:"{VAL}",x:.16,y:.2294553499999995}],ports:[{...Rp.left1,labels:["1"]},{...Rp.right1,labels:["2"]}],center:{x:Fp.centerX,y:Fp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:Df,texts:W5,bounds:Ep,refblocks:Yp,circles:Uf}=j,Xp=e({primitives:[...Object.values(Df),...Object.values(Uf),{type:"text",text:"{REF}",x:0,y:-.1994553499999995},{type:"text",text:"{VAL}",x:0,y:.2694553499999995}],ports:[{...Yp.left1,labels:["1"]},{...Yp.right1,labels:["2"]}],center:{x:Ep.centerX,y:Ep.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Gf,texts:K5,bounds:Lp,refblocks:Vp,circles:Wf}=j,jp=e({primitives:[...Object.values(Gf),...Object.values(Wf),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1594553499999995}],ports:[{...Vp.left1,labels:["1"]},{...Vp.right1,labels:["2"]}],center:{x:Lp.centerX,y:Lp.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var k={paths:{path2:{type:"path",points:[{x:.15,y:-.01},{x:.56,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:-.56,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:Zf,texts:ig,bounds:Qt,refblocks:kp,circles:Qf}=k,zp=e({primitives:[...Object.values(Zf),...Object.values(Qf),{type:"text",text:"{REF}",x:-.2,y:.1404553499999995},{type:"text",text:"{VAL}",x:.2,y:.1494553499999995}],ports:[{...kp.left1,labels:["1"]},{...kp.right1,labels:["2"]}],size:{width:Qt.width,height:Qt.height},center:{x:Qt.centerX,y:Qt.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Kf,texts:yg,bounds:Kt,refblocks:Op,circles:th}=k,Jp=e({primitives:[...Object.values(Kf),...Object.values(th),{type:"text",text:"{REF}",x:0,y:-.2294553499999995},{type:"text",text:"{VAL}",x:0,y:.1704553499999995}],ports:[{...Op.left1,labels:["1"]},{...Op.right1,labels:["2"]}],size:{width:Kt.width,height:Kt.height},center:{x:Kt.centerX,y:Kt.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:eh,texts:ng,bounds:te,refblocks:$p,circles:rh}=k,Mp=e({primitives:[...Object.values(eh),...Object.values(rh),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...$p.left1,labels:["1"]},{...$p.right1,labels:["2"]}],size:{width:te.width,height:te.height},center:{x:te.centerX,y:te.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:oh,texts:dg,bounds:ee,refblocks:Cp,circles:ih}=k,Np=e({primitives:[...Object.values(oh),...Object.values(ih),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Cp.left1,labels:["1"]},{...Cp.right1,labels:["2"]}],size:{width:ee.width,height:ee.height},center:{x:ee.centerX,y:ee.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:lh,texts:ug,bounds:Ip,refblocks:Bp,circles:ph}=j,qp=e({primitives:[...Object.values(lh),...Object.values(ph),{type:"text",text:"{REF}",x:.16,y:-.2294553499999995},{type:"text",text:"{VAL}",x:-.16,y:-.2294553499999995}],ports:[{...Bp.left1,labels:["1"]},{...Bp.right1,labels:["2"]}],center:{x:Ip.centerX,y:Ip.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:yh,texts:Sg,bounds:Dp,refblocks:Up,circles:xh}=gt,Gp=e({primitives:[...Object.values(yh),...Object.values(xh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Up.left1,labels:["1"]},{...Up.right1,labels:["2"]}],center:{x:Dp.centerX,y:Dp.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var{paths:sh,texts:Eg,bounds:Wp,refblocks:Hp,circles:mh}=gt,re=e({primitives:[...Object.values(sh),...Object.values(mh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Hp.left1,labels:["1"]},{...Hp.right1,labels:["2"]}],center:{x:Wp.centerX,y:Wp.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Zp=E(re);var{paths:nh,texts:zg,bounds:Qp,refblocks:Kp,circles:fh}=gt,ta=e({primitives:[...Object.values(nh),...Object.values(fh),{type:"text",text:"{REF}",x:0,y:.2594553499999995}],ports:[{...Kp.left1,labels:["1"]},{...Kp.right1,labels:["2"]}],center:{x:Qp.centerX,y:Qp.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var z={paths:{path27:{type:"path",points:[{x:.52,y:.02},{x:.07,y:.02}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.09,y:.02},{x:-.54,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:ch,texts:Cg,bounds:oe,refblocks:ea,circles:dh}=z,ra=e({primitives:[...Object.values(ch),...Object.values(dh),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.2,y:.2094553499999995}],ports:[{...ea.left1,labels:["1"]},{...ea.right1,labels:["2"]}],size:{width:oe.width,height:oe.height},center:{x:oe.centerX,y:oe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var oa=e(z).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var O={paths:{"path27-5":{type:"path",points:[{x:.45,y:.02},{x:0,y:.02}],color:"primary",fill:!1},"path28-5":{type:"path",points:[{x:-.09,y:.02},{x:-.54,y:.02}],color:"primary",fill:!1},"path30-7":{type:"path",points:[{x:0,y:.28},{x:0,y:-.25}],color:"primary",fill:!1},path8704:{type:"path",points:[{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.24},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.14,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.23},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.22},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.13,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.21},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.2},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.12,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.19},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.18},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.11,y:-.17},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.16},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.15},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.1,y:-.14},{x:-.09,y:-.14},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.13},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.12},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.11},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.09,y:-.1},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.09},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.08},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.07},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.06},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.05},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.04},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.03},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.02},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:-.01},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:0},{x:-.08,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.07,y:.01},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.02},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.03},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.04},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.05},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.06},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.07},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.08},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.09},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.1},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.11},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.08,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.12},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.13},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.14},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.15},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.16},{x:-.09,y:.17},{x:-.09,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.17},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.18},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.19},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.1,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.2},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.21},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.22},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.11,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.23},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.24},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.12,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.25},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.26},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.13,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.27},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28},{x:-.14,y:.28}],color:"primary",fill:!1},"rect1577-4":{type:"path",points:[{x:.26,y:.25},{x:.12,y:.25},{x:.12,y:.25},{x:.26,y:.25}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:.2,y:.32},{x:.2,y:.18},{x:.19,y:.18},{x:.19,y:.32}],color:"primary",fill:!0}},texts:{top1:{type:"text",text:"{REF}",x:-.01,y:.42},bottom1:{type:"text",text:"{VAL}",x:0,y:-.42}},refblocks:{left1:{x:-.54,y:.02},right1:{x:.45,y:.02}},bounds:{minX:-.58,maxX:.58,minY:-.42,maxY:.42,width:1.16,height:.84,centerX:0,centerY:0},circles:{}};var{paths:_h,texts:Wg,bounds:ie,refblocks:ia,circles:gh}=O,la=e({primitives:[...Object.values(_h),...Object.values(gh),{type:"text",text:"{REF}",x:.1,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...ia.left1,labels:["2","neg"]},{...ia.right1,labels:["1","pos"]}],size:{width:ie.width,height:ie.height},center:{x:ie.centerX,y:ie.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").build();var pa=e(O).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:uh,texts:r3,bounds:le,refblocks:aa,circles:vh}=O,ya=e({primitives:[...Object.values(uh),...Object.values(vh),{type:"text",text:"{REF}",x:0,y:-.4094553499999995},{type:"text",text:"{VAL}",x:-0,y:.4094553499999995}],ports:[{...aa.left1,labels:["2","neg"]},{...aa.right1,labels:["1","pos"]}],size:{width:le.width,height:le.height},center:{x:le.centerX,y:le.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_bottom").build();var{paths:wh,texts:p3,bounds:pe,refblocks:xa,circles:Ah}=O,sa=e({primitives:[...Object.values(wh),...Object.values(Ah),{type:"text",text:"{REF}",x:-.2,y:.2094553499999995},{type:"text",text:"{VAL}",x:.3,y:.2094553499999995}],ports:[{...xa.left1,labels:["2","neg"]},{...xa.right1,labels:["1","pos"]}],size:{width:pe.width,height:pe.height},center:{x:pe.centerX,y:pe.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").build();var ma=e(z).rotateRightFacingSymbol("right").changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ph,texts:f3,bounds:ae,refblocks:na,circles:Sh}=z,fa=e({primitives:[...Object.values(Ph),...Object.values(Sh),{type:"text",text:"{REF}",x:.2,y:-.2094553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.2094553499999995}],ports:[{...na.left1,labels:["1"]},{...na.right1,labels:["2"]}],size:{width:ae.width,height:ae.height},center:{x:ae.centerX,y:ae.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:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,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:Rh,texts:_3,bounds:ye,refblocks:ha,circles:Th}=A,ca=e({primitives:[...Object.values(Rh),...Object.values(Th),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...ha.left1,labels:["1"]},{...ha.right1,labels:["2"]}],size:{width:ye.width,height:ye.height},center:{x:ye.centerX,y:ye.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var da=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Eh,texts:S3,bounds:xe,refblocks:ba,circles:Yh}=A,_a=e({primitives:[...Object.values(Eh),...Object.values(Yh),{type:"text",text:"{REF}",x:-0,y:-.2894553499999995},{type:"text",text:"{VAL}",x:0,y:.3894553499999995}],ports:[{...ba.left1,labels:["1"]},{...ba.right1,labels:["2"]}],size:{width:xe.width,height:xe.height},center:{x:xe.centerX,y:xe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ga=e(A).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1","neg"]).labelPort("right1",["2","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Xh,texts:L3,bounds:se,refblocks:ua,circles:Lh}=A,va=e({primitives:[...Object.values(Xh),...Object.values(Lh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ua.left1,labels:["1"]},{...ua.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:Vh,texts:z3,bounds:me,refblocks:wa,circles:jh}=A,Aa=e({primitives:[...Object.values(Vh),...Object.values(jh),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...wa.left1,labels:["1"]},{...wa.right1,labels:["2"]}],size:{width:me.width,height:me.height},center:{x:me.centerX,y:me.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var J={paths:{path27:{type:"path",points:[{x:.52,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:.69},{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:-.72},{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:zh,texts:C3,bounds:ne,refblocks:fe,circles:Oh}=J,Pa=e({primitives:[...Object.values(zh),...Object.values(Oh),{type:"text",text:"{REF}",x:-.4,y:.4094554499999995},{type:"text",text:"{VAL}",x:.4,y:.4094553499999995}],ports:[{...fe.left1,labels:["1"]},{...fe.right1,labels:["3"]},{...fe.bottom1,labels:["2"]},{...fe.top1,labels:["4"]}],size:{width:ne.width,height:ne.height},center:{x:ne.centerX,y:ne.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Sa=e(J).labelPort("top1",["2","gnd1"]).labelPort("bottom1",["4","gnd2"]).labelPort("left1",["3"]).labelPort("right1",["1"]).changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var Fa=e(J).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:Jh,texts:Z3,bounds:he,refblocks:ce,circles:$h}=J,Ra=e({primitives:[...Object.values(Jh),...Object.values($h),{type:"text",text:"{VAL}",x:-.4,y:-.4094554499999995},{type:"text",text:"{REF}",x:.4,y:-.4094553499999995}],ports:[{...ce.left1,labels:["1"]},{...ce.right1,labels:["3"]},{...ce.bottom1,labels:["2"]},{...ce.top1,labels:["4"]}],size:{width:he.width,height:he.height},center:{x:he.centerX,y:he.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","bottom_left").changeTextAnchor("{VAL}","top_left").build();var $={paths:{path27:{type:"path",points:[{x:.52,y:-.01},{x:.13,y:-.01}],color:"primary",fill:!1},path28:{type:"path",points:[{x:-.14,y:-.01},{x:-.54,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:Ch,texts:ru,bounds:de,refblocks:Ta,circles:Nh}=$,Ea=e({primitives:[...Object.values(Ch),...Object.values(Nh),{type:"text",text:"{REF}",x:-.3,y:.3094553499999995},{type:"text",text:"{VAL}",x:.3,y:.3094553499999995}],ports:[{...Ta.left1,labels:["1"]},{...Ta.right1,labels:["2"]}],size:{width:de.width,height:de.height},center:{x:de.centerX,y:de.centerY}}).changeTextAnchor("{VAL}","top_left").rotateRightFacingSymbol("down").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_left").build();var Ya=e($).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["2","neg"]).labelPort("right1",["1","pos"]).changeTextAnchor("{REF}","middle_bottom").build();var Xa=e($).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Ih,texts:nu,bounds:be,refblocks:La,circles:Bh}=$,Va=e({primitives:[...Object.values(Ih),...Object.values(Bh),{type:"text",text:"{REF}",x:.3,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.3094553499999995}],ports:[{...La.left1,labels:["1"]},{...La.right1,labels:["2"]}],size:{width:be.width,height:be.height},center:{x:be.centerX,y:be.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("up").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","bottom_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.15}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:2.23,y:-1.96},{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 ja=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 ka=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var za=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 Oa=e(P).rotateRightFacingSymbol("right").labelPort("right2",["1"]).labelPort("right1",["2"]).labelPort("right3",["3"]).changeTextAnchor("{VAL}","middle_right").changeTextAnchor("{REF}","middle_right").build();var Ja=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 $a=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 Ma={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Uh,texts:Gh,bounds:_e,refblocks:Ca,circles:Wh}=Ma,Pt=s({primitives:[...Object.values(Uh),...Object.values(Wh),{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:[{...Ca.left1,labels:["1"]},{...Ca.right1,labels:["2"]}],size:{width:_e.width,height:_e.height},center:{x:_e.centerX,y:_e.centerY}});function Hh(t){return typeof t=="object"&&t!==null&&t.type==="path"&&Array.isArray(t.points)&&typeof t.color=="string"}function Zh(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:dr,2:br,...Qh}=Pt.primitives;Hh(br)&&br.points.map(t=>{t.y+=.05});Zh(dr)&&(dr.y+=.025);function Kh(t){return typeof t=="object"}var Na=r({...Pt,primitives:Object.values(Qh).filter(Kh)}),Ia={...Na,primitives:[...Na.primitives,dr,br]};var S={paths:{path11:{type:"path",points:[{x:-.53,y:.04},{x:-.3,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.04},{x:.53,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:ec,texts:Iu,bounds:ge,refblocks:Ba,circles:rc}=S,qa=e({primitives:[...Object.values(ec),...Object.values(rc),{type:"text",text:"{REF}",x:-.15,y:.3894553499999995},{type:"text",text:"{VAL}",x:.15,y:.3894553499999995}],ports:[{...Ba.left1,labels:["1"]},{...Ba.right1,labels:["2"]}],size:{width:ge.width,height:ge.height},center:{x:ge.centerX,y:ge.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:oc,texts:Uu,bounds:ue,refblocks:Da,circles:ic}=S,Ua=e({primitives:[...Object.values(oc),...Object.values(ic),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Da.left1,labels:["1"]},{...Da.right1,labels:["2"]}],size:{width:ue.width,height:ue.height},center:{x:ue.centerX,y:ue.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:lc,texts:Zu,bounds:ve,refblocks:Ga,circles:pc}=S,Wa=e({primitives:[...Object.values(lc),...Object.values(pc),{type:"text",text:"{REF}",x:-0,y:-.3294553499999995},{type:"text",text:"{VAL}",x:0,y:.4294553499999995}],ports:[{...Ga.left1,labels:["1"]},{...Ga.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:ac,texts:e8,bounds:we,refblocks:Ha,circles:yc}=S,Za=e({primitives:[...Object.values(ac),...Object.values(yc),{type:"text",text:"{REF}",x:-0,y:.3894553499999995},{type:"text",text:"{VAL}",x:0,y:-.3294553499999995}],ports:[{...Ha.left1,labels:["1"]},{...Ha.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:xc,texts:l8,bounds:Ae,refblocks:Qa,circles:sc}=S,Ka=e({primitives:[...Object.values(xc),...Object.values(sc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...Qa.left1,labels:["1"]},{...Qa.right1,labels:["2"]}],size:{width:Ae.width,height:Ae.height},center:{x:Ae.centerX,y:Ae.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:mc,texts:x8,bounds:Pe,refblocks:ty,circles:nc}=S,ey=e({primitives:[...Object.values(mc),...Object.values(nc),{type:"text",text:"{REF}",x:.15,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.15,y:-.2894553499999995}],ports:[{...ty.left1,labels:["1"]},{...ty.right1,labels:["2"]}],size:{width:Pe.width,height:Pe.height},center:{x:Pe.centerX,y:Pe.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var F={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,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 ry=e(F).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 oy=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var iy=e(F).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 ly=e(F).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom",{x:0,y:.1}).changeTextAnchor("{VAL}","middle_top").build();var py=e(F).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 ay=e(F).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 M={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:cc,bounds:yy,refblocks:dc}=M,xy=e({primitives:[...Object.values(cc),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...dc.left1,labels:["1"]}],center:{x:yy.centerX,y:yy.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:bc,bounds:sy,refblocks:_c}=M,my=e({primitives:[...Object.values(bc),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{..._c.left1,labels:["1"]}],center:{x:sy.centerX,y:sy.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:gc,bounds:ny,refblocks:uc}=M,fy=e({primitives:[...Object.values(gc),{type:"text",text:"{REF}",x:-.13,y:-0}],ports:[{...uc.left1,labels:["1"]}],center:{x:ny.centerX,y:ny.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:vc,bounds:hy,refblocks:wc}=M,cy=e({primitives:[...Object.values(vc),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...wc.left1,labels:["1"]}],center:{x:hy.centerX,y:hy.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var dy={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 C=e(dy).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var by=r(C,"down");var _y=r(C,"left");var gy=r(C,"up");var uy={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,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:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,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 N=e(uy).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 _r=r(N,"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_bottom";ur.anchor="middle_top";gr.x=0;gr.y+=.537;ur.y-=.5375;ur.x=0;var vy=_r;var vr=r(N,"left"),wr=vr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ar=vr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");wr.anchor="middle_bottom";Ar.anchor="middle_top";wr.x=0;wr.y+=1;Ar.y-=1;Ar.x=0;var wy=vr;var Pr=r(N,"up"),Sr=Pr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fr=Pr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sr.anchor="middle_bottom";Fr.anchor="middle_top";Sr.x=0;Sr.y+=.537;Fr.y-=.5375;Fr.x=0;var Ay=Pr;var Py={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:.13}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.36},{x:.36,y:.36}],color:"primary",fill:!1},path4:{type:"path",points:[{x:-.35,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:.35,y:-.27}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.12,y:-.04},{x:.36,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 I=e(Py).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"),Tr=Rr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Er=Rr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Tr.anchor="middle_bottom";Er.anchor="middle_top";Tr.x=0;Tr.y+=.565;Er.y-=.555;Er.x=0;var Sy=Rr;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.09;Lr.y-=1.09;Lr.x=0;var Fy=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+=.565;kr.y-=.555;kr.x=0;var Ry=Vr;var Ty={paths:{path11:{type:"path",points:[{x:-.36,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:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,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:.37,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 B=e(Ty).labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("right3",["4"]).labelPort("left3",["3"]).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=.4;Or.y+=.265;Jr.y-=.265;Jr.x=.4;var Ey=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+=.67;Cr.y-=.67;Cr.x=0;var Yy=$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=.46;Ir.y+=.265;Br.y-=.265;Br.x=.46;var Xy=Nr;var Ly={paths:{path11:{type:"path",points:[{x:-.36,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:.37,y:.06}],color:"primary",fill:!1},"path11-5":{type:"path",points:[{x:-.36,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:.37,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 q=e(Ly).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}"),Ur=qr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Dr.anchor="middle_bottom";Ur.anchor="middle_top";Dr.x=.4;Dr.y+=.295;Ur.y-=.295;Ur.x=.42;var Vy=qr;var Gr=r(q,"left"),Wr=Gr.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hr=Gr.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wr.anchor="middle_bottom";Hr.anchor="middle_top";Wr.x=0;Wr.y+=.795;Hr.y-=.795;Hr.x=0;var jy=Gr;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+=.315;Kr.y-=.315;Kr.x=.46;var ky=Zr;var Se={paths:{path5:{type:"path",points:[{x:-.42,y:0},{x:-.16,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.17,y:0},{x:.43,y:0}],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:Ec,texts:ov,bounds:Fe,refblocks:zy,circles:Yc}=Se,Re=e({primitives:[...Object.values(Ec),...Object.values(Yc),{type:"text",text:"{REF}",x:.18,y:-.3204553499999995},{type:"text",text:"{VAL}",x:-.25,y:-.3294553499999995}],ports:[{...zy.left1,labels:["1"]},{...zy.right1,labels:["2"]}],size:{width:Fe.width,height:Fe.height},center:{x:Fe.centerX,y:Fe.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var to=L(Re),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_left";ro.anchor="middle_left";eo.y+=.4;eo.x=.32;ro.y-=.45;ro.x=.32;var Oy=to;var Te=e(Se).labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Jy=E(Te);var R={paths:{path11:{type:"path",points:[{x:-.54,y:.04},{x:-.22,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.14,y:.05},{x:.46,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:Lc,texts:_v,bounds:Ee,refblocks:$y,circles:Vc}=R,My=e({primitives:[...Object.values(Lc),...Object.values(Vc),{type:"text",text:"{REF}",x:-.15,y:.3294553499999995},{type:"text",text:"{VAL}",x:.15,y:.3294553499999995}],ports:[{...$y.left1,labels:["1"]},{...$y.right1,labels:["2"]}],size:{width:Ee.width,height:Ee.height},center:{x:Ee.centerX,y:Ee.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:jc,texts:wv,bounds:Ye,refblocks:Cy,circles:kc}=R,Ny=e({primitives:[...Object.values(jc),...Object.values(kc),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...Cy.left1,labels:["1"]},{...Cy.right1,labels:["2"]}],size:{width:Ye.width,height:Ye.height},center:{x:Ye.centerX,y:Ye.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:zc,texts:Fv,bounds:Xe,refblocks:Iy,circles:Oc}=R,By=e({primitives:[...Object.values(zc),...Object.values(Oc),{type:"text",text:"{REF}",x:-0,y:-.3094553499999995},{type:"text",text:"{VAL}",x:0,y:.4094553499999995}],ports:[{...Iy.left1,labels:["1"]},{...Iy.right1,labels:["2"]}],size:{width:Xe.width,height:Xe.height},center:{x:Xe.centerX,y:Xe.centerY}}).changeTextAnchor("{VAL}","middle_bottom").rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var{paths:Jc,texts:Yv,bounds:Le,refblocks:qy,circles:$c}=R,Dy=e({primitives:[...Object.values(Jc),...Object.values($c),{type:"text",text:"{REF}",x:-0,y:.4094553499999995},{type:"text",text:"{VAL}",x:0,y:-.4094553499999995}],ports:[{...qy.left1,labels:["1"]},{...qy.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:Mc,texts:jv,bounds:Ve,refblocks:Uy,circles:Cc}=R,Gy=e({primitives:[...Object.values(Mc),...Object.values(Cc),{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:Ve.width,height:Ve.height},center:{x:Ve.centerX,y:Ve.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Nc,texts:Jv,bounds:je,refblocks:Wy,circles:Ic}=R,Hy=e({primitives:[...Object.values(Nc),...Object.values(Ic),{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:je.width,height:je.height},center:{x:je.centerX,y:je.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var Zy={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:qc,texts:Dc,bounds:ke,refblocks:Qy,circles:Uc}=Zy,St=s({primitives:[...Object.values(qc),...Object.values(Uc),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Dc.left1,x:0,y:.01,anchor:"center",fontSize:.2}],ports:[{...Qy.left1,labels:["1"]},{...Qy.right1,labels:["2"]}],size:{width:ke.width,height:ke.height},center:{x:ke.centerX,y:ke.centerY}});var{5:Gc,...Wc}=St.primitives;function Hc(t){return typeof t=="object"}var Ky=r({...St,primitives:Object.values(Wc).filter(Hc)}),tx={...Ky,primitives:[...Ky.primitives,Gc]};var ex={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:Qc,texts:Kc,bounds:ze,refblocks:rx}=ex,Oe=s({primitives:[...Object.values(Qc),{...Kc.top1,anchor:"middle_bottom"},{type:"text",text:"{VAL}",x:0,y:-.2,anchor:"middle_top"}],ports:[{...rx.left1,labels:["1"]},{...rx.right1,labels:["2"]}],size:{width:ze.width,height:ze.height},center:{x:ze.centerX,y:ze.centerY}});var ox=r(Oe);var T={paths:{path1:{type:"path",points:[{x:-.29,y:0},{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 ix=e(T).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var lx=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var px=e(T).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var ax=e(T).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var yx=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var xx=e(T).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var Ft={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.04},{x:.51,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:w6,texts:A6,bounds:P6,refblocks:S6,circles:F6}=Ft,sx=e(Ft).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var mx=e(Ft).rotateRightFacingSymbol("down").changeTextAnchor("{VAL}","middle_right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var nx={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 D=e(nx).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 fx=r(D,"down");var hx=E(D);var oo=r(D,"up"),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_left";lo.anchor="middle_left";io.y+=.21;io.x=.44;lo.y-=.21;lo.x=.44;var cx=oo;var dx={paths:{path11:{type:"path",points:[{x:-.39,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:-.54}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.28,y:.54},{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 Je=e(dx).changeTextAnchor("{VAL}","middle_right").labelPort("left1",["3"]).labelPort("top1",["2"]).labelPort("bottom1",["1"]).changeTextAnchor("{REF}","middle_right").build();var po=r(Je),ao=po.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bx=po.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");ao.anchor="middle_left";bx.anchor="middle_right";ao.x=.45;ao.y+=.065;bx.y+=.065;var _x=po;var gx={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:-.49,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:.49,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 $e=e(gx).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var ux=r($e),vx=ux.primitives.filter(t=>t.type==="text"),yo=vx.find(t=>t.text==="{VAL}");yo.x=-.35;yo.y=0;yo.anchor="middle_right";var xo=vx.find(t=>t.text==="{REF}");xo.y=0;xo.x=.35;xo.anchor="middle_left";var wx=ux;var Ax={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:-.53,y:-.02}],color:"primary",fill:!1},"path8706-5":{type:"path",points:[{x:.53,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:pd,texts:Px,bounds:Me,refblocks:Sx,circles:ad}=Ax,ut=s({primitives:[...Object.values(pd),...Object.values(ad),{...Px.top1,anchor:"middle_bottom"},{...Px.bottom1,anchor:"middle_top"}],ports:[{...Sx.left1,labels:["1"]},{...Sx.right1,labels:["2"]}],size:{width:Me.width,height:Me.height},center:{x:Me.centerX,y:Me.centerY}});var Ce=r(ut,"up");var Fx=L(Ce);var Rx=E(ut);var so={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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}}};so.bounds.width+=.2;var U=e(so).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var mo=r(U,"down"),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+=.9;no.x=.3;fo.y-=.1;fo.x=.3;var Tx=mo;var ho=r(U,"left"),co=ho.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bo=ho.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");co.anchor="middle_left";bo.anchor="middle_left";co.y+=.71;co.x=.44;bo.y-=.71;bo.x=.44;var Ex=ho;var _o=r(U,"up"),go=_o.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),uo=_o.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");go.anchor="middle_left";uo.anchor="middle_left";go.y+=.1;go.x=.3;uo.y-=.71;uo.x=.3;var Yx=_o;var Xx={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:.53,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:-.53,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:sd,texts:Lx,bounds:Ne,refblocks:Vx,circles:md}=Xx,vt=s({primitives:[...Object.values(sd),...Object.values(md),{...Lx.bottom1,anchor:"middle_top"},{...Lx.right1,anchor:"middle_bottom"}],ports:[{...Vx.left1,labels:["1"]},{...Vx.right1,labels:["2"]}],size:{width:Ne.width,height:Ne.height},center:{x:Ne.centerX,y:Ne.centerY}});var vo=r(vt,"up"),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+=.21;wo.x=.21;Ao.y-=.21;Ao.x=.21;var Ie=vo;var Po=L(Ie),So=Po.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fo=Po.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");So.anchor="middle_left";Fo.anchor="middle_left";So.y+=.4;So.x=.2;Fo.y-=.41;Fo.x=.2;var jx=Po;var kx=E(vt);var zx={paths:{path11:{type:"path",points:[{x:-.51,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:.51,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:fd,texts:Ox,bounds:Be,refblocks:Jx,circles:hd}=zx,qe=s({primitives:[...Object.values(fd),...Object.values(hd),{...Ox.top1,anchor:"middle_left",x:0},{...Ox.bottom1,anchor:"middle_left",x:0}],ports:[{...Jx.left1,labels:["1"]},{...Jx.right1,labels:["2"]}],size:{width:Be.width,height:Be.height},center:{x:Be.centerX,y:Be.centerY}});var $x=r(qe),Mx=$x.primitives.filter(t=>t.type==="text"),Ro=Mx.find(t=>t.text==="{VAL}");Ro.x=-.35;Ro.y=0;Ro.anchor="middle_right";var To=Mx.find(t=>t.text==="{REF}");To.y=0;To.x=.35;To.anchor="middle_left";var Cx=$x;var Nx={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:.53},{x:.12,y:.18}],color:"primary",fill:!1},path215:{type:"path",points:[{x:.12,y:-.53},{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:dd,texts:Ix,bounds:De,refblocks:Eo}=Nx,Ue=s({primitives:[...Object.values(dd),{...Ix.right1,anchor:"middle_left"},{...Ix.right2,anchor:"middle_left"}],ports:[{...Eo.top1,labels:["1"]},{...Eo.bottom1,labels:["2"]},{...Eo.left1,labels:["3"]}],size:{width:De.width+.4,height:De.height},center:{x:De.centerX+.2,y:De.centerY}});var Yo=r(Ue),Bx=Yo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xo=Yo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Bx.anchor="middle_top";Xo.anchor="middle_top";Bx.x=Xo.x;Xo.y+=.15;var qx=Yo;var Dx={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:-.49,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:.49,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:_d,texts:Ux,bounds:Ge,refblocks:Gx,circles:gd}=Dx,We=s({primitives:[...Object.values(_d),...Object.values(gd),{...Ux.top1,anchor:"middle_bottom",x:0},{...Ux.bottom1,anchor:"middle_top",x:0}],ports:[{...Gx.left1,labels:["1"]},{...Gx.right1,labels:["2"]}],size:{width:Ge.width,height:Ge.height},center:{x:Ge.centerX+.006,y:Ge.centerY+.06}});var Lo=r(We),Rt=Lo.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),He=Lo.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Rt.anchor="middle_left";He.anchor="middle_right";Rt.x=Rt.x-.03;Rt.y=Rt.y;He.x=He.x;He.y=0;var Wx=Lo;var Hx={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:vd,texts:Zx,bounds:Ze,refblocks:Vo,circles:wd}=Hx,Qe=s({primitives:[...Object.values(vd),...Object.values(wd),{...Zx.top1,anchor:"middle_right",x:0},{...Zx.bottom1,anchor:"middle_right",x:0}],ports:[{...Vo.top1,labels:["1","drain"]},{...Vo.bottom1,labels:["2","source"]},{...Vo.left1,labels:["3","gate"]}],size:{width:Ze.width,height:Ze.height},center:{x:Ze.centerX,y:Ze.centerY}});var Qx=r(Qe),Kx=Qx.primitives.filter(t=>t.type==="text"),jo=Kx.find(t=>t.text==="{VAL}");jo.x=-.35;jo.y=0;jo.anchor="middle_right";var ko=Kx.find(t=>t.text==="{REF}");ko.y=0;ko.x=.35;ko.anchor="middle_left";var ts=Qx;var es={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:Pd,texts:rs,bounds:Ke,refblocks:zo,circles:Sd}=es,t0=s({primitives:[...Object.values(Pd),...Object.values(Sd),{...rs.top1,anchor:"middle_right",x:0},{...rs.bottom1,anchor:"middle_right",x:0}],ports:[{...zo.top1,labels:["1","drain"]},{...zo.bottom1,labels:["2","source"]},{...zo.left1,labels:["3","gate"]}],size:{width:Ke.width,height:Ke.height},center:{x:Ke.centerX,y:Ke.centerY}});var os=r(t0),is=os.primitives.filter(t=>t.type==="text"),Oo=is.find(t=>t.text==="{VAL}");Oo.x=-.35;Oo.y=0;Oo.anchor="middle_right";var Jo=is.find(t=>t.text==="{REF}");Jo.y=0;Jo.x=.35;Jo.anchor="middle_left";var ls=os;var ps={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{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:Rd,texts:as,bounds:e0,refblocks:$o,circles:Td}=ps,r0=s({primitives:[...Object.values(Rd),...Object.values(Td),{...as.top1,anchor:"middle_right",x:0},{...as.bottom1,anchor:"middle_right",x:0}],ports:[{...$o.top1,labels:["1","drain"]},{...$o.bottom1,labels:["2","source"]},{...$o.left1,labels:["3","gate"]}],size:{width:e0.width,height:e0.height},center:{x:e0.centerX,y:e0.centerY}});var ys=r(r0),xs=ys.primitives.filter(t=>t.type==="text"),Mo=xs.find(t=>t.text==="{VAL}");Mo.x=-.35;Mo.y=0;Mo.anchor="middle_right";var Co=xs.find(t=>t.text==="{REF}");Co.y=0;Co.x=.35;Co.anchor="middle_left";var ss=ys;var ms={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:Yd,bounds:ns,refblocks:Xd}=ms,G=e({primitives:[...Object.values(Yd)],ports:[{...Xd.left1,labels:["1"]}],center:{x:ns.centerX,y:ns.centerY}}).rotateRightFacingSymbol("right").labelPort("left1",["1"]).build();var fs=r(G,"down");var hs=r(G,"left");var cs=r(G,"up");var g={paths:{path11:{type:"path",points:[{x:-.39,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:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{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:Vd,texts:WA,bounds:o0,refblocks:No,circles:jd}=g,ds=e({primitives:[...Object.values(Vd),...Object.values(jd),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...No.top1,labels:["1","collector"]},{...No.bottom1,labels:["2","emitter"]},{...No.left1,labels:["3","base"]}],size:{width:o0.width,height:o0.height},center:{x:o0.centerX,y:o0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:KA,texts:tP,bounds:eP,refblocks:rP,circles:oP}=g,bs=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:kd,texts:aP,bounds:i0,refblocks:Io,circles:zd}=g,_s=e({primitives:[...Object.values(kd),...Object.values(zd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Io.top1,labels:["1","collector"]},{...Io.bottom1,labels:["2","emitter"]},{...Io.left1,labels:["3","base"]}],size:{width:i0.width,height:i0.height},center:{x:i0.centerX,y:i0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:Od,texts:mP,bounds:l0,refblocks:Bo,circles:Jd}=g,gs=e({primitives:[...Object.values(Od),...Object.values(Jd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Bo.top1,labels:["1","collector"]},{...Bo.bottom1,labels:["2","emitter"]},{...Bo.left1,labels:["3","base"]}],size:{width:l0.width,height:l0.height},center:{x:l0.centerX,y:l0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:$d,texts:cP,bounds:p0,refblocks:qo,circles:Md}=g,us=e({primitives:[...Object.values($d),...Object.values(Md),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...qo.top1,labels:["1","collector"]},{...qo.bottom1,labels:["2","emitter"]},{...qo.left1,labels:["3","base"]}],size:{width:p0.width,height:p0.height},center:{x:p0.centerX,y:p0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:Cd,texts:gP,bounds:a0,refblocks:Do,circles:Nd}=g,vs=e({primitives:[...Object.values(Cd),...Object.values(Nd),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...Do.top1,labels:["1","collector"]},{...Do.bottom1,labels:["2","emitter"]},{...Do.left1,labels:["3","base"]}],size:{width:a0.width,height:a0.height},center:{x:a0.centerX,y:a0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var ws={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:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,y:.04},{x:.15,y:.04}],color:"primary",fill:!1},"rect1577-3":{type:"path",points:[{x:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,y:-.09},{x:-.27,y:-.09}],color:"primary",fill:!0},"rect1577-4-7":{type:"path",points:[{x:-.23,y:-.05},{x:-.23,y:-.12}],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 W=e(ws).labelPort("left1",["1","inp1"]).labelPort("left2",["2","inp2"]).labelPort("right1",["3","out"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var As=r(W,"down");var Ps=r(W,"left");var Ss=r(W,"up");var Fs={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:-.58,y:.18}],color:"primary",fill:!1},path45:{type:"path",points:[{x:-.32,y:-.09},{x:-.58,y:-.09}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.42,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:-.2,y:.18},{x:-.27,y:.18}],color:"primary",fill:!0},"rect1577-4":{type:"path",points:[{x:-.2,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 H=e(Fs).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 Rs=r(H,"down");var Ts=r(H,"left");var Es=r(H,"up");var Ys={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:Dd,texts:Xs,bounds:y0,refblocks:Uo,circles:Ud}=Ys,x0=s({primitives:[...Object.values(Dd),...Object.values(Ud),{...Xs.top1,anchor:"middle_right",x:0},{...Xs.bottom1,anchor:"middle_right",x:0}],ports:[{...Uo.top1,labels:["1","drain"]},{...Uo.bottom1,labels:["2","source"]},{...Uo.left1,labels:["3","gate"]}],size:{width:y0.width,height:y0.height},center:{x:y0.centerX,y:y0.centerY}});var Ls=r(x0),Vs=Ls.primitives.filter(t=>t.type==="text"),Go=Vs.find(t=>t.text==="{VAL}");Go.x=-.35;Go.y=0;Go.anchor="middle_right";var Wo=Vs.find(t=>t.text==="{REF}");Wo.y=0;Wo.x=.35;Wo.anchor="middle_left";var js=Ls;var ks={paths:{path11:{type:"path",points:[{x:-.39,y:-.1},{x:.05,y:-.11}],color:"primary",fill:!1},"path12-1":{type:"path",points:[{x:.3,y:.53},{x:.3,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.31,y:-.53},{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:Wd,texts:zs,bounds:s0,refblocks:Ho,circles:Hd}=ks,m0=s({primitives:[...Object.values(Wd),...Object.values(Hd),{...zs.top1,anchor:"middle_right",x:0},{...zs.bottom1,anchor:"middle_right",x:0}],ports:[{...Ho.top1,labels:["1","drain"]},{...Ho.bottom1,labels:["2","source"]},{...Ho.left1,labels:["3","gate"]}],size:{width:s0.width,height:s0.height},center:{x:s0.centerX,y:s0.centerY}});var Os=r(m0),Js=Os.primitives.filter(t=>t.type==="text"),Zo=Js.find(t=>t.text==="{VAL}");Zo.x=-.35;Zo.y=0;Zo.anchor="middle_right";var Qo=Js.find(t=>t.text==="{REF}");Qo.y=0;Qo.x=.35;Qo.anchor="middle_left";var $s=Os;var Ms={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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 n0=e(Ms).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Cs=r(n0),Qd=Cs.primitives.filter(t=>t.type==="text"),Ns=Qd.find(t=>t.text==="{REF}");Ns.y=0;Ns.anchor="middle_left";var Is=Cs;var Bs={paths:{path11:{type:"path",points:[{x:-.39,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:.53},{x:.28,y:.11}],color:"primary",fill:!1},"path12-1-5":{type:"path",points:[{x:.29,y:-.53},{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:t2,texts:qs,bounds:f0,refblocks:Ko,circles:e2}=Bs,h0=s({primitives:[...Object.values(t2),...Object.values(e2),{...qs.top1,anchor:"middle_right",x:0},{...qs.bottom1,anchor:"middle_right"}],ports:[{...Ko.top1,labels:["1","drain"]},{...Ko.bottom1,labels:["2","source"]},{...Ko.left1,labels:["3","gate"]}],size:{width:f0.width,height:f0.height},center:{x:f0.centerX,y:f0.centerY}});var Ds=r(h0),Us=Ds.primitives.filter(t=>t.type==="text"),ti=Us.find(t=>t.text==="{VAL}");ti.x=-.35;ti.y=0;ti.anchor="middle_right";var ei=Us.find(t=>t.text==="{REF}");ei.y=0;ei.x=.35;ei.anchor="middle_left";var Gs=Ds;var u={paths:{path11:{type:"path",points:[{x:-.39,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:.54}],color:"primary",fill:!1},"path12-1-5-3":{type:"path",points:[{x:.29,y:-.54},{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:o2,texts:PS,bounds:c0,refblocks:ri,circles:i2}=u,Ws=e({primitives:[...Object.values(o2),...Object.values(i2),{type:"text",text:"{REF}",x:-.1,y:.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:-.3094553499999995}],ports:[{...ri.top1,labels:["1","collector"]},{...ri.bottom1,labels:["2","emitter"]},{...ri.left1,labels:["3","base"]}],size:{width:c0.width,height:c0.height},center:{x:c0.centerX,y:c0.centerY}}).rotateRightFacingSymbol("right").changeTextAnchor("{REF}","middle_right").changeTextAnchor("{VAL}","middle_right").build();var{paths:TS,texts:ES,bounds:YS,refblocks:XS,circles:LS}=u,Hs=e(u).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:zS,bounds:d0,refblocks:oi,circles:p2}=u,Zs=e({primitives:[...Object.values(l2),...Object.values(p2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...oi.top1,labels:["1","collector"]},{...oi.bottom1,labels:["2","emitter"]},{...oi.left1,labels:["3","base"]}],size:{width:d0.width,height:d0.height},center:{x:d0.centerX,y:d0.centerY}}).rotateRightFacingSymbol("down").changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_bottom").build();var{paths:a2,texts:MS,bounds:b0,refblocks:ii,circles:y2}=u,Qs=e({primitives:[...Object.values(a2),...Object.values(y2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...ii.top1,labels:["1","collector"]},{...ii.bottom1,labels:["2","emitter"]},{...ii.left1,labels:["3","base"]}],size:{width:b0.width,height:b0.height},center:{x:b0.centerX,y:b0.centerY}}).rotateRightFacingSymbol("up").changeTextAnchor("{REF}","middle_top").changeTextAnchor("{VAL}","middle_top").build();var{paths:x2,texts:BS,bounds:_0,refblocks:li,circles:s2}=u,Ks=e({primitives:[...Object.values(x2),...Object.values(s2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...li.top1,labels:["1","collector"]},{...li.bottom1,labels:["2","emitter"]},{...li.left1,labels:["3","base"]}],size:{width:_0.width,height:_0.height},center:{x:_0.centerX,y:_0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:m2,texts:GS,bounds:g0,refblocks:pi,circles:n2}=u,tm=e({primitives:[...Object.values(m2),...Object.values(n2),{type:"text",text:"{REF}",x:-.1,y:-.3094553499999995},{type:"text",text:"{VAL}",x:-.1,y:.3094553499999995}],ports:[{...pi.top1,labels:["1","collector"]},{...pi.bottom1,labels:["2","emitter"]},{...pi.left1,labels:["3","base"]}],size:{width:g0.width,height:g0.height},center:{x:g0.centerX,y:g0.centerY}}).rotateRightFacingSymbol("left").changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var em={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:-.51,y:.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:.51},{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:.5,y:.01},{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:.01,y:-.51}],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:h2,texts:rm,bounds:u0,refblocks:om}=em,v0=s({primitives:[...Object.values(h2),{...rm.bottom1,y:.35,anchor:"middle_top"},{...rm.top1,anchor:"middle_left"}],ports:[{...om.left1,labels:["1"]},{...om.right1,labels:["2"]}],size:{width:u0.width+.05,height:u0.height},center:{x:u0.centerX,y:u0.centerY}});var c2=r(v0),im=c2;var lm={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},path23:{type:"path",points:[{x:.28,y:-.28},{x:.18,y:-.25},{x:.25,y:-.18}],color:"primary",fill:!0},path24:{type:"path",points:[{x:.29,y:-.29},{x:.25,y:-.17},{x:.16,y:-.26}],color:"primary",fill:!0},path26:{type:"path",points:[{x:-.3,y:.29},{x:.23,y:-.23}],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:pm,bounds:w0,refblocks:am}=lm,Z=s({primitives:[...Object.values(b2),{...pm.bottom1,x:0,y:-.35,anchor:"middle_top"},{...pm.top1,x:0,y:.35,anchor:"middle_bottom"}],ports:[{...am.left1,labels:["1"]},{...am.right1,labels:["2"]}],size:{width:w0.width+.05,height:w0.height},center:{x:w0.centerX,y:w0.centerY}});var ai=r(Z,"down"),yi=ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),xi=ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");yi.anchor="middle_left";xi.anchor="middle_left";yi.y+=.31;yi.x=.34;xi.y-=.31;xi.x=.34;var ym=ai;var si=r(Z,"left"),mi=si.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ni=si.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");mi.anchor="middle_bottom";ni.anchor="middle_top";mi.y+=.73;mi.x=0;ni.y-=.7;ni.x=0;var xm=si;var fi=r(Z,"up"),hi=fi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ci=fi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");hi.anchor="middle_left";ci.anchor="middle_left";hi.y+=.21;hi.x=.34;ci.y-=.21;ci.x=.34;var sm=fi;var Q={paths:{path1:{type:"path",points:[{x:-.4,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:.4,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:g2,texts:gF,bounds:A0,refblocks:di,circles:u2}=Q,mm=e({primitives:[...Object.values(g2),...Object.values(u2),{type:"text",text:"{REF}",x:-.15,y:.2394553499999995},{type:"text",text:"{VAL}",x:.15,y:.2394553499999995}],ports:[{...di.left,labels:["1"]},{...di.right,labels:["3"]},{...di.bottom,labels:["2"]}],size:{width:A0.width,height:A0.height},center:{x:A0.centerX,y:A0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:v2,texts:AF,bounds:P0,refblocks:bi,circles:w2}=Q,nm=e({primitives:[...Object.values(v2),...Object.values(w2),{type:"text",text:"{REF}",x:-.3,y:-.3894553499999995},{type:"text",text:"{VAL}",x:-.3,y:.3194553499999995}],ports:[{...bi.left,labels:["1"]},{...bi.right,labels:["3"]},{...bi.bottom,labels:["2"]}],size:{width:P0.width,height:P0.height},center:{x:P0.centerX,y:P0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var fm=e(Q).labelPort("left",["1"]).labelPort("right",["3"]).labelPort("bottom",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:A2,texts:YF,bounds:S0,refblocks:_i,circles:P2}=Q,hm=e({primitives:[...Object.values(A2),...Object.values(P2),{type:"text",text:"{REF}",x:.3,y:-.2894553499999995},{type:"text",text:"{VAL}",x:-.3,y:-.2894553499999995}],ports:[{..._i.left,labels:["1"]},{..._i.right,labels:["3"]},{..._i.bottom,labels:["2"]}],size:{width:S0.width,height:S0.height},center:{x:S0.centerX,y:S0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).labelPort("bottom",["3"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var cm={paths:{path11:{type:"path",points:[{x:-.53,y:.03},{x:-.3,y:.03}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:.03},{x:.53,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:F2,texts:kF,bounds:F0,refblocks:dm,circles:R2}=cm,R0=s({primitives:[...Object.values(F2),...Object.values(R2),{type:"text",text:"{REF}",x:-.15,y:-.42330070000000064,anchor:"middle_top"},{type:"text",text:"{VAL}",x:-.15,y:.42330070000000064,anchor:"middle_bottom"},{type:"text",text:"COS \u03C6",x:0,y:.014279000000000375,anchor:"center"}],ports:[{...dm.left1,labels:["1"]},{...dm.right1,labels:["2"]}],size:{width:F0.width,height:F0.height},center:{x:F0.centerX,y:F0.centerY}});var bm=r(R0),gi=bm.primitives.filter(t=>t.type==="text"),ui=gi.find(t=>t.text==="{REF}"),vi=gi.find(t=>t.text==="{VAL}"),wi=gi.find(t=>t.text==="COS \u03C6");ui.x=.35;ui.y=0;ui.anchor="middle_left";vi.anchor="middle_right";vi.x=-.35;vi.y=0;wi.x=0;wi.y=0;wi.anchor="center";var _m=bm;var gm={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:-.49,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:.49,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:E2,texts:um,bounds:T0,refblocks:vm,circles:Y2}=gm,E0=s({primitives:[...Object.values(E2),...Object.values(Y2),{...um.top1,anchor:"middle_left"},{...um.bottom1,anchor:"middle_left"}],ports:[{...vm.left1,labels:["1"]},{...vm.right1,labels:["2"]}],size:{width:T0.width,height:T0.height},center:{x:T0.centerX,y:T0.centerY}});var wm=r(E0,"up");var Am={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:-.49,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:.49,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:L2,texts:Pm,bounds:Y0,refblocks:Sm,circles:V2}=Am,X0=s({primitives:[...Object.values(L2),...Object.values(V2),{...Pm.top1,anchor:"middle_left"},{...Pm.bottom1,anchor:"middle_left"}],ports:[{...Sm.left1,labels:["1"]},{...Sm.right1,labels:["2"]}],size:{width:Y0.width,height:Y0.height},center:{x:Y0.centerX,y:Y0.centerY}});var Fm=r(X0,"up");var K={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:k2,texts:oR,bounds:Rm,refblocks:z2,circles:O2}=K,Tm=e({primitives:[...Object.values(k2),...Object.values(O2),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...z2.left1,labels:["1"]}],center:{x:Rm.centerX,y:Rm.centerY}}).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build();var{paths:J2,texts:aR,bounds:Em,refblocks:$2,circles:M2}=K,Ym=e({primitives:[...Object.values(J2),...Object.values(M2),{type:"text",text:"{REF}",x:-.13,y:0}],ports:[{...$2.left1,labels:["1"]}],center:{x:Em.centerX,y:Em.centerY}}).changeTextAnchor("{VAL}","middle_top").rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build();var{paths:C2,texts:mR,bounds:Xm,refblocks:N2,circles:I2}=K,Lm=e({primitives:[...Object.values(C2),...Object.values(I2),{type:"text",text:"{REF}",x:-.14,y:-0}],ports:[{...N2.left1,labels:["1"]}],center:{x:Xm.centerX,y:Xm.centerY}}).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build();var{paths:B2,texts:cR,bounds:Vm,refblocks:q2}=K,jm=e({primitives:[...Object.values(B2),{type:"text",text:"{REF}",x:-.14,y:0}],ports:[{...q2.left1,labels:["1"]}],center:{x:Vm.centerX,y:Vm.centerY}}).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build();var km={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:-.51,y:-.01}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:-.01,y:-.51},{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:.5,y:-.01},{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:.01,y:.51}],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:U2,texts:zm,bounds:L0,refblocks:V0,circles:G2}=km,j0=s({primitives:[...Object.values(U2),...Object.values(G2),{...zm.top1,anchor:"middle_right"},{...zm.bottom1,anchor:"middle_right"}],ports:[{...V0.top1,labels:["1"]},{...V0.bottom1,labels:["2"]},{...V0.left1,labels:["3"]},{...V0.right1,labels:["4"]}],size:{width:L0.width,height:L0.height},center:{x:L0.centerX,y:L0.centerY}});var Ai=r(j0),W2=Ai.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),H2=Ai.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");W2.anchor="middle_left";H2.anchor="middle_right";var Om=Ai;var tt={paths:{path27:{type:"path",points:[{x:.46,y:.04},{x:.21,y:.04}],color:"primary",fill:!1},"path27-0":{type:"path",points:[{x:-.21,y:.04},{x:-.46,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:Q2,texts:RR,bounds:k0,refblocks:Jm,circles:K2}=tt,$m=e({primitives:[...Object.values(Q2),...Object.values(K2),{type:"text",text:"{REF}",x:-.2,y:.2194553499999995},{type:"text",text:"{VAL}",x:.2,y:.2194553499999995}],ports:[{...Jm.left1,labels:["1"]},{...Jm.right1,labels:["2"]}],size:{width:k0.width,height:k0.height},center:{x:k0.centerX,y:k0.centerY}}).rotateRightFacingSymbol("down").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var{paths:t9,texts:XR,bounds:z0,refblocks:Mm,circles:e9}=tt,Cm=e({primitives:[...Object.values(t9),...Object.values(e9),{type:"text",text:"{REF}",x:0,y:-.1704553499999995},{type:"text",text:"{VAL}",x:0,y:.2294553499999995}],ports:[{...Mm.left1,labels:["1"]},{...Mm.right1,labels:["2"]}],size:{width:z0.width,height:z0.height},center:{x:z0.centerX,y:z0.centerY}}).rotateRightFacingSymbol("left").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:r9,texts:kR,bounds:O0,refblocks:Nm,circles:o9}=tt,Im=e({primitives:[...Object.values(r9),...Object.values(o9),{type:"text",text:"{REF}",x:0,y:.2294553499999995},{type:"text",text:"{VAL}",x:0,y:-.1704553499999995}],ports:[{...Nm.left1,labels:["1"]},{...Nm.right1,labels:["2"]}],size:{width:O0.width,height:O0.height},center:{x:O0.centerX,y:O0.centerY}}).rotateRightFacingSymbol("right").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var{paths:i9,texts:$R,bounds:J0,refblocks:Bm,circles:l9}=tt,qm=e({primitives:[...Object.values(i9),...Object.values(l9),{type:"text",text:"{REF}",x:.2,y:-.1404553499999995},{type:"text",text:"{VAL}",x:-.2,y:-.1494553499999995}],ports:[{...Bm.left1,labels:["1"]},{...Bm.right1,labels:["2"]}],size:{width:J0.width,height:J0.height},center:{x:J0.centerX,y:J0.centerY}}).rotateRightFacingSymbol("up").labelPort("left",["1"]).labelPort("right",["2"]).changeTextAnchor("{REF}","middle_left").changeTextAnchor("{VAL}","middle_left").build();var $0={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:-.75,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:a9,texts:Dm,bounds:M0,refblocks:Pi,circles:y9}=$0,et=s({primitives:[...Object.values(a9),...Object.values(y9),{...Dm.top1,anchor:"middle_bottom"},{...Dm.bottom1,anchor:"middle_top"}],ports:[{...Pi.left1,labels:["1"]},{...Pi.right1,labels:["2"]},{...Pi.right2,labels:["3"]}],size:{width:M0.width,height:M0.height},center:{x:M0.centerX,y:M0.centerY}});var Si=r(et,"down"),Fi=Si.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ri=Si.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Fi.anchor="middle_bottom";Ri.anchor="middle_top";Fi.y+=.3;Fi.x+=.101;Ri.y-=.49999;Ri.x+=1.19999;var Um=Si;var{paths:x9,texts:HR,bounds:C0,refblocks:Ti,circles:s9}=$0,N0=s({primitives:[...Object.values(x9),...Object.values(s9),{type:"text",text:"{REF}",x:.01596175000000022,y:-.5308501500000009,anchor:"middle_top"},{type:"text",text:"{VAL}",x:.013116750000000454,y:.5408501499999989,anchor:"middle_bottom"}],ports:[{...Ti.left1,labels:["1"]},{...Ti.right1,labels:["2"]},{...Ti.right2,labels:["3"]}],size:{width:C0.width,height:C0.height},center:{x:C0.centerX,y:C0.centerY}});var Ei=r(et,"left"),Yi=Ei.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Xi=Ei.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Yi.anchor="middle_bottom";Xi.anchor="middle_top";Yi.y+=.99;Yi.x-=0;Xi.y-=1.10999;Xi.x=0;var Gm=Ei;var Li=r(et,"up"),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+=.499;Vi.x=.62;ji.y-=.29999;ji.x+=.1;var Wm=Li;var Hm=r(N0);var Zm={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 rt=e(Zm).labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{VAL}","middle_top").changeTextAnchor("{REF}","middle_bottom").build();var ki=r(rt,"down"),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_left";Oi.anchor="middle_left";zi.y+=.3;zi.x=.3;Oi.y-=.3;Oi.x=.3;var Qm=ki;var Ji=r(rt,"left"),$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_bottom";Mi.anchor="middle_top";$i.y+=.5;$i.x=0;Mi.y-=.55;Mi.x=0;var Km=Ji;var Ci=r(rt,"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+=.3;Ni.x=.3;Ii.y-=.3;Ii.x=.3;var tn=Ci;var Bi={paths:{path11:{type:"path",points:[{x:-.5,y:.04},{x:-.18,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.19,y:.05},{x:.51,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:-.33}],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:AT,texts:PT,bounds:ST,refblocks:FT,circles:RT}=Bi,I0=e(Bi).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var en=r(I0),f9=en.primitives.filter(t=>t.type==="text"),rn=f9.find(t=>t.text==="{REF}");rn.y=0;rn.anchor="middle_left";var on=en;var ot={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{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(ot).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var pn=e(ot).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var an=e(ot).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var yn=e(ot).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_right").build();var it={paths:{path44:{type:"path",points:[{x:-.18,y:-.03},{x:-.44,y:-.03}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,y:-.02},{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 xn=e(it).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_left").build();var sn=e(it).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_top").build();var mn=e(it).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var nn=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:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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 fn=e(lt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var hn=e(lt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var cn=e(lt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var dn=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:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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(pt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var _n=e(pt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var gn=e(pt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var un=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:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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 vn=e(at).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var wn=e(at).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var An=e(at).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Pn=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:-.44,y:.1}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.44,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 Sn=e(yt).rotateRightFacingSymbol("down").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_left").build();var Fn=e(yt).rotateRightFacingSymbol("left").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_top").build();var Rn=e(yt).rotateRightFacingSymbol("right").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var Tn=e(yt).rotateRightFacingSymbol("up").labelPort("left1",["1"]).labelPort("bottom1",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_right").build();var En={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,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(En).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right2",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var qi=r(xt,"down"),Di=qi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Ui=qi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Di.anchor="middle_bottom";Ui.anchor="middle_top";Di.x=.44;Di.y+=.28;Ui.y-=.28;Ui.x=.44;var Yn=qi;var Gi=r(xt,"left"),Wi=Gi.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Hi=Gi.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Wi.anchor="middle_bottom";Hi.anchor="middle_top";Wi.x=0;Wi.y+=.625;Hi.y-=.695;Hi.x=0;var Xn=Gi;var Zi=r(xt,"up"),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.x=.4;Qi.y+=.28;Ki.y-=.28;Ki.x=.4;var Ln=Zi;var Vn={paths:{path1:{type:"path",points:[{x:-.35,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:.35,y:-.06}],color:"primary",fill:!1},path3:{type:"path",points:[{x:.12,y:.17},{x:.36,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 st=e(Vn).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right3",["2"]).labelPort("right1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var tl=r(st,"down"),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.x=.44;el.y+=.28;rl.y-=.28;rl.x=.44;var jn=tl;var ol=r(st,"left"),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_bottom";ll.anchor="middle_top";il.x=0;il.y+=.625;ll.y-=.695;ll.x=0;var kn=ol;var pl=r(st,"up"),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.x=.4;al.y+=.28;yl.y-=.28;yl.x=.4;var zn=pl;var Tt={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],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:.13,y:0},{x:.37,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 Tt.refblocks.left1;delete Tt.refblocks.right1;Tt.bounds.width+=.2;var mt=e(Tt).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var xl=r(mt,"down"),sl=xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),ml=xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");sl.anchor="middle_bottom";ml.anchor="middle_top";sl.x=.3;sl.y+=.265;ml.y-=.265;ml.x=.3;var On=xl;var nl=r(mt,"left"),fl=nl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),hl=nl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");fl.anchor="middle_bottom";hl.anchor="middle_top";fl.x=0;fl.y+=.57;hl.y-=.57;hl.x=0;var Jn=nl;var cl=r(mt,"up"),dl=cl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),bl=cl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");dl.anchor="middle_bottom";bl.anchor="middle_top";dl.x=.3;dl.y+=.265;bl.y-=.265;bl.x=.3;var $n=cl;var Et={paths:{path11:{type:"path",points:[{x:-.36,y:0},{x:-.14,y:0}],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:.13,y:0},{x:.37,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 Et.refblocks.left1;delete Et.refblocks.right1;Et.bounds.width+=.2;var nt=e(Et).changeTextAnchor("{VAL}","middle_top").labelPort("left2",["1"]).labelPort("right2",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var _l=r(nt,"down"),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=.3;gl.y+=.265;ul.y-=.265;ul.x=.3;var Mn=_l;var vl=r(nt,"left"),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=0;wl.y+=.57;Al.y-=.57;Al.x=0;var Cn=vl;var Pl=r(nt,"up"),Sl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Fl=Pl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Sl.anchor="middle_bottom";Fl.anchor="middle_top";Sl.x=.3;Sl.y+=.265;Fl.y-=.265;Fl.x=.3;var Nn=Pl;var ft={paths:{path44:{type:"path",points:[{x:-.16845120000000047,y:.02621170000000017},{x:-.4403295000000007,y:.02621170000000017}],color:"primary",fill:!1},"path44-0":{type:"path",points:[{x:.43977860000000035,y:.027926399999999685},{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 In=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 Bn=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 qn=e(ft).rotateRightFacingSymbol("right").labelPort("left1",["1","pos"]).labelPort("right1",["2","neg"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Dn=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 Rl={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:dX,texts:bX,bounds:_X,refblocks:gX,circles:uX}=Rl,B0=e(Rl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var Un=r(B0);var Gn={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:R9,texts:T9,bounds:q0,refblocks:Wn,circles:E9}=Gn,Yt=s({primitives:[...Object.values(R9),...Object.values(E9),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...T9.left1,y:.01,anchor:"center",fontSize:.2}],ports:[{...Wn.left1,labels:["1"]},{...Wn.right1,labels:["2"]}],size:{width:q0.width,height:q0.height},center:{x:q0.centerX,y:q0.centerY}});var{5:Y9,...X9}=Yt.primitives;function L9(t){return typeof t=="object"}var Hn=r({...Yt,primitives:Object.values(X9).filter(L9)}),Zn={...Hn,primitives:[...Hn.primitives,Y9]};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 Kn=r(ht,"down"),Qn=Kn.primitives.find(t=>t.type==="text"&&t.text==="{REF}");Qn&&(Qn.anchor="middle_top");var t1=Kn;var e1=r(ht,"left");var o1=r(ht,"up"),r1=o1.primitives.find(t=>t.type==="text"&&t.text==="{REF}");r1&&(r1.anchor="middle_bottom");var i1=o1;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:-.4,y:.2},{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 wt=e(l1).labelPort("right1",["1"]).changeTextAnchor("{REF}","middle_bottom").changeTextAnchor("{VAL}","middle_top").build();var Tl=r(wt,"up"),El=Tl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Yl=Tl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");El.anchor="middle_bottom";Yl.anchor="middle_top";El.x=.4;El.y+=.2;Yl.y-=.3;Yl.x=.4;var D0=Tl;var Xl=L(D0),Ll=Xl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),Vl=Xl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Ll.anchor="middle_bottom";Vl.anchor="middle_top";Ll.x=.35;Ll.y+=.4;Vl.y-=.4;Vl.x=.35;var p1=Xl;var jl=r(wt,"left"),kl=jl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),zl=jl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");kl.anchor="middle_bottom";zl.anchor="middle_top";kl.x=0;kl.y+=.5;zl.y-=.6;zl.x=0;var a1=jl;var Ol={paths:{path11:{type:"path",points:[{x:-.52,y:.04},{x:-.11,y:.04}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.1,y:.04},{x:.52,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:-.3}],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:lL,texts:pL,bounds:aL,refblocks:yL,circles:xL}=Ol,U0=e(Ol).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).labelPort("bottom1",["3"]).changeTextAnchor("{REF}","middle_bottom").build();var y1=r(U0),x1=y1.primitives.filter(t=>t.type==="text"),k9=x1.find(t=>t.text==="{REF}"),z9=x1.find(t=>t.text==="{VAL}");k9.y=0;z9.y=0;var s1=y1;var m1={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:J9,texts:n1,bounds:G0,refblocks:f1,circles:$9}=m1,W0=s({primitives:[...Object.values(J9),...Object.values($9),{...n1.top1,anchor:"middle_bottom"},{...n1.bottom1,anchor:"middle_top"}],ports:[{...f1.left1,labels:["1"]},{...f1.right1,labels:["2"]}],size:{width:G0.width,height:G0.height},center:{x:G0.centerX,y:G0.centerY}});var Jl=r(W0),M9=Jl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),C9=Jl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");M9.anchor="middle_left";C9.anchor="middle_right";var h1=Jl;var c1={paths:{path11:{type:"path",points:[{x:-.33,y:.21},{x:-.02,y:.01}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.23,y:.13},{x:.23,y:.38}],color:"primary",fill:!1},"path12-2":{type:"path",points:[{x:.23,y:-.08},{x:.23,y:-.33}],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:I9,texts:d1,bounds:H0,refblocks:$l,circles:B9}=c1,Z0=s({primitives:[...Object.values(I9),...Object.values(B9),{...d1.top1,anchor:"middle_left"},{...d1.bottom1,anchor:"middle_right"}],ports:[{...$l.top1,labels:["1"]},{...$l.bottom1,labels:["2"]},{...$l.left1,labels:["3"]}],size:{width:H0.width,height:H0.height},center:{x:H0.centerX,y:H0.centerY}});var b1=r(Z0),_1=b1.primitives.filter(t=>t.type==="text"),q9=_1.find(t=>t.text==="{REF}");q9.y=.1;var g1=_1.find(t=>t.text==="{VAL}");g1.y=.1;g1.x=-.4;var u1=b1;var v1={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(v1).changeTextAnchor("{REF}","middle_bottom").build();var A1={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:G9,texts:Ml,bounds:Q0,refblocks:P1,circles:W9}=A1,K0=s({primitives:[...Object.values(G9),...Object.values(W9),{...Ml.top1,x:0,y:-.3594553499999995,anchor:"middle_top"},{...Ml.bottom1,x:0,y:.35,anchor:"middle_bottom"},{...Ml.left1,x:-.02,y:.01,fontSize:.2,anchor:"center"}],ports:[{...P1.left1,labels:["1"]},{...P1.right1,labels:["2"]}],size:{width:Q0.width,height:Q0.height},center:{x:Q0.centerX,y:Q0.centerY}});var S1=r(K0);var F1={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:.53,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:Z9,texts:R1,bounds:tr,refblocks:T1,circles:Q9}=F1,er=s({primitives:[...Object.values(Z9),...Object.values(Q9),{...R1.top1,anchor:"middle_bottom"},{...R1.bottom1,anchor:"middle_top"}],ports:[{...T1.left1,labels:["1"]},{...T1.right1,labels:["2"]}],size:{width:tr.width,height:tr.height},center:{x:tr.centerX,y:tr.centerY}});var Cl=r(er),K9=Cl.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),tb=Cl.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");K9.anchor="middle_left";tb.anchor="middle_right";var E1=Cl;var Y1={paths:{path5:{type:"path",points:[{x:-.52,y:0},{x:-.26,y:0}],color:"primary",fill:!1},path6:{type:"path",points:[{x:.27,y:0},{x:.53,y:0}],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:rb,texts:X1,bounds:rr,refblocks:L1}=Y1,or=s({primitives:[...Object.values(rb),{...X1.top1,anchor:"middle_left"},{...X1.bottom1,anchor:"middle_right"}],ports:[{...L1.left1,labels:["1","-"]},{...L1.right1,labels:["2","+"]}],size:{width:rr.width,height:rr.height},center:{x:rr.centerX,y:rr.centerY}});var V1=r(or);var j1={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:ib,texts:lb,bounds:ir,refblocks:k1,circles:pb}=j1,Xt=s({primitives:[...Object.values(ib),...Object.values(pb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...lb.left1,anchor:"center",y:.02,fontSize:.2}],ports:[{...k1.left1,labels:["1"]},{...k1.right1,labels:["2"]}],size:{width:ir.width,height:ir.height},center:{x:ir.centerX,y:ir.centerY}});var{5:ab,...yb}=Xt.primitives;function xb(t){return typeof t=="object"}var z1=r({...Xt,primitives:Object.values(yb).filter(xb)}),O1={...z1,primitives:[...z1.primitives,ab]};var ct={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:-.22,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 Y(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(c=>({x:c.x*a,y:c.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 mb=e(ct).rotateRightFacingSymbol("down").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_top").build(),J1=Y(mb,{width:.24,height:.23});var nb=e(ct).rotateRightFacingSymbol("left").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_right").build(),$1=Y(nb,{width:.23,height:.24});var fb=e(ct).rotateRightFacingSymbol("right").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_left").build(),M1=Y(fb,{width:.23,height:.24});var hb=e(ct).rotateRightFacingSymbol("up").labelPort("left1",["1"]).changeTextAnchor("{REF}","middle_bottom").build(),C1=Y(hb,{width:.24,height:.23});var Nl={paths:{path11:{type:"path",points:[{x:-.53,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:.53,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:RV,texts:TV,bounds:EV,circles:YV,refblocks:XV}=Nl,lr=e(Nl).changeTextAnchor("{VAL}","middle_top").labelPort("left1",["1"]).labelPort("right1",["2"]).changeTextAnchor("{REF}","middle_bottom").build();var N1=r(lr);var I1={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:bb,texts:_b,bounds:pr,refblocks:B1,circles:gb}=I1,Lt=s({primitives:[...Object.values(bb),...Object.values(gb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{..._b.left1,anchor:"center",y:.01,fontSize:.2}],ports:[{...B1.left1,labels:["1"]},{...B1.right1,labels:["2"]}],size:{width:pr.width,height:pr.height},center:{x:pr.centerX,y:pr.centerY}});var{5:ub,...vb}=Lt.primitives;function wb(t){return typeof t=="object"}var q1=r({...Lt,primitives:Object.values(vb).filter(wb)}),D1={...q1,primitives:[...q1.primitives,ub]};var U1={paths:{path11:{type:"path",points:[{x:-.53,y:0},{x:-.3,y:0}],color:"primary",fill:!1},path12:{type:"path",points:[{x:.29,y:0},{x:.53,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:Pb,texts:Sb,bounds:ar,refblocks:G1,circles:Fb}=U1,Vt=s({primitives:[...Object.values(Pb),...Object.values(Fb),{type:"text",text:"{REF}",x:0,y:-.3594553499999995,anchor:"middle_top"},{type:"text",text:"{VAL}",x:0,y:.35,anchor:"middle_bottom"},{...Sb.left1,anchor:"center",y:.01,fontSize:.3}],ports:[{...G1.left1,labels:["1"]},{...G1.right1,labels:["2"]}],size:{width:ar.width,height:ar.height},center:{x:ar.centerX,y:ar.centerY}});var{5:Rb,...Tb}=Vt.primitives;function Eb(t){return typeof t=="object"}var W1=r({...Vt,primitives:Object.values(Tb).filter(Eb)}),H1={...W1,primitives:[...W1.primitives,Rb]};var Z1={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:Xb,texts:Q1,bounds:yr,refblocks:K1,circles:Lb}=Z1,xr=s({primitives:[...Object.values(Xb),...Object.values(Lb),{...Q1.top1,anchor:"middle_bottom"},{...Q1.bottom1,anchor:"middle_top"}],ports:[{...K1.left1,labels:["1"]},{...K1.right1,labels:["2"]}],size:{width:yr.width,height:yr.height},center:{x:yr.centerX,y:yr.centerY}});var Il=r(xr),Vb=Il.primitives.find(t=>t.type==="text"&&t.text==="{REF}"),jb=Il.primitives.find(t=>t.type==="text"&&t.text==="{VAL}");Vb.anchor="middle_left";jb.anchor="middle_right";var tf=Il;var ef={ac_voltmeter_down:Wl,ac_voltmeter_horz:Zl,ac_voltmeter_left:Kl,ac_voltmeter_right:ep,ac_voltmeter_up:op,ac_voltmeter_vert:lp,avalanche_diode_down:ap,avalanche_diode_horz:yp,avalanche_diode_left:sp,avalanche_diode_right:mp,avalanche_diode_up:fp,avalanche_diode_vert:cp,backward_diode_down:bp,backward_diode_left:Gt,backward_diode_right:up,backward_diode_up:vp,battery_horz:Zt,battery_vert:Sp,boxresistor_down:Tp,boxresistor_left:Xp,boxresistor_right:jp,boxresistor_small_down:zp,boxresistor_small_left:Jp,boxresistor_small_right:Mp,boxresistor_small_up:Np,boxresistor_up:qp,bridged_ground_down:Gp,bridged_ground_left:Zp,bridged_ground_right:re,bridged_ground_up:ta,capacitor_down:ra,capacitor_left:oa,capacitor_polarized_down:la,capacitor_polarized_left:pa,capacitor_polarized_right:ya,capacitor_polarized_up:sa,capacitor_right:ma,capacitor_up:fa,constant_current_diode_down:ca,constant_current_diode_horz:da,constant_current_diode_left:_a,constant_current_diode_right:ga,constant_current_diode_up:va,constant_current_diode_vert:Aa,crystal_4pin_down:Pa,crystal_4pin_left:Sa,crystal_4pin_right:Fa,crystal_4pin_up:Ra,crystal_down:Ea,crystal_left:Ya,crystal_right:Xa,crystal_up:Va,darlington_pair_transistor_down:ja,darlington_pair_transistor_horz:ka,darlington_pair_transistor_left:za,darlington_pair_transistor_right:Oa,darlington_pair_transistor_up:Ja,darlington_pair_transistor_vert:$a,dc_ammeter_horz:Pt,dc_ammeter_vert:Ia,dc_voltmeter_down:qa,dc_voltmeter_horz:Ua,dc_voltmeter_left:Wa,dc_voltmeter_right:Za,dc_voltmeter_up:Ka,dc_voltmeter_vert:ey,diac_down:ry,diac_horz:oy,diac_left:iy,diac_right:ly,diac_up:py,diac_vert:ay,digital_ground_down:xy,digital_ground_left:my,digital_ground_right:fy,digital_ground_up:cy,diode_down:by,diode_left:_y,diode_right:C,diode_up:gy,dpdt_normally_closed_switch_down:vy,dpdt_normally_closed_switch_left:wy,dpdt_normally_closed_switch_right:N,dpdt_normally_closed_switch_up:Ay,dpdt_switch_down:Sy,dpdt_switch_left:Fy,dpdt_switch_right:I,dpdt_switch_up:Ry,dpst_normally_closed_switch_down:Ey,dpst_normally_closed_switch_left:Yy,dpst_normally_closed_switch_right:B,dpst_normally_closed_switch_up:Xy,dpst_switch_down:Vy,dpst_switch_left:jy,dpst_switch_right:q,dpst_switch_up:ky,ferrite_bead_down:Oy,ferrite_bead_left:Jy,ferrite_bead_right:Te,ferrite_bead_up:Re,filled_diode_down:My,filled_diode_horz:Ny,filled_diode_left:By,filled_diode_right:Dy,filled_diode_up:Gy,filled_diode_vert:Hy,frequency_meter_horz:St,frequency_meter_vert:tx,fuse_horz:Oe,fuse_vert:ox,ground_down:ix,ground_horz:lx,ground_left:px,ground_right:ax,ground_up:yx,ground_vert:xx,gunn_diode_horz:sx,gunn_diode_vert:mx,icled_down:fx,icled_left:hx,icled_right:D,icled_up:cx,igbt_transistor_horz:Je,igbt_transistor_vert:_x,illuminated_push_button_normally_open_horz:$e,illuminated_push_button_normally_open_vert:wx,inductor_down:Fx,inductor_left:Rx,inductor_right:ut,inductor_up:Ce,laser_diode_down:Tx,laser_diode_left:Ex,laser_diode_right:U,laser_diode_up:Yx,led_down:jx,led_left:kx,led_right:vt,led_up:Ie,light_dependent_resistor_horz:qe,light_dependent_resistor_vert:Cx,mosfet_depletion_normally_on_horz:Ue,mosfet_depletion_normally_on_vert:qx,mushroom_head_normally_open_momentary_horz:We,mushroom_head_normally_open_momentary_vert:Wx,n_channel_d_mosfet_transistor_horz:Qe,n_channel_d_mosfet_transistor_vert:ts,n_channel_e_mosfet_transistor_horz:t0,n_channel_e_mosfet_transistor_vert:ls,njfet_transistor_horz:r0,njfet_transistor_vert:ss,not_connected_down:fs,not_connected_left:hs,not_connected_right:G,not_connected_up:cs,npn_bipolar_transistor_down:ds,npn_bipolar_transistor_horz:bs,npn_bipolar_transistor_left:_s,npn_bipolar_transistor_right:gs,npn_bipolar_transistor_up:us,npn_bipolar_transistor_vert:vs,opamp_no_power_down:As,opamp_no_power_left:Ps,opamp_no_power_right:W,opamp_no_power_up:Ss,opamp_with_power_down:Rs,opamp_with_power_left:Ts,opamp_with_power_right:H,opamp_with_power_up:Es,p_channel_d_mosfet_transistor_horz:x0,p_channel_d_mosfet_transistor_vert:js,p_channel_e_mosfet_transistor_horz:m0,p_channel_e_mosfet_transistor_vert:$s,photodiode_horz:n0,photodiode_vert:Is,pjfet_transistor_horz:h0,pjfet_transistor_vert:Gs,pnp_bipolar_transistor_down:Ws,pnp_bipolar_transistor_horz:Hs,pnp_bipolar_transistor_left:Zs,pnp_bipolar_transistor_right:Qs,pnp_bipolar_transistor_up:Ks,pnp_bipolar_transistor_vert:tm,potentiometer_horz:v0,potentiometer_vert:im,potentiometer2_down:ym,potentiometer2_left:xm,potentiometer2_right:Z,potentiometer2_up:sm,potentiometer3_down:mm,potentiometer3_left:nm,potentiometer3_right:fm,potentiometer3_up:hm,power_factor_meter_horz:R0,power_factor_meter_vert:_m,push_button_normally_closed_momentary_horz:E0,push_button_normally_closed_momentary_vert:wm,push_button_normally_open_momentary_horz:X0,push_button_normally_open_momentary_vert:Fm,rail_down:Tm,rail_left:Ym,rail_right:Lm,rail_up:jm,rectifier_diode_horz:j0,rectifier_diode_vert:Om,resistor_down:$m,resistor_left:Cm,resistor_right:Im,resistor_up:qm,resonator_down:Um,resonator_horz:N0,resonator_left:Gm,resonator_right:et,resonator_up:Wm,resonator_vert:Hm,schottky_diode_down:Qm,schottky_diode_left:Km,schottky_diode_right:rt,schottky_diode_up:tn,silicon_controlled_rectifier_horz:I0,silicon_controlled_rectifier_vert:on,solderjumper2_bridged12_down:ln,solderjumper2_bridged12_left:pn,solderjumper2_bridged12_right:an,solderjumper2_bridged12_up:yn,solderjumper2_down:xn,solderjumper2_left:sn,solderjumper2_right:mn,solderjumper2_up:nn,solderjumper3_bridged12_down:fn,solderjumper3_bridged12_left:hn,solderjumper3_bridged12_right:cn,solderjumper3_bridged12_up:dn,solderjumper3_bridged123_down:bn,solderjumper3_bridged123_left:_n,solderjumper3_bridged123_right:gn,solderjumper3_bridged123_up:un,solderjumper3_bridged23_down:vn,solderjumper3_bridged23_left:wn,solderjumper3_bridged23_right:An,solderjumper3_bridged23_up:Pn,solderjumper3_down:Sn,solderjumper3_left:Fn,solderjumper3_right:Rn,solderjumper3_up:Tn,spdt_normally_closed_switch_down:Yn,spdt_normally_closed_switch_left:Xn,spdt_normally_closed_switch_right:xt,spdt_normally_closed_switch_up:Ln,spdt_switch_down:jn,spdt_switch_left:kn,spdt_switch_right:st,spdt_switch_up:zn,spst_normally_closed_switch_down:On,spst_normally_closed_switch_left:Jn,spst_normally_closed_switch_right:mt,spst_normally_closed_switch_up:$n,spst_switch_down:Mn,spst_switch_left:Cn,spst_switch_right:nt,spst_switch_up:Nn,square_wave_down:In,square_wave_left:Bn,square_wave_right:qn,square_wave_up:Dn,step_recovery_diode_horz:B0,step_recovery_diode_vert:Un,tachometer_horz:Yt,tachometer_vert:Zn,testpoint_down:t1,testpoint_left:e1,testpoint_right:ht,testpoint_up:i1,tilted_ground_down:p1,tilted_ground_left:a1,tilted_ground_right:wt,tilted_ground_up:D0,triac_horz:U0,triac_vert:s1,tunnel_diode_horz:W0,tunnel_diode_vert:h1,unijunction_transistor_horz:Z0,unijunction_transistor_vert:u1,usbc:w1,var_meter_horz:K0,var_meter_vert:S1,varactor_diode_horz:er,varactor_diode_vert:E1,varistor_horz:or,varistor_vert:V1,varmeter_horz:Xt,varmeter_vert:O1,vcc_down:J1,vcc_left:$1,vcc_right:M1,vcc_up:C1,volt_meter_horz:lr,volt_meter_vert:N1,watt_hour_meter_horz:Lt,watt_hour_meter_vert:D1,wattmeter_horz:Vt,wattmeter_vert:H1,zener_diode_horz:xr,zener_diode_vert:tf};var _=(t,o=!0)=>o?-t:t;var dt=t=>{switch(t){case"primary":return"black";case"secondary":return"gray";default:return t}};function rf(t,{closed:o=!1,yUpPositive:i=!0}){let l=t.map((a,y)=>`${y===0?"M":"L"}${a.x},${_(a.y,i)}`).join(" ");return o?`${l} Z`:l}function kb(t,o=.05,i=!0){let{x:l,y:a}=t,y=o/2;return`<path d="M ${l} ${_(a,i)-y} L ${l+y} ${_(a,i)} L ${l} ${_(a,i)+y} L ${l-y} ${_(a,i)} Z" fill="green" />`}function zb(t,{yUpPositive:o}){let{x:i,y:l,text:a,fontSize:y=.1,anchor:n}=t,m,c=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="${_(l,o)}" dx="${c}" dy="${p}" text-anchor="${m}" style="font: ${y??.1}px monospace; fill: ${dt("primary")}">${a}</text>`,anchor:`<rect x="${i-.025/2}" y="${_(l,o)-.025/2}" width="0.025" height="0.025" fill="blue" />`}}function Ob(t,{yUpPositive:o}){let{x:i,y:l,labels:a}=t,y=.05,n=.08,m=a[0]||"";return`
7
7
  <rect x="${i-y/2}" y="${_(l,o)-y/2}" width="${y}" height="${y}" fill="red" />
8
8
  <text x="${i-n/2}" y="${_(l,o)+y+n/2}" text-anchor="middle" style="font: ${n}px monospace; fill: #833;">${m}</text>
9
- `}function G1(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="${U1(x.points,{closed:x.closed,yUpPositive:!0})}" fill="${x.fill?ct(x.color):"none"}" stroke="${ct(x.color)}" stroke-width="0.02" stroke-linecap="round" stroke-linejoin="round" />`;case"text":let f=_b(x,{yUpPositive:!0});return f.text+(i?f.anchor:"");case"circle":return`<circle cx="${x.x}" cy="${_(x.y,!0)}" r="${x.radius}" fill="${x.fill?ct(x.color):"none"}" ${x.fill?"":`stroke="${ct(x.color)}" stroke-width="0.02"`} />`;case"box":return`<rect x="${x.x}" y="${_(x.y)}" width="${x.width}" height="${x.height}" fill="${ct("primary")}" />`;default:return""}}),m=y.map(x=>gb(x,{yUpPositive:!0})).join(`
10
- `),c=bb(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 h=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]} [${h}]</text>`)}}),p.push(...p)}return[n.join(`
9
+ `}function of(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="${rf(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=zb(x,{yUpPositive:!0});return f.text+(i?f.anchor:"");case"circle":return`<circle cx="${x.x}" cy="${_(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="${_(x.y)}" width="${x.width}" height="${x.height}" fill="${dt("primary")}" />`;default:return""}}),m=y.map(x=>Ob(x,{yUpPositive:!0})).join(`
10
+ `),c=kb(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 h=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]} [${h}]</text>`)}}),p.push(...p)}return[n.join(`
11
11
  `),m,c,...p].join(`
12
- `)}function ub(t,o={}){let{size:i}=t,l=G1(t,o),a=1.2,y=i.width*a,n=i.height*a,m={x:t.center.x-y/2,y:_(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 J$=Object.fromEntries(Object.keys(D1).map(t=>[t,t]));export{J$ as BASE_SYMBOLS,G1 as getInnerSvg,ub as getSvg,Y as resizeSymbol,D1 as symbols};
12
+ `)}function Jb(t,o={}){let{size:i}=t,l=of(t,o),a=1.2,y=i.width*a,n=i.height*a,m={x:t.center.x-y/2,y:_(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 gM=Object.fromEntries(Object.keys(ef).map(t=>[t,t]));export{gM as BASE_SYMBOLS,of as getInnerSvg,Jb as getSvg,Y as resizeSymbol,ef as symbols};
13
13
  //# sourceMappingURL=index.js.map